topolib 0.4.2__tar.gz → 0.6.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.

Potentially problematic release.


This version of topolib might be problematic. Click here for more details.

Files changed (49) hide show
  1. {topolib-0.4.2 → topolib-0.6.0}/PKG-INFO +10 -4
  2. {topolib-0.4.2 → topolib-0.6.0}/README.md +8 -3
  3. {topolib-0.4.2 → topolib-0.6.0}/pyproject.toml +7 -1
  4. topolib-0.6.0/topolib/assets/AMRES.json +1265 -0
  5. topolib-0.6.0/topolib/assets/Bell_canada.json +925 -0
  6. topolib-0.6.0/topolib/assets/Brazil.json +699 -0
  7. topolib-0.6.0/topolib/assets/CESNET.json +657 -0
  8. topolib-0.6.0/topolib/assets/CORONET.json +1957 -0
  9. topolib-0.4.2/topolib/assets/China_pop.json → topolib-0.6.0/topolib/assets/China.json +109 -37
  10. topolib-0.6.0/topolib/assets/DT-14.json +470 -0
  11. topolib-0.6.0/topolib/assets/DT-17.json +525 -0
  12. topolib-0.4.2/topolib/assets/DT-50_pop.json → topolib-0.6.0/topolib/assets/DT-50.json +165 -65
  13. topolib-0.6.0/topolib/assets/ES-30.json +967 -0
  14. topolib-0.6.0/topolib/assets/EURO-16.json +455 -0
  15. topolib-0.6.0/topolib/assets/FR-43.json +1277 -0
  16. topolib-0.6.0/topolib/assets/FUNET.json +317 -0
  17. topolib-0.6.0/topolib/assets/GCN-BG.json +855 -0
  18. topolib-0.6.0/topolib/assets/GRNET.json +1717 -0
  19. topolib-0.6.0/topolib/assets/HyperOne.json +255 -0
  20. topolib-0.6.0/topolib/assets/IT-21.json +649 -0
  21. topolib-0.6.0/topolib/assets/India.json +517 -0
  22. topolib-0.6.0/topolib/assets/JPN-12.json +331 -0
  23. topolib-0.6.0/topolib/assets/KOREN.json +287 -0
  24. topolib-0.6.0/topolib/assets/NORDUNet.json +783 -0
  25. topolib-0.6.0/topolib/assets/NSFNet.json +399 -0
  26. topolib-0.6.0/topolib/assets/PANEURO.json +757 -0
  27. topolib-0.6.0/topolib/assets/PAVLOV.json +465 -0
  28. topolib-0.6.0/topolib/assets/PLN-12.json +343 -0
  29. topolib-0.6.0/topolib/assets/SANReN.json +161 -0
  30. topolib-0.6.0/topolib/assets/SERBIA-MONTENEGRO.json +139 -0
  31. topolib-0.6.0/topolib/assets/Telefonica-21.json +637 -0
  32. topolib-0.6.0/topolib/assets/Turk_Telekom.json +551 -0
  33. topolib-0.6.0/topolib/assets/UKNet.json +685 -0
  34. topolib-0.6.0/topolib/assets/Vega_Telecom.json +819 -0
  35. topolib-0.6.0/topolib/elements/__init__.py +5 -0
  36. {topolib-0.4.2 → topolib-0.6.0}/topolib/elements/link.py +0 -21
  37. {topolib-0.4.2 → topolib-0.6.0}/topolib/elements/node.py +0 -2
  38. topolib-0.6.0/topolib/topology/topology.py +513 -0
  39. {topolib-0.4.2 → topolib-0.6.0}/topolib/visualization/mapview.py +53 -1
  40. topolib-0.4.2/topolib/elements/__init__.py +0 -8
  41. topolib-0.4.2/topolib/topology/topology.py +0 -172
  42. {topolib-0.4.2 → topolib-0.6.0}/LICENSE +0 -0
  43. {topolib-0.4.2 → topolib-0.6.0}/topolib/__init__.py +0 -0
  44. {topolib-0.4.2 → topolib-0.6.0}/topolib/analysis/__init__.py +0 -0
  45. {topolib-0.4.2 → topolib-0.6.0}/topolib/analysis/metrics.py +0 -0
  46. /topolib-0.4.2/topolib/assets/Abilene_IXP.json → /topolib-0.6.0/topolib/assets/Abilene.json +0 -0
  47. {topolib-0.4.2 → topolib-0.6.0}/topolib/topology/__init__.py +0 -0
  48. {topolib-0.4.2 → topolib-0.6.0}/topolib/topology/path.py +0 -0
  49. {topolib-0.4.2 → topolib-0.6.0}/topolib/visualization/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: topolib
