Skip to main content

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 files for django-mpesapy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-mpesapy 0.1.2
File Size Uploaded
django-mpesapy-0.1.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-mpesapy 0.1.2
File Interpreter ABI Platform
django_mpesapy-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.7 kB

Release files / django-mpesapy-0.1.2.tar.gz

Download URL django-mpesapy-0.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ceb55403df1dad23ef26c23f31fbedbdaeb1ba903cf373ccd71aff5d84f9924
BLAKE2b-256 checksum
How to use checksums
a7456cbc11fc4cd97ea440b9575cb4ae7cdcb0f029427e439220c1a10a38e611
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_mpesapy-0.1.2-py2.py3-none-any.whl

Download URL django_mpesapy-0.1.2-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7f3c5164d64b4d1899766f52739f847a8fd8977b3508e16f6829e4ba812f960d
BLAKE2b-256 checksum
How to use checksums
e553ce01e6f7f1f07915ad5cdf1b17af55f87e4b6846ee272c0e2e6bef96177e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page