skip to navigation
skip to content

Not Logged In

env.py 0.1

Easily manage your python application settings for different environments

Latest Version: 0.2.2

env.py
======

Easily manage your python application settings for different environments

Usage:
------

Consider following file structure somewhere in your python application:

```
- app
- settings.py
- local_env.py # required by env.py
- local_settings.py
- dev_settings.py
- prod_settings.py
- prodstage_settings.py
- test_settings.py
```

What `env.py` does is, it allows you to define different environment custom settings
inside files named `$env_settings.py`. Then, inside `local_env.py` define
current environment like `ENV='prod'`.

At the top or at the bottom of `settings.py` based upon how you use `env.py`, use as:

`from env import *`

This will configure your application for your current `ENV` custom settings along with common `settings.py`  
File Type Py Version Uploaded on Size
env.py-0.1.tar.gz (md5) Source 2014-02-10 2KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 47 downloads in the last week
  • 247 downloads in the last month