Scriptconfig

Latest version: v0.8.1

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

Scan your dependencies

Page 4 of 6

0.6.5

Changed
* Config.load can now handle aliased input.

Fixed
* Fixed bug where argparse attributes were sometimes dropped.

0.6.4

Changed
* Added a metaclass to DataConfig, which means calling the decorator is no longer necessary.

0.6.3

Fixed
* Added workaround for issue with pickle-ability

0.6.2

Added
* New method: `to_omegaconf`
* Experimental `dataconf` and `DataConfig`

Changed
* Can now pass cmdline as a kwargs dict.
* Added support for `required=True`

Fixed
* Issue with custom parsers and tracking "explicitly given"

0.6.1

Changed
* Added type information
* Doc improvements

0.6.0

Added
* `smartcast` can now disable splitting by specifying `allow_split=False`
* Broken: Added `required` as an option to `Value`.

* The `short_alias` keyword to `Value`, which allows single '-' prefix chars on
the command line.

* The `port_argparse` method which takes an existing (simple) argparse CLI and
attempts to make a scriptconfig version of it.

Changed
* The `alias` keyword no expands a single argparse argument instead of making
multiple of them.
* Make numpy optional

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.