Skip to main content

wenyi-babeldoc-bridge

English | 简体中文

An AGPL-3.0-only HTTP service that uses BabelDOC to extract PDF paragraphs and typeset translations back into the original layout. Wenyi produces the translations; this bridge only provides the external PDF engine.

Use with Wenyi

  • Desktop: install the optional, self-contained plugin through Wenyi Desktop. No separate Python installation is required. See the Desktop guide.
  • CLI or manual deployment: install wenyi-cli and wenyi-babeldoc-bridge in one dedicated Python environment, then start the bridge as a separate HTTP process. See installation and development.

BabelDOC is the layout engine. PDF2zh and PDF2zh Next are separate frontends, not required dependencies of this bridge.

Documentation

Guide Contents
Installation and development Dependencies, shared environment, startup, caches and tests
Layout rule boundaries Where to change page boxes, paragraph contents or fillback, and how to test them
HTTP API and sessions Extract/fillback contract, stable IDs, recovery and cleanup
Desktop plugin Four-platform builds, offline assets, runtime protocol and verification
Publishing Git-derived versions, verified Desktop releases and PyPI trusted publishing

English guides live in docs/; Chinese guides live in docs/zh/. The online repository also provides these documents.

License and process boundary

This repository is AGPL-3.0-only. Wenyi's own code is GPL-3.0-only. The projects communicate only over HTTP: do not import this bridge or BabelDOC into wenyi_core, or copy this repository's code into Wenyi.

A shared Python environment does not merge processes or remove any component's license obligations. See third-party materials for Desktop dependency notices and corresponding-source distribution.

Metadata

Release files for wenyi-babeldoc-bridge 0.3.0

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

Source distribution (sdist)

Source distribution for wenyi-babeldoc-bridge 0.3.0
File Size Uploaded Provenance Actions
wenyi_babeldoc_bridge-0.3.0.tar.gz 351.2 kB Without provenance Details for wenyi_babeldoc_bridge-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wenyi-babeldoc-bridge 0.3.0
File Actions
wenyi_babeldoc_bridge-0.3.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for wenyi_babeldoc_bridge-0.3.0-cp311-abi3-win_amd64.whl
wenyi_babeldoc_bridge-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for wenyi_babeldoc_bridge-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_x86_64.whl CPython 3.11 abi3 macOS 13.0+ x86-64 Details for wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_x86_64.whl
wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_arm64.whl CPython 3.11 abi3 macOS 13.0+ ARM64 Details for wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_arm64.whl

Total release size: 34.2 MB

Release files / wenyi_babeldoc_bridge-0.3.0.tar.gz

Download URL wenyi_babeldoc_bridge-0.3.0.tar.gz
Size 351.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c775e009d3d85912e59950004d7b73bba108e6363ff0a2ebab517e9824b05c3a
BLAKE2b-256 checksum
How to use checksums
1a7ebb4792998a3fe362ad44bbeef1aab912109fe7d2d1d5fba0c1012e5ae81b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / wenyi_babeldoc_bridge-0.3.0-cp311-abi3-win_amd64.whl

Download URL wenyi_babeldoc_bridge-0.3.0-cp311-abi3-win_amd64.whl
Size 8.2 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5e79d4992aa889a0287357e422ac0b329f2a01f3138cd48ae1b9f6c76cc0d075
BLAKE2b-256 checksum
How to use checksums
9ebdae598c50270599b547402131031d66480acd7da1899ce2936c2134389015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / wenyi_babeldoc_bridge-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL wenyi_babeldoc_bridge-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 8.8 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
18914336a82d60a3fc714d9347adacbbd150c7304016370cb4c204d4103794c1
BLAKE2b-256 checksum
How to use checksums
51ede26e34ac1fdd0f31f6802171fff9bc83b9c65b4f12d9c30fd459a2f5699e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_x86_64.whl

Download URL wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_x86_64.whl
Size 8.5 MB
Tags CPython 3.11 abi3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
72bfb1107ff51c6373a4da9cb847607201262d6dbd3472af84a7750026b99aae
BLAKE2b-256 checksum
How to use checksums
53aaeca057c886dc200f730b79244182f6ba6e05f1ed99b066951aa31fc5cfbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_arm64.whl

Download URL wenyi_babeldoc_bridge-0.3.0-cp311-abi3-macosx_13_0_arm64.whl
Size 8.3 MB
Tags CPython 3.11 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
4215902aec7172a24d758e1daa437a69ed3c9b7e50a4072614889892894e9c94
BLAKE2b-256 checksum
How to use checksums
56f740e429731671b2920e3ab135a32a8111b5d1b34df544829460f14cd9ec09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for wenyi-babeldoc-bridge 0.3.0

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