Skip to main content

SMSframework AfricasTalking Provider

Africa's Talking Provider for smsframework

Initialization

from smsframework import Gateway
from smsframework_africastalking import AfricasTalkingProvider

gateway = Gateway()
gateway.add_provider('africas_talking', AfricasTalkingProvider,
    username='sandbox',
    api_key='\*\*\*'
)

Config

  • username: str: Username for your Africa's Talking account, use sandbox for development Required
  • api_key: str: API key for your Africa's Talking account Required

Sending Parameters

Provider-specific sending params:

  • target_country: str: 2-digit ISO code of the country the phonenumber should be interpretted as from Required

Example:

from smsframework import OutgoingMessage

message = OutgoingMessage('+254789789789', 'Hello Kenya').params(target_country='KE')

gateway.send(message)

Additional Information

AfricasTalking SMS API also supports sending premium messages and receiving incoming messages. These features are not currently implemented in this provider.

Metadata

Release files for smsframework-africastalking 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smsframework-africastalking 1.0.3
File Size Uploaded Provenance Actions
smsframework-africastalking-1.0.3.tar.gz 3.5 kB Without provenance Details for smsframework-africastalking-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smsframework-africastalking 1.0.3
File Interpreter ABI Platform Actions
smsframework_africastalking-1.0.3-py3-none-any.whl Python 3 none any Details for smsframework_africastalking-1.0.3-py3-none-any.whl

Total release size: 8.1 kB

Release files / smsframework-africastalking-1.0.3.tar.gz

Download URL smsframework-africastalking-1.0.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
801db8ab61c0b7d6de23bdcbe7c50a529858aac4aeb3211e4f91aa3b1db3de18
BLAKE2b-256 checksum
How to use checksums
ddb57cbdf061014ae142b7684594248ec1b74d5edc616248247a10d5dd905100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / smsframework_africastalking-1.0.3-py3-none-any.whl

Download URL smsframework_africastalking-1.0.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdc5a21ef04e0c065337a2f2d51ebe6648e6f0744265b9d000511a11ef9bd6f2
BLAKE2b-256 checksum
How to use checksums
e0d908e4c97ed4cbe1c9874eb3bcbbbbcdddc8f9fa4850b91a5ef0a952946163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Security for smsframework-africastalking 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page