Flask-MDict
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 | Actions Reset |
|---|---|---|---|---|
| flask_mdict-1.4.22-py3-none-any.whl | Python 3 | none | any | Details for flask_mdict-1.4.22-py3-none-any.whl |
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
|
Security for flask-mdict 1.4.22
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.