topolib 0.4.2__py3-none-any.whl → 0.5.0__py3-none-any.whl

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 (38) hide show
  1. topolib/assets/AMRES.json +1265 -0
  2. topolib/assets/Bell_canada.json +925 -0
  3. topolib/assets/Brazil.json +699 -0
  4. topolib/assets/CESNET.json +657 -0
  5. topolib/assets/CORONET.json +1957 -0
  6. topolib/assets/{China_pop.json → China.json} +109 -37
  7. topolib/assets/DT-14.json +470 -0
  8. topolib/assets/DT-17.json +525 -0
  9. topolib/assets/{DT-50_pop.json → DT-50.json} +165 -65
  10. topolib/assets/ES-30.json +967 -0
  11. topolib/assets/EURO-16.json +455 -0
  12. topolib/assets/FR-43.json +1277 -0
  13. topolib/assets/FUNET.json +317 -0
  14. topolib/assets/GCN-BG.json +855 -0
  15. topolib/assets/GRNET.json +1717 -0
  16. topolib/assets/HyperOne.json +255 -0
  17. topolib/assets/IT-21.json +649 -0
  18. topolib/assets/India.json +517 -0
  19. topolib/assets/JPN-12.json +331 -0
  20. topolib/assets/KOREN.json +287 -0
  21. topolib/assets/NORDUNet.json +783 -0
  22. topolib/assets/NSFNet.json +399 -0
  23. topolib/assets/PANEURO.json +757 -0
  24. topolib/assets/PAVLOV.json +465 -0
  25. topolib/assets/PLN-12.json +343 -0
  26. topolib/assets/SANReN.json +161 -0
  27. topolib/assets/SERBIA-MONTENEGRO.json +139 -0
  28. topolib/assets/Telefonica-21.json +637 -0
  29. topolib/assets/Turk_Telekom.json +551 -0
  30. topolib/assets/UKNet.json +685 -0
  31. topolib/assets/Vega_Telecom.json +819 -0
  32. topolib/topology/topology.py +252 -7
  33. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/METADATA +4 -2
  34. topolib-0.5.0.dist-info/RECORD +47 -0
  35. topolib-0.4.2.dist-info/RECORD +0 -18
  36. /topolib/assets/{Abilene_IXP.json → Abilene.json} +0 -0
  37. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/WHEEL +0 -0
  38. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -7,7 +7,9 @@
7
7
  "weight": 0,
8
8
  "longitude": 13.4319466,
9
9
  "latitude": 48.5667364,
10
- "pop": 50560
10
+ "pop": 50560,
11
+ "DC": 0,
12
+ "IXP": 0
11
13
  },
12
14
  {
13
15
  "id": 1,
@@ -15,7 +17,9 @@
15
17
  "weight": 0,
16
18
  "longitude": 11.5819806,
17
19
  "latitude": 48.1351253,
18
- "pop": 1260391
20
+ "pop": 1260391,
21
+ "DC": 35,
22
+ "IXP": 2
19
23
  },
20
24
  {
21
25
  "id": 2,
@@ -23,23 +27,29 @@
23
27
  "weight": 0,
24
28
  "longitude": 10.3157835,
25
29
  "latitude": 47.7285699,
26
- "pop": 61399
30
+ "pop": 61399,
31
+ "DC": 0,
32
+ "IXP": 0
27
33
  },
28
34
  {
29
35
  "id": 3,
30
- "name": "Constanza",
36
+ "name": "Konstanz",
31
37
  "weight": 0,
32
38
  "longitude": 9.1736741,
33
39
  "latitude": 47.6779808,
34
- "pop": 81275
40
+ "pop": 81275,
41
+ "DC": 1,
42
+ "IXP": 1
35
43
  },
36
44
  {
37
45
  "id": 4,
38
- "name": "Friburgo de Brisgovia",
46
+ "name": "freiburg im Breisgau",
39
47
  "weight": 0,
40
48
  "longitude": 7.8421043,
41
49
  "latitude": 47.9990077,
42
- "pop": 215966
50
+ "pop": 215966,
51
+ "DC": 2,
52
+ "IXP": 0
43
53
  },
