PaddleOCR component (OCR and layout-aware document parsing via the AI Studio async Job API) as a standalone Langflow Extension Bundle.
Project description
lfx-paddle
PaddleOCR as a standalone Langflow Extension Bundle.
Ships the PaddleOCR component, which performs either layout-aware document
parsing into Markdown (PP-StructureV3, PaddleOCR-VL-1.6) or plain OCR text
recognition (PP-OCRv5, PP-OCRv6). It talks to the PaddleOCR
AI Studio async Job HTTP API
(submit -> poll -> fetch) directly via httpx, so it does not require the
paddleocr Python SDK (whose transitive pyyaml constraint conflicts with
Langflow's dependency tree).
Install
pip install lfx-paddle
The bundle is registered automatically via the langflow.extensions
entry-point. After install, restart your Langflow server; the component will
appear in the palette under the paddle group.
You will need an AI Studio access token (https://aistudio.baidu.com/account/accessToken) to run the component.
Develop
cd src/bundles/paddle
pip install -e .
lfx extension validate src/lfx_paddle
Migration
Saved flows referencing the legacy class name or the old import paths under
lfx.components.paddle.* are rewritten to the new namespaced ID
ext:paddle:PaddleOCRComponent@official by the migration table in
src/lfx/src/lfx/extension/migration/migration_table.json.
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 Distributions
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 lfx_paddle-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lfx_paddle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9139c2868c32a8baf03cc440492033eb5689e3bb2d9b9ff59f6945940491419
|
|
| MD5 |
fd0cefbae25c7dfe9f21c65bc948f323
|
|
| BLAKE2b-256 |
16a05c4c0297b9c5a6e351b5b78b59f0ffe3cf4e78fa6a144e7808434b0270b5
|