Skip to main content

Deploy stuff by diff-ing the state you want against the remote server.

Project description

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.

image2

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

Project details


Release history Release notifications | RSS feed

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.9.dev0.tar.gz (94.7 kB view details)

Uploaded Source

Built Distribution

pyinfra-0.9.dev0-py2.py3-none-any.whl (118.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyinfra-0.9.dev0.tar.gz.

File metadata

  • Download URL: pyinfra-0.9.dev0.tar.gz
  • Upload date:
  • Size: 94.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for pyinfra-0.9.dev0.tar.gz
Algorithm Hash digest
SHA256 641a4e30579812382c36fb0e8d2de32a0da223fa9b091dacf6e295eaf8c5eb4b
MD5 ddca7822b249ae190e6b31f29a869fbe
BLAKE2b-256 48fa1efa53031b20314276069f324efe0136e4e45390ee4c5bae46494fb85ecc

See more details on using hashes here.

File details

Details for the file pyinfra-0.9.dev0-py2.py3-none-any.whl.

File metadata

  • Download URL: pyinfra-0.9.dev0-py2.py3-none-any.whl
  • Upload date:
  • Size: 118.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for pyinfra-0.9.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7065766b47c27b0f96346a9016e3150d03c573d3b2e5d17feadd18b3dbb159f5
MD5 2bcedfa4a9e50af2267b0fab2f2dff29
BLAKE2b-256 f80ed518aa741cebf97daae1c4d80c06b6db320b6bda4f9957ceace0ca9ef2a1

See more details on using hashes here.

Supported by

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