Simple-parsing

Latest version: v0.1.6

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

Scan your dependencies

Page 2 of 3

0.1.1

What's Changed
* Add test file for utils.mutable_field function by lebrice in https://github.com/lebrice/SimpleParsing/pull/218
* Add test to illustrate enum serialization, update save/load docstrings by lebrice in https://github.com/lebrice/SimpleParsing/pull/220
* Add support for frozen dataclass instances in `subgroups` by lebrice in https://github.com/lebrice/SimpleParsing/pull/224
* Make it possible to overwrite a decoding fn for a given type by lebrice in https://github.com/lebrice/SimpleParsing/pull/232
* Improve `load`/`save`/`to_dict` (see description) by lebrice in https://github.com/lebrice/SimpleParsing/pull/233
* Literal types no longer cause a warning on decoding by norabelrose in https://github.com/lebrice/SimpleParsing/pull/221
* Add tests to confirm that 160 and 161 are fixed by lebrice in https://github.com/lebrice/SimpleParsing/pull/234

New Contributors
* norabelrose made their first contribution in https://github.com/lebrice/SimpleParsing/pull/221

**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.1.0...v0.1.1

0.1.0

What's Changed
* Update the readme to feature the `parse` api, add tests by lebrice in https://github.com/lebrice/SimpleParsing/pull/165
* Add argument prefix to simple_parsing.parse by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/175
* support `dataclasses.InitVar` for python>=3.8 by mixilchenko in https://github.com/lebrice/SimpleParsing/pull/171
* Add `main` decorator for simple parsing of entry functions by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/176
* Fix typing for sp.main decorator by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/177
* Apply pre-commit hooks to all files by lebrice in https://github.com/lebrice/SimpleParsing/pull/178
* Also parse field help string from class docstring by lebrice in https://github.com/lebrice/SimpleParsing/pull/179
* Modify forward_refs_to_types to fix issue 181 by zhiruiluo in https://github.com/lebrice/SimpleParsing/pull/182
* Update global namespaces for postponed annotations by zhiruiluo in https://github.com/lebrice/SimpleParsing/pull/183
* Add better support for HuggingFace-style dataclasses by lebrice in https://github.com/lebrice/SimpleParsing/pull/172
* Rework of the subgroups feature + Minor Refactoring by lebrice in https://github.com/lebrice/SimpleParsing/pull/185
* Remove typing-inspect dependency by lebrice in https://github.com/lebrice/SimpleParsing/pull/193
* Add test for Issue 191 (subgroup destinations bug) by lebrice in https://github.com/lebrice/SimpleParsing/pull/194
* Fix confusing `default=True` bool behavior (Fix 68) by Conchylicultor in https://github.com/lebrice/SimpleParsing/pull/190
* Allow passing `functools.partial` as entries in the `subgroups` dict by lebrice in https://github.com/lebrice/SimpleParsing/pull/196
* Fix small bug in type hints of `subgroups` fn by lebrice in https://github.com/lebrice/SimpleParsing/pull/200
* Reorder some of the methods of `ArgumentParser` by lebrice in https://github.com/lebrice/SimpleParsing/pull/202
* Fix the `Dataclass` protocol and make it typing-only by lebrice in https://github.com/lebrice/SimpleParsing/pull/207
* Fix typing of the `choice` function by lebrice in https://github.com/lebrice/SimpleParsing/pull/208
* Add Python 3.11 Support, rework `mutable_field` function by lebrice in https://github.com/lebrice/SimpleParsing/pull/213
* Adding the `simple_parsing.replace` function by zhiruiluo in https://github.com/lebrice/SimpleParsing/pull/212
* [breaking] Rework `flag` function, restrict `nargs` on bool fields by lebrice in https://github.com/lebrice/SimpleParsing/pull/206
* Fix error handling issues with `replace` function by lebrice in https://github.com/lebrice/SimpleParsing/pull/214
* Broaden `from_dict` applicability to non-Serializable dataclasses by lebrice in https://github.com/lebrice/SimpleParsing/pull/217

New Contributors
* JesseFarebro made their first contribution in https://github.com/lebrice/SimpleParsing/pull/175
* zhiruiluo made their first contribution in https://github.com/lebrice/SimpleParsing/pull/182
* Conchylicultor made their first contribution in https://github.com/lebrice/SimpleParsing/pull/190

**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.0.21...v0.1.0

0.0.21.post1

