Skip to content

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.

License

Notifications You must be signed in to change notification settings

python-ankara-toplulugu/ossin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ossin

PyPI - Version PyPI - Python Version

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.


Table of Contents

Installation

uv add ossin

Usage

Basic Usage

Display system information in the default table format:

ossin

Output Formats

Choose from different output formats:

Table format (default):

ossin --format table

Panel format:

ossin --format panels

JSON format:

ossin --format json

Options

  • --format, -f: Output format (table, panels, json) [default: table]
  • --no-color: Disable colored output
  • --version: Show version and exit
  • --help: Show help message

Examples

# 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

Features

  • 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

Development

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

Install the dependencies:

uv sync

start

Start the CLI:

uv run ossin

test

Run the tests:

uv run pytest

ci

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

License

ossin is distributed under the terms of the MIT license.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages