A simple way to manage your project settings
Project description
Python Simple Settings
======================
[![Documentation Status](https://readthedocs.org/projects/simple-settings/badge/?version=latest)](https://readthedocs.org/projects/simple-settings/?badge=latest)
[![Code Issues](http://www.quantifiedcode.com/api/v1/project/1b5307f0f1584c3b9c736f976b57e973/badge.svg)](http://www.quantifiedcode.com/app/project/1b5307f0f1584c3b9c736f976b57e973)
[![Build Status](https://travis-ci.org/drgarcia1986/simple-settings.svg)](https://travis-ci.org/drgarcia1986/simple-settings)
[![Coverage Status](https://coveralls.io/repos/drgarcia1986/simple-settings/badge.svg)](https://coveralls.io/r/drgarcia1986/simple-settings)
A simple way to manage your project settings.
It is inspired by Django's settings system but is generic for any python project.<br>
With simple-settings you just need specify your settings module in `--settings` arg of command line (or `settings` of environment) and all settings will be available in `simple_settings.settings`.
### Installation
Use `pip` (simple like this project :smile:).
```bash
$ pip install simple-settings
```
### Usage
```bash
$ python app.py --settings=my_settings.py
```
```python
from simple_settings import settings
print settings.FOO
```
### Quick links
- [Documentation](http://simple-settings.readthedocs.org/en/latest/)
- [Examples](https://github.com/drgarcia1986/simple-settings/tree/master/examples)
======================
[![Documentation Status](https://readthedocs.org/projects/simple-settings/badge/?version=latest)](https://readthedocs.org/projects/simple-settings/?badge=latest)
[![Code Issues](http://www.quantifiedcode.com/api/v1/project/1b5307f0f1584c3b9c736f976b57e973/badge.svg)](http://www.quantifiedcode.com/app/project/1b5307f0f1584c3b9c736f976b57e973)
[![Build Status](https://travis-ci.org/drgarcia1986/simple-settings.svg)](https://travis-ci.org/drgarcia1986/simple-settings)
[![Coverage Status](https://coveralls.io/repos/drgarcia1986/simple-settings/badge.svg)](https://coveralls.io/r/drgarcia1986/simple-settings)
A simple way to manage your project settings.
It is inspired by Django's settings system but is generic for any python project.<br>
With simple-settings you just need specify your settings module in `--settings` arg of command line (or `settings` of environment) and all settings will be available in `simple_settings.settings`.
### Installation
Use `pip` (simple like this project :smile:).
```bash
$ pip install simple-settings
```
### Usage
```bash
$ python app.py --settings=my_settings.py
```
```python
from simple_settings import settings
print settings.FOO
```
### Quick links
- [Documentation](http://simple-settings.readthedocs.org/en/latest/)
- [Examples](https://github.com/drgarcia1986/simple-settings/tree/master/examples)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple-settings-0.1.1.tar.gz
(2.1 kB
view details)
File details
Details for the file simple-settings-0.1.1.tar.gz
.
File metadata
- Download URL: simple-settings-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e911f455fd55bcd7e5d19c41573b21051fd10c1e1f1197d788146087a8438829 |
|
MD5 | 82294b626fcfc12dce447b6d97062d32 |
|
BLAKE2b-256 | 2ba45fade93d825cae9e3c6ee943fd5beacff223e1be5d9d20d30fea41bf0492 |