Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Tools for exconverting environment variables to native python objects

Project description

Tools for exconverting environment variables to native python objects


Install env-excavator:

pip install env-excavator

Example use it in a project:

>>> import os
>>> import excavator as env
>>> os.environ['FROM_EMAIL'] = ''
>>> env.get('FROM_EMAIL')
>>> os.environ['DEBUG'] = 'True'
>>> env.get('DEBUG', type=bool)
>>> os.environ['ALLOWED_HOSTS'] = ','
>>> env.get('ALLOWED_HOSTS', type=list)
['', '']

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 env-excavator, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size env_excavator-1.5.0-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size env-excavator-1.5.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

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