cheesechaser.datapool.yande

This module provides a data pool implementation for Yande image data.

It extends the IncrementIDDataPool class to specifically handle Yande image data, utilizing a predefined Hugging Face repository for data storage and indexing.

YandeDataPool

class cheesechaser.datapool.yande.YandeDataPool(revision: str = 'main')[source]

A data pool class for managing Yande image data.

This class extends IncrementIDDataPool to provide a specialized implementation for handling Yande image data. It uses a predefined Hugging Face repository for both data storage and indexing.

Parameters:

revision (str) – The revision of the data to use, defaults to ‘main’.

Usage:
>>> yande_pool = YandeDataPool()

Note

This class assumes that both data and index information are stored in the same repository (_YANDE_REPO).

__init__(revision: str = 'main')[source]

Initialize the YandeDataPool.

Parameters:

revision (str) – The revision of the data to use, defaults to ‘main’.