Sys-vars

Latest version: v5.1.0

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

Scan your dependencies

Page 1 of 2

5.1.0

- **Possible breaking change**: Loading variables from a `.env` file is only supported when installed using the `dotenv` extra (`pip install sys-vars[dotenv]`)
- Improve function signatures by explicitly adding a `default` parameter instead of using `kwargs`
- Add backtics to Python methods and types in function docstrings to indicate code elements
- Include `py.typed` file in wheel
- Replace `black` with `ruff`

**Full Changelog**: https://github.com/le717/sys-vars/compare/v5.0.0...v5.1.0

5.0.0

- Require Python 3.8+
- Remove default `SYS_VARS_PATH` value
- Key must now always be set before import
- Raises `KeyError` if missing
- Make `key` parameter positional-only
- Add additional info to `SysVarNotFoundError`
- Update Poetry project to v1.2.0+
- Update PyPi publish process

**Full Changelog**: https://github.com/le717/sys-vars/compare/v4.0.3...v5.0.0

4.0.3

- Attempt to find sys vars from an `.env` file located in `SYS_VARS_PATH`

**Full Changelog**: https://github.com/le717/sys-vars/compare/v4.0.2...v4.0.3

4.0.2

- Use typing hints actually compatible with Python 3.7
- Add typing hints stub file

**Full Changelog**: https://github.com/le717/sys-vars/compare/v4.0.1...v4.0.2

4.0.1

- Fix incorrect version number in script
- Add more info to `pyproject.toml` for building

**Full Changelog**: https://github.com/le717/sys-vars/compare/v4.0.0...v4.0.1

4.0.0

- Rename `DOCKER_SECRETS_PATH` to `SYS_VARS_PATH`

**Full Changelog**: https://github.com/le717/sys-vars/compare/v3.0.0...v4.0.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.