Skip to main content

Python bindings for acorn-lib crate

Project description

ACORN 🌱

gitlab PyPI

Python bindings for the acorn-lib crate

So what? Big deal...who cares?

acorn-py allows you to leverage best in class persistent identifier validation and other ACORN [1] capabilities in your Python projects.

Installation

Pixi [2]

⭐ Recommended

pixi add acorn-py --pypi

Poetry

poetry add acorn-py

Pip

pip install acorn-py

Conda

⌛ Coming soon

Example Usage

from acorn.schema.validate import is_ark, is_doi, is_orcid, is_ror

# Archival Resource Keys
assert is_ark("https://n2t.net/ark:12148/btv1b8449691v/f29")

# Digital Object Identifiers
assert is_doi("10.11578/dc.20250604.1")

# Open Researcher and Contributor Identifiers
assert is_orcid("https://orcid.org/0000-0002-2057-9115")

# Research Organization Registry identifiers
assert is_ror("01qz5mb56")

Footnotes

[1]

The acorn-py Python wheel is built from Rust code using Maturin. acorn-py does not support the entire ACORN API, see the acorn-py project code for details.

[2]

On linux, may need to augment your pixi.toml with

[system-requirements]
libc = { family = "glibc", version = "2.34" }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

acorn_py-0.1.36-cp310-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

acorn_py-0.1.36-cp310-abi3-manylinux_2_34_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

acorn_py-0.1.36-cp310-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file acorn_py-0.1.36-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for acorn_py-0.1.36-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 44cb0a3be4cf9e6e641e2bae9a67c7dbeefa69a730bd28071071df6bdbe0660c
MD5 0e6f651ad2e66b3a861120e19883694f
BLAKE2b-256 ed57584bec98698d5fdfd9b41d44214cd850a7a22d6193070a8220127e5ba7d4

See more details on using hashes here.

File details

Details for the file acorn_py-0.1.36-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for acorn_py-0.1.36-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6e63627e028dbf068a25087244a2008f88ecf3d3f2d28d662be1737514dcefd0
MD5 b5873279987a9947bb706a5e9633919c
BLAKE2b-256 636a197e072851b179beb68270fb2ca246ff4acad9690d7cdaa8af857f136b26

See more details on using hashes here.

File details

Details for the file acorn_py-0.1.36-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for acorn_py-0.1.36-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb5f39885c234cd8bfb63a7c1e9f5eef4a502fd484a3e805bb6a37daa55ea6b3
MD5 27afbcf53caca3d716946155fdc58d35
BLAKE2b-256 75b719477664fcb07110c501f02ca5430c966b56d91cc84fad117e65a04b8f3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page