Skip to main content

OmniDoc

free-doc-translate

Free document translation by OmniDoc, the powerful AI document suite. Translate PDF, Word, PowerPoint, LaTeX and more into 38 languages, and keep every table, formula and footnote where it was.

Official site: https://omnidoc.top/

免费文档翻译:PDF、Word、PPT、LaTeX 论文一键翻译成 38 种语言,表格、公式、脚注保持原版式,支持中英双语对照输出。由 OmniDoc 提供,官网 https://omnidoc.top/ (国内 https://omnidoc.cn/)。

Before and after

Real output from OmniDoc free translation, not edited. Tables, numbers, formulas and figures stay where they were.

Original (English) OmniDoc translation (Chinese)
EIA Short-Term Energy Outlook, English original page EIA Short-Term Energy Outlook translated into Chinese by OmniDoc, layout kept
Physics paper page with figures and equations, English original Physics paper page translated into Chinese by OmniDoc, figures and equations kept

Try it free in the browser: https://translate.omnidoc.top/

This package is a companion of the omnidoc SDK. It installs omnidoc and exposes the same API.

For the current free translation allowance and credit pricing, see https://omnidoc.top/.

Install

pip install free-doc-translate

Requires Python 3.9 or newer.

Translate a file

Create an API key (it starts with sk_) in the API center at https://omnidoc.top/app/api-keys and put it in the environment:

export OMNIDOC_API_KEY="sk_your_key"
from free_doc_translate import OmniDocClient

client = OmniDocClient()  # reads OMNIDOC_API_KEY
files = client.translate_file("paper.pdf", "en", output_dir="out", output_mode="bilingual")
print(files)

output_mode="bilingual" gives side-by-side bilingual files; leave it out for the translation only.

More

Metadata

Release files for free-doc-translate 0.1.1

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

Source distribution (sdist)

Source distribution for free-doc-translate 0.1.1
File Size Uploaded Provenance Actions
free_doc_translate-0.1.1.tar.gz 3.1 kB Without provenance Details for free_doc_translate-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for free-doc-translate 0.1.1
File Interpreter ABI Platform Actions
free_doc_translate-0.1.1-py3-none-any.whl Python 3 none any Details for free_doc_translate-0.1.1-py3-none-any.whl

Total release size: 6.2 kB

Release files / free_doc_translate-0.1.1.tar.gz

Download URL free_doc_translate-0.1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
77df3f75124d2c51fc4109745b6cdf9a258812a19a6d49f4eb20d7ed3ef35564
BLAKE2b-256 checksum
How to use checksums
d04790bdc67ffa59aa12107d8c158b9b173f4543fe26c487c673e072bb95bdab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / free_doc_translate-0.1.1-py3-none-any.whl

Download URL free_doc_translate-0.1.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff85ba9461f84db244e0e38491461d496d55d4db5613f058a3f5ed44a49dbd7b
BLAKE2b-256 checksum
How to use checksums
380e12a2e9cab228881cd8bbd6af42e80f93f3b6978208906c2445052a6b54f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for free-doc-translate 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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