Chat / Messaging SDK for Python

Estimated reading time: 1 minute

mesibo Python API is an open-source real-time library. The entire source code for the python package can be found at our GitHub repo mesibo Python API

Supported Platforms

  • CentOS / RedHat 7.x or above
  • Debian / Ubuntu
  • Mac OS (In Progress)
  • Raspberry Pi (In Progress)

Requirements

Installing the mesibo Python Package requires the following software installed:

1. Python 3 / Python 2

  • Python 3.x (3.4.x or newer preferred)
  • or Python >= 2.7

See Downloading Python.

2. pip >= 8.1.0

mesibo python package is distributed as self-contained binary wheels available on Python Package Index (PyPI) and installable via pip. See pip Documentation - Installation to know more.

3. sqlite >=3.26

You also need to install sqlite and sqlite development package if you plan to store real-time messages on a database.

On Debian/Ubuntu,

$ sudo apt-get install sqlite3 libsqlite3-dev

On Centos/RHEL/Fedora,

$ sudo yum install sqlite sqlite-devel 

Installing mesibo Python package using pip

To install the mesibo python library use pip

$ sudo python -m pip install mesibo

or

$ sudo python -m pip install mesibo

Installing mesibo Python package from source

Alternatively, you can build and install the package by downloading the source code from the GitHub repo.

Download the source files from mesibo Python repo on GitHub

git clone https://github.com/mesibo/python.git

You will find the following directory structure:

|-- examples 
|-- setup.py
|-- src

To build the mesibo Python package from source

sudo python setup.py build 

To build and install the mesibo Python package from source

sudo python setup.py install

Importing Mesibo

Once you have installed mesibo Python package sucessfully, you should be able to use mesibo in Python as follows:

from mesibo import Mesibo

Next Steps

Checkout the tutorial Write your First mesibo Enabled Application - Python

chat sdk for python, messaging sdk for python, mesibo python sdk, open source messaging sdk, chat app sdk, python chat sdk