PyBGPStream is a Python library that provides a high-level interface for live and historical BGP data analysis. See http://bgpstream.caida.org for more information about BGPStream.
PyBGPStream provides two Python modules,
_pybgpstream, a low-level (almost)
direct interface to the libBGPStream C API, and
pybgpstream, a high-level 'Pythonic' interface to the functionality provided
To get started using PyBGPStream, first install libBGPStream.
Then, you should be able to install PyBGPStream using pip:
$ pip install pybgpstream
$ python setup.py build # python setup.py install
For more information about installing PyBGPStream, please see the detailed installation instructions on the BGPStream website.