Skip to main content

Bielik โ€” local chat client (CLI + web) with HuggingFace Integration

Project description

๐Ÿฆ… Bielik

PyPI Python License Build Downloads Code style: flake8 Issues Stars Forks

Author: Tom Sapletta
License: Apache-2.0

๐Ÿ‡ต๐Ÿ‡ฑ Bielik is a powerful Polish AI Assistant that downloads and runs Polish language models from HuggingFace, created specifically for the Bielik models from Speakleash.

๐Ÿš€ Key Features:

  • ๐ŸŽฏ HuggingFace Integration - Direct model downloads from HF Hub
  • ๐Ÿ’ฌ Polish Language Optimized - Built for Polish conversation and analysis
  • ๐Ÿ–ผ๏ธ Vision Capabilities - Image analysis and visual question answering
  • ๐Ÿ“ Document Processing - PDF, DOCX, web content analysis
  • ๐Ÿณ Docker Ready - Containerized testing environments
  • โšก Lightweight - Minimal (~50MB) or Full (~2GB) installation options

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                       ๐Ÿฆ… BIELIK SYSTEM                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚   ๐Ÿ–ฅ๏ธ  CLI Shell     โ”‚  ๐ŸŒ FastAPI Server   โ”‚  ๐Ÿณ Docker Tests   โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚ โ€ข Interactive   โ”‚โ”‚ โ”‚ โ€ข REST /chat      โ”‚ โ”‚ โ”‚ โ€ข Minimal     โ”‚ โ”‚
โ”‚  โ”‚ โ€ข Personalized  โ”‚โ”‚ โ”‚ โ€ข WebSocket /ws   โ”‚ โ”‚ โ”‚ โ€ข Full        โ”‚ โ”‚
โ”‚  โ”‚ โ€ข Multi-modal   โ”‚โ”‚ โ”‚ โ€ข Port 8000       โ”‚ โ”‚ โ”‚ โ€ข CI/CD       โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
            โ”‚                       โ”‚                       โ”‚
            โ–ผ                       โ–ผ                       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                ๐Ÿค— HUGGINGFACE INTEGRATION                     โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚   Direct Downloads   โ”‚โ—„โ”€โ”€โ–บโ”‚     Local Model Execution   โ”‚  โ”‚
โ”‚  โ”‚ โ”Œโ”€ HF Hub API        โ”‚    โ”‚ โ”Œโ”€ Transformers Pipeline    โ”‚  โ”‚
โ”‚  โ”‚ โ””โ”€ Model Management  โ”‚    โ”‚ โ””โ”€ Vision Models (optional) โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                 ๐Ÿ“š POLISH LANGUAGE MODELS                      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ ๐Ÿค– Speakleash/Bielik Models (HuggingFace Hub)          โ”‚  โ”‚
โ”‚  โ”‚ ๐Ÿ”— Direct: HuggingFace โ†’ Local Storage โ†’ Execution     โ”‚  โ”‚
โ”‚  โ”‚ ๐ŸŽฏ Polish-optimized conversation and analysis          โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

terminal

๐Ÿค– About Bielik Model

Bielik is a groundbreaking Polish language model created by Speakleash - a foundation dedicated to the development of Polish artificial intelligence.

๐Ÿ”— External Dependencies & Links:

๐Ÿš€ How it Works:

  1. Bielik CLI connects directly to HuggingFace Hub
  2. Models are downloaded from Speakleash organization on HuggingFace
  3. Local execution uses Transformers library (optional for vision)
  4. Chat interface (CLI/Web) โ†’ Local Models โ†’ Polish responses
  5. Modular design supports text-only or full vision capabilities

