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')
=========
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')
Metadata
Release files for dirigible 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dirigible-0.2.7.tar.gz | 14.0 kB | Without provenance | Details |
Release files / dirigible-0.2.7.tar.gz
| Download URL | dirigible-0.2.7.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
492510b36ded20b87e5f9f38f14267646a24fcd1d49a1c1c2d0785eb666950f7
|
|
BLAKE2b-256 checksum How to use checksums |
f2d8e8e93213ec7baf40ff243c3b6fab57e09ec08f711cfcbab692850718e80f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dirigible 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.