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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page