{"id":34032119,"url":"https://github.com/liuyug/mdict-utils","last_synced_at":"2026-04-04T13:01:23.124Z","repository":{"id":43061535,"uuid":"177899054","full_name":"liuyug/mdict-utils","owner":"liuyug","description":"MDict pack/unpack/list/info tool","archived":false,"fork":false,"pushed_at":"2025-01-02T06:02:59.000Z","size":350,"stargazers_count":378,"open_issues_count":0,"forks_count":67,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-30T00:25:08.809Z","etag":null,"topics":["mdict","pack","unpack"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuyug.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-27T01:53:13.000Z","updated_at":"2025-10-25T04:06:10.000Z","dependencies_parsed_at":"2023-02-10T13:00:40.789Z","dependency_job_id":null,"html_url":"https://github.com/liuyug/mdict-utils","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/liuyug/mdict-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyug%2Fmdict-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyug%2Fmdict-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyug%2Fmdict-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyug%2Fmdict-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuyug","download_url":"https://codeload.github.com/liuyug/mdict-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyug%2Fmdict-utils/sbom","scorecard":{"id":593960,"data":{"date":"2025-08-11","repo":{"name":"github.com/liuyug/mdict-utils","commit":"64e15b99aca786dbf65e5a2274f85547f8029f2e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.9.0 not signed: https://api.github.com/repos/liuyug/mdict-utils/releases/27854401","Warn: release artifact v1.0.8.7 not signed: https://api.github.com/repos/liuyug/mdict-utils/releases/27481976","Warn: release artifact v1.0.8.3 not signed: https://api.github.com/repos/liuyug/mdict-utils/releases/27309113","Warn: release artifact v1.0.9.0 does not have provenance: https://api.github.com/repos/liuyug/mdict-utils/releases/27854401","Warn: release artifact v1.0.8.7 does not have provenance: https://api.github.com/repos/liuyug/mdict-utils/releases/27481976","Warn: release artifact v1.0.8.3 does not have provenance: https://api.github.com/repos/liuyug/mdict-utils/releases/27309113"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2017-74"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T22:41:19.799Z","repository_id":43061535,"created_at":"2025-08-20T22:41:19.799Z","updated_at":"2025-08-20T22:41:19.799Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mdict","pack","unpack"],"created_at":"2025-12-13T18:36:56.396Z","updated_at":"2026-04-04T13:01:23.089Z","avatar_url":"https://github.com/liuyug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\nMDict Tool\n==========\n\nMDict pack/unpack tool\n\n.. NOTE::\n\n    Support Reading with MDict Version 3.0\n\n    Support Reading and Writing with MDict Version 2.0\n\n    All files must be UTF-8 encoding, include HTML and TXT\n\n\nInstall\n=======\n::\n\n    pip install mdict-utils\n\nUsage\n=====\nMeta information::\n\n    mdict -m dict.mdx\n\nAll key list::\n\n    mdict -k dict.mdx\n\nQuery key::\n\n    mdict -q \u003cword\u003e dict.mdx\n\n.. note::\n\n    只用于测试词典打包是否正确。\n\nUnpack\n------\nUnpack MDX::\n\n    mdict -x dict.mdx -d ./mdx\n\nUnpack MDX/MDD and split into 5 files::\n\n    mdict -x dict.mdx -d ./mdx --split-n 5\n\nUnpack MDX/MDD and split into a...z files::\n\n    mdict -x dict.mdx -d ./mdx --split-az\n\nUnpack MDD::\n\n    mdict -x dict.mdd -d ./mdd\n\nUnpack MDX/MDD to sqlite3 DB::\n\n    mdict -x dict.mdx --exdb\n    mdict -x dict.mdd --exdb\n\nUnpack MDX/MDD to sqlite3 DB with zip compress::\n\n    mdict -x dict.mdx --exdb-zip\n\nPack\n----\nPack MDX::\n\n    mdict --title title.html --description description.html -a dict.txt dict.mdx\n\nPack MDX with many TXT files::\n\n    mdict --title title.html --description description.html -a dict.part1.txt -a dict.part2.txt dict.mdx\n\nor::\n\n    mdict --title title.html --description description.html -a txt_dir dict.mdx\n\nPack MDD::\n\n    mdict --title title.html --description description.html -a mdd_dir dict.mdd\n\nOther\n-----\nConvert TXT to sqlite3 DB::\n\n    mdict --txt-db dict.txt\n\nConvert sqlite3 DB to TXT::\n\n    mdict --db-txt dict.db\n\n\nReference\n=========\n\n+   https://bitbucket.org/xwang/mdict-analysis\n+   https://github.com/zhansliu/writemdict\n\nDonate 捐赠\n=============\n请捐赠者在 issue 里留下捐赠信息，如交易流水号等，否则无法在支付系统里查找。再次感谢。\n\n.. image:: alipay_pay.jpg\n    :width: 45%\n.. image:: wx_pay.png\n    :width: 45%\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuyug%2Fmdict-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuyug%2Fmdict-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuyug%2Fmdict-utils/lists"}