├── .gitignore ├── LICENSE ├── README.md ├── aws-scripts └── ssm_ec2_patching │ ├── patch_ASG_instances.py │ └── patch_ec2_with_tag.py ├── bootcamp-content ├── day1 │ ├── CHEATSHEET.md │ ├── README.md │ ├── lab1_data_structures.py │ ├── lab2_conditionals_loops.py │ ├── lab3_os_module.py │ ├── lab4_subprocess_module.py │ ├── lab5_requests_module.py │ ├── lab6_string_manipulation.py │ ├── lab7_error_handling.py │ ├── lab8_clean_functions.py │ └── wordpress-play.py └── fun-project │ ├── README.md │ ├── docker-compose.yml │ ├── requirements.txt │ └── wordpress_manager.py ├── gcp-python └── pubsub.py ├── get-cve-name ├── code-with-ssl.py ├── main.py ├── readme.md └── requirements.txt ├── learning-resources ├── python-basics │ ├── conditional │ │ └── examples.py │ ├── file │ │ └── examples.py │ └── loops │ │ ├── examples.py │ │ └── range.py └── python-modules │ ├── boto3 │ └── init.py │ ├── json │ └── examples.py │ ├── os │ └── example.py │ ├── requests │ └── examples.py │ └── subprocess │ └── example.py ├── medium-followers-stats.py └── python-automations-projects ├── aws-rds-postgres-migration ├── migrtate-with-pg-dump-restore │ ├── main.py │ ├── readme.md │ └── requirements.txt ├── pgsync-rds-migration │ ├── main.py │ ├── readme.md │ └── requirements.txt ├── precheck.py ├── rds_storage_report.py ├── readme.md ├── requirements.txt └── setup.txt ├── build-dependencies-recursively ├── main.py └── readme.md ├── email_report ├── access_keys_rotation_remainder.py ├── fetch-cve-data.py ├── send_promotion_email.py ├── sendemail.py └── senstive-file-s3-bucket-email.py ├── flask-postgres-restapi ├── app.py ├── config.json ├── db.py ├── readme.md └── requirements.txt ├── project-sqs-encryption ├── functions.py ├── main.py ├── readme.md └── requirements.txt ├── python-gcp-list-projects ├── main.py └── readme.md └── python-lambda-runtime └── main.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # python-for-devops -------------------------------------------------------------------------------- /aws-scripts/ssm_ec2_patching/patch_ASG_instances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/aws-scripts/ssm_ec2_patching/patch_ASG_instances.py -------------------------------------------------------------------------------- /aws-scripts/ssm_ec2_patching/patch_ec2_with_tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/aws-scripts/ssm_ec2_patching/patch_ec2_with_tag.py -------------------------------------------------------------------------------- /bootcamp-content/day1/CHEATSHEET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/CHEATSHEET.md -------------------------------------------------------------------------------- /bootcamp-content/day1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/README.md -------------------------------------------------------------------------------- /bootcamp-content/day1/lab1_data_structures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab1_data_structures.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab2_conditionals_loops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab2_conditionals_loops.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab3_os_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab3_os_module.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab4_subprocess_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab4_subprocess_module.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab5_requests_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab5_requests_module.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab6_string_manipulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab6_string_manipulation.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab7_error_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab7_error_handling.py -------------------------------------------------------------------------------- /bootcamp-content/day1/lab8_clean_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/lab8_clean_functions.py -------------------------------------------------------------------------------- /bootcamp-content/day1/wordpress-play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/day1/wordpress-play.py -------------------------------------------------------------------------------- /bootcamp-content/fun-project/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/fun-project/README.md -------------------------------------------------------------------------------- /bootcamp-content/fun-project/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/fun-project/docker-compose.yml -------------------------------------------------------------------------------- /bootcamp-content/fun-project/requirements.txt: -------------------------------------------------------------------------------- 1 | requests>=2.31.0 2 | -------------------------------------------------------------------------------- /bootcamp-content/fun-project/wordpress_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/bootcamp-content/fun-project/wordpress_manager.py -------------------------------------------------------------------------------- /gcp-python/pubsub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/gcp-python/pubsub.py -------------------------------------------------------------------------------- /get-cve-name/code-with-ssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/get-cve-name/code-with-ssl.py -------------------------------------------------------------------------------- /get-cve-name/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/get-cve-name/main.py -------------------------------------------------------------------------------- /get-cve-name/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/get-cve-name/readme.md -------------------------------------------------------------------------------- /get-cve-name/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | pandas 3 | openpyxl 4 | -------------------------------------------------------------------------------- /learning-resources/python-basics/conditional/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-basics/conditional/examples.py -------------------------------------------------------------------------------- /learning-resources/python-basics/file/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-basics/file/examples.py -------------------------------------------------------------------------------- /learning-resources/python-basics/loops/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-basics/loops/examples.py -------------------------------------------------------------------------------- /learning-resources/python-basics/loops/range.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-basics/loops/range.py -------------------------------------------------------------------------------- /learning-resources/python-modules/boto3/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-modules/boto3/init.py -------------------------------------------------------------------------------- /learning-resources/python-modules/json/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-modules/json/examples.py -------------------------------------------------------------------------------- /learning-resources/python-modules/os/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-modules/os/example.py -------------------------------------------------------------------------------- /learning-resources/python-modules/requests/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-modules/requests/examples.py -------------------------------------------------------------------------------- /learning-resources/python-modules/subprocess/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/learning-resources/python-modules/subprocess/example.py -------------------------------------------------------------------------------- /medium-followers-stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/medium-followers-stats.py -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/migrtate-with-pg-dump-restore/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/migrtate-with-pg-dump-restore/main.py -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/migrtate-with-pg-dump-restore/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/migrtate-with-pg-dump-restore/readme.md -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/migrtate-with-pg-dump-restore/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3 2 | psycopg 3 | python-dotenv 4 | -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/pgsync-rds-migration/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/pgsync-rds-migration/main.py -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/pgsync-rds-migration/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/pgsync-rds-migration/readme.md -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/pgsync-rds-migration/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3 2 | psycopg 3 | python-dotenv 4 | -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/precheck.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/precheck.py -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/rds_storage_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/rds_storage_report.py -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/readme.md -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/requirements.txt: -------------------------------------------------------------------------------- 1 | openpyxl 2 | boto3 -------------------------------------------------------------------------------- /python-automations-projects/aws-rds-postgres-migration/setup.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/aws-rds-postgres-migration/setup.txt -------------------------------------------------------------------------------- /python-automations-projects/build-dependencies-recursively/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/build-dependencies-recursively/main.py -------------------------------------------------------------------------------- /python-automations-projects/build-dependencies-recursively/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/build-dependencies-recursively/readme.md -------------------------------------------------------------------------------- /python-automations-projects/email_report/access_keys_rotation_remainder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/email_report/access_keys_rotation_remainder.py -------------------------------------------------------------------------------- /python-automations-projects/email_report/fetch-cve-data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/email_report/fetch-cve-data.py -------------------------------------------------------------------------------- /python-automations-projects/email_report/send_promotion_email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/email_report/send_promotion_email.py -------------------------------------------------------------------------------- /python-automations-projects/email_report/sendemail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/email_report/sendemail.py -------------------------------------------------------------------------------- /python-automations-projects/email_report/senstive-file-s3-bucket-email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/email_report/senstive-file-s3-bucket-email.py -------------------------------------------------------------------------------- /python-automations-projects/flask-postgres-restapi/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/flask-postgres-restapi/app.py -------------------------------------------------------------------------------- /python-automations-projects/flask-postgres-restapi/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/flask-postgres-restapi/config.json -------------------------------------------------------------------------------- /python-automations-projects/flask-postgres-restapi/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/flask-postgres-restapi/db.py -------------------------------------------------------------------------------- /python-automations-projects/flask-postgres-restapi/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/flask-postgres-restapi/readme.md -------------------------------------------------------------------------------- /python-automations-projects/flask-postgres-restapi/requirements.txt: -------------------------------------------------------------------------------- 1 | Flask 2 | psycopg2-binary 3 | -------------------------------------------------------------------------------- /python-automations-projects/project-sqs-encryption/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/project-sqs-encryption/functions.py -------------------------------------------------------------------------------- /python-automations-projects/project-sqs-encryption/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/project-sqs-encryption/main.py -------------------------------------------------------------------------------- /python-automations-projects/project-sqs-encryption/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/project-sqs-encryption/readme.md -------------------------------------------------------------------------------- /python-automations-projects/project-sqs-encryption/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3 2 | -------------------------------------------------------------------------------- /python-automations-projects/python-gcp-list-projects/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/python-gcp-list-projects/main.py -------------------------------------------------------------------------------- /python-automations-projects/python-gcp-list-projects/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/python-gcp-list-projects/readme.md -------------------------------------------------------------------------------- /python-automations-projects/python-lambda-runtime/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akhileshmishrabiz/python-for-devops/HEAD/python-automations-projects/python-lambda-runtime/main.py --------------------------------------------------------------------------------