Our great sponsors
-
python-dotenv
Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Similarly, I use python-dotenv which reads environment variables, or variables set in a .env file. Then in your settings.py file you can do things like:
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- I create a library for managing configurations as mappings, supports .env by default
- Error - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
- Elegantly Handle Environment Variables in Python with Pydantic
- Writing unit tests, constants, and source control (GIT) question!?
- Need help running Django at a local machine after deploying it