Skip to main content

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

Project description

PyPI PyPI - License Documentation Tests Run on Ubuntu Python Versions Tests Run on Macos Python Versions 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.3.0a10.tar.gz (21.5 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.3.0a10-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file py-app-conf-1.3.0a10.tar.gz.

File metadata

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

File hashes

Hashes for py-app-conf-1.3.0a10.tar.gz
Algorithm Hash digest
SHA256 acc31d53611c6a213a4b4f9354ba306213f0e6864dfbf6720055f3048add78ab
MD5 604f2f5d263fb6d27be10c627d274ae9
BLAKE2b-256 5f20dfb330f9fc2854b14ab2eb817cb1e8ed079f47de24744093ecb7b8eae52f

See more details on using hashes here.

File details

Details for the file py_app_conf-1.3.0a10-py3-none-any.whl.

File metadata

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

File hashes

Hashes for py_app_conf-1.3.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 f5979f0b5de60375511a2fb216d7767917856b34cb778caa787a968c987e2cf4
MD5 3d8bde721deb994b2b95825381ab389a
BLAKE2b-256 138ede3e62585166b1737f935c9a5f9138331d7fd6ab669944a87712db4a8e5b

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