Skip to main content

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.11–3.15 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.

Metadata

Release files for testbench-requirement-service 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testbench-requirement-service 1.3.2
File Size Uploaded Provenance Actions
testbench_requirement_service-1.3.2.tar.gz 593.5 kB Without provenance Details for testbench_requirement_service-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for testbench-requirement-service 1.3.2
File Interpreter ABI Platform Actions
testbench_requirement_service-1.3.2-py3-none-any.whl Python 3 none any Details for testbench_requirement_service-1.3.2-py3-none-any.whl

Total release size: 1.2 MB

Release files / testbench_requirement_service-1.3.2.tar.gz

Download URL testbench_requirement_service-1.3.2.tar.gz
Size 593.5 kB
Tags Source
SHA-256 checksum
How to use checksums
20bdc3b513c768c55a8e9ee42e8804449df3f7913c3f6e800cd2354eeee516a5
BLAKE2b-256 checksum
How to use checksums
a804edd73377e22215b96aad212a83d972bde3c3df3e3513cfd39b230f0f5344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / testbench_requirement_service-1.3.2-py3-none-any.whl

Download URL testbench_requirement_service-1.3.2-py3-none-any.whl
Size 619.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8946c47a4abd3976cf9be79657ec513fdc62689b6795b8f2c1e7b9a682cb438f
BLAKE2b-256 checksum
How to use checksums
8c6945eada1dfaa7d2f74eb4ea29d0fa829e3be79b22b2fe80b5519a9296450e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for testbench-requirement-service 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page