44
54
  {
45
55
  "id": 5,
@@ -47,7 +57,9 @@
47
57
  "weight": 0,
48
58
  "longitude": 9.1829321,
49
59
  "latitude": 48.7758459,
50
- "pop": 630305
60
+ "pop": 630305,
61
+ "DC": 25,
62
+ "IXP": 1
51
63
  },
52
64
  {
53
65
  "id": 6,
@@ -55,23 +67,29 @@
55
67
  "weight": 0,
56
68
  "longitude": 9.9876076,
57
69
  "latitude": 48.4010822,
58
- "pop": 120451
70
+ "pop": 120451,
71
+ "DC": 0,
72
+ "IXP": 0
59
73
  },
60
74
  {
61
75
  "id": 7,
62
- "name": "Augsburgo",
76
+ "name": "Augsburg",
63
77
  "weight": 0,
64
78
  "longitude": 10.89779,
65
79
  "latitude": 48.3705449,
66
- "pop": 259196
80
+ "pop": 259196,
81
+ "DC": 4,
82
+ "IXP": 0
67
83
  },
68
84
  {
69
85
  "id": 8,
70
- "name": "Ratisbona",
86
+ "name": "Regensburg",
71
87
  "weight": 0,
72
88
  "longitude": 12.1016236,
73
89
  "latitude": 49.0134297,
74
- "pop": 129151
90
+ "pop": 129151,
91
+ "DC": 3,
92
+ "IXP": 0
75
93
  },
76
94
  {
77
95
  "id": 9,
@@ -79,15 +97,19 @@
79
97
  "weight": 0,
80
98
  "longitude": 8.4036527,
81
99
  "latitude": 49.0068901,
82
- "pop": 283799
100
+ "pop": 283799,
101
+ "DC": 7,
102
+ "IXP": 2
83
103
  },
84
104
  {
85
105
  "id": 10,
86
- "name": "Sarrebruck",
106
+ "name": "Saarbruecken",
87
107
  "weight": 0,
88
108
  "longitude": 6.997547,
89
109
  "latitude": 49.2381697,
90
- "pop": 179349
110
+ "pop": 179349,
111
+ "DC": 2,
112
+ "IXP": 1
91
113
  },
92
114
  {
93
115
  "id": 11,
@@ -95,7 +117,9 @@
95
117
  "weight": 0,
96
118
  "longitude": 7.7491265,
97
119
  "latitude": 49.4400657,
98
- "pop": 98732
120
+ "pop": 98732,
121
+ "DC": 0,
122
+ "IXP": 0
99
123
  },
100
124
  {
101
125
  "id": 12,
@@ -103,15 +127,19 @@
103
127
  "weight": 0,
104
128
  "longitude": 11.0745641,
105
129
  "latitude": 49.4542881,
106
- "pop": 515543
130
+ "pop": 515543,
131
+ "DC": 21,
132
+ "IXP": 4
107
133
  },
108
134
  {
109
135
  "id": 13,
110
- "name": "Wurzburgo",
136
+ "name": "Wuerzburg",
111
137
  "weight": 0,
112
138
  "longitude": 9.9533548,
113
139
  "latitude": 49.7913044,
114
- "pop": 133731
140
+ "pop": 133731,
141
+ "DC": 6,
142
+ "IXP": 0
115
143
  },
116
144
  {
117
145
  "id": 14,
@@ -119,7 +147,9 @@
119
147
  "weight": 0,
120
148
  "longitude": 8.4646441,
121
149
  "latitude": 49.4873329,
122
- "pop": 307960
150
+ "pop": 307960,
151
+ "DC": 9,
152
+ "IXP": 1
123
153
  },
124
154
  {
125
155
  "id": 15,
@@ -127,15 +157,19 @@
127
157
  "weight": 0,
128
158
  "longitude": 8.6511929,
129
159
  "latitude": 49.8728253,
130
- "pop": 140385
160
+ "pop": 140385,
161
+ "DC": 3,
162
+ "IXP": 0
131
163
  },
