Skip to main content

SpacyMatcher annotator using the spacy rule-matching engine

Project description

pyannotators_spacymatcher

license tests codecov docs version PyPI - Python Version

Annotator based on SpacyMatcher using the spacy rule-matching engine

Installation

You can simply pip install pyannotators_spacymatcher.

Developing

Pre-requisites

You will need to install uv (for building and managing the package):

pip install uv

Clone the repository:

git clone https://github.com/oterrier/pyannotators_spacymatcher

Install dependencies

uv sync --extra test

Running the test suite

uv run pytest

Linting

uv run ruff check .
uv run ruff format --check .

Building the documentation

uv run --extra docs sphinx-build docs docs/_build

The built documentation is available at docs/_build/index.html.

SBOM & vulnerability check

Install the SBOM dependencies:

uv sync --extra sbom

Generate a CycloneDX SBOM from the current environment:

uv run cyclonedx-py environment -o sbom.cdx.json --output-format json

Audit dependencies for known vulnerabilities:

uv run pip-audit --format json --output audit-report.json

To fail on any known vulnerability (useful in CI):

uv run pip-audit --strict

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

pyannotators_spacymatcher-0.6.15.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

pyannotators_spacymatcher-0.6.15-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pyannotators_spacymatcher-0.6.15.tar.gz.

File metadata

  • Download URL: pyannotators_spacymatcher-0.6.15.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyannotators_spacymatcher-0.6.15.tar.gz
Algorithm Hash digest
SHA256 46cf25ced3a86e8403721bcbc71a499d7d2efa11803bb8ced571d6d92fad3c4b
MD5 ec9263d3fa663237a435631cb5339bff
BLAKE2b-256 0a08f6d939fc444f7c0f0769860fedc5a8e8636a005be99a284591570d04d41a

See more details on using hashes here.

File details

Details for the file pyannotators_spacymatcher-0.6.15-py3-none-any.whl.

File metadata

  • Download URL: pyannotators_spacymatcher-0.6.15-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyannotators_spacymatcher-0.6.15-py3-none-any.whl
Algorithm Hash digest
SHA256 b003a34da20a5d8c7a4e86b1ce1b6458802aa7513f8b485151d366ecf3bffe60
MD5 6786a9d8336c445f1ab95c4999f2265f
BLAKE2b-256 ff8ef8a7cdbae107cfd7d8b58f172346699581c3a3e110bf59f177dd8b468d40

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