Skip to main content

Used to get meanings and hangul representations of Hanja.

Project description

This Python package can be used to get information about Hanja characters:

  • the possible meanings of a Hanja character

  • the possible Hangul representations of a Hanja character


Import and use the function get_hanja_information(character) to retrieve information about a Hanja character. This function returns a tuple that contains the possible Hangul representation(s) of a Hanja character, and the meaning(s) of the Hanja character.

>>> from hanjaq import get_hanja_information
>>> get_hanja_information("字")
("자", "character, letter")

Not all Hanja characters are currently supported, only the 1800 most common ones. A tuple of empty strings is returned if the Hanja character is not recognized.

>>> from hanjaq import get_hanja_information
>>> get_hanja_information("譎")
("", "")


You can install this package using pip:

$ pip install --user hanjaq


This information was taken from a shared Anki deck called “1,800 Hancha (Hanja 한자 漢字)”, which contains the 1800 most common and important Hanja that each Korean student should know by the end of high school. This deck can be downloaded at the following URL:


This project is released under the MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hanjaq-0.0.4.tar.gz (41.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page