types-emoji
Typing stubs for emoji
What it is and what it does
types-emoji is a PEP 561 type stub package that provides type information for the emoji package. It allows static type checkers like mypy, pyright, pytype, and PyCharm to understand and validate code that uses emoji, catching type errors at development time.
However, this package is now largely superseded: the description notes that emoji has included type annotations or type stubs since version 2.2.0, making types-emoji redundant for users on that version or later. The package has not been updated since 2023-03-27, and its own description recommends uninstalling it if you use emoji 2.2.0 or newer.
Use it for:
- Type-checking code that depends on emoji versions older than 2.2.0 without native stubs
- Enabling static type validation in projects locked to pre-2.2.0 emoji versions
- Adding type safety to emoji usage in codebases that require strict static analysis
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the emoji package, enabling static type checkers like mypy, pyright, and pytype to validate code that uses emoji.
No, unless you are locked to emoji versions older than 2.2.0. The package itself recommends uninstalling if you use emoji 2.2.0 or newer, and it has not been maintained since 2023-03-27. For modern emoji versions, use the native type stubs included in emoji itself.
Install
types-emoji on PyPI
pip
pip install types-emojiuv
uv add types-emojipoetry
poetry add types-emojiInstalling types-emoji
Before you install
Low install friction with no runtime dependencies. However, the package has not been updated since 2023-03-27; the description notes that emoji has included its own type stubs since version 2.2.0, making types-emoji redundant for recent versions.
License in practice
Licensed under Apache-2.0 (permissive), which allows broad use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-emoji
Then use with mypy or pyright in your project configuration to type-check code that imports emoji.
Verify before relying
- Whether the stubs remain accurate for emoji versions beyond 2.2.0
- Compatibility with the latest versions of mypy, pyright, and pytype
Package facts
| License | Apache-2.0 license (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,236 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 678,578/month — #5,374 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_emoji-2.1.0.3-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-chardetProvides type stubs for character encoding…
permissive · top 5,000 on PyPI
types-python-slugifyProvides type stubs for the python-slugify…
permissive · top 5,000 on PyPI
types-termcolorProvides type stubs for the termcolor package,…
permissive · top 15,000 on PyPI
types-PillowProvides type stubs for Pillow, enabling static…
permissive · top 5,000 on PyPI
types-tzlocalProvides type stubs for the tzlocal package,…
permissive · top 5,000 on PyPI
types-humanfriendlyProvides PEP 561 type stubs for the…
permissive · top 15,000 on PyPI
types-babelProvides type stubs for the babel package,…
permissive · top 15,000 on PyPI
types-stripeProvides type stubs for the stripe package,…
permissive · top 5,000 on PyPI
types-enum34Provides type stubs for the enum34 package,…
permissive · top 15,000 on PyPI
types-typed-astProvides type stubs for the typed-ast package,…
permissive · top 15,000 on PyPI