{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/msgspec/","markdown":"https://findsoftware.frbit.cloud/msgspec.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"msgspec","name":"msgspec","urls":{"home":"https://msgspec.dev","repository":"https://github.com/msgspec/msgspec","docs":"https://msgspec.dev"},"category":["library"],"description":"Fast serialization and validation library for Python, with built-in JSON, MessagePack, YAML and TOML support.","maintainer":"Jim Crist-Harif","firstRelease":2021,"hosting":["python"],"language":"python","runtime":["python"],"runtimeMin":"python 3.10","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"pip install msgspec, conda install msgspec -c conda-forge","licenseModel":"open-source","license":"BSD-3-Clause","currentMajor":"0","latestReleaseDate":"2026-09-29T00:00:00.000Z","githubStargazers":4225,"contributors":93,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":235,"dependentPackages":166,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://msgspec.dev/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/msgspec/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://msgspec.dev/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/msgspec/msgspec/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/msgspec/msgspec/releases?per_page=100","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/msgspec/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/msgspec/msgspec/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://msgspec.dev/install.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://msgspec.dev/install.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://msgspec.dev/install.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://msgspec.dev/install.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/msgspec/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/msgspec/msgspec/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/msgspec/msgspec/releases?per_page=100","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/msgspec/msgspec/releases/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/msgspec/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/msgspec/msgspec/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/msgspec","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"msgspec is a Python library that encodes and decodes JSON, MessagePack, YAML and TOML, and validates messages against schemas written as Python type annotations while decoding. It has no required dependencies. The project's homepage lists projects that use it, including Litestar and Sanic.\n\n## Worth knowing\n\nThe TOML and YAML protocols need optional extras that the install page names: tomli and tomli_w for TOML, and PyYAML for YAML. The docs include a porting guide from orjson."}