Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-cmd2-3.2.2-1.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python311-cmd2 Distribution: openSUSE Tumbleweed
Version: 3.2.2 Vendor: openSUSE
Release: 1.2 Build date: Mon Feb 23 11:12:27 2026
Group: Unspecified Build host: reproducible
Size: 1254917 Source RPM: python-cmd2-3.2.2-1.2.src.rpm
Packager: http://bugs.opensuse.org
Url: https://github.com/python-cmd2/cmd2
Summary: Extra features for standard library's cmd module
Enhancements for standard library's cmd module.

Drop-in replacement adds several features for command-prompt tools:

    * Searchable command history (commands: "hi", "li", "run")
    * Load commands from file, save to file, edit commands in file
    * Multi-line commands
    * Case-insensitive commands
    * Special-character shortcut commands (beyond cmd's "@" and "!")
    * Settable environment parameters
    * Parsing commands with flags
    * > (filename), >> (filename) redirect output to file
    * < (filename) gets input from file
    * bare >, >>, < redirect to/from paste buffer
    * accepts abbreviated commands when unambiguous
    * `py` enters interactive Python console
    * test apps against sample session transcript (see example/example.py)

Provides

Requires

License

MIT

Changelog

* Mon Feb 23 2026 Dirk Müller <dmueller@suse.com>
  - update to 3.2.2:
    * Updated `rich_utils.ANSI_STYLE_SEQUENCE_RE` to only match
      ANSI SGR (Select Graphic Rendition) sequences for text styling.
    * The `async_alert` and `async_prompt_update` methods of
      `cmd2.Cmd` now respect the current value of the `allow_style`
      settable
    * If `allow_style` is `NEVER`, all style-related ANSI escape
      codes will be stripped to ensure plain text output
* Tue Feb 17 2026 Markéta Machová <mmachova@suse.com>
  - Update to 3.2.0
    * cmd2 now has a dependency on rich for rich text and pretty formatting
      in the terminal. Previously, cmd2 had a large amount of custom code
      for this purpose that predated the existence of rich.
    * Removed the legacy table_creator.py module in favor of rich tables
    * Moved most string-related functions from utils.py and ansi.py to
      string_utils.py
    * Added colors.py and styles.py to provide easy access to rich color
      names
    * cmd2 no longer has a dependency on cmd and cmd2.Cmd no longer inherits
      from cmd.Cmd
    * Fixed incompatibilities with Python 3.14.3.
    * To avoid future incompatibilities with argparse, we removed most of
      our overridden help functions.
    * Many more potentially breaking changes, see CHANGELOG.md
* Mon Sep 08 2025 Markéta Machová <mmachova@suse.com>
  - Update to 2.7.0
    * removed support for Python 3.8
    * Added support for Python 3.14
    * Added new Cmd.ppretty() method for pretty printing arbitrary
      Python data structures
    * Clarified help text for -t/--transcript argument to the history
      command
    * Added explicit support for free-threaded versions of Python,
      starting with version 3.14
    * Integrated rich-argparse with cmd2's default argparse help
      formatter (Cmd2HelpFormatter).
* Fri Jul 04 2025 Dirk Müller <dmueller@suse.com>
  - update to 2.5.11:
    * Fixed duplicated parameter tables in API documentation.
    * Fixed docstring style for MkDocs API documentation so
      parameters are displayed properly.
    * Fixed 'index out of range' error when passing no arguments to
      an argparse-based command function.
* Wed Dec 18 2024 Martin Hauke <mardnh@gmx.de>
  - Update to version 2.5.8
    Bug Fixes
    * Rolled back undocumented changes to printing functions
      introduced in 2.5.0.
* Sat Nov 23 2024 Martin Hauke <mardnh@gmx.de>
  - Update to version 2.5.7
    * Fixed issue where argument parsers for overridden commands
      were not being created..
    * Fixed issue where Cmd.ppaged() was not writing to the passed
      in destination.
* Thu Nov 14 2024 Martin Hauke <mardnh@gmx.de>
  - Update to version 2.5.6
    * Fixed type hint for with_default_category decorator which
      caused type checkers to mistype a subclass of CommandSet as a
      plain CommandSet.
  - Update to version 2.5.5
    * Fixed type hints for passing a class method to with_argparser
      and as_subcommand_to.
    * Fixed issue where set command was not always printing a
      settable's current value.
* Thu Nov 07 2024 Martin Hauke <mardnh@gmx.de>
  - Update to versino 2.5.4
    * Fixed ZeroDivisionError in async_alert() when
      shutil.get_terminal_size().columns is 0.
  - Update to version 2.5.3
    * Changed CommandSet._cmd to a read-only property which never
      returns None because it is meant to be called after the
      CommandSet is registered. This addresses type checker errors
      that occurred if CommandSet._cmd wasn't cast or checked if
      None before use.
* Sun Nov 03 2024 Martin Hauke <mardnh@gmx.de>
  - Update to version 2.5.2
    * Fixed default pytest execution when not using cmd2's custom
      invoke command via inv pytest.
  - Update to version 2.5.1
    * Fixed readline bug when using ipy command with gnureadline
      and Python 3.13.
  - Add patch:
    * cmd2-no-coverage-tests.patch
* Thu Oct 24 2024 Martin Hauke <mardnh@gmx.de>
  - Update to version 2.5.0
    Breaking Change
    * cmd2 2.5 supports Python 3.8+
      (removed support for Python 3.6 and 3.7).
    Bug Fixes
    * Fixed issue where persistent history file was not saved upon
      SIGHUP and SIGTERM signals.
    * Multiline commands are no longer fragmented in up-arrow history
    * Fixed bug where async_alert() overwrites readline's incremental
      and non-incremental search prompts.
      + This fix introduces behavior where an updated prompt won't
      display after an aborted search.
      + until a user presses Enter. See async_printing.py
      + example for how to handle this case using
      Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
    Enhancements
    * Removed dependency on attrs and replaced with dataclasses.
    * add allow_clipboard initialization parameter and attribute to
      disable ability to.
    * add output to the operating system clipboard.
    * Updated unit tests to be Python 3.13 compliant.
    * Fall back to bz2 compression of history file when lzma is not
      installed..
    * Added settable called scripts_add_to_history which determines
      whether scripts and pyscripts
    * add commands to history.
    Deletions (potentially breaking changes)
    * Removed apply_style from Cmd.pwarning().
* Sat Jan 28 2023 Dirk Müller <dmueller@suse.com>
  - update to 2.4.3:
    * Fixed ValueError caused when passing `Cmd.columnize()` strings wider than
      `display_width`.
    * Renamed `utils.str_to_bool()` -> `utils.to_bool()`.
    * Enhanced `utils.to_bool()` so that it accepts and converts `bool`, `int`,
      and `float` in addition to `str`.

Files

/usr/lib/python3.11/site-packages/cmd2
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/RECORD
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/licenses
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/licenses/LICENSE
/usr/lib/python3.11/site-packages/cmd2-0.0.0.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/cmd2/__init__.py
/usr/lib/python3.11/site-packages/cmd2/__pycache__
/usr/lib/python3.11/site-packages/cmd2/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/argparse_completer.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/argparse_completer.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/argparse_custom.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/argparse_custom.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/clipboard.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/clipboard.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/cmd2.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/cmd2.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/colors.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/colors.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/command_definition.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/command_definition.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/constants.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/constants.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/decorators.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/decorators.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/exceptions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/exceptions.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/history.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/history.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/parsing.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/parsing.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/plugin.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/plugin.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/py_bridge.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/py_bridge.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/rich_utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/rich_utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/rl_utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/rl_utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/string_utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/string_utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/styles.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/styles.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/terminal_utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/terminal_utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/transcript.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/transcript.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/cmd2/argparse_completer.py
/usr/lib/python3.11/site-packages/cmd2/argparse_custom.py
/usr/lib/python3.11/site-packages/cmd2/clipboard.py
/usr/lib/python3.11/site-packages/cmd2/cmd2.py
/usr/lib/python3.11/site-packages/cmd2/colors.py
/usr/lib/python3.11/site-packages/cmd2/command_definition.py
/usr/lib/python3.11/site-packages/cmd2/constants.py
/usr/lib/python3.11/site-packages/cmd2/decorators.py
/usr/lib/python3.11/site-packages/cmd2/exceptions.py
/usr/lib/python3.11/site-packages/cmd2/history.py
/usr/lib/python3.11/site-packages/cmd2/parsing.py
/usr/lib/python3.11/site-packages/cmd2/plugin.py
/usr/lib/python3.11/site-packages/cmd2/py.typed
/usr/lib/python3.11/site-packages/cmd2/py_bridge.py
/usr/lib/python3.11/site-packages/cmd2/rich_utils.py
/usr/lib/python3.11/site-packages/cmd2/rl_utils.py
/usr/lib/python3.11/site-packages/cmd2/string_utils.py
/usr/lib/python3.11/site-packages/cmd2/styles.py
/usr/lib/python3.11/site-packages/cmd2/terminal_utils.py
/usr/lib/python3.11/site-packages/cmd2/transcript.py
/usr/lib/python3.11/site-packages/cmd2/utils.py
/usr/share/doc/packages/python311-cmd2
/usr/share/doc/packages/python311-cmd2/CHANGELOG.md
/usr/share/doc/packages/python311-cmd2/README.md
/usr/share/licenses/python311-cmd2
/usr/share/licenses/python311-cmd2/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Mar 2 23:19:36 2026