Cmdkit

Latest version: v2.7.5

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

Scan your dependencies

Page 1 of 3

2.7.4

The `ansi.py` module holds a collection of regular expressions
that apply automatic formatting to usage and help text with
standard syntax.

This change addresses the following:

- Section headers are generic match on capitalized word at the
start of a line ending in a colon, instead of only matching
on a list of magic words.
- Metavars (e.g., FILE, ADDR, PORT) are matched on any all-caps
word not contained by quotes, not preceded by dash; instead of
being a reserved list of magic words.
- Match any <thing> 4+ character word contained by angle brackets
instead of reserved list of magic words.
- Add small list of special list of reserved resources, including
localhost, stdin, stdout, and stderr.
- Fix option pattern to include stacked single letter options.
- Fix digit matching to include decimals, this also makes IP
addresses match like numbers (naive but works).
- Add to digit matching suffixes for count (K, M, G, T) along
with optional 'b' for bytes, case insensitive.

2.7.3

See [release notes](https://cmdkit.readthedocs.io/en/latest/blog/20231012_2_7_3_release.html).

2.7.2

This release includes a fix to a bug in the `LogRecord` extension where use of the `logging.makeLogRecord` fails because it passes a `None` for the _name_ field initially which causes an exception on the `relative_name` attribute where it was assumed to be a string.

2.7.1

The v2.7.1 release includes major new features along with numerous fixes and improvements.

* Automatic rich colorization of usage text with NO_COLOR support (see [no-color.org](https://no-color.org/)).
* Automatic platform support honoring conventions for Windows and macOS.
* Extensions to the standard logging module.
* Expose major features in top-level API.
* Various fixes and improvements.

2.6.1

- Add functionality to `Namespace` and `Configuration`
- Fix missing or broken parts of docs

2.6.0

Added `whereis` to `Namespace` and `Configuration`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.