py3-cattrs-26.1.0
composable class support for attrs and dataclasses
Back to search · Project homepage
Description
cattrs is a Swiss army knife for structuring and validating data
in Python. In practice, that means it converts unstructured
dictionaries into proper classes and back, while validating their
contents.
cattrs works best with attrs classes, and dataclasses where simple
structuring works out of the box, even for nested data, without
polluting your data model with serialization details.
Package information
- Ports path
- devel/py-cattrs
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
Test
- devel/py-coverage
- devel/py-hypothesis
- devel/py-msgspec
- devel/py-test-benchmark
- devel/py-test-xdist
- net/py-cbor2
- textproc/py-orjson
- textproc/py-ujson
- devel/py-attrs
- devel/py-typing-extensions
- lang/python/3
- devel/py-test
Used by (5 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.