Skip to main 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.

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ossin-0.1.1.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

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

ossin-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file ossin-0.1.1.tar.gz.

File metadata

  • Download URL: ossin-0.1.1.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ossin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ad6dbf0389ca8472d099d23245202715c6eb883ed9d200f03897c443f94f2982
MD5 0872fc988d3ca63468079e5e8fda93bb
BLAKE2b-256 cb5669a9a90225047478f4ce12ea3d2f53217a808e14dd3a3cca11e0ddbafd68

See more details on using hashes here.

File details

Details for the file ossin-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ossin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ossin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 153b5b0833763d0f5547e88aa9a17a54cba4290d95a388319af36c89bdb968b0
MD5 cf32864bac9c36cdf967821a433f01cf
BLAKE2b-256 fd45c61ddbaeb48a971773e1ab34b6178886f40f018e1707b2633d359cc871b6

See more details on using hashes here.

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