Released 0.3.0 of dj-typed-settings, a library to help update and use settings. ๐ŸŽ‰

- Add `load_env()` to load .env files.
- Add `parse_db_url()` and `parse_cache_url()` to parse database and cache URLs.
- Add schema for Task settings.
- Validate fields that are `str | int` are actually digits.
- Add Literal types for `TEMPLATE.BACKEND`, `DATABASE.ENGINE`, `CACHE.BACKEND`, and `AUTH_PASSWORD_VALIDATOR.NAME`.

๐Ÿ› ๏ธ github.com/adamghill/dj-typed-
๐Ÿ“ฆ pypi.org/project/dj-typed-sett

0

If you have a fediverse account, you can quote this note from your own instance. Search https://indieweb.social/users/adamghill/statuses/116077574666956819 on your instance and quote it. (Note that quoting is not supported in Mastodon.)