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.20.2

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

Total release size: 11.3 MB

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

Download URL manyan-0.20.2-py3-none-win_arm64.whl
Size 1.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
109b9c4b10862237ec60b3ad598fee67f98477042f6666ad09a51eb633bf1128
BLAKE2b-256 checksum
How to use checksums
7a4a8d895a247d0ef897636303c1e18b994f21eac3ffa4c3fa1801bd2a06e82e
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-win_amd64.whl
Size 1.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3c37dd9439db0783dee4838fe488187466576b511ab1b26799c1020e28265650
BLAKE2b-256 checksum
How to use checksums
f8d4241fb9a36acd06e26e2ff959fdbc6a0c0de3ffe29ac24899719bf75388f1
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-musllinux_1_2_x86_64.whl
Size 1.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7b0091aafd92905af391502c12d39f352f0fea48e24876ba84e46950c6ea52ae
BLAKE2b-256 checksum
How to use checksums
b56c71bd5701c8a025db8fe1202ab89631da65be6d348adfec555f3bcf0735c9
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-musllinux_1_2_aarch64.whl
Size 1.5 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e8b9c8ab2cace22b72ff2b04356fcd85a9ed10c20b8374088be71597b43a5984
BLAKE2b-256 checksum
How to use checksums
4b1ba24092352dbdc8e91c010089948afcf9aa61d94b3371553d47aac06928e4
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a69ea111c4dbdf5bc75d16e48485d8b2a09c29ed0e9089bcbe9c797b935b2bee
BLAKE2b-256 checksum
How to use checksums
afe684b35d9896223496c8b68c16608f1266ba26b0c31cf9d3b0b493b68c1253
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-manylinux_2_17_aarch64.whl
Size 1.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8b0451fc552b420a6a6c8f1397a8cb4a3bfdb3f812e668ac3aea9609da9ba44e
BLAKE2b-256 checksum
How to use checksums
f31db28249b9c7e63b21297d27cecfb19dae98699d3c43e55d861025b24db7b3
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-macosx_11_0_x86_64.whl
Size 1.1 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
9ca4554ba2dc6f8d2d6e12c0ee7746cb25cf2fe4cb513ec2bbc575101853edab
BLAKE2b-256 checksum
How to use checksums
c1c61b2707356059fd96686a26fea3634e0f14bb39936bf63e3087cb4ab4c515
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 30, 2026.

Transparency log

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

Download URL manyan-0.20.2-py3-none-macosx_11_0_arm64.whl
Size 1.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fdd2ed9677612440cd24e6d4f879de2a637f7835ee85a4a19249062ebb38f8be
BLAKE2b-256 checksum
How to use checksums
9209e439595f04886cd273a3ae9c5644c55cd4b6b52628715285b090c7559967
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 30, 2026.

Transparency log

Security for manyan 0.20.2

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.20.2-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 30, 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