Hacker ApprovedDepartments

PyInfra

Hacker Approved

Ranked 2 of 5 configuration management tools by recommenders

Recommended as a plain-Python alternative to Ansible, with users finding its code easier to read and maintain. Critics say it is missing some configuration features.

Recommended as a plain-Python alternative to Ansible, with users finding its code easier to read and maintain. Critics say it is missing some configuration features.

34 people gave an opinion

recommend it
30
criticize it
4
approval share
88%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 30 people recommend itNeeds 10 or more, met.
  • 7.5 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Plain Python instead of YAML

    “Pyinfra is what ansible should have been. It's straight python rather than a janky mix of yaml, templates, and bolted-on control flow primitives.”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

    “at this point you are better served with plain python which I think is where pyinfra should shine”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

    “For anything dynamic and sufficiently complicated, ansible is horrible. Pyinfra is much better.”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”
  • Easier to follow than Ansible

    “after years of ansible et al, pyinfra is an absolute breath of fresh air”

    Comment from 12 Jan 2026 in “Pyinfra: Turns Python code into shell commands and runs them on your servers”

    “I found the docs, syntax and usage patterns much easier to get on with.”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

    “I should have gone with pyinfra with my current job's project”

    Comment from 13 May 2026 in “The vi family”
  • Good UX and IDE support

    “its not just fast, it's more Pythonic, so IDE features actually work”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

    “this looks great from a UX perspective compared to those other tools”

    Comment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

    “nice project, reminds me a lot of Fabric but a bit more refined”

    Comment from 5 May 2026 in “PyInfra 3.8.0 Is Out”
  • Simple to set up

    “found it straightforward enough... just an epsilon above a pile of bash scripts”

    Comment from 16 Jul 2026 in “Rebuilding My Homelab with Compose, Ruby, IPv6, and No Kubernetes”

    “So easy to setup and maintain.”

    Comment from 5 May 2026 in “PyInfra 3.8.0 Is Out”

What people warn about

Each mark is one comment

  • Missing some configuration features

    “it is missing a number of configuration things that are oretty important”

    Comment from 17 Jun 2026 in “Pyinfra – agentless infrastructure automation, in plain Python”

Other configuration management tools people recommend

The four most recommended other configuration management tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

PyInfra compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Ansible1207163%12——
PyInfraThis page30488%7—Approved
Puppet161552%10——
Progress Chef101148%7——
Salt9756%7——
See all 5 configuration management tools, ranked

What people said

34 of the 41 comments that mention it, newest first. Each links to the original comment.

“Not quite the same concept, but I think it accomplishes the same goal for me.”

RecommendsComment from 2 Aug 2026 in “Show HN: Bor – Open-source policy management for Linux desktops”

“found it straightforward enough... just an epsilon above a pile of bash scripts”

RecommendsComment from 16 Jul 2026 in “Rebuilding My Homelab with Compose, Ruby, IPv6, and No Kubernetes”

“Being able to centralize this config is far more attractive than having a separate Ansible or pyinfra process.”

MixedComment from 18 Jun 2026 in “Migrating from GNU Stow to Chezmoi”

“it is missing a number of configuration things that are oretty important”

MixedComment from 17 Jun 2026 in “Pyinfra – agentless infrastructure automation, in plain Python”

“I should have gone with pyinfra with my current job's project”

RecommendsComment from 13 May 2026 in “The vi family”

“you realize using PyInfra and Pulumi, you can do all of that in just Python”

RecommendsComment from 5 May 2026 in “PyInfra 3.8.0 Is Out”

“The only issue was I had to implement some facts and operations myself that probably were available in some Ansible package but to be honest it was trivial.”

RecommendsComment from 5 May 2026 in “PyInfra 3.8.0 Is Out”

“So easy to setup and maintain.”

RecommendsComment from 5 May 2026 in “PyInfra 3.8.0 Is Out”

“nice project, reminds me a lot of Fabric but a bit more refined”

RecommendsComment from 5 May 2026 in “PyInfra 3.8.0 Is Out”

“Thank You for building and sharing pyInfra.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“Basically a flaw of the entire model where you write code as if executing a single host which is then executed on many in parallel”

CriticizesComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“I anticipate I'll be much happier after the change.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“For anything dynamic and sufficiently complicated, ansible is horrible. Pyinfra is much better.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“Just having "home/docker.py" instead of "collections/ansible_collections/home/dev/roles/docker/tasks/main.yml" is reason enough.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“I found PyInfra to be a great tool for the job at hand”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“this looks great from a UX perspective compared to those other tools”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“pyinfra is just python that gets transpiled into ssh commands”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“I hope more people start using pyInfra.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“at this point you are better served with plain python which I think is where pyinfra should shine”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“Switched to Pyinfra and the difference is day and night.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“pyinfra will integrate better with my other code”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“its not just fast, it's more Pythonic, so IDE features actually work”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“pyinfra is very approachable since it has similar concepts”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“based on positive feedback here I'll probs oh give this a shot”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“Pyinfra is what ansible should have been. It's straight python rather than a janky mix of yaml, templates, and bolted-on control flow primitives.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“The biggest difference is that Pyinfra is simply Python code.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“I found the docs, syntax and usage patterns much easier to get on with.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“it seemed much easier to me and easier to follow”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“It really feels like a dream come true for my usecase.”

RecommendsComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“too much complexity for too little gain”

CriticizesComment from 4 May 2026 in “PyInfra 3.8.0 Is Out”

“Pulumi and Pyinfra already provide user-friendly primitives and idempotent(ish) APIs”

RecommendsComment from 21 Apr 2026 in “Show HN: Holos – QEMU/KVM with a compose-style YAML, GPUs and health checks”

“Tools like these are profesional best practices these days.”

RecommendsComment from 9 Feb 2026 in “Ask HN: What Are You Working On? (February 2026)”

“I sponsor this project as I want it to succeed”

RecommendsComment from 12 Jan 2026 in “Pyinfra: Turns Python code into shell commands and runs them on your servers”

“after years of ansible et al, pyinfra is an absolute breath of fresh air”

RecommendsComment from 12 Jan 2026 in “Pyinfra: Turns Python code into shell commands and runs them on your servers”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.