Skip to main content

REST API service for imbus TestBench to manage and serve requirements from Jira, Excel, and JSONL sources

Project description

TestBench Requirement Service

PyPI version Python versions License

A lightweight REST API service for imbus TestBench that provides unified access to requirements from multiple data sources: Jira, Excel, and JSONL.

Features

  • Multiple readers: JSONL files, Excel spreadsheets (.xlsx, .xls, .csv, .tsv, .txt), or Jira via REST API
  • Unified REST API: one consistent API surface regardless of the underlying data source
  • Interactive setup wizard: testbench-requirement-service init generates a complete configuration in seconds
  • Swagger UI: built-in interactive API docs at /docs
  • HTTPS & mTLS: optional TLS and mutual TLS for production deployments
  • Windows service support: deploy as a service with NSSM, FireDaemon, or YAJSW
  • Extensible: implement AbstractRequirementReader to connect any data source

Installation

With pip (Python 3.10–3.14 required):

pip install testbench-requirement-service

Optional extras for additional readers:

Reader Data source Install command
JSONL (default) .jsonl files included in base install
Excel .xlsx, .xls, .csv, .tsv, .txt pip install testbench-requirement-service[excel]
Jira Jira REST API pip install testbench-requirement-service[jira]

Standalone executable — no Python required. Download the pre-built binary from the GitHub releases page.

Quick start

# 1. Create a configuration interactively
testbench-requirement-service init

# 2. Start the service
testbench-requirement-service start

The service runs at http://127.0.0.1:8020 by default. Open /docs for the interactive Swagger UI.

Documentation

Full documentation is available on the TestBench Ecosystem documentation site:

Contributing

Contributions are welcome. See CONTRIBUTING.md for setup instructions and guidelines.

Changelog

See CHANGELOG.md for release history.

License

Apache 2.0 — see LICENSE for details.

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

testbench_requirement_service-1.0.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

testbench_requirement_service-1.0.0-py3-none-any.whl (589.4 kB view details)

Uploaded Python 3

File details

Details for the file testbench_requirement_service-1.0.0.tar.gz.

File metadata

File hashes

Hashes for testbench_requirement_service-1.0.0.tar.gz
Algorithm Hash digest
SHA256 db44654aecac4787386629f8e6aecf5a828e2ae0a16277bddbffcf69341e23dd
MD5 ad022a4ab698d7c3703b5ae32924658c
BLAKE2b-256 1ae14215d87b7f719c9d8823d54cccc8213a4757a9a809249bfd6e67ed1ad693

See more details on using hashes here.

File details

Details for the file testbench_requirement_service-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for testbench_requirement_service-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5af04599c7489371ec1b710226763786e8a1d7b04d12225081165489c78bc2c
MD5 c457fdb50eaee83766332aa5ae606f96
BLAKE2b-256 9ec8aa9d28945c51447798969e2359ee4c4b7becccb18143ee4421d679a72b8c

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