pyinfra-dev/pyinfra
View on GitHub ↗ ★ 6,063 Python
🔧 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.
33 mentions on Hacker News by 19 people: 14 stories, 19 comments · first 2016-01-19 · latest 2026-05-05
20082026
-
Wanted to try PyInfra for a long while but this is a deal breaker: https://github.com/pyinfra-dev/pyinfra/issues/1242
comment by Propolice · 2026-05-05 · in PyInfra 3.8.0 -
…amount of repetition of @override seems unpythonic to me, but maybe that's python being unpythonic. https://github.com/pyinfra-dev/pyinfra/blob/3.x/src/pyinfra/...
comment by benatkin · 2026-05-04 · in PyInfra 3.8.0 -
…issues and out of control GH notifications. Hope this goes well, Caddy is awesome software! [1] https://github.com/pyinfra-dev/pyinfra
comment by Fizzadar · 2025-10-16 · in Next Steps for the Caddy Project Maintainership -
…but with most of the advantages of Ansible like idempotency and a post-run status output. 1: https://github.com/pyinfra-dev/pyinfra
comment by everforward · 2024-08-26 · in Server Setup Basics for Self Hosting -
…can have a fresh install and they will set it up with proper apps and desktop environment settings. https://github.com/pyinfra-dev/pyinfra https://github.com/casey/just
comment by duckmysick · 2024-08-26 · in Server Setup Basics for Self Hosting -
…See the limitations section in the v2 docs. All of those issues are now a thing of the past. https://github.com/pyinfra-dev/pyinfra/blob/3.x/CHANGELOG.md
comment by js2 · 2024-05-01 · in Pyinfra: Automate Infrastructure Using Python -
…to see that the first argument is expected (?) to be callable (it just ignores otherwise). ____ 1. https://github.com/pyinfra-dev/pyinfra/blob/3.x/pyinfra/api/...
comment by exceptione · 2024-04-30 · in Pyinfra: Automate Infrastructure Using Python -
Extremely aware of this (see pyinstaller attempt): https://github.com/pyinfra-dev/pyinfra/pull/768 ) I chose Python because it’s what I was writing all day back in 2015. Which makes me realise pyinfra is almost 10! Edit: I mostly write Go…
comment by Fizzadar · 2024-04-30 · in Pyinfra: Automate Infrastructure Using Python -
I like https://github.com/pyinfra-dev/pyinfra . "pyinfra automates infrastructure using Python" Only played with it for a little but it seems well designed an simpler alternative to ansible, chef and other such things.
comment by rdtsc · 2024-03-08 · in Ask HN: What underrated open source project deserves more recognition? -
Haven't used it in anger yet, but I have high hopes for PyInfra: https://github.com/pyinfra-dev/pyinfra
comment by bityard · 2024-02-22 · in Interesting Uses of Ansible's ternary filter -
…of time working on Matrix synapse homeserver[2], written in twisted, and oh my it just sucks. [1] https://github.com/Fizzadar/pyinfra [2] https://github.com/matrix-org/synapse
comment by Fizzadar · 2023-08-22 · in Asyncio, twisted, tornado, gevent walk into a bar -
https://github.com/Fizzadar/pyinfra
comment by traverseda · 2022-10-21 · in Project Wisdom for Red Hat Ansible -
…you wanna read a longer analysis: https://beepb00p.xyz/configs-suck.html A great example is pyinfra https://github.com/Fizzadar/pyinfra#readme Think Ansible but instead of YAML you write Python. It provides a set of primitives/DSL and some…
comment by karlicoss · 2022-05-16 · in How I learned to stop worrying and love the YAML -
Give pyinfra a try https://github.com/Fizzadar/pyinfra
comment by shaicoleman · 2021-08-28 · in Ansible Techniques I Wish I’d Known Earlier -
There's pyinfra ( https://github.com/Fizzadar/pyinfra ) if you like Python (disclaimer: I started the project), heavily inspired by Ansible just without the yaml/jinja2 hybrid stuff.
comment by Fizzadar · 2021-05-20 · in Ansible 4.0 -
…in the configuration management area (no YAML, can be used as a library). https://pyinfra.com/ https://github.com/Fizzadar/pyinfra HN discussion: https://news.ycombinator.com/item?id=23487178
comment by shaicoleman · 2020-11-17 · in Getting Started with Ansible -
…as a Python API, but this is not currently officially supported/may not follow semver, example: https://github.com/Fizzadar/pyinfra/blob/master/examples/api... . > How do I make a scenario pluggable? Reusable? Introspectable? pyinfra comes…
comment by Fizzadar · 2020-06-11 · in Pyinfra – automate infrastructure super fast at scale -
…for both local and remote devices, yet designed for consistent deployments and state diffing. [1] https://github.com/Fizzadar/pyinfra
comment by Cynddl · 2017-06-11 · in Show HN: Sultan – Pythonic interface to your shell