Skip to main content

Python config wrapper, with added goodness

Project description

Convert configuration items into Python objects.

Prerequisites

Targeting Python 3 here on a Linux platform.

Note: python3 must exist in order for the project Makefile to function correctly.

Getting Started

Get the code:

$ git clone https://github.com/loum/configa.git

Build the virtual environment and download project dependencies:

$ cd configa
$ make init APP_ENV=dev

Run the tests to make sure all is OK:

$ source 3env/bin/activate
(venv) $ make tests

Build the Documentation

Project documentation is self contained under the doc/source directory. To build the documentation locally:

$ make docs

The project comes with a simple web server that allows you to present the docs from within your own environment:

$ cd docs/build
$ ./http_server.py

Note: The web server will block your CLI and all activity will be logged to the console. To end serving pages, just Ctrl-C.

To view pages, open up a web browser and navigate to http:<your_server_IP>:8888

Project details


Release history Release notifications

This version

1.1.0

Download files

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

Files for configa, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size configa-1.1.0.tar.gz (9.2 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