A Python tool for translating docx files
Project description
A Python tool for translating docx files
Installation
pip install docx_translate
Usage
Use in CMD
docx_translate --help
docx_translate --version
docx_translate input.docx -o output.docx
docx_translate input.docx -o output.ja.docx -t ja
Use in Python
from docx_translate.core.translate import DocxTranslator
trans = DocxTranslator(target='en')
trans.translate_docx('input.docx', 'output.docx')
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
docx_translate-1.0.0.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docx_translate-1.0.0.tar.gz.
File metadata
- Download URL: docx_translate-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bca3db9beccef0e42f830b27628aaf68a585f94f35a4687c82d7203fe63825a
|
|
| MD5 |
3319ef59300b7a86e0f60e7df713feb3
|
|
| BLAKE2b-256 |
33a58ca95cd593d89fcac89d8495a1d0285a50f07d28120a112405a00af82134
|
File details
Details for the file docx_translate-1.0.0-py3-none-any.whl.
File metadata
- Download URL: docx_translate-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e300f4fdd1e035cf7dfc125ab73c39349dac9b6ede49993d582769bd2e91d6ca
|
|
| MD5 |
c2c992ddbe962b9e0289cbe0d8abda78
|
|
| BLAKE2b-256 |
4c8f55ba4a5949a1408f7259f66739485a74334f29c8b4eb17c00e3c7a0dc2ad
|