Skip to main content

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()

Metadata

Release files for docts 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docts 0.2.3
File Size Uploaded Provenance Actions
docts-0.2.3.tar.gz 17.0 kB Without provenance Details for docts-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docts 0.2.3
File Interpreter ABI Platform Actions
docts-0.2.3-py3-none-any.whl Python 3 none any Details for docts-0.2.3-py3-none-any.whl

Total release size: 34.0 kB

Release files / docts-0.2.3.tar.gz

Download URL docts-0.2.3.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c1cabc2171f972ec9599124944205ca1a1b7dbb33a0a1b006390455041c95200
BLAKE2b-256 checksum
How to use checksums
0277f97594c13bf690ef290028b79fbaf949daedc8c03ea08b9b9ea6fe569ddf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / docts-0.2.3-py3-none-any.whl

Download URL docts-0.2.3-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a6444dc6fdbd0aa0ee349aea95f650a652deb96db2f20ebd0fab3f91fcd3fed
BLAKE2b-256 checksum
How to use checksums
dc1ef7a49832a96efcf17c5615505a14b6bd5aba13cd12e718c586c002d80681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Security for docts 0.2.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page