detect OS and Python versions
Project description
Install
$ [sudo] pip install detect
OS variables
variable | description |
---|---|
detect.freebsd |
True if OS is FreeBSD |
detect.linux |
True if OS is Linux |
detect.mac |
True if OS is MacOS |
detect.osx |
True if OS is MacOS OS X |
detect.windows |
True if OS is Windows |
detect.cygwin |
True if OS is Cygwin detected |
detect.unix |
True if OS is Unix (not Windows) |
Python variables
variable | description |
---|---|
detect.py2 |
True if python is 2.x |
detect.py3 |
True if python is 3.x |
readme-md - README.md generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
detect-2018.11.19.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for detect-2018.11.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b95664c3f3434f314a4d75709c5e5ebc3b38d07292a56bd7b6412a98546e55 |
|
MD5 | 13626d76bc2741949a43ef2f97be41b9 |
|
BLAKE2b-256 | 35429a13c22840bf3da6cea5de6672e88bc83ee7809e6213cb7dba49571e4d75 |