MDict pack/unpack tool
Project description
==========
MDict Tool
==========
MDict pack/unpack tool
.. NOTE::
Support MIT and 996.icu license
Install
=======
::
pip install pymdict
Usage
=====
Meta information::
mdict -m dict.mdx
All key list::
mdict -k dict.mdx
All key list::
mdict -k dict.mdx
Query key::
mdict -q <word> dict.mdx
Unpack
------
Unpack MDX::
mdict -x dict.mdx -d ./mdx
Unpack MDX/MDD and split into 5 files::
mdict -x dict.mdx -d ./mdx --split-n 5
Unpack MDX/MDD and split into a...z files::
mdict -x dict.mdx -d ./mdx --split-az
Unpack MDD::
mdict -x dict.mdd -d ./mdd
Unpack MDX/MDD to sqlite3 DB::
mdict -x dict.mdx --mdict-db
mdict -x dict.mdd --mdict-db
Pack
----
Pack MDX::
mdict --title title.html --description description.html -a dict.txt dict.mdx
Pack MDX with many TXT files::
mdict --title title.html --description description.html -a dict.part1.txt -a dict.part2.txt dict.mdx
or::
mdict --title title.html --description description.html -a txt_dir dict.mdx
Pack MDD::
mdict --title title.html --description description.html -a mdd_dir dict.mdd
Other
-----
Convert TXT to sqlite3 DB::
mdict --txt-db dict.txt
Convert sqlite3 DB to TXT::
mdict --db-txt dict.db
Reference
=========
+ https://bitbucket.org/xwang/mdict-analysis
+ https://github.com/zhansliu/writemdict
Donate 鎹愯禒
===========
.. image:: alipay_pay.jpg
:width: 45%
.. image:: wx_pay.png
:width: 45%
MDict Tool
==========
MDict pack/unpack tool
.. NOTE::
Support MIT and 996.icu license
Install
=======
::
pip install pymdict
Usage
=====
Meta information::
mdict -m dict.mdx
All key list::
mdict -k dict.mdx
All key list::
mdict -k dict.mdx
Query key::
mdict -q <word> dict.mdx
Unpack
------
Unpack MDX::
mdict -x dict.mdx -d ./mdx
Unpack MDX/MDD and split into 5 files::
mdict -x dict.mdx -d ./mdx --split-n 5
Unpack MDX/MDD and split into a...z files::
mdict -x dict.mdx -d ./mdx --split-az
Unpack MDD::
mdict -x dict.mdd -d ./mdd
Unpack MDX/MDD to sqlite3 DB::
mdict -x dict.mdx --mdict-db
mdict -x dict.mdd --mdict-db
Pack
----
Pack MDX::
mdict --title title.html --description description.html -a dict.txt dict.mdx
Pack MDX with many TXT files::
mdict --title title.html --description description.html -a dict.part1.txt -a dict.part2.txt dict.mdx
or::
mdict --title title.html --description description.html -a txt_dir dict.mdx
Pack MDD::
mdict --title title.html --description description.html -a mdd_dir dict.mdd
Other
-----
Convert TXT to sqlite3 DB::
mdict --txt-db dict.txt
Convert sqlite3 DB to TXT::
mdict --db-txt dict.db
Reference
=========
+ https://bitbucket.org/xwang/mdict-analysis
+ https://github.com/zhansliu/writemdict
Donate 鎹愯禒
===========
.. image:: alipay_pay.jpg
:width: 45%
.. image:: wx_pay.png
:width: 45%
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mdict_utils-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c65b12cb1053d962c2388f8aa3f117fadf01edc7e18a515d441ceeed7397cb |
|
MD5 | 4c05dac64a198b74d51bed6157d58f35 |
|
BLAKE2b-256 | cc84e1954dbaaf4ffca94586327aa7089b1eea4a235c03e9c568d365ae7be2ff |