A Python wrapper for vis.js Network
Project description
pyvisjs: Python Wrapper for vis.js Network
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.
Workflow
- Create a network using python
- Apply standard vis.js options such as colors, shapes or physics
- Apply pyvisjs specific options such as node/edge filtering or highlighting
- Show or generate html file
- Enjoy network interactions in your browser
Installation
You can install PyVisjs via pip:
pip install pyvisjs
Usage
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyvisjs-1.0.0b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16fbd6d295c5bd71a433f47f729a227f3c6f5e090c4a1b3699a02d7df5b8de97 |
|
MD5 | 45498745a49cec41ea08ad70fb78cee3 |
|
BLAKE2b-256 | 457b0f7d9e6cba26094c963b7043f6327004727833c1e2057ddc5c0691682876 |