Skip to main content

Config encryption

Project description

Dirigible
=========

Dirigible is a minimal python package the provides two shortcuts for working
with config files:

1) it can transparently read config files encrypted with Ansible Vault, and
2) shortcuts for finding and loading configs files in common locations, like
~/.{{appname}} or /etc/{{appname}}, or looking in a location specified by
an environment variable "${{appname|upper}}_CONFIG_DIR" if defined.

Examples
++++++++

Load a basic, unencrypted config file from

from os.path import join, abspath, dirname
import digible

class MyConfig(dirigible.Config):

appname = 'testapp'
defaults = join(dirname(abspath(__file__)), 'defaults')

@CachedAttr
def cfg(self):
return self.load_config_filename('myapp.cfg')

Project details


Release history Release notifications

This version
History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1

History Node

0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dirigible-0.2.7.tar.gz (14.0 kB) Copy SHA256 hash SHA256 Source None Aug 3, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page