132
164
  {
133
165
  "id": 16,
134
- "name": "Treveris",
166
+ "name": "Trier",
135
167
  "weight": 0,
136
168
  "longitude": 6.637189,
137
169
  "latitude": 49.7500569,
138
- "pop": 100129
170
+ "pop": 100129,
171
+ "DC": 0,
172
+ "IXP": 0
139
173
  },
140
174
  {
141
175
  "id": 17,
@@ -143,15 +177,19 @@
143
177
  "weight": 0,
144
178
  "longitude": 7.5889959,
145
179
  "latitude": 50.3569429,
146
- "pop": 107319
180
+ "pop": 107319,
181
+ "DC": 0,
182
+ "IXP": 0
147
183
  },
148
184
  {
149
185
  "id": 18,
150
- "name": "Francfort del Meno",
186
+ "name": "Frankfurt am Main",
151
187
  "weight": 0,
152
188
  "longitude": 8.6821267,
153
189
  "latitude": 50.1109221,
154
- "pop": 650000
190
+ "pop": 650000,
191
+ "DC": 129,
192
+ "IXP": 26
155
193
  },
156
194
  {
157
195
  "id": 19,
@@ -159,7 +197,9 @@
159
197
  "weight": 0,
160
198
  "longitude": 9.6808449,
161
199
  "latitude": 50.5558095,
162
- "pop": 63760
200
+ "pop": 63760,
201
+ "DC": 0,
202
+ "IXP": 0
163
203
  },
164
204
  {
165
205
  "id": 20,
@@ -167,23 +207,29 @@
167
207
  "weight": 0,
168
208
  "longitude": 8.6784031,
169
209
  "latitude": 50.5840512,
170
- "pop": 74411
210
+ "pop": 74411,
211
+ "DC": 0,
212
+ "IXP": 0
171
213
  },
172
214
  {
173
215
  "id": 21,
174
- "name": "Aquisgran",
216
+ "name": "aachen",
175
217
  "weight": 0,
176
218
  "longitude": 6.0838868,
177
219
  "latitude": 50.7753455,
178
- "pop": 265208
220
+ "pop": 265208,
221
+ "DC": 2,
222
+ "IXP": 0
179
223
  },
180
224
  {
181
225
  "id": 22,
182
- "name": "Colonia",
226
+ "name": "Cologne",
183
227
  "weight": 0,
184
228
  "longitude": 6.9602786,
185
229
  "latitude": 50.937531,
186
- "pop": 963395
230
+ "pop": 963395,
231
+ "DC": 17,
232
+ "IXP": 1
187
233
  },
188
234
  {
189
235
  "id": 23,
@@ -191,7 +237,9 @@
191
237
  "weight": 0,
192
238
  "longitude": 11.5713346,
193
239
  "latitude": 49.9456399,
194
- "pop": 75061
240
+ "pop": 75061,
241
+ "DC": 0,
242
+ "IXP": 0
195
243
  },
196
244
  {
197
245
  "id": 24,
@@ -199,7 +247,9 @@
199
247
  "weight": 0,
200
248
  "longitude": 12.9208547,
201
249
  "latitude": 50.8282222,
202
- "pop": 247220
250
+ "pop": 247220,
251
+ "DC": 1,
252
+ "IXP": 0
203
253
  },
204
254
  {
205
255
  "id": 25,
@@ -207,7 +257,9 @@
207
257
  "weight": 0,
208
258
  "longitude": 11.0298799,
209
259
  "latitude": 50.9847679,
210
- "pop": 213692
260
+ "pop": 213692,
261
+ "DC": 3,
262
+ "IXP": 1
211
263
  },
212
264
  {
213
265
  "id": 26,
@@ -215,7 +267,9 @@
215
267
  "weight": 0,
216
268
  "longitude": 12.3730747,
217
269
  "latitude": 51.3396955,
218
- "pop": 504971
270
+ "pop": 504971,
271
+ "DC": 6,
272
+ "IXP": 2
219
273
  },
