No project description provided
Project description
OpenRussian TUI
这是 Open Russian 的 TUI 前端。
使用本程序必须联网:因为程序发送查词请求后,必须等待网站发回包含单词信息的 .json 才能输出信息。
This is a tui "program" for the Open Russian Dictionary. You can use it to search meanings and example sentences of Russian words.
There is no magic in this program: it just throw a request to that website and receive a .json file, then parse it. So to use it, a decent network should be accessible.
下载 / Installation
pip install openrussian-tui
在终端中运行 openrussian-tui 即可!
Run openrussian-tui in your terminal and enjoy!
如何使用 / How to use
-
克隆本仓库;
-
确保本机已有
textual库,如果没有,请遵官方指导下载; -
执行
python openrussian.py,就可以查词了! -
Clone this repo.
-
Make sure you have installed the famous python tui library
textualalready, if not, please follow the instruction on their official site. -
Just run
python openrussian.pyand start learning Russian!
功能 / Functions
目前可以看到俄语单词的释义和例句。
You can view the translations, exmaples sentences of a russian word.
这软件怎么来的 / How did I made this program
大部分代码是从 textual 官方仓库中的 /examples/dictionary.py 和相应 .tcss 里偷的,所以如果你想添加更多网站的支持,请务必研究一下这两个文件。
The main part of these codes are stolen from /examples/dictionary.py and the adjoint .tcss file in the textual repo, so if you want to add other online dictionary, you'd better check the official guide of textual.
协议 / License
想做什么都可以,干了坏事别找我 😆。
Do anything you want to these codes, just promise that if something bad happened because of your forks, do not blame me 😆.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openrussian_tui-0.1.0.tar.gz.
File metadata
- Download URL: openrussian_tui-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.14.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d63e73b66f893eab9ca900f9de7eafd669a5034c1c19bb6ee03f67cd587491f
|
|
| MD5 |
6058fb3e7d998d1cd7cc12992d45cdb8
|
|
| BLAKE2b-256 |
dabf8e5bcac20e20239d6fca70bbcbe5198cc3894c9eaed95ab8cfd42e4d1229
|
File details
Details for the file openrussian_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openrussian_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.14.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1be2c1cc5ab382b2f5f47025e270aba84d092626bef2ab1c9cf4f01c7345570
|
|
| MD5 |
129a3bfaba8e54063bd44382788819c0
|
|
| BLAKE2b-256 |
53366b09289c916412a0adf67ae98aa75f9fa5878e05c7630bd6c86aebc3903e
|