Profane

Latest version: v0.2.4

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

Scan your dependencies

Page 1 of 2

0.2.4

- Raise exception on invalid seed configuration (https://github.com/andrewyates/profane/pull/22)
- Support YAML config files (https://github.com/andrewyates/profane/pull/21)

0.2.3

- DBManager creates new sessions as needed

0.2.2

- Add `unfrozen_copy` method to `FrozenDict`
- SQLAlchemy checks connection status (`pool_pre_ping=True`)

0.2.1

- `file` config option: allow comments using the character
- `file` config option: expand `~` in the provided path

0.2.0

- **breaking change**: when using the string range notation, both the left and right endpoints are now included. Previously the right endpoint was excluded
- `get_module_path` accepts a `skip_config_keys` argument containing config options that will not be included in the path
- ` ModuleBase.__init__` allows config to be passed as a string, which is then converted to a config dict
- ` ModuleBase.__init__` allows provide to be passed as a list, which is converted to a dict in which keys correspond to module types. This is convenient for handling the common collection and benchmark cases where the type and dependency name are the same
- ` ModuleBase.__init__` allows provide to be passed as a single module object, which is converted to a list (and then to a dict as above)

0.1.7

- Bug: create module `self.rng` when `requires_random_seed=True`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.