ci-info
Continuous Integration Information
Decision gist · record as of 2026-08-14
Yes. The package has zero dependencies, low install friction, active maintenance, a permissive MIT license, and solves a genuine need for CI-aware Python applications. It covers a broad set of CI platforms and is stable enough for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Active maintenance with a recent release in February 2026, though the repository has minimal stars.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with only attribution required.
last release 2026-02-02 (193 days) · last repo commit 2026-06-20 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 534,921 downloads/mo, #6,130 on PyPI
Alternatives
Verify before relying
pip install ci-info
import ci_info
if ci_info.is_ci():
print(ci_info.name())
print(ci_info.is_pr())
print(ci_info.info())- Whether the package maintains compatibility with all listed CI platforms as they evolve their environment variable conventions
- Performance characteristics when called repeatedly in tight loops during CI execution
What it is and what it does
ci-info is a Python port of the Node.js watson/ci-info library that detects whether code is running on a continuous integration platform and identifies which one. It exposes a simple API to check if the current environment is a CI server, retrieve the server's name, detect whether a pull request is being tested, and access all detection results as a dictionary.
The package works by checking environment variables specific to each supported CI platform. It recognizes dozens of CI systems including GitHub Actions, GitLab CI, CircleCI, Travis CI, Jenkins, Azure Pipelines, and many others. For some platforms it can also determine whether the build is testing a pull request. If the environment matches vendor-neutral CI indicators but no specific platform is identified, is_ci() returns True while name() returns None.
Use it for
- Conditionally run code only when executing in a CI environment, such as skipping interactive prompts or enabling verbose logging
- Detect pull request builds to apply different validation rules or reporting for PR checks versus main branch builds
- Log or report which CI platform is running a build for debugging or analytics purposes
- Customize build behavior based on the detected CI server's capabilities or conventions
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package has zero dependencies, low install friction, active maintenance, a permissive MIT license, and solves a genuine need for CI-aware Python applications. It covers a broad set of CI platforms and is stable enough for production use.
Install
ci-info on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance with a recent release in February 2026, though the repository has minimal stars.
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with only attribution required.
Quickstart
pip install ci-info
import ci_info
if ci_info.is_ci():
print(ci_info.name())
print(ci_info.is_pr())
print(ci_info.info())
Verify before relying
- Whether the package maintains compatibility with all listed CI platforms as they evolve their environment variable conventions
- Performance characteristics when called repeatedly in tight loops during CI execution
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 193 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 534,921 / month, #6,130 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 |
Evidence: ci_info-0.4.0-py2.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 environment detection”
- ci-infoDetects which continuous integration platform code is running on and…
- extra-platformsDetects and exposes rich metadata about runtime architecture, OS,…
- lib-detect-testenvDetects whether code is running in a test environment (pytest,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also extra-platforms · codecov · id · opentelemetry-resourcedetector-gcp · detect_agent · socketsecurity · mypy-gitlab-code-quality · cigam · fabric-cicd · buildkite-sdk