eossr
- 1. Univ. Savoie Mont Blanc, CNRS, LAPP
- 2. GSI
- 3. ECAP, FAU (Nuremberg, Germany)
Description
The eOSSR Python library gathers all the developments made for the OSSR. In particular, it includes:- an API to programmatically access the OSSR, retrieve records and publish content- functions to map and crosswalk metadata between the CodeMeta schema adopted for the OSSR and Zenodo internal schema- functions to help developers automatically contribute to the OSSR, in particular using their continuous integration (see also code snippets)
Code: https://gitlab.in2p3.fr/escape2020/wp3/eossr
Documentation: https://escape2020.pages.in2p3.fr/wp3/eossr/
Commands to be run in your terminal.
For userspip install eossr
You can also run it with docker:
docker run -it gitlab-registry.in2p3.fr/escape2020/wp3/eossr:latest
Visit our registry to see the available docker containers.
Note that latest
tag always point to the latest stable released container.
git clone https://gitlab.in2p3.fr/escape2020/wp3/eossr.gitpip install -e eossr
Running testsTo run tests locally, run:
pip install pytestpytest eossr
Some tests will be skiped if SANDBOX_ZENODO_TOKEN
is not defined in your environment variables.If you want to run these tests, you will need to create a sandbox zenodo token and add it to your env:
export SANDBOX_ZENODO_TOKEN="your_sandbox_token"
CiteTo cite this library, use the cite module in the Zenodo page.
Notes
Files
codemeta.json
Files
(254.8 kB)
Name | Size | Download all |
---|---|---|
md5:3c696d321ceb477471d41eb01fc0b0c8
|
7.1 kB | Preview Download |
md5:f819f0ee280b41890f78de94a3036445
|
247.7 kB | Preview Download |