api4jenkins
Jenkins Python Client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and offers low installation friction. It provides a clean, Pythonic interface to Jenkins automation—both sync and async—making it suitable for CI/CD integration, testing, and operational scripting. Install it if you need to automate or integrate with Jenkins from Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Jenkins instance accessible at the provided URL with valid credentials.
- Low friction: pure Python wheel with a single runtime dependency (httpx).
- Actively maintained with recent commits and production-stable status.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2025-11-19 (268 days) · last repo commit 2026-08-05 · 93 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 522,350 downloads/mo, #6,202 on PyPI
Alternatives
Verify before relying
pip install api4jenkins
from api4jenkins import Jenkins
client = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin'))
print(client.version)
build = client.build_job('path/to/job')
for line in build.get_build().progressive_output():
print(line)- Whether httpx is bundled or must be installed separately (likely separate, given it's listed as a runtime dependency).
- Performance characteristics when managing large numbers of jobs or builds concurrently.
What it is and what it does
api4jenkins is a Python client library that wraps the Jenkins REST API, letting you programmatically interact with Jenkins from Python code. It offers both sync and async APIs, so you can choose blocking or non-blocking calls depending on your use case. The library models Jenkins concepts (jobs, builds, agents) as Python classes, making it straightforward to query attributes, create jobs from XML, trigger builds, and stream build output.
The package is built on httpx for HTTP transport and supports Python 3.8 through 3.12. It's actively maintained, carries no known vulnerabilities, and is classified as production-stable. The single external dependency keeps installation friction low.
Use it for
- Automate Jenkins job creation and configuration from Python scripts or CI/CD pipelines.
- Poll Jenkins builds programmatically and stream or parse build logs in real time.
- Write integration tests that spin up Jenkins jobs and verify their output without manual intervention.
- Build dashboards or monitoring tools that query Jenkins job status and build history asynchronously.
- Migrate jobs or build data between Jenkins instances by reading and re-creating them via the API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive license, and offers low installation friction. It provides a clean, Pythonic interface to Jenkins automation—both sync and async—making it suitable for CI/CD integration, testing, and operational scripting. Install it if you need to automate or integrate with Jenkins from Python.
Install
api4jenkins on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (httpx). Actively maintained with recent commits and production-stable status.
Requires a running Jenkins instance accessible at the provided URL with valid credentials.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install api4jenkins
from api4jenkins import Jenkins
client = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin'))
print(client.version)
build = client.build_job('path/to/job')
for line in build.get_build().progressive_output():
print(line)
Verify before relying
- Whether httpx is bundled or must be installed separately (likely separate, given it's listed as a runtime dependency).
- Performance characteristics when managing large numbers of jobs or builds concurrently.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagehttpx |
| Maintenance | Actively maintained 268 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 522,350 / month, #6,202 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities |
Evidence: api4jenkins-2.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “jenkins python client”
- api4jenkinsA Python client library for the Jenkins REST API that provides both…
- jenkinsapiProvides a Python wrapper around Jenkins' REST API, letting you…
- python-jenkinsPython wrapper for the Jenkins REST API that provides a higher-level,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also jenkinsapi · python-jenkins · wmill · checkmk-dev-tools · py-jama-rest-client · apache-airflow-providers-jenkins · simple-rest-client · pylint-junit · prime-sandboxes · python-intercom