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

Total release size: 10.0 MB

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

Download URL manyan-0.16.1-py3-none-win_arm64.whl
Size 1.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
131109a5c5d9cbfc308f6fad191c1cf60549fefcac6cd8f067503744f0931932
BLAKE2b-256 checksum
How to use checksums
e95bb2210c39165f6977e116c32cd5c504dc18b36b1903c2d0f04328f82c82c3
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-py3-none-win_amd64.whl
Size 1.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
dbbacd342a37f95545f2daf37371518079efca6f00b7b6a8813dad7fb78938d6
BLAKE2b-256 checksum
How to use checksums
691f65c1f48dcb85c105b37821b27ace84ac2b42231b9fda957a27cf90b999c0
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-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
addd0285d5df31ccfc1580fdaa752cdb5e2cd614f5d89911c8c12ffa46b8eeea
BLAKE2b-256 checksum
How to use checksums
f5e5018c8c28e8146c493d7aec137d45d86c6051db82ec204febbd5d1674fec8
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-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
18b889b76369084355a23f8a953b82eca8133ebb1bc2c21084bfa7f80dbdf3a0
BLAKE2b-256 checksum
How to use checksums
ebc9aa76f90e25cee9936924ff20a093c89ccbcad345a42fe90102c10588e89e
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-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
14f3b5297725b0ab52f98b4b3a07bcc282e5de87ab48c1f56d3f91f5317153e1
BLAKE2b-256 checksum
How to use checksums
2f41ca4412092db7d506f1aee856b69c1dc29b1c90192f74fffaea9ec7816ff7
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-py3-none-manylinux_2_17_aarch64.whl
Size 1.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
be2bb303e5b9ae6692f142a3ae1c238d503ff9c6dcb3da78fa092a73f7944151
BLAKE2b-256 checksum
How to use checksums
bab7967a0238739681542173ea58f93c88340a883698b7ae8240438a5f6d1dc0
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-py3-none-macosx_11_0_x86_64.whl
Size 874.2 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
e45f0935b38c5de565365a711d1964f4410cb0054d9d40deb58e8e2391d2ab2f
BLAKE2b-256 checksum
How to use checksums
aac6c78e70e1f4e293d3b33343d8d6c6c758b3b8d9500e444f31c3c72e0cd174
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 22, 2026.

Transparency log

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

Download URL manyan-0.16.1-py3-none-macosx_11_0_arm64.whl
Size 819.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67d94cddbc1d611a1b0c45d447332c5781baf4052d98d498d42b0b888ca951ef
BLAKE2b-256 checksum
How to use checksums
1ee47815755bc210afe289a011c44843dfa9b291d2eab0364ec92c5f5eba8e4e
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 22, 2026.

Transparency log

Security for manyan 0.16.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.16.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 22, 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