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


Release history Release notifications

This version
History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
isit-0.3.5.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Aug 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page