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.

Files for isit, version 0.3.6
Filename, size File type Python version Upload date Hashes
Filename, size isit-0.3.6.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page