ansible-compat
Ansible compatibility goodies
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained (release 2 days old), has no known vulnerabilities, carries a permissive MIT license, and has low installation friction. It is purpose-built for a common pain point—managing Ansible version differences—and is backed by the official Ansible project. Install it if you are building tools or automation that must work across multiple Ansible versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and ansible-core as a runtime dependency.
- Low friction installation with a pure-Python wheel.
- Actively maintained with a release 2 days old.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 30 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,022,955 downloads/mo, #1,797 on PyPI
Alternatives
Verify before relying
pip install ansible-compat
import ansible_compat
# Use compatibility functions to work with different Ansible versions- Specific compatibility functions and their API surface are not detailed in the fact sheet.
- Which Ansible versions are supported or tested is not specified in the excerpt.
What it is and what it does
ansible-compat is a utility library that bridges compatibility gaps when working with different versions of Ansible. It provides functions to abstract version-specific behavior, allowing tools and scripts built on Ansible to work reliably across multiple Ansible releases without reimplementing version-detection logic.
The package is part of the official Ansible project and is actively maintained. It depends on ansible-core, jsonschema, packaging, pyyaml, and subprocess-tee. It targets modern Python versions (3.10 through 3.14) and is classified as production-stable. The library is designed for developers, system administrators, and tools that need to integrate with or extend Ansible functionality.
Use it for
- Ensure Ansible-based automation tools work across multiple Ansible versions without conditional code branches.
- Validate Ansible playbook or configuration schemas against different Ansible releases.
- Build Ansible plugins or extensions that must support a range of Ansible versions.
- Integrate Ansible into CI/CD pipelines where the Ansible version may vary across environments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained (release 2 days old), has no known vulnerabilities, carries a permissive MIT license, and has low installation friction. It is purpose-built for a common pain point—managing Ansible version differences—and is backed by the official Ansible project. Install it if you are building tools or automation that must work across multiple Ansible versions.
Install
ansible-compat on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained with a release 2 days old. Depends on ansible-core, jsonschema, packaging, pyyaml, and subprocess-tee—all stable, widely-used libraries.
Requires Python 3.10 or later and ansible-core as a runtime dependency.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install ansible-compat
import ansible_compat
# Use compatibility functions to work with different Ansible versions
Verify before relying
- Specific compatibility functions and their API surface are not detailed in the fact sheet.
- Which Ansible versions are supported or tested is not specified in the excerpt.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesansible-corejsonschemapackagingpyyamlsubprocess-tee |
| Maintenance | Actively maintained 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,022,955 / month, #1,797 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 AdministratorsOperating 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 :: Bug TrackingTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: System :: Systems AdministrationTopic :: Utilities |
Evidence: ansible_compat-26.8.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 › “ansible version compatibility”
- ansible-compatProvides compatibility utilities for working with multiple versions…
- ansible-lintansible-lint checks Ansible playbooks and roles for practices that…
- tox-ansibleA tox plugin that orchestrates testing of Ansible collections across…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also ansible-lint · tox-ansible · ansible-core · six · antsibull-core · ansible-dev-tools · ansible-navigator · apache-airflow-providers-common-compat · selinux · ansible-pylibssh