Skip to main content

A Python network graph visualization library

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvis-0.2.1.tar.gz (21.5 kB view details)

Uploaded Source

File details

Details for the file pyvis-0.2.1.tar.gz.

File metadata

  • Download URL: pyvis-0.2.1.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyvis-0.2.1.tar.gz
Algorithm Hash digest
SHA256 29b94d0a10a01ac790d262318680369baa9e5eb8524c355758f1c3799f0c3965
MD5 9e945915d0b8926da2f0d6005796da5d
BLAKE2b-256 386fe1dbb053fa03c3a998942f2b819b65cecedf0d05d57fd469873ff98ccfb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page