Skip to main content

DocLM - Intelligent Document Analysis

DocLM is a Python library that uses advanced AI to analyze any PDF document and generate comprehensive summary reports with smart analytics.

Features

  • Multi-Format Support: Analyze PDF, DOCX, TXT, and more.
  • Smart Summarization: AI-powered summaries that capture the essence of your documents.
  • Detailed Analytics: Get key insights and statistics from your content.
  • Google Colab Ready: Seamlessly integrate with Google Colab for cloud-based analysis.

How to Get Your API Token

  1. Run the backend server: python app.py.
  2. Open your browser to http://127.0.0.1:5000.
  3. Click "Get Started" and fill out the signup form.
  4. Your unique API token will be displayed and emailed to you.

Installation

pip install DocLM

Quick Start

from DocLM import DocumentAnalyzer

# Initialize the analyzer with your token
analyzer = DocumentAnalyzer(api_token="your_token_here")

# Analyze any PDF document
# Make sure you have a file named 'document.pdf' in the same directory
try:
    report = analyzer.analyze("document.pdf")

    # Get the smart analytics report
    print("Summary:")
    print(report.summary)
    print("\nKey Insights:")
    for insight in report.key_insights:
        print(f"- {insight}")

except FileNotFoundError:
    print("Error: 'document.pdf' not found. Please create a sample PDF to analyze.")
except Exception as e:
    print(f"An error occurred: {e}")

Metadata

Release files for DocLM 1.0.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 DocLM 1.0.1
File Size Uploaded Provenance Actions
doclm-1.0.1.tar.gz 2.1 kB Without provenance Details for doclm-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for DocLM 1.0.1
File Interpreter ABI Platform Actions
doclm-1.0.1-py3-none-any.whl Python 3 none any Details for doclm-1.0.1-py3-none-any.whl

Total release size: 4.0 kB

Release files / doclm-1.0.1.tar.gz

Download URL doclm-1.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6ad7eb799c346b1da7408ff9e48a52ae49f2d632c854108f2a5ed197ef164993
BLAKE2b-256 checksum
How to use checksums
ea2e6751c3a0fcb5ce0f353c4680a99a7262154b4f8e8157f8fed19506787054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / doclm-1.0.1-py3-none-any.whl

Download URL doclm-1.0.1-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61d8b501775556f5253b01bde5f92bb988a991d0bfdd41a2ac37c2fe91232c44
BLAKE2b-256 checksum
How to use checksums
5ca1dc9381b60524478d2e8134a88f96e52f41ee3e96c60afbb2df7f6e8fee8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for DocLM 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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