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

python310-simplegeneric-0.8.1-10.2 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python310-simplegeneric Distribution: openSUSE Tumbleweed
Version: 0.8.1 Vendor: openSUSE
Release: 10.2 Build date: Tue Feb 6 05:18:54 2024
Group: Unspecified Build host: reproducible
Size: 23006 Source RPM: python-simplegeneric-0.8.1-10.2.src.rpm
Packager: https://bugs.opensuse.org
Url: http://cheeseshop.python.org/pypi/simplegeneric
Summary: Simple generic functions (similar to Python's own len(), pickle.dump(), etc)
The gsimplegeneric module lets you define simple single-dispatch
generic functions, akin to Python's built-in generic functions like
glen(), iter() and so on.  However, instead of using
specially-named methods, these generic functions use simple lookup
tables, akin to those used by e.g. gpickle.dump() and other
generic functions found in the Python standard library.

As you can see from the above examples, generic functions are actually
quite common in Python already, but there is no standard way to create
simple ones.  This library attempts to fill that gap, as generic
functions are an gexcellent alternative to the Visitor pattern_, as
well as being a great substitute for most common uses of adaptation.

This library tries to be the simplest possible implementation of generic
functions, and it therefore eschews the use of multiple or predicate
dispatch, as well as avoiding speedup techniques such as C dispatching
or code generation.  But it has absolutely no dependencies, other than
Python 2.4, and the implementation is just a single Python module of
less than 100 lines.

Provides

Requires

License

ZPL-2.1

Changelog

* Tue Feb 06 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Add missing BuildRequires on setuptools.
  - Switch to pyproject macros.
  - No more greedy globs in %files.
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
  - Remove superfluous devel dependency for noarch package
* Tue Apr 25 2017 toddrme2178@gmail.com
  - Fix URL.
* Mon Apr 24 2017 toddrme2178@gmail.com
  - Implement single-spec version.
  - Update source URL.
* Thu Jan 17 2013 cfarrell@suse.com
  - license update: ZPL-2.1
    SPDX format
* Wed Jan 16 2013 saschpe@suse.de
  - Initial version

Files

/usr/lib/python3.10/site-packages/__pycache__/simplegeneric.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/simplegeneric.cpython-310.pyc
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/RECORD
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/REQUESTED
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/simplegeneric-0.8.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/simplegeneric.py
/usr/share/doc/packages/python310-simplegeneric
/usr/share/doc/packages/python310-simplegeneric/README.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Nov 16 23:53:07 2024