Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python312-humanfriendly | Distribution: openSUSE Tumbleweed |
Version: 10.0 | Vendor: openSUSE |
Release: 6.1 | Build date: Wed Oct 30 03:58:39 2024 |
Group: Unspecified | Build host: reproducible |
Size: 720994 | Source RPM: python-humanfriendly-10.0-6.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/xolox/python-humanfriendly | |
Summary: Human friendly input/output for text interfaces using Python |
The functions and classes in the humanfriendly package can be used to make text interfaces more user friendly. Some example features: * Parsing and formatting numbers, file sizes, pathnames and timespans in simple, human friendly formats. * Easy to use timers for long running operations, with human friendly formatting of the resulting timespans. * Prompting the user to select a choice from a list of options by typing the option’s number or a unique substring of the option. * Terminal interaction including text styling (ANSI escape sequences), user friendly rendering of usage messages and querying the terminal for its size.
MIT
* Wed Oct 30 2024 Steve Kowalik <steven.kowalik@suse.com> - Add patch support-python-313.patch: * No longer use now-removed pipes module. - Remove Python 2 leftovers. - Switch to pyproject macros. * Fri Apr 21 2023 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 Matej Cepl <mcepl@suse.com> - Make calling of %{sle15modernpython} optional. * Tue Aug 02 2022 Steve Kowalik <steven.kowalik@suse.com> - Remove unneeded BuildRequires on mock. * Fri Jul 29 2022 Steve Kowalik <steven.kowalik@suse.com> - Add patch pytest-7-support.patch: * Support pytest >= 7. * Mon Mar 21 2022 pgajdos@suse.com - do not require mock for build - added patches fix https://github.com/xolox/python-humanfriendly/issues/62 + python-humanfriendly-no-mock.patch * Thu Nov 18 2021 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> - Update to 10.0 * *Noteworthy changes:** * Merged pull request `#45`_ to resolve the issue caused by the conditional :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+. * Updated the readme to use Python 3 in the example (reported in issue `#56`_). Also added a mention of the ``humanfriendly --demo`` command. * Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is using at this point; it had been rendered useless quite a long time ago (requested in issue `#53`_). * *Internal changes:** * Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project from Travis CI to GitHub Actions and from Coveralls.io to Codecov. * Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx documentation errors. * Tue Aug 17 2021 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> - Update to 9.2 Maintenance release: * Merged pull request `#46`_ which fixes several :pypi:`flake8` warnings. * Merged pull request `#49`_ which marks Python 3.9 support final. * Merged pull request `#51`_ which helps to stabilize the test suite. * Merged pull request `#52`_ which updates the :mod:`humanfriendly.sphinx` module to include Sphinx extension metadata that has become mandatory in a recent Sphinx release. After merging the pull request I added additional metadata including the version. - from version 9.1 * Added :func:`~humanfriendly.compat.on_macos()` function to detect Apple MacOS (I need this in an upcoming :pypi:`coloredlogs` release and don't want to have to think about how to detect MacOS again in the future 😇). - from version 9.0 The major version number was bumped because the bug fix for :func:`~humanfriendly.text.pluralize()` is backwards incompatible and (even though this seems like very "cosmetic" functionality) version numbers are cheap, so who cares 😉. * *Bug fixes:** * Changed :func:`~humanfriendly.format_number()` to properly support negative numbers (as suggested in `issue #40`_). * Changed :func:`~humanfriendly.text.pluralize()` to generate "1.5 seconds" instead of "1.5 second" (as suggested in `issue #43`_). * *Enhancements:** * Enhanced :func:`~humanfriendly.text.concatenate()` to support ``conjunction`` and ``serial_comma`` keyword arguments (as suggested in `issue #30`_). * Added :func:`~humanfriendly.text.pluralize_raw()` to select singular or plural form without prefixing the count to the text that is returned. - from version 8.2 * Added a simple case insensitive dictionary implementation, for details refer to the new :mod:`humanfriendly.case` module. * Thu Apr 23 2020 Tomáš Chvátal <tchvatal@suse.com> - Fix build without python2 * Mon Mar 30 2020 Marketa Calabkova <mcalabkova@suse.com> - Update to 8.1 * Make it possible to opt out of the output capturing that :func:`humanfriendly.testing.run_cli()` sets up by default. * Improve feature parity between :class:`humanfriendly.testing.CaptureOutput` and my :pypi:`capturer` package to the point where most of the :pypi:`humanfriendly` test suite can now run without :pypi:`capturer`. * Refactored the test suite to import all names separately instead of referring to identifiers via their modules (my preferences have changed since this code was written a long time ago). * Adopt :func:`functools.wraps()` to make decorator functions more robust. * Make the :class:`~humanfriendly.terminal.spinners.Spinner` class more customizable. The interval at which spinners are updated and the characters used to draw the animation of spinners can now be customized by callers. This was triggered by `executor issue #2`_. * Improve test skipping based on exception types. * The "deprecated imports" feature provided by :mod:`humanfriendly.deprecation` has been adopted to clean up the maze of (almost but not quite) cyclic import dependencies between modules. * HTML to ANSI functionality has been extracted to a new :mod:`humanfriendly.terminal.html` module. * Support for spinners has been extracted to a new :mod:`humanfriendly.terminal.spinners` module. * The use of positional arguments to initialize :class:`~humanfriendly.terminal.spinners.Spinner` objects has been deprecated using the new :func:`humanfriendly.deprecation.deprecated_args()` decorator function. * Added the :func:`humanfriendly.deprecation.deprecated_args()` decorator function which makes it easy to switch from positional arguments to keyword arguments without dropping backwards compatibility. * Accept pluralized disk size units (`#26`_). I'm not claiming this is a full solution to the problem, far from it. It does lessen the pain a bit (IMHO). * Make sure the selected pager is available before trying to run it. While testing :pypi:`humanfriendly` on Windows 10 I noticed that ``humanfriendly * -help`` resulted in nothing but a traceback, because :man:`less` wasn't available. That's not human friendly at all 😕 (even if it is Windows 😈). * Merge pull request `#24`_: Fix bug in :func:`~humanfriendly.parse_length()` that rounded floats. * Merge pull request `#32`_: Update hyperlinks in readme. * Merge pull request `#33`_: Drop support for Python 2.6 and 3.0-3.4 * Merge pull request `#35`_: SVG badge in readme. * Merge pull request `#36`_: Add support for nanoseconds and microseconds time units * Fixed :func:`~humanfriendly.tables.format_rst_table()` omission from ``humanfriendly.tables.__all__``. * Start testing on Python 3.8 and 3.9-dev. * Emit an ANSI reset code when :func:`humanfriendly.terminal.html.HTMLConverter.close()` * Added the :func:`humanfriendly.terminal.html_to_ansi()` function which is a * Added ``humanfriendly.testing.TestCase.assertRaises()`` enhancements. * Define ``humanfriendly.text.__all__``.
/etc/alternatives/humanfriendly /usr/bin/humanfriendly /usr/bin/humanfriendly-3.12 /usr/lib/python3.12/site-packages/humanfriendly /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/INSTALLER /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/LICENSE.txt /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/METADATA /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/RECORD /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/REQUESTED /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/WHEEL /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/entry_points.txt /usr/lib/python3.12/site-packages/humanfriendly-10.0.dist-info/top_level.txt /usr/lib/python3.12/site-packages/humanfriendly/__init__.py /usr/lib/python3.12/site-packages/humanfriendly/__pycache__ /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/case.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/case.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/cli.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/cli.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/compat.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/compat.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/decorators.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/decorators.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/deprecation.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/deprecation.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/prompts.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/prompts.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/sphinx.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/sphinx.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/tables.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/tables.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/testing.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/testing.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/tests.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/tests.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/text.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/text.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/usage.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/__pycache__/usage.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/case.py /usr/lib/python3.12/site-packages/humanfriendly/cli.py /usr/lib/python3.12/site-packages/humanfriendly/compat.py /usr/lib/python3.12/site-packages/humanfriendly/decorators.py /usr/lib/python3.12/site-packages/humanfriendly/deprecation.py /usr/lib/python3.12/site-packages/humanfriendly/prompts.py /usr/lib/python3.12/site-packages/humanfriendly/sphinx.py /usr/lib/python3.12/site-packages/humanfriendly/tables.py /usr/lib/python3.12/site-packages/humanfriendly/terminal /usr/lib/python3.12/site-packages/humanfriendly/terminal/__init__.py /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__ /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/html.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/html.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/spinners.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/__pycache__/spinners.cpython-312.pyc /usr/lib/python3.12/site-packages/humanfriendly/terminal/html.py /usr/lib/python3.12/site-packages/humanfriendly/terminal/spinners.py /usr/lib/python3.12/site-packages/humanfriendly/testing.py /usr/lib/python3.12/site-packages/humanfriendly/tests.py /usr/lib/python3.12/site-packages/humanfriendly/text.py /usr/lib/python3.12/site-packages/humanfriendly/usage.py /usr/share/doc/packages/python312-humanfriendly /usr/share/doc/packages/python312-humanfriendly/README.rst /usr/share/licenses/python312-humanfriendly /usr/share/licenses/python312-humanfriendly/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 12 00:34:36 2024