This project has been archived by its maintainers, and is no longer receiving any updates.
credCheck: lookup Crossref credential permissions
credCheck allows you to test whether your Crossref credentials have the necessary permissions to deposit a DOI. It is a simple command-line tool that takes a DOI and Crossref username and password and returns a boolean value indicating whether the user has the necessary permissions to deposit the DOI.
Install
pip install credcheck
CLI Usage
Usage: cli.py [OPTIONS] USERNAME PASSWORD DOI
Checks the credentials for a given username, password, and doi.
╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * username TEXT The username [default: None] [required] │
│ * password TEXT The password [default: None] [required] │
│ * doi TEXT The doi with prefix to check [default: None] [required] │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion [bash|zsh|fish|powershell|pwsh] Install completion for the specified shell. [default: None] │
│ --show-completion [bash|zsh|fish|powershell|pwsh] Show completion for the specified shell, to copy it or customize the installation. [default: None] │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Programmatic Usage
import cred
credential = cred.Credential(username=username, password=password, doi=doi)
if not credential.is_authenticated():
...
if credential.is_authorised():
...
© Crossref 2024
Metadata
Release files for credcheck 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| credcheck-0.0.3.tar.gz | 3.5 kB | Without provenance | Details for credcheck-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| credcheck-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for credcheck-0.0.3-py3-none-any.whl |
Total release size: 6.9 kB
Release files / credcheck-0.0.3.tar.gz
| Download URL | credcheck-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0df5d7989680bdabe0c18270d04aa108a738f1965f5a0ab3b750758ea445782c
|
|
BLAKE2b-256 checksum How to use checksums |
9b2ed87583600bff0c9e08b7f2bda3c21fe2dcac90f78da5d0514306051edc68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / credcheck-0.0.3-py3-none-any.whl
| Download URL | credcheck-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fcd6235cbe6c96759e3a5ce7169cae6d79d1b664661af49f8e845c45072868f
|
|
BLAKE2b-256 checksum How to use checksums |
78331aee0dfcc744dcb66f0386deb0e4d2fe533352dec97263ecf51935449e0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for credcheck 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.