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

This version

0.8

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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pyinfra-0.8.tar.gz
  • Upload date:
  • Size: 95.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.8.tar.gz
Algorithm Hash digest
SHA256 4673f6396903be30539136a4a7168fa71c110e1db1e6c9c4cd75ad59986aa65a
MD5 a8fd87ae05823495e46fe68226a51354
BLAKE2b-256 b56f8ad43a038785fe3fe3129245f33eefa855ab2a193e926e2fcd74b652cb47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinfra-0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 119.4 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.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ec7ef98bf95cd48b4c1170d7b7989a08b125b5db5e0b3fce9b6d0de80adbd7ff
MD5 9aa4048a1ce19f223ae5aee299f4c510
BLAKE2b-256 6928d5003cdb69d28f85c3f0d13e64aa85b3ed3ed961a3df2bbbbb2b7cae3406

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