Scriptconfig

Latest version: v0.7.14

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

Scan your dependencies

Page 1 of 6

0.7.14

Changed
* Better error messages when parsing argv
* Add a docstring to `DataConfig`

0.7.13

Fixed
* Fix issue caused by a CPython patch https://github.com/python/cpython/pull/115674

0.7.12

Fixed
* Fixed issue of porting to argparse when object contained non-wrapped default values.

Changed
* `scfg.Flag` no longer errors if isflag is set to a truthy value.
* Rename `port_argparse` as `port_from_argparse` (old method still exists as an alias, but will be deprecated).

0.7.11

Added
* New `port_to_argparse` method that will generate text for a nearly equivalent
argparse version of the config object.

* Can now set `isflag='counter'` to get a variable that will increment on
multiple specifications of the flag.

* Added `__allow_abbrev__` control option.

Changed
* Quality of life updates to ModalConfig, autocomplete flag,
* Modified ubelt repr to be more executable
* Added `util` submodule.

Fixed
* The `.cli` classmethod no longer causes `__post_init__` to be called twice.

0.7.10

Changed
* Reduced import time
* Better handling of nested modal CLIs

0.7.9

Added
* New alternate (more concise) syntax for declaring Modal CLIs


Changed
* Change `ModalCLI.run` to `ModalCLI.main`

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.