System info for Python made simple. PlatformInfo is designed to provide a simple, yet granular interface to find system information on all major operating systems within Python.
Reason this release was yanked:
This version has errors relating to the CLI component of PlatformInfo. Please use 1.0.0b5.post2 instead.
Project description
PlatformInfo beta
System info for Python made simple. PlatformInfo is designed to provide a simple, yet granular interface to find system information on all major operating systems within Python.
Features:
- Return kernel AND kernel version for Mac, Windows, Linux
- Return OS versions for Windows, Mac, Linux
- Return OS build numbers for Windows, Mac
- Return desktop environments
- Return architecture (Linux/Mac only, Windows planned)
Prerequisites
- Python 3 or up
Installation:
To install PlatformInfo, you can download install it with pip (recommended) or install it from the development wheel.
PyPi install (recommended):
pip install platforminfo
Manual install Download it from our Development CI and run `pip install /path/to/platforminfo-nightly.whl'
Quick Start Guide:
TO start, import platforminfo and create a Platform
object
import platforminfo
computer = platforminfo.Platform()
To access information, find the name of the information you want (in this example I want osVersion
).
import platforminfo
computer = platforminfo.Platform()
value = computer.osVersion()
Feature Requests
If you have a suggestion, feel free to submit a feature request. You can grab the nightly builds on our Development CI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for platforminfo-1.0.0b5.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1b6313aa5a2ce289f1317e5c3cc9943c0b92a8663cd3c67c6caea9997e9762 |
|
MD5 | 86842f6bb854998f58b436cc42519650 |
|
BLAKE2b-256 | 4130ef9a5ea70222a24b037a73eac2135c9a938bf396241589d2cf07b2eb8a3a |