pyinfra
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
Metadata
Release files for pyinfra 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyinfra-0.4.1.tar.gz | 72.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyinfra-0.4.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 174.3 kB
Release files / pyinfra-0.4.1.tar.gz
| Download URL | pyinfra-0.4.1.tar.gz |
|---|---|
| Size | 72.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bafc718246b16f9b470ec516b280d30f2218de34c0411cf63228e02fa9e7685
|
|
BLAKE2b-256 checksum How to use checksums |
ca22b54cb2cdabef572188da9801d6af7fc0242677f7561ba333b05dcc7f08d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyinfra-0.4.1-py2.py3-none-any.whl
| Download URL | pyinfra-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 101.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e0a4859ffa5fc0b645d7ef50cba0121751bd6beeb08709680f2ca91036088584
|
|
BLAKE2b-256 checksum How to use checksums |
4232ebf6b18ce491ac719143e0bd1424d3c2f9a1f13ad3889ed31421b4c64f67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |