$npx skillfedfor your agent

types-orjson

Typing stubs for orjson

SkipPyPI Software DevelopmentReleased Jan 2022422.5K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_orjson-3.6.2-py3-none-any.whl
v3.6.2 · released 2022-01-07

No, unless you are using orjson older than 3.6.1. For orjson 3.6.1 and later, uninstall this package and rely on orjson's built-in type stubs instead. The package has not been updated in over 1680 days and is explicitly marked as obsolete by its own documentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only useful if you are using orjson versions older than 3.6.1; orjson 3.6.1+ includes its own type stubs, making this package redundant.
  • Low friction installation with no runtime dependencies.
  • However, the package has not been updated since January 2022 (over 1680 days ago), and the description notes that orjson has included its own type annotations since version 3.6.1, making this stub package potentially obsolete for recent orjson versions.

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0, a permissive license that allows free use, modification, and distribution with minimal restrictions—suitable for development and commercial projects.

last release 2022-01-07 (1680 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 422,513 downloads/mo, #6,781 on PyPI

Verify before relying

pip install types-orjson

# Then use with type checker (e.g., mypy)
# mypy will now recognize orjson types in your code
import orjson
data = orjson.dumps({"key": "value"})
  • Whether this stub package remains compatible with current orjson releases and whether type checkers still prefer it over orjson's built-in stubs.
  • Whether the package will receive updates to match orjson's API evolution since its last release in January 2022.
Same gist for agents: .md · .json

What it is and what it does

types-orjson is a PEP 561 type stub package that provides type hints for the orjson JSON serialization library. It allows static type checkers such as mypy, PyCharm, and pytype to understand and validate the types of orjson's functions and return values when analyzing your code. This is useful for catching type errors before runtime and improving IDE autocompletion.

However, the package is now largely superseded: orjson has included its own type annotations since version 3.6.1, making this stub package redundant for users on current orjson versions. The stub package itself has not been updated since January 2022 and relies on typeshed as its source, so it may lag behind orjson's actual API.

Use it for

  • Type-checking legacy code that uses orjson versions older than 3.6.1 with mypy or similar tools.
  • Ensuring IDE autocompletion and type hints work correctly in projects locked to older orjson releases.
  • Validating orjson usage in a codebase where the type checker does not yet recognize orjson's built-in stubs.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are using orjson older than 3.6.1.

For orjson 3.6.1 and later, uninstall this package and rely on orjson's built-in type stubs instead. The package has not been updated in over 1680 days and is explicitly marked as obsolete by its own documentation.

Install

types-orjson on PyPI

Before you install

Low friction installation with no runtime dependencies. However, the package has not been updated since January 2022 (over 1680 days ago), and the description notes that orjson has included its own type annotations since version 3.6.1, making this stub package potentially obsolete for recent orjson versions.

Only useful if you are using orjson versions older than 3.6.1; orjson 3.6.1+ includes its own type stubs, making this package redundant.

License in practice

Licensed under Apache-2.0, a permissive license that allows free use, modification, and distribution with minimal restrictions—suitable for development and commercial projects.

Quickstart

pip install types-orjson

# Then use with type checker (e.g., mypy)
# mypy will now recognize orjson types in your code
import orjson
data = orjson.dumps({"key": "value"})

Verify before relying

  • Whether this stub package remains compatible with current orjson releases and whether type checkers still prefer it over orjson's built-in stubs.
  • Whether the package will receive updates to match orjson's API evolution since its last release in January 2022.

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,680 days since the last release
Last repo commit
First released
Downloads422,513 / month, #6,781 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseTyping :: Stubs Only

Evidence: types_orjson-3.6.2-py3-none-any.whl

Tags

Capabilities
type stubs orjsonmypy type hints jsonorjson type checkingpep 561 stubsstatic type validation jsonorjson typing support
Topics
type-stubsdeprecated

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 stubs orjson”

  • types-orjsonProvides PEP 561 type stubs for the orjson package, enabling type…
  • drf-orjson-rendererProvides a high-performance JSON renderer and parser for Django REST…
  • flask-orjsonReplaces Flask's default JSON encoder with orjson, a faster JSON…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also types-attrs · types-click · types-cryptography · types-jwt · types-tornado · types-Werkzeug · types-freezegun · types-Jinja2 · types-backports · types-Flask