--- id: msgpack-types version: "0.8.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # msgpack-types — Type stubs for msgpack License: permissive · Maintenance: active · Downloads: 794.5K/mo ## 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 above — verify before relying. Provides type stubs for msgpack to enable static type checking and IDE autocomplete when using the msgpack library. 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 pip install msgpack-types uv add msgpack-types poetry add msgpack-types ## Installing msgpack-types Before you install: Low friction install with no compiled dependencies. Actively maintained as of June 2026 with recent release activity. 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) Requires msgpack to be installed separately; type stubs alone do not provide runtime functionality. 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_current - Install friction: low - Maintenance: active - Downloads: 794.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags msgpack type stubs, msgpack static typing, msgpack mypy support, msgpack autocomplete, type hints for msgpack, msgpack type annotations, type-stubs, static-typing [View on SkillFed](https://skillfed.io/packages/msgpack-types) · [View on PyPI](https://pypi.org/project/msgpack-types/)