Metadata-Version: 2.3
Name: braintoken-downloader
Version: 0.1.0
Summary: Add your description here
Author: 史红光
Author-email: 史红光 <hgshi@baai.ac.cn>
Requires-Dist: baai-flagdataset-ks3util>=0.1.10
Requires-Dist: click
Requires-Dist: requests>=2.34.2
Requires-Python: >=3.12, <3.13
Description-Content-Type: text/markdown

# braintoken-downloader

Command-line download tool for braintoken.

## Install

```bash
pip install braintoken-downloader
```

## CLI

```bash
# Login
braintoken login --ak <access_key> --sk <secret_key>

# Download
braintoken download -d <dataset_id> [-s <save_path>] [-p <prefix>] [-k <key>] [-j <jobs>] [--debug] [--proxy <proxy>]
```

## SDK

```python
from braintoken_downloader import sdk

# Login
sdk.login("access_key", "secret_key")

# Download
sdk.download("dataset_id", "save_path")
```

## Development

```bash
# Install uv
make setup

# Install dependencies
uv sync

# Lint
make lint

# Test
make test

# Build
make build
```
