Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vokimon/python-configdb
A simple package to hold apart db configuration data
https://github.com/vokimon/python-configdb
Last synced: 1 day ago
JSON representation
A simple package to hold apart db configuration data
- Host: GitHub
- URL: https://github.com/vokimon/python-configdb
- Owner: vokimon
- Created: 2015-01-13T16:35:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-04T16:13:53.000Z (almost 10 years ago)
- Last Synced: 2024-12-11T03:54:21.778Z (29 days ago)
- Language: Python
- Size: 211 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-configdb
[![Build Status](https://travis-ci.org/vokimon/python-configdb.png?branch=master)](https://travis-ci.org/vokimon/configdb)
Quick way to store db connection details out of sources.
```python
import configdb
import ooop
ooop.OOOP( configdb.configdb(required="user pwd dbname") )
...
```By default, attributes are taken from a YAML file at system
defined user configuration location. From the key (profile) 'default'.
If the file is not there, it is created with a yaml file
with null values. You have to fill them.To change the profile you can use the 'profile' keyword or
`CONFIGDB_PROFILE` environ.https://github.com/vokimon/python-configdb