Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Retrieving of specific instance configuration and caching

Project description

.. _readme:

Introduction
============

Configuration reader for Minty projects, supporting both Redis and file storage
backends.

Getting started
---------------

from minty_config import Configuration
from minty_config.parser import ApacheConfigParser
from minty_config.store import FileStore, RedisStore

store = FileStore("/etc/minty")
parser = ApacheConfigParser()
configuration = Configuration(parser=parser, store=store)

# Will read "/etc/minty/foobar.com.conf"
configuration.get(name="foobar.com")

More documentation
------------------

Please see the generated documentation via CI for more information about this
module and how to contribute in our online documentation. Open index.html
when you get there:
`<https://gitlab.com/minty-python/Minty Configuration/-/jobs/artifacts/master/browse/tmp/docs?job=qa>`_


Contributing
------------

Please read `CONTRIBUTING.md <https://gitlab.com/minty-python/Minty Configuration/blob/master/CONTRIBUTING.md>`_
for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

We use `SemVer <https://semver.org/>`_ for versioning. For the versions
available, see the
`tags on this repository <https://gitlab.com/minty-python/Minty Configuration/tags/>`_

License
-------

Copyright (c) 2018, Minty Team and all persons listed in
:doc:`Contributors </CONTRIBUTORS>`

This project is licensed under the EUPL, v1.2. See the
`EUPL-1.2.txt <https://gitlab.com/minty-python/Minty Configuration/blob/master/LICENSE>`_
file for details.




Project details


Download files

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

Files for minty-config, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size minty_config-0.0.4-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size minty_config-0.0.4.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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