Skip to main content

中文字词

Project description

字典数据是 此库 中的 data/word.json

接口

查单字()

参数为单字字符串,如:

from chinese_characters_words import 字典
字典.查单字('好')

如果查不到,返回 None;否则信息如下:

{
  '字'
  '旧体'
  '笔画数'
  '拼音'
  '部首'
  '释义'
  '其他'
}

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

chinese_characters_words-0.0.3.tar.gz (10.6 MB view hashes)

Uploaded Source

Built Distribution

chinese_characters_words-0.0.3-py3-none-any.whl (10.7 MB view hashes)

Uploaded Python 3

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