types-ujson
Typing stubs for ujson
Decision gist · record as of 2026-08-14
Yes, if you need static type checking for the corresponding library version 5.10.* and are on Python 3.9+. The package has low install friction and no runtime dependencies. Verify whether your library version includes built-in type stubs before installing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9.
- Intended for use with the subject package's corresponding library version 5.10.*.
- Low friction installation with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows free use, modification, and distribution in most projects without significant restriction.
last release 2025-08-22 (357 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,471,609 downloads/mo, #3,048 on PyPI
Alternatives
Verify before relying
pip install types-ujson
import types_ujson- Whether version 5.10.* remains in active use given that newer versions include built-in type annotations
- Compatibility with type checkers beyond mypy 1.17.1 and pyright 1.1.404
What it is and what it does
types-ujson is a type stub package that provides type annotations for a JSON serialization library. It allows static type checkers like mypy and pyright to understand and validate the types of function calls and return values in code that uses the library. The stubs are generated from the typeshed project and tested against mypy 1.17.1 and pyright 1.1.404.
This package contains no runtime code—it only provides metadata for type checkers. It is designed for Python 3.9 or later and targets library version 5.10.*. The package is part of the typeshed project, and all fixes and contributions should be directed there.
Use it for
- Enable mypy or pyright to type-check code that calls the library in a Python 3.9+ project.
- Catch type errors in serialization and deserialization calls before runtime.
- Provide IDE autocomplete and type hints for library methods when using a compatible editor.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need static type checking for the corresponding library version 5.10.* and are on Python 3.9+.
The package has low install friction and no runtime dependencies. Verify whether your library version includes built-in type stubs before installing.
Install
types-ujson on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14.
Requires Python >=3.9. Intended for use with the subject package's corresponding library version 5.10.*.
License in practice
Apache-2.0 permissive license allows free use, modification, and distribution in most projects without significant restriction.
Quickstart
pip install types-ujson
import types_ujson
Verify before relying
- Whether version 5.10.* remains in active use given that newer versions include built-in type annotations
- Compatibility with type checkers beyond mypy 1.17.1 and pyright 1.1.404
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 357 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,471,609 / month, #3,048 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_ujson-5.10.0.20250822-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type hints json library”
- types-ujsonProvides type hints for JSON serialization library code, enabling…
- types-simplejsonProvides type annotations for the simplejson package, enabling type…
- databind.jsonDeserializes and serializes Python dataclasses to and from JSON-like…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-simplejson · ujson · types-jsonschema · types-html5lib · types-docutils · types-grpcio-reflection · types-toml · types-jmespath · types-pyflakes · types-Markdown