Python package to read and write NetworkX graphs as 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.tar.gz
.
File metadata
- Download URL: networkx_gdf-1.5.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bc0574f5d7ce4ad4c774294d05b1ef81ebc68129005fb137364e37bb6f1de3 |
|
MD5 | ed96dd7b3f91f27679a6e2642b61dbac |
|
BLAKE2b-256 | cc44a8ff5f2db785b41fa53ed2d4b0f35c8c04cfca820ce6658bd178988e41ee |
File details
Details for the file networkx_gdf-1.5-py3-none-any.whl
.
File metadata
- Download URL: networkx_gdf-1.5-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b83f4fbd181efb8135c2050018ecb69d9b1e330888f37ba3123620ff1711a35 |
|
MD5 | fb33ac46a7ef962831dfb605352c0819 |
|
BLAKE2b-256 | 45a4cd29ae4cb751c326818af21130409618dc232ca36b80ef8a1d4a7691f5b3 |