๐Ÿ“Œ Features

  • ๐ŸŽฏ HuggingFace Integration โ€” Direct model downloads and management
    • ๐Ÿ” Model Discovery โ€” Browse available Polish language models
    • ๐Ÿ“ฆ Smart Downloads โ€” Automatic model caching and versioning
    • ๐Ÿš€ Auto-Switch โ€” Automatically switches to newly downloaded models
    • ๐Ÿ› ๏ธ Interactive โ€” User-friendly model selection on first startup
  • ๐Ÿ–ฅ๏ธ Enhanced CLI python -m bielik โ€” Personalized chat experience
    • ๐Ÿ“‹ Commands โ€” :help, :models, :download, :delete, :switch, :settings, :name
    • โš™๏ธ Personalization โ€” Custom user names, dynamic assistant names
    • ๐Ÿค— HF Management โ€” Direct HuggingFace model operations
    • ๐Ÿ“ Content Analysis โ€” Folder scanning, document processing
    • ๐ŸŒ Cross-platform โ€” Windows, macOS, Linux support
  • ๐Ÿ–ผ๏ธ Vision Capabilities (Full version only)
    • ๐Ÿ” Image Analysis โ€” Automatic image captioning in Polish
    • โ“ Visual QA โ€” Ask questions about images
    • ๐ŸŽจ Multi-modal โ€” Combined text and image understanding
    • โšก GPU Support โ€” Hardware acceleration for faster processing
  • ๐Ÿ Python API โ€” Programmatic access via BielikClient class
    • ๐Ÿ’ฌ Chat methods โ€” chat(), query(), conversation management
    • ๐Ÿ”ง Model control โ€” Download, switch, and manage models
    • ๐Ÿค— HF Models โ€” Full HuggingFace integration
    • ๐Ÿ“ค Export โ€” Conversation history in multiple formats
  • ๐ŸŒ Web Server (FastAPI on port 8000):
    • ๐Ÿ“ก REST โ€” POST /chat endpoint for JSON communication
    • โšก WebSocket โ€” WS /ws for real-time chat
    • ๐Ÿ–ผ๏ธ Multi-modal โ€” Support for text and image inputs
  • ๐Ÿณ Docker Support โ€” Complete containerized testing
    • ๐Ÿ“ฆ Minimal Version โ€” Lightweight text-only container (~50MB)
    • ๐ŸŽฏ Full Version โ€” Complete vision-enabled container (~2GB)
    • ๐Ÿ”ง CI/CD โ€” Automated testing environments

โš™๏ธ Installation Options

Bielik offers two installation modes to suit different needs:

๐Ÿชถ Minimal Version (Recommended for most users)

~50MB installation - Perfect for text-based Polish AI conversations:

# Install minimal version (text-only)
pip install bielik

# Start CLI and download your first model
python -m bielik

What's included:

  • โœ… Polish conversation and text analysis
  • โœ… HuggingFace model downloads and management
  • โœ… Document processing (PDF, DOCX, TXT)
  • โœ… Web content analysis
  • โœ… Folder structure analysis
  • โœ… Personalized CLI experience
  • โŒ Image analysis (can be added later)

๐ŸŽฏ Full Version (For image analysis)

~2GB+ installation - Complete AI assistant with vision capabilities:

# Install full version (text + vision)
pip install bielik[vision]

# Start CLI with image analysis support
python -m bielik

What's included:

  • โœ… Everything from minimal version
  • โœ… Image analysis and captioning
  • โœ… Visual question answering
  • โœ… GPU acceleration support
  • โœ… Multi-modal document processing

๐Ÿ”„ Upgrade Anytime

Start minimal and upgrade when needed:

# Upgrade minimal โ†’ full
pip install bielik[vision]

# Or install specific optional features
pip install bielik[local]    # Local model execution
pip install bielik[gpu]      # GPU acceleration
pip install bielik[dev]      # Development tools

๐Ÿš€ Quick Start Guide

๐ŸŽฏ Instant Start (No setup required!)

Bielik now works without any external dependencies. Just install and start chatting:

# Install minimal version
pip install bielik

# Start CLI and choose your first model
python -m bielik

