API ReferenceΒΆ
Warning
APIs are not considered stable before 1.0 and may change or be removed between minor versions.
If you need an internal API stabilized please file an issue.
Most projects only need the bootstrap path: create a
SQLAlchemy session, run
unihan_db.bootstrap.bootstrap_unihan(), and query
unihan_db.tables.Unhn. The reference pages below split the API by the
same pipeline: load data, turn records into rows, then query the mapped tables.
Bootstrap
Data download, session helpers, and ETL options.
Importer
Transform normalized UNIHAN records into ORM objects.
Tables
SQLAlchemy ORM models for UNIHAN data.