Skip to main content

A simple way to manage your project settings

Project description

Python Simple Settings
======================
[![Documentation Status](https://readthedocs.org/projects/simple-settings/badge/?version=latest)](http://simple-settings.readthedocs.org/en/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
```

```python
from simple_settings import settings


print settings.FOO
```

### Some features
* Settings by python modules.
* Settings by cfg files.
* Settings by Yaml files.
* Settings inheritance (like a pipeline).
* Special settings.
* Check more features in [documentation](http://simple-settings.readthedocs.org/en/latest/).

### Quick links
* [Documentation](http://simple-settings.readthedocs.org/en/latest/)
* [Examples](https://github.com/drgarcia1986/simple-settings/tree/master/examples)
* [Roadmap](https://github.com/drgarcia1986/simple-settings/tree/master/ROADMAP.md)

Project details


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.5.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file simple-settings-0.5.0.tar.gz.

File metadata

File hashes

Hashes for simple-settings-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4c4e103a48ee1f67a4bb155aa19f6674dbcab7ed5b2c08fffca125de87a07521
MD5 ac3cd1009608ec82db2ea4d5a25d0dc0
BLAKE2b-256 4835a4a9f6963b5b1ccfed388d020f60a71839bf603ce153c4866370576305e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page