Messaging and Real-time Communication SDK for Python
mesibo Python API allows you to add real-time communication to your Python apps.
Supported Platforms
mesibo Pythons APIs are tested on the following platforms.
- RedHat 8.x / Rocky Linux 8.5 / CentOS 7.x and 8.x / Oracle Linux 8
- Ubuntu 22.04 and 20.04 (should work on Debian too)
- Mac OS - both X86_64 and Arm64 (M1) versions
- Microsoft Windows 10 and above
- Raspberry Pi 3 and 4 (64-bit)
Contact usopen_in_new if your platform is not supported.
Requirements
The only prerequisite for installing mesibo is Python 3. You can then use pipopen_in_new to install mesibo or you can download source code and build it.
mesibo now only supports Python3. Note that, Python2 is deprecatedopen_in_new and hence you should use Python3 mesibo APIs.
- Python 3.x (3.6.x or newer)
Installing mesibo Python package using pip
To install the mesibo python library use pip
or pip3
$ sudo python -m pip3 install mesibo
or
$ sudo python -m pip install mesibo
To upgrade,
$ sudo python -m pip3 install mesibo -U
Additional Steps for the First Run
mesibo Python module will try to copy platform specific library file mesibo.so
during the first run. In case it is not able to copy due to the permissions, it will raise an exception with the exact command to copy file which you need to execute.
mesibo requires following file to be copied. Execute the following command to copy and try again:
sudo /bin/cp -f /Library/Python/3.x/site-packages/mesibo/clib/darwin/x86_64/3.x/_mesibo.so /Library/Python/3.x/site-packages/mesibo/_mesibo.so
Importing Mesibo
Once you have installed mesibo Python package sucessfully, you should be able to use mesibo in Python as follows:
import mesibo
from mesibo import MesiboListener