## Pyvis - a Python library for visualizing networks
![](pyvis/source/tut.gif?raw=true)
## Description
Pyvis is built around [visjs](http://visjs.org/), 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:
```bash
pip install pyvis
```
Or if you have an archive of the project simply run the following from the top level directory:
```bash
python setup.py install
```
## Dependencies
[networkx](https://networkx.github.io/)
[jinja2](http://jinja.pocoo.org/)
[ipython](https://ipython.org/ipython-doc/2/install/install.html)
[jsonpickle](https://jsonpickle.github.io/)
### Test Dependencies
[selenium](https://www.selenium.dev/documentation/webdriver/)
[numpy](https://numpy.org/install/)
## Quick Start
The most basic use case of a pyvis instance is to create a Network object and invoke methods:
```python
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](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/WestHealth/pyvis/master?filepath=notebooks%2Fexample.ipynb)
Raw data
{
"_id": null,
"home_page": "https://github.com/WestHealth/pyvis",
"name": "pyvis",
"maintainer": "",
"docs_url": null,
"requires_python": ">3.6",
"maintainer_email": "",
"keywords": "",
"author": "Jose Unpingco",
"author_email": "datascience@westhealth.org",
"download_url": "https://files.pythonhosted.org/packages/4f/b0/b6479739f9fc716784a71008322974f3a008c4203d6fff0653050fa93e45/pyvis-0.3.1.tar.gz",
"platform": null,
"description": "## Pyvis - a Python library for visualizing networks\n\n![](pyvis/source/tut.gif?raw=true)\n\n## Description\nPyvis is built around [visjs](http://visjs.org/), a JavaScript visualization library.\n\n## Documentation\nPyvis' full documentation can be found at http://pyvis.readthedocs.io/en/latest/\n## Installation\nYou can install pyvis through pip:\n\n```bash\npip install pyvis\n```\nOr if you have an archive of the project simply run the following from the top level directory:\n\n```bash\npython setup.py install\n```\n\n## Dependencies\n[networkx](https://networkx.github.io/)\n\n[jinja2](http://jinja.pocoo.org/)\n\n[ipython](https://ipython.org/ipython-doc/2/install/install.html)\n\n[jsonpickle](https://jsonpickle.github.io/)\n\n### Test Dependencies\n[selenium](https://www.selenium.dev/documentation/webdriver/)\n\n[numpy](https://numpy.org/install/)\n## Quick Start\nThe most basic use case of a pyvis instance is to create a Network object and invoke methods:\n\n```python\nfrom pyvis.network import Network\n\ng = Network()\ng.add_node(0)\ng.add_node(1)\ng.add_edge(0, 1)\ng.show(\"basic.html\")\n```\n\n## Interactive Notebook playground with examples\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/WestHealth/pyvis/master?filepath=notebooks%2Fexample.ipynb)\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "A Python network graph visualization library",
"version": "0.3.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e8b087e0671ac66a8772a3f44b672388",
"sha256": "aa817caac54afc9a4df38ada6f46636b842a8bd57197bb6aca5084699da04307"
},
"downloads": -1,
"filename": "pyvis-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "e8b087e0671ac66a8772a3f44b672388",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.6",
"size": 748933,
"upload_time": "2022-11-11T20:58:00",
"upload_time_iso_8601": "2022-11-11T20:58:00.053827Z",
"url": "https://files.pythonhosted.org/packages/4f/b0/b6479739f9fc716784a71008322974f3a008c4203d6fff0653050fa93e45/pyvis-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-11 20:58:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "WestHealth",
"github_project": "pyvis",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pyvis"
}