Skip to content

getting_started

TralahM edited this page Dec 31, 2019 · 1 revision

Getting Started

Installation

The library can be installed using pip or manually from the source code.

To install via pip open terminal and assuming you have pip installed run

$ pip install daraja-mpesa

To build from source, clone the github repository and run in terminal

$ git clone https://github.com/TralahM/pympesa.git.
$ cd pympesa.
$ python setup.py install

This avails an mpesa module for import in your python code.

Now head over to the How-to section for how to use the library.

Clone this wiki locally