Python bindings for acorn-lib crate
Project description
ACORN 🌱
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file acorn_py-0.1.36-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: acorn_py-0.1.36-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44cb0a3be4cf9e6e641e2bae9a67c7dbeefa69a730bd28071071df6bdbe0660c
|
|
| MD5 |
0e6f651ad2e66b3a861120e19883694f
|
|
| BLAKE2b-256 |
ed57584bec98698d5fdfd9b41d44214cd850a7a22d6193070a8220127e5ba7d4
|
File details
Details for the file acorn_py-0.1.36-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: acorn_py-0.1.36-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e63627e028dbf068a25087244a2008f88ecf3d3f2d28d662be1737514dcefd0
|
|
| MD5 |
b5873279987a9947bb706a5e9633919c
|
|
| BLAKE2b-256 |
636a197e072851b179beb68270fb2ca246ff4acad9690d7cdaa8af857f136b26
|
File details
Details for the file acorn_py-0.1.36-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: acorn_py-0.1.36-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb5f39885c234cd8bfb63a7c1e9f5eef4a502fd484a3e805bb6a37daa55ea6b3
|
|
| MD5 |
27afbcf53caca3d716946155fdc58d35
|
|
| BLAKE2b-256 |
75b719477664fcb07110c501f02ca5430c966b56d91cc84fad117e65a04b8f3f
|