Official Python SDK for Africa's Talking APIs (SMS, voice, USSD, airtime, payments, etc.). Current version 2.0.2, requires Python >=3.8. Active development with monthly releases.
pip install africastalkingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize SDK, send an SMS. Replace username and api_key with production credentials.
Update to: import africastalking; at = africastalking.initialize(username, api_key); sms = at.SMS
Store API key in environment variable AT_API_KEY and use os.environ.get('AT_API_KEY', '')Ensure you are using sandbox credentials for testing.