Skip to main content

A Python library for LLM-powered document analysis and processing

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_document_analysis-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_document_analysis-0.1.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file llm_document_analysis-0.1.1.tar.gz.

File metadata

  • Download URL: llm_document_analysis-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for llm_document_analysis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 731b4145415b7b084fac19aa304db67d69138efa94108f59dd78627455f1f4d0
MD5 b13a1a67010d1f60ecd47559107bf762
BLAKE2b-256 7d5213b73788e3fdf48e8d57c5ff3c8ce0214182acecd470ae475fe9b0e2b955

See more details on using hashes here.

File details

Details for the file llm_document_analysis-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_document_analysis-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4713d743f6e02a17c457aa4c67b2c13ec54ace62a778bd0d8a51dd1297c57b
MD5 5c1496120cea2d19d5df970364069d3e
BLAKE2b-256 9457d22dce15979c434bd4d258f60035e96882576b0aaba1a5741fddab9bdc65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page