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.


Quick Start

from netfog import Graph, Node

# Creates the graph object
g = Graph()

# Add nodes
n1 = Node("A")
n2 = 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.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

netfog-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (492.9 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

netfog-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (490.9 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

netfog-0.1.0-cp314-cp314-win_amd64.whl (347.0 kB view details)

Uploaded CPython 3.14Windows x86-64

netfog-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

netfog-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (492.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

netfog-0.1.0-cp314-cp314-macosx_10_12_x86_64.whl (452.1 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

netfog-0.1.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.0 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

netfog-0.1.0-cp313-cp313-win_amd64.whl (346.7 kB view details)

Uploaded CPython 3.13Windows x86-64

netfog-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

netfog-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

netfog-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl (452.2 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

netfog-0.1.0-cp312-cp312-win_amd64.whl (346.9 kB view details)

Uploaded CPython 3.12Windows x86-64

netfog-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

netfog-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (492.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

netfog-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (443.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

netfog-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (452.6 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

netfog-0.1.0-cp311-cp311-win_amd64.whl (347.4 kB view details)

Uploaded CPython 3.11Windows x86-64

netfog-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

netfog-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

netfog-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (445.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

netfog-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (455.9 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf966a016c6376e8cc7b51dd907981f8b5a82d908d84e17eda501b804c18e163
MD5 494fdbbe2253ebe02b4535a8ea506c33
BLAKE2b-256 4c9bdae11f7009a851c49ccdf7bbc584595c8a76602e43f2e6f782c45bb87978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 762f9a2a9b15889ca646c97453cda29ba61dad4ba2ab492a844fe8359de40c25
MD5 05b77ee3dcf5bd6161613542a7924d98
BLAKE2b-256 69221ce75588109927e085e99e31b9ab0a8ed76fd7ec88d6000b878f579aa37d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8a6000ce1c3e3a485da837579b090aaba5fa74768accbc90d9709c9d276e7cb9
MD5 22e5290b015fd7b62b97c36cd5d52870
BLAKE2b-256 4b721fcb797b0c9f01181c80ff892a95d1f5181a8073fe9386e0c1c8b7e47625

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netfog-0.1.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 347.0 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.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a5ef3b3c566af161a04cfb0f9e1807d2d98efca7be2ef77254844664e44a1625
MD5 405e45c5452bb7229e93c0220c72271f
BLAKE2b-256 d413c101917dfd47bc4f8a0afad726e20bfa6dd32528b558630844e38ff3f2fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 779cfb8fe759b488bcaaa4187e04791311ed054950d594bd67f3c8f6a69399a9
MD5 f0a36b221ea0007baee133e2481d6c56
BLAKE2b-256 af82734818820a984afd8bf6a2fe4d15ef796e321fc5a17972a3136639bd18a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 26ba08f1b5aafbab3d8d52a704b623a25e517e0f018e28b635075dbd177d0e60
MD5 92f2decbc16025987539f361a25c9e17
BLAKE2b-256 310ed2691d4b8739d7ac6ff0c2cb906dbedc05c1ac35ca6e776df923a02785d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b3b59693a3adf2d403a45a80f212485c555c223bbbdbf2fe70b75a310a8b9f7b
MD5 27ccb46c70e39e280852e27a99902e36
BLAKE2b-256 d3f9365569ee2beadf558031fcaa768f165daece59256b7e12bab429cfb4328b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 da9c961ac710ac1fc738b43e558cecc15a11bda4def4165077e8ea6a46e0e13c
MD5 e08ca291e12cfcbaf0c56b7d7b94a92c
BLAKE2b-256 be1a71c32f09f2f9460d2afc6096964a33756cb4a75c1926174cb9f62c41e4a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ff969fe38ed286f3c827325b22dc0dc1c4f4ebea5f6444e0f9d111ca2eccad54
MD5 4464e69fdd8c37c2469c0721253114de
BLAKE2b-256 368be0d0da27fd49d5a9d6639b755f12a3813f889bdc57124030551e1b62c562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netfog-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 346.7 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.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2ca0568fc91def46098275eb037773d1524fc7f2f616c96c9da59cec4f422cab
MD5 0a2a993ed44816d61f86fb45adbd33a0
BLAKE2b-256 59363f6e7d71e2c8cc7545901e1d340f0a1dba2ac366618f1ffd7ebb6b9b0ec7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 40ea9d2e0b267e90c3a87d70d25943234832dbb81839d346978e5ed206c2d37f
MD5 52094ac5f9421d6fa87b4ebb53589e2e
BLAKE2b-256 caf35cef0ce1fb91c80aafb179cbe89527cb97d4c23a46449bdee27916e020b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 74921026eb7db3789cbecdfaf720147aba8571c723290c21e80e8deea236a0de
MD5 5bb5ca2810b91c4a2c70488caa64fbce
BLAKE2b-256 75b1028b1d41a0ad09b2cded384355c03380edd6447fbac1338b5223e34669da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba643a20d3e678ca136022acb616d904183055646bd5b85dfe482d6d268a2ccb
MD5 25d2eac4284fd32020cb8ce8665b1359
BLAKE2b-256 6c9d4be3315a809ffb0fce5d7fb8b6e0f2ae24eafc2c291c1d1c79437a2b42fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6acb3baae2e69e6646f2d70ec50611f2345364f66b5b23de2d68348f2bc7f20d
MD5 b5fdb43d84dc22e8165ed566f836a926
BLAKE2b-256 0f5c4642475fdcd79c7398561462a9332305a19326757328548a71cbd0df70c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netfog-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 346.9 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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ecdc1dbf83a3fb6522cbc760891b0ee8bbf997b08966b8abcaf7a9d7380cb249
MD5 769019bbfd3d19a7ffc4a0fcd44cdb8a
BLAKE2b-256 a4923b5db61fc1fa55461ae815a43e68d6539ba47161c606984f64460edd8ac1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6bb88dfa28931e72e8393faa8647e6838290cca22061993a2bdf8326b92cc76f
MD5 9e59d12c8aa36e9c0c50ac49bdbf615f
BLAKE2b-256 1ad855a3098a91ce66c2037b679aafa510aed1460223d48e5f584bd4d6a651bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b18aaffb6d6f2c2d0b86403b082cfc55c4469c4e10d40cf79158b5afa917b02
MD5 185e407efb50a65bc1f85169cdbce2bd
BLAKE2b-256 1f97030f0274ec16f536a34ec4db99a4a6b84fab3da6e05389194838736f6935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e6e5527d7831a7ed3eef5a526a4a56fbe9752733af467ca18e03f9c327281d9
MD5 2e49a431f8bf2f5990d1cdb4c51ec5c6
BLAKE2b-256 d842a554bde7b8559c0d9c2086a8b90d3900e3a90e9c40a829ac4b3f1fc55b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 47e53fefe9dd840b939efe9ca6787bd5a8bacac4e7ddef6aa573f45cef086e10
MD5 b5120d3d3efaf00b0c2b133de389d985
BLAKE2b-256 ed1869da049c4ef6cc7a3cfa88d3cbeeced4858ae681f5a2b6e8ddf117b49884

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netfog-0.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 347.4 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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b71024eea2464dcebb2a1c088ee1c902c55508e290ab481675ffa8627b022898
MD5 2ea4019028fd6acd36080f4d9a637fea
BLAKE2b-256 b0f804c3e461d4755db62d5f7bfeacf9226808e35455eb49a40ffa606418d85e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3afa270273f126ffb4b9770dfa1aa354718b9eb34a2b4f6aa0d5e0630af3197f
MD5 df3ec33ace1c1f081ad5c64996127f1b
BLAKE2b-256 56670ab455a279299faf47a18ce750104064c14e5c2f3ed4aa1f967edd86f257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1efbcebac16a669146cffe829725a957288cdff31ab5fb5fed9874d40fe83fdf
MD5 33d3bc85281044e0c7c2e7f82d5032cb
BLAKE2b-256 b17c60cfa7671c1d7846c0d75eaf0056b68cff6d41e62adcc679735551a69145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 257bff585ae30f7a12c052f6fe9203e7e9283a0d3fc492fcc7cb33f704725864
MD5 cc9fcfec60e6bfc9d62975bff5f3432a
BLAKE2b-256 6f3bb0790675a7afa0815dca0a7c769a5affd3242dcada99b8f75b6dfb998c40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netfog-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 23b5eec03efaaae1a41918c52a83ce864783b3561463313058ae4d5a54b42931
MD5 a40e0f6b77eb4748f121c49f04e44291
BLAKE2b-256 0f46c7d3f42186e2e83e5e1cb5783cc67ed7a68e1f1c34c9d7a9cd8241b0838e

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