Cyclopts

Latest version: v3.11.2

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

Scan your dependencies

Page 9 of 12

2.4.1

Bug Fixes
* fixed showing choices of list,tuples and set type annotations by OrHayat in https://github.com/BrianPugh/cyclopts/pull/123
* Handle bare tuple annotation; more robust union logic. by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/125

New Contributors
* OrHayat made their first contribution in https://github.com/BrianPugh/cyclopts/pull/123

**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.4.0...v2.4.1

2.4.0

Features
* Added `async` function support by nesb1 in https://github.com/BrianPugh/cyclopts/pull/112
* Introduces a new exception: `UnknownOptionError` (see "Breaking Changes" below).

Breaking Changes
The following outlines incredibly-minor breaking changes:
* Introduces a new exception: `UnknownOptionError`.
* Change negative-flag-assignment-exception from `ValidationError` to generic `CycloptsError` (`ValidationError` inherits from `CycloptsError`).
* e.g. `--no-flag=True` now raises `CycloptsError` instead of `ValidationError`.
* This may only impact people who were specifically catching a `ValidationError` for this in a meta-app. This is an esoteric scenario that I imagine it doesn't exist in the wild.
* Change exception for unknown option token from `ValidationError` to `UnknownOptionError`.
* I also imagine this is a rare currently-in-the-wild scenario; anyone attempting to catch this exception in a meta-app is probably catching a `CycloptsError` instead of a `ValidationError`.

Bug Fixes
* Fixed incorrectly python_variable->cli_option translated names. Addresses 110.
* Fixes indexing errors when validators/converters raise exceptions without messages.

New Contributors
* nesb1 made their first contribution in https://github.com/BrianPugh/cyclopts/pull/112

**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.3.2...v2.4.0

2.3.2

Bug Fixes
* More fixes for parsing list of tuples with insufficient arguments by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/109


**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.3.1...v2.3.2

2.3.1

Bug Fixes
* Fix `convert` of `Tuple[str]`. by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/106
* Populate missing console for some cyclopts errors by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/107
* Fix poor handling of missing or non-divisible `token_count` values. by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/108

Mentions
* Shoutout to OrHayat for the well-crafted bug reports!

**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.3.0...v2.3.1

2.3.0

Features
* Allow specifying a Rich console in App.__init__ by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/99
* Allow deleting of commands, e.g. `del app['foo']`. by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/91

**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.2.0...v2.3.0

2.2.0

What's Changed
* Added `App.help_format` which allows for rst and markdown docstring formatting. Defaults to rst. by BrianPugh in https://github.com/BrianPugh/cyclopts/pull/85


**Full Changelog**: https://github.com/BrianPugh/cyclopts/compare/v2.1.2...v2.2.0

Page 9 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.