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.
Translation Results
Compare quality across providers instantly
OpenAI GPT-4
β‘ 1.9sGhanaNLP (Twi)
β‘ 680msβ 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.
// 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")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
β LiveFirst 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
β LiveDedicated 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
β LiveGoogle Translate, DeepL, OpenAI (5 models), Anthropic (5 models), Google Gemini (5 models), and GhanaNLP. All through a single, unified Python interface.
Future-Proof Design
β LivePermissive 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.
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
# 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