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-1.0.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_app_conf-1.0.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file py-app-conf-1.0.0.tar.gz.

File metadata

  • Download URL: py-app-conf-1.0.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for py-app-conf-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e5413a449995be1a2229e8e91ee18c3b98079aad048ba146da2189e6692d7bb7
MD5 2b02958e1eb36c38b14f58577510d276
BLAKE2b-256 5a562869d08d14b39ee3f7973c8d84813fe2588b9513eb1298228440b5d8af5f

See more details on using hashes here.

File details

Details for the file py_app_conf-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: py_app_conf-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for py_app_conf-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fde8d2516e9b20a096be9301303ae5f280e87f2f40641eee5ee3ffb01f94d1e2
MD5 1177812b0dd477412db30b17bd248a83
BLAKE2b-256 a1d8d76ed60fd43a88824b461953c2b03dfc12aeefacd462b4c25d6544ddc718

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page