Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI version Travis.CI status

pyinfra manages the state of one or more servers. It can be used for app/service deployment, config management and ad-hoc command execution. Deploys are asynchronous, highly performant and can target thousands of hosts in parallel. The inventory of servers and deploy state are written in Python, allowing for near-infinite extendability. pyinfra is available via the command line and as a Python API.

Design Features

pyinfra was designed to enable us 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinfra-0.4.dev2.tar.gz (71.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyinfra-0.4.dev2-py2.py3-none-any.whl (101.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyinfra-0.4.dev2.tar.gz.

File metadata

  • Download URL: pyinfra-0.4.dev2.tar.gz
  • Upload date:
  • Size: 71.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyinfra-0.4.dev2.tar.gz
Algorithm Hash digest
SHA256 2d6fe288e439154e4fc94ec05ce9818c031874158a26c2aaff34d861d048dd14
MD5 69acd9618cf2f6e9fd54da124a8dbfbf
BLAKE2b-256 a4e7cc00d4a640155cdbe8a8b666242740a21d64a1ef6806e7f8fb54fb434721

See more details on using hashes here.

File details

Details for the file pyinfra-0.4.dev2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyinfra-0.4.dev2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 93a2769a8f59602b6e992c88fd9f9b548e5f7b3988dae063e76a83a8b5f70510
MD5 013e9284a1d612af12b8c29cb206a7bc
BLAKE2b-256 4e3bbc5b691ad0914bda90fc6ded81c4986fa0f5b436a16e8ce296c3f15f9939

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page