D3graph: Interactive force-directed networks
d3graph is a python package that simplifies the task of creating interactive and stand-alone networks in d3 javascript using python.
For this package, I was inspired by d3 JavaScript, but there was no Python package that could create such interactive networks. Here it is: a library that automatically creates D3 JavaScript and HTML code based on an input adjacency matrix in Python! This library does not require any additional installation, downloads, or setting paths to your system's environments. You just need Python and this library. All other is taken care of. Huray! Navigate to API documentations for more detailed information. ⭐️ Star it if you like it ⭐️
Key Pipelines
| Feature | Description |
|---|---|
| Graph | Create the network Graph. |
| set_node_properties | Set the node properties for the network graph |
| set_edge_properties | Set the edge properties for the network graph |
Resources and Links
- Blog Posts: Medium
- Documentation: Website
- Bug Reports and Feature Requests: GitHub Issues
Installation
Install d3graph from PyPI
pip install d3graph
Install d3graph from GitHub source
pip install git+https://github.com/erdogant/d3graph
Load library
# Import library
from d3graph import d3graph
Examples
Contributors
Setting up and maintaining D3graph has been possible thanks to users and contributors. Thanks to:
Maintainer
Metadata
Release files for d3graph 3.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| d3graph-3.2.1.tar.gz | 237.5 kB | Without provenance | Details for d3graph-3.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| d3graph-3.2.1-py3-none-any.whl | Python 3 | none | any | Details for d3graph-3.2.1-py3-none-any.whl |
Total release size: 476.6 kB
Release files / d3graph-3.2.1.tar.gz
| Download URL | d3graph-3.2.1.tar.gz |
|---|---|
| Size | 237.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
456eb08ad8b1360a8f7637c6138bdf84d4c6183dc1e31465dcb9f88f68fa1a26
|
|
BLAKE2b-256 checksum How to use checksums |
2f5c45df9322b2831a69b28ab3cfe98ed4beab39ab4b316b2b90d84b4f7e9201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / d3graph-3.2.1-py3-none-any.whl
| Download URL | d3graph-3.2.1-py3-none-any.whl |
|---|---|
| Size | 239.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f21488cf9132ac38d4481a0355bdc2e7a1cb83d110ef8d19afe1a2fe9ae5bad6
|
|
BLAKE2b-256 checksum How to use checksums |
371b47054a0aa3053ca4527c9deae90f4b9332c4909ef3e5acabd5b93f3fd434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for d3graph 3.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.