Skip to main content

Screenshot

mdict_screenshot.png

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 鎹愯禒

wx_pay alipay_pay

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)

Table of built distributions (wheels) for flask-mdict 1.4.22
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.4.22 This release

1 release file

1.4.21

1 release file

1.4.20

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

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