Project
Python sysadmin toolkit
Python CLI focused on basic systems tasks, designed to group useful disk, network and log checks into a lightweight, reproducible and easy-to-extend tool.
Overview
Python CLI built with Typer for disk and network checks, and log analysis with JSON and CSV export. The project organises specific commands for basic monitoring and service validation, and includes automated tests and CI with ruff and pytest to ensure quality and reproducibility.
Stack: Python, Typer, Pytest, Ruff, GitHub Actions
What it does
The project aims to avoid scattered scripts or repetitive manual checks in basic systems administration tasks. It brings together commands to review disk space, validate ports and analyse logs, with structured output to make review and reuse easier.
How it is built
The solution is built with Python and Typer to provide a clear command-line interface, organised into specific commands for disk, network and logs. In the log analysis part, it also allows exporting results in JSON and CSV so the information can be reused in other workflows or reviews.
What it validates or automates
The project includes automated tests with pytest and style checks with ruff, run reproducibly both locally and in CI. This workflow makes it possible to validate the behaviour of the main commands and maintain a more reliable base for future extensions.
Key points
- Python CLI with Typer for disk, network and log analysis in a single tool.
- JSON and CSV export to reuse data from checks.
- Tests and CI with pytest and ruff to ensure quality and reproducibility.