Skip to main content

a minimalist config manager

Project description

env-vars

Simplified config for python projects based on starlette config

Installation

pip install env-star

Usage

from config import Config

config = Config()

MY_CONST = config(
    'MY_ENV', cast=my_callable_or_class, default=any_castable)

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

env_star-2.4.4.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

env_star-2.4.4-py3-none-any.whl (11.2 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