Skip to content

tanbro/exosip2ctypes

Repository files navigation

Source:http://github.com/tanbro/exosip2ctypes/
Document:http://exosip2ctypes.readthedocs.org/
Repo:http://pypi.org/project/exosip2ctypes/

travis codacy-grade codacy-coverage Documentation Status GNU GENERAL PUBLIC LICENSE Supported Python versions. Support Python implementations. pyformat pystatus


eXosip2CTypes

eXosip2CTypes is a python package, it wraps eXosip2.

It is based on ctypes, and loads eXosip2 shared object on runtime.

Environment

OS:

  • Linux
  • MacOS

Python Version:

Installation

  1. Install eXosip2.

    The library eXosip2 depends on osip2, they are native C libraries. You can compile these two libraries from source code, or install them by package managers if possible. For example, ubuntu 16.04 users can install the libraries:

    sudo apt install libexosip2-11
    

    "develop" packages are not needed.

  2. Install Python

    Install Python 2.7 or Python 3.4+. Avoid this if it's already in your OS.

  3. Install eXosip2CTypes

    It's advised to install eXosip2CTypes using pip:

    pip install exosip2ctypes
    

    Or clone from http://github.com/tanbro/exosip2ctypes, then execute setup.py:

    https://github.com/tanbro/exosip2ctypes.git
    cd exosip2ctypes
    path/of/your/python setup.py install
    

Development

Now, your can use it in your APP, Good luck!

Visit http://exosip2ctypes.readthedocs.org/ for the api docs.

The project's API documentation is written inside the source code as Docstring , you shall build the documentation from source, using sphinx-doc .

Check blow documentations for more infomations: