IlyasMoutawwakil/py-txi

A Python wrapper around HuggingFace's TGI (text-generation-inference) and TEI (text-embedding-inference) servers.

53
/ 100
Established

Manages TGI/TEI Docker containers programmatically via `docker-py` with automatic lifecycle management, port allocation, and container cleanup tied to the Python process. Supports batched inference for both text generation and embeddings with real-time log streaming for debugging. Designed as a drop-in replacement for the Transformers API, allowing researchers and developers to leverage optimized inference servers without manual container orchestration.

No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 11 / 25
Maturity 25 / 25
Community 15 / 25

How are scores calculated?

Stars

32

Forks

6

Language

Python

License

Apache-2.0

Last pushed

Sep 19, 2025

Monthly downloads

77

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/IlyasMoutawwakil/py-txi"

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