pyvis 0.3.2


pip install pyvis

  Latest version

Released: Feb 24, 2023

Project Links

Meta
Author: Jose Unpingco
Requires Python: >3.6

Classifiers

Pyvis - a Python library for visualizing networks

Description

Pyvis is built around visjs, a JavaScript visualization library.

Documentation

Pyvis' full documentation can be found at http://pyvis.readthedocs.io/en/latest/

Installation

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

Dependencies

networkx

jinja2

ipython

jsonpickle

Test Dependencies

selenium

numpy

Quick Start

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")

Interactive Notebook playground with examples

Binder

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
ipython (>=5.3.0)
jinja2 (>=2.9.6)
jsonpickle (>=1.4.1)
networkx (>=1.11)