Metadata-Version: 2.4
Name: d3graph
Version: 2.6.1
Summary: Python package to create interactive network based on d3js.
Author-email: Erdogan Taskesen <erdogant@gmail.com>
License: d3graph is distributed with the 3-clause BSD license.
        
        ::
        
           Copyright (C) 2000-2022,
           Erdogan Taskesen <erdogant@gmail.com>
           All rights reserved.
        
           Redistribution and use in source and binary forms, with or without
           modification, are permitted provided that the following conditions are
           met:
        
             * Redistributions of source code must retain the above copyright
               notice, this list of conditions and the following disclaimer.
        
             * Redistributions in binary form must reproduce the above
               copyright notice, this list of conditions and the following
               disclaimer in the documentation and/or other materials provided
               with the distribution.
        
             * Neither the name of the d3graph nor the names of its
               contributors may be used to endorse or promote products derived
               from this software without specific prior written permission.
        
           THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
           "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
           LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
           A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
           OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
           SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
           LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
           DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
           THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
           (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
           OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Project-URL: Homepage, https://erdogant.github.io/d3graph
Project-URL: Download, https://github.com/erdogant/d3graph/archive/{version}.tar.gz
Keywords: Python,
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: colourmap
Requires-Dist: networkx>2
Requires-Dist: ismember
Requires-Dist: jinja2
Requires-Dist: packaging
Requires-Dist: markupsafe==2.0.1
Requires-Dist: python-louvain
Requires-Dist: datazets
Dynamic: license-file

# D3graph: Interactive force-directed networks

[![Python](https://img.shields.io/pypi/pyversions/d3graph)](https://img.shields.io/pypi/pyversions/d3graph)
[![Pypi](https://img.shields.io/pypi/v/d3graph)](https://pypi.org/project/d3graph/)
[![Docs](https://img.shields.io/badge/Sphinx-Docs-Green)](https://erdogant.github.io/d3graph/)
[![LOC](https://sloc.xyz/github/erdogant/d3graph/?category=code)](https://github.com/erdogant/d3graph/)
[![Downloads](https://static.pepy.tech/personalized-badge/d3graph?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=PyPI%20downloads/month)](https://pepy.tech/project/d3graph)
[![Downloads](https://static.pepy.tech/personalized-badge/d3graph?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/d3graph)
[![License](https://img.shields.io/badge/license-BSD3-green.svg)](https://github.com/erdogant/d3graph/blob/master/LICENSE)
[![Forks](https://img.shields.io/github/forks/erdogant/d3graph.svg)](https://github.com/erdogant/d3graph/network)
[![Issues](https://img.shields.io/github/issues/erdogant/d3graph.svg)](https://github.com/erdogant/d3graph/issues)
[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![DOI](https://zenodo.org/badge/228166657.svg)](https://zenodo.org/badge/latestdoi/228166657)
[![Medium](https://img.shields.io/badge/Medium-Blog-black)](https://erdogant.medium.com/)
[![Donate](https://img.shields.io/badge/Support%20this%20project-grey.svg?logo=github%20sponsors)](https://erdogant.github.io/d3graph/pages/html/Documentation.html#)
<!---[![BuyMeCoffee](https://img.shields.io/badge/buymea-coffee-yellow.svg)](https://www.buymeacoffee.com/erdogant)-->
<!---[![Coffee](https://img.shields.io/badge/coffee-black-grey.svg)](https://erdogant.github.io/donate/?currency=USD&amount=5)-->


### 

<div>

<a href="https://erdogant.github.io/d3graph/"><img src="https://github.com/erdogant/d3graph/blob/master/docs/figs/logo.png" width="175" align="left" /></a>
``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](https://erdogant.github.io/d3graph/) for more detailed information. **⭐️ Star it if you like it ⭐️**
</div>

---

### Key Pipelines

| Feature | Description |
|--------|-------------|
| [**Graph**](https://erdogant.github.io/d3graph/pages/html/Core_Functionalities.html) | Create the network Graph. |
| [**set_node_properties**](https://erdogant.github.io/d3graph/pages/html/Node%20properties.html) | Set the node properties for the network graph |
| [**set_edge_properties**](https://erdogant.github.io/d3graph/pages/html/Edge%20properties.html) | Set the edge properties for the network graph |

---

### Resources and Links
- **Blog Posts:** [Medium](https://erdogant.medium.com/)
- **Documentation:** [Website](https://erdogant.github.io/d3graph)
- **Bug Reports and Feature Requests:** [GitHub Issues](https://github.com/erdogant/d3graph/issues)

---

### Installation

##### Install d3graph from PyPI
```bash
pip install d3graph
```
##### Install d3graph from GitHub source
```bash
pip install git+https://github.com/erdogant/d3graph
```
##### Load library
```python
# Import library
from d3graph import d3graph
```
---

# 

### Examples

<p align="left">
  <a href="https://erdogant.github.io/docs/d3graph/titanic_example/index.html">
     <img src="https://github.com/d3blocks/d3blocks/blob/main/docs/figs/d3graph/d3graph_energy.gif" width="1000"/>
  </a>
</p>

<hr>

### Contributors
Setting up and maintaining D3graph has been possible thanks to users and contributors. Thanks to:

<p align="left">
  <a href="https://github.com/erdogant/d3graph/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=erdogant/d3graph" />
  </a>
</p>

### Maintainer
* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)
* Contributions are welcome.
* Yes! This library is entirely **free** but it runs on coffee! :) Feel free to support with a <a href="https://erdogant.github.io/donate/?currency=USD&amount=5">Coffee</a>.

[![Buy me a coffee](https://img.buymeacoffee.com/button-api/?text=Buy+me+a+coffee&emoji=&slug=erdogant&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/erdogant)
