Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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'}

Release history Release notifications

This version
History Node

0.20120720

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page