Skip to main content

ESCAPE OSSR library

Project description

eossr_logo

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.json file 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)

eossr schema

Code: https://gitlab.com/escape-ossr/eossr

Documentation: https://escape-ossr.gitlab.io/eossr/

pipeline_badge coverage_badge CII Best Practices SQAaaS badge shields.io MIT_license_badge zenodo_badge Binder

Former stable versions

  • v1.0: DOI
  • v0.6: DOI
  • v0.5: DOI
  • v0.4: DOI
  • v0.3.3: DOI
  • v0.2 : DOI

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:

badge

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eossr-2.3.0-py3-none-any.whl (77.9 kB view details)

Uploaded Python 3

File details

Details for the file eossr-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: eossr-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 77.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for eossr-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a8f89e53a9432297beeaf94b7d8b7a302ba1ce748983c044d1af3478b8ffee3
MD5 97a8d8fe5831c36014c8bedb29336a7a
BLAKE2b-256 83f43056afdced8b8e07fc171c218735e95fe6a0a4ade51c2eb4e6a523d66a17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page