{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"},{"label":"Installation/Setup","url":"https://skillfed.io/packages/category/system-installation-setup"}],"enrichment":{"capability":"pyinfra executes Python code as infrastructure automation, translating declarative operations into shell commands and running them over SSH, Docker, or local targets at scale.","skillfed_tags":["infrastructure-as-code","ssh-automation","provisioning"],"use_cases":["Provision and configure multiple servers in parallel using Python instead of YAML or shell scripts.","Deploy applications with idempotent operations that can be safely re-run without side effects.","Automate Docker container setup and configuration as part of a larger deployment pipeline.","Write infrastructure code that leverages Python libraries and logic for complex conditional deployments.","Perform ad-hoc commands and debugging across many servers with real-time output visibility."],"what_it_does":"pyinfra is a Python-based infrastructure automation tool that converts Python code into shell commands and executes them on remote servers, Docker containers, or the local machine. Unlike YAML-based tools, it lets you write provisioning logic in Python with full access to the language's ecosystem. It operates agentlessly over SSH or other connectors, meaning no daemon needs to run on target systems.\n\nYou define infrastructure state through declarative operations (e.g., installing packages, managing files, running commands) and organize targets in an inventory. pyinfra supports idempotent operations, dry runs, and diffs before changes take effect. It scales from single-server deployments to thousands of hosts and integrates with Docker, Terraform, and Vagrant.","worth_installing":"Yes. pyinfra is actively maintained, has no known vulnerabilities, and offers a low-friction install. It's well-suited if you prefer Python over YAML for infrastructure automation and need agentless execution over SSH or containers. The 11 dependencies are standard and widely used. Consider it if your team is already Python-fluent and wants to avoid learning a separate DSL."},"id":"pyinfra","links":{"html":"https://skillfed.io/packages/pyinfra","md":"https://skillfed.io/packages/pyinfra.md","pypi":"https://pypi.org/project/pyinfra/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-27","license_spdx":"MIT","license_treatment":"permissive","name":"pyinfra","python_support":"supports_current","summary":"pyinfra automates/provisions/manages/deploys infrastructure."},"popularity":{"monthly_downloads":290475,"position":7987,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.10.0"}
