Skip to main content

Write product specs as Python code.

Project description

specreq

Write product specs as Python code.

  1. Define reusable elements by subclassing Requirement — override validate(self, product: Path) for each node, or _validate to control how children are validated.
  2. Instance reusable elements to create specific product specs.
  3. Run specreq <spec> <product> [--save] [--strict]--save writes the requirement tree as JSON; --strict turns off exception catching inside _validate (fail fast). Default collects exceptions with tracebacks.

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

specreq-0.1.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

specreq-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: specreq-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for specreq-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ed3535c3efeaeafd58e6e9ec7b053162b561d376532d21c31498698f62ee860b
MD5 b2252f4d74903492e87b278d6b2c8966
BLAKE2b-256 e48fc370d848ee07fabcd537c13331ccbf8e62f9cf2cbb1ed8bf4227b4a33eb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: specreq-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for specreq-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f67f8a7e8ef3047d220562bec8c19af69d64164804aa2d3a84350bf2cda86681
MD5 8f3ab49a15214a9d94cb5066cb2d7724
BLAKE2b-256 5bfb424fc97be79c007e56e64d12414a47133787f96a5ea48c6290fce8df8df9

See more details on using hashes here.

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