Skip to main content

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).

Project details


Download files

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

Source Distribution

django-mpesapy-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

django_mpesapy-0.1.1-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-mpesapy-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-mpesapy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7dd396615bfcf7fd1148a4657d525edce5066becb9dc5c242813b106f51d031d
MD5 f34e9cd9ddd306a1a2c69ca5a086aa16
BLAKE2b-256 d5a2f5e1beac44d9b1067b6fecb0079a3d48552bab82b045a6d45e2b7be86698

See more details on using hashes here.

File details

Details for the file django_mpesapy-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_mpesapy-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3f706e886e39be80624775691c9017f4c65cd58cf6d39166710cca2d1033b39
MD5 fa23c8fa948e0cb4edb101fb1c45b5a1
BLAKE2b-256 61861777f335d2abc732932b6347ddcd3a09c302d9c01dfeb719e8d0d361e4de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page