Skip to main content

Quick way to store db connection details out of sources.

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 DBCONFIG_PROFILE environ.

https://github.com/vokimon/python-configdb

Metadata

Release files for configdb 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for configdb 0.1
File Size Uploaded
configdb-0.1.tar.gz 3.2 kB Details

Release files / configdb-0.1.tar.gz

Download URL configdb-0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52aed5844c0663ca71bde4f453227df13a7dfa7f07237b1ae782182e18ec9927
BLAKE2b-256 checksum
How to use checksums
be6d292f24bc8442fb395386ae03892cd82a0ee7b00424d5f14b32186babcc0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page