Metadata-Version: 2.1
Name: hanzilvlib
Version: 0.1.2
Summary: A library to view contents from HanziLevelProject, plus some popular dictionaries.
Home-page: https://github.com/patarapolw/hanzilvlib
License: MIT
Keywords: hanzi,chinese
Author: Pacharapol Withayasakpunt
Author-email: patarapolw@gmail.com
Requires-Python: >=3.5
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: cjkradlib (>=0.1.1,<0.2.0)
Requires-Dist: importlib_resources (>=1.0,<2.0)
Requires-Dist: jieba (>=0.39.0,<0.40.0)
Requires-Dist: requests (>=2.19,<3.0)
Requires-Dist: ruamel.yaml (>=0.15.72,<0.16.0)
Requires-Dist: wordfreq (>=2.2,<3.0)
Description-Content-Type: text/markdown

# HanziLvLib

[![PyPI version shields.io](https://img.shields.io/pypi/v/hanzilvlib.svg)](https://pypi.python.org/pypi/hanzilvlib/)
[![PyPI license](https://img.shields.io/pypi/l/hanzilvlib.svg)](https://pypi.python.org/pypi/hanzilvlib/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/hanzilvlib.svg)](https://pypi.python.org/pypi/hanzilvlib/)

A library to view contents from [HanziLevelProject](http://hanzilevelproject.blogspot.com/#!), plus some popular dictionaries.

## Features

- Hanzi meanings, variants, [components and supercompositions](https://github.com/patarapolw/cjkradlib), sorted by [Hanzi frequency](http://lingua.mtsu.edu/chinese-computing/statistics/char/list.php?Which=MO).
- Built-in [CE-DICT](https://www.mdbg.net/chinese/dictionary) and sorted by [vocab frequency](https://pypi.org/project/wordfreq/).
- Sentences from [Chinese Sentences and audio, spoon fed](https://ankiweb.net/shared/info/867291675), and if inadequate, from [Jukuu](http://jukuu.com)

## Installation

```commandline
pip install hanzilvlib
```

## Usage

The contents are contained in two subpackages:-

- `hanzilvlib.dictionary`
- `hanzilvlib.level`

Please see [/example.ipynb](https://github.com/patarapolw/hanzilvlib/blob/master/example.ipynb).

## Related projects

- [HanziLevelUp](https://github.com/patarapolw/HanziLevelUp) - A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese.
- [CJKradlib](https://github.com/patarapolw/cjkradlib) - Generate compositions, supercompositions and variants for a given Hanzi / Kanji

