qmetrics.net

pyinfra

Agentless Python SSH infrastructure automation

pyinfra screenshot

pyinfra turns Python functions into idempotent shell operations on SSH hosts, local machines, or Docker targets. Inventories and deploy scripts run concurrently at scale.

Overview

pyinfra is a Python-native alternative to YAML-driven configuration management. Users define operations such as package installs, file templates, and service reloads in plain Python modules, then execute them against inventories of hosts.

The CLI streams realtime stdout and stderr, supports dry runs with diffs, and targets connectors including SSH, local shell, Docker, Terraform, and Vagrant. It advertises agentless execution because remote systems only need SSH and a shell.

Typical workflows pair an inventory.py host list with a deploy.py operations file. Global arguments control limits, verbosity, and concurrency through gevent-backed parallel SSH.

Documentation and examples cover quickstart usage, operation libraries, and integration with the broader Python packaging ecosystem via uv or pip installs.

Key features

  • Python declarative operations
  • Concurrent SSH execution
  • Idempotent diff and dry-run mode
  • Docker and local connectors
  • Terraform and Vagrant integrations
  • Realtime verbose logging
  • Inventory as Python data
  • No remote agents required

Use cases

  • Server provisioning and deploys
  • Ad-hoc fleet commands
  • Container configuration
  • Replacing Ansible-style workflows

Tags

Similar software

Coolify

Self-hostable PaaS for apps, databases, and one-click services

Coolify deploys static sites, databases, and full-stack apps on servers you control, with a dashboard similar to managed hosting platforms. Configurations stay on your machines over SSH.

  • Git and Docker-based deployments
  • Automatic HTTPS and custom domains
  • One-click databases and services
PHPWeb, Linux, DockerDetails →
★ 67.7k⟳ todayApache-2.0
Open Source Alternative to:Fly.ioHeroku+4

Dokploy

Self-hostable PaaS for apps and databases

Dokploy is a self-hostable platform-as-a-service for deploying applications and databases on your own VPS. It supports Docker, Compose, multi-server setups, backups, and monitoring.

  • Multi-language application deployment
  • Managed databases with automated backups
  • Docker Compose and Swarm support
TypeScriptWeb, Docker, CLIDetails →
★ 38.9k⟳ todayApache-2.0
Open Source Alternative to:Fly.ioHeroku+4

Nacos

Dynamic service discovery and configuration for cloud-native apps

Nacos registers and discovers microservices, manages distributed configuration, and offers DNS-based routing with a web console for metadata and health.

  • DNS and HTTP service discovery
  • Real-time service health checks
  • Centralized dynamic configuration
JavaLinux, macOS, Windows, DockerDetails →
★ 33.6k⟳ 2 days agoApache-2.0

Dokku

Docker-powered mini PaaS on your own hardware

Dokku is a small platform-as-a-service you install on a Linux VM. You push Git-based, Heroku-style apps that build with buildpacks and run in Docker containers.

  • Git-push application deployment
  • Heroku-compatible buildpack builds
  • Docker-isolated app containers
GoLinux, DockerDetails →
★ 32.3k⟳ todayMIT
Open Source Alternative to:Fly.ioHeroku+3

OpenTofu

Open-source infrastructure as code engine

OpenTofu is an open-source tool for building, changing, and versioning infrastructure safely. It manages popular cloud providers and custom in-house systems using declarative configuration.

  • Declarative infrastructure configuration
  • Plan step before apply
  • Resource dependency graph
GoCLIDetails →
★ 31.1k⟳ todayMPL-2.0
Open Source Alternative to:TerraformTerraform Enterprise

Apollo

Centralized configuration management for microservices

Stores and delivers application configuration across environments, clusters, and namespaces. Java and .NET SDKs pull updates in near real time with versioning and access controls.

  • Multi-environment namespace management
  • Sub-second configuration push to SDKs
  • Versioned releases and rollback
JavaDockerDetails →
★ 29.8k⟳ 4 days agoApache-2.0