google-gemini/genai-processors

GenAI Processors is a lightweight Python library that enables efficient, parallel content processing.

88
/ 100
Verified

Provides a unified content model and dual-interface pattern (Producer/Consumer) for building composable AI pipelines with native `asyncio` streaming. Includes built-in processors for Gemini API integration (turn-based `GenaiModel` and real-time `LiveProcessor`), plus utilities for chaining (`+`) and parallelizing (`//`) processors to orchestrate complex multi-step workflows. Supports multimodal content (text, images, audio, JSON) through enriched `ProcessorPart` wrappers with metadata, enabling both batch and real-time streaming interactions.

2,073 stars and 5,759 monthly downloads. Used by 2 other packages. Actively maintained with 33 commits in the last 30 days. Available on PyPI.

Maintenance 23 / 25
Adoption 21 / 25
Maturity 24 / 25
Community 20 / 25

How are scores calculated?

Stars

2,073

Forks

213

Language

Python

License

Apache-2.0

Last pushed

Mar 12, 2026

Monthly downloads

5,759

Commits (30d)

33

Dependencies

21

Reverse dependents

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/generative-ai/google-gemini/genai-processors"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.