Skip to main content

anumat-engine

anumat-engine runs the Anumat engine in a local process. The wheel ships the engine binary.

Install

pip install anumat-engine

Each wheel contains the binary for one platform.

Apply the migrations

anumat-engine migrate applies the SQL migrations bundled in the binary. It records them in _prisma_migrations. A second run leaves an up-to-date database unchanged.

anumat-engine migrate --db postgres://USER:PASSWORD@HOST:5432/DATABASE

Call create_engine

from anumat_engine import create_engine

with create_engine(database_url="postgres://USER:PASSWORD@HOST:5432/DATABASE") as engine:
    page = engine.list_payers()

create_engine starts the engine and returns after the engine health check succeeds. engine.close() stops the process. A with block calls close(). The process also stops when the parent process exits.

storage and llm are optional. create_engine does not read them from the environment.

For local files, pass storage={"kind": "local", "data_dir": "data/policies"}. The default directory is ./data/policies. For object storage, pass storage with kind set to s3 and region, bucket, access_key_id, and secret_access_key.

Pass llm={"strong": "anthropic/claude-sonnet-4-5", "cheap": "anthropic/claude-haiku-4-5"} when a check should call a model. Omit llm until a check needs one.

Engine methods use snake_case names for the functions exported by @anumat/engine. engine.list_payers() calls listPayers.

Metadata

Release files for anumat-engine 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for anumat-engine 0.1.0
File Actions
anumat_engine-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for anumat_engine-0.1.0-py3-none-win_amd64.whl
anumat_engine-0.1.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for anumat_engine-0.1.0-py3-none-manylinux_2_17_x86_64.whl
anumat_engine-0.1.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for anumat_engine-0.1.0-py3-none-manylinux_2_17_aarch64.whl
anumat_engine-0.1.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for anumat_engine-0.1.0-py3-none-macosx_11_0_x86_64.whl
anumat_engine-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for anumat_engine-0.1.0-py3-none-macosx_11_0_arm64.whl

Total release size: 182.5 MB

Release files / anumat_engine-0.1.0-py3-none-win_amd64.whl

Download URL anumat_engine-0.1.0-py3-none-win_amd64.whl
Size 42.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f3b0ab5a36b40cfbf69a6e3936a9dd7a8e32d846c469e8bc6490abbe463df153
BLAKE2b-256 checksum
How to use checksums
10e3bdd887aae61480311bdf39bd32c2402798b4f50edc396b818b3b960d6a32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / anumat_engine-0.1.0-py3-none-manylinux_2_17_x86_64.whl

Download URL anumat_engine-0.1.0-py3-none-manylinux_2_17_x86_64.whl
Size 39.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
37b69d978ccb1d0d31dadcc7b04bf8f4f1cae08448211568b3595790cbd57c2d
BLAKE2b-256 checksum
How to use checksums
d45437849823ffde84bcaa33e4cbd2e409131504920e50e773b7829c771af5f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / anumat_engine-0.1.0-py3-none-manylinux_2_17_aarch64.whl

Download URL anumat_engine-0.1.0-py3-none-manylinux_2_17_aarch64.whl
Size 38.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a5d1577d5c21baf37729de7cd69faef2350908ba4afd03abe6112ef3f0dc5d6c
BLAKE2b-256 checksum
How to use checksums
b597dc34863eda37fa884c56e50545a9c2e8b6b0908f0f6e54eb20406d733ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / anumat_engine-0.1.0-py3-none-macosx_11_0_x86_64.whl

Download URL anumat_engine-0.1.0-py3-none-macosx_11_0_x86_64.whl
Size 30.9 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
d45b62888db65337c4780237508e05ea5a9d094718e49496e6b09598555f83e2
BLAKE2b-256 checksum
How to use checksums
19c3c7fd6c0759c26fbed0aa57142f96877ca6f0f399a0ada7ed96647a96633d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / anumat_engine-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL anumat_engine-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 31.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8238c1a3bcf82ef3a3a9e2b3bf44628106eb3b11830ac017acf84226158558e0
BLAKE2b-256 checksum
How to use checksums
059aea78008ec96fc88d61b53453c38cfa61962a6a865e2584a33a07e4773477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for anumat-engine 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

5 release files No provenance

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