{"repo":"pyinfra-dev/pyinfra","free":true,"listed":false,"github":"https://github.com/pyinfra-dev/pyinfra","clone":"git clone https://github.com/pyinfra-dev/pyinfra.git","description":"🔧 pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.","language":"Python","stars":5955,"topics":["python","cloud-management","configuration-management","remote-execution","high-performance","pyinfra","infrastructure"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands. Think ansible but Python instead of YAML, and a lot faster. --- Getting Started &bull; Examples Repo &bull; Chat on Matrix Documentation &bull; Help & Support &bull; Contributing --- Why pyinfra? Design features include: + 🚀 Super fast execution over thousands of hosts with predictable performance. + 🚨 Instant debugging with realtime stdin/stdout/stderr output ( -vvv ). + 🔄 Idempotent operations that enable diffs and dry runs before making changes. + 📦 Extendable with the entire Python package ecosystem. + 💻 Agentless execution against anything with shell access. + 🔌 Integrated with connectors for Docker, Terraform, Vagrant and more. Quickstart Install pyinfra with uv : Now you can execute commands on hosts via SSH: Or target Docker containers, the local machine, and other connectors: As well as executing commands you can define state using operations: Which can then be saved as a Python file like deploy.py : The hosts can also be saved in a file, for example inventory.py : And executed together: Now you know the building blocks of pyinfra! By combining inventory, operations and Python code you can deploy anything. See the more detailed getting started or using operations guides. See how to use inventory & data, global arguments and the","default_branch":null,"files":null,"tree":[],"storefront":"/r/pyinfra-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pyinfra-dev/pyinfra/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}