Metadata-Version: 2.1 Name: singledispatch Version: 3.7.0 Summary: Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3. Home-page: https://github.com/jaraco/singledispatch Author: Jason R. Coombs Author-email: jaraco@jaraco.com License: UNKNOWN Keywords: single,dispatch,generic,functions,singledispatch,genericfunctions,decorator,backport Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Requires-Python: >=2.6 License-File: LICENSE Requires-Dist: six Requires-Dist: ordereddict ; python_version < "2.7" Provides-Extra: docs Requires-Dist: sphinx ; extra == 'docs' Requires-Dist: jaraco.packaging (>=8.2) ; extra == 'docs' Requires-Dist: rst.linker (>=1.9) ; extra == 'docs' Provides-Extra: testing Requires-Dist: pytest (>=4.6) ; extra == 'testing' Requires-Dist: pytest-flake8 ; extra == 'testing' Requires-Dist: pytest-cov ; extra == 'testing' Requires-Dist: pytest-black (>=0.3.7) ; (platform_python_implementation != "PyPy") and extra == 'testing' Requires-Dist: unittest2 ; (python_version < "3") and extra == 'testing' Requires-Dist: pytest-checkdocs (>=2.4) ; (python_version > "3.6") and extra == 'testing' .. image:: https://img.shields.io/pypi/v/singledispatch.svg :target: `PyPI link`_ .. image:: https://img.shields.io/pypi/pyversions/singledispatch.svg :target: `PyPI link`_ .. _PyPI link: https://pypi.org/project/singledispatch .. image:: https://github.com/jaraco/singledispatch/workflows/tests/badge.svg :target: https://github.com/jaraco/singledispatch/actions?query=workflow%3A%22tests%22 :alt: tests .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: Black .. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest .. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest .. image:: https://img.shields.io/badge/skeleton-2021-informational :target: https://blog.jaraco.com/skeleton `PEP 443 `_ proposed to expose a mechanism in the ``functools`` standard library module in Python 3.4 that provides a simple form of generic programming known as single-dispatch generic functions. This library is a backport of this functionality and its evolution. Refer to the `upstream documentation `_ for API guidance. To use the backport, simply use ``from singledispatch import singledispatch, singledispatchmethod`` in place of ``from functools import singledispatch, singledispatchmethod``. Maintenance ----------- This backport is maintained on Github by Jason R. Coombs, one of the members of the core CPython team: * `repository `_ * `issue tracker `_