Skip to main content

Python bindings for anno

Project description

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/

Project details


Download files

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

Source Distribution

anno_py-0.1.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

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

anno_py-0.1.0-cp39-abi3-win_amd64.whl (838.8 kB view details)

Uploaded CPython 3.9+Windows x86-64

anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl (937.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file anno_py-0.1.0.tar.gz.

File metadata

  • Download URL: anno_py-0.1.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for anno_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42f728bded769d4052348f03e3368abf61796507431b23fedbaf58bd3fb3a49f
MD5 4d822616c12aad9558966b89fd30d9b1
BLAKE2b-256 d1fbf20d7edd1b873af9f3328fb9a938d4a6a562a5055cc44dc4e189f7ba33ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for anno_py-0.1.0.tar.gz:

Publisher: python-wheels.yml on arclabs561/anno

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anno_py-0.1.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: anno_py-0.1.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 838.8 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for anno_py-0.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f010cf7ca6a040bb2e4214420a017b4a8cc3a9a085b24d848c7db190879859c9
MD5 22484439b319f8517ae5185750c96408
BLAKE2b-256 a9d74402b10a783b296e919694d7a2b0f02f9d24eb2fe47f11299fcf092ac646

See more details on using hashes here.

Provenance

The following attestation bundles were made for anno_py-0.1.0-cp39-abi3-win_amd64.whl:

Publisher: python-wheels.yml on arclabs561/anno

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d2549c3dcbbb3339e96d0aa2382711e10efe30b0f2e519ded4bc31e3318d901
MD5 0f74571c0cf6d7b01c1361ac283b70b5
BLAKE2b-256 7d94b2b661fe3d46216912f1e3e04c1e82e8092130c04490f6248714d0794afa

See more details on using hashes here.

Provenance

The following attestation bundles were made for anno_py-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-wheels.yml on arclabs561/anno

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41ef2c869f9d51e23f0b41475afedba22d711c62d9bd5feb78c504ccc0c88831
MD5 1c4b22bfb8184aa05e378217428acc6c
BLAKE2b-256 cb76730783e62d8819dff280350a9e753fb4a1ceda63c123354f783955ae7e33

See more details on using hashes here.

Provenance

The following attestation bundles were made for anno_py-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: python-wheels.yml on arclabs561/anno

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f6ed1187cab7d0ce8892ddbe8ac22a0ba6281569b4e40f056b1cd4da8a22420
MD5 0009dde164b0e5a311ae2ec705f74c37
BLAKE2b-256 f100da90f02b0a5eece2c40402f5f09ada1e695a680c8e138bb87eaa9972a256

See more details on using hashes here.

Provenance

The following attestation bundles were made for anno_py-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: python-wheels.yml on arclabs561/anno

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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