Strongly typed and validated configuration supporting multiple file types, dynamic instantiation, and environment variables
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py-app-conf-1.3.0.tar.gz
.
File metadata
- Download URL: py-app-conf-1.3.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e008ca00c5e99a13354713ad93bba561014c5f4dd7ddd5560dbea11b6d1a6be |
|
MD5 | 4de3b4de40f78c2afeacbc4dd30e2c35 |
|
BLAKE2b-256 | 8f4d20e39fd0ed5131adda28b257387fd2c1145e5add348922b14246db4a994d |
File details
Details for the file py_app_conf-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: py_app_conf-1.3.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e9d39768d24dfc0b3944036ed22fea53c5fd955086146005fed45d054d8b20 |
|
MD5 | 91c1b315b5fd0cc3df4d40f63f82fee7 |
|
BLAKE2b-256 | decf1930217e6c34f1e3497c5eeb724592caaa52a67515ed99eb6152bbcaaf85 |