Skip to main content

Advanced GGUF Model Loader with Smart Floating Assistant

Project description

GGUF Loader

PyPI version Python Support License: MIT

Advanced GGUF Model Loader with Smart Floating Assistant

GGUF Loader is a production-ready Python application that provides a robust GGUF model loader with an innovative Smart Floating Assistant addon. Transform how you work with AI across all your applications with global text selection and processing capabilities.

โœจ Key Features

๐Ÿš€ Smart Floating Assistant

  • Global Text Selection: Works across ALL applications (browsers, editors, documents)
  • AI-Powered Processing: Summarize and comment on any selected text
  • Floating UI: Non-intrusive, always-accessible interface
  • Privacy-First: All processing happens locally on your machine

๐ŸŽฏ Core Capabilities

  • GGUF Model Support: Load and run any GGUF format model
  • Modern GUI: Built with PySide6 for a native desktop experience
  • Addon System: Extensible architecture for custom functionality
  • Cross-Platform: Works on Windows, macOS, and Linux
  • GPU Acceleration: Optional CUDA and Metal support

๐Ÿ”ง Developer-Friendly

  • Rich API: Comprehensive addon development framework
  • Hot Loading: Load and unload addons without restarting
  • Open Source: MIT licensed and community-driven

๐Ÿš€ Quick Start

Installation

pip install ggufloader

Launch

ggufloader

First Steps

  1. Download a GGUF model from Hugging Face
  2. Click "Select GGUF Model" in the application
  3. Load your model and start chatting
  4. Try the Smart Assistant: Select text anywhere and click the โœจ button!

๐Ÿ“‹ System Requirements

  • Python: 3.8 or higher
  • RAM: 4GB minimum (8GB+ recommended)
  • Storage: 2GB+ free space for models
  • OS: Windows 10/11, macOS 10.14+, or Linux (Ubuntu 18.04+)

Platform-Specific Requirements

Windows

  • Windows 10 or 11
  • Automatically installs pywin32 for enhanced system integration

macOS

  • macOS 10.14 (Mojave) or later
  • Optional: Install enhanced macOS integration with pip install ggufloader[macos]

Linux

  • Ubuntu 18.04+, Fedora 30+, or equivalent
  • X11 display server (Wayland support coming soon)
  • Optional: Install enhanced Linux integration with pip install ggufloader[linux]

๐ŸŽฎ Usage Examples

Basic Chat

# Launch the application
ggufloader

# Or use programmatically
from ggufloader import addon_main
addon_main()

Smart Floating Assistant Workflow

  1. Reading an article โ†’ Select key paragraph โ†’ Click โœจ โ†’ "Summarize"
  2. Code review โ†’ Select complex function โ†’ Click โœจ โ†’ "Comment"
  3. Email writing โ†’ Select draft โ†’ Click โœจ โ†’ "Comment" for suggestions
  4. Research โ†’ Select academic text โ†’ Click โœจ โ†’ "Summarize"

Command Line Options

# Show version
ggufloader --version

# Show help
ggufloader --help

๐Ÿ”ง Advanced Installation

GPU Acceleration

NVIDIA GPU (CUDA)

pip uninstall llama-cpp-python
pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121

Apple Silicon (Metal)

pip uninstall llama-cpp-python
CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python

Platform-Specific Enhanced Features

Windows Enhanced Integration

pip install ggufloader[windows]

macOS Enhanced Integration

pip install ggufloader[macos]

Linux Enhanced Integration

pip install ggufloader[linux]

Performance Monitoring (Optional)

pip install ggufloader[performance]

All Optional Features

pip install ggufloader[all]

Development Installation

git clone https://github.com/GGUFloader/gguf-loader.git
cd gguf-loader
pip install -e .[dev]

๐Ÿ“š Documentation

Quick Links

Key Documentation Files

๐Ÿ› ๏ธ Development

Project Structure

ggufloader/
โ”œโ”€โ”€ __init__.py              # Package initialization
โ”œโ”€โ”€ gguf_loader_main.py      # Main application entry point
โ”œโ”€โ”€ addon_manager.py         # Addon system management
โ”œโ”€โ”€ config.py               # Configuration utilities
โ”œโ”€โ”€ addons/                 # Built-in addons
โ”œโ”€โ”€ docs/                   # Documentation
โ”œโ”€โ”€ models/                 # Model loading components
โ”œโ”€โ”€ ui/                     # User interface components
โ””โ”€โ”€ widgets/                # Custom UI widgets

Creating Addons

# Example addon structure
def register_addon(parent_app):
    """Register addon with the main application"""
    return MyAddonWidget(parent_app)

class MyAddonWidget(QWidget):
    def __init__(self, parent_app):
        super().__init__()
        self.parent_app = parent_app
        # Your addon implementation

๐Ÿค Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Run tests: pytest
  5. Submit a pull request

Development Setup

git clone https://github.com/GGUFloader/gguf-loader.git
cd gguf-loader
pip install -e .[dev]

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ”— Links

๐Ÿ‘จโ€๐Ÿ’ป Author

Hussain Nazary

๐Ÿ™ Acknowledgments

  • llama.cpp team for the excellent GGUF format and inference engine
  • PySide6 team for the robust GUI framework
  • Hugging Face for model hosting and transformers library
  • Open source community for continuous support and contributions

๐Ÿ“Š Stats

  • Language: Python 3.8+
  • GUI Framework: PySide6
  • AI Backend: llama-cpp-python
  • Package Size: ~50MB
  • Supported Models: All GGUF format models

Transform your text workflow with AI-powered assistance! ๐Ÿš€

Made with โค๏ธ by the GGUF Loader team

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

ggufloader-2.0.1.tar.gz (180.7 kB view details)

Uploaded Source

Built Distribution

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

ggufloader-2.0.1-py3-none-any.whl (197.7 kB view details)

Uploaded Python 3

File details

Details for the file ggufloader-2.0.1.tar.gz.

File metadata

  • Download URL: ggufloader-2.0.1.tar.gz
  • Upload date:
  • Size: 180.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for ggufloader-2.0.1.tar.gz
Algorithm Hash digest
SHA256 79f702c499f4ef39153cf14418ffa65758c6f153a57a0c89bd5d9c4a74ebf6cc
MD5 b2b5fd34ada150be4e7fd2feba2eca23
BLAKE2b-256 d672716003f2d8cb8ca39349e07243ae10c1b123843c22342112b16847e1454d

See more details on using hashes here.

File details

Details for the file ggufloader-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: ggufloader-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 197.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for ggufloader-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5e9946050fe77073ad321dddfe1936c945a94344002b0104a1db8bc415a0f8
MD5 a69d1e813a9d5a0d6e2e98ae5a1e6525
BLAKE2b-256 fcfa7e4c49bbe09f8e8a26388608d883e7d38c04a6e2dceb35d7e12af3c51307

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