Docling based wrapper for LangExtract
Project description
LangExtract Docling
LangExtract Docling is a lightweight wrapper around LangExtract that adds native support for processing PDF files via Docling.
Installation
pip install langextract-docling
Usage
import langextract_docling as lx
# Extract from plain text (same as LangExtract)
result = lx.extract(
text_or_documents="Your document text here.",
prompt_description="Extract entities",
examples=[...]
)
# Extract from a local PDF
result = lx.extract(
text_or_documents="path/to/document.pdf",
prompt_description="Extract entities",
examples=[...]
)
# Extract from a PDF URL
result = lx.extract(
text_or_documents="https://example.com/document.pdf",
prompt_description="Extract entities",
examples=[...]
)
License
MIT License
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
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 langextract_docling-1.0.9a1.tar.gz.
File metadata
- Download URL: langextract_docling-1.0.9a1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a925c0caedc5ddcc090dbed86b9a1cf013aa0374e6c7780942c3b7464d14d8c
|
|
| MD5 |
07b209c512d92199a1f698db7c74d38e
|
|
| BLAKE2b-256 |
c4bc01c9492e9bc196adfae2733be5cf78cf9505a3619f7e2cdf4351fabc3956
|
Provenance
The following attestation bundles were made for langextract_docling-1.0.9a1.tar.gz:
Publisher:
publish.yml on tijoseymathew/langextract-docling
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langextract_docling-1.0.9a1.tar.gz -
Subject digest:
9a925c0caedc5ddcc090dbed86b9a1cf013aa0374e6c7780942c3b7464d14d8c - Sigstore transparency entry: 566587161
- Sigstore integration time:
-
Permalink:
tijoseymathew/langextract-docling@8b62dd3605e5d0dd0f5302737c2a2490f1630926 -
Branch / Tag:
refs/tags/v1.0.9-alpha.1 - Owner: https://github.com/tijoseymathew
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8b62dd3605e5d0dd0f5302737c2a2490f1630926 -
Trigger Event:
release
-
Statement type:
File details
Details for the file langextract_docling-1.0.9a1-py3-none-any.whl.
File metadata
- Download URL: langextract_docling-1.0.9a1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcfacd335f4c3dca077a5856f890aae6c003c0c92a25a283a80814b39441c601
|
|
| MD5 |
0d752ea77ad09fd90b56108684322929
|
|
| BLAKE2b-256 |
13f92947b52611abf1a716001307ef15d2e2ca92749eb88072cb628a74ce8ac4
|
Provenance
The following attestation bundles were made for langextract_docling-1.0.9a1-py3-none-any.whl:
Publisher:
publish.yml on tijoseymathew/langextract-docling
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langextract_docling-1.0.9a1-py3-none-any.whl -
Subject digest:
fcfacd335f4c3dca077a5856f890aae6c003c0c92a25a283a80814b39441c601 - Sigstore transparency entry: 566587166
- Sigstore integration time:
-
Permalink:
tijoseymathew/langextract-docling@8b62dd3605e5d0dd0f5302737c2a2490f1630926 -
Branch / Tag:
refs/tags/v1.0.9-alpha.1 - Owner: https://github.com/tijoseymathew
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8b62dd3605e5d0dd0f5302737c2a2490f1630926 -
Trigger Event:
release
-
Statement type: