Metadata-Version: 2.1
Name: iciba
Version: 0.1.1
Summary: A cli query tool for iciba.com (金山词霸)
Home-page: https://github.com/lihe07/iciba
License: MIT
Keywords: cli,dictionary,iciba,translate
Author: He
Author-email: li@imlihe.com
Requires-Python: >=3.7.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: httpx (>=0.24.1,<0.25.0)
Requires-Dist: prompt-toolkit (>=3.0.38,<4.0.0)
Requires-Dist: rich (>=13.4.1,<14.0.0)
Project-URL: Repository, https://github.com/lihe07/iciba
Description-Content-Type: text/markdown

# iciba-cli

A cli query tool for iciba.com (金山词霸)

## Screenshots

- Search word with prompt (powered by `prompt_toolkit`)

![prompt](https://raw.githubusercontent.com/lihe07/iciba/main/images/1.png)

- Rich text results (powered by `rich`)

![rich](https://raw.githubusercontent.com/lihe07/iciba/main/images/2.png)


## Installation

Requirments: `python >= 3.7.0` (required by rich)

`pip install iciba`

## Usage

- Query a word

  `iciba <word>`

- Interactively query a word (with prompt)

  `iciba`



