Magiconfig

Latest version: v2.4.2

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

Scan your dependencies

Page 2 of 3

2.1.0

* fix bug to allow calling `set_config_options()` if `config_options` were not initially provided when initializing the parser
* add function `copy_config_options()`
* update documentation

2.0.0

Second major release with modifications to the API, new features, and improvements:
* improved handling of config-only arguments:
* new accessors `add_config_only()`, `remove_config_only()`
* support for required config-only args
* inclusion in help message
* checks for collisions between regular dests and config-only args
* `MagiConfigError` exception class
* `write_config()` can specify default obj name
* `remove_argument()` function added
* `ArgumentDefaultsRawHelpFormatter` convenience class (imported from ConfigArgParse)
* README rewritten and improved
* Slight improvements in examples

1.2.0

* optional command-line arguments in config settings to toggle strictness: `strict_args`, `strict_help`
* allow changing config options after initialization: `set_config_options()`
* support positional config args
* fix help and usage messages (result of significant behind-the-scenes improvements)
* configurable dests for config parameters: `dest`, `obj_dest`, `strict_dest`

1.1.0

Add new feature `obj_arg`, custom help messages for config and obj arguments, and a new example.

1.0.2

Another fix for PyPI.

1.0.1

Fix a typo in README.md and fix PyPI distribution.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.