singledispatch


Namesingledispatch JSON
Version 4.1.0 PyPI version JSON
download
home_pagehttps://github.com/jaraco/singledispatch
SummaryBackport functools.singledispatch to older Pythons.
upload_time2023-08-28 01:40:42
maintainer
docs_urlNone
authorJason R. Coombs
requires_python>=3.8
license
keywords single dispatch generic functions singledispatch genericfunctions decorator backport
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://img.shields.io/pypi/v/singledispatch.svg
   :target: https://pypi.org/project/singledispatch

.. image:: https://img.shields.io/pypi/pyversions/singledispatch.svg

.. 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/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. 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/PROJECT_RTD/badge/?version=latest
..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2023-informational
   :target: https://blog.jaraco.com/skeleton

.. image:: https://tidelift.com/badges/package/pypi/singledispatch
   :target: https://tidelift.com/subscription/pkg/pypi-singledispatch?utm_source=pypi-singledispatch&utm_medium=readme

`PEP 443 <http://www.python.org/dev/peps/pep-0443/>`_ 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
<http://docs.python.org/3/library/functools.html#functools.singledispatch>`_
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 <https://github.com/jaraco/singledispatch>`_

* `issue tracker <https://github.com/jaraco/singledispatch/issues>`_

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 <https://tidelift.com/subscription/pkg/pypi-singledispatch?utm_source=pypi-singledispatch&utm_medium=referral&utm_campaign=github>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jaraco/singledispatch",
    "name": "singledispatch",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "single,dispatch,generic,functions,singledispatch,genericfunctions,decorator,backport",
    "author": "Jason R. Coombs",
    "author_email": "jaraco@jaraco.com",
    "download_url": "https://files.pythonhosted.org/packages/b7/6e/1f1f4067cd963dc0f5c36953dca67a12f67fd65309dbcd14f4a6c5b2b7f0/singledispatch-4.1.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/pypi/v/singledispatch.svg\n   :target: https://pypi.org/project/singledispatch\n\n.. image:: https://img.shields.io/pypi/pyversions/singledispatch.svg\n\n.. image:: https://github.com/jaraco/singledispatch/workflows/tests/badge.svg\n   :target: https://github.com/jaraco/singledispatch/actions?query=workflow%3A%22tests%22\n   :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: Code style: Black\n\n.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest\n..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2023-informational\n   :target: https://blog.jaraco.com/skeleton\n\n.. image:: https://tidelift.com/badges/package/pypi/singledispatch\n   :target: https://tidelift.com/subscription/pkg/pypi-singledispatch?utm_source=pypi-singledispatch&utm_medium=readme\n\n`PEP 443 <http://www.python.org/dev/peps/pep-0443/>`_ proposed to expose\na mechanism in the ``functools`` standard library module in Python 3.4\nthat provides a simple form of generic programming known as\nsingle-dispatch generic functions.\n\nThis library is a backport of this functionality and its evolution.\n\nRefer to the `upstream documentation\n<http://docs.python.org/3/library/functools.html#functools.singledispatch>`_\nfor API guidance. To use the backport, simply use\n``from singledispatch import singledispatch, singledispatchmethod`` in place of\n``from functools import singledispatch, singledispatchmethod``.\n\n\nMaintenance\n===========\n\nThis backport is maintained on Github by Jason R. Coombs, one of the\nmembers of the core CPython team:\n\n* `repository <https://github.com/jaraco/singledispatch>`_\n\n* `issue tracker <https://github.com/jaraco/singledispatch/issues>`_\n\nFor Enterprise\n==============\n\nAvailable as part of the Tidelift Subscription.\n\nThis 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.\n\n`Learn more <https://tidelift.com/subscription/pkg/pypi-singledispatch?utm_source=pypi-singledispatch&utm_medium=referral&utm_campaign=github>`_.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Backport functools.singledispatch to older Pythons.",
    "version": "4.1.0",
    "project_urls": {
        "Homepage": "https://github.com/jaraco/singledispatch"
    },
    "split_keywords": [
        "single",
        "dispatch",
        "generic",
        "functions",
        "singledispatch",
        "genericfunctions",
        "decorator",
        "backport"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1dd637db443dbd998b427c7c73fb083208e0e33098c028b37639784ac6eb3de4",
                "md5": "e07166eecdfb26f0869a658312b21dc6",
                "sha256": "6061bd291204beaeac90cdbc342b68d213b7a6efb44ae6c5e6422a78be351c8a"
            },
            "downloads": -1,
            "filename": "singledispatch-4.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e07166eecdfb26f0869a658312b21dc6",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 6711,
            "upload_time": "2023-08-28T01:40:40",
            "upload_time_iso_8601": "2023-08-28T01:40:40.941027Z",
            "url": "https://files.pythonhosted.org/packages/1d/d6/37db443dbd998b427c7c73fb083208e0e33098c028b37639784ac6eb3de4/singledispatch-4.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b76e1f1f4067cd963dc0f5c36953dca67a12f67fd65309dbcd14f4a6c5b2b7f0",
                "md5": "4bf163cc626caa9450856a370815c65e",
                "sha256": "f3430b886d5b4213d07d715096a75da5e4a8105284c497b9aee6d6d48bfe90cb"
            },
            "downloads": -1,
            "filename": "singledispatch-4.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4bf163cc626caa9450856a370815c65e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16942,
            "upload_time": "2023-08-28T01:40:42",
            "upload_time_iso_8601": "2023-08-28T01:40:42.411812Z",
            "url": "https://files.pythonhosted.org/packages/b7/6e/1f1f4067cd963dc0f5c36953dca67a12f67fd65309dbcd14f4a6c5b2b7f0/singledispatch-4.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-28 01:40:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jaraco",
    "github_project": "singledispatch",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "singledispatch"
}
        
Elapsed time: 0.14505s