The Only Translation SDK You'll Ever Need

Install once with pip, then access Google Translate, GPT-4, Claude 3.5, Gemini, DeepL, and 11 African languages through GhanaNLP. Compare quality and pick the best translation.

deka-demo.py

Translation Results

Compare quality across providers instantly

πŸ€–

OpenAI GPT-4

⚑ 1.9s
"Akwaaba, wo ho te sΙ›n?"
🌍

GhanaNLP (Twi)

⚑ 680ms
"Hello, wo ho te sΙ›n?"

βœ… Live on PyPI β€’ 🎯 6 Providers β€’ 🌍 15+ Models β€’ πŸš€ African Languages

Why Choose Deka?

Deka is live on PyPI! The most advanced Python translation SDK with model selection, African language support, and provider comparison built-in.

AI Model Selection

Choose specific models

First translation SDK with AI model selection. Choose GPT-4 for quality, Claude 3.5 Sonnet for nuance, or Gemini 2.0 Flash for speed. Optimize for your exact needs.

15+ AI models available
OpenAI, Anthropic, Gemini support
Speed vs quality optimization
Future-proof model validation
// Choose specific AI models
import deka

// High quality with GPT-4
result = deka.translate("Hello", "french", provider="openai/gpt-4")

// Fast with Claude Haiku
result = deka.translate("Hello", "spanish", provider="anthropic/claude-3-haiku")

// Latest with Gemini 2.0
result = deka.translate("Hello", "german", provider="google-gemini/gemini-2.0-flash")
6
Translation Providers
15+
AI Models Available
11
African Languages

What We've Built

Deka is live on PyPI! Here's what you can use right now to make multilingual development simple and powerful.

Model Selection

βœ… Live

First translation SDK with AI model selection. Choose specific models like GPT-4, Claude 3.5 Sonnet, or Gemini 2.0 Flash. Optimize for speed, quality, or cost.

African Languages

βœ… Live

Dedicated support for 11 African languages via GhanaNLP integration. Authentic translations for Twi, Ga, Ewe, Yoruba, Kikuyu, and more Ghanaian and African languages.

6 Providers Ready

βœ… Live

Google Translate, DeepL, OpenAI (5 models), Anthropic (5 models), Google Gemini (5 models), and GhanaNLP. All through a single, unified Python interface.

Future-Proof Design

βœ… Live

Permissive model validation means you can try new models as soon as providers release them. No waiting for SDK updates - just use the latest models immediately.

Ready to get started?

Deka is available on PyPI right now. Install it, configure your API keys, and start translating with model selection and African language support.

pip install deka
View on GitHub

Ready to Get Started?

Deka is live on PyPI! Install the Python SDK and start translating with model selection and African language support in minutes.

Get started in seconds

Simple Python SDK with model selection and African language support

Quick Start
# Install Deka
pip install deka

# Import and configure
import deka
deka.configure({'openai_api_key': 'your-key'})

# Model selection
result = deka.translate("Hello", "twi", provider="ghananlp")
print(result.text)  # "Hello na Ι”kyerΙ›wee"

# Compare providers
comparison = deka.compare("Hello", "french", providers=[
    "google", "openai/gpt-4", "anthropic/claude-3-5-sonnet"
])

Available on PyPI right now

🎯 Model Selection
🌍 African Languages
⚑ Async Support
πŸ”„ Provider Comparison