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. slugify is the same slug function the JavaScript package exports.
from anumat_engine import slugify
slugify("Example Health")
Pass one input object as keyword arguments. A bad URL, storage block, or model id raises EngineError with code validation_failed before the process starts. If the process exits during startup, the error message includes the process stderr.
The engine object has these methods besides close.
register_payer,get_payer,find_payer_by_slug,list_payersregister_source,get_source,find_source_by_policy_key,list_sourcescheck_source,due_sources,check_due_sourcespropose_version,approve_version,reject_versionget_published_policy,get_published_version,list_published_versionsget_version,list_versions,get_diff,diff_for_version,save_diff_notes
Installing the source distribution on a platform without a wheel fails with the list of wheel tags. It does not leave a partial install that imports.
Metadata
Release files for anumat-engine 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anumat_engine-0.1.1.tar.gz | 22.7 kB | Without provenance | Details for anumat_engine-0.1.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| anumat_engine-0.1.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for anumat_engine-0.1.1-py3-none-win_amd64.whl |
| anumat_engine-0.1.1-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for anumat_engine-0.1.1-py3-none-manylinux_2_17_x86_64.whl |
| anumat_engine-0.1.1-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for anumat_engine-0.1.1-py3-none-manylinux_2_17_aarch64.whl |
| anumat_engine-0.1.1-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details for anumat_engine-0.1.1-py3-none-macosx_11_0_x86_64.whl |
| anumat_engine-0.1.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for anumat_engine-0.1.1-py3-none-macosx_11_0_arm64.whl |
Total release size: 192.4 MB
Release files / anumat_engine-0.1.1.tar.gz
| Download URL | anumat_engine-0.1.1.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e5cfee2af66217cbad018b60736767c85027f1df5966546273fbe4c837f6246
|
|
BLAKE2b-256 checksum How to use checksums |
4ecbf50172cc883d9fc0c302add4e6738e987d541fc432e18709805adcfc7089
|
| 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.1-py3-none-win_amd64.whl
| Download URL | anumat_engine-0.1.1-py3-none-win_amd64.whl |
|---|---|
| Size | 44.4 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c92862ec3b111ca0b17add929a11066ef745aa8f5fbdc11fd8510e6eb14a5e6d
|
|
BLAKE2b-256 checksum How to use checksums |
22b45412ea5cb003016ecfa129ae6dab6045d874345e6a5134a26501535e794f
|
| 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.1-py3-none-manylinux_2_17_x86_64.whl
| Download URL | anumat_engine-0.1.1-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 41.0 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
5bfb361d7ba472ece75b8c05ac63a2b873982a47c6b1fbcd68c8c35c27e367e0
|
|
BLAKE2b-256 checksum How to use checksums |
23c59f4f02a65aa930c6e79611a4a01b0277067238d104dfba3619fca91bbe9c
|
| 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.1-py3-none-manylinux_2_17_aarch64.whl
| Download URL | anumat_engine-0.1.1-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 41.0 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
b672345891b480c94323338076e694c2ae1f4ba7cb6fa8648b3d8f4254a934c0
|
|
BLAKE2b-256 checksum How to use checksums |
65573b07e21e2c8863c35d966266605b3aec257faa89253b576eae4e3cb1c5b2
|
| 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.1-py3-none-macosx_11_0_x86_64.whl
| Download URL | anumat_engine-0.1.1-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 33.0 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c785edf249ee3862323c343f677317379cfa74cd2085c1afdb0524e74de4930d
|
|
BLAKE2b-256 checksum How to use checksums |
9a42df4867d0f1e1db69b58d5e5749d7b16ed914079b4ebbe2b5f5e0233f9153
|
| 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.1-py3-none-macosx_11_0_arm64.whl
| Download URL | anumat_engine-0.1.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 32.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a606ce4cde0d872220fab8ec21927221b0dfdaf43155f7249bc36b3ceec90d3f
|
|
BLAKE2b-256 checksum How to use checksums |
f046ff71be059f01f3ec2c1de035bcf844431f6b1a342dcd1d385816659534f7
|
| 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.1
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.