LLM Document Analysis
A Python library for LLM-powered document analysis and processing. This library provides a flexible and extensible framework for analyzing documents using Large Language Models.
Features
- Document processing for various formats (PDF, Text, etc.)
- Integration with popular LLM providers
- Extensible processor architecture
- Built-in logging and error handling
- Async support for better performance
Installation
You can install the package directly from PyPI:
pip install llm-document-analysis
For development installation with additional tools:
pip install llm-document-analysis[dev]
Quick Start
from llm_document_analysis import DocumentAnalyzer
from llm_document_analysis.processors import PDFProcessor
# Initialize the analyzer
analyzer = DocumentAnalyzer()
# Process a PDF document
processor = PDFProcessor("path/to/document.pdf")
result = analyzer.analyze(processor)
# Access the analysis results
print(result.summary)
print(result.key_points)
Development
- Clone the repository:
git clone https://github.com/Venere-Labs/llm-document-analysis.git
cd llm-document-analysis
- Create a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install development dependencies:
pip install -e ".[dev]"
- Run tests:
pytest
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any problems or have questions, please open an issue on GitHub.
Metadata
Release files for llm-document-analysis 0.1.1
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 |
|---|---|---|---|---|
| llm_document_analysis-0.1.1.tar.gz | 16.9 kB | Without provenance | Details for llm_document_analysis-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_document_analysis-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for llm_document_analysis-0.1.1-py3-none-any.whl |
Total release size: 28.3 kB
Release files / llm_document_analysis-0.1.1.tar.gz
| Download URL | llm_document_analysis-0.1.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
731b4145415b7b084fac19aa304db67d69138efa94108f59dd78627455f1f4d0
|
|
BLAKE2b-256 checksum How to use checksums |
7d5213b73788e3fdf48e8d57c5ff3c8ce0214182acecd470ae475fe9b0e2b955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / llm_document_analysis-0.1.1-py3-none-any.whl
| Download URL | llm_document_analysis-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a4713d743f6e02a17c457aa4c67b2c13ec54ace62a778bd0d8a51dd1297c57b
|
|
BLAKE2b-256 checksum How to use checksums |
9457d22dce15979c434bd4d258f60035e96882576b0aaba1a5741fddab9bdc65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for llm-document-analysis 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.