# msgpack/msgpack-python

MessagePack serializer implementation for Python msgpack.org[Python]

Repository: https://github.com/msgpack/msgpack-python
Canonical: https://ross.abutalabs.com/products/msgpack-python
Homepage: https://msgpack.org/
Language: Python
License: NOASSERTION
License Family: other
Topics: python, msgpack
Last push: 2026-08-26T12:31:09+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 57, longevity 100
- inputs: {"age_days": 5491, "days_push": 7, "days_rel": 76, "gap_med": 181.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2101, forks 256 (observed 2026-08-28T04:06:13.544690+00:00)

## What it is
MessagePack serializer implementation for Python, providing CPython bindings (with a pure-Python fallback for PyPy) to read and write the efficient binary MessagePack format. It offers JSON/pickle-compatible dumps/loads aliases, streaming unpacking, and custom type encoding hooks.

## Use cases
- serialize data to a compact binary format in python
- faster and smaller alternative to json for data exchange
- unpack multiple msgpack objects from a stream
- encode custom types like datetime with msgpack
- exchange binary data between python and other languages

## When to choose
- you need fast, compact binary serialization in Python with cross-language compatibility
- you want a drop-in JSON-like API (dumps/loads) with better performance
- you need to decode msgpack data incrementally from a stream

## When to avoid
- you need human-readable output
- you only exchange data within Python and pickle suffices
- you need schema-aware serialization like protobuf

## Facets
- artifact type: library
- maturity: stable
- function: serialization
- domain: developer-tools, apis
- platform: python, cross-platform
- tags: msgpack, binary-format, json-alternative, streaming-unpacker, data-engineering

## Member repositories
- msgpack/msgpack-python (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:13.544690+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:54:18.468577+00:00, confidence not recorded.
  - readme: https://github.com/msgpack/msgpack-python (fetched 2026-08-28T04:06:13.544690+00:00, sha 7585bffbbd81)
  - homepage: https://msgpack.org/ (fetched 2026-08-29T10:34:39.090852+00:00, sha 064379d9a34c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
