https://github.com/vokimon/python-configdb
A simple package to hold apart db configuration data
https://github.com/vokimon/python-configdb
Last synced: 4 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-04T16:13:53.000Z (over 10 years ago)
- Last Synced: 2025-02-08T12:27:46.177Z (5 months 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
[](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