msgpack-types
Type stubs for msgpack
Decision gist · record as of 2026-08-14
Yes, if you use msgpack and static type checking. The package is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. Install it alongside msgpack in any project using mypy or similar type checkers to gain type safety and IDE support with zero runtime cost.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires msgpack to be installed separately; type stubs alone do not provide runtime functionality.
- Low friction install with no compiled dependencies.
- Actively maintained as of June 2026 with recent release activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects including commercial work without significant restrictions.
last release 2026-06-29 (46 days) · last repo commit 2026-06-29 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 794,531 downloads/mo, #5,038 on PyPI
Alternatives
Verify before relying
pip install msgpack-types
import msgpack
data = msgpack.packb({'key': 'value'})
unpacked = msgpack.unpackb(data)- Whether type stub coverage is complete for all msgpack APIs and recent versions.
- Compatibility with type checkers other than mypy (e.g., pyright, pyre).
What it is and what it does
msgpack-types is a type stub package that adds static type information to the msgpack serialization library. It enables IDEs and type checkers like mypy to understand msgpack's API, providing autocomplete suggestions and catching type errors at development time rather than runtime.
The package is a thin wrapper around msgpack's type definitions and depends only on msgpack itself and typing-extensions for compatibility across Python versions 3.8 through 3.14. It is intended for developers who use msgpack in codebases that employ static type checking, and it has no runtime overhead—it only affects the development and type-checking experience.
Use it for
- Enable mypy type checking in projects that serialize data with msgpack.
- Get IDE autocomplete for msgpack functions and classes during development.
- Catch type mismatches in msgpack pack/unpack calls before runtime.
- Maintain type safety in data serialization pipelines that use msgpack.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use msgpack and static type checking.
The package is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. Install it alongside msgpack in any project using mypy or similar type checkers to gain type safety and IDE support with zero runtime cost.
Install
msgpack-types on PyPI
Before you install
Low friction install with no compiled dependencies. Actively maintained as of June 2026 with recent release activity.
Requires msgpack to be installed separately; type stubs alone do not provide runtime functionality.
License in practice
Apache-2.0 permissive license allows use in most projects including commercial work without significant restrictions.
Quickstart
pip install msgpack-types
import msgpack
data = msgpack.packb({'key': 'value'})
unpacked = msgpack.unpackb(data)
Verify before relying
- Whether type stub coverage is complete for all msgpack APIs and recent versions.
- Compatibility with type checkers other than mypy (e.g., pyright, pyre).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesmsgpacktyping-extensions |
| Maintenance | Actively maintained 46 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 794,531 / month, #5,038 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: msgpack_types-0.8.0-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 › “msgpack type stubs”
- msgpack-typesProvides type stubs for msgpack to enable static type checking and…
- msgpack-numpySerializes and deserializes NumPy arrays and Python complex types…
- msgpackmsgpack serializes and deserializes Python objects to and from…
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 celery-types · django-types · google-api-python-client-stubs · mypy-boto3 · djangorestframework-types · types-sqlalchemy-utils · appdirs-stubs · googleapis-common-protos-stubs · asyncpg-stubs · msgpack-python