Skip to main content

Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3.

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-2021-informational

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:

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-3.7.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: singledispatch-3.7.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for singledispatch-3.7.0.tar.gz
Algorithm Hash digest
SHA256 c1a4d5c1da310c3fd8fccfb8d4e1cb7df076148fd5d858a819e37fffe44f3092
MD5 018c4545311628b7ea6279f71ae7d004
BLAKE2b-256 1856db18b37e2e310dfc6e0903e36f40d63c01d443455e7f566ccc96c55e8267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: singledispatch-3.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for singledispatch-3.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bc77afa97c8a22596d6d4fc20f1b7bdd2b86edc2a65a4262bdd7cc3cc19aa989
MD5 2bad40f0b0c6eeef2da86ad16d2dd762
BLAKE2b-256 3f092a17c6505a8373229cb3de6161e3af74ff90afcf4516719aa6cf32fad151

See more details on using hashes here.

Supported by

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