Skip to main content

A simple helper module to get details on the current operating system platorm.

Project description

This module provides simple methods for detecting the operating system run by the user.

Install it with

easy_install OSDetect

or

pip install OSDetect

Usage

Example:

>>> import OSDetect
>>> info = OSDetect.OSInfo()
>>> info.GetInfo()
{'Machine': 'x86_64', 'Python': {'implementation': 'CPython', 'version': '2.7.3'}, 'Distribution': '  ', 'OSVersion': '3.6.9-1-ARCH', 'OS': 'Linux'}

Project details


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