Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 History

This version
History Node

0.20120720

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting