Path to this page:
./
textproc/py-itemadapter,
Wrapper providing a common interface for objects of different types
Branch: CURRENT,
Version: 0.11.0,
Package name: py312-itemadapter-0.11.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: 23.481 KB
Version history: (Expand)
- (2025-01-30) Updated to version: py312-itemadapter-0.11.0
- (2025-01-08) Updated to version: py312-itemadapter-0.10.0
- (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
CVS history: (Expand)
2025-01-30 09:24:25 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-itemadapter: updated to 0.11.0
0.11.0 (2025-01-29)
Removed functions deprecated in 0.5.0:
* `itemadapter.utils.is_attrs_instance()`
* `itemadapter.utils.is_dataclass_instance()`
* `itemadapter.utils.is_pydantic_instance()`
* `itemadapter.utils.is_scrapy_item()`
Added support for Pydantic 2
Added `__all__` to the top-level module to improve type checks
Improved `pre-commit` and CI configuration
|
2025-01-08 11:05:47 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-itemadapter: updated to 0.10.0
0.10.0 (2024-11-29)
Dropped Python 3.8 support, added official Python 3.13 and PyPy 3.10 support
Fixed the typing check when run with Scrapy 2.12.0+
Fixed `MANIFEST.in` that was missing some files
Enabled `pre-commit`
|
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
|