Skip to content

Danyar-Ali/Devops-python-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

DevOps Python Scripts

A collection of simple Python scripts designed for DevOps automation, infrastructure monitoring, and operational tooling.

This repository contains small utilities that automate common tasks engineers often perform when managing systems, cloud environments, and infrastructure. The scripts are intentionally lightweight and easy to understand, making them useful both for practical automation and learning purposes.

Purpose

The goal of this repository is to build a growing toolkit of practical DevOps scripts that solve real operational problems such as:

  • Infrastructure monitoring
  • Log analysis and parsing
  • Security and compliance checks
  • Cloud automation tasks
  • Network and system diagnostics
  • General operational utilities

Many of these scripts are designed to simulate real-world DevOps scenarios and are suitable for learning automation patterns used in production environments.

Example Scripts

Some examples of scripts that may appear in this repository include:

  • SSL certificate expiration checks
  • Log file analyzers for errors and warnings
  • Disk usage monitoring tools
  • Network connectivity diagnostics
  • Simple cloud automation tasks
  • Infrastructure health checks

New scripts will be added over time as additional automation tasks are explored.

Example: SSL Certificate Checker

One of the scripts in this repository checks the expiration date of an SSL certificate for a given domain.

Domain: physiworld.com
SSL expires on: 2026-10-03 23:59:59
Days left: 210

This type of script can be used for monitoring certificate expiration and triggering alerts before certificates expire.

Requirements

Most scripts only require Python 3 and standard libraries.

Recommended Python version:

Python 3.10+

Some scripts may optionally require additional packages.

Running a Script

Clone the repository:

git clone https://github.com/yourusername/devops-python-scripts.git
cd devops-python-scripts

Philosophy

The scripts in this repository aim to follow a few principles:

  • Keep scripts simple and readable
  • Focus on practical automation problems
  • Use minimal dependencies when possible
  • Demonstrate common DevOps patterns

Author

Danyar Ali Cloud & DevOps Engineer

About

A collection of simple Python scripts for DevOps automation, monitoring, and cloud infrastructure tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages