Software Alternatives, Accelerators & Startups

pyinfra VS Ansistrano

Compare pyinfra VS Ansistrano and see what are their differences

pyinfra logo pyinfra

pyinfra automates infrastructure super fast at massive scale.

Ansistrano logo Ansistrano

ansistrano.deploy and ansistrano.
  • pyinfra Landing page
    Landing page //
    2021-09-25

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.

  • 🚀 Super fast execution over thousands of hosts with predictable performance.
  • 🚨 Instant debugging with stdout & stderr output on error or as required (-v|-vv|-vvv).
  • 📦 Extendable with any Python package as configured & written in standard Python.
  • 💻 Agentless execution against SSH/Docker/subprocess/winrm hosts.
  • ❗️ Two stage process that enables --dry runs before executing any changes.
  • 🔌 Integrated with Docker, Vagrant/Mech & Ansible out of the box.
  • Ansistrano Landing page
    Landing page //
    2021-09-25

pyinfra

$ Details
free
Platforms
Mac OSX Linux Windows Python
Release Date
2016 August

pyinfra videos

Pure Python Configuration Management With PyInfra

More videos:

  • Review - A full Ubuntu PXE server in a Pi, auto-configured with pyinfra.com.
  • Review - Auto-install Ubuntu with Ubiquiti ERX, Synology DS418, and pyinfra

Ansistrano videos

No Ansistrano videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to pyinfra and Ansistrano)
DevOps Tools
57 57%
43% 43
IT Automation
71 71%
29% 29
Continuous Integration
0 0%
100% 100
Product Deployment
100 100%
0% 0

Questions and Answers

As answered by people managing pyinfra and Ansistrano.

Why should a person choose your product over its competitors?

pyinfra's answer

Python not YAML. Faster. Executing shell commands give clear errors.

What makes your product unique?

pyinfra's answer

pyinfra works like a human by running regular shell commands to configure servers.

Which are the primary technologies used for building your product?

pyinfra's answer

Python (local only, no agent). SSH/Docker/subprocess.

User comments

Share your experience with using pyinfra and Ansistrano. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, pyinfra should be more popular than Ansistrano. It has been mentiond 8 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

pyinfra mentions (8)

  • Show HN: A new open-source automation tool as an alternative to Ansible/Salt
    There is https://pyinfra.com/ As a sidenote, I also made a small experiment a while ago : https://github.com/linkdd/tricorder/ But it's a bit of a chicken-and-egg problem. Without users, I don't know how it should be used, without features I won't get any users. So for now, it's in a state of "I'll address bug reports and feature requests, but I won't actively... - Source: Hacker News / 29 days ago
  • How to manage multiple Wagtail sites from central point
    Pyinfra - https://pyinfra.com/ - Pyinfra is simpler for me than Ansible. I completed the entire deployment in one afternoon, from installing and configuring the VPS server from scratch to deploying the application and automatically restoring the database from a backup. Source: 6 months ago
  • How do you guys handle server automation?
    I’ve replaced Ansible with PyInfra where ever possible. https://pyinfra.com/ is very clean, and fast but lacks the shear amount of automation that can be found with Ansible. Source: over 1 year ago
  • What Ansible is capable to do that Python doesn't?
    Some folks don't like YAML all that well, and I can understand where they are coming from. I wish Ansible provided a good Python API so that playbooks could be written in Python easier. But there is a project called PyInfra that is trying to do something similiar to Ansible, using Python as the configuration language. https://pyinfra.com/ It is still pretty new so not got nearly as many modules written for it... Source: over 1 year ago
  • SSHScript: Integrate subprocess and Paramiko to Automate in Python
    My ‘go to’ tool for automating infrastructure is pyinfra It’s fast, is versioning control friendly aka git and best of all, it relies on python files and modules for its storage of executable commands. Source: over 1 year ago
View more

Ansistrano mentions (2)

  • Which tool use to deploy php and vuejs apps separetly on production stage?
    Ansible with Ansistrano to help with deployment. Automate the whole process. Source: about 2 years ago
  • Ask HN: Solo-preneurs, how do you DevOps to save time?
    Keep a simple tool like Ansible around for those spooky admin tricks and you can take advantage of the Ansistrano plugins for smooth deploy and rollback (Ruby's great Capistrano tool ported to Ansible). https://ansistrano.com/ It's pretty fantastic. - Source: Hacker News / over 2 years ago

What are some alternatives?

When comparing pyinfra and Ansistrano, you can also consider the following products

Ansible - Radically simple configuration-management, application deployment, task-execution, and multi-node orchestration engine

Deployer - Deployment Tool for PHP

Python Fabric - Fabric is a Python library and command-line tool for streamlining the use of SSH for application...

Capistrano - A remote server automation and deployment tool written in Ruby

Chef - Automation for all of your technology. Overcome the complexity and rapidly ship your infrastructure and apps anywhere with automation.

Salt - Fast, scalable and flexible software for data center automation