As-A-Person: A simple Python library for converting URLs to citable people
Supports ORCID, ISNI, vCard, hCard, and jCard lookup and parsing. Everything is converted to the internal CitablePerson dataclass.
Motivation
Various metadata fromats, including DataCite and Frictionless require similar, but not identical, metadata for authors. Neither adheres to a particular standard nor supplies tools for resulving author URIs.
Prerequisites
- Python 3.11 runtime
- Pip for package installation
Installation
Install the dependencies into the environment with pip:
pip install -r requirements.txt
pip install .
Usage
Feed identifiers into the appropriate dereferencing function, e.g., orcid_to_person for an ORCID, to return a CitablePerson on success or raise a ValueError on failure.
Testing
python3 -m coverage run -m unittest discover -s test -p "*_test.py" && python -m coverage report --skip-covered
python -m coverage html
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Ryan Quinn - Initial work
License
MIT.
Metadata
Release files for As-A-Person 0.1.2
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 |
|---|---|---|---|---|
| as_a_person-0.1.2.tar.gz | 5.8 kB | Without provenance | Details for as_a_person-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| as_a_person-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for as_a_person-0.1.2-py3-none-any.whl |
Total release size: 13.2 kB
Release files / as_a_person-0.1.2.tar.gz
| Download URL | as_a_person-0.1.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcf719f7d6bd08f88e6a3338d580d6de25a2d11f762fa4a238283948be04a862
|
|
BLAKE2b-256 checksum How to use checksums |
d39c9cb60c28bbf9ab1ae44ae1f2a01c01a7567157a67a54641cdf55b3abebe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / as_a_person-0.1.2-py3-none-any.whl
| Download URL | as_a_person-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b897ce2d183e836687ea9ce4556e69458b543b711a4e41f6b79ab6b7d17ac0d
|
|
BLAKE2b-256 checksum How to use checksums |
8f597e4df09eea52596739d6b385cc787a590b39ec0e91883789cbffb9518c7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for As-A-Person 0.1.2
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.