What's Changed
* Update the readme to feature the `parse` api, add tests by lebrice in https://github.com/lebrice/SimpleParsing/pull/165
* Add argument prefix to simple_parsing.parse by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/175
* support `dataclasses.InitVar` for python>=3.8 by mixilchenko in https://github.com/lebrice/SimpleParsing/pull/171
* Add `main` decorator for simple parsing of entry functions by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/176
* Fix typing for sp.main decorator by JesseFarebro in https://github.com/lebrice/SimpleParsing/pull/177
* Apply pre-commit hooks to all files by lebrice in https://github.com/lebrice/SimpleParsing/pull/178
* Also parse field help string from class docstring by lebrice in https://github.com/lebrice/SimpleParsing/pull/179
* Modify forward_refs_to_types to fix issue 181 by zhiruiluo in https://github.com/lebrice/SimpleParsing/pull/182

New Contributors
* JesseFarebro made their first contribution in https://github.com/lebrice/SimpleParsing/pull/175
* zhiruiluo made their first contribution in https://github.com/lebrice/SimpleParsing/pull/182

**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.0.21...v0.0.21.post1

0.0.21

What's Changed
* Fields with default value of `None` are treated as optional (even if type annotation is wrong) by lebrice in https://github.com/lebrice/SimpleParsing/pull/151
* Drop support for Python 3.6 by lebrice in https://github.com/lebrice/SimpleParsing/pull/153
* Add support for simple Literal fields by lebrice in https://github.com/lebrice/SimpleParsing/pull/152
* Export enums in main package __init__ by lebrice in https://github.com/lebrice/SimpleParsing/pull/155
* Add pre-commit and run on all files by lebrice in https://github.com/lebrice/SimpleParsing/pull/154
* Add better support for setting defaults from Config files by lebrice in https://github.com/lebrice/SimpleParsing/pull/158
* Fix bug in docstring parsing, docstrings inherit from bases by lebrice in https://github.com/lebrice/SimpleParsing/pull/164
* Add `parse` to __all__ for `simple_parsing.parse` by lebrice in https://github.com/lebrice/SimpleParsing/pull/170


**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.0.20...v0.0.21

0.0.20

What's Changed
* force_full_path option to use always full paths to fields as option string by ivanprado in https://github.com/lebrice/SimpleParsing/pull/117
* Include requirements.txt by thewchan in https://github.com/lebrice/SimpleParsing/pull/128
* Fix a bug introduced in 117. It affects the DASH option in the nested mode by ivanprado in https://github.com/lebrice/SimpleParsing/pull/129
* Add support for multiple nested argument subgroups by lebrice in https://github.com/lebrice/SimpleParsing/pull/136
* [subgroups] Fix bugs and save chosen subgroup name in namespace by lebrice in https://github.com/lebrice/SimpleParsing/pull/140
* Fix ser/deserialization for enums and Path by ivanprado in https://github.com/lebrice/SimpleParsing/pull/137
* Fix issue with old-style annotation and postponed types by lebrice in https://github.com/lebrice/SimpleParsing/pull/146
* Fix issue 107 (decoding of 'False' -> True) by lebrice in https://github.com/lebrice/SimpleParsing/pull/147
* argparse.SUPPRESS-like functionality for advanced uses by idoby in https://github.com/lebrice/SimpleParsing/pull/124
* Use the globals of the dataclass module when evaluating forward type annotations by lebrice in https://github.com/lebrice/SimpleParsing/pull/148

New Contributors
* thewchan made their first contribution in https://github.com/lebrice/SimpleParsing/pull/128

**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.0.19.post1...v0.0.19.post2

0.0.19.post1

What's Changed
* Fix bug with new Union syntax with postponed type annotations by lebrice in https://github.com/lebrice/SimpleParsing/pull/112
* Fix typos by kianmeng in https://github.com/lebrice/SimpleParsing/pull/116
* Fix nesting defaults (based on 113) by lebrice in https://github.com/lebrice/SimpleParsing/pull/115
* Add support for python 3.10, fix tests by lebrice in https://github.com/lebrice/SimpleParsing/pull/114
* Testing out GitHub actions instead of travis by lebrice in https://github.com/lebrice/SimpleParsing/pull/121
* Update badge on README by lebrice in https://github.com/lebrice/SimpleParsing/pull/122
* Try to run actions on PRs from forks too by lebrice in https://github.com/lebrice/SimpleParsing/pull/125
* Removed unnecessary state in ConflictResolver object. by idoby in https://github.com/lebrice/SimpleParsing/pull/123
* Fix 126, deserialization with postponed type ants by lebrice in https://github.com/lebrice/SimpleParsing/pull/127

New Contributors
* kianmeng made their first contribution in https://github.com/lebrice/SimpleParsing/pull/116

**Full Changelog**: https://github.com/lebrice/SimpleParsing/compare/v0.0.19...v0.0.19.post1

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.