Skip to main content

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.

Metadata

Release files for hsk-sentences-audio 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hsk-sentences-audio 1.0.0
File Size Uploaded
hsk_sentences_audio-1.0.0.tar.gz 865.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hsk-sentences-audio 1.0.0
File Interpreter ABI Platform
hsk_sentences_audio-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / hsk_sentences_audio-1.0.0.tar.gz

Download URL hsk_sentences_audio-1.0.0.tar.gz
Size 865.7 kB
Tags Source
SHA-256 checksum
How to use checksums
00c0c1ca07f6c36ddc22568c410bc500358bafc9aa35a7fa81bbff7d5cae4228
BLAKE2b-256 checksum
How to use checksums
56429b080832afeb17950206efddcd52b8b1b450c3dd0f211d9232e97669d73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / hsk_sentences_audio-1.0.0-py3-none-any.whl

Download URL hsk_sentences_audio-1.0.0-py3-none-any.whl
Size 884.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf16cc7b48a24a10af83d377439d3c6f7571a380937f4645a1cd1590d5d0335
BLAKE2b-256 checksum
How to use checksums
cc0d6e95dc914186bf1334213ebb7c98936484aef834f46487f46154f4ae89bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page