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

python311-cmd2-2.5.8-1.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python311-cmd2 Distribution: openSUSE:Factory:zSystems
Version: 2.5.8 Vendor: openSUSE
Release: 1.2 Build date: Wed Dec 18 18:37:07 2024
Group: Unspecified Build host: reproducible
Size: 1460639 Source RPM: python-cmd2-2.5.8-1.2.src.rpm
Packager: https://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

* 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`.
* Thu Aug 18 2022 Ben Greiner <code@bnavigator.de>
  - Update to 2.4.2
    * Updated argparse decorator to remove annotations when the
      docstring is used for a command's help text.
    * Updated unit test to be Python 3.11 compliant.
  - Clean specfile, remove coverage
* Sat Jun 04 2022 Dirk Müller <dmueller@suse.com>
  - update to 2.4.1:
    * Fixed value for `ansi.Bg.YELLOW`.
    * Fixed unit tests for `ansi.allow_style`.
    * `async_alert()` raises a `RuntimeError` if called from the main thread.
* Tue Mar 08 2022 pgajdos@suse.com
  - version update to 2.4.0
      Bug Fixes
      Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt was blank.
      Fixed issue where tab completion was quoting argparse flags in some cases.
      Enhancements
      Added broader exception handling when enabling clipboard functionality via pyperclip.
      Added PassThroughException to __init__.py imports.
      cmd2 now uses pyreadline3 when running any version of Python on Windows
      Improved memory usage in certain use cases of tables (e.g. nested colored tables)
      Deletions (potentially breaking changes)
      Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0. Use cmd2.Fg and cmd2.Bg instead.
  - python-mock is actually not required for build

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/LICENSE
/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/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__/ansi.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/ansi.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__/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__/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__/table_creator.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/cmd2/__pycache__/table_creator.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/ansi.py
/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/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/rl_utils.py
/usr/lib/python3.11/site-packages/cmd2/table_creator.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, Sun Feb 23 00:14:44 2025