# devel/py-cattrs - The NetBSD Packages Collection

Composable complex class support for attrs and dataclasses

    cattrs is an open source Python library for structuring and
    unstructuring data. cattrs works best with attrs classes, dataclasses
    and the usual Python collections, but other kinds of classes are
    supported by manually registering converters.

    Python has a rich set of powerful, easy to use, built-in data types
    like dictionaries, lists and tuples. These data types are also the
    lingua franca of most data serialization libraries, for formats
    like json, msgpack, yaml or toml.

    Data types like this, and mappings like dict s in particular,
    represent unstructured data. Your data is, in all likelihood,
    structured: not all combinations of field names or values are valid
    inputs to your programs. In Python, structured data is better
    represented with classes and enumerations. attrs is an excellent
    library for declaratively describing the structure of your data,
    and validating it.

    When you're handed unstructured data (by your network, file system,
    database...), cattrs helps to convert this data into structured data.
    When you have to convert your structured data into data types other
    libraries can handle, cattrs turns your classes and enumerations
    into dictionaries, integers and strings.

- Source version: `py313-cattrs-25.3.0`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://github.com/python-attrs/cattrs
- License: mit
- Package history: cvs, hg, git

## Build dependencies

devel/py-hatch-vcs devel/py-hatchling devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

devel/py-attrs devel/py-typing-extensions lang/python313 lang/python313

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | aarch64 | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | aarch64 | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | aarch64 | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64 | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64 | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64 | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64eb | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64eb | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64eb | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | aarch64eb | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | alpha | py310-cattrs-23.2.3.tgz
NetBSD 10.0 | alpha | py311-cattrs-23.2.3.tgz
NetBSD 10.0 | alpha | py312-cattrs-23.2.3.tgz
NetBSD 10.0 | alpha | py38-cattrs-23.2.3.tgz
NetBSD 10.0 | alpha | py39-cattrs-23.2.3.tgz
NetBSD 10.0 | alpha | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | alpha | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv4 | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv4 | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv6hf | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv6hf | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv6hf | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv6hf | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv6hf | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv6hf | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv6hf | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv7hf | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv7hf | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv7hf | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | earmv7hf | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv7hf | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv7hf | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | earmv7hf | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | i386 | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | i386 | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | i386 | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | i386 | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | i386 | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | i386 | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | i386 | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | m68k | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | m68k | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | m68k | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | powerpc | py310-cattrs-24.1.2.tgz
NetBSD 10.0 | powerpc | py311-cattrs-24.1.2.tgz
NetBSD 10.0 | powerpc | py312-cattrs-24.1.2.tgz
NetBSD 10.0 | powerpc | py313-cattrs-24.1.2.tgz
NetBSD 10.0 | powerpc | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | powerpc | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | powerpc | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | powerpc | py313-cattrs-25.1.1.tgz
NetBSD 10.0 | powerpc | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | powerpc | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | powerpc | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | sh3el | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | sparc64 | py310-cattrs-24.1.2.tgz
NetBSD 10.0 | sparc64 | py311-cattrs-24.1.2.tgz
NetBSD 10.0 | sparc64 | py312-cattrs-24.1.2.tgz
NetBSD 10.0 | sparc64 | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | sparc64 | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | sparc64 | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | x86_64 | py311-cattrs-25.2.0.tgz
NetBSD 10.0 | x86_64 | py312-cattrs-25.2.0.tgz
NetBSD 10.0 | x86_64 | py313-cattrs-25.2.0.tgz
NetBSD 10.0 | x86_64 | py310-cattrs-25.1.1.tgz
NetBSD 10.0 | x86_64 | py311-cattrs-25.1.1.tgz
NetBSD 10.0 | x86_64 | py312-cattrs-25.1.1.tgz
NetBSD 10.0 | x86_64 | py313-cattrs-25.1.1.tgz
NetBSD 11.0 | aarch64 | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | aarch64 | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | aarch64 | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | aarch64eb | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | aarch64eb | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | aarch64eb | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv4 | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv4 | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv6hf | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv6hf | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv6hf | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv7hf | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv7hf | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | earmv7hf | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | i386 | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | i386 | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | i386 | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | riscv64 | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | riscv64 | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | riscv64 | py313-cattrs-25.2.0.tgz
NetBSD 11.0 | x86_64 | py311-cattrs-25.2.0.tgz
NetBSD 11.0 | x86_64 | py312-cattrs-25.2.0.tgz
NetBSD 11.0 | x86_64 | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | aarch64 | py311-cattrs-25.2.0.tgz
NetBSD 9.0 | aarch64 | py312-cattrs-25.2.0.tgz
NetBSD 9.0 | aarch64 | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | aarch64 | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | aarch64 | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | aarch64 | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | aarch64 | py313-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv4 | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv4 | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv4 | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv6hf | py311-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv6hf | py312-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv6hf | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv6hf | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv6hf | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv6hf | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv6hf | py313-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv7hf | py311-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv7hf | py312-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv7hf | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | earmv7hf | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv7hf | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv7hf | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | earmv7hf | py313-cattrs-25.1.1.tgz
NetBSD 9.0 | i386 | py311-cattrs-25.2.0.tgz
NetBSD 9.0 | i386 | py312-cattrs-25.2.0.tgz
NetBSD 9.0 | i386 | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | i386 | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | i386 | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | i386 | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | i386 | py313-cattrs-25.1.1.tgz
NetBSD 9.0 | powerpc | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | powerpc | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | powerpc | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | powerpc | py313-cattrs-25.1.1.tgz
NetBSD 9.0 | x86_64 | py311-cattrs-25.2.0.tgz
NetBSD 9.0 | x86_64 | py312-cattrs-25.2.0.tgz
NetBSD 9.0 | x86_64 | py313-cattrs-25.2.0.tgz
NetBSD 9.0 | x86_64 | py310-cattrs-25.1.1.tgz
NetBSD 9.0 | x86_64 | py311-cattrs-25.1.1.tgz
NetBSD 9.0 | x86_64 | py312-cattrs-25.1.1.tgz
NetBSD 9.0 | x86_64 | py313-cattrs-25.1.1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.