3
- Version: 0.4.2
3
+ Version: 0.6.0
4
4
  Summary: A compact Python library for modeling, analyzing, and visualizing optical network topologies.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -21,6 +21,7 @@ Classifier: Topic :: Scientific/Engineering :: Information Analysis
21
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
22
  Requires-Dist: contextily
23
23
  Requires-Dist: geopandas
24
+ Requires-Dist: jsonschema (>=4.0)
24
25
  Requires-Dist: matplotlib
25
26
  Requires-Dist: networkx (>=2.6)
26
27
  Requires-Dist: numpy (>=1.21)
@@ -49,9 +50,14 @@ Description-Content-Type: text/markdown
49
50
 
50
51
  ## 📂 Examples
51
52
 
52
- Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
53
- - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
54
- - More coming soon!
53
+
54
+ Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
55
+
56
+ - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
57
+ - [Show default topology in map](examples/show_default_topology_in_map.py) 🗺️
58
+ - [Export topology as PNG](examples/export_topology_png.py) 🖼️
59
+ - [Export topology to CSV and JSON](examples/export_csv_json.py) 📄
60
+ - [Export topology and k-shortest paths for FlexNetSim](examples/export_flexnetsim.py) 🔀
55
61
 
56
62
  ---
57
63
 
@@ -17,9 +17,14 @@
17
17
 
18
18
  ## 📂 Examples
19
19
 
20
- Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
21
- - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
22
- - More coming soon!
20
+
21
+ Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
22
+
23
+ - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
24
+ - [Show default topology in map](examples/show_default_topology_in_map.py) 🗺️
25
+ - [Export topology as PNG](examples/export_topology_png.py) 🖼️
26
+ - [Export topology to CSV and JSON](examples/export_csv_json.py) 📄
27
+ - [Export topology and k-shortest paths for FlexNetSim](examples/export_flexnetsim.py) 🔀
23
28
 
24
29
  ---
25
30
 
@@ -2,7 +2,7 @@
2
2
  [tool.poetry]
3
3
  name = "topolib"
4
4
  # Poetry requires a version field, but poetry-dynamic-versioning will override it
5
- version = "0.4.2"
5
+ version = "0.6.0"
6
6
  description = "A compact Python library for modeling, analyzing, and visualizing optical network topologies."
7
7
  authors = ["Danilo Bórquez-Paredes <danilo.borquez.p@uai.cl>"]
8
8
  license = "MIT"
@@ -30,6 +30,9 @@ matplotlib = "*"
30
30
  contextily = "*"
31
31
  geopandas = "*"
32
32
  shapely = "*"
33
+ jsonschema = ">=4.0"
34
+
35
+ ## Ensures interactive backend for matplotlib
33
36
 
34
37
 
35
38
  [tool.poetry.group.dev.dependencies]
@@ -39,6 +42,9 @@ matplotlib = "*"
39
42
  contextily = "*"
40
43
  geopandas = "*"
41
44
  shapely = "*"
45
+ jsonschema = ">=4.0"
46
+
47
+ ## Ensures interactive backend for matplotlib in development
42
48
 
43
49
  [build-system]
44
50
  requires = ["poetry-core>=1.0.0"]