Skip to main content

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)

Source distribution for As-A-Person 0.1.2
File Size Uploaded
as_a_person-0.1.2.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for As-A-Person 0.1.2
File Interpreter ABI Platform
as_a_person-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page