topolib 0.4.2__tar.gz → 0.5.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 (48) hide show
  1. {topolib-0.4.2 → topolib-0.5.0}/PKG-INFO +4 -2
  2. {topolib-0.4.2 → topolib-0.5.0}/README.md +2 -1
  3. {topolib-0.4.2 → topolib-0.5.0}/pyproject.toml +7 -1
  4. topolib-0.5.0/topolib/assets/AMRES.json +1265 -0
  5. topolib-0.5.0/topolib/assets/Bell_canada.json +925 -0
  6. topolib-0.5.0/topolib/assets/Brazil.json +699 -0
  7. topolib-0.5.0/topolib/assets/CESNET.json +657 -0
  8. topolib-0.5.0/topolib/assets/CORONET.json +1957 -0
  9. topolib-0.4.2/topolib/assets/China_pop.json → topolib-0.5.0/topolib/assets/China.json +109 -37
  10. topolib-0.5.0/topolib/assets/DT-14.json +470 -0
  11. topolib-0.5.0/topolib/assets/DT-17.json +525 -0
  12. topolib-0.4.2/topolib/assets/DT-50_pop.json → topolib-0.5.0/topolib/assets/DT-50.json +165 -65
  13. topolib-0.5.0/topolib/assets/ES-30.json +967 -0
  14. topolib-0.5.0/topolib/assets/EURO-16.json +455 -0
  15. topolib-0.5.0/topolib/assets/FR-43.json +1277 -0
  16. topolib-0.5.0/topolib/assets/FUNET.json +317 -0
  17. topolib-0.5.0/topolib/assets/GCN-BG.json +855 -0
  18. topolib-0.5.0/topolib/assets/GRNET.json +1717 -0
  19. topolib-0.5.0/topolib/assets/HyperOne.json +255 -0
  20. topolib-0.5.0/topolib/assets/IT-21.json +649 -0
  21. topolib-0.5.0/topolib/assets/India.json +517 -0
  22. topolib-0.5.0/topolib/assets/JPN-12.json +331 -0
  23. topolib-0.5.0/topolib/assets/KOREN.json +287 -0
  24. topolib-0.5.0/topolib/assets/NORDUNet.json +783 -0
  25. topolib-0.5.0/topolib/assets/NSFNet.json +399 -0
  26. topolib-0.5.0/topolib/assets/PANEURO.json +757 -0
  27. topolib-0.5.0/topolib/assets/PAVLOV.json +465 -0
  28. topolib-0.5.0/topolib/assets/PLN-12.json +343 -0
  29. topolib-0.5.0/topolib/assets/SANReN.json +161 -0
  30. topolib-0.5.0/topolib/assets/SERBIA-MONTENEGRO.json +139 -0
  31. topolib-0.5.0/topolib/assets/Telefonica-21.json +637 -0
  32. topolib-0.5.0/topolib/assets/Turk_Telekom.json +551 -0
  33. topolib-0.5.0/topolib/assets/UKNet.json +685 -0
  34. topolib-0.5.0/topolib/assets/Vega_Telecom.json +819 -0
  35. topolib-0.5.0/topolib/topology/topology.py +417 -0
  36. topolib-0.4.2/topolib/topology/topology.py +0 -172
  37. {topolib-0.4.2 → topolib-0.5.0}/LICENSE +0 -0
  38. {topolib-0.4.2 → topolib-0.5.0}/topolib/__init__.py +0 -0
  39. {topolib-0.4.2 → topolib-0.5.0}/topolib/analysis/__init__.py +0 -0
  40. {topolib-0.4.2 → topolib-0.5.0}/topolib/analysis/metrics.py +0 -0
  41. /topolib-0.4.2/topolib/assets/Abilene_IXP.json → /topolib-0.5.0/topolib/assets/Abilene.json +0 -0
  42. {topolib-0.4.2 → topolib-0.5.0}/topolib/elements/__init__.py +0 -0
  43. {topolib-0.4.2 → topolib-0.5.0}/topolib/elements/link.py +0 -0
  44. {topolib-0.4.2 → topolib-0.5.0}/topolib/elements/node.py +0 -0
  45. {topolib-0.4.2 → topolib-0.5.0}/topolib/topology/__init__.py +0 -0
  46. {topolib-0.4.2 → topolib-0.5.0}/topolib/topology/path.py +0 -0
  47. {topolib-0.4.2 → topolib-0.5.0}/topolib/visualization/__init__.py +0 -0
  48. {topolib-0.4.2 → topolib-0.5.0}/topolib/visualization/mapview.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.5.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)
@@ -51,7 +52,8 @@ Description-Content-Type: text/markdown
51
52
 
52
53
  Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
53
54
  - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
54
- - More coming soon!
55
+ - [Export topology to CSV and JSON](examples/export_csv_json.py) 📄
56
+ - [Export topology and k-shortest paths for FlexNetSim](examples/export_flexnetsim.py) 🔀
55
57
 
56
58
  ---
57
59
 
@@ -19,7 +19,8 @@
19
19
 
20
20
  Explore ready-to-run usage examples in the [`examples/`](examples/) folder!
21
21
  - [Show topology on a map](examples/show_topology_in_map.py) 🗺️
22
- - More coming soon!
22
+ - [Export topology to CSV and JSON](examples/export_csv_json.py) 📄
23
+ - [Export topology and k-shortest paths for FlexNetSim](examples/export_flexnetsim.py) 🔀
23
24
 
24
25
  ---
25
26
 
@@ -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.5.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"]