Skip to main content

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

Project description

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
>>> isit.friday
True
>>> isit.winter
True
>>> isit.heroku
False
>>> isit.newrelic
False

You can do help(isit) for list.

Installation

pip install isit

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

isit-0.3.6.tar.gz (3.6 kB view hashes)

Uploaded source

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