Skip to main content

Lightweight utilities to assist model writing and model-based testing activities using the TLA+ ecosystem

Project description

modelator-py

⚠️ The tools in this repo are unstable and may be subject to major changes ⚠️

License Contributor Covenant PyPi version PyPi downloads

Lightweight utilities to assist model writing and model-based testing activities using the TLA+ ecosystem.

What is this project?

A collection of cli utilities to reduce leg-work when developing TLA+ models, running model checkers, and doing model-based testing. The utilities are also intended to act as building blocks for tool development in the TLA+ ecosystem.

What can it do right now?

Currently there is a cli implementing utilities:

  • Run TLC model checker without side effects (runs in temporary directory and is cleaned up)
  • Run TLC model checker programmatically (reads and returns json data)
  • Run Apalache model checker without side effects (runs in temporary directory and is cleaned up) (needs patch)
  • Run Apalache model checker programmatically (reads and returns json data) (needs patch)
  • Extract traces from TLC output in Informal Trace Format format (concise and machine readable counterexample representation)

What will it do in the future?

The model-based testing capabilities developed at Informal are currently in the modelator tool and are being migrated to a multi language architecture. Please expect more utilities and more tooling soon.

Usage

Please see usage.

Running the code in this repository

Please see contributing

Contributing

Please see contributing

License

Copyright © 2021 Informal Systems Inc. and modelator authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use the files in this repository except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modelator_py-0.1.1.tar.gz (94.0 kB view details)

Uploaded Source

Built Distribution

modelator_py-0.1.1-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

Details for the file modelator_py-0.1.1.tar.gz.

File metadata

  • Download URL: modelator_py-0.1.1.tar.gz
  • Upload date:
  • Size: 94.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/20.5.0

File hashes

Hashes for modelator_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8e9f46072eafe806fc91a00fa922825fbb4f02b4783d0fb7ea536e825883fb98
MD5 e620a61236f3b45a20d8d19080223e6e
BLAKE2b-256 43bbb21ec1ab9f6463ff884709304b5f41d561f29909f148d9de7870efdfa066

See more details on using hashes here.

File details

Details for the file modelator_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: modelator_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 110.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Darwin/20.5.0

File hashes

Hashes for modelator_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d20280b92b5890176a7769b0b7da18da9506b25340bb6a8b96a0371d79f314
MD5 807c6374f41103350b0d285775295cd6
BLAKE2b-256 74b7ec197323b64ff58aa34e403a93de666156ceedf9e17d4abfe471e1ab6566

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page