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

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

Project details


Download files

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

Source Distribution

eossr-2.1.1.tar.gz (264.9 kB view details)

Uploaded Source

Built Distribution

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

eossr-2.1.1-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

File details

Details for the file eossr-2.1.1.tar.gz.

File metadata

  • Download URL: eossr-2.1.1.tar.gz
  • Upload date:
  • Size: 264.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for eossr-2.1.1.tar.gz
Algorithm Hash digest
SHA256 2fab65374571ba1d0e474b4d8eb8eec33297197b1a6901986952e5a9238517ab
MD5 0f6aab911ae92f0ec1a6339a73335411
BLAKE2b-256 1cf7ea16b208b073b1176665c3727713c018ed6e1637770876029ed85b5d9ca5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eossr-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81f0591a27447724da436a8762fd818674015e54c7aea5c9e6d6200a8f8184a9
MD5 160710acb31851a76af176f2867287f2
BLAKE2b-256 e2f4c470dc302f89de640675e280ebfbdccd616e638148cd7a981cb8e8df7522

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