os.py is a free, open-source library which allows retrieving system and hardware information in Python 💻
Available for Windows and Linux, support for more operating systems soon.
Home⠀ Install⠀ Documentation⠀ Contributing⠀ Download⠀ Security⠀ License
Yeah uhh, so I work on this project everyday like I enjoy doing it but im like still learning don't expect it to work too soon. like it's not that much left but still yeah thank you for starring my project I guess.
os.py exposes system and hardware information in a form of a python library. This allows you to write Python-based code to access low-level operating system and hardware data.
os.py allows retrieval of information such us: cpu, gpu information, statistics, supported features and sensors, ram and swap utilization and features, storage device information, external storage device information, machine peripherals and drivers and much more.
pip install ospylib
You can use os.py to retrieve system information, such as the firmware type, operating system version, and processor information.
import ospylib
# Get the firmware type (BIOS or UEFI)
firmware_type = ospylib.firmware_info().type
# Get the operating system name
os_version = ospylib.system_info().name
# Get the processor model
processor_info = ospylib.cpu_info().model
You can use os.py directly from the command prompt:
ospylib
You can also dump the os.py information into a text file:
ospylib --file {specify your filepath}
These were just random examples of os.py usage, but there's a lot more to explore, visit os.py docs to learn about everything you can create with os.py.
os.py launched in May 2022. As of June 2023, we are in the Private ❌ stage.
❌ Private: os.py is currently being developed, and you cannot install the library yet.
✅ Public: os.py is ready for public use and is receiving regular updates.
You can buy me a coffee if you enjoy my work Buy me a coffee ☕
This project is licensed under the BSD-3 Clause License.