The idea of this package is to unify a lot of packages that make the same stuff: Take a string from os.environ, parse and cast it to some of useful python typed variables. To do that and to use the 12factor approach, some connection strings are expressed as url, so this package can parse it and return a urllib.parse.ParseResult. These strings from os.environ are loaded from a .env file and filled in os.environ with setdefault method, to avoid overwriting the real environment. A similar approach is used in Two Scoops of Django book and explained in the 12factor-Django article. django-environ is the Python package that allows you to use the Twelve-factor methodology to configure your Django application with environment variables.For that, it gives you an easy way to configure Django application using environment variables obtained from an environment file and provided by the OS.

Features

  • The idea of this package is to unify a lot of packages that make the same stuff
  • Take a string from os.environ, parse and cast it to some of useful python typed variables
  • Fast and easy multi environment for deploy
  • Fill os.environ with .env file variables
  • Variables casting
  • Url variables exploded to django specific package settings
  • Optional support for Docker-style file based config variables

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow django-environ

django-environ Web Site

You Might Also Like
SKUDONET Open Source Load Balancer Icon
SKUDONET Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

SKUDONET ADC, operates at the application layer, efficiently distributing network load and application load across multiple servers. This not only enhances the performance of your application but also ensures that your web servers can handle more traffic seamlessly.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of django-environ!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-08-30