Skip to main content

Utilities for generating conn-check YAML configs from other sources, such as Django settings

Project description

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.

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

conn-check-configs-1.0.0.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

conn_check_configs-1.0.0-py2-none-any.whl (5.9 kB view hashes)

Uploaded Python 2

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