rtrlib-python is a cffi based python binding for rtrlib.
Sphinx docs can be found in the docs directory and build with make html
.
for usage examples see the tools directory
Features supported so far:
- Prefix validation
- rtr_mgr callbacks
- python 2.7 or python 3
- cffi>=1.4.0
- enum34
- six
and a c compiler at build time.
If you are using virtualenv the Requirements are installed automatically during the install step, otherwise you have to use your platforms package management tool or just run pip install -r requirements.txt.
git clone https://github.com/rtrlib/python-binding.git
cd python-binding
python setup.py build
python setup.py install