Columbo

Latest version: v0.14.0

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

Scan your dependencies

Page 2 of 3

0.10.0

Added

* Python 3.9 support ([73](https://github.com/plannigan/columbo/pull/73))
* New `Validator` signature ([37](https://github.com/plannigan/columbo/issues/37))

Changed

* Improved validation for converting question names to command line arguments ([82](https://github.com/plannigan/columbo/pull/82))

Deprecated

* Support for `Validator`s that return `Optional[str]` ([39](https://github.com/plannigan/columbo/issues/39))

0.9.0

First public release. No code changes from v0.8.0.

0.8.0

Added

* All `Interaction`s gained a `copy()` method to allow for creating slightly altered instances of an existing
`Interaction`.
* `parse_args()` and `format_cli_help()` accept an optional `parser_name` to be displayed in errors and help text.

Changed

* Stop producing universal wheels.

Fixed

* `StaticOrDynamicValue` enforces that the result of the callable must be the same type as the static type.

Removed

* `DynamicValue` is no longer exposed as a type alias.

0.7.0

Added

* `format_cli_help()` function to produce CLI help text.

Changed

* Type hints on public API. Be more restrictive when functions should not be making mutations. Be less restrictive when
functions don't rely on specific implementations.

Fixed

* `CliException` inherits from `ColumboException`.
* Raise `DuplicateQuestionNameException` if a list of interactions contains multiple questions with the same name. The
same exception is also raised when an existing answers dictionary already contains a name used by a given questions.

0.6.0

Added

* `parse_args()` function now accepts an initial dictionary of `answers`.

Fixed

* Expose additional type hints used in signatures of public API.

0.5.0

Added

* `exit_on_error` added to `parse_args()` as an optional argument. When `False`, the function will raise an exception
instead of exiting the application if the arguments can't be parsed.

Changed

* Rewrote Columbo example script text.
* Made example script stand alone.
* Test against each supported python version in CI.
* Add support for python 3.8.
* Use `prompt-toolkit` for user interaction instead of `click`.
* Mark `user_io` sub-module as private.
* Expose exception types raised by library.

Fixed

* Add `Args` class that `user_io` relies on.
* Explicit type is required for `singledispatch` on python 3.6.
* Specify minimum supported python version.

Removed

* Ability to run the module as an application.
* Dynamic loading of questions from a file.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.