Hacker GitHub

← All repos

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

Mentions per year 33 mentions · busiest year 2024 (7)
20082026
  1. 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
  2. …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
  3. …issues and out of control GH notifications. Hope this goes well, Caddy is awesome software! [1] https://github.com/pyinfra-dev/pyinfra
  4. or a middle path solution like https://github.com/pyinfra-dev/pyinfra
    comment by khimaros · 2025-03-11 · in Shef
  5. …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
  6. …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
  7. …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
  8. …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
  9. 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…
  10. 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.
  11. Haven't used it in anger yet, but I have high hopes for PyInfra: https://github.com/pyinfra-dev/pyinfra
  12. …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
  13. https://github.com/Fizzadar/pyinfra
    comment by traverseda · 2022-10-21 · in Project Wisdom for Red Hat Ansible
  14. …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…
  15. Give pyinfra a try https://github.com/Fizzadar/pyinfra
    comment by shaicoleman · 2021-08-28 · in Ansible Techniques I Wish I’d Known Earlier
  16. 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
  17. …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
  18. …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…
  19. …for both local and remote devices, yet designed for consistent deployments and state diffing. [1] https://github.com/Fizzadar/pyinfra