ankicc
將 Anki deck package (*.apkg) 的所有欄位在繁體及簡體中文間進行相互轉換。
Installation 安裝
pip install ankicc
Usage 使用
usage: ankicc [-h] --apkg_path APKG_PATH [--workspace WORKSPACE] --output_path OUTPUT_PATH
[--convertor {t2jp.json,t2tw.json,hk2t.json,tw2s.json,hk2s.json,s2hk.json,tw2t.json,t2s.json,s2tw.json,s2twp.json,t2hk.json,s2t.json,jp2t.json,tw2sp.json}]
optional arguments:
-h, --help show this help message and exit
--apkg_path APKG_PATH
--workspace WORKSPACE
--output_path OUTPUT_PATH
--convertor {t2jp.json,t2tw.json,hk2t.json,tw2s.json,hk2s.json,s2hk.json,tw2t.json,t2s.json,s2tw.json,s2twp.json,t2hk.json,s2t.json,jp2t.json,tw2sp.json}
- apkg_path: 待轉換的 apkg 文件位置
- workspace: ankicc 的工作目錄位置,預設為當前執行目錄,轉換過程中的文件都會保存在該執行目錄 (請留意:轉換後不會自動刪除)
- output_path: 轉換後的輸出文件位置
- convertor: OpenCC 的翻譯器設定,預設為簡體轉繁體 (s2t.json),其他翻譯器設定請參考 OpenCC #Configurations
Third Party Library 第三方庫
- OpenCC Apache-2.0 License
- AnkiPandas MIT License
Metadata
Release files for ankicc 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ankicc-0.3.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ankicc-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / ankicc-0.3.0.tar.gz
| Download URL | ankicc-0.3.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa2f1595f0fb5b7bcdb368b2499d55f69bd0229189d49cb3e69d3127ffaca2cc
|
|
BLAKE2b-256 checksum How to use checksums |
86bb57558f29b80970eca6895d0a11af40bf51b568b4c744ecd89aff1f66d29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.8 Linux/5.11.0-1021-azure
|
Release files / ankicc-0.3.0-py3-none-any.whl
| Download URL | ankicc-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ad9945fdce4ecb2fde4403eab64d4b8414edfac18f3f7a070a00b1466c30dbe
|
|
BLAKE2b-256 checksum How to use checksums |
19362294c2c8b4630e6fb46fcef7041cc4c6ef24c129cf6e6ba9ec7bd3a1da5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.8 Linux/5.11.0-1021-azure
|