Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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:

    INSTALLED_APPS = (
        ...
        'mpesapy',
    )
    
  2. Include the mpesapy URLconf in your project urls.py like this:

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

  4. Start the development server and visit http://127.0.0.1:8000/admin/ 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

Release History

This version
History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_mpesapy-0.1.2-py2.py3-none-any.whl (6.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Nov 4, 2015
django-mpesapy-0.1.2.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting