Skip to main content

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 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 😆.

Metadata

Release files for openrussian-tui 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openrussian-tui 0.1.0
File Size Uploaded
openrussian_tui-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openrussian-tui 0.1.0
File Interpreter ABI Platform
openrussian_tui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / openrussian_tui-0.1.0.tar.gz

Download URL openrussian_tui-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d63e73b66f893eab9ca900f9de7eafd669a5034c1c19bb6ee03f67cd587491f
BLAKE2b-256 checksum
How to use checksums
dabf8e5bcac20e20239d6fca70bbcbe5198cc3894c9eaed95ab8cfd42e4d1229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.3 cpython/3.14.3 HTTPX/0.28.1

Release files / openrussian_tui-0.1.0-py3-none-any.whl

Download URL openrussian_tui-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1be2c1cc5ab382b2f5f47025e270aba84d092626bef2ab1c9cf4f01c7345570
BLAKE2b-256 checksum
How to use checksums
53366b09289c916412a0adf67ae98aa75f9fa5878e05c7630bd6c86aebc3903e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.3 cpython/3.14.3 HTTPX/0.28.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page