netgamut 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. netgamut-0.4.0/.gitignore +39 -0
  2. netgamut-0.4.0/LICENSE +21 -0
  3. netgamut-0.4.0/PKG-INFO +1204 -0
  4. netgamut-0.4.0/README.md +1162 -0
  5. netgamut-0.4.0/pyproject.toml +114 -0
  6. netgamut-0.4.0/scripts/regenerate_ahorn_catalog.py +116 -0
  7. netgamut-0.4.0/scripts/regenerate_catalog.py +102 -0
  8. netgamut-0.4.0/scripts/regenerate_konect_catalog.py +209 -0
  9. netgamut-0.4.0/scripts/regenerate_netzschleuder_catalog.py +82 -0
  10. netgamut-0.4.0/scripts/regenerate_ogb_catalog.py +146 -0
  11. netgamut-0.4.0/scripts/regenerate_pyg_catalog.py +213 -0
  12. netgamut-0.4.0/scripts/update_lfr_pin.py +146 -0
  13. netgamut-0.4.0/site/explorer/README.md +35 -0
  14. netgamut-0.4.0/src/netgamut/__init__.py +486 -0
  15. netgamut-0.4.0/src/netgamut/__main__.py +349 -0
  16. netgamut-0.4.0/src/netgamut/_core/__init__.py +74 -0
  17. netgamut-0.4.0/src/netgamut/_core/cache.py +373 -0
  18. netgamut-0.4.0/src/netgamut/_core/columns.py +308 -0
  19. netgamut-0.4.0/src/netgamut/_core/domains.py +285 -0
  20. netgamut-0.4.0/src/netgamut/_core/download.py +282 -0
  21. netgamut-0.4.0/src/netgamut/_core/formats.py +246 -0
  22. netgamut-0.4.0/src/netgamut/_core/hypergraph.py +520 -0
  23. netgamut-0.4.0/src/netgamut/_core/in_memory.py +184 -0
  24. netgamut-0.4.0/src/netgamut/_core/models.py +52 -0
  25. netgamut-0.4.0/src/netgamut/_core/multilayer.py +225 -0
  26. netgamut-0.4.0/src/netgamut/_core/network.py +718 -0
  27. netgamut-0.4.0/src/netgamut/_core/nodes.py +193 -0
  28. netgamut-0.4.0/src/netgamut/_core/state_network.py +343 -0
  29. netgamut-0.4.0/src/netgamut/_export.py +352 -0
  30. netgamut-0.4.0/src/netgamut/ahorn/__init__.py +291 -0
  31. netgamut-0.4.0/src/netgamut/ahorn/_catalog.py +364 -0
  32. netgamut-0.4.0/src/netgamut/ahorn/_models.py +252 -0
  33. netgamut-0.4.0/src/netgamut/ahorn/catalog.json +3662 -0
  34. netgamut-0.4.0/src/netgamut/generate/__init__.py +908 -0
  35. netgamut-0.4.0/src/netgamut/generate/_flowgen.py +1957 -0
  36. netgamut-0.4.0/src/netgamut/generate/_higher_order.py +315 -0
  37. netgamut-0.4.0/src/netgamut/generate/_lfr/__init__.py +508 -0
  38. netgamut-0.4.0/src/netgamut/generate/_lfr/_build.py +119 -0
  39. netgamut-0.4.0/src/netgamut/generate/_lfr/_io.py +114 -0
  40. netgamut-0.4.0/src/netgamut/generate/_lfr/_sources.py +238 -0
  41. netgamut-0.4.0/src/netgamut/generate/_mlgm/LICENSE +25 -0
  42. netgamut-0.4.0/src/netgamut/generate/_mlgm/__init__.py +36 -0
  43. netgamut-0.4.0/src/netgamut/generate/_mlgm/_dcsbm.py +148 -0
  44. netgamut-0.4.0/src/netgamut/generate/_mlgm/_partition.py +71 -0
  45. netgamut-0.4.0/src/netgamut/generate/_mlgm/_tensors.py +156 -0
  46. netgamut-0.4.0/src/netgamut/generate/_multilayer_gm.py +174 -0
  47. netgamut-0.4.0/src/netgamut/generate/_naming.py +29 -0
  48. netgamut-0.4.0/src/netgamut/generate/_overlapping_memory.py +237 -0
  49. netgamut-0.4.0/src/netgamut/generate/_params.py +343 -0
  50. netgamut-0.4.0/src/netgamut/generate/_partdist.py +331 -0
  51. netgamut-0.4.0/src/netgamut/konect/__init__.py +451 -0
  52. netgamut-0.4.0/src/netgamut/konect/_catalog.py +367 -0
  53. netgamut-0.4.0/src/netgamut/konect/_copies.py +462 -0
  54. netgamut-0.4.0/src/netgamut/konect/_ent.py +114 -0
  55. netgamut-0.4.0/src/netgamut/konect/_models.py +263 -0
  56. netgamut-0.4.0/src/netgamut/konect/_scrape.py +152 -0
  57. netgamut-0.4.0/src/netgamut/konect/catalog.json +22866 -0
  58. netgamut-0.4.0/src/netgamut/netzschleuder/__init__.py +332 -0
  59. netgamut-0.4.0/src/netgamut/netzschleuder/_catalog.py +265 -0
  60. netgamut-0.4.0/src/netgamut/netzschleuder/_models.py +240 -0
  61. netgamut-0.4.0/src/netgamut/netzschleuder/catalog.json +63648 -0
  62. netgamut-0.4.0/src/netgamut/ogb/__init__.py +298 -0
  63. netgamut-0.4.0/src/netgamut/ogb/_catalog.py +189 -0
  64. netgamut-0.4.0/src/netgamut/ogb/_models.py +196 -0
  65. netgamut-0.4.0/src/netgamut/ogb/catalog.json +365 -0
  66. netgamut-0.4.0/src/netgamut/paths/__init__.py +214 -0
  67. netgamut-0.4.0/src/netgamut/paths/_catalog.py +161 -0
  68. netgamut-0.4.0/src/netgamut/paths/_models.py +393 -0
  69. netgamut-0.4.0/src/netgamut/paths/_parsers.py +328 -0
  70. netgamut-0.4.0/src/netgamut/paths/catalog.json +92 -0
  71. netgamut-0.4.0/src/netgamut/py.typed +0 -0
  72. netgamut-0.4.0/src/netgamut/pyg/__init__.py +378 -0
  73. netgamut-0.4.0/src/netgamut/pyg/_catalog.py +227 -0
  74. netgamut-0.4.0/src/netgamut/pyg/_models.py +194 -0
  75. netgamut-0.4.0/src/netgamut/pyg/_scrape.py +190 -0
  76. netgamut-0.4.0/src/netgamut/pyg/catalog.json +1644 -0
  77. netgamut-0.4.0/src/netgamut/snap/__init__.py +370 -0
  78. netgamut-0.4.0/src/netgamut/snap/_catalog.py +304 -0
  79. netgamut-0.4.0/src/netgamut/snap/_models.py +367 -0
  80. netgamut-0.4.0/src/netgamut/snap/_scrape.py +446 -0
  81. netgamut-0.4.0/src/netgamut/snap/catalog.json +5056 -0
  82. netgamut-0.4.0/tests/conftest.py +239 -0
  83. netgamut-0.4.0/tests/test_ahorn.py +383 -0
  84. netgamut-0.4.0/tests/test_api_and_cli.py +226 -0
  85. netgamut-0.4.0/tests/test_cache_and_download.py +292 -0
  86. netgamut-0.4.0/tests/test_catalog.py +199 -0
  87. netgamut-0.4.0/tests/test_domains.py +204 -0
  88. netgamut-0.4.0/tests/test_export.py +349 -0
  89. netgamut-0.4.0/tests/test_generate.py +1261 -0
  90. netgamut-0.4.0/tests/test_konect.py +669 -0
  91. netgamut-0.4.0/tests/test_lfr.py +384 -0
  92. netgamut-0.4.0/tests/test_mlgm.py +101 -0
  93. netgamut-0.4.0/tests/test_models.py +149 -0
  94. netgamut-0.4.0/tests/test_network.py +190 -0
  95. netgamut-0.4.0/tests/test_netzschleuder.py +238 -0
  96. netgamut-0.4.0/tests/test_nodes.py +127 -0
  97. netgamut-0.4.0/tests/test_ogb.py +148 -0
  98. netgamut-0.4.0/tests/test_paths.py +536 -0
  99. netgamut-0.4.0/tests/test_pyg.py +334 -0
  100. netgamut-0.4.0/tests/test_scrape.py +113 -0
  101. netgamut-0.4.0/tests/test_state_network.py +143 -0
  102. netgamut-0.4.0/tests/test_temporal.py +294 -0
  103. netgamut-0.4.0/tests/test_writers.py +428 -0
@@ -0,0 +1,39 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ .eggs/
6
+ build/
7
+ dist/
8
+
9
+ # Environments
10
+ .venv/
11
+ venv/
12
+
13
+ # Tooling caches
14
+ .pytest_cache/
15
+ .mypy_cache/
16
+ .ruff_cache/
17
+ .coverage
18
+ htmlcov/
19
+
20
+ # Editors / OS
21
+ .idea/
22
+ .vscode/
23
+ .DS_Store
24
+
25
+ # Documentation site: the Sphinx output, and the explorer bundle and exported
26
+ # index that pages.yml builds into it
27
+ docs/_build/
28
+ docs/_static/explorer/
29
+ docs/jupyter_execute/
30
+ site/explorer/node_modules/
31
+ site/explorer/public/catalog.json
32
+ site/explorer/*.tsbuildinfo
33
+
34
+ # Notebook by-products
35
+ .ipynb_checkpoints/
36
+ examples/*.net
37
+
38
+ # Agent worktrees
39
+ .claude/worktrees/
netgamut-0.4.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The MapEquation team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.