python package docts
Project description
docts
python package docts
install
pip install -U docts
pip install git+ssh://git@github.com/foyoux/docts.git
pip install git+https://github.com/foyoux/docts.git
翻译 xlf 文件
将文档提取到 xlf 文件 或 将 xlf 文件重新生成文档,请参阅 旧文档 - 仅作参考
代码看下面
from pygtrans import Translate
from docts import Docts
if __name__ == '__main__':
translator = Translate(proxies={'https': 'http://localhost:10809'})
doc = Docts('<xlf_file_path>', translator)
# 翻译完成的将保存到 xlf_file_path 文件同目录
doc.save_words()
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 Distribution
docts-0.2.3.tar.gz
(17.0 kB
view details)
Built Distribution
docts-0.2.3-py3-none-any.whl
(17.0 kB
view details)
File details
Details for the file docts-0.2.3.tar.gz
.
File metadata
- Download URL: docts-0.2.3.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cabc2171f972ec9599124944205ca1a1b7dbb33a0a1b006390455041c95200 |
|
MD5 | 55044ccec785338124f0a216a5e29b31 |
|
BLAKE2b-256 | 0277f97594c13bf690ef290028b79fbaf949daedc8c03ea08b9b9ea6fe569ddf |
File details
Details for the file docts-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: docts-0.2.3-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a6444dc6fdbd0aa0ee349aea95f650a652deb96db2f20ebd0fab3f91fcd3fed |
|
MD5 | cb418402595b4e94ea1dc5e2782353bc |
|
BLAKE2b-256 | dc1ef7a49832a96efcf17c5615505a14b6bd5aba13cd12e718c586c002d80681 |