Contents

environs 11.0.0

0

simplified environment variable parsing

simplified environment variable parsing

Stars: 1201, Watchers: 1201, Forks: 83, Open Issues: 7

The sloria/environs repo was created 8 years ago and the last code push was 5 days ago.
The project is very popular with an impressive 1201 github stars!

How to Install environs

You can install environs using pip

pip install environs

or add it to a project with poetry

poetry add environs

Package Details

Author
License
Homepage
PyPi:
https://pypi.org/project/environs/
GitHub Repo:
https://github.com/sloria/environs

Classifiers

No  environs  pypi packages just yet.

Errors

A list of common environs errors.

Code Examples

Here are some environs code examples and snippets.

GitHub Issues

The environs package has 7 open issues on GitHub

  • Variables expanding in dotenv files doesn't respect other sources of Env vars
  • Bump flake8-bugbear from 21.9.2 to 22.1.11
  • Bump mypy from 0.910 to 0.931
  • TypeError: _field2method.<locals>.method() using environs[django]
  • Add support for custom functions on subcast.
  • Accept any type as default json parser value (number 2)

See more issues on GitHub

Related Packages & Articles

python-dotenv 1.0.1

Read key-value pairs from a .env file and set them as environment variables

django-environ 0.11.2

A package that allows you to utilize 12factor inspired environment variables to configure your Django application.

config2 0.3.2

Python application configuration - highly inspired by node-config.

platformdirs 4.3.6

A small Python package for determining appropriate platform-specific dirs, e.g. a user data dir.

apispec 6.6.1

A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).