manyan 0.14.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- manyan/__init__.py +17 -0
- manyan/__main__.py +17 -0
- manyan-0.14.0.data/scripts/cygwin1.dll +0 -0
- manyan-0.14.0.data/scripts/manyan.exe +0 -0
- manyan-0.14.0.dist-info/METADATA +27 -0
- manyan-0.14.0.dist-info/RECORD +8 -0
- manyan-0.14.0.dist-info/WHEEL +4 -0
- manyan-0.14.0.dist-info/licenses/LICENSE +21 -0
manyan/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Manyan, a fast model checker for TLA+. The wheel installs the executable
|
|
2
|
+
itself onto the PATH; find_manyan_bin gives where."""
|
|
3
|
+
import os
|
|
4
|
+
import sys
|
|
5
|
+
import sysconfig
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def find_manyan_bin():
|
|
9
|
+
"""The path of the manyan executable this package installed."""
|
|
10
|
+
name = "manyan.exe" if sys.platform == "win32" else "manyan"
|
|
11
|
+
schemes = [sysconfig.get_default_scheme()] if hasattr(sysconfig, "get_default_scheme") else []
|
|
12
|
+
schemes.append(os.name + "_user")
|
|
13
|
+
for scheme in schemes:
|
|
14
|
+
path = os.path.join(sysconfig.get_path("scripts", scheme), name)
|
|
15
|
+
if os.path.isfile(path):
|
|
16
|
+
return path
|
|
17
|
+
raise FileNotFoundError(name)
|
manyan/__main__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""python -m manyan runs the executable, as manyan on the PATH does."""
|
|
2
|
+
import os
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
from manyan import find_manyan_bin
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main():
|
|
10
|
+
manyan = find_manyan_bin()
|
|
11
|
+
if sys.platform == "win32":
|
|
12
|
+
sys.exit(subprocess.call([manyan, *sys.argv[1:]]))
|
|
13
|
+
os.execv(manyan, [manyan, *sys.argv[1:]])
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
if __name__ == "__main__":
|
|
17
|
+
main()
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: manyan
|
|
3
|
+
Version: 0.14.0
|
|
4
|
+
Summary: A fast model checker for TLA+, compatible with TLC and Apalache.
|
|
5
|
+
Author: Ju Lin
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Project-URL: Repository, https://github.com/soasme/manyan
|
|
9
|
+
Requires-Python: >=3.8
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# manyan
|
|
13
|
+
|
|
14
|
+
[Manyan](https://github.com/soasme/manyan) is a fast model checker for TLA⁺,
|
|
15
|
+
compatible with TLC and Apalache. It is a native executable, with no JVM.
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pip install manyan
|
|
19
|
+
manyan -workers auto examples/DieHard
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The wheel installs the same `manyan` a
|
|
23
|
+
[release](https://github.com/soasme/manyan/releases) ships, so it prints and
|
|
24
|
+
exits as the release does, with `-workers` too. `python -m manyan` runs it
|
|
25
|
+
as well, and `manyan.find_manyan_bin()` gives its path.
|
|
26
|
+
|
|
27
|
+
See [the manual](https://github.com/soasme/manyan/blob/main/docs/manual.md).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
manyan/__init__.py,sha256=98IjVn5bUJlM0FhQuG8yN5YES_DET4Kp7gassqTqor0,654
|
|
2
|
+
manyan/__main__.py,sha256=YTq1jhkze07kRS6K0ZUaq3xN3-gTwCPCqGCNL5Vfc9k,369
|
|
3
|
+
manyan-0.14.0.data/scripts/manyan.exe,sha256=w9fU-nMQ90rbI9TGze9Qw-4fq3NXeFTLDuGIW_cy4rM,868285
|
|
4
|
+
manyan-0.14.0.data/scripts/cygwin1.dll,sha256=7Z1TeQYeXeecM3XMYiRsIULqHJfZT00Wv76m-xt_yIk,3246645
|
|
5
|
+
manyan-0.14.0.dist-info/METADATA,sha256=vPwbOFEzOHdf-Do-_9qsSHXPDv42ru-F0LK61YgXI6A,865
|
|
6
|
+
manyan-0.14.0.dist-info/WHEEL,sha256=byTa0zNnAUuUkSUDLYsYE2D_M4RR_8JLizBy217JE5M,93
|
|
7
|
+
manyan-0.14.0.dist-info/licenses/LICENSE,sha256=-PLaKGZFrtCpEyu6v0yJCWrR95hROnRQ3eEh0Fq2_Wg,1063
|
|
8
|
+
manyan-0.14.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ju Lin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|