220
274
  {
221
275
  "id": 27,
@@ -223,15 +277,19 @@
223
277
  "weight": 0,
224
278
  "longitude": 9.4915751,
225
279
  "latitude": 51.3118828,
226
- "pop": 194501
280
+ "pop": 194501,
281
+ "DC": 0,
282
+ "IXP": 0
227
283
  },
228
284
  {
229
285
  "id": 28,
230
- "name": "Dresde",
286
+ "name": "Dresden",
231
287
  "weight": 0,
232
288
  "longitude": 13.7372621,
233
289
  "latitude": 51.0504088,
234
- "pop": 556227
290
+ "pop": 556227,
291
+ "DC": 4,
292
+ "IXP": 1
235
293
  },
236
294
  {
237
295
  "id": 29,
@@ -239,7 +297,9 @@
239
297
  "weight": 0,
240
298
  "longitude": 8.0209591,
241
299
  "latitude": 50.8838492,
242
- "pop": 107242
300
+ "pop": 107242,
301
+ "DC": 0,
302
+ "IXP": 0
243
303
  },
244
304
  {
245
305
  "id": 30,
@@ -247,7 +307,9 @@
247
307
  "weight": 0,
248
308
  "longitude": 6.7824545,
249
309
  "latitude": 51.2230411,
250
- "pop": 620523
310
+ "pop": 620523,
311
+ "DC": 33,
312
+ "IXP": 9
251
313
  },
252
314
  {
253
315
  "id": 31,
@@ -255,7 +317,9 @@
255
317
  "weight": 0,
256
318
  "longitude": 7.0224632,
257
319
  "latitude": 51.4575573,
258
- "pop": 593085
320
+ "pop": 593085,
321
+ "DC": 3,
322
+ "IXP": 1
259
323
  },
260
324
  {
261
325
  "id": 32,
@@ -263,7 +327,9 @@
263
327
  "weight": 0,
264
328
  "longitude": 6.6295679,
265
329
  "latitude": 51.6643079,
266
- "pop": 61685
330
+ "pop": 61685,
331
+ "DC": 0,
332
+ "IXP": 0
267
333
  },
268
334
  {
269
335
  "id": 33,
@@ -271,7 +337,9 @@
271
337
  "weight": 0,
272
338
  "longitude": 7.4652981,
273
339
  "latitude": 51.5135872,
274
- "pop": 588462
340
+ "pop": 588462,
341
+ "DC": 9,
342
+ "IXP": 2
275
343
  },
276
344
  {
277
345
  "id": 34,
@@ -279,7 +347,9 @@
279
347
  "weight": 0,
280
348
  "longitude": 7.6261347,
281
349
  "latitude": 51.9606649,
282
- "pop": 270184
350
+ "pop": 270184,
351
+ "DC": 5,
352
+ "IXP": 0
283
353
  },
284
354
  {
285
355
  "id": 35,
@@ -287,15 +357,19 @@
287
357
  "weight": 0,
288
358
  "longitude": 7.196716,
289
359
  "latitude": 53.5987852,
290
- "pop": 24767
360
+ "pop": 24767,
361
+ "DC": 0,
362
+ "IXP": 0
291
363
  },
292
364
  {
293
365
  "id": 36,
294
- "name": "Oldemburgo",
366
+ "name": "Oldenburg",
295
367
  "weight": 0,
296
368
  "longitude": 8.2145521,
297
369
  "latitude": 53.1434501,
298
- "pop": 159218
370
+ "pop": 159218,
371
+ "DC": 0,
372
+ "IXP": 0
299
373
  },
300
374
  {
301
375
  "id": 37,
@@ -303,7 +377,9 @@
303
377
  "weight": 0,
304
378
  "longitude": 8.0471788,
305
379
  "latitude": 52.2799112,
306
- "pop": 166462
380
+ "pop": 166462,
381
+ "DC": 0,
382
+ "IXP": 0
307
383
  },
308
384
  {
309
385
  "id": 38,
@@ -311,7 +387,9 @@
311
387
  "weight": 0,
312
388
  "longitude": 9.7320104,
313
389
  "latitude": 52.3758916,
314
- "pop": 515140
390
+ "pop": 515140,
391
+ "DC": 9,
392
+ "IXP": 2
315
393
  },
316
394
  {
317
395
  "id": 39,
@@ -319,7 +397,9 @@
319
397
  "weight": 0,
320
398
  "longitude": 8.5278765,
321
399
  "latitude": 52.0220924,
322
- "pop": 331906
400
+ "pop": 331906,
401
+ "DC": 7,
402
+ "IXP": 0
323
403
  },
324
404
  {
325
405
  "id": 40,
@@ -327,15 +407,19 @@
327
407
  "weight": 0,
328
408
  "longitude": 10.5245656,
329
409
  "latitude": 52.2677907,
330
- "pop": 244715
410
+ "pop": 244715,
411
+ "DC": 0,
412
+ "IXP": 0
331
413
  },
332
414
  {
333
415
  "id": 41,
334
- "name": "Magdeburgo",
416
+ "name": "Magdeburg",
335
417
  "weight": 0,
336
418
  "longitude": 11.6080863,
337
419
  "latitude": 52.1131758,
338
- "pop": 235775
420
+ "pop": 235775,
421
+ "DC": 3,
422
+ "IXP": 0
339
423
  },
340
424
  {
341
425
  "id": 42,
@@ -343,7 +427,9 @@
343
427
  "weight": 0,
344
428
  "longitude": 13.404954,
345
429
  "latitude": 52.5200066,
346
- "pop": 3426354
430
+ "pop": 3426354,
431
+ "DC": 49,
432
+ "IXP": 5
347
433
  },
348
434
  {
349
435
  "id": 43,
@@ -351,7 +437,9 @@
351
437
  "weight": 0,
352
438
  "longitude": 13.3923414,
353
439
  "latitude": 54.0865463,
354
- "pop": 52731
440
+ "pop": 52731,
441
+ "DC": 0,
442
+ "IXP": 0
355
443
  },
356
444
  {
357
445
  "id": 44,
@@ -359,15 +447,19 @@
359
447
  "weight": 0,
360
448
  "longitude": 11.4003136,
361
449
  "latitude": 53.6353316,
362
- "pop": 96641
450
+ "pop": 96641,
451
+ "DC": 1,
452
+ "IXP": 0
363
453
  },
364
454
  {
365
455
  "id": 45,
366
- "name": "Hamburgo",
456
+ "name": "Hamburg",
367
457
  "weight": 0,
368
458
  "longitude": 9.9871703,
369
459
  "latitude": 53.5488282,
370
- "pop": 1845229
460
+ "pop": 1845229,
461
+ "DC": 32,
462
+ "IXP": 3
371
463
  },
372
464
  {
373
465
  "id": 46,
@@ -375,15 +467,19 @@
375
467
  "weight": 0,
376
468
  "longitude": 10.1227652,
377
469
  "latitude": 54.3232927,
378
- "pop": 246601
470
+ "pop": 246601,
471
+ "DC": 4,
472
+ "IXP": 0
379
473
  },
380
474
  {
381
475
  "id": 47,
382
- "name": "Flensburgo",
476
+ "name": "Flensburg",
383
477
  "weight": 0,
384
478
  "longitude": 9.4469964,
385
479
  "latitude": 54.7937431,
386
- "pop": 85838
480
+ "pop": 85838,
481
+ "DC": 2,
482
+ "IXP": 0
387
483
  },
388
484
  {
389
485
  "id": 48,
@@ -391,7 +487,9 @@
391
487
  "weight": 0,
392
488
  "longitude": 8.8016937,
393
489
  "latitude": 53.0792962,
394
- "pop": 546501
490
+ "pop": 546501,
491
+ "DC": 9,
492
+ "IXP": 2
395
493
  },
396
494
  {
397
495
  "id": 49,
@@ -399,7 +497,9 @@
399
497
  "weight": 0,
400
498
  "longitude": 8.5809424,
401
499
  "latitude": 53.5395845,
402
- "pop": 113557
500
+ "pop": 113557,
501
+ "DC": 0,
502
+ "IXP": 0
403
503
  }
404
504
  ],
405
505
  "links": [