Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django app consuming M-Pesa APIs

Project Description

Mpesapy is a simple Django app that has been integrated with M-Pesa API.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “mpesapy” to your INSTALLED_APPS setting like this:

  2. Include the mpesapy URLconf in your project like this:

    url(r'^mpesapy/', include('mpesapy.urls')),
  3. Run python migrate to create the mpesapy models.

  4. Start the development server and visit to see some of the M-Pesa transactions that have been pushed to you by Safaricom (you’ll need the Admin app enabled).

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.5 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Nov 4, 2015
(5.1 kB) Copy SHA256 Hash SHA256
Source None Nov 4, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate