Skip to main content

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

  1. Clone the repository:
git clone https://github.com/Venere-Labs/llm-document-analysis.git
cd llm-document-analysis
  1. Create a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install development dependencies:
pip install -e ".[dev]"
  1. 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.

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)

Source distribution for llm-document-analysis 0.1.1
File Size Uploaded
llm_document_analysis-0.1.1.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-document-analysis 0.1.1
File Interpreter ABI Platform
llm_document_analysis-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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