{"slug": "pyinfra", "name": "pyinfra", "category": "infra", "category_name": "Infrastructure and DevOps", "description": "", "recommenders": 4, "commenters": 6, "warners": 0, "score": 3.985, "rising": -1.31, "first": "2026-02-09", "latest": "2026-08-02", "why": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 4, "neutral": 1, "compare": 1, "warn": 0}, "spark": [0, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan.", "icon": true, "domain": null, "github_repo": null, "official_url": "https://pyinfra.com", "pricing": "", "aliases": ["pyinfra", "PyInfra", "Pyinfra"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 768153744, "item_id": 48009609, "url": "https://news.ycombinator.com/item?id=48009609", "by": "bestony", "date": "2026-05-04", "stance": "recommend", "quote": "pyinfra will integrate better with my other code, and installing it with uv fits my workflow better", "excerpt": "This looks great! pyinfra will integrate better with my other code, and installing it with uv fits my workflow better. Thanks for the post. I'll give it a try. I think some of my Caprover initialization tasks could also be handled by pyinfra.", "context": "", "use_case": "server automation", "switched_from": "", "story": "PyInfra 3.8.0 Is Out"}, {"id": 768146144, "item_id": 48009134, "url": "https://news.ycombinator.com/item?id=48009134", "by": "coreylane", "date": "2026-05-04", "stance": "recommend", "quote": "pyinfra is very approachable since it has similar concepts, like inventories, common operations like files.put, server.shell, loving it so far, and it is quite fast", "excerpt": "I used ansible for years and pyinfra is very approachable since it has similar concepts, like inventories, common operations like files.put, server.shell, loving it so far, and it is quite fast", "context": "used Ansible for years", "use_case": "server automation", "switched_from": "Ansible", "story": "PyInfra 3.8.0 Is Out"}, {"id": 768140992, "item_id": 48008812, "url": "https://news.ycombinator.com/item?id=48008812", "by": "ssddanbrown", "date": "2026-05-04", "stance": "recommend", "quote": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan.", "excerpt": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan. Compared to Ansible, I found the docs, syntax and usage patterns much easier to get on with. Might just be a preference thing, but I always had trouble going through the Ansible docs. Ran into some bugs, like one machine that seems to cause errors and mess up the output on restart, alth", "context": "", "use_case": "simple system automation", "switched_from": "", "story": "PyInfra 3.8.0 Is Out"}, {"id": 751097218, "item_id": 46943576, "url": "https://news.ycombinator.com/item?id=46943576", "by": "jarofgreen", "date": "2026-02-09", "stance": "recommend", "quote": "look into scriping your server setup with tools like Ansible or PyInfra.", "excerpt": "Hey, sorry it was hacked. You mention rsync which can be fine. But there are tons of other solutions, many that will have snapshot features. I use borg backup, for instance. https://www.borgbackup.org/ Also, look into scriping your server setup with tools like Ansible or PyInfra. There is always the risk that bad things happen to servers, and when you want a new server it's great to be able to spin things up in a mat", "context": "", "use_case": "scripted server setup", "switched_from": "", "story": "Ask HN: What Are You Working On? (February 2026)"}]}], "caveats": [], "who": [{"by": "coreylane", "context": "used Ansible for years", "url": "https://news.ycombinator.com/item?id=48009134", "date": "2026-05-04"}], "tags": [], "use_cases": ["server automation", "machine configuration management", "remote server setup", "simple system automation", "scripted server setup"], "compared": [{"slug": "ansible", "name": "Ansible", "co": 5, "switched_from": 2, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=48008083", "title": "PyInfra 3.8.0 Is Out", "mentions": 4}, {"url": "https://news.ycombinator.com/item?id=49142569", "title": "Show HN: Bor \u2013 Open-source policy management for Linux desktops", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46937696", "title": "Ask HN: What Are You Working On? (February 2026)", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {"recommend": 1}, "2026-03": {}, "2026-04": {}, "2026-05": {"recommend": 3, "compare": 1}, "2026-06": {}, "2026-07": {}, "2026-08": {"neutral": 1}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 786381841, "item_id": 49148865, "url": "https://news.ycombinator.com/item?id=49148865", "by": "limagnolia", "date": "2026-08-02", "stance": "neutral", "quote": "I use Ansible or Pyinfra more recently to accomplish these sorts of tasks.", "excerpt": "I use Ansible or Pyinfra more recently to accomplish these sorts of tasks. Not quite the same concept, but I think it accomplishes the same goal for me.", "context": "", "use_case": "machine configuration management", "switched_from": "Ansible", "story": "Show HN: Bor \u2013 Open-source policy management for Linux desktops"}, {"id": 768153744, "item_id": 48009609, "url": "https://news.ycombinator.com/item?id=48009609", "by": "bestony", "date": "2026-05-04", "stance": "recommend", "quote": "pyinfra will integrate better with my other code, and installing it with uv fits my workflow better", "excerpt": "This looks great! pyinfra will integrate better with my other code, and installing it with uv fits my workflow better. Thanks for the post. I'll give it a try. I think some of my Caprover initialization tasks could also be handled by pyinfra.", "context": "", "use_case": "server automation", "switched_from": "", "story": "PyInfra 3.8.0 Is Out"}, {"id": 768146144, "item_id": 48009134, "url": "https://news.ycombinator.com/item?id=48009134", "by": "coreylane", "date": "2026-05-04", "stance": "recommend", "quote": "pyinfra is very approachable since it has similar concepts, like inventories, common operations like files.put, server.shell, loving it so far, and it is quite fast", "excerpt": "I used ansible for years and pyinfra is very approachable since it has similar concepts, like inventories, common operations like files.put, server.shell, loving it so far, and it is quite fast", "context": "used Ansible for years", "use_case": "server automation", "switched_from": "Ansible", "story": "PyInfra 3.8.0 Is Out"}, {"id": 768142449, "item_id": 48008903, "url": "https://news.ycombinator.com/item?id=48008903", "by": "appplication", "date": "2026-05-04", "stance": "compare", "quote": "based on positive feedback here I\u2019ll probs oh give this a shot", "excerpt": "The is cool, thank you for sharing. I was just thinking about onboarding to ansible since I\u2019ve just been following a manual checklist of commands for my remote server but based on positive feedback here I\u2019ll probs oh give this a shot. Only downside is I imagine LLMs are probably a little more proficient at ansible just due to volume of training data.", "context": "", "use_case": "remote server setup", "switched_from": "", "story": "PyInfra 3.8.0 Is Out"}, {"id": 768140992, "item_id": 48008812, "url": "https://news.ycombinator.com/item?id=48008812", "by": "ssddanbrown", "date": "2026-05-04", "stance": "recommend", "quote": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan.", "excerpt": "I've been using PyInfra for a while, albeit just for simple automation (Updating systems, checking certain stats) and I'm a big fan. Compared to Ansible, I found the docs, syntax and usage patterns much easier to get on with. Might just be a preference thing, but I always had trouble going through the Ansible docs. Ran into some bugs, like one machine that seems to cause errors and mess up the output on restart, alth", "context": "", "use_case": "simple system automation", "switched_from": "", "story": "PyInfra 3.8.0 Is Out"}, {"id": 751097218, "item_id": 46943576, "url": "https://news.ycombinator.com/item?id=46943576", "by": "jarofgreen", "date": "2026-02-09", "stance": "recommend", "quote": "look into scriping your server setup with tools like Ansible or PyInfra.", "excerpt": "Hey, sorry it was hacked. You mention rsync which can be fine. But there are tons of other solutions, many that will have snapshot features. I use borg backup, for instance. https://www.borgbackup.org/ Also, look into scriping your server setup with tools like Ansible or PyInfra. There is always the risk that bad things happen to servers, and when you want a new server it's great to be able to spin things up in a mat", "context": "", "use_case": "scripted server setup", "switched_from": "", "story": "Ask HN: What Are You Working On? (February 2026)"}]}