xtl-read-assistant 


x as a third language reading assistant tool
Pre-installation of libicu
For Linux/OSX
E.g.
- Ubuntu:
sudo apt install libicu-dev - Centos:
yum install libicu - OSX:
brew install icu4c
For Windows
Download and install the pyicu and pycld2 whl packages for your OS version from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu and https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycld2
Installation
pip install xtl-read-assistant
Validate installation
python -c "import xtl_read_assistant; print(xtl_read_assistant.__version__)"
# 0.0.2 or other version info
Patch pyppeteer/connection.py
The pyppeteer package does not work too well with websockets 7+. Either downgrade the websockets to 6 or manually perform the following patch.
Change site-packages\pyppeteer\connection.py line 44 to:
# self._url, max_size=None, loop=self._loop) self._url, max_size=None, loop=self._loop, ping_interval=None, ping_timeout=None)
Usage
Run read-assist.exe; Copy text to the clipboard (ctrl-c); Activate hotkey (ctrl-alt-g)
The translated text is stored in the clipboard.
default setup: --mother-lang=zh --second-lang=en --third-lang=de
read-assist
ctrl-alt-g: to activate clipboard translation
ctrl-alt-x: to exit
other setup exmaple: --mother-lang=zh --second-lang=en --third-lang=fr
read-assist --third-lang=fr
Metadata
Release files for xtl-read-assistant 0.0.2
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 |
|---|---|---|---|---|
| xtl-read-assistant-0.0.2.tar.gz | 9.7 kB | Without provenance | Details for xtl-read-assistant-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtl_read_assistant-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for xtl_read_assistant-0.0.2-py3-none-any.whl |
Total release size: 21.5 kB
Release files / xtl-read-assistant-0.0.2.tar.gz
| Download URL | xtl-read-assistant-0.0.2.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7981b38ceca490c8f5b108e9702d5ff73565ec8aa9d1812da4b5661d53c03d0a
|
|
BLAKE2b-256 checksum How to use checksums |
fec48065bf9085b8c30f8f71a8df54a76df34e04a6c5ab0004c68b2cbb231876
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.7 Windows/10
|
Release files / xtl_read_assistant-0.0.2-py3-none-any.whl
| Download URL | xtl_read_assistant-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa60ce150fe1c279014c61e06be85f6127b01fd31152052fcd9e5d8f45f7c094
|
|
BLAKE2b-256 checksum How to use checksums |
9eefd1d98113b4fbafbf4e0631974208631fe9bed16883657fbc2c208104b5f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.7 Windows/10
|
Security for xtl-read-assistant 0.0.2
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.