[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965336: ITP: python-itemadapter -- Common interface for data container classes



Package: wnpp
Severity: wishlist
Owner: Andrey Rahmatullin <wrar@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : python-itemadapter
  Version         : 0.1.0
  Upstream Author : Eugenio Lacuesta <eugenio.lacuesta@gmail.com>
* URL             : https://github.com/scrapy/itemadapter
* License         : BSD-3
  Programming Lang: Python
  Description     : Common interface for data container classes

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:

* dict
* scrapy.item.Item
* dataclass-based classes
* attrs-based classes

This is a dependency for new python-scrapy versions.


Reply to: