Skip to main content
.. raw:: html

<h1>

.. raw:: html

</h1>

|PyPI version| |Travis.CI status|

pyinfra is designed to automate/provision/manage/deploy servers at
scale.

It can be used for ad-hoc command execution, service deployment,
configuration management; you could say that pyinfra is like a
combination of Ansible + Fabric. It is asynchronous, highly performant
and can target thousands of hosts in parallel. It is entirely configured
in Python, allowing for near-infinite extendability out of the box.

- `Getting
started <https://pyinfra.readthedocs.org/page/getting_started.html>`__
- `Documentation <https://pyinfra.readthedocs.org>`__
- `Example deploy <example>`__
- `API
Example <https://pyinfra.readthedocs.org/page/api/example.html>`__
- `How the deploy
works <https://pyinfra.readthedocs.org/page/deploy_process.html>`__

When you run pyinfra you’ll see something like:

Design Features
---------------

pyinfra was designed to deploy things in a consistent, debuggable and
maintainable manner. Notable design decisions:

- properly agentless - even Python isn’t required on the remote side
(just a shell!)
- always print raw stderr on operation failure for *instant* debugging
- ``-v`` means print out remote stdout & stderr in realtime
- outputs shell commands and files to upload
- two-step deploy that enables dry-runs
- fail fast where possible (eg touching a directory)
- uses pure, 100% Python for the inventory and deploy scripts

- with operations/hooks to safely use Python mid-deploy

.. |PyPI version| image:: https://badge.fury.io/py/pyinfra.svg
:target: https://pypi.python.org/pypi/pyinfra
.. |Travis.CI status| image:: https://travis-ci.org/Fizzadar/pyinfra.svg?branch=develop
:target: https://travis-ci.org/Fizzadar/pyinfra


Metadata

Release files for pyinfra 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinfra 0.9.1
File Size Uploaded Provenance Actions
pyinfra-0.9.1.tar.gz 96.3 kB Without provenance Details for pyinfra-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyinfra 0.9.1
File Interpreter ABI Platform Actions
pyinfra-0.9.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pyinfra-0.9.1-py2.py3-none-any.whl

Total release size: 216.1 kB

Release files / pyinfra-0.9.1.tar.gz

Download URL pyinfra-0.9.1.tar.gz
Size 96.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9c7305243d1bbf051e64dab33e99cf9dcd3fbc8efbfe567dd8484ef8247d6fcc
BLAKE2b-256 checksum
How to use checksums
9a04601f9cfd519e0d965dc3d9ef5587c90c441beba5e46abdc411d029656861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release files / pyinfra-0.9.1-py2.py3-none-any.whl

Download URL pyinfra-0.9.1-py2.py3-none-any.whl
Size 119.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
929ecbf7f34df61757bfc0ea8268dc37e1603f560c42e6060696feedd12ce706
BLAKE2b-256 checksum
How to use checksums
ac8e4d37e24ae848e23bb1a02b85ce39d239e0048611e66523d9036395c21795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Security for pyinfra 0.9.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files No provenance

0.2.dev1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page