{"adoption": {"forks": 180, "observed_at": "2026-08-28T04:08:34.046226+00:00", "stars": 4063}, "canonical_url": "https://ross.abutalabs.com/products/msgspec", "card": {"archived": false, "artifact_type": "library", "description": "A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML", "domain": ["developer-tools", "apis", "backend"], "enriched": true, "function": ["serialization", "form-handling", "parser"], "health_score": 96, "homepage": "https://msgspec.dev", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["msgspec/msgspec"], "name": "msgspec/msgspec", "platform": ["python", "cross-platform", "wasm"], "pushed_at": "2026-08-12T07:35:14+00:00", "repo": "msgspec/msgspec", "stars": 4063, "tags": ["json", "msgpack", "yaml", "toml", "json-schema", "type-annotations", "structs", "high-performance", "serde", "data-engineering"], "topics": ["msgpack", "serialization", "json", "python", "validation", "deserialization", "messagepack", "json-schema", "schema", "serde", "jsonschema", "yaml", "toml", "openapi3"], "urls": [], "use_cases": ["fast json parsing in python", "validate api payloads with type annotations", "encode and decode msgpack messages", "replace dataclasses with faster structs", "generate json schema from python types", "parse toml config files", "deserialize yaml into typed objects"], "what_it_is": "msgspec is a fast Python serialization and validation library supporting JSON, MessagePack, YAML, and TOML. It combines high-performance encoders/decoders with zero-cost schema validation using Python type annotations and a speedy Struct type.", "when_to_avoid": ["you need advanced validation features like pydantic's validators or custom constraints", "you're on Python < 3.10", "you need serialization formats beyond JSON, MessagePack, YAML, and TOML"], "when_to_choose": ["you need the fastest JSON or MessagePack encoding/decoding in Python", "you want validation integrated into deserialization with no extra dependencies", "you need a lightweight alternative to pydantic for message schemas", "you're porting from orjson and want validation included"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/msgspec", "repo": "msgspec/msgspec", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.046226+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:34.315374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "863751d0e271969ce58713b157d6db5b87492550617993660939ecf269fc73bb", "fetched_at": "2026-08-28T04:08:34.046226+00:00", "kind": "readme", "missing": false, "url": "https://github.com/msgspec/msgspec"}, {"content_hash": "588b4df46d756a64b1258e839bbd68dea287a35b3b815d9b48c708f2c55a658d", "fetched_at": "2026-08-29T09:15:50.929534+00:00", "kind": "homepage", "missing": false, "url": "https://msgspec.dev"}, {"content_hash": "674877366507bd189b61870b63eedbd395032218f53baded7a27cc159a8edbf3", "fetched_at": "2026-08-29T09:15:50.939139+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/install.html"}, {"content_hash": "bfacbe6085ed199a0ee09b75bdd04a5fc48fd97fc27c812a9b5bfeb6f1cfaf97", "fetched_at": "2026-08-29T09:15:50.941588+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/api.html"}, {"content_hash": "da192846d77e7d6ce7506671d168430ba540b514ea1d5ffe0118134c550430b9", "fetched_at": "2026-08-29T09:15:50.945079+00:00", "kind": "site_page", "missing": false, "url": "https://msgspec.dev/changelog.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 55}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2045, "days_push": 21, "days_rel": 143, "gap_med": 135, "n_releases_24m": 4}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}