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 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 and library functions 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 and library functions 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)
  • Run Apalache model checker programmatically (reads and returns json data)
  • Extract traces from TLC output in Informal Trace Format format (concise and machine readable counterexample representation)

Allowing clean programmatic access to model checkers and other utility.

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

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.2.2.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

modelator_py-0.2.2-py3-none-any.whl (111.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modelator_py-0.2.2.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.9 Darwin/21.6.0

File hashes

Hashes for modelator_py-0.2.2.tar.gz
Algorithm Hash digest
SHA256 14c3ef2d3cc15c1fcd4f22d05e3bb57264aca3a20ea159a8f932f8d4dedddd78
MD5 a39a5364bf2a29802ef82ba04ea1a9c1
BLAKE2b-256 dd86290521b476a1e72bf0a3e3a112c59740b141ec3583fe6e4b73273b564c29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modelator_py-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 111.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.9 Darwin/21.6.0

File hashes

Hashes for modelator_py-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0da188341a0c12000fca7feea87dfd194f441364dc9079fb2b7e653a95be5ec
MD5 9b6f083c04e4020508aa51c9d5dc3fd9
BLAKE2b-256 098dcd88174bd61ae0800f6c46837847eac6f1e14af55e3bab0cf9a363a8bffb

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