Skip to main content

anno-py

Python bindings for anno.

This build uses the pattern + heuristic backends: no model downloads, works offline. Offsets are character offsets, so text[e.start:e.end] == e.text.

Install (development)

cd crates/anno-py
uv venv && maturin develop --uv

Usage

import anno_py

ents = anno_py.extract("Contact Jane Doe at jane.doe@example.com.")
for e in ents:
    print(e.text, e.label, e.start, e.end, e.confidence)

For repeated calls, reuse an extractor: ex = anno_py.Extractor(), then ex.extract(text).

Tests

pytest tests/

Release files for anno-py 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anno-py 0.1.0
File Size Uploaded
anno_py-0.1.0.tar.gz 1.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for anno-py 0.1.0
File
anno_py-0.1.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 5.0 MB

Release files / anno_py-0.1.0.tar.gz

Download URL anno_py-0.1.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
42f728bded769d4052348f03e3368abf61796507431b23fedbaf58bd3fb3a49f
BLAKE2b-256 checksum
How to use checksums
d1fbf20d7edd1b873af9f3328fb9a938d4a6a562a5055cc44dc4e189f7ba33ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release files / anno_py-0.1.0-cp39-abi3-win_amd64.whl

Download URL anno_py-0.1.0-cp39-abi3-win_amd64.whl
Size 838.8 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f010cf7ca6a040bb2e4214420a017b4a8cc3a9a085b24d848c7db190879859c9
BLAKE2b-256 checksum
How to use checksums
a9d74402b10a783b296e919694d7a2b0f02f9d24eb2fe47f11299fcf092ac646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release files / anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
8d2549c3dcbbb3339e96d0aa2382711e10efe30b0f2e519ded4bc31e3318d901
BLAKE2b-256 checksum
How to use checksums
7d94b2b661fe3d46216912f1e3e04c1e82e8092130c04490f6248714d0794afa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release files / anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
41ef2c869f9d51e23f0b41475afedba22d711c62d9bd5feb78c504ccc0c88831
BLAKE2b-256 checksum
How to use checksums
cb76730783e62d8819dff280350a9e753fb4a1ceda63c123354f783955ae7e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release files / anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Size 937.2 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5f6ed1187cab7d0ce8892ddbe8ac22a0ba6281569b4e40f056b1cd4da8a22420
BLAKE2b-256 checksum
How to use checksums
f100da90f02b0a5eece2c40402f5f09ada1e695a680c8e138bb87eaa9972a256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

5 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