Python package to read and write NetworkX graphs in GDF (Graph Data Format).
Project description
networkx-gdf
Python package to read and write NetworkX graphs as GDF (Graph Data Format).
GDF is a compact file format originally implemented by GUESS. Although the software itself is not anymore maintained, the format is still supported by active open-source projects such as Gephi (see details here).
Requirements
- Python>=3.7
- networkx>=2.1
- pandas>=1.1.0
Install
Package is available to install on PyPI:
$ pip install networkx-gdf
Usage
The following is an example covering the package's functionality:
from networkx_gdf import read_gdf, write_gdf
# Builds NetworkX graph object from file.
G = read_gdf("input_file.gdf")
# Writes NetworkX graph object to file.
write_gdf(G, "output_file.gdf")
For detailed information on usage, please refer to its official documentation.
License
This package is released 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
File details
Details for the file networkx_gdf-1.5.2.tar.gz
.
File metadata
- Download URL: networkx_gdf-1.5.2.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e018fb382aa0fba2d62198a7ca15858f8b12b5382265fb13ed51d4d4146cd1e9 |
|
MD5 | 163c67b551ab73eef63c161529afb650 |
|
BLAKE2b-256 | f9629b02998d064ef97839fb37ba07fb9383e9f6b9cbbce962956d7b73934bd3 |
File details
Details for the file networkx_gdf-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: networkx_gdf-1.5.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4191e1805c4e3857a768ba1a7796ee668a53c55f370e634e1cfaebd42b043bfa |
|
MD5 | 4036c35488b9ecbb0a12236039045e2c |
|
BLAKE2b-256 | af32691ae674fc350431edb034c9996455c647b0d54af91daa4b720daa288564 |