daraja-sdk-py
Production-grade Python SDK for Safaricom M-Pesa Daraja API.
Part of the daraja-sdk monorepo. See the documentation for usage.
Install
pip install daraja-sdk-py
Quick start
from daraja import Mpesa, MpesaConfig
client = Mpesa(MpesaConfig(
consumer_key="...",
consumer_secret="...",
environment="sandbox",
))
License
MIT
Metadata
Release files for daraja-sdk-py 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daraja_sdk_py-1.0.2.tar.gz | 110.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daraja_sdk_py-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 178.1 kB
Release files / daraja_sdk_py-1.0.2.tar.gz
| Download URL | daraja_sdk_py-1.0.2.tar.gz |
|---|---|
| Size | 110.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
309207c19f296658b7f838b8a74afd37f8b22044567335e05a1b90ba58cccb10
|
|
BLAKE2b-256 checksum How to use checksums |
f777327740344bd1023ed95e885462416967bcf1b55d7204196ac4b26ed0f34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / daraja_sdk_py-1.0.2-py3-none-any.whl
| Download URL | daraja_sdk_py-1.0.2-py3-none-any.whl |
|---|---|
| Size | 67.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb09a3370e4aee835795e7bbf67d73557f35ef102de81ddcd9cb83ba312af038
|
|
BLAKE2b-256 checksum How to use checksums |
6fd12d426731a11594cbe92ceee29d46e7c9fdb32d87ae26a1b7fb2ec3422898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|