Skip to content

Installation

Streamblocks can be installed using pip or uv.

Basic Installation

uv add streamblocks
pip install streamblocks

With AI Provider Support

Install with specific AI provider support:

# Gemini support
pip install streamblocks[gemini]

# OpenAI support
pip install streamblocks[openai]

# Anthropic support
pip install streamblocks[anthropic]

# All providers
pip install streamblocks[all-providers]

With Enhanced Logging

# Structlog integration
pip install streamblocks[structlog]

# Loguru integration
pip install streamblocks[loguru]

Development Installation

For development, clone the repository and install with all dependencies:

git clone https://github.com/hotherio/streamblocks.git
cd streamblocks
uv sync --all-extras

Requirements

  • Python 3.13 or higher
  • pydantic >= 2.0
  • pyyaml >= 6.0

Verifying Installation

from hother.streamblocks import StreamBlockProcessor

print("Streamblocks installed successfully!")