Skip to main content

Local GGUF inference, tool calling, and streaming chat for Python (Quaynor bindings).

Project description

Quaynor

Run LLMs locally and efficiently on any device

Quaynor is a lightweight, fast inference engine that makes it simple to run open-source LLMs directly inside your Python applications.

Key Features

  • Run locally, offline, for free - No API keys or cloud services required
  • Fast, simple tool calling - Just pass normal Python functions
  • Reliable tool execution - Automatically derives grammar from function signatures
  • Infinite conversations - Conversation-aware preemptive context shifting prevents mid-conversation crashes
  • GPU accelerated — Vulkan (Linux/Windows) and Metal (macOS/iOS), where supported
  • Thousands of compatible models - Works with any LLM in GGUF format
  • Powered by llama.cpp - Built on the proven llama.cpp engine

Quick Start

from quaynor import Chat

chat = Chat('./model.gguf')
response = chat.ask('Hello world?').completed()
print(response)

Installation

pip install quaynor

Documentation

Full documentation: https://docs.quaynor.ooo/

License

MIT — see the repository LICENSE file.

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

quaynor-1.1.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

quaynor-1.1.0-cp38-abi3-macosx_11_0_arm64.whl (9.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file quaynor-1.1.0.tar.gz.

File metadata

  • Download URL: quaynor-1.1.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for quaynor-1.1.0.tar.gz
Algorithm Hash digest
SHA256 95ed66fbd6cd828808f3236d75bbac36168d3805f88e204847ec3b40ae33e13a
MD5 8e03292658181e7c018f455df06b5703
BLAKE2b-256 9fef0a7a4a0e143e52f8677a214292d280f84dcdbf34a3bc36a27f2e9c9ef6be

See more details on using hashes here.

File details

Details for the file quaynor-1.1.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for quaynor-1.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4d4d0037766fe79491e77d906cf5423401b772772348b4c30160984eece70d1
MD5 4feb02be780a9e87a2a83f14c4b9301b
BLAKE2b-256 50e0e14b1f8eaabb428e83412b151bc5161b9b125622883631479d857c071e93

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