Skip to main content

manyan

Manyan is a fast model checker for TLA⁺, compatible with TLC and Apalache. It is a native executable, with no JVM.

pip install manyan
manyan -workers auto examples/DieHard

The wheel installs the same manyan a release ships, so it prints and exits as the release does, with -workers too. python -m manyan runs it as well, and manyan.find_manyan_bin() gives its path.

manyan.run(args, cwd=None, stdin=None) runs it and gives what the check found as values, with no text to parse:

import manyan

run = manyan.run(["DieHard"], cwd="examples")
run.status                    # 12: an invariant is violated
run.result.violated           # ['NotSolved']
run.result.states[-1]         # {'small': 3, 'big': 4}
run.result.actions[1]["name"] # 'Next'
run.result.loop               # 0: the behavior ends; else the state it steps back to
run.result.distinct           # 14

manyan.check(spec, **options) does the same in Python's own process, with the library the wheel installs beside it (not on Windows): its options are those of manyan.h's ManyanOptions, by name, and it gives what run does, with no process started.

run = manyan.check("examples/DieHard", workers=4)
run = manyan.check("Spec", config="Small.cfg", check_deadlock=False, invariants=["x < 10"])

states holds the first counterexample the report prints whole, each a record of the variables; actions the step into each, as TLCGet("action") gives it, one more stepping back where there is a loop. A TLA+ value is a boolean, integer or string as itself, a tuple a tuple, a set a frozenset, a function or record a manyan.Function (a dict a set can hold), and any other, such as a model value, a manyan.Printed: a str of TLC's text of it.

See the manual.

Metadata

Release files for manyan 0.17.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 manyan 0.17.0
File Actions
manyan-0.17.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for manyan-0.17.0-py3-none-win_arm64.whl
manyan-0.17.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for manyan-0.17.0-py3-none-win_amd64.whl
manyan-0.17.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for manyan-0.17.0-py3-none-musllinux_1_2_x86_64.whl
manyan-0.17.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for manyan-0.17.0-py3-none-musllinux_1_2_aarch64.whl
manyan-0.17.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for manyan-0.17.0-py3-none-manylinux_2_17_x86_64.whl
manyan-0.17.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for manyan-0.17.0-py3-none-manylinux_2_17_aarch64.whl
manyan-0.17.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for manyan-0.17.0-py3-none-macosx_11_0_x86_64.whl
manyan-0.17.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for manyan-0.17.0-py3-none-macosx_11_0_arm64.whl

Total release size: 10.3 MB

Release files / manyan-0.17.0-py3-none-win_arm64.whl

Download URL manyan-0.17.0-py3-none-win_arm64.whl
Size 1.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
08326abd1ab8a953f251b5dceac8fc5889e9f5062e19819a6915137029227279
BLAKE2b-256 checksum
How to use checksums
0687cc457ab0eabda69af03b131dde102c9127572f48f3781a73b877036f2599
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-win_amd64.whl

Download URL manyan-0.17.0-py3-none-win_amd64.whl
Size 1.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
68e8e8d4101ef4de100258b847a811cfe853ea2b37f2893eee063462ccd0c68a
BLAKE2b-256 checksum
How to use checksums
26ee35bb9bcef62b281ac1e99d62aaede6230c96f7cb91b764896f63e29c9ddd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-musllinux_1_2_x86_64.whl

Download URL manyan-0.17.0-py3-none-musllinux_1_2_x86_64.whl
Size 1.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3265f428c0502697b931c084045c85ea5d4e07bbe7305c41573fa65c7ef98654
BLAKE2b-256 checksum
How to use checksums
e4c752c1d738e843437ec0274906b6ae5f363ccc5f3f34db569ddb746dd5f4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-musllinux_1_2_aarch64.whl

Download URL manyan-0.17.0-py3-none-musllinux_1_2_aarch64.whl
Size 1.3 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
01ca9d9ac46ad8f395ccc7402daa09d08dca1f20283d81b7654ca1d0fe070409
BLAKE2b-256 checksum
How to use checksums
4cf713d772a25e39e308937cb0ef7fea19b64223096347b756f58725e3d4d202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-manylinux_2_17_x86_64.whl

Download URL manyan-0.17.0-py3-none-manylinux_2_17_x86_64.whl
Size 1.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ca09c7e7d10f40dacc92c00436a56d701c7bc2fdb7fe0fd4f257f69c11770fd8
BLAKE2b-256 checksum
How to use checksums
aa56764b1677ce6304a070ec3f034e98a72a2fa345b92a72891b297643733ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-manylinux_2_17_aarch64.whl

Download URL manyan-0.17.0-py3-none-manylinux_2_17_aarch64.whl
Size 1.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
baa9d1e805f36b7c8f8aec96b9fa596c9bbbab98013808c7f99fd7fde868c649
BLAKE2b-256 checksum
How to use checksums
9ba05770c50d3fa8fbf17aac841c20ebc8624b3bbc0b5fdba5908944b877a3fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-macosx_11_0_x86_64.whl

Download URL manyan-0.17.0-py3-none-macosx_11_0_x86_64.whl
Size 920.9 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
360fba9861c63ac8e62a34ac856dcdf7f24cffecb9089dde836bfa97e192b54c
BLAKE2b-256 checksum
How to use checksums
67fe38cfdcb3833c6ebafd6227d5b06a04bb9e06551f59431c0d980cc5ea127b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / manyan-0.17.0-py3-none-macosx_11_0_arm64.whl

Download URL manyan-0.17.0-py3-none-macosx_11_0_arm64.whl
Size 862.8 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
853d07e685adf710fc516054b5ef944d087685c22a757c2d4d07bf89fb764b7b
BLAKE2b-256 checksum
How to use checksums
acb710194bbd4c025ab67fc403a6f7a0e0e13da0bc9e38df6767577cd0b659ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Security for manyan 0.17.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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for manyan-0.17.0-py3-none-win_arm64.whl

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 Nov 23, 2026.

Transparency log

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.

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