eossr
- 1. GSI
- 2. ECAP, FAU (Nuremberg, Germany)
Description
The ESCAPE OSSR library
The eOSSR is the Python library to programmatically manage the ESCAPE OSSR.In particular, it includes:
- an API to access the Zenodo and the OSSR, retrieve records and publish content
- functions to map and convert metadata from CodeMeta to Zenodo metadata shema
- functions to validate their
codemeta.jsonfile against OSSR requirements - functions to help developers automatically publish to Zenodo and contribute to the OSSR, in particular using their continuous integration (see also code snippets)
Code: https://gitlab.com/escape-ossr/eossr
Documentation: https://escape-ossr.gitlab.io/eossr/
Former stable versions
Install
Commands to be run in your terminal.
For users
cd eossrpip install .You can also run it with docker:
docker run -it gitlab-registry.in2p3.fr/escape2020/wp3/eossr:latestVisit our registry to see the available docker containers.
Note that latest tag always point to the latest stable released container.
For developers
git clone https://gitlab.com/escape-ossr/eossr.gitcd eossrpip install -e .Running tests
To run tests locally, run:
pip install -e ".[tests]"pytest eossrSome 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"Online CodeMeta validator for the OSSR
The eOSSR powers an online validator for your CodeMeta metadata and to convert it to Zenodo metadata.
Just follow this link (running on mybinder)
License
See LICENSE
Cite
To cite this library, please cite our ADASS proceedings:
@misc{https://doi.org/10.48550/arxiv.2212.00499, doi = {10.48550/ARXIV.2212.00499}, url = {https://arxiv.org/abs/2212.00499}, author = {Vuillaume, Thomas and Garcia, Enrique and Tacke, Christian and Gal, Tamas}, keywords = {Instrumentation and Methods for Astrophysics (astro-ph.IM), FOS: Physical sciences, FOS: Physical sciences}, title = {The eOSSR library}, publisher = {arXiv}, year = {2022}, copyright = {arXiv.org perpetual, non-exclusive license}}If you used the library in a workflow, please cite the version used as well, using the cite section in the Zenodo page (right column, below the Versions section).
Files
eossr.zip
Files
(521.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:b7efb7a5d26943ca8949293e85bef6de
|
521.8 kB | Preview Download |
Additional details
Related works
- Is derived from
- Software: https://gitlab.com/escape-ossr/eossr (URL)
- Is documented by
- Software documentation: https://gitlab.com/escape-ossr/eossr/-/blob/master/README.md (URL)