Skip to main content

short description of my pds module, less than 100-120 characters

Project description

NASA PDS DOI Service

This tools provides services for PDS operators to mint DOIs.

Prerequisites

  • python 3.6 or above
  • a login to OSTI server

User Documentation

https://nasa-pds.github.io/pds-doi-service/ 

Developers

Get the code and work on a branch

git clone ...
git checkout -b "#<issue number>"

Install virtual env

pip install virtualenv
python -m venv venv
source venv/bin/activate

Deploy dependancies:

pip install -r requirements_dev.txt

or

pip intall -e .

Launch api server (to be re-worked)

pds_doi_api

Test

Unit tests:

python setup.py test

Behavioral testing

Then you can run the behavioral tests:

behave

Note this will download reference test data. If they need to be updated you have to first remove your local copy of the reference data (test/aaDOI_production_submitted_labels)

You can also run them for a nicer reporting:

behave -f allure_behave.formatter:AllureFormatter -o ./allure ./features 
allure service allure

To report to testrail

Test report can be pushed to testrail: https://cae-testrail.jpl.nasa.gov/testrail/

Project: Planetary Data System (PDS) Test suite: pds-doi-service

Set you environment:

export TESTRAIL_USER=<your email in testrail>
export TESTRAIL_KEY=<your API key in tesrail>

Run the tests:

behave

See the results in https://cae-testrail.jpl.nasa.gov/testrail/index.php?/projects/overview/168

Documentation management

Design :

See in this repository:

https://github.com/NASA-PDS/pds-doi-service/tree/master/docs

User documentation

Managed with sphynx

brew install sphinx-doc
pip install -r requirements_dev.txt
cd docs
sphinx-build -b html source build -a 

Build & Release

The build and release process is managed in github actions.

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

pds_doi_service-1.0.1-py3-none-any.whl (158.7 kB view details)

Uploaded Python 3

File details

Details for the file pds_doi_service-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pds_doi_service-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 158.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7

File hashes

Hashes for pds_doi_service-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93f5e0c994d2c0839f4b7928c8765388d4cb6d6e3c3400fa10c7879e75046648
MD5 e3b0dafb86c801c18a377e34f747e76e
BLAKE2b-256 64c7f92ca5f2dc8069403f5f863063e34d92457395ca7f225f76df05e749fa22

See more details on using hashes here.

Supported by

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