What happens on first run:

  • ๐Ÿ” Model Selection โ€” Choose from available Polish models
  • ๐Ÿ“ฅ Auto Download โ€” Selected model downloads from HuggingFace
  • ๐Ÿ”„ Auto Switch โ€” Automatically switches to the new model
  • ๐Ÿ’ฌ Ready to Chat โ€” Start conversing in Polish immediately!

๐Ÿ“ฑ Choose Your Experience

๐Ÿชถ Minimal Setup (Recommended)

Perfect for text conversations and document analysis:

# 1. Install
pip install bielik

# 2. Start and download your first model
python -m bielik
:download speakleash/bielik-4.5b-v3.0-instruct

# 3. Start chatting in Polish!
Czeล›ฤ‡! Jak mogฤ™ Ci pomรณc?

๐ŸŽฏ Full Setup (For image analysis)

Includes vision capabilities for image analysis:

# 1. Install with vision support
pip install bielik[vision]

# 2. Start and download models
python -m bielik
:download speakleash/bielik-4.5b-v3.0-instruct

# 3. Analyze images
Przeanalizuj to zdjฤ™cie: image.jpg

๐Ÿณ Docker Setup (For testing)

Use Docker for isolated testing environments:

# Clone repository
git clone https://github.com/tomsapletta/bielik.git
cd bielik

# Test minimal version
docker-compose --profile minimal up bielik-minimal

# Test full version  
docker-compose --profile full up bielik-full

๐Ÿ’ป Usage

๐Ÿ–ฅ๏ธ CLI Commands & Options

Starting Bielik

# Basic usage
python -m bielik                         # Start interactive chat
bielik                                   # Alternative (if in PATH)

# Advanced options  
python -m bielik --help                  # Show all options

Interactive Commands (inside chat session)

๐Ÿ“‹ Model Management:

:models                    # List available HuggingFace models
:download <model-name>     # Download model from HuggingFace
:switch <model-name>       # Switch to downloaded model
:delete <model-name>       # Delete model from local storage

โš™๏ธ Personalization:

:name <your-name>          # Set your display name
:settings                  # Show current configuration

๐Ÿ› ๏ธ Utilities:

:help                      # Show all commands
:clear                     # Clear conversation history
:exit                      # Quit (or Ctrl+C)

Usage Examples

First Time Setup:

$ python -m bielik
# Choose from recommended models:
# 1. speakleash/bielik-4.5b-v3.0-instruct (Recommended)
# 2. speakleash/bielik-7b-instruct-v0.1
# Enter choice: 1

๐Ÿ”„ Downloading speakleash/bielik-4.5b-v3.0-instruct...
โœ… Model ready! Switching to bielik-4.5b-v3.0-instruct

๐Ÿ‘ค You: Czeล›ฤ‡! Jak siฤ™ masz?
๐Ÿค– bielik-4.5b: Czeล›ฤ‡! Mam siฤ™ dobrze, dziฤ™kujฤ™...

Everyday Usage:

๐Ÿ‘ค You: :name Jan
โœ… Display name set to: Jan

๐Ÿ‘ค Jan: Przeanalizuj folder ~/dokumenty
๐Ÿค– bielik-4.5b: [Analyzes folder structure and contents]

๐Ÿ‘ค Jan: Opisz to zdjฤ™cie: vacation.jpg  # (Full version only)
๐Ÿค– bielik-4.5b: [Describes image in Polish]

๐Ÿ Python API

Use Bielik programmatically in your Python applications:

from bielik.client import BielikClient

# Create client (auto-downloads model if needed)
client = BielikClient()

# Send a Polish message
response = client.chat("Napisz krรณtki wiersz o Polsce")
print(response)

# Get model status
status = client.get_status()
print(f"Current model: {status['current_model']}")
print(f"Models available: {status['models_available']}")

# Export conversation
history = client.export_conversation(format="markdown")

