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. The inventory of servers and deploy state are written in Python, allowing for near-infinite extendability.

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

Uploaded Source

Built Distribution

pyinfra-0.8.dev0-py2.py3-none-any.whl (118.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pyinfra-0.8.dev0.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for pyinfra-0.8.dev0.tar.gz
Algorithm Hash digest
SHA256 c22bc0dd67b1d30a660e090a41a12a42b4fecd7833ac34af5aae703680cfe775
MD5 ae8974bb05438663f7ff2c915585d7e0
BLAKE2b-256 e6d891982c516f40627ff1a0d0669dfc005052336ca83d455648ffb563e4cc8a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyinfra-0.8.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27dfd15f63106c535d3e62651308ecee545866591c5b36e02726280f87718c03
MD5 c8359871cdbc68bccfba91504b023e25
BLAKE2b-256 50ea4eac6e106eb28eb59fd0549ae7b4517487d1b9d9364db492887124af6001

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