OARepo DOI Generator
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.
Metadata
Release files for oarepo-doi-generator 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oarepo_doi_generator-1.0.8.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oarepo_doi_generator-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.0 kB
Release files / oarepo_doi_generator-1.0.8.tar.gz
| Download URL | oarepo_doi_generator-1.0.8.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fe6c41a7d82ae1c9cce3331039ed29fa0043d405c723677cdf50141a1f4a927
|
|
BLAKE2b-256 checksum How to use checksums |
12fa6c09e019d0ddbe8940ef0af03afeff24e0c7bc275f22c8f1fffd7c8ec652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / oarepo_doi_generator-1.0.8-py3-none-any.whl
| Download URL | oarepo_doi_generator-1.0.8-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
348e906cd118997d39c744af24bf2e71efdf4c8b5abd35104148732cb31ddeb5
|
|
BLAKE2b-256 checksum How to use checksums |
fe44401d1fe5e4cc9fa50fe03f3d1b7a76ed5dcf925e1cfde0c5a4249ed7e32c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|