africastalking
Official Africa's Talking Python SDK
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained, has no known vulnerabilities, installs with low friction, and is the official client for a widely-used African telecom platform. Install it if you need to integrate SMS, voice, airtime, or WhatsApp into an application serving African users. Verify that Africa's Talking's own SLAs and API limits match your production requirements before deploying.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; you must obtain a username and API key from https://account.africastalking.com/ before initialization will work.
- Low install friction with three lightweight runtime dependencies (requests, schema, responses).
- Active maintenance with a recent release 14 days ago and steady commit activity.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and open-source projects.
last release 2026-07-31 (14 days) · last repo commit 2026-07-31 · 158 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 97,221 downloads/mo, #13,163 on PyPI
Alternatives
Verify before relying
pip install africastalking
import africastalking
africastalking.initialize("YOUR_USERNAME", "YOUR_API_KEY")
sms = africastalking.SMS
response = sms.send("Hello!", ["+2547xxxxxx"])
print(response)- Whether timeout defaults and retry behavior are documented for each service method
- Whether the SDK handles network failures and rate limiting transparently or requires explicit retry logic
- Production readiness and SLA guarantees for the underlying Africa's Talking platform
What it is and what it does
This is the official Python SDK for Africa's Talking, a telecom platform serving African carriers. It wraps HTTP APIs for sending SMS, making voice calls, distributing airtime, provisioning mobile data, sending WhatsApp messages, and checking SIM swap state. You initialize it once with your account credentials, then access service instances (SMS, Voice, Airtime, etc.) and call methods synchronously or asynchronously with optional callbacks and timeouts.
The SDK is designed for Python 3.8 and later. It depends on requests for HTTP transport, schema for validation, and responses for testing. All major telecom operations—message delivery, call initiation, balance checks—are exposed as straightforward method calls, with support for both blocking and callback-based async patterns.
Use it for
- Send SMS notifications and alerts to phone numbers across African networks via a single API call
- Distribute mobile airtime or data bundles to customers programmatically with retry and currency handling
- Initiate outbound voice calls and manage call queues for customer support or IVR workflows
- Send WhatsApp messages with text, media, and interactive buttons to customers in regions where WhatsApp is primary
- Check SIM swap state to detect account takeover attempts and enhance security
- Fetch application balance and transaction history for billing and reconciliation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained, has no known vulnerabilities, installs with low friction, and is the official client for a widely-used African telecom platform. Install it if you need to integrate SMS, voice, airtime, or WhatsApp into an application serving African users. Verify that Africa's Talking's own SLAs and API limits match your production requirements before deploying.
Install
africastalking on PyPI
Before you install
Low install friction with three lightweight runtime dependencies (requests, schema, responses). Active maintenance with a recent release 14 days ago and steady commit activity.
Requires Python 3.8 or later; you must obtain a username and API key from https://account.africastalking.com/ before initialization will work.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and open-source projects.
Quickstart
pip install africastalking
import africastalking
africastalking.initialize("YOUR_USERNAME", "YOUR_API_KEY")
sms = africastalking.SMS
response = sms.send("Hello!", ["+2547xxxxxx"])
print(response)
Verify before relying
- Whether timeout defaults and retry behavior are documented for each service method
- Whether the SDK handles network failures and rate limiting transparently or requires explicit retry logic
- Production readiness and SLA guarantees for the underlying Africa's Talking platform
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesrequestsschemaresponses |
| Maintenance | Actively maintained 14 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,221 / month, #13,163 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: africastalking-2.0.3-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 › “africa's talking sdk python”
- africastalkingProvides Python access to Africa's Talking APIs for SMS, voice calls,…
- arelle-releaseArelle is an end-to-end XBRL processor that validates, parses, and…
- airtable-python-wrapperWraps the Airtable API to let you read, insert, search, update, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also plivo · ringcentral · pywa · azure-communication-sms · telesign · vonage-messages · messagebird · vonage · twilio · openfoodfacts