The first open source translator which is completely open with dictionary data too.
Project description
EasyDict
The first open source translator which is completely open with dictionary data too. The homepage is http://easydict.jiri.one. On this page you can also try the search results, which will be the same as in the app (however, the web application does not use TinyDB+orjson as a backend, but uses RethinkDB - the source data is the same). The application is at an early stage of development, but the features and dictionaries that have already been implemented work very well.
What is it
EasyDict is a simple translator that will translate, typically, one word in one language into another language. This translator has several, sometimes unique, features.
- It is written in Python.
- It uses the fastest json implementation for storing dictionaries - orjson (own orjson storage for TinyDB).
- The user interface is written in PyGObject (GTK3.0).
- The application starts hidden in tray and tapping tray brings up the main application window - xapp library is used.
- If you have the main application window displayed, it is displayed on top and overlays all other windows. In this mode, the app monitors the clipboard and automatically translates the words you copy into it.
- You can use either a whole word search or a full-text.
Currently available dictionaries
Currently only Czech-English and English-Czech dictionaries are available. This dictionary data comes from the http://svobodneslovniky.cz project (the dictionary data is therefore governed by the GNU/FDL license).
Screenshots
Welcome Screen | Search Screen |
---|---|
How to install it and use it
Because, the app is writen in Python, you can simply install from PyPi:
pip install easydict-gtk
and run it with:
easydict-gtk
The second option to install easydict-gtk is to use Flatpak:
flatpak install -y one.jiri.easydict-gtk
and run it with:
flatpak run one.jiri.easydict-gtk
Note: In Flatpak version is not supported tray icon, if you need tray, you have to use classic version from PyPi or from source code.
Dependencies:
Everything should be automatically installed by pip: tinydb, orjson, pycairo, PyGObject
To-Do-List
- get the homepage https://easydict.jiri.one back online
- create tests for backend
- add the possibility to use other dictionaries
- optimize the application for touch control so that it can be run on Phosh - https://puri.sm/projects/phosh/ using libhandy - https://gitlab.gnome.org/GNOME/libhandy
- ? maybe swith to poetry
- create FlatPak package and publish it on FlatHub
- create ArchLinux package an publish it on AUR
- ...
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
File details
Details for the file easydict-gtk-0.4.1.tar.gz
.
File metadata
- Download URL: easydict-gtk-0.4.1.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18bb0e42d07f5daa5d3d6fa17272e685eb02b1240bfe884d6f8931150efe0e34 |
|
MD5 | 1b438a1f281a0d5d52064d4dcd3d87bc |
|
BLAKE2b-256 | ac40033807070304cbefb0ba446d6e836734f1e9b5758042b12b6e9972eb6a4e |