Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python3-pampy | Distribution: SUSE Linux Enterprise 15 SP5 |
Version: 0.3.0 | Vendor: openSUSE |
Release: bp155.2.10 | Build date: Mon May 22 13:11:13 2023 |
Group: Development/Languages/Python | Build host: lamb01 |
Size: 66954 | Source RPM: python-pampy-0.3.0-bp155.2.10.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/santinic/pampy | |
Summary: An alternate pattern matching for Python |
For patterns, a developer can use any Python type, any class, or any Python value. The operator `_` and built-in types like `int` or `str`, extract variables that are passed to functions. Types and Classes are matched via `instanceof(value, pattern)`. `Iterable` Patterns match recursively through all their elements. The same goes for dictionaries.
MIT
* Wed Mar 11 2020 Marketa Calabkova <mcalabkova@suse.com> - update to version 0.3.0 * Add type annotations support for matching * Add support for callables which return Tuple[bool, List] * Make match_value not depend on itself and add datetime example * Add Enum support for matching * Fri Jan 18 2019 Tomáš Chvátal <tchvatal@suse.com> - Do not distribute tests on the system * Mon Jan 07 2019 Tomáš Chvátal <tchvatal@suse.com> - Run tests - Install license file - Update to 0.2.1: * support python 3.7 * Fri Jan 04 2019 Jan Engelhardt <jengelh@inai.de> - Trim rhetorics from description. * Mon Dec 17 2018 Matej Cepl <mcepl@suse.com> - Initial packaging effort
/usr/lib/python3.6/site-packages/pampy /usr/lib/python3.6/site-packages/pampy-0.3.0-py3.6.egg-info /usr/lib/python3.6/site-packages/pampy-0.3.0-py3.6.egg-info/PKG-INFO /usr/lib/python3.6/site-packages/pampy-0.3.0-py3.6.egg-info/SOURCES.txt /usr/lib/python3.6/site-packages/pampy-0.3.0-py3.6.egg-info/dependency_links.txt /usr/lib/python3.6/site-packages/pampy-0.3.0-py3.6.egg-info/top_level.txt /usr/lib/python3.6/site-packages/pampy/__init__.py /usr/lib/python3.6/site-packages/pampy/__pycache__ /usr/lib/python3.6/site-packages/pampy/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/pampy/__pycache__/__init__.cpython-36.pyc /usr/lib/python3.6/site-packages/pampy/__pycache__/helpers.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/pampy/__pycache__/helpers.cpython-36.pyc /usr/lib/python3.6/site-packages/pampy/__pycache__/pampy.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/pampy/__pycache__/pampy.cpython-36.pyc /usr/lib/python3.6/site-packages/pampy/helpers.py /usr/lib/python3.6/site-packages/pampy/pampy.py /usr/share/doc/packages/python3-pampy /usr/share/doc/packages/python3-pampy/README.md /usr/share/licenses/python3-pampy /usr/share/licenses/python3-pampy/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 13:21:55 2025