|
Download apple_store/script/README.md from Jl-wei/PhoneWatchUI: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/datasets/Jl-wei/PhoneWatchUI/resolve/main/apple_store/script/README.md
- Command line
-
hf download hf://datasets/Jl-wei/PhoneWatchUI/apple_store/script/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Jl-wei/PhoneWatchUI/resolve/main/apple_store/script/README.md
1.5 kB
| # PhoneWatchUI: Apple App Store | |
| ## Layout | |
| ```text | |
| apple_store/ | |
| ├── dataset/ | |
| │ ├── apps.jsonl | |
| │ ├── images.jsonl | |
| │ └── images/<app_id>/{watch,phone}/<position>.png | |
| └── script/ | |
| ├── app_collect.py | |
| ├── watch_app_filter.py | |
| └── image_download.py | |
| ``` | |
| ## Fields | |
| `apps.jsonl` contains `app_id`, `store`, `title`, `description`, `source_url`, and store-specific `metadata`. | |
| `images.jsonl` contains gallery-position identity, dimensions, source URL, SHA-256, relative `image_path`, and device labels. Paths are relative to the directory containing `images.jsonl`; unavailable files have null paths. | |
| `device` is `watch` or `phone`, determined by the source gallery. `device_label_source.method` is `explicit_app_store_gallery`. See [all field definitions](../../README.md#fields). | |
| ## Usage | |
| Use Python 3.10+; these scripts require only the standard library. Run from `apple_store/`. | |
| Create `app_ids.txt` with one numeric Apple App ID per line, and choose a fresh output directory: | |
| ```sh | |
| python3 script/app_collect.py --app-ids app_ids.txt --output fresh/candidates.jsonl | |
| python3 script/watch_app_filter.py --input fresh/candidates.jsonl --output fresh/apps.jsonl | |
| python3 script/image_download.py --apps fresh/apps.jsonl --output fresh | |
| ``` | |
| The commands collect app metadata, select watch apps, and download images in order. The final output contains `apps.jsonl`, `images.jsonl`, and `images/`. Use `--help` on each script for options. | |