Skip to main content

OARepo doi generator

Project description

OARepo DOI Generator

image image image image

Instalation

    pip install oarepo-doi-generator

Usage

OARepo module for DataCite DOI registration.

Functions

doi_request(record)

Creates a new identifier in record metadata with empty value, scheme as doi and with status set as requested.

doi_approved(record, pid_type)

For DOI registration. A new DOI is registered on DataCite and attached to record metadata as a new identifier. If test_mode sets on True, the registration is performed only on DataCite testing server.

Configuration

must be present in config:

DOI_DATACITE_USERNAME

Repository account credentials for DataCite in the format "xxx.yyy"

DOI_DATACITE_PASSWORD

Password for DataCite

DOI_DATACITE_PREFIX

Registered DOI prefix

DOI_TEST_MODE

If true, dois will be generated only on test server

optional:

DOI_DATACITE_PUBLISHER

For metadata that are generated for record and associated with registered DOI. If publisher is specified in record metadata, this variable is not used. Default value: CESNET

DOI_DATACITE_TEST_URL

Only for test purposes. URL that is allowed in the domains settings of the test repository.

Changes

Version 1.0.0

  • Initial public release.

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

oarepo_doi_generator-1.0.8.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

oarepo_doi_generator-1.0.8-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file oarepo_doi_generator-1.0.8.tar.gz.

File metadata

  • Download URL: oarepo_doi_generator-1.0.8.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for oarepo_doi_generator-1.0.8.tar.gz
Algorithm Hash digest
SHA256 5fe6c41a7d82ae1c9cce3331039ed29fa0043d405c723677cdf50141a1f4a927
MD5 e9fb83fd91a07d1b501519550f4e67ab
BLAKE2b-256 12fa6c09e019d0ddbe8940ef0af03afeff24e0c7bc275f22c8f1fffd7c8ec652

See more details on using hashes here.

File details

Details for the file oarepo_doi_generator-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: oarepo_doi_generator-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for oarepo_doi_generator-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 348e906cd118997d39c744af24bf2e71efdf4c8b5abd35104148732cb31ddeb5
MD5 5410bcf7863d6ffcdccce9fdcc93b726
BLAKE2b-256 fe44401d1fe5e4cc9fa50fe03f3d1b7a76ed5dcf925e1cfde0c5a4249ed7e32c

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