Skip to main content

Backport functools.singledispatch to older Pythons.

Project description

https://img.shields.io/pypi/v/singledispatch.svg https://img.shields.io/pypi/pyversions/singledispatch.svg tests Code style: Black https://img.shields.io/badge/skeleton-2022-informational https://tidelift.com/badges/package/pypi/singledispatch

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:

For Enterprise

Available as part of the Tidelift Subscription.

This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

Learn more.

Security Contact

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

singledispatch-4.0.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

singledispatch-4.0.0-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file singledispatch-4.0.0.tar.gz.

File metadata

  • Download URL: singledispatch-4.0.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for singledispatch-4.0.0.tar.gz
Algorithm Hash digest
SHA256 f3c327a968651a7f4b03586eab7d90a07b05ff3ef7942d1967036eb9f75ab8fc
MD5 4448213ff0adf6e5ab1edc5e8747729f
BLAKE2b-256 dd633a100956b06f24b200feaadac4b37e57409fb74d6307b3dbb8d8eff033e8

See more details on using hashes here.

File details

Details for the file singledispatch-4.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for singledispatch-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b8f69397a454b45b91e2f949fcc87896c53718ca59aab6367966e8b3f010ec77
MD5 8f27a3e298de792d35829cc936fc178d
BLAKE2b-256 6c906769cbded8b783758941cad5c7fc5172e10fc6ccbd0476984d0c3e0bfbbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page