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.1
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.1.tar.gz | 85.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daraja_sdk_py-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 142.5 kB
Release files / daraja_sdk_py-1.0.1.tar.gz
| Download URL | daraja_sdk_py-1.0.1.tar.gz |
|---|---|
| Size | 85.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab0681bb779e651c379c1a67a4be8cf86d75f1509a5fe20d8545f0f092325fe0
|
|
BLAKE2b-256 checksum How to use checksums |
3b67d28a83f4d285a775b500884ee783c1ec76c21552c26cd5436b0de952c6fe
|
| 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.1-py3-none-any.whl
| Download URL | daraja_sdk_py-1.0.1-py3-none-any.whl |
|---|---|
| Size | 56.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b8e188c083f8ec6278284d25623f5f740d6bf4ec8c2e609bab2b78ee1bc8329
|
|
BLAKE2b-256 checksum How to use checksums |
663cfbb253643fe0170803606e245c15fb758480cc3b4812a80595584702fd7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|