Pakiet: python3-cattr (23.2.3-1)
Odnośniki dla python3-cattr
Zasoby systemu Debian:
- Raporty o błędach
- Developer Information
- Dziennik zmian w systemie Debian
- Informacje nt. praw autorskich
- Śledzenie łatek systemu Debian
Pobieranie pakietu źródłowego python-cattrs:
- [python-cattrs_23.2.3-1.dsc]
- [python-cattrs_23.2.3.orig.tar.xz]
- [python-cattrs_23.2.3-1.debian.tar.xz]
Opiekun:
Zasoby zewnętrzne:
- Strona internetowa [github.com]
Podobne pakiety:
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...), uattrs 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.
Inne pakiety związane z python3-cattr
|
|
|
|
-
- dep: python3
- Interaktywny, wysokopoziomowy i obiektowy język programowania (domyślna wersja Python 3)
-
- dep: python3-attr
- Attributes without boilerplate (Python 3)
-
- dep: python3-exceptiongroup
- Backport of PEP 654 (exception groups)
- lub python3-supported-min (>= 3.11)
- Pakiet niedostępny
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
- lub python3-supported-min (>= 3.11)
- Pakiet niedostępny
Pobieranie python3-cattr
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 44,0 KiB | 242,0 KiB | [lista plików] |