What is OS's sin? 🤔 A beautiful system information utility that displays basic information about your operating system, Python environment, and platform details using Rich for stunning terminal output.
uv add ossin
Display system information in the default table format:
ossin
Choose from different output formats:
Table format (default):
ossin --format table
Panel format:
ossin --format panels
JSON format:
ossin --format json
--format, -f
: Output format (table
,panels
,json
) [default: table]--no-color
: Disable colored output--version
: Show version and exit--help
: Show help message
# Display system info in table format
ossin
# Display system info in panel format
ossin --format panels
# Display system info in JSON format
ossin --format json
# Display without colors
ossin --no-color
# Show version
ossin --version
# Show help
ossin --help
- Beautiful Output: Uses Rich library for stunning terminal formatting
- Multiple Formats: Support for table, panel, and JSON output formats
- System Information: Displays OS name, version, architecture, and platform details
- Python Environment: Shows Python version and implementation details
- Modern CLI: Built with Typer for excellent CLI experience with type hints and auto-completion
- Cross-platform: Works on Windows, macOS, and Linux
Clone the repository and cd into the project directory:
git clone https://github.com/python-ankara-toplulugu/ossin
cd ossin
The commands below can also be executed using the xc task runner, which combines the usage instructions with the actual commands. Simply run xc
, it will pop up an interactive menu with all available tasks.
Install the dependencies:
uv sync
Start the CLI:
uv run ossin
Run the tests:
uv run pytest
Run the linters and type checkers:
uv run ruff check
uv run ruff format
uv run mypy
uv run ty check
uv run pyrefly check
uv run pyright
uv run vulture
uv run validate-pyproject pyproject.toml
ossin
is distributed under the terms of the MIT license.