Skip to main content

A Python library for contract analysis using LLMs

Project description

contractkit

A simple Python library for contract intelligence using LLMs.

Features

  • 📄 Extracts text from PDF contracts
  • 🔍 Parses and cleans contract text
  • 🧠 Extracts key clauses using OpenAI
  • 🧾 Summarizes contracts for business understanding

Usage

from contractkit import pdf_reader, extractor, summarizer

text = pdf_reader.extract_text_from_pdf("contract.pdf")
clauses = extractor.extract_clauses(text, api_key="YOUR_KEY")
summary = summarizer.summarize_contract(text, api_key="YOUR_KEY")

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

contractkit-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

contractkit-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for contractkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62c9609697d774c2a0d8b830b2af8e04d466f5a2628e39f575dccfd313b9b18b
MD5 eb134ac15c6dca3f43ac412715746b28
BLAKE2b-256 ff7d3b5782997de4ff0d6ecfef5f92ce79a3bdad04d065ab9fd0c67de6b37490

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contractkit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for contractkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d25a3e8bd0e3e442840d4f267ce1d198dedc0d0c5a8d1629a908acedb5146014
MD5 c02c8a831052f991c82f03ca1f9d691e
BLAKE2b-256 34d2eb1e242f71a5b66a33300870fc4c78d47132dae7ba5549203009efcf3568

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