Command line frontend for the cihai CJK language library
Project description
cihai-cli - Command line interface to the cihai CJK-language library
This project is under active development. Follow our progress and check back for updates!
Installation
$ pip install --user cihai-cli
Character lookup
See CLI in the documentation for full usage information.
$ cihai info 好
char: 好
kCantonese: hou2 hou3
kDefinition: good, excellent, fine; well
kHangul: 호
kJapaneseOn: KOU
kKorean: HO
kMandarin: hǎo
kTang: '*xɑ̀u *xɑ̌u'
kTotalStrokes: '6'
ucn: U+597D
# retrieve all character information (including book indices)
$ cihai info 好 -a
char: 好
kCangjie: VND
kCantonese: hou2 hou3
kCihaiT: '378.103'
kDefinition: good, excellent, fine; well
kFenn: 552A
kFourCornerCode: '4744.7'
kFrequency: '1'
kGradeLevel: '1'
kHKGlyph: 0871
kHangul: 호
kHanyuPinlu: hǎo(6060) hāo(142) hào(115)
kHanyuPinyin: 21028.010:hǎo,hào
kJapaneseKun: KONOMU SUKU YOI
kJapaneseOn: KOU
kKorean: HO
kMandarin: hǎo
kPhonetic: '481'
kRSAdobe_Japan1_6: C+1975+38.3.3 C+1975+39.3.3
kRSKangXi: '38.3'
kTang: '*xɑ̀u *xɑ̌u'
kTotalStrokes: '6'
kVietnamese: háo
kXHC1983: 0445.030:hǎo 0448.030:hào
ucn: U+597D
Reverse lookup
$ cihai reverse library
char: 圕
kCantonese: syu1
kDefinition: library
kJapaneseOn: TOSHOKAN SHO
kMandarin: tú
kTotalStrokes: '13'
ucn: U+5715
--------
char: 嫏
kCantonese: long4
kDefinition: the place where the supreme stores his books; library
kJapaneseOn: ROU
kMandarin: láng
kTotalStrokes: '11'
ucn: U+5ACF
--------
Partial match within any field:
$ cihai reverse hào
char: 㕸
kCantonese: lai6 lap1 lap6
kDefinition: sound of rolling a boat
kMandarin: lì
kTotalStrokes: '8'
ucn: U+3578
--------
char: 㘞
kCantonese: deot1
kDefinition: sound of yelling while towing a boat; (Sanskrit) to call out
kMandarin: huò
kTotalStrokes: '5'
ucn: U+361E
--------
char: 㚓
kCantonese: loi4 loi4
kDefinition: tie-beams of a small boat
kMandarin: lǎi
kTotalStrokes: '7'
ucn: U+3693
--------
Quick links
Python API
Python support |
Python 2.7, >= 3.5, pypy |
Source |
|
Docs |
|
Changelog |
|
API |
|
Issues |
|
Travis |
|
Test coverage |
|
pypi |
|
OpenHub |
|
License |
MIT |
git repo |
|
install stable |
|
install dev |
|
tests |
|
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
cihai-cli-0.3.0.tar.gz
(12.1 kB
view details)
File details
Details for the file cihai-cli-0.3.0.tar.gz
.
File metadata
- Download URL: cihai-cli-0.3.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d1b2a62e93f16f94dc320ca7b039758f871c3eb34339083c6c7e67f7673e400 |
|
MD5 | 071fd56effdcf4a7ce8cb06955ed5d9e |
|
BLAKE2b-256 | ba4cac3c4d78e7ed90d89c0cb5e734b650a6e5663172100651a9e240d31215aa |