Skip to main content

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

如何使用 / How to use

  • 克隆本仓库;

  • 确保本机已有 textual 库,如果没有,请遵官方指导下载;

  • 执行 python openrussian.py,就可以查词了!

  • Clone this repo.

  • Make sure you have installed the famous python tui library textual already, if not, please follow the instruction on their official site.

  • Just run python openrussian.py and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openrussian_tui-0.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openrussian_tui-0.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file openrussian_tui-0.0.2.tar.gz.

File metadata

  • Download URL: openrussian_tui-0.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for openrussian_tui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 559367dedd8fbf2f08d3f78ddae99277159f875a21ef85c13c805fc34542bc7f
MD5 9423b3c355341b67680ecfc6efd6749e
BLAKE2b-256 3747d938143c316afda9a215d8ac29699fef4d0b4f3ef29cbe4be10f786d127f

See more details on using hashes here.

File details

Details for the file openrussian_tui-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: openrussian_tui-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for openrussian_tui-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc01285251eb52d469f90d1caa7f4810bf51a93587cc895f1593393851e76bc9
MD5 71814f13efb25831ad3a1d71b670819a
BLAKE2b-256 880110b5f0e5990a7c6e74d91600039f0668474596833809e3c3234ba497235f

See more details on using hashes here.

Supported by

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