Skip to main content

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.

Project description

PlatformInfo beta

CircleCI PyPI - Downloads CircleCI PyPI - Python Version PyPI - Version GitHub

asciicast

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

platforminfo-1.0.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file platforminfo-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for platforminfo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a21329ab17090e021ee87d28040d298bff841ea4bb64202da40df3990f9964c5
MD5 ace981ecab52aa009721ddb2711c5af4
BLAKE2b-256 6d4c42ddb00e53d82f12cb756738cd3b38ceaa60f278a0d56553a02be8a63d06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page