Skip to main content

PDF assistant using popular AI

Project description

📚 Malama PDFMAN

Malama PDFMAN is a flexible and extensible framework for querying content from PDF files using various large language models (LLMs) like OpenAI, Gemini, Claude, Mistral, LLaMA, DeepSeek, and more.

🔍 Upload a PDF → Load context → Ask questions → Get intelligent answers from the LLM of your choice.


✨ Features

  • ✅ Extracts context from PDFs (fully or within specified page ranges)
  • 🤖 Supports multiple LLMs via simple abstraction
  • 🔌 Easily pluggable support for new AI providers
  • 🧠 Unified prompt structure and clean output handling
  • ⚙️ Minimal external dependencies

🏗️ Supported Models

Provider Model Examples
OpenAI gpt-3.5-turbo
Gemini gemini-1.5-pro-002
Anthropic claude-3-7-sonnet-20250219
Groq compound-beta-mini,llama3-70b-8192
Mistral mistral-medium
Cohere command-r-plus
DeepSeek deepseek-ai/DeepSeek-R1
Together.ai Qwen/Qwen2-72B-Instruct
Together.ai Coming Soon - Falcon
Amazon Titan Coming Soon (via Boto3)

📦 Installation

pip install malama

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

malama-0.1.5.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

malama-0.1.5-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file malama-0.1.5.tar.gz.

File metadata

  • Download URL: malama-0.1.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for malama-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b43ee84538801ba02e7b56ec20a876e92e1dfd6198bbeb54dcab9043cdc678fe
MD5 07d75c6f8506985c5f5c83d2a085aa33
BLAKE2b-256 05bf5de55405165550c04531341b6a048b649b5dbe66394c870e6702523fc9cc

See more details on using hashes here.

File details

Details for the file malama-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: malama-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for malama-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6cafd412656f626c860d69ea5b15b5be58793b8d087ff47ff64f25731cede4
MD5 36ff1877932b0f9cca475f175b130088
BLAKE2b-256 df3408ffa8a82ffae12b819eeb101b104550660be5bd6bb653fa5cd7b39ab67b

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