skillfed

zephyr-python-api

Zephyr (TM4J) Python REST API wrapper

zephyr-python-api v0.1.0 101.1K downloads/30d#12,963 on PyPI2
Permissive license DORMANT released

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-api

uv

uv add zephyr-python-api

poetry

poetry add zephyr-python-api

Installing 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

License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

zephyr scale api wrappertm4j python clienttest case automation apizephyr rest api pythontest management automationprogrammatic test case managementzephyr scale python integration
test-automationapi-wrapperjira-integration

More Quality Assurance packages