zephyr-python-api
Zephyr (TM4J) Python REST API wrapper
What it is and what it does
Zephyr-python-api is a thin wrapper library around the Zephyr Scale (TM4J) REST API, enabling test automation engineers to interact with Zephyr Scale test management via Python code instead of the web GUI. It abstracts away HTTP request construction and authentication, exposing a higher-level interface for common operations like fetching, creating, and managing test cases and cycles. The library supports both Zephyr Cloud and Zephyr Server deployments, with flexible authentication options including API tokens, Jira credentials, and session cookies.
The package depends only on requests, making it lightweight to install. However, it is in early development (version 0.1.0) and has been dormant since its latest release, with the author noting that tests, documentation, and higher-level object wrappers remain incomplete. It is suitable for teams already committed to Zephyr Scale who want to script routine test management tasks, but should be treated as a work-in-progress tool rather than a mature, production-hardened library.
Use it for:
- Automate bulk creation or updates of test cases in Zephyr Scale from external data sources or CI/CD pipelines.
- Script test cycle management and test execution reporting without manual GUI interaction.
- Integrate Zephyr Scale test metadata into custom reporting or analytics dashboards.
- Build custom test orchestration workflows that query test cases and cycles programmatically.
- Migrate test data between Zephyr Scale instances or from legacy test management systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python wrappers for the Zephyr Scale (TM4J) REST API, allowing programmatic interaction with test cases, cycles, and other Zephyr Scale resources without using the GUI.
Yes, if you use Zephyr Scale and need programmatic access to automate test management tasks. No, if you expect a mature, actively maintained library—the 0.1.0 version and dormant maintenance signal incomplete coverage and no active support. Suitable for teams willing to work around gaps; risky for production workflows that depend on stability.
Install
zephyr-python-api on PyPI
pip
pip install zephyr-python-apiuv
uv add zephyr-python-apipoetry
poetry add zephyr-python-apiInstalling zephyr-python-api
Before you install
Low install friction with a single dependency (requests). Maintenance is dormant—last commit was 2024-05-06—so expect no active bug fixes or feature updates, though the repository is not archived.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install zephyr-python-api
from zephyr import ZephyrScale
# Cloud auth
zscale = ZephyrScale(token="<your_token>")
zapi = zscale.api
all_test_cases = zapi.test_cases.get_test_cases()
Requires a valid Zephyr Scale (Cloud or Server) account and authentication token or credentials.
Verify before relying
- Extent of API coverage—which Zephyr Scale endpoints are wrapped and which are missing.
- Stability and backward compatibility guarantees given the early 0.1.0 version and dormant maintenance status.
- Quality and completeness of error handling and edge-case behavior.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | dormant — 834 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 101,108/month — #12,963 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zephyr_python_api-0.1.0-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
devicetreeProvides Python libraries for parsing and…
permissive · top 15,000 on PyPI
atlassian-python-apiProvides Python bindings to REST APIs for…
permissive · top 5,000 on PyPI
scalewayProvides Python bindings to interact with…
permissive · top 15,000 on PyPI
pyproject-apiProvides a programmatic API to read and…
permissive · top 5,000 on PyPI
zabbix-apiProvides a Python client library for…
copyleft · top 15,000 on PyPI
westWest is a meta-tool for managing multiple Git…
permissive · top 5,000 on PyPI
scale-gp-betaPython client library for the Scale GP REST API…
permissive · top 15,000 on PyPI
jiraA Python library that wraps the Jira REST API,…
permissive · top 1,000 on PyPI
python-otbr-apiProvides a Python client to interact with an…
permissive · top 15,000 on PyPI
restflyRESTfly is a framework for building libraries…
permissive · top 15,000 on PyPI