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

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

Total release size: 11.3 MB

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

Download URL manyan-0.20.1-py3-none-win_arm64.whl
Size 1.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
93b8b3878c57356d4f262fac0e4b108f4fd432ee6f9c4e18876f464c1b7d71e3
BLAKE2b-256 checksum
How to use checksums
322bafed60117fab59864fffa47e495aa8d137c87e542df9c9fe028553219c01
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-py3-none-win_amd64.whl
Size 1.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
35ca2cd358a10277594115fa00cddb94a9735557756ceeda5c72bae46792c28c
BLAKE2b-256 checksum
How to use checksums
ae1c3e0e923e01b239f02afc55a342fd2e315d7104e3f5381364dd836da3777f
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-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
f6440300f76d549d3dc480602674316ac59b343cf553d3e4c2a23a798a69a59f
BLAKE2b-256 checksum
How to use checksums
87120ab42f2f6150485f77bf72a90362099d7c496e0f34135a7ef29da9d6f18c
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-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
f1b95d0188bf67833760b287c4f17e46d697baa8ea4bdcb760b97b088ee12ac0
BLAKE2b-256 checksum
How to use checksums
d69f807b2e8bc555cb82fe55bca93071f4ece0e02ab011da06f0adf31974bb1f
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-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
209e78742e455d889f869ede51c740dbfd3aeb496e7057196870c4553a0c38cc
BLAKE2b-256 checksum
How to use checksums
d2098c1015ee6c0d8fefb6671a26235477999b8fa5f8d6f271cbd1bcd0919713
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-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
5a0555a70d3d1acdf7d6599260604201873898fd8a6f67eaf936460de2fd3afb
BLAKE2b-256 checksum
How to use checksums
885da9be7f88d586f52a2e04067b4e92eef50bec08979a28108844192a1b9450
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-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
dfce5c3648f96fec69ae52a8d7ac0890a2186e04a01ceaf1c1da4237eea1dcc9
BLAKE2b-256 checksum
How to use checksums
b43562e9e80e42b19d4b4e8c3051208654a6dc1263ed9e6caa36b3f4dced5aa3
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 29, 2026.

Transparency log

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

Download URL manyan-0.20.1-py3-none-macosx_11_0_arm64.whl
Size 996.4 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e68217f3155ef3b8e12bf7e3eac68c9f1e449d95a9514d3f5f3b3b0625f9b141
BLAKE2b-256 checksum
How to use checksums
5c5519727a65b24ebc37c93be99c0fa5df9c1a79ce8a5f041d8f830d9801cc5c
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 29, 2026.

Transparency log

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

Full provenance

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

Select from 8 files

Attestation for manyan-0.20.1-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 29, 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