---
title: "typing-extensions | pypx"
description: "Backported and Experimental Type Hints for Python 3.9+"
canonical_url: "https://pypx.app/packages/typing-extensions"
meta:
  "og:description": "Backported and Experimental Type Hints for Python 3.9+"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_typing-extensions%2Cversion_4.16.0%2Csummary_~QmFja3BvcnRlZCBhbmQgRXhwZXJpbWVudGFsIFR5cGUgSGludHMgZm9yIFB5dGhvbiAzLjkr%2Clicense_PSF-2.0%2Cp_Ii9wYWNrYWdlcy90eXBpbmctZXh0ZW5zaW9ucyI%2Cs_1mcPJsUj5ElWhxAo.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "typing-extensions 4.16.0"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_typing-extensions%2Cversion_4.16.0%2Csummary_~QmFja3BvcnRlZCBhbmQgRXhwZXJpbWVudGFsIFR5cGUgSGludHMgZm9yIFB5dGhvbiAzLjkr%2Clicense_PSF-2.0%2Cp_Ii9wYWNrYWdlcy90eXBpbmctZXh0ZW5zaW9ucyI%2Cs_1mcPJsUj5ElWhxAo.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **typing-extensions**

v4.16.0

Backported and Experimental Type Hints for Python 3.9+

45 KB Python 3.9+ py3-none-anyPSF-2.0

[** Diff **](https://pypx.app/packages/typing-extensions/diff)

`$ uv add typing-extensions`

# 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`, where `x.y` is the first version that includes all features you need. [This](https://packaging.python.org/en/latest/specifications/version-specifiers/#compatible-release) is equivalent to `typing_extensions >=x.y, <(x+1)`. Do not depend on `~= x.y.z` unless you really know what you're doing; that defeats the purpose of semantic versioning.

## 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`.

## **Details **

<dl>

<dt>Version</dt>
<dd>4.16.0</dd>

<dt>License</dt>
<dd>PSF-2.0</dd>

<dt>Python</dt>
<dd>&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>"Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee" &lt;levkivskyi@gmail.com&gt;</dd></dl>

## **Links**

- [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)
- [View on PyPI](https://pypi.org/project/typing-extensions/)

## **Release Cadence **

**3**

releases in the past year

avg 63 days between releases

## **Maintainers **

- "Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee" · [levkivskyi@gmail.com](mailto:levkivskyi@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/typing-extensions#webpage","@type":"WebPage","description":"Backported and Experimental Type Hints for Python 3.9+","name":"typing-extensions","url":"https://pypx.app/packages/typing-extensions","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/typing-extensions"]}]},{"@id":"https://pypx.app/packages/typing-extensions#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Backported and Experimental Type Hints for Python 3.9+","license":"PSF-2.0","name":"typing-extensions","softwareVersion":"4.16.0"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
