Write product specs as Python code.
Project description
specreq
Write product specs as Python code.
- Define reusable elements by subclassing
Requirement— overridevalidate(self, product: Path)for each node, or_validateto control how children are validated. - Instance reusable elements to create specific product specs.
- Run
specreq <spec> <product> [--save] [--strict]—--savewrites the requirement tree as JSON;--strictturns off exception catching inside_validate(fail fast). Default collects exceptions with tracebacks.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed3535c3efeaeafd58e6e9ec7b053162b561d376532d21c31498698f62ee860b
|
|
| MD5 |
b2252f4d74903492e87b278d6b2c8966
|
|
| BLAKE2b-256 |
e48fc370d848ee07fabcd537c13331ccbf8e62f9cf2cbb1ed8bf4227b4a33eb9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f67f8a7e8ef3047d220562bec8c19af69d64164804aa2d3a84350bf2cda86681
|
|
| MD5 |
8f3ab49a15214a9d94cb5066cb2d7724
|
|
| BLAKE2b-256 |
5bfb424fc97be79c007e56e64d12414a47133787f96a5ea48c6290fce8df8df9
|