Skip to main content

A simple CLI tool to check the status of URLs.

Project description

Python for DevOps: CI/CD for Python Projects

This repository contains the complete CI/CD implementation for the CI/CD section of my Python for DevOps: Mastering Real-World Automation course. Here, you'll learn how to build a robust, automated pipeline for Python projects using GitHub Actions. Make sure to join the course to learn comprehensive Python automation skills for DevOps and infrastructure management!

Note: Here is the link to the main code repository for the project: https://github.com/mohamedrabie92/python-devops-cicd-project

🎯 Project Overview

This project demonstrates a complete CI/CD pipeline for a Python package called Simple HTTP Checker - a command-line tool for checking HTTP endpoint availability. Through this hands-on example, you'll learn modern Python development practices and automated deployment workflows.

✅ What we implement in this repository

  • Implement the project (code files) - Complete Python package with proper structure
  • Add a simple GHA workflow - Basic GitHub Actions setup and execution
  • Add linting (ruff) and format checks (black) - Code quality automation
  • Add typing (mypy) and security checks (bandit) - Static analysis and security scanning
  • Add test automation - Comprehensive test suite with pytest
  • Build our Python project - Automated package building
  • Publish the project to both TestPyPI and PyPI - Automated package publishing on releases

📚 Learning Objectives

Through this project, you'll master:

  • Modern Python packaging with pyproject.toml
  • GitHub Actions for CI/CD automation
  • Code quality tools (Black, Ruff, MyPy, Bandit)
  • Automated testing with pytest
  • Package publishing to PyPI repositories
  • Release management with Git tags and GitHub releases

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

simple_http_checker_r_version-1.3.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

simple_http_checker_r_version-1.3.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_http_checker_r_version-1.3.0.tar.gz.

File metadata

File hashes

Hashes for simple_http_checker_r_version-1.3.0.tar.gz
Algorithm Hash digest
SHA256 7cce4b49b3beae805865e91dce7a38d53016281388304a75569071e7013441a5
MD5 aaa480ec8415795f45755789c9d04c1e
BLAKE2b-256 8ede5ed550a8b789ecfda74be4cdf9729fc12e36c76a0c9ea543b0f3f67ced0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_http_checker_r_version-1.3.0.tar.gz:

Publisher: publish.yaml on mohamedrabie92/python-devops-cicd-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file simple_http_checker_r_version-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_http_checker_r_version-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f943cf731d3a7e9ef12bd9cbd462ca7e8293362307bc421064dd77b745fb578b
MD5 2f5d55021b187eb2e4189747a249beb3
BLAKE2b-256 6dee8ad7b286a01c2133db11bbec627cf47d079a2410392434ed05d8e34cf921

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_http_checker_r_version-1.3.0-py3-none-any.whl:

Publisher: publish.yaml on mohamedrabie92/python-devops-cicd-project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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