./textproc/py-itemadapter, Wrapper providing a common interface for objects of different types

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q2, Version: 0.2.0, Package name: py38-itemadapter-0.2.0, Maintainer: pkgsrc-users

The ItemAdapter class is a wrapper for data container objects, providing a
common interface to handle objects of different types in an uniform manner,
regardless of their underlying implementation.

Currently supported types are:
o dict
o scrapy.item.Item
o dataclass-based classes
o attrs-based classes


Master sites:

SHA1: f3e558a38c4f50895e4845f96df3b34a7ab7b72b
RMD160: ee186ff5696cacd722fdbdae65959c7fcb47faaa
Filesize: 11.911 KB

Version history: (Expand)