Skip to main content
https://badge.fury.io/py/env-excavator.png https://travis-ci.org/simpleenergy/env-excavator.png?branch=master

Tools for exconverting environment variables to native python objects

Quickstart

Install env-excavator:

pip install env-excavator

Example use it in a project:

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

Release files for env-excavator 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for env-excavator 1.5.0
File Size Uploaded
env-excavator-1.5.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for env-excavator 1.5.0
File Interpreter ABI Platform
env_excavator-1.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.9 kB

Release files / env-excavator-1.5.0.tar.gz

Download URL env-excavator-1.5.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aefb16fffdbfd815eb8cd8ad95e9bf81bc36c4d21e8c472f5a9239987d3e4b58
BLAKE2b-256 checksum
How to use checksums
ad1d42fedccca29ce7e772b8c6b138d01019f1993cf293461d563708fd3692ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / env_excavator-1.5.0-py2.py3-none-any.whl

Download URL env_excavator-1.5.0-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8d62cd6c939d0c60499f3b60cae13f11344beefa54f5f1c0abf074fe3599d380
BLAKE2b-256 checksum
How to use checksums
be5831ee304e8f908a00763024df87e19bef391d975764a3f86e3a62ae4278b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page