Skip to main content

Command line frontend for the cihai CJK language library

Project description

cihai-cli - Command line interface to the cihai CJK-language library

Python Package Documentation Status Build Status Code Coverage License

This project is under active development. Follow our progress and check back for updates!

Installation

$ pip install --user cihai_cli

Command line

Character lookup:

$ cihai info 
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 lookup library
--------
char: 
kCangjie: WLGA
kCantonese: syu1
kCihaiT: '308.302'
kDefinition: library
kJapaneseOn: TOSHOKAN SHO
kMandarin: 
kPhonetic: 1235 1364
kRSAdobe_Japan1_6: C+14418+31.3.10
kRSKangXi: '31.10'
kSemanticVariant: U+5716<kMatthews
kTotalStrokes: '13'
kXHC1983: 1163.040:tú
ucn: U+5715

--------
char: 
kCangjie: VIIL
kCantonese: long4
kCihaiT: '390.506'
kDefinition: the place where the supreme stores his books; library
kHanyuPinyin: 21062.030:láng
kJapaneseOn: ROU
kMandarin: láng
kPhonetic: '832'
kRSAdobe_Japan1_6: C+21424+38.3.10
kRSKangXi: '38.9'
kTotalStrokes: '11'
kXHC1983: 0674.090:láng
ucn: U+5ACF

Works with any field:

$ cihai lookup hào
--------
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

--------
char: 
kCangjie: VNG
kCantonese: nau2
kCihaiT: '380.503'
kDefinition: girl
kFenn: 676H
kFourCornerCode: '4741.5'
kFrequency: '5'
kHKGlyph: 0876
kHanyuPinyin: 21033.100:hào,niū
kJapaneseOn: JUU NYU CHUU
kMandarin: niū
kPhonetic: '90'
kRSKangXi: '38.4'
kTotalStrokes: '7'
kXHC1983: 0836.060:niū
ucn: U+599E

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

cihai-cli-0.2.1.tar.gz (11.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page