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 details)

Uploaded Source

File details

Details for the file isit-0.3.6.tar.gz.

File metadata

  • Download URL: isit-0.3.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for isit-0.3.6.tar.gz
Algorithm Hash digest
SHA256 93b6293cb7f313428d1a697ed7a360b8cd52550959cd584540e335f4e4bcf03e
MD5 cee801e13e06ce02463a66d5b8076bee
BLAKE2b-256 edb08df7ba75ddddfd01720d6e96ae938563c3b4617d039122f68d0b08f6dabe

See more details on using hashes here.

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