Deploy stuff by diff-ing the state you want against the remote server.
Project description
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
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
Built Distribution
File details
Details for the file pyinfra-0.5.dev0.tar.gz
.
File metadata
- Download URL: pyinfra-0.5.dev0.tar.gz
- Upload date:
- Size: 75.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b09dcf08d379643c1556571e9df0e7e5d7c95e4185a5d878038f7556feb7d4 |
|
MD5 | 92b4c41d8ca3ab3ccf2734c238a9ae10 |
|
BLAKE2b-256 | 550164ea4817662d9d83116ce0a0471c9f675286b7f4dede69190ddf0759a2f6 |
File details
Details for the file pyinfra-0.5.dev0-py2.py3-none-any.whl
.
File metadata
- Download URL: pyinfra-0.5.dev0-py2.py3-none-any.whl
- Upload date:
- Size: 97.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c9cc18a320149d81c8354db0988c68e5bcc32371a45d6c8d6e0269daadf5ae |
|
MD5 | 790475faa9a8e015d18d7d0fb4b2217a |
|
BLAKE2b-256 | 205788e0b3c17e155a890119e2dd4a043817cfb392bf1428c1d3d4953cb6357c |