Quick functions:

from bielik.client import quick_chat

# One-off Polish query
response = quick_chat("Co to jest sztuczna inteligencja?")
print(response)

BielikClient Options:

  • model: Specific HuggingFace model to use
  • auto_download: Auto-download model if missing (default: True)

๐ŸŒ Web Server

# Start web server
uvicorn bielik.server:app --port 8000

# Or with Docker
docker-compose --profile minimal up bielik-minimal

Endpoints:

  • POST /chat - JSON chat endpoint
  • WS /ws - WebSocket real-time chat
  • GET /models - List available models

Example request:

{"messages": [{"role":"user","content":"Czeล›ฤ‡! Jak siฤ™ masz?"}]}

๐Ÿณ Docker Usage

Quick Testing:

# Test minimal version
docker run -it bielik:minimal

# Test full version with GPU
docker run --gpus all -it bielik:full

With persistent storage:

# Minimal with model persistence
docker run -it -v $(pwd)/models:/app/models bielik:minimal

# Full with models and images
docker run -it \
  -v $(pwd)/models:/app/models \
  -v $(pwd)/images:/app/images \
  bielik:full

Development setup:

# Clone and test
git clone https://github.com/tomsapletta/bielik.git
cd bielik

# Run automated tests
docker-compose --profile test up test-runner

# Interactive development
docker-compose --profile minimal run --rm bielik-minimal bash

๐Ÿ”ง Environment Variables

Core Settings:

  • BIELIK_CLI_USERNAME โ€” Your display name in CLI (auto-detected from system)
  • BIELIK_CLI_CURRENT_MODEL โ€” Currently selected model
  • BIELIK_CLI_ASSISTANT_NAME โ€” Assistant display name (auto-set from model)
  • BIELIK_CLI_AUTO_SWITCH โ€” Auto-switch to newly downloaded models (default: true)

Storage & Cache:

  • BIELIK_MODELS_DIR โ€” Local model storage directory
  • BIELIK_DATA_DIR โ€” User data and settings directory
  • HF_HOME โ€” HuggingFace cache directory

Docker Environment:

  • BIELIK_MODE โ€” minimal or full (Docker only)
  • BIELIK_IMAGES_DIR โ€” Images directory for analysis (full version)

๐Ÿ› ๏ธ Troubleshooting

Installation Issues

Problem: Minimal version works but vision features don't

# Upgrade to full version
pip install bielik[vision]

# Verify vision packages
python -c "import PIL, transformers; print('Vision packages OK')"

Problem: Model download fails or times out

# Check HuggingFace connectivity
python -c "from huggingface_hub import HfApi; print('HF connection OK')"

# Check available disk space (models are 2-8GB)
df -h

# Manual download with timeout
:download speakleash/bielik-4.5b-v3.0-instruct

Problem: "No models available" on first startup

# Download a model manually
python -m bielik
:models
:download speakleash/bielik-4.5b-v3.0-instruct

Runtime Issues

Problem: Model responses are slow or use too much memory

# Use smaller model
:switch speakleash/bielik-4.5b-v3.0-instruct  # instead of 7b

# Check system resources
htop      # Linux/macOS
taskmgr   # Windows

# Enable GPU acceleration (full version)
pip install bielik[gpu]

Problem: Image analysis not working

# Check if vision packages installed
python -c "from bielik.image_analyzer import ImageAnalyzer; ia = ImageAnalyzer(); print(f'Available: {ia.is_available()}')"

# Install vision support
pip install bielik[vision]

Problem: CLI settings not persisting

# Check .env file creation
ls -la ~/.bielik/ || ls -la ./

# Reset settings
:name YourName
:settings

Docker Issues

Problem: Docker containers fail to start

# Build images manually
docker build -f docker/Dockerfile.minimal -t bielik:minimal .
docker build -f docker/Dockerfile.full -t bielik:full .

