Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-msgspec Fast serialization and validation library
0.22.0 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.21.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-05 00:45:12
Last Update: 2026-10-31 23:13:36
Commit Hash: b5237cb
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://msgspec.dev/
https://github.com/msgspec/msgspec
Description: #
msgspec is a fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML. It features: - High performance encoders/decoders for common protocols. The JSON and MessagePack implementations regularly benchmark as the fastest options for Python. - Support for a wide variety of Python types. Additional types may be supported through extensions. - Zero-cost schema validation using familiar Python type annotations. In benchmarks msgspec decodes and validates JSON faster than orjson can decode it alone. - A speedy Struct type for representing structured data. If you already use dataclasses or attrs, structs should feel familiar. However, they're 5-60x faster for common operations. All of this is included in a lightweight library with no required dependencies.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}msgspec>0:devel/py-msgspec@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-msgspec/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-msgspec
  • pkg install py312-msgspec
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-msgspec listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-msgspec
Package flavors (<flavor>: <package>) #
  • py312: py312-msgspec
distinfo: #
TIMESTAMP = 1791047060 SHA256 (msgspec-0.22.0.tar.gz) = 0a13624a4969159fe35d8c2a3d377b2b61bbd8585e327440d5e52725affcce38 SIZE (msgspec-0.22.0.tar.gz) = 343188

Packages (timestamps in pop-ups are UTC): #
py311-msgspec
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.19.0-
FreeBSD:14:quarterly---0.19.0-
FreeBSD:15:latest--n/a0.19.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-msgspec
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.21.10.22.0--0.22.0
FreeBSD:14:quarterly0.21.10.21.1--0.21.1
FreeBSD:15:latest0.22.00.22.0n/a-n/a
FreeBSD:15:quarterly0.21.10.21.1n/a-n/a
FreeBSD:16:latest0.21.10.22.0n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=61 : devel/py-setuptools@py312
  2. py312-setuptools-scm>=8 : devel/py-setuptools-scm@py312
  3. py312-wheel>=0 : devel/py-wheel@py312
  4. python3.12 : lang/python312
  5. py312-build>=0 : devel/py-build@py312
  6. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-tomli-w>=0 : textproc/py-tomli-w@py312
  2. py312-pyyaml>=0 : devel/py-pyyaml@py312
  3. python3.12 : lang/python312
This port is required by: #
for Build #
  1. devel/py-marimo
  2. www/py-searxng-devel
for Run #
  1. databases/py-harlequin
  2. devel/py-marimo
  3. devel/py-zarr
  4. devel/pytype
  5. misc/py-pinecone
  6. misc/py-vllm
  7. www/py-flask-session
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. www/py-litestar
  3. www/py-searxng-devel
  4. Collapse this list.
for Test #
  1. devel/py-tyro

Configuration Options: #
===> The following configuration options are available for py312-msgspec-0.22.0: TOML=on: TOML format or parser support YAML=on: YAML format or parser support ===> Use 'make config' to modify these settings
Options name: #
devel_py-msgspec
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/m/msgspec/
  2. https://pypi.org/packages/source/m/msgspec/
Collapse this list.

Number of commits found: 9 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.22.0
31 Oct 2026 23:13:36
commit hash: b5237cb688766a72a8b3c776ea1ec8d19a69b83ccommit hash: b5237cb688766a72a8b3c776ea1ec8d19a69b83ccommit hash: b5237cb688766a72a8b3c776ea1ec8d19a69b83ccommit hash: b5237cb688766a72a8b3c776ea1ec8d19a69b83c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Update to 0.22.0

- Update WWW

Changes:	https://github.com/msgspec/msgspec/releases
		https://msgspec.dev/changelog
0.21.1
27 Apr 2026 13:07:20
commit hash: 94bcc1ac94524f94b2be4045996e1430ac89d18fcommit hash: 94bcc1ac94524f94b2be4045996e1430ac89d18fcommit hash: 94bcc1ac94524f94b2be4045996e1430ac89d18fcommit hash: 94bcc1ac94524f94b2be4045996e1430ac89d18f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Update to 0.21.1

Changes:	https://github.com/jcrist/msgspec/releases
		https://jcristharif.com/msgspec/changelog.html
0.20.0
02 Dec 2025 12:07:34
commit hash: ffba54bf9d2d2fcf919697b93610d614cade4f88commit hash: ffba54bf9d2d2fcf919697b93610d614cade4f88commit hash: ffba54bf9d2d2fcf919697b93610d614cade4f88commit hash: ffba54bf9d2d2fcf919697b93610d614cade4f88 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Update to 0.20.0

Changes:	https://github.com/jcrist/msgspec/releases
		https://jcristharif.com/msgspec/changelog.html
0.19.0
01 Nov 2025 17:23:22
commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
*: Revise USES=python:... version range constraints

and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
0.19.0
02 Jan 2025 02:44:22
commit hash: 48b5d56565fc54bbd63a76f5e8190991bd142f49commit hash: 48b5d56565fc54bbd63a76f5e8190991bd142f49commit hash: 48b5d56565fc54bbd63a76f5e8190991bd142f49commit hash: 48b5d56565fc54bbd63a76f5e8190991bd142f49 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Update to 0.19.0

Changes:	https://github.com/jcrist/msgspec/releases
		https://jcristharif.com/msgspec/changelog.html
0.18.6_1
27 Nov 2024 02:33:44
commit hash: 8ac6c9349a38af859fb131563b369eb2356a179fcommit hash: 8ac6c9349a38af859fb131563b369eb2356a179fcommit hash: 8ac6c9349a38af859fb131563b369eb2356a179fcommit hash: 8ac6c9349a38af859fb131563b369eb2356a179f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Clean up
0.18.6_1
21 Jul 2024 16:55:40
commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_TOMLI

- Convert ports to use PY_TOMLI to simplify Makefile.

The minimal version is set to 2.0.1 because it is required by multiple ports
such as devel/py-poetry.
The upper bound of version is set to 3 because it is limited by devel/py-poetry.

With hat:	python
0.18.6_1
07 Jul 2024 08:05:33
commit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml

- Bump PORTREVISION of dependent ports for dependency change
0.18.6
05 Apr 2024 00:36:56
commit hash: e6ffc0453c74f48031c7820db5dc43018e043151commit hash: e6ffc0453c74f48031c7820db5dc43018e043151commit hash: e6ffc0453c74f48031c7820db5dc43018e043151commit hash: e6ffc0453c74f48031c7820db5dc43018e043151 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-msgspec: Add py-msgspec 0.18.6

msgspec is a fast serialization and validation library, with builtin support for
JSON, MessagePack, YAML, and TOML. It features:
- High performance encoders/decoders for common protocols. The JSON and
 MessagePack implementations regularly benchmark as the fastest options for
  Python.
- Support for a wide variety of Python types. Additional types may be supported
  through extensions.
- Zero-cost schema validation using familiar Python type annotations. In
  benchmarks msgspec decodes and validates JSON faster than orjson can decode it
  alone.
- A speedy Struct type for representing structured data. If you already use
  dataclasses or attrs, structs should feel familiar. However, they're 5-60x
  faster for common operations.

All of this is included in a lightweight library with no required dependencies.

Number of commits found: 9