composable class support for attrs and dataclasses
Project homepage: https://cattrs.rs/
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
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
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 dependencies.