Skip to main content

Python shim for ggufy - A tool for managing GGUF model files. Visit https://ggufy.com and https://github.com/nbiish/ggufy

Project description

ggufy Python Shim

A Python shim that automatically downloads and manages the appropriate ggufy binary for your platform.

Website: ggufy.com
Repository: nbiish/ggufy

Installation

pip install ggufy
# or
uv tool install ggufy

Features

  • Automatic Platform Detection: Downloads the correct binary for your OS and architecture
  • Self-Updating: Automatically manages binary versions
  • Dual Binaries: Provides both ggufy and ggufy-simple commands
  • TTS/Audio Support: Automatically detects TTS/audio prompts and routes through ollama run
  • GGUF Management: Simplified GGUF model management and interaction

Usage

After installation, you can use the tools directly:

# Basic usage
ggufy simple llama3 "What is Rust?"

# TTS/audio prompts are automatically detected
ggufy simple llama3 "generate tts audio for hello world"

# Use simplified version
ggufy-simple llama3 "Explain quantum computing"

How It Works

This package acts as a shim that:

  1. Detects your platform (macOS/Linux/Windows, ARM64/x86_64)
  2. Downloads the appropriate ggufy binary from GitHub releases
  3. Caches the binary locally in ~/.cache/ggufy
  4. Executes the binary with your arguments

About ggufy

ggufy is a comprehensive tool for managing GGUF (GPT-Generated Unified Format) models, providing:

  • Seamless integration with llama.cpp and Ollama
  • Model serving and inference capabilities
  • GGUF format conversion and management
  • Cross-platform compatibility

For more information about the main ggufy project, visit ggufy.com or check out the GitHub repository.

Environment Variables

  • GGUFY_TAG: Override the GitHub release tag to download (default: latest version)
  • GGUFY_MODELS_DIR: Custom directory for local models

Requirements

  • Python 3.8+
  • Internet connection for initial binary download

License

Same as the main ggufy project.

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

ggufy-0.1.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

ggufy-0.1.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ggufy-0.1.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.9

File hashes

Hashes for ggufy-0.1.5.tar.gz
Algorithm Hash digest
SHA256 cff9c87c04048dadccc70a690043e32b36771522bcc5a86a85a1532d4f0f5cc1
MD5 b2f1de3e4fb88b1663c90b77a6ae6351
BLAKE2b-256 672accc821cb739574d31e9f175cd1aa4eb3b01e99c2c1c234d8e1be2e16d10f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ggufy-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.9

File hashes

Hashes for ggufy-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a64fb3efcd00ecb76963c012021b284d865e99975c5b01d277c912698446806
MD5 58997eec9a99fa410cf56ff539295ab0
BLAKE2b-256 6a27cced9114e6fd37b1e753c514ef69101def64e1838fb40b4ec82ea5966861

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