Skip to main content

Treat Requirements Like Code

Project description

Treat Requirements Like Code (TRLC)

TRLC is a domain-specific language developed at BMW for writing (and linking) requirements with meta-data.

The repository contains:

The implementation is not very fast, but designed to be pedantically correct in following the language definition. The tools also include a powerful static analysis tool to find issues with types and user-defined check rules.

The Python implementation can be used for several purposes:

  • It can be used to validate other TRLC implementations.

  • It can be used to validate a body of requirements (e.g. a CI check that all requirements are well formed)

  • The API can be used to write other tools based on TRLC (for example a tool to render the requirements in HTML, a tool to diff requirements or perform an impact analysis, or a tool to perform software traceability, etc.)

Documentation

For normal users

For advanced users

For TRLC developers

Tools Available

  • TRLC_RST Convert TRLC Requirements for Sphinx Build

Dependencies

Run-time

  • 3.8 <= Python3 <= 3.14
  • PyVCG
  • PyPI CVC5 (required when using the --verify option)

Optional dependency (not installed automatically):

  • Binary CVC5 (An alternative to PyPI CVC5, make sure to rename the binary to cvc5 and put it on your PATH).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

trlc-2.0.4-py3-none-any.whl (87.9 kB view details)

Uploaded Python 3

File details

Details for the file trlc-2.0.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for trlc-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2bcd0539434ac43c85e171330d8850436f1c18079e51e6310274175df2185c6f
MD5 6c6bd35821deeb11286ee956d88e9484
BLAKE2b-256 b0bdd4f65093faf4cb64a36695a2fb03c14cdac4e7fb4b1144567450a6ec9474

See more details on using hashes here.

Provenance

The following attestation bundles were made for trlc-2.0.4-py3-none-any.whl:

Publisher: package.yml on bmw-software-engineering/trlc

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