# Check container logs
docker logs bielik-minimal

Problem: Models not persisting between Docker runs

# Use volume mounts
docker run -v $(pwd)/models:/app/models bielik:minimal

# Or use Docker Compose
docker-compose --profile minimal up

Getting Help

  • GitHub Issues: Report bugs and feature requests
  • Command Help: python -m bielik --help or :help in CLI
  • Test Environment: Use Docker for isolated testing
  • Check Status: Use :settings command for current configuration

๐Ÿ“ Development

git clone https://github.com/tomsapletta/bielik.git
cd bielik
python -m venv .venv
source .venv/bin/activate
pip install -e .[ollama]

๐Ÿ“‚ Package Structure

bielik/
โ”œโ”€โ”€ bielik/
โ”‚   โ”œโ”€โ”€ __init__.py          # Package initialization
โ”‚   โ”œโ”€โ”€ cli.py               # CLI entry point (wrapper)
โ”‚   โ”œโ”€โ”€ client.py            # Client entry point (wrapper)
โ”‚   โ”œโ”€โ”€ server.py            # FastAPI web server
โ”‚   โ”œโ”€โ”€ config.py            # Configuration management
โ”‚   โ”œโ”€โ”€ hf_models.py         # Hugging Face model management
โ”‚   โ”œโ”€โ”€ content_processor.py # Content processing utilities
โ”‚   โ”œโ”€โ”€ cli/                 # Modular CLI components
โ”‚   โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”‚   โ”œโ”€โ”€ main.py          # Main CLI entry and argument parsing
โ”‚   โ”‚   โ”œโ”€โ”€ commands.py      # Command processing and execution
โ”‚   โ”‚   โ”œโ”€โ”€ models.py        # HF model management CLI
โ”‚   โ”‚   โ”œโ”€โ”€ setup.py         # Interactive setup manager
โ”‚   โ”‚   โ””โ”€โ”€ send_chat.py     # Chat communication handling
โ”‚   โ””โ”€โ”€ client/              # Modular client components
โ”‚       โ”œโ”€โ”€ __init__.py      # Client package exports
โ”‚       โ”œโ”€โ”€ core.py          # Core BielikClient class
โ”‚       โ”œโ”€โ”€ model_manager.py # HF model operations for client
โ”‚       โ””โ”€โ”€ utils.py         # Client utility functions
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ test_cli.py          # CLI unit tests
โ”‚   โ””โ”€โ”€ test_server.py       # Server unit tests
โ”œโ”€โ”€ pyproject.toml           # Modern Python packaging
โ”œโ”€โ”€ setup.cfg                # Package configuration
โ”œโ”€โ”€ MANIFEST.in              # Package manifest
โ”œโ”€โ”€ LICENSE                  # Apache 2.0 license
โ”œโ”€โ”€ README.md                # This documentation
โ”œโ”€โ”€ Makefile                 # Development automation
โ”œโ”€โ”€ todo.md                  # Project specifications
โ””โ”€โ”€ .github/workflows/       # CI/CD automation
    โ””โ”€โ”€ python-publish.yml

๐Ÿ“œ License

Apache License 2.0

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

bielik-0.1.5.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

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

bielik-0.1.5-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bielik-0.1.5.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for bielik-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e7c16889e03c1db58309b3470c99abe8e604374100d5308fc8286b1a7d19bd11
MD5 6fb7b674a1799c58925aca3b126312cc
BLAKE2b-256 194830cf286e97c195f624a5b8f3fb2bc18844a0d5e99fb5acca033ce6ba3c51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bielik-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for bielik-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0f32f323f8bba5ecd7ff0019d50c998794059d63e161ad279a3963bd861b4b4f
MD5 aef0a66b159ee87f4b02221c8f3439c6
BLAKE2b-256 aabec1b74a2b8808572cbe9e24f744ef1f0597deef7e38299dd0cfa55b1f86f2

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