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
by _pybgpstream
.
To get started using PyBGPStream, first install libBGPStream.
Then, you should be able to install PyBGPStream using pip:
$ pip install pybgpstream
Alternatively, to install PyBGPStream from source either clone the
GitHub repository (PyBGPStream is located
in the pybgpstream
subdirectory), or download a
source tarball and then run:
$ python setup.py build
# python setup.py install
For more information about installing PyBGPStream, please see the detailed installation instructions on the BGPStream website.
Please see the PyBGPStream API documentation and PyBGPStream tutorial for more information about using PyBGPStream.