Skip to main content

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

  • v0.4: DOI
  • v0.3.3:
  • v0.2 :

Install

Commands to be run in your terminal.

For users

pip install eossr

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
pip install -e "./eossr"

Running tests

To run tests locally, run:

pip install -e "./eossr[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"

License

See LICENSE

Cite

To cite this library, use 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-0.5.tar.gz (34.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: eossr-0.5.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for eossr-0.5.tar.gz
Algorithm Hash digest
SHA256 329d4eced0bab835c15f393a628130a3ad27e78983f769b444f481f4bad490ed
MD5 b4d260f9f0b203a6450b1c10d587bf59
BLAKE2b-256 1ba742a617bd00cecc0ea46b6e06e956cc25a289c1ee1845b478d911235b7074

See more details on using hashes here.

Supported by

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