Port details |
- py-msgspec Fast serialization and validation library
- 0.18.6 devel =0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-04-05 00:45:12
- Last Update: 2024-04-05 00:36:56
- Commit Hash: e6ffc04
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://jcristharif.com/msgspec/
- https://github.com/jcrist/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.
- ¦ ¦ ¦ ¦
- 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.
- 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 py39-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 py39-msgspec listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-msgspec
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1712084448
SHA256 (msgspec-0.18.6.tar.gz) = a59fc3b4fcdb972d09138cb516dbde600c99d07c38fd9372a6ef500d2d031b4e
SIZE (msgspec-0.18.6.tar.gz) = 216757
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-tomli-w>=0 : textproc/py-tomli-w@py39
- py39-yaml>=0 : devel/py-yaml@py39
- python3.9 : lang/python39
- py39-tomli>=0 : textproc/py-tomli@py39
- This port is required by:
- for Run
-
- devel/pytype
Configuration Options:
- ===> The following configuration options are available for py39-msgspec-0.18.6:
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
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.18.6 05 Apr 2024 00:36:56 |
Po-Chuan Hsieh (sunpoet) |
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: 1
|