DevOps Tools in Python

16 projects in DevOps. Most starred: ansible, awscli and salt.

The major clouds publish official Python SDKs: boto3 for AWS (the AWS CLI is itself a Python program), and the Azure and Google Cloud libraries, which are split into one package per service. Chalice builds serverless apps on AWS Lambda with a Flask-like decorator API. Fabric runs shell commands on remote hosts over SSH from Python code, which suits simple deployment scripts.

For configuration management, Ansible is agentless: it connects over SSH and applies YAML playbooks. Salt traditionally runs agents on managed hosts and reacts to events, which scales to large fleets. pyinfra writes deployments in Python and turns them into shell commands run over SSH, and cloud-init configures cloud instances on first boot. On the process side, psutil reads CPU, memory, disk and process information across platforms, Supervisor keeps long-running processes alive, sh calls programs as if they were functions, Sentry SDK reports errors, Flower monitors Celery workers, and BorgBackup makes deduplicated, encrypted backups.

Cloud Providers4

boto3

Python interface to Amazon Web Services.

9.9kupdated 2d ago0.0.14

awscli

Universal Command Line Interface for Amazon Web Services; the PyPI package is v1, in maintenance mode, while v2 ships as AWS's bundled installer.

17.3kupdated today

azure-sdk-for-python

Microsoft Azure SDK for Python, published as per-service packages.

5.6kupdated todayazure-ai-evaluation_1.18.10

google-cloud-python

Google Cloud client libraries for Python, published as per-service packages.

5.4kupdated 1d agopandas-gbq-v0.35.3

Configuration Management4

ansible

A radically simple IT automation platform.

71.1kupdated 1d ago2.21.5

cloud-init

A multi-distribution package that handles early initialization of a cloud instance.

3.8kupdated 1d ago26.2

pyinfra

Turns Python code into shell commands and runs them on your servers.

6kupdated 9d ago3.10.0

salt

Infrastructure automation and management system.

15.7kupdated today3008.4

Deployment2

fabric

A simple, Pythonic tool for remote execution and deployment.

15.5kupdated 6mo ago

chalice

A Python serverless microframework for AWS.

11.1kupdated 1d ago

Monitoring and Processes5

psutil

A cross-platform process and system utilities module.

11.3kupdated 1d ago

sentry-sdk

Sentry SDK for Python.

2.2kupdated 1d ago2.73.0

supervisor

Supervisor process control system for UNIX.

9.2kupdated 10mo ago

flower

A real-time monitor and web admin for Celery task queues.

7.2kupdated 1mo ago2.2.0

sh

A full-fledged subprocess replacement for Python.

7.2kupdated 3mo ago2.4.0

Other1

borgbackup

A deduplicating archiver with compression and encryption.

13.9kupdated today1.4.5
Esc

Type to search every entry. ↑↓ to move, Enter to open.