Skip to main content

Requirements management using version control.

Project description

Linux Tests macOS Tests Windows Tests
Coverage Status Scrutinizer Code Quality PyPI Version
Gitter Google Best Practices

Overview

Doorstop is a requirements management tool that facilitates the storage of textual requirements alongside source code in version control.

When a project leverages this tool, each linkable item (requirement, test case, etc.) is stored as a YAML file in a designated directory. The items in each directory form a document. The relationship between documents forms a tree hierarchy. Doorstop provides mechanisms for modifying this tree, validating item traceability, and publishing documents in several formats.

Doorstop is under active development and we welcome contributions. The project is licensed as LGPLv3. To report a problem or a security vulnerability please raise an issue. Additional references:

Setup

Requirements

  • Python 3.10+
  • A version control system for requirements storage

Installation

Install Doorstop with pip:

$ pip install doorstop

or add it to your Poetry project:

$ poetry add doorstop

After installation, Doorstop is available on the command-line:

$ doorstop --help

And the package is available under the name 'doorstop':

$ python
>>> import doorstop
>>> doorstop.__version__

Usage

Switch to an existing version control working directory, or create one:

$ git init .

Create documents

Create a new parent requirements document:

$ doorstop create SRD ./reqs/srd

Add a few items to that document:

$ doorstop add SRD
$ doorstop add SRD
$ doorstop add SRD

Link items

Create a child document to link to the parent:

$ doorstop create HLTC ./tests/hl --parent SRD
$ doorstop add HLTC

Link items between documents:

$ doorstop link HLTC001 SRD002

Publish reports

Run integrity checks on the document tree:

$ doorstop

Publish the documents as HTML:

$ doorstop publish all ./public

Project details


Release history Release notifications | RSS feed

This version

3.2

Download files

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

Source Distribution

doorstop-3.2.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

doorstop-3.2-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file doorstop-3.2.tar.gz.

File metadata

  • Download URL: doorstop-3.2.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/24.6.0

File hashes

Hashes for doorstop-3.2.tar.gz
Algorithm Hash digest
SHA256 f1500798139ea203163a62982e8316009e8fd1f973a4e21174cfd1f529cb11b2
MD5 ee3af9ec4930ca36871265f640d60ad1
BLAKE2b-256 0fa462a71d87db1599febb21bdf18ae154c480b37e7e32853c5bbf065683be09

See more details on using hashes here.

File details

Details for the file doorstop-3.2-py3-none-any.whl.

File metadata

  • Download URL: doorstop-3.2-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/24.6.0

File hashes

Hashes for doorstop-3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3bae3bc98dd583c44cdc0ecc670cbf18cbee893f8ccd6edf1e47591132e649
MD5 d2d7052991a0237c4517aaadd66e7ac7
BLAKE2b-256 9d01ac2d14ec6cd44ee8d29f68e40210420b09c7b6ca607d1fbab69bfc32a960

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