A tiny dotenv parser that coerces values into ints, floats and booleans.
I kept rewriting the same thirty lines in every project, so I pulled them out.
pip install env-loaderfrom env_loader import envLoader
result = envLoader("example")
print(result)- No runtime dependencies outside the standard library.
- Tested on Python 3.9 and newer.
MIT