Skip to main content

Python Graph Library

Project description

NetFog

[!CAUTION] Work in Progress: This library is in its early stages of development (Alpha).

  • Unstable API: Functions and class structures may change significantly between versions.
  • Bugs Expected: You might encounter unexpected behavior. Please feel free to open an issue!

Overview

NetFog is a library for creating and manipulating graphs. Currently supports / planned features:

  • Directed and undirected graphs
  • Weighted edges
  • Metrics
  • Algorithms like BFS, DFS, Dijkstra
  • Graph visualization
  • Simulations

This library is designed to be lightweight, fast, and easy to use.


Installation

You can install NetFog directly from PyPI using pip:

pip install netfog

Quick Start

from netfog import Graph, Node

# Creates the graph object
g = Graph()

# Add nodes
g.add_node("A")
g.add_node("B")

# Add a connection (edge or arc)
# Here we use the label of the nodes for easier manipulation
g.create_connection("A", "B", weight=10, directed=False)

# Check all connections
print(g.get_connections())

For full documentation, see docs

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501.4 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (493.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.3 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp314-cp314-win_amd64.whl (347.2 kB view details)

Uploaded CPython 3.14Windows x86-64

netfog-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

netfog-0.1.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (492.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp314-cp314-macosx_11_0_arm64.whl (442.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

netfog-0.1.1-cp314-cp314-macosx_10_12_x86_64.whl (452.0 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

netfog-0.1.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.2 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp313-cp313-win_amd64.whl (346.8 kB view details)

Uploaded CPython 3.13Windows x86-64

netfog-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

netfog-0.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp313-cp313-macosx_11_0_arm64.whl (442.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

netfog-0.1.1-cp313-cp313-macosx_10_12_x86_64.whl (452.0 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

netfog-0.1.1-cp312-cp312-win_amd64.whl (347.1 kB view details)

Uploaded CPython 3.12Windows x86-64

netfog-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

netfog-0.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (443.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

netfog-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

netfog-0.1.1-cp311-cp311-win_amd64.whl (347.5 kB view details)

Uploaded CPython 3.11Windows x86-64

netfog-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

netfog-0.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

netfog-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (445.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

netfog-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl (455.7 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 207bc288a414e4cbecf086556173ca3bcbba39f04cfa5afb8a1e34b3da4830fb
MD5 78cbc57ee76cfc75b25bc836a7b9e1c2
BLAKE2b-256 26b7f0703ad4b8e594f8049a9b26da18cb30bb70513a7de311d279eae25c5185

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d9d1cd7250f17416c3267769fabe79c7ee7950df91a3b8baab3d1c85c087b867
MD5 f96a2be0870c7bf2fdcfa23811c39578
BLAKE2b-256 9a6c276e41b35642f0b1489dc32e6119e23464a788b9135c2867f625d4ed2ace

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 157c9448820a168f5de470d1bd5f59bd587dc3d1c0f697762b686bca97325671
MD5 aab2eb8ace7bebc5aac537000932c281
BLAKE2b-256 f7feb9c4d1778c0c9528c93c92349e0d680fc5a8abd6b1d57d0838df2c03f121

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: netfog-0.1.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 347.2 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for netfog-0.1.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0d3d5b62d666cffe7ef9a1bf72eb081de826021480ad350fa5f95cc10c229cdb
MD5 ccc55eae0007eb5ba2357414ac0235b3
BLAKE2b-256 1fabf65f24f7e737d91c530ef6519958b7b5de9dc150b410311dab0bf04dd6e5

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c25d410e0c98b25b034214e2b122eaab4bb3913d6a2064a0a161d5bf60332d6e
MD5 099037acce04815fa5e01642d28ef3c9
BLAKE2b-256 a9422095213787761efb63ef537a141d009281850d9124eea5f0892dd75526b6

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4111290a92d2da3a502436584cdc4b247fbbbc3cc34d2616569130bb236065f6
MD5 bd97fbc1a5cdcc8e46a14e29910cc15f
BLAKE2b-256 fc2c3b0acc1780531f30ee47d5c85c8f777dc014133f60ff71708c71f770601d

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 990799df36f464e54c81eab8a3bb2f096681c7b28dfd3368db32e46f995f4ae5
MD5 02ea930271fe32fb1c8bdfcf2c0677ed
BLAKE2b-256 3eb50088afb5e1d4425468654703bdcb0134b272bc56170858780be0623180a3

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6fe150a021c3cbb651d0ecc3e71460c5967401c7a6c7e6699f36483524a87811
MD5 80dbd32cf080b6b07b86eed8fd2223e8
BLAKE2b-256 3289aab8fc5d030344b1b554cf4d8eae26d7ecdd63c70c129ff4e7b64ce7127c

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 62734aa6b04a4ee18ee6023645b0069b8aacb9d2f3e8ad994ad2834c6e60bf93
MD5 a5074a7c35e779ad162f9619c92102da
BLAKE2b-256 3b5c2e0f9e6cfbb8d10ffdfbe2139e9d5d4ed090a59f180209b575b0e0223b3f

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: netfog-0.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 346.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for netfog-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 047cf923b265ee488c0080c28ebf4b2740d85fac89948bf7e06b5c49cece1e66
MD5 18534f1bd0e5a98ec06937c71ff414d9
BLAKE2b-256 2f009b982eea176c21fdff9c2af00d61db01e4917cbcae189da7d86f64c79eb3

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1970da5eac965dedf6ca1e7085f8009ca753b281484997323ed40dcd50bef994
MD5 03ea76952e8462d707209d69f146a001
BLAKE2b-256 608fa71f58827718cbff690c236f8f4218fb5fc3e5342d84422dc9eefbde8a22

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63b2cf2f6a5a1fe335d2e20ea7b154a8ebeeb236f045567a9c49594a8f1e0d85
MD5 719abae9b761de948f62ded91e342734
BLAKE2b-256 46c8e553647be7d528bb6bb7e63ab17bece28ddfd985dff0290ca183ef99a602

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07c1e4803b24eb27d087d1202e0c562567b0294eda2d11c8238375ffcadfd4ca
MD5 49601bc9fc0961ee076b6010181d1ab2
BLAKE2b-256 990c7c7ad5cfef51cb2755cbf78a10b61e218f69a0cc336f8d4ae874400f57a4

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 56dd0150ff3cd50b2cf2788a09ab48928fabbc3fa9e672368871ec573753f5c3
MD5 aaacd038e69320879c89f309ea4a6e74
BLAKE2b-256 091504521863b1131057d989919bf18bb200e6dda7c56e0d074b011676a64dbf

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: netfog-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 347.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for netfog-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7254480dd9ee880c29ebbbee49bf7411cfc589bafbfe10e341e87932b10f7897
MD5 bfb6e7eb9fea7758845b4a4babbac408
BLAKE2b-256 5aac43b57abe8f3815b848ee2b30749be5dfee3a43fd23fd19f8faedef94cd1c

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e4c732167a6db8bbfd85c2d43b8f304bd5a2d8d785f37906a2ee558df58d240
MD5 18320aa9feb23c0e2c6cd9e5055c1ffa
BLAKE2b-256 1a5b5e5802bdbe5c8da4e3eb31da279ed0dfeb2077e52cd65d824beea989e94a

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0bfe06a5ce85bc20d24ebecdd771001463ece7ad1329b8e50b588ff33b1a41b1
MD5 8f9219ca6603b9f88912e23175470823
BLAKE2b-256 c36ed51f42465992c7077d5a8de1869f91f33428650c05bb24ce2a16da298a88

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79fec0ad9ba4940a5c4116efb43c57f4e58308c5b2d93d6ef6eed355efdfdd52
MD5 d44bed2057d7b269900514e80bb276c6
BLAKE2b-256 eef8b60e0bd897c6b11a4679a295f4ddc6764822dca9f9647b8bb3130405bb2e

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 202a9c519f85ac54805d4cc7767d0d20a0239e55ca9bf98d1c3cf22b19dc94c1
MD5 30244245ecc11bc92c9adbf21728eae5
BLAKE2b-256 2c78102c755c189c21ca09a6810295e319a5d54b975f2cf77136f111eb68d5f3

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: netfog-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 347.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for netfog-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 35978348b69dcc64e2d1753a46e8df494c729118eb4a6059e452b66b127eb4cc
MD5 4c31402c5b6b12a3a672f2c9eed94d26
BLAKE2b-256 5e374c324468b24ae971d63f1d5ce00d02f323309e9d82882667dbcd29b5455f

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6a657a10aa3b4a105bfcd5c6841ac009fb1a4447b01eec7e094cbd85a7bc4b0
MD5 0b84a264a726f6ef0041c164d7b850d0
BLAKE2b-256 2b2e9720b298e0cbdb759c0acf7df9d0b094dbdc00b25c8a476cf0dbb2e9623a

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 adca59e833ce3f873cd85faee2f1128b8565ad7bb646cd5c16f92a2e39cb5dd0
MD5 2850ad54bec85a29560e999a31965c09
BLAKE2b-256 409854eea78af8d0dde5c5b810c9996da302e58cc286a6ca66e859cef0f04929

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef0b4acfad77d7587e841d2eeb126df0c82f8eb66afac4ccbf084ab198d2e68c
MD5 3dee19297293bfa1bdbd6a2c8bb4e0d2
BLAKE2b-256 1c0047bacb22153b59f40c709ea5dd0a0b33ea7b019c2d4cf663bd77f0e9dc58

See more details on using hashes here.

File details

Details for the file netfog-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for netfog-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 00847ab8d6072ae8364a1836c46d76c1ced9f4faf4a2e848388ec19720676451
MD5 c37ee7c5f8f5f1d9a319acf53c21827c
BLAKE2b-256 8f0eddd0cfe6a4b6f6ac14e2afb73501c4176476289db9377d45f70412c913f6

See more details on using hashes here.

Supported by

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