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


Download files

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

Source Distribution

configa-1.1.0.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file configa-1.1.0.tar.gz.

File metadata

  • Download URL: configa-1.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

File hashes

Hashes for configa-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3f609c57e44090c3c831c554429cddcd83cc86de7537f190e71224b831e22f36
MD5 eccc64d0c8d4b7ee369ae4733c7698f9
BLAKE2b-256 31b3ef4366867bd9fd108a238c3459fc0a0211c4847458324158ef96e80e9d39

See more details on using hashes here.

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