Metadata-Version: 2.4
Name: tketool.datasets
Version: 1.3.5
Summary: Dataset contracts and local, memory, SSH, MinIO, and document adapters for tketool
Author-email: Ke <jiangke1207@icloud.com>
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/tketool.datasets/
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: tketool.core[console]==1.3.5
Requires-Dist: paramiko<6,>=4
Requires-Dist: minio<8,>=7.2.20
Requires-Dist: numpy<3,>=1.26
Requires-Dist: prettytable<4,>=3.12
Requires-Dist: pypdf<7,>=6
Requires-Dist: docx2txt<1,>=0.9
Requires-Dist: python-docx<2,>=1.2
Provides-Extra: test
Requires-Dist: pytest<9,>=8; extra == "test"

# tketool.datasets

Dataset and sample storage APIs for local files, memory, SSH/SFTP, MinIO,
PDF, Word, and random sampling workflows.

```bash
pip install tketool.datasets
```

```python
from tketool.datasets import Dataset, LocalDatasetSource

source = LocalDatasetSource("./data")
samples = Dataset(source, "train")
```

The retired `tketool.sample` and `tketool.mlsample` paths are not shipped.
