skip to navigation
skip to content

Not Logged In

isit 0.2.3

Environment runtime detection (Python,Linux,Distribution,etc...)

Latest Version: 0.3.2

Description

Detect environment variables, such linux, distribution, python, etc...

>>> import isit
>>> isit.linux
True
>>> isit.linux2
True
>>> isit.linux3
False
>>> isit.py2
True
>>> isit.py27
False
>>> isit.debian
True
>>> isit.debian_version
'6.0.5'
>>> isit.debian_release
'5'
>>> isit.bit32
True
>>> isit.pypy
False
>>> isit.cpython
True

You can do help(isit) for list.

Installation

pip install isit

Heavily inspired by its from Kenneth Reitz. But with moar!

 
File Type Py Version Uploaded on Size
isit-0.2.3.tar.gz (md5) Source 2012-12-31 2KB
  • Downloads (All Versions):
  • 38 downloads in the last day
  • 213 downloads in the last week
  • 1301 downloads in the last month