Skip to content

A lightweight Python utility that returns a clean, human-readable string of the current operating system and architecture.

License

Notifications You must be signed in to change notification settings

Mitra-88/sysinfo-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SysLite πŸ–₯️✨

SysLite is a tiny Python utility that tells you your OS and architecture.

⚠️ Note: Windows 11 detection requires Python 3.12+. Older Python versions report it as Windows 10.

Why bother? πŸ€”

platform.platform() works, but it’s messy and mid-tier. SysLite, on the other hand, gives you precisely what you need OS, version, and architecture all in one clean, readable string.

Example Output 🎯

  • Windows 11 Professional 64-Bit
  • Fedora Linux 43 (Workstation Edition) 64-Bit
  • macOS 15.7.1 ARM64

Features ✨

  • Works on Windows, Linux, and macOS πŸ’»πŸπŸ§
  • Normalizes architecture labels:
    • x86_64 β†’ 64-Bit
    • arm64 / aarch64 β†’ ARM64
  • Handles Linux fallback nicely πŸ”„
  • Zero dependencies. Pure Python 🐍

How it works πŸ› οΈ

  • Detects your OS with platform.system() πŸ–₯️
  • Maps raw architecture strings to readable ones πŸ” 
  • Windows β†’ adds edition & release πŸͺŸ
  • Linux β†’ tries distro info β†’ fallback πŸ”„
  • macOS β†’ shows release + architecture 🍏

Basically, clean, simple, and doesn’t overcomplicate things. βœ…

About

A lightweight Python utility that returns a clean, human-readable string of the current operating system and architecture.

Resources

License

Stars

Watchers

Forks

Languages