Xtracture: Open Source Document Content Extractuion Library
Xtracture is an open source library designed to efficiently extract arbitrary elements from documents.
Features
- Natural language rule creation using LLMs
- Switchable OCR engines for optimized perfomance and accuracy
prerequirements
- OpenAI API Key (for LLM rule creation)
Installation
pip install -U xtracture
Usage
Use Google Cloud Vision API
Google CLoud Vision Credentials must be correctly configured.
see examples/google_cloud_vision_example.py.
Use Tesseract
Tesseract must be installed beforehand.
see examples/tesseract_example.py.
Use only GPT Extractor
You can input OCR-processed text file.
see examples/lambda_example.py.
License
Xtracture is released under the MIT License.
Metadata
Release files for xtracture 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xtracture-0.4.0.tar.gz | 3.6 kB | Without provenance | Details for xtracture-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtracture-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for xtracture-0.4.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / xtracture-0.4.0.tar.gz
| Download URL | xtracture-0.4.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b33c3bda58978e9d63dc159322882eb0b74c04669a537003d00551436599ffb9
|
|
BLAKE2b-256 checksum How to use checksums |
620f5ba6fc73dbe2b5ce0566664402ddbbd7f11285ea644aa9300fa3613bb0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.2 Darwin/22.3.0
|
Release files / xtracture-0.4.0-py3-none-any.whl
| Download URL | xtracture-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
903b5808812924a44da3de79388bc671a463306a66f563a53d9bb388f48853ab
|
|
BLAKE2b-256 checksum How to use checksums |
079f8075ad9349c3ee7d7eae90253db70f7fd7838bb2a0465f721a55e44a5b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.2 Darwin/22.3.0
|
Security for xtracture 0.4.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.