This is a set of Python modules and utilities for generating conn-check config YAML from other sources, such as Django settings modules.
Supported sources
Django settings modules
Usage
Django
You can export common settings from a Django application using the conn-check-django command line utility, which takes the following arguments:
-m, –settings-module: the Python module for Django to import.
-d, –database-name: the database schema name if not set as NAME in the Django settings.
Followed by a path to the generated YAML file, for example:
$ conn-check-django -m myapp.settings /tmp/myapp-conncheck.yaml $ conn-check /tmp/myapp-conncheck.yaml
Building wheels
To allow for easier/more portable distribution of this tool you can build conn-check-configs and all it’s dependencies as Python wheels:
make clean-wheels make build-wheels
The build-wheels make target will build conn-check-configs and it’s base dependencies.
By default all the wheels will be placed in ./wheels.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conn-check-configs-1.0.0.tar.gz.
File metadata
- Download URL: conn-check-configs-1.0.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85fd2270cf9ac71a18e4a6499d166e459b8aefb0f1d5562842524ff8aa120aad
|
|
| MD5 |
128a2ea9ec5513acdfdb730b6740a3a2
|
|
| BLAKE2b-256 |
967df6b53c53e5f435434c8c00fab572930c8bddca196264647cb2a1521ff9bb
|
File details
Details for the file conn_check_configs-1.0.0-py2-none-any.whl.
File metadata
- Download URL: conn_check_configs-1.0.0-py2-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975f9eab593749ad3bcfb4a603ed52c29b3690826f46bfc2489881774ca7c5ca
|
|
| MD5 |
39b2ee8ca851d95795a11d70e8a5b880
|
|
| BLAKE2b-256 |
279d6ad1d6467f9be2fcc62d279704a8a9fceddb630f2da635e4bbe7407ed517
|