ItemAdapter class is a wrapper for data container objects

Edit Package python-itemadapter

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

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
itemadapter-0.8.0.tar.gz 0000017140 16.7 KB
python-itemadapter.changes 0000002383 2.33 KB
python-itemadapter.spec 0000002310 2.26 KB
Revision 4 (latest revision is 6)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1131744 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 4)
- update to 0.8.0:
  * Dropped Python 3.6 support, and made Python 3.11 support
    official
  * It is now possible to declare custom `ItemAdapter` subclasses
    with their own `ADAPTER_CLASSES` attribute, allowing to
    support different item types in different parts of the same
    code base
  * Improved type hint support

  Improve performance by removing imports inside functions (#60)
- Disable python36 build due to Scrapy
Comments 0
openSUSE Build Service is sponsored by