ESCAPE OSSR library
Project description
The ESCAPE OSSR library
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/
Former stable versions
Install
Commands to be run in your terminal.
For users
cd eossr
pip install .
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.
For developers
git clone https://gitlab.in2p3.fr/escape2020/wp3/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.
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file eossr-1.0.1.tar.gz
.
File metadata
- Download URL: eossr-1.0.1.tar.gz
- Upload date:
- Size: 243.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb6f3cc1d9e4b965be91e3736df0655b6fc246943a111d4c9d617a46a216f16 |
|
MD5 | 21f0be4a440c82f1f3c11db92e8a4d69 |
|
BLAKE2b-256 | 6a746e281112d326d293ac3bd3834f94285dc00c5bb83e5ea4f351ca262b9dbf |