A flexible AI library with modular provider support
Project description
PepperPy AI
A flexible AI library with modular provider support.
Installation
PepperPy AI uses a modular dependency system to keep the base package lightweight. You only need to install the dependencies for the features you plan to use.
Basic Installation
# Using pip
pip install pepperpy-ai
# Using Poetry
poetry add pepperpy-ai
Optional Features
Install only what you need:
# OpenRouter support is available out of the box!
pip install pepperpy-ai
# Optional providers requiring additional dependencies:
pip install pepperpy-ai[openai] # For OpenAI
pip install pepperpy-ai[anthropic] # For Anthropic
pip install pepperpy-ai[all-providers] # For all providers
# Install with RAG support
pip install pepperpy-ai[rag]
# Install everything
pip install pepperpy-ai[complete]
Using Poetry:
# OpenRouter support is available out of the box!
poetry add pepperpy-ai
# Optional providers requiring additional dependencies:
poetry add pepperpy-ai[openai] # For OpenAI
poetry add pepperpy-ai[anthropic] # For Anthropic
poetry add pepperpy-ai[all-providers] # For all providers
# Install with RAG support
poetry add pepperpy-ai[rag]
# Install everything
poetry add pepperpy-ai[complete]
Development Setup
For development, you'll need additional dependencies. We use Poetry groups to manage these:
# Clone the repository
git clone https://github.com/pimentel/pepperpy-ai.git
cd pepperpy-ai
# Install Poetry if you haven't already
curl -sSL https://install.python-poetry.org | python3 -
# Install with development dependencies
poetry install --with dev,test,docs
# Run tests
poetry run pytest
# Run linters
poetry run ruff check .
poetry run mypy .
# Format code
poetry run black .
poetry run isort .
Project Structure
The project uses a modular dependency system:
- Core Dependencies: Minimal set of required packages
- Optional Features: Additional capabilities through extras
- Development Tools: Linting, formatting, and testing (dev group)
- Test Framework: Testing tools and dependencies (test group)
- Documentation: Documentation building tools (docs group)
This structure ensures that users only install what they need, while developers have access to all necessary tools.
Contributing
- Fork the repository
- Install development dependencies:
poetry install --with dev,test,docs - Create a feature branch
- Make your changes
- Run tests and linters
- Submit a pull request
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pepperpy_ai-0.2.1.tar.gz.
File metadata
- Download URL: pepperpy_ai-0.2.1.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
687148db79510a8f8798464819c84834af0d15c166b825ad507e8188e47a0eff
|
|
| MD5 |
5bb35c7bec38a00aee669eb221dbf710
|
|
| BLAKE2b-256 |
030e00d07bfeb544ea3a410aeefbfe2095fa209e23b54ac99551893bcdececaa
|
File details
Details for the file pepperpy_ai-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pepperpy_ai-0.2.1-py3-none-any.whl
- Upload date:
- Size: 90.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b17c35bb5fa0ec300ca89fb4e13377eabf86277cde9e9da8b1a5674f5ffc9a6
|
|
| MD5 |
a62042a8d86e25f3cec2dfc34a73c41b
|
|
| BLAKE2b-256 |
22949cc1c6727c9e2911b493365ac047fe736f5623e9054ad33e22e487f66997
|