Skip to main content

Python package to read and write NetworkX graphs in GDF (Graph Data Format).

Project description

networkx-gdf

PyPI package Documentation Status Downloads Downloads License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

networkx_gdf-1.5.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

networkx_gdf-1.5.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file networkx_gdf-1.5.1.tar.gz.

File metadata

  • Download URL: networkx_gdf-1.5.1.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

Hashes for networkx_gdf-1.5.1.tar.gz
Algorithm Hash digest
SHA256 666324dd4ed695fd237f244ccd931896f2ee68b4602ae2b0e2b3a9db0987bbed
MD5 a7c5a7c4be1ce2ebe3ab772dd3083e5c
BLAKE2b-256 00254a0894a8de347f4445f249788977148e812b4697141d04b0a4c768520053

See more details on using hashes here.

File details

Details for the file networkx_gdf-1.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for networkx_gdf-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 970b414141a92f40662954f721df7b457074a8dce9ca6ce7ffb03087e9aa5edd
MD5 dd8b1b9a8c890f52b5555495542c7e4f
BLAKE2b-256 b36ac4c01848188284708afadf8ac05ce1c015ec47ce92034135e5eb49514830

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page