jenkinsapi
A Python API for accessing resources on a Jenkins continuous-integration server.
Decision gist · record as of 2026-08-14
Yes. Jenkinsapi is actively maintained, carries no known vulnerabilities, has low install friction, and is widely used (top 5000 PyPI packages). It's the standard Python client for Jenkins automation. Install it if you need to script Jenkins administration or integrate Jenkins into Python-based CI/CD workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Jenkins server accessible at a known URL; authentication credentials (username and API token or password) are needed.
- Low friction: pure Python wheel with only two runtime dependencies (pytz and requests).
- Actively maintained with a release within the last 115 days.
License · maintenance · safety
MIT license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
last release 2026-04-21 (115 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 896,001 downloads/mo, #4,788 on PyPI
Alternatives
Verify before relying
pip install jenkinsapi
from jenkinsapi.jenkins import Jenkins
server = Jenkins('http://jenkins-server', username='user', password='token')
job = server.get_job('my-job')
job.disable()- Whether job deletion actually requires disabling Cross-Site scripting protection on all Jenkins versions or only some.
- Whether the library handles Jenkins plugin compatibility issues beyond the documented NestedViews plugin.
- Specific port or endpoint configuration required to connect to a Jenkins instance.
What it is and what it does
Jenkinsapi wraps Jenkins' REST API into Python objects, making it straightforward to automate Jenkins administration and CI/CD tasks from Python scripts. Instead of crafting raw HTTP requests, you work with familiar Python objects representing jobs, builds, nodes, views, and credentials. The library handles authentication, request/response serialization, and common patterns like polling for build completion or searching artifacts.
Typical use cases include scripting job creation and deletion, triggering builds programmatically, querying build results and artifacts, managing Jenkins nodes and credentials, and integrating Jenkins into larger automation workflows. It depends only on pytz and requests, making it lightweight to install. The project is actively maintained, supports modern Python versions (3.10–3.14), and carries no known security vulnerabilities.
Use it for
- Automate creation, deletion, and configuration of Jenkins jobs from Python scripts without manual UI interaction.
- Trigger builds and poll for completion status programmatically, enabling orchestration of multi-stage CI/CD pipelines.
- Search for and download build artifacts by criteria, then install them to custom directory structures for testing or deployment.
- Manage Jenkins build nodes, views, and credentials programmatically as part of infrastructure-as-code workflows.
- Query job and build history by source code revision to correlate CI results with version control events.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Jenkinsapi is actively maintained, carries no known vulnerabilities, has low install friction, and is widely used (top 5000 PyPI packages). It's the standard Python client for Jenkins automation. Install it if you need to script Jenkins administration or integrate Jenkins into Python-based CI/CD workflows.
Install
jenkinsapi on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (pytz and requests). Actively maintained with a release within the last 115 days. Supports current Python versions (3.10–3.14).
Requires a running Jenkins server accessible at a known URL; authentication credentials (username and API token or password) are needed.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install jenkinsapi
from jenkinsapi.jenkins import Jenkins
server = Jenkins('http://jenkins-server', username='user', password='token')
job = server.get_job('my-job')
job.disable()
Verify before relying
- Whether job deletion actually requires disabling Cross-Site scripting protection on all Jenkins versions or only some.
- Whether the library handles Jenkins plugin compatibility issues beyond the documented NestedViews plugin.
- Specific port or endpoint configuration required to connect to a Jenkins instance.
Package facts
| License | MIT license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytzrequests |
| Maintenance | Actively maintained 115 days since the last release |
| First released | |
| Downloads | 896,001 / month, #4,788 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/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: TestingTopic :: Utilities |
Evidence: jenkinsapi-0.3.23-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 › “ci/cd pipeline control”
- jenkinsapiProvides a Python wrapper around Jenkins' REST API, letting you…
- compliance-trestleCompliance-trestle manages, validates, and transforms OSCAL (NIST's…
- dagger-ioDagger Python SDK is a client for defining and running CI/CD…
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 api4jenkins · checkmk-dev-tools · python-jenkins · Paver · pybuildkite · apache-airflow-providers-jenkins · pynautobot · wapi-python · databricks-api · APScheduler