Skip to main content

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.

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.3.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

networkx_gdf-1.3.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: networkx_gdf-1.3.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for networkx_gdf-1.3.4.tar.gz
Algorithm Hash digest
SHA256 22db089b43c426c7cf57dc2557de673daf05036956841f0f708c82c654389e01
MD5 01d137a34cab24bfc245b73753eade34
BLAKE2b-256 0e6e3d647fce671fa2e8ec8745b138c2b023f371ba4bb9a641cff3974730e174

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for networkx_gdf-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f3009ec922b692b32bc165e16e61f6f89bab6efc5bedf3fa965ad7bb2ca8ac
MD5 f8ad164aef3ecf677c61b1209cc80951
BLAKE2b-256 0f3ad2605f12c15250bdfcbdbad97e2d338f83b19a646a81a7cc9927530c8421

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