An Ansible API for humans.
Documentation
Quick Start
Suitable provides a simple wrapper over Ansible’s internal API, that allows you to use Ansible programmatically.
>>> from suitable import Api
>>> api = Api('localhost')
>>> api.command('whoami').stdout()
'myuser'
Warning
Suitable is not endorsed by Ansible and it is not affilated with it. Use at your own peril.
The official way to use Ansible from Python is documented here: http://docs.ansible.com/ansible/developing_api.html
Compatibility
Python 3.10+
Ansible 9+
Mitogen 0.3.7+
Support for older releases is kept only if possible. New Ansible releases are favored over old ones.
Run Tests
pip install tox
tox
Build Status
Test Coverage
Latest Release
Release files for suitable 0.23.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| suitable-0.23.0.tar.gz | 168.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| suitable-0.23.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 333.3 kB
Release files / suitable-0.23.0.tar.gz
| Download URL | suitable-0.23.0.tar.gz |
|---|---|
| Size | 168.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de732e4d2cd1282041d14d738dd80ffaa897785cae6dc1cbb69de047b094bdb3
|
|
BLAKE2b-256 checksum How to use checksums |
ab25569d8c2791f52aea973f5e9377b30a1a90e8bbabd2f975647b4052a9f7d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / suitable-0.23.0-py3-none-any.whl
| Download URL | suitable-0.23.0-py3-none-any.whl |
|---|---|
| Size | 164.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8a89d47e83c4ca56a17c7f7d6b351b19beba14996760d619831e490ae33887d
|
|
BLAKE2b-256 checksum How to use checksums |
44091ae6390b8cc3ebb39f2ed17e0d010668f2ee146b337891d19dc38507981b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log