<commit_before>Python and Django Environment Variables
============

![Downloads this month](https://pypip.in/d/envvars/badge.png)

NOTE: If you are installing from source please download the latest tagged version of the code (... unless you are brave in which case use master).

A simple module which will allow python apps and webapps to read .env files (forman style); storing the key-value in the `os environment variables`.

## Installation:

Install via pip: `pip install envvars` or by download the package. Running `python setup.py`.


## Usage:

Loading environment variables into `os.environ`:

Add the following line to your main python file.

    import envvars

Filepath can be blank if `.env` is in current working directory

    envvars.load() or envvars.load('/path/to/file')

### Django<commit_msg>Adds build status badge to README<commit_after>Python and Django Environment Variables
============
[![Build Status](https://travis-ci.org/mattseymour/python-envvars.svg?branch=travis-ci-build)](https://travis-ci.org/mattseymour/python-envvars)
![Downloads this month](https://pypip.in/d/envvars/badge.png)

NOTE: If you are installing from source please download the latest tagged version of the code (... unless you are brave in which case use master).

A simple module which will allow python apps and webapps to read .env files (forman style); storing the key-value in the `os environment variables`.

## Installation:

Install via pip: `pip install envvars` or by download the package. Running `python setup.py`.


## Usage:

Loading environment variables into `os.environ`:

Add the following line to your main python file.

    import envvars

Filepath can be blank if `.env` is in current working directory

    envvars.load() or envvars.load('/path/to/file')

### Django
{'fraction_non_alphanumeric': 0.10479375696767002, 'fraction_numerical': 0.0, 'mean_word_length': 4.406626506024097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '545616', 'n_tokens_mistral': 516, 'n_tokens_neox': 490, 'n_words': 214}