Metadata-Version: 2.4
Name: tketool.sample
Version: 1.3.4
Summary: Local, SSH, MinIO, document, and dataset sample APIs for tketool
Author-email: Ke <jiangke1207@icloud.com>
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/tketool.sample/
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.4
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.sample

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

```bash
pip install tketool.sample
```

```python
from tketool.sample import LocalDisk_NLSampleSource, SampleSet

source = LocalDisk_NLSampleSource("./data")
samples = SampleSet(source, "train")
```

New code should import from `tketool.sample`. The legacy
`tketool.mlsample` path remains available during migration.
