Python DevOps Tools

Open-source Python projects categorized as DevOps Tools

Top 23 Python DevOps Tool Projects

  • Ansible

    Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

    Project mention: Please help me with best practices in my first ansible playbook (Redhat/Fedora localhost install script) | reddit.com/r/ansible | 2023-01-27

    I am using command because dnf config-manager has no equivalent I can find in the dnf module. It sucks, I found this thread, adding it has been rejected: https://github.com/ansible/ansible/issues/46963

  • letsencrypt

    Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.

    Project mention: OpenSpeedTest in docker through DSM Reverse Proxy - incorrect upload speeds | reddit.com/r/synology | 2023-01-20

    If you do go with NPM or Traefik, under the covers it's using certbot to request/renew your certificates through Let's Encrypt using the DNS-01 challenge, meaning you can get wildcard certs and don't have to futz around with port forwards. Again I'd think Caddy has similar functionality, I just have not used it personally. Raw NGINX you probably don't want to try out yet considering it requires manually doing the configs

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Fabric

    Simple, Pythonic remote execution and deployment. (by fabric)

    Project mention: Ansible clone how to | reddit.com/r/ansible | 2022-05-30

    Otherwise, in addition to ansible-core, there's other config management projects written in python like salt or fabric that you could perhaps draw inspiration from.

  • SaltStack

    Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

    Project mention: What is going on? Someone is speaking to me in my head. | reddit.com/r/Gangstalking | 2022-11-04

    It's definitely some sort of AI script. Not this exactly, but something working off Python or scripts of thar nature. https://github.com/saltstack/salt

  • psutil

    Cross-platform lib for process and system monitoring in Python

    Project mention: Why new Macs break your Docker build, and how to fix it | reddit.com/r/Python | 2022-06-20

    FYI, you probably already know this, but just in case: https://github.com/giampaolo/psutil/pull/2070

  • supervisor

    Supervisor process control system for Unix (supervisord)

    Project mention: Is it possible direct cron output to supervisord? | reddit.com/r/Ubuntu | 2022-11-30

    I have set up supervisord running cron job. However based on the discussion in supervisord GitHub, it is not possible to redirect cron's spawned command output to supervisord.

  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Terminal Based Programs? | reddit.com/r/linuxquestions | 2022-12-30

    VisiData is an awesome terminal spreadsheet tool. edbrowse for internet browsing.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • python-dotenv

    Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

    Project mention: Need help running Django at a local machine after deploying it | reddit.com/r/django | 2023-01-22

    But there's no web UI to set them for your local dev version. But there are various Python modules that will read environment variables from a file named .env. I like https://github.com/theskumar/python-dotenv myself. So try using that - create a .env file for your local dev site and use dotenv instead of os.getenv() to read the environment variables.

  • kubernetes-workshop

    ⚙️ A Gentle introduction to Kubernetes with more than just the basics. 🌟 Give it a star if you like it.

  • zenml

    ZenML 🙏: Build portable, production-ready MLOps pipelines. https://zenml.io.

    Project mention: [P] I reviewed 50+ open-source MLOps tools. Here’s the result | reddit.com/r/MachineLearning | 2022-05-29

    Currently, you can see the integrations we support here and it includes a lot of tools in your list. I also feel I agree with your categorization (it is exactly the categorization we use in our docs pretty much). Perhaps one thing missing might be feature stores but that is a minor thing in the bigger picture.

  • pexpect

    A Python module for controlling interactive programs in a pseudo-terminal

    Project mention: Pexpect fails to accept any passwords (7 lines of code) | reddit.com/r/learnpython | 2022-02-14

    Maybe copy/paste the login() function from https://github.com/pexpect/pexpect/blob/master/examples/passmass.py to see if it gives the same result.

  • pyinfra

    pyinfra automates infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more.

    Project mention: How do you guys handle server automation? | reddit.com/r/selfhosted | 2023-01-08

    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.

  • pytest-testinfra

    Testinfra test your infrastructures

    Project mention: Help creating a custom TestInfra module | reddit.com/r/learnpython | 2022-10-24

    GitHub: pytest-dev/pytest-testinfra - Issue #660

  • ShutIt

    Automation framework for programmers

  • cloudinit

    Official upstream for the cloud-init: cloud instance initialization

    Project mention: User_data does not apply on AWS ubuntu images | reddit.com/r/Terraform | 2023-01-09

    Since this is the standard Ubuntu image it's presumably cloud-init which is interpreting your user_data, in which case there are two other possible techniques to use to get this key registered.

  • chaostoolkit

    Chaos Engineering Toolkit & Orchestration for Developers

    Project mention: Looking for advice in creating event-driven PowerShell Scripts | reddit.com/r/PowerShell | 2022-09-20

    And then once your setup is mature enough. As-in highly available on each tier, like front, back and data. And have monitoring & alerting in place. You can then even start playing with Chaos Engineering, to test your service against random outages. You can either do your own PS scripts for that or maybe use a tool (AWS Fault Injection Simulator, Chaos Toolkit, etc)

  • kapitan

    Generic templated configuration management for Kubernetes, Terraform and other things

  • honcho

    Honcho: a python clone of Foreman. For managing Procfile-based applications.

  • Fabtools

    Tools for writing awesome Fabric files

  • cuisine

    Chef-like functionality for Fabric

  • pypyr automation task runner

    pypyr task-runner cli & api for automation pipelines. Automate anything by combining commands, different scripts in different languages & applications into one pipeline process.

    Project mention: This Week in Python | dev.to | 2022-04-29

    pypyr – automation task runner

  • Automatron

    Infrastructure monitoring framework turning DevOps runbooks into automated actions

  • Cloud-Init

    unofficial mirror of Ubuntu's cloud-init (by number5)

    Project mention: How do you grow microOS file system? | reddit.com/r/openSUSE | 2022-08-12
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-27.

Python DevOps Tools related posts

Index

What are some of the best open-source DevOps Tool projects in Python? This list will help you:

Project Stars
1 Ansible 56,071
2 letsencrypt 29,586
3 Fabric 13,822
4 SaltStack 12,987
5 psutil 9,016
6 supervisor 7,616
7 visidata 6,296
8 python-dotenv 5,599
9 kubernetes-workshop 3,172
10 zenml 2,633
11 pexpect 2,317
12 pyinfra 2,168
13 pytest-testinfra 2,151
14 ShutIt 2,129
15 cloudinit 1,991
16 chaostoolkit 1,656
17 kapitan 1,625
18 honcho 1,496
19 Fabtools 1,255
20 cuisine 1,252
21 pypyr automation task runner 479
22 Automatron 392
23 Cloud-Init 204
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com