Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37559209
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-cattrs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 23.1.2-alt2
Время сборки: 12 сентября 2023, 01:06 ( 32.7 недели назад )
Размер архива: 550.56 Kb

Домашняя страница:   https://pypi.org/project/cattrs

Лицензия: MIT
О пакете: Complex custom class converters for attrs.
Описание:

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, cbor, 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.

Текущий майнтейнер: Grigory Ustinov

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • python3-module-cattrs
ACL:
     
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin