Py-envconfig

Latest version: v0.7.0

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.4.0

- improved boolean parsing
- support for `encoding.BinaryUnmarshaler`
- `CheckDisallowed` function to validate a spec struct against the environment
- improvement to word splitting for uppercase words
- go module support!
- various error message and documentation improvements

1.3.0

- supports a `split_words` struct field tag for using underscores in env var names
- `Usage*` API for printing out usage information calculated from envconfig spec structs
- now supports maps with `key1:value1,key2:value2` syntax in environment variables

1.2.0

- targets support embedded structs
- interface for custom decoding of the env var string
- `ignored` field tag
- targets support pointer fields
- support for nested (non-embedded) structs
- exposes underlying error within `ParseError` type

1.1.0

This release adds support for slices, time.Duration, and struct tags to enable default values.

1.0.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.