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

Uploaded Source

Built Distribution

networkx_gdf-1.5.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for networkx_gdf-1.5.2.tar.gz
Algorithm Hash digest
SHA256 e018fb382aa0fba2d62198a7ca15858f8b12b5382265fb13ed51d4d4146cd1e9
MD5 163c67b551ab73eef63c161529afb650
BLAKE2b-256 f9629b02998d064ef97839fb37ba07fb9383e9f6b9cbbce962956d7b73934bd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for networkx_gdf-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4191e1805c4e3857a768ba1a7796ee668a53c55f370e634e1cfaebd42b043bfa
MD5 4036c35488b9ecbb0a12236039045e2c
BLAKE2b-256 af32691ae674fc350431edb034c9996455c647b0d54af91daa4b720daa288564

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