typing-extensions


Nametyping-extensions JSON
Version 4.11.0 PyPI version JSON
download
home_pageNone
SummaryBackported and Experimental Type Hints for Python 3.8+
upload_time2024-04-05 12:35:47
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/f6/f3/b827b3ab53b4e3d8513914586dcca61c355fa2ce8252dea4da56e67bf8f2/typing_extensions-4.11.0.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.11.0",
    "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": "01f3936e209267d6ef7510322191003885de524fc48d1b43269810cd589ceaf5",
                "md5": "a13e9fa9c02678da7690602f04ed41ff",
                "sha256": "c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a"
            },
            "downloads": -1,
            "filename": "typing_extensions-4.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a13e9fa9c02678da7690602f04ed41ff",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 34698,
            "upload_time": "2024-04-05T12:35:44",
            "upload_time_iso_8601": "2024-04-05T12:35:44.388382Z",
            "url": "https://files.pythonhosted.org/packages/01/f3/936e209267d6ef7510322191003885de524fc48d1b43269810cd589ceaf5/typing_extensions-4.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6f3b827b3ab53b4e3d8513914586dcca61c355fa2ce8252dea4da56e67bf8f2",
                "md5": "6b89642c3d08d034dbc9f3d97c6d735d",
                "sha256": "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"
            },
            "downloads": -1,
            "filename": "typing_extensions-4.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6b89642c3d08d034dbc9f3d97c6d735d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 78744,
            "upload_time": "2024-04-05T12:35:47",
            "upload_time_iso_8601": "2024-04-05T12:35:47.093977Z",
            "url": "https://files.pythonhosted.org/packages/f6/f3/b827b3ab53b4e3d8513914586dcca61c355fa2ce8252dea4da56e67bf8f2/typing_extensions-4.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-05 12:35:47",
    "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.27622s