cheesechaser.datapool.bangumibase
This module provides a data pool implementation for the BangumiBase dataset.
The BangumiBase dataset is a comprehensive collection of anime and manga information. This module extends the IncrementIDDataPool to specifically handle the BangumiBase dataset, providing an easy-to-use interface for accessing and managing this data.
BangumiBaseDataPool
- class cheesechaser.datapool.bangumibase.BangumiBaseDataPool(revision: str = 'main')[source]
- A data pool class for managing and accessing the BangumiBase dataset. - This class extends the IncrementIDDataPool to provide specific functionality for the BangumiBase dataset. It simplifies the process of initializing the data pool with the correct repository and revision information. - Parameters:
- revision (str) – The specific revision of the BangumiBase dataset to use. Defaults to ‘main’. 
 - Usage:
- >>> pool = BangumiBaseDataPool() >>> data = pool.get(1) # Retrieve data for ID 1 >>> all_ids = pool.all_ids() # Get all available IDs in the dataset