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
For users
pip install eossr
You can also run it with docker:
docker run -it registry.gitlab.com/escape-ossr/eossr:latest
Visit our registry to see the available docker containers.
Note that latest tag always point to the latest stable released container. For reproducible results, use a tagged version.
For developers
git clone https://gitlab.com/escape-ossr/eossr.git
cd eossr
pip install -e .
Running tests
To run tests locally, run:
pip install -e ".[tests]"
pytest 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"
Online CodeMeta validator for the OSSR
The eOSSR powers an online validator for your CodeMeta metadata and to convert it to Zenodo metadata:
License
See LICENSE
Cite
If using this library, please cite the ESCAPE OSSR project using:
@Article{ 10.12688/openreseurope.15692.2,
AUTHOR = { Vuillaume, T and Al-Turany, M and Füßling, M and Gal, T and Garcia, E and Graf, K and Hughes, G and Kettenis, M and Kresan, D and Schnabel, J and Tacke, C and Verkouter, M},
TITLE = {The ESCAPE Open-source Software and Service Repository [version 2; peer review: 5 approved]
},
JOURNAL = {Open Research Europe},
VOLUME = {3},
YEAR = {2023},
NUMBER = {46},
DOI = {10.12688/openreseurope.15692.2}
}
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).
Metadata
Release files for eossr 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eossr-2.3.1-py3-none-any.whl | Python 3 | none | any | Details for eossr-2.3.1-py3-none-any.whl |
Release files / eossr-2.3.1-py3-none-any.whl
| Download URL | eossr-2.3.1-py3-none-any.whl |
|---|---|
| Size | 77.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
506b4a65ea614489e678608a05893006fc333d74aa9ab6a1bd731f524651ac3c
|
|
BLAKE2b-256 checksum How to use checksums |
441697a3a6579a6f081f64dbf2d93caf9d0ded7c24b89771baf2f202b9993622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for eossr 2.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.