Skip to main content

detect OS and Python versions

Project description

Install

$ [sudo] pip install detect

Examples

py2, py3

>>> detect.py2
False
>>> detect.py3
True

linux, mac, windows, cygwin, unix

>>> detect.linux
False
>>> detect.mac
True
>>> detect.windows
False
>>> detect.unix
True

Project details


Download files

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

Source Distribution

detect-0.0.0.tar.gz (1.2 kB view hashes)

Uploaded source

Built Distribution

detect-0.0.0-py2.py3-none-any.whl (1.8 kB view hashes)

Uploaded py2 py3

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