Skip to main content

Protocol specifications as Python code

Project description

Wunderspec

Wunderspec

Wunderspec is a Python DSL for writing and checking executable specifications.

Distributed systems often fail due to unforeseen issues: message reordering, race condition, stale observations, retry behavior, crashes and restarts, network outages, vibe code. Adding more example tests is often not enough to find these bugs before they make it to production. Specifications written in Wunderspec surface these issues early, so that teams find design flaws before they become production incidents.

This is the open-core distribution.

📋 Cheatsheet: the Wunderspec cheatsheet summarizes the DSL and CLI on a single page — keep it open while you work.

1. Wunderspec in Action

Follow Bob in his Wunderspec adventure. There, Bob writes a specification of a write-ahead log, finds a bug, replays the counterexample and fixes the specification.

2. Installation

Using uv:

uv add wunderspec

After installation, the CLI is available:

wunderspec --help

3. Features

This open-core package includes the features marked ✅ in the Open Core column. Premium-only command names stay visible for discoverability, but those commands are not included in this package.

Feature Open Core Premium
Symbolic expression evaluator
wunderspec lint
wunderspec run
wunderspec replay
wunderspec convert
wunderspec check
wunderspec with-tlc
wunderspec with-apalache
wunderspec fuzz
wunderspec rust
wunderspec lean

4. Release Provenance

  • Release tag: v0.129.2
  • Source commit: f60e52f632281f5cbb2d1a382ea49b10750d2f4d

See tests/README.md for the development test log captured at release time.

5. License

Wunderspec is distributed under the Functional Source License, Version 1.1, with an Apache 2.0 future license (FSL-1.1-ALv2). See LICENSE.

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

wunderspec-0.129.2.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wunderspec-0.129.2-py3-none-any.whl (256.7 kB view details)

Uploaded Python 3

File details

Details for the file wunderspec-0.129.2.tar.gz.

File metadata

  • Download URL: wunderspec-0.129.2.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wunderspec-0.129.2.tar.gz
Algorithm Hash digest
SHA256 ec60ac8a3b0e91462c9cb55b7d0567b79272e123a18dfecbf58d26fadbf10e43
MD5 792189e3b3b7e162dd98efcf615266d1
BLAKE2b-256 c89085cf8f62d6a8637ca50d10cfb57910dde7c8aa139a446e59e8d1a3d04f08

See more details on using hashes here.

Provenance

The following attestation bundles were made for wunderspec-0.129.2.tar.gz:

Publisher: publish.yml on wunderspec/wunderspec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wunderspec-0.129.2-py3-none-any.whl.

File metadata

  • Download URL: wunderspec-0.129.2-py3-none-any.whl
  • Upload date:
  • Size: 256.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wunderspec-0.129.2-py3-none-any.whl
Algorithm Hash digest
SHA256 935a2e2835c1aa519943ae93e5f4718b20b928c6efcccd44debb9cdb35c157bf
MD5 240efb54128598d60d59b014a5ddf159
BLAKE2b-256 1279823815041813e01c512f754b68f53318af23b120771277a7bc8d9484172c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wunderspec-0.129.2-py3-none-any.whl:

Publisher: publish.yml on wunderspec/wunderspec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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