Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pipeline status PyPI - Version Documentation coverage

logo - pyvisjs

Python wrapper for vis.js Network

:warning: Beta version disclaimer Please note that this package is in a beta version and backwards-incompatible changes might be introduced in future releases.

pyvisjs is a Python package designed to provide seamless interaction with vis.js network visualizations, allowing users to manipulate and visualize network data using Python.

Usage workflow

  1. Create a network using python
  2. Apply standard vis.js options such as colors, shapes or physics
  3. Apply pyvisjs specific options such as node/edge filtering or highlighting
  4. Show or generate html file
  5. Enjoy network interactions in your browser

Installation

You can install PyVisjs via pip:

pip install pyvisjs

Usage example

from pyvisjs import Network

# Create a Network instance
net = Network()

# Add nodes and edges
net.add_node(1)
net.add_node(2)
net.add_edge(1, 2)

# Display the network
net.show("example.html")

For more examples and detailed usage, please refer to the documentation.

Contributing

Contributions are welcome! If you have suggestions, feature requests, or find any bugs, please open an issue or submit a pull request. Make sure to follow the contribution guidelines.

Acknowledgments

This project is inspired by the pyvis Python package and the visNetwork R-language package.

License

This project is licensed under the MIT License.

Metadata

Release files for pyvisjs 1.0.0b11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyvisjs 1.0.0b11
File Size Uploaded
pyvisjs-1.0.0b11.tar.gz 33.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyvisjs 1.0.0b11
File Interpreter ABI Platform
pyvisjs-1.0.0b11-py3-none-any.whl Python 3 none any Details

Total release size: 55.4 kB

Release files / pyvisjs-1.0.0b11.tar.gz

Download URL pyvisjs-1.0.0b11.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cbe132456e267ace6eba07c427b58551fc64dd92e638132a9b1cc90f79e2781e
BLAKE2b-256 checksum
How to use checksums
b69db8dd6d31fa513cb425fd9407336e60f1f6973f9071a5ea2fdcfd53414e74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / pyvisjs-1.0.0b11-py3-none-any.whl

Download URL pyvisjs-1.0.0b11-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc7239e3c9cfa781bf9d8def718d31931c21e530469c4199847e117b28099e77
BLAKE2b-256 checksum
How to use checksums
a1746999233e8fe04b767a11e53b439415b3d09e119b2b27bbb3b837dc1640b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page