Collectibles
A library to manage collections (lists, dictionaries and tuples) of dataclasses and pydantic models. A dataclasses-style syntax automatically creates the methods for retrieving collections of your dataclass attributes without having to write the boilerplate comprehensions.
The library is fully typed so your IDE will thank you 😄
Installation
pip install collectibles
Usage
See examples.py for a full example.
Contributions
Contributions are welcome! Please open an issue or a PR. We're currently looking to increase our support for Pydantic 1.x and 2.x models.
Metadata
Release files for collectibles 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collectibles-0.1.5.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| collectibles-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / collectibles-0.1.5.tar.gz
| Download URL | collectibles-0.1.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2177b0243c53b8b28c671031fd598ac4f33f1b2811e91f5ade31f044e1b346c
|
|
BLAKE2b-256 checksum How to use checksums |
ac5b8c8e2607de32b3ae96901a6b495d93cc14aac9cc392011be6a6e1cd4ded4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.10 Darwin/23.5.0
|
Release files / collectibles-0.1.5-py3-none-any.whl
| Download URL | collectibles-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6870035c6e50d24531be812529b6e0f74cc71a0eb25edc4b8ed6165840528d2
|
|
BLAKE2b-256 checksum How to use checksums |
33bb5796180b0df53d97ed5fea06f168c443616d32108b6aedd996d99a956653
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.10 Darwin/23.5.0
|