Skip to main content

A comprehensive Python-based toolkit for DevOps workflows

Project description

DevOps Toolkit

Python CI codecov PyPI version License: MIT

Please keep in mind this is an experimental hobby project. All functions are in demo mode only, and will stay that way until/if 1.0 release. Nothing in here should be expected to work (although, I might argue it does well enough) while in alpha.

This project is intended to be a powerful collection of homemade tools that are tailored to DevOps related activities.

Features

  • Deployment: Automate application deployment across different environments
  • Generate Terraform: Generate complete, deployable terraform tf files from yaml (multi platform support inteded)
  • Infrastructure: Provision and manage infrastructure on multiple cloud providers
  • Monitoring: Track application and infrastructure metrics with customizable alerts
  • Security: Scan applications and dependencies for vulnerabilities

Installation

# Basic installation
pip install devops-toolkit

# Install with specific components
pip install devops-toolkit[aws]          # AWS support
pip install devops-toolkit[kubernetes]   # Kubernetes support
pip install devops-toolkit[monitoring]   # Monitoring tools
pip install devops-toolkit[all]          # All components

Quick Start

Deployment

# Deploy an application to the staging environment
devops deploy --app-name myapp --version 1.2.3 --env staging

# Roll back a deployment
devops rollback --app-name myapp --env production

Infrastructure Provisioning

# Provision infrastructure on AWS
devops provision --provider aws --template infra/web-stack.yaml --params infra/params.yaml

# Scale resources
devops scale --provider aws --provision-id infra-1234567890 --resource-type compute --count 5

Monitoring

# Check application status
devops monitor --app-name myapp --env production

# Continuous monitoring
devops monitor --app-name myapp --env production --watch

Security Scanning

# Scan application dependencies
devops security-scan --app-name myapp --scan-type dependencies

# Generate HTML security report
devops security-scan --app-name myapp --scan-type all --report-format html --output security-report.html

Documentation

Detailed documentation is available in the docs/ directory:

Development

# Clone the repository
git clone https://github.com/username/devops-toolkit.git
cd devops-toolkit

# Set up development environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -e ".[dev]"

# Run tests
pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devops_toolkit-0.1.1.tar.gz (68.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devops_toolkit-0.1.1-py3-none-any.whl (72.9 kB view details)

Uploaded Python 3

File details

Details for the file devops_toolkit-0.1.1.tar.gz.

File metadata

  • Download URL: devops_toolkit-0.1.1.tar.gz
  • Upload date:
  • Size: 68.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for devops_toolkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa917cf56b64148e1e686fa01db229fd4c9777cd53fc8ab341ac10d6c12d8c17
MD5 ff51e7f3bb760144a603dc4e730d5534
BLAKE2b-256 c8eb5fbc9e0c9d76d7a16d15f16f21cff4d431d7b23c2f7eae1c5949140eb81f

See more details on using hashes here.

File details

Details for the file devops_toolkit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: devops_toolkit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for devops_toolkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d017ae618fbeae1c6363590371b391a5c58af6cb4cdd475061b9e297706d1a0
MD5 c6760a31710137a5f5cd5871f6ba048a
BLAKE2b-256 086cdeb37bdd88bee85324c3dc75d027e52a29dc51659b3fe0fddeb4974ad64f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page