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.1.tar.gz
(4.5 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.1.tar.gz.
File metadata
- Download URL: docx_translate-1.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1105821671f2127916fa1cfabe822ad20623e6d8cedde6160f08ab7b9bf8fd54
|
|
| MD5 |
41d4703db64ba8510e68a99435a99912
|
|
| BLAKE2b-256 |
51dd0ace2da2c33324a71a6c8744174d0cac1d89380d28fec2ff81609b3eab72
|
File details
Details for the file docx_translate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: docx_translate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 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 |
21e9cf0f940b55623a17a24d6fef51e0b98e97e5e386a669b334fa615577409d
|
|
| MD5 |
e0d53caee25a524f409e14e14ea6ad25
|
|
| BLAKE2b-256 |
15163b03ccc6dbd99404dbb8570f6f5738ed52560d5197545a0a062f669b8cd2
|