# ClipBoardDictionary This program monitors the clipboard of the system and translate the word from English to Chinese by YouDao api, especially designed for Students who are working under linux environment where there is no simple translater when you reading papers.
# 项目起源 本人即将成为一名Ph.D,现在在看一些关于强化学习,深度学习,机器学习,控制理论等方面的英文文献,经常会有一些单词不认识.
虽然市面上很多优秀的翻译软件都已经集成了屏幕取词的功能,例如有道词典.但是由于我操作系统或者驱动等一些问题(本人的开发环境为Manjaro),安装了有道词典之后,我无法使用屏幕取词功能,每次都需要复制到网页中查询.
每次切换到浏览器再切换回pdf阅读器,十分影响阅读体验.因此,我写了这么一个小玩具,能够监控剪贴板中的内容,并且自动使用有道词典的api来进行翻译.将结果输出到终端中.
本玩具纯粹是为了方便我读paper.不喜勿喷.
# 使用教程 STEP1 : 安装依赖的包,用于访问剪贴板中的内容 `shell sudo apt install xclip `
STEP2 : 在终端中输入以下命令来安装CBDict `python pip install CBDict `
STEP3 : 在终端中输入`CBDict`来启动词典 `shell CBDict `
STEP4 : 复制任何你想翻译的内容,翻译的结果会呈现在终端中.
# 使用实例 
Metadata
Release files for CBDict 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| CBDict-2.0.tar.gz | 3.8 kB | Without provenance | Details for CBDict-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| CBDict-2.0-py3-none-any.whl | Python 3 | none | any | Details for CBDict-2.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / CBDict-2.0.tar.gz
| Download URL | CBDict-2.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f336cd65f0f7c9b1539cf3dd721239ee9e3a3aaba40958845221a3d4b8c0f2
|
|
BLAKE2b-256 checksum How to use checksums |
3312658fea09a0caecede4d8fb03e0064dfee5496e0b89e6b52eeede3f921d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / CBDict-2.0-py3-none-any.whl
| Download URL | CBDict-2.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3688ff11a12868cf31d3395ccf82dd8657510f61938a3ba455f16d36ba92b2c
|
|
BLAKE2b-256 checksum How to use checksums |
6c137f903f9e04e8b9186028ec936f95770aafa91d01819ee8874ebad4059a3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for CBDict 2.0
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.