Path to this page:
./
textproc/py-itemadapter,
Wrapper providing a common interface for objects of different types
Branch: CURRENT,
Version: 0.9.0,
Package name: py312-itemadapter-0.9.0,
Maintainer: pkgsrc-usersThe 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
Required to run:[
lang/python310]
Master sites:
Filesize: 18.479 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-itemadapter-0.9.0
- (2024-05-18) Updated to version: py311-itemadapter-0.9.0
- (2023-04-27) Updated to version: py310-itemadapter-0.8.0
- (2022-12-12) Updated to version: py310-itemadapter-0.7.0
- (2022-01-05) Updated to version: py39-itemadapter-0.2.0nb1
- (2021-10-07) Updated to version: py39-itemadapter-0.2.0
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-05-18 08:21:21 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-itemadapter: updated to 0.9.0
0.9.0 (2024-05-07)
Dropped Python 3.7 support, added official Python 3.12 support
Updated the documentation and the type hint about ItemAdapter.ADAPTER_CLASSES to \
say that subclasses can use any iterable, not just collections.deque
Documented that Pydantic >= 2 is not supported yet
Updated CI configuration
|
2023-04-27 11:05:50 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-itemadapter: updated to 0.8.0
0.8.0 (2023-03-30)
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
|
2022-12-12 15:17:11 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-itemadapter: updated to 0.7.0
0.7.0 (2022-08-02)
ItemAdapter.get_field_names_from_class
0.6.0 (2022-05-12)
Slight performance improvement
0.5.0 (2022-03-18)
Improve performance by removing imports inside functions
0.4.0 (2021-08-26)
Added ItemAdapter.is_item_class and ItemAdapter.get_field_meta_from_class
0.3.0 (2021-07-15)
Added built-in support for pydantic models
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2021-03-21 22:11:41 by =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= | Files touched by this commit (1) |
Log message:
py-itemadapter: Fix comment
|