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

Total release size: 10.4 MB

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

Download URL manyan-0.18.0-py3-none-win_arm64.whl
Size 1.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
1ef87e6778ca277a0b73a084a9391d8a82a1945c2c8507176c938fa14d8cc57c
BLAKE2b-256 checksum
How to use checksums
4ecc15513ea12377a7fab0d3766f7953f30c92d4cc519c37e6800c2f9a09317c
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.0-py3-none-win_amd64.whl
Size 1.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d81444b49a37cbe1265a37c0acf57c11f1753c160d7d11f4579f05e388ccdb8e
BLAKE2b-256 checksum
How to use checksums
5db986d6a53658122944cfc6a98c63591ba582850889bdba7ca5464cb2b77369
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.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
3779d30eb8d1da93f9e07c4ed189b78bfe6b005e2589cc79b32f939348c1e344
BLAKE2b-256 checksum
How to use checksums
72dff75aa95b9cd13882e3ea62f239fb55c455fe4eb232e380c9c7eb28e5e362
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.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
3fa26e781a3d8751a74910d9677f51a850e4ea635fd84ec0e8a71242ba0df603
BLAKE2b-256 checksum
How to use checksums
2ab8363dc6571b79a9225290e15b13d581dbf50c84ed89f6814304792b89fc10
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.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
034c6404d0570ee67c1fea07b2ae29e2e90e963639df008d408130c35c25ee93
BLAKE2b-256 checksum
How to use checksums
3a79e727364b0f386228cbe8c8432c33b04d69ced999eb67784b2bd8cab41440
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.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
012c75498ab476cafac2890dc422d3159d261169168d7bea6b9f5020fc2e4ccc
BLAKE2b-256 checksum
How to use checksums
08b5bd7502bf659f7387dba55d4c791f4f7e8e00e5909c6949a07f03550864f4
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.0-py3-none-macosx_11_0_x86_64.whl
Size 954.0 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
540c372a84dcd5556d3922ca4343f522d68905448871ccf81c561149d8d4ac29
BLAKE2b-256 checksum
How to use checksums
4cf9f7f110b7e63d7ea2ca3cd1875c01d8571d6a5fd2a36f00a9e80117498d57
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 26, 2026.

Transparency log

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

Download URL manyan-0.18.0-py3-none-macosx_11_0_arm64.whl
Size 898.4 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7e8db8b409f2a9349a6854fe8df7818b9f6689466a6c7093574a0fdd95322dd1
BLAKE2b-256 checksum
How to use checksums
87e261ec5d32a883a743d880b9e300e7dfb92a464e55cc276dffb555d35c201c
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 26, 2026.

Transparency log

Security for manyan 0.18.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.18.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 26, 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