How techiescamp/python-for-devops works
This repository is a collection of Python-for-DevOps learning examples, not one integrated application. Its concrete workflows are independent scripts: provision an EC2 instance, create/load/query a DynamoDB table, connect to SQL databases, call Azure OpenAI, parse JSON, and execute shell commands. The README describes a much broader eight-week curriculum, but most listed projects are aspirations rather than implementations in this tree. The graph therefore focuses on demonstrated scripts and their visible external interactions; it does not infer links between examples.
Main entry points: loadData.py Load records · awsrdsmysqlp.py Query MySQL · shell-execution.py Run shell scripts · script.sh Shell scripts
Components 20
Cloud examples
- Provision EC2
boto3/ec2/create-instance.py - Create table
boto3/dynamodb/createTable.py - Load records
boto3/dynamodb/loadData.py - Query records
boto3/dynamodb/query.py - Azure OpenAI call
azure-openapi/basic-api/main.py - Song records
boto3/dynamodb/data.json
Database examples
- Query MySQL
awsrdsmysqlp.py - Query PostgreSQL
database/postgresql.py
Python fundamentals
- Parse JSON
json/parse-json.py - Example JSON
json/files/example.json
Operating system
- Run command
operating-system/command-execution.py - Run shell scripts
operating-system/shell-execution.py - Shell scripts
operating-system/files/script.sh - Parameterized script
operating-system/files/param.sh
Other components
- AWS EC2
- AWS DynamoDB
- Azure OpenAI
- AWS Secrets Manager
- MySQL database
- PostgreSQL database
Connections 13
- Provision EC2 → AWS EC2: provisions resources
boto3/ec2/create-instance.py - Create table → AWS DynamoDB: creates table
boto3/dynamodb/createTable.py - Load records → Song records: reads records
boto3/dynamodb/loadData.py - Load records → AWS DynamoDB: writes items
boto3/dynamodb/loadData.py - Query records → AWS DynamoDB: scans and queries
boto3/dynamodb/query.py - Azure OpenAI call → Azure OpenAI: requests completion
azure-openapi/basic-api/main.py - Query MySQL → AWS Secrets Manager: retrieves credentials
awsrdsmysqlp.py - Query MySQL → MySQL database: executes SQL
awsrdsmysqlp.py - Query PostgreSQL → PostgreSQL database: selects records
database/postgresql.py - Parse JSON → Example JSON: reads and parses
json/parse-json.py - Run command → Shell scripts: executes command
operating-system/command-execution.py - Run shell scripts → Shell scripts: runs script
operating-system/shell-execution.py - Run shell scripts → Parameterized script: runs with argument
operating-system/shell-execution.py