Skip to main content

Dasb_Translator

A CLI translation tool by reading the clipboard using deepl translator.

大帅比翻译助手

一个通过读取剪切板,并将翻译内容呈现于命令行的翻译助手,翻译引擎为deepl,在读论文文献时很有帮助。

项目契机

自己是科研狗又习惯使用 Linux 作为个人机,但 Linux 系统上的论文翻译助手使用起来都不太方便,先后用了好几个,没有用到满意的。

偶然间看到了这个项目: CBDict ,这个项目在我的 i3 桌面下非常好用,但是因为只能翻译单词、翻译引擎经常出现翻译错误、翻译引擎的 API 时常出现不能响应的 bug 等诸多问题,我决定在这个项目的基础上着手自己编写一个以 Deepl 作为翻译引擎的翻译助手。

本项目的代码非常短,和 CBDict 一样,都是写出来方便自己读论文的小玩具。欢迎各位提 issue 或者 pull requests,但我会不会维护就不一定了。

安装

Step 1 安装依赖

sudo apt install xclip

Step 2 安装大帅比翻译助手

sudo pip install dasb_translator

Step 3 启动大帅比翻译助手

dasb_translator

Metadata

Release files for dasb-translator 0.0.4

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

Source distribution (sdist)

Source distribution for dasb-translator 0.0.4
File Size Uploaded Provenance Actions
dasb_translator-0.0.4.tar.gz 3.4 kB Without provenance Details for dasb_translator-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dasb-translator 0.0.4
File Interpreter ABI Platform Actions
dasb_translator-0.0.4-py3-none-any.whl Python 3 none any Details for dasb_translator-0.0.4-py3-none-any.whl

Total release size: 7.3 kB

Release files / dasb_translator-0.0.4.tar.gz

Download URL dasb_translator-0.0.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ae4ee5b54a664e98ac9a85217d0beb49d0e636800ec864b352f0ad0539a6382e
BLAKE2b-256 checksum
How to use checksums
041b9da9fdc72b54f21c5a6c77749bdce54ad5eaafbd6be99a1ebeac7e6536e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / dasb_translator-0.0.4-py3-none-any.whl

Download URL dasb_translator-0.0.4-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd3b7ec9261a0b4f77bce214aae12763cffa78c8edb373a48146ded0408505e2
BLAKE2b-256 checksum
How to use checksums
d2a6924d0bc06d677d6869942f0b126cfeea897f56fc6db311a72bb853c9fefc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for dasb-translator 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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