Screenshot
Usage
Install
git clone https://github.com/liuyug/flask-mdict.git cd flask-mdict pip3 install -r requirements.txt mkdir content # copy MDICT dictionary into content directory cp <mdict> content/ # install word frequency database from ecdict csv ecdict.sh # or copy current flask_mdict_wfd.db to your content directory # cp flask_mdict_wfd.db content/
Run
Cli:
python app.py python app.py --mdict-dir your_mdict_path python app.py --host 127.0.0.1:5248
Window usage:
# 1. put files into path: # path\ # path\flask_mdict.exe # path\flask_mdict_wfd.db # path\your_mdict_path # 2. run flask_mdict.exe # 3. Browser firefox http://127.0.0.1:5248
Config
flask_mdict.json: server settings
flask_mdict.db: dictionary settings and searching history
flask_mdict_wfd.db: word frequency db [option]
Browser
firefox http://127.0.0.1:5248
Donate 鎹愯禒
Metadata
Release files for flask-mdict 1.4.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_mdict-1.4.22-py3-none-any.whl | Python 3 | none | any | Details |
Release files / flask_mdict-1.4.22-py3-none-any.whl
| Download URL | flask_mdict-1.4.22-py3-none-any.whl |
|---|---|
| Size | 2.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd40b5bf2e0127cdca348a32f7228fe309a393ee7f3f1f93df007bb5d6f22bce
|
|
BLAKE2b-256 checksum How to use checksums |
052c2f23b4db6ad9f4bff08388143b66b40ff4e73a35cfcfdb123f20de535060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.5
|