typing-extensions


Nametyping-extensions JSON
Version 4.12.2 PyPI version JSON
download
home_pageNone
SummaryBackported and Experimental Type Hints for Python 3.8+
upload_time2024-06-07 18:52:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords annotations backport checker checking function hinting hints type typechecking typehinting typehints typing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Typing Extensions

[![Chat at https://gitter.im/python/typing](https://badges.gitter.im/python/typing.svg)](https://gitter.im/python/typing)

[Documentation](https://typing-extensions.readthedocs.io/en/latest/#) –
[PyPI](https://pypi.org/project/typing-extensions/)

## Overview

The `typing_extensions` module serves two related purposes:

- Enable use of new type system features on older Python versions. For example,
  `typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
  users on previous Python versions to use it too.
- Enable experimentation with new type system PEPs before they are accepted and
  added to the `typing` module.

`typing_extensions` is treated specially by static type checkers such as
mypy and pyright. Objects defined in `typing_extensions` are treated the same
way as equivalent forms in `typing`.

`typing_extensions` uses
[Semantic Versioning](https://semver.org/). The
major version will be incremented only for backwards-incompatible changes.
Therefore, it's safe to depend
on `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,
where `x.y` is the first version that includes all features you need.

## Included items

See [the documentation](https://typing-extensions.readthedocs.io/en/latest/#) for a
complete listing of module contents.

## Contributing

See [CONTRIBUTING.md](https://github.com/python/typing_extensions/blob/main/CONTRIBUTING.md)
for how to contribute to `typing_extensions`.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "typing-extensions",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "annotations, backport, checker, checking, function, hinting, hints, type, typechecking, typehinting, typehints, typing",
    "author": null,
    "author_email": "\"Guido van Rossum, Jukka Lehtosalo, \u0141ukasz Langa, Michael Lee\" <levkivskyi@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz",
    "platform": null,
    "description": "# Typing Extensions\n\n[![Chat at https://gitter.im/python/typing](https://badges.gitter.im/python/typing.svg)](https://gitter.im/python/typing)\n\n[Documentation](https://typing-extensions.readthedocs.io/en/latest/#) \u2013\n[PyPI](https://pypi.org/project/typing-extensions/)\n\n## Overview\n\nThe `typing_extensions` module serves two related purposes:\n\n- Enable use of new type system features on older Python versions. For example,\n  `typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows\n  users on previous Python versions to use it too.\n- Enable experimentation with new type system PEPs before they are accepted and\n  added to the `typing` module.\n\n`typing_extensions` is treated specially by static type checkers such as\nmypy and pyright. Objects defined in `typing_extensions` are treated the same\nway as equivalent forms in `typing`.\n\n`typing_extensions` uses\n[Semantic Versioning](https://semver.org/). The\nmajor version will be incremented only for backwards-incompatible changes.\nTherefore, it's safe to depend\non `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,\nwhere `x.y` is the first version that includes all features you need.\n\n## Included items\n\nSee [the documentation](https://typing-extensions.readthedocs.io/en/latest/#) for a\ncomplete listing of module contents.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/python/typing_extensions/blob/main/CONTRIBUTING.md)\nfor how to contribute to `typing_extensions`.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Backported and Experimental Type Hints for Python 3.8+",
    "version": "4.12.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/python/typing_extensions/issues",
        "Changes": "https://github.com/python/typing_extensions/blob/main/CHANGELOG.md",
        "Documentation": "https://typing-extensions.readthedocs.io/",
        "Home": "https://github.com/python/typing_extensions",
        "Q & A": "https://github.com/python/typing/discussions",
        "Repository": "https://github.com/python/typing_extensions"
    },
    "split_keywords": [
        "annotations",
        " backport",
        " checker",
        " checking",
        " function",
        " hinting",
        " hints",
        " type",
        " typechecking",
        " typehinting",
        " typehints",
        " typing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "269fad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0",
                "md5": "f5db8e1f1ab10181587cfe0b9ed1fc7f",
                "sha256": "04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"
            },
            "downloads": -1,
            "filename": "typing_extensions-4.12.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5db8e1f1ab10181587cfe0b9ed1fc7f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 37438,
            "upload_time": "2024-06-07T18:52:13",
            "upload_time_iso_8601": "2024-06-07T18:52:13.582461Z",
            "url": "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dfdbf35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557",
                "md5": "cf64c2313f5fa5eb04c1deb3fc93abe9",
                "sha256": "1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"
            },
            "downloads": -1,
            "filename": "typing_extensions-4.12.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cf64c2313f5fa5eb04c1deb3fc93abe9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 85321,
            "upload_time": "2024-06-07T18:52:15",
            "upload_time_iso_8601": "2024-06-07T18:52:15.995700Z",
            "url": "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-07 18:52:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python",
    "github_project": "typing_extensions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "typing-extensions"
}
        
Elapsed time: 0.40058s