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.0
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.0.tar.gz | 112.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daraja_sdk_py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.4 kB
Release files / daraja_sdk_py-1.0.0.tar.gz
| Download URL | daraja_sdk_py-1.0.0.tar.gz |
|---|---|
| Size | 112.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c11ec5d673347c36c169c98c58d3a6b9d46e409d2154192d0eca6d35fc22e90
|
|
BLAKE2b-256 checksum How to use checksums |
1113b27d7e54a3290bcd378f2dcac7268936da2103854cb53ff272c52f8b5b9e
|
| 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.0-py3-none-any.whl
| Download URL | daraja_sdk_py-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a760cde615ef19e37495e8cf1268673aa4d1f3db2ccd4791fa3de43c34ec3ed
|
|
BLAKE2b-256 checksum How to use checksums |
ceb46d6ea4b6850c35afde18a7f2eb12a589975f5e510268c635988cc5971b4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|