Skip to main content

Strongly typed and validated configuration supporting multiple file types, dynamic instantiation, and environment variables

Project description

PyPI PyPI - License Documentation Github Repo

py-app-conf

Overview

Strongly typed and validated configuration supporting multiple file types, dynamic instantiation, and environment variables

Getting Started

Install py-app-conf:

pip install py-app-conf

A simple example:

import pyappconf

# Do something with pyappconf

See a more in-depth tutorial here.

Development Status

This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes.

Developing

First ensure that you have pipx installed, if not, install it with pip install pipx.

Then clone the repo and run npm install and pipenv sync. Run pipenv shell to use the virtual environment. Make your changes and then run nox to run formatting, linting, and tests.

Develop documentation by running nox -s docs to start up a dev server.

To run tests only, run nox -s test. You can pass additional arguments to pytest by adding them after --, e.g. nox -s test -- -k test_something.

Author

Created by Nick DeRobertis. MIT License.

Links

See the documentation here.

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

py-app-conf-0.6.0a2.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

py_app_conf-0.6.0a2-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

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