Python loader for 4,354 HSK 3.0 graded Chinese sentences with pinyin, glosses, grammar tags, and dual-speed audio URLs.
Project description
hsk-sentences-audio
Dependency-free Python loader for 4,354 HSK 3.0 graded Chinese sentences.
from hsk_sentences_audio import audio_url, iter_sentences, load_sentences
print(len(load_sentences()))
card = next(iter_sentences(level=2, topic="food"))
print(card["chinese"], audio_url(card, speed="slow"))
The wheel contains the 6.1 MB JSON dataset, not the 169 MB audio collection.
Audio URLs default to the repository's hosted dist/ assets; pass base_url
to use your own CDN.
Code is MIT. The packaged dataset is CC-BY-SA-4.0; retain attribution when
redistributing it. Full provenance is in the repository's ATTRIBUTION.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hsk_sentences_audio-1.0.0.tar.gz.
File metadata
- Download URL: hsk_sentences_audio-1.0.0.tar.gz
- Upload date:
- Size: 865.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00c0c1ca07f6c36ddc22568c410bc500358bafc9aa35a7fa81bbff7d5cae4228
|
|
| MD5 |
c9cbac6d4c32f496f786cd825e16a8c3
|
|
| BLAKE2b-256 |
56429b080832afeb17950206efddcd52b8b1b450c3dd0f211d9232e97669d73e
|
File details
Details for the file hsk_sentences_audio-1.0.0-py3-none-any.whl.
File metadata
- Download URL: hsk_sentences_audio-1.0.0-py3-none-any.whl
- Upload date:
- Size: 884.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bf16cc7b48a24a10af83d377439d3c6f7571a380937f4645a1cd1590d5d0335
|
|
| MD5 |
b3230944325f8189407a223a2ecbe78d
|
|
| BLAKE2b-256 |
cc0d6e95dc914186bf1334213ebb7c98936484aef834f46487f46154f4ae89bd
|