Pyvis is built around visjs, a JavaScript visualization library.
Pyvis' full documentation can be found at http://pyvis.readthedocs.io/en/latest/
You can install pyvis through pip:
pip install pyvis
Or if you have an archive of the project simply run the following from the top level directory:
python setup.py install
The most basic use case of a pyvis instance is to create a Network object and invoke methods:
from pyvis.network import Network
g = Network()
g.add_node(0)
g.add_node(1)
g.add_edge(0, 1)
g.show("basic.html")