aleph-alpha-client
python client to interact with Aleph Alpha api endpoints
Decision gist · record as of 2026-08-14
Yes, if you are actively using Aleph Alpha's API and need a Python interface. The library is straightforward, has low install friction, and carries no known vulnerabilities. However, the aging maintenance status (196 days since last release) means you should verify API compatibility before relying on it for production work, and monitor the repository for updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Aleph Alpha API token and host URL set in environment variables (TEST_TOKEN, TEST_API_URL).
- Low install friction with a pure-Python wheel.
- Maintenance status is aging—last release was 196 days ago and the repository shows no recent commits, though it remains active and unarchived.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for commercial and private projects.
last release 2026-01-30 (196 days) · last repo commit 2026-02-02 · 103 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 179,038 downloads/mo, #10,180 on PyPI
Alternatives
Verify before relying
import os
from aleph_alpha_client import Client, CompletionRequest, Prompt
client = Client(
token=os.environ["TEST_TOKEN"],
host=os.environ["TEST_API_URL"],
)
request = CompletionRequest(
prompt=Prompt.from_text("Provide a short description of AI:"),
maximum_tokens=64,
)
response = client.complete(request, model="pharia-1-llm-7b-control")
print(response.completions[0].completion)- Whether the package actively maintains compatibility with current Aleph Alpha API versions given the 196-day gap since last release.
- Performance characteristics and rate-limiting behavior for high-volume requests.
- Whether async streaming is production-ready or still experimental.
What it is and what it does
This is a Python wrapper for the Aleph Alpha API, a service providing access to large language models and semantic search capabilities. It abstracts the HTTP protocol details, offering both synchronous and asynchronous client interfaces so you can call the API directly from Python code without managing raw HTTP requests.
The package handles authentication, request serialization, and response parsing for tasks like text completion, semantic search (symmetric and asymmetric), and embedding extraction. It depends on requests, aiohttp, and related libraries for networking, plus tokenizers and Pillow for preprocessing text and images. The maintenance status is aging—the last release was 196 days ago—so you should verify that it still tracks the current Aleph Alpha API before adopting it for new projects.
Use it for
- Call Aleph Alpha's language models for text completion and generation tasks from a Python application.
- Perform semantic search over document collections using the API's embedding and search endpoints.
- Build async pipelines that stream completions or embeddings without blocking.
- Extract hidden embeddings from text or images for downstream machine learning tasks.
- Integrate task-specific endpoints (classification, summarization, etc.) into a larger Python workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively using Aleph Alpha's API and need a Python interface.
The library is straightforward, has low install friction, and carries no known vulnerabilities. However, the aging maintenance status (196 days since last release) means you should verify API compatibility before relying on it for production work, and monitor the repository for updates.
Install
aleph-alpha-client on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 196 days ago and the repository shows no recent commits, though it remains active and unarchived.
Requires a valid Aleph Alpha API token and host URL set in environment variables (TEST_TOKEN, TEST_API_URL).
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for commercial and private projects.
Quickstart
import os
from aleph_alpha_client import Client, CompletionRequest, Prompt
client = Client(
token=os.environ["TEST_TOKEN"],
host=os.environ["TEST_API_URL"],
)
request = CompletionRequest(
prompt=Prompt.from_text("Provide a short description of AI:"),
maximum_tokens=64,
)
response = client.complete(request, model="pharia-1-llm-7b-control")
print(response.completions[0].completion)
Verify before relying
- Whether the package actively maintains compatibility with current Aleph Alpha API versions given the 196-day gap since last release.
- Performance characteristics and rate-limiting behavior for high-volume requests.
- Whether async streaming is production-ready or still experimental.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <3.14,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 12 packagesrequestsurllib3aiohttpaiodnsaiohttp-retrytokenizerstyping-extensionsPillowtqdmpython-liquidpackagingpydantic |
| Maintenance | Aging 196 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 179,038 / month, #10,180 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: aleph_alpha_client-11.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “text completion api”
- aleph-alpha-clientPython client library for calling the Aleph Alpha API, supporting…
- llama-index-llms-anthropicIntegrates Anthropic's Claude language models into LlamaIndex…
- lmstudioPython SDK for interacting with LM Studio, a local LLM application,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also opentelemetry-instrumentation-alephalpha · xai-sdk · mistralai · meilisearch-python-sdk · arize-phoenix-client · replicate · simple-rest-client · lhotse · axiom-py · segmentation-models-pytorch