Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.41 KB

File metadata and controls

68 lines (46 loc) · 1.41 KB

DevOps Python Tools

Python License

Collection of Python utilities for DevOps automation, infrastructure management, and operational tasks.

Tools

Module Description
aws/ AWS resource management, cost analysis
kubernetes/ K8s cluster operations, pod health
docker/ Image cleanup, container management
monitoring/ Metrics collection, alerting
security/ Secret rotation, vulnerability scanning
utils/ Common utilities and helpers

Installation

pip install -r requirements.txt

Usage

AWS Tools

# List unused resources
python -m aws.unused_resources --region us-east-1

# Cost analysis
python -m aws.cost_analyzer --days 30

Kubernetes Tools

# Check pod health
python -m kubernetes.pod_health --namespace production

# Clean up failed pods
python -m kubernetes.cleanup --dry-run

Docker Tools

# Clean old images
python -m docker.image_cleanup --days 30

Testing

pytest tests/ -v --cov=.

Author

Ashwath Abraham Stephen Senior DevOps Engineer | LinkedIn | GitHub

License

MIT License - see LICENSE for details.