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": 104.0665099,
9
9
  "latitude": 30.5722599,
10
- "pop": 13568357
10
+ "pop": 13568357,
11
+ "DC": 8,
12
+ "IXP": 0
11
13
  },
12
14
  {
13
15
  "id": 1,
@@ -15,7 +17,9 @@
15
17
  "weight": 0,
16
18
  "longitude": 114.05956,
17
19
  "latitude": 22.5428599,
18
- "pop": 17494398
20
+ "pop": 17494398,
21
+ "DC": 16,
22
+ "IXP": 1
19
23
  },
20
24
  {
21
25
  "id": 2,
@@ -23,7 +27,9 @@
23
27
  "weight": 0,
24
28
  "longitude": 114.30525,
25
29
  "latitude": 30.5927599,
26
- "pop": 10392693
30
+ "pop": 10392693,
31
+ "DC": 2,
32
+ "IXP": 1
27
33
  },
28
34
  {
29
35
  "id": 3,
@@ -31,7 +37,9 @@
31
37
  "weight": 0,
32
38
  "longitude": 108.9540936,
33
39
  "latitude": 34.2658138,
34
- "pop": 9600000
40
+ "pop": 9600000,
41
+ "DC": 5,
42
+ "IXP": 0
35
43
  },
36
44
  {
37
45
  "id": 4,
@@ -39,7 +47,9 @@
39
47
  "weight": 0,
40
48
  "longitude": 112.46528,
41
49
  "latitude": 23.0468999,
42
- "pop": 1553109
50
+ "pop": 1553109,
51
+ "DC": 0,
52
+ "IXP": 0
43
53
  },
44
54
  {
45
55
  "id": 5,
@@ -47,7 +57,9 @@
47
57
  "weight": 0,
48
58
  "longitude": 113.57666,
49
59
  "latitude": 22.2708599,
50
- "pop": 649335
60
+ "pop": 649335,
61
+ "DC": 1,
62
+ "IXP": 0
51
63
  },
52
64
  {
53
65
  "id": 6,
@@ -55,7 +67,9 @@
55
67
  "weight": 0,
56
68
  "longitude": 106.23245,
57
69
  "latitude": 38.4862899,
58
- "pop": 1487579
70
+ "pop": 1487579,
71
+ "DC": 0,
72
+ "IXP": 0
59
73
  },
60
74
  {
61
75
  "id": 7,
@@ -63,7 +77,9 @@
63
77
  "weight": 0,
64
78
  "longitude": 106.5511838,
65
79
  "latitude": 29.5656843,
66
- "pop": 7457599
80
+ "pop": 7457599,
81
+ "DC": 6,
82
+ "IXP": 0
67
83
  },
68
84
  {
69
85
  "id": 8,
@@ -71,7 +87,9 @@
71
87
  "weight": 0,
72
88
  "longitude": 114.1693611,
73
89
  "latitude": 22.3193039,
74
- "pop": 7396076
90
+ "pop": 7396076,
91
+ "DC": 87,
92
+ "IXP": 10
75
93
  },
76
94
  {
77
95
  "id": 9,
@@ -79,7 +97,9 @@
79
97
  "weight": 0,
80
98
  "longitude": 108.3669,
81
99
  "latitude": 22.8167299,
82
- "pop": 3839800
100
+ "pop": 3839800,
101
+ "DC": 1,
102
+ "IXP": 0
83
103
  },
84
104
  {
85
105
  "id": 10,
@@ -87,7 +107,9 @@
87
107
  "weight": 0,
88
108
  "longitude": 102.83322,
89
109
  "latitude": 24.8796599,
90
- "pop": 8680000
110
+ "pop": 8680000,
111
+ "DC": 1,
112
+ "IXP": 0
91
113
  },
92
114
  {
93
115
  "id": 11,
@@ -95,7 +117,9 @@
95
117
  "weight": 0,
96
118
  "longitude": 120.89371,
97
119
  "latitude": 31.9795799,
98
- "pop": 2273326
120
+ "pop": 2273326,
121
+ "DC": 3,
122
+ "IXP": 0
99
123
  },
100
124
  {
101
125
  "id": 12,
@@ -103,15 +127,19 @@
103
127
  "weight": 0,
104
128
  "longitude": 119.29647,
105
129
  "latitude": 26.0742099,
106
- "pop": 3740000
130
+ "pop": 3740000,
131
+ "DC": 0,
132
+ "IXP": 0
107
133
  },
108
134
  {
109
135
  "id": 13,
110
- "name": "Canton",
136
+ "name": "Guangzhou",
111
137
  "weight": 0,
112
138
  "longitude": 113.26436,
113
139
  "latitude": 23.1290799,
114
- "pop": 16096724
140
+ "pop": 16096724,
141
+ "DC": 31,
142
+ "IXP": 0
115
143
  },
116
144
  {
117
145
  "id": 14,
@@ -119,7 +147,9 @@
119
147
  "weight": 0,
120
148
  "longitude": 121.473701,
121
149
  "latitude": 31.230416,
122
- "pop": 24874500
150
+ "pop": 24874500,
151
+ "DC": 56,
152
+ "IXP": 2
123
153
  },
124
154
  {
125
155
  "id": 15,
@@ -127,7 +157,9 @@
127
157
  "weight": 0,
128
158
  "longitude": 120.15515,
129
159
  "latitude": 30.2741499,
130
- "pop": 9236032
160
+ "pop": 9236032,
161
+ "DC": 4,
162
+ "IXP": 1
131
163
  },
132
164
  {
133
165
  "id": 16,
@@ -135,7 +167,9 @@
135
167
  "weight": 0,
136
168
  "longitude": 126.6424173,
137
169
  "latitude": 45.7567307,
138
- "pop": 5242897
170
+ "pop": 5242897,
171
+ "DC": 0,
172
+ "IXP": 0
139
173
  },
140
174
  {
141
175
  "id": 17,
@@ -143,7 +177,9 @@
143
177
  "weight": 0,
144
178
  "longitude": 117.22901,
145
179
  "latitude": 31.8205699,
146
- "pop": 5050000
180
+ "pop": 5050000,
181
+ "DC": 4,
182
+ "IXP": 0
147
183
  },
148
184
  {
149
185
  "id": 18,
@@ -151,7 +187,9 @@
151
187
  "weight": 0,
152
188
  "longitude": 112.93886,
153
189
  "latitude": 28.2277799,
154
- "pop": 3093980
190
+ "pop": 3093980,
191
+ "DC": 0,
192
+ "IXP": 0
155
193
  },
156
194
  {
157
195
  "id": 19,
@@ -159,7 +197,9 @@
159
197
  "weight": 0,
160
198
  "longitude": 114.8855792,
161
199
  "latitude": 40.7686911,
162
- "pop": 692602
200
+ "pop": 692602,
201
+ "DC": 19,
202
+ "IXP": 0
163
203
  },
164
204
  {
165
205
  "id": 20,
@@ -167,7 +207,9 @@
167
207
  "weight": 0,
168
208
  "longitude": 118.79647,
169
209
  "latitude": 32.0583799,
170
- "pop": 9314685
210
+ "pop": 9314685,
211
+ "DC": 5,
212
+ "IXP": 0
171
213
  },
172
214
  {
173
215
  "id": 21,
@@ -175,7 +217,9 @@
175
217
  "weight": 0,
176
218
  "longitude": 123.432968,
177
219
  "latitude": 41.804778,
178
- "pop": 7050000
220
+ "pop": 7050000,
221
+ "DC": 2,
222
+ "IXP": 0
179
223
  },
180
224
  {
181
225
  "id": 22,
@@ -183,7 +227,9 @@
183
227
  "weight": 0,
184
228
  "longitude": 111.75199,
185
229
  "latitude": 40.8414899,
186
- "pop": 2350000
230
+ "pop": 2350000,
231
+ "DC": 3,
232
+ "IXP": 0
187
233
  },
188
234
  {
189
235
  "id": 23,
@@ -191,7 +237,9 @@
191
237
  "weight": 0,
192
238
  "longitude": 115.8579399,
193
239
  "latitude": 28.6820199,
194
- "pop": 2357839
240
+ "pop": 2357839,
241
+ "DC": 2,
242
+ "IXP": 0
195
243
  },
196
244
  {
197
245
  "id": 24,
@@ -199,7 +247,9 @@
199
247
  "weight": 0,
200
248
  "longitude": 116.407395,
201
249
  "latitude": 39.904211,
202
- "pop": 18960744
250
+ "pop": 18960744,
251
+ "DC": 51,
252
+ "IXP": 3
203
253
  },
204
254
  {
205
255
  "id": 25,
@@ -207,7 +257,9 @@
207
257
  "weight": 0,
208
258
  "longitude": 112.55067,
209
259
  "latitude": 37.8705899,
210
- "pop": 4303673
260
+ "pop": 4303673,
261
+ "DC": 2,
262
+ "IXP": 0
211
263
  },
212
264
  {
213
265
  "id": 26,
@@ -215,7 +267,9 @@
215
267
  "weight": 0,
216
268
  "longitude": 117.12009,
217
269
  "latitude": 36.6518399,
218
- "pop": 6066000
270
+ "pop": 6066000,
271
+ "DC": 1,
272
+ "IXP": 0
219
273
  },
220
274
  {
221
275
  "id": 27,
@@ -223,7 +277,9 @@
223
277
  "weight": 0,
224
278
  "longitude": 117.199369,
225
279
  "latitude": 39.085099,
226
- "pop": 11090314
280
+ "pop": 11090314,
281
+ "DC": 5,
282
+ "IXP": 0
227
283
  },
228
284
  {
229
285
  "id": 28,
@@ -231,7 +287,9 @@
231
287
  "weight": 0,
232
288
  "longitude": 125.32357,
233
289
  "latitude": 43.8160199,
234
- "pop": 4714996
290
+ "pop": 4714996,
291
+ "DC": 0,
292
+ "IXP": 0
235
293
  },
236
294
  {
237
295
  "id": 29,
@@ -239,7 +297,9 @@
239
297
  "weight": 0,
240
298
  "longitude": 91.1145,
241
299
  "latitude": 29.6441499,
242
- "pop": 118721
300
+ "pop": 118721,
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": 87.61688,
249
309
  "latitude": 43.8266299,
250
- "pop": 3029372
310
+ "pop": 3029372,
311
+ "DC": 0,
312
+ "IXP": 0
251
313
  },
252
314
  {
253
315
  "id": 31,
@@ -255,7 +317,9 @@
255
317
  "weight": 0,
256
318
  "longitude": 101.77782,
257
319
  "latitude": 36.6172899,
258
- "pop": 1677177
320
+ "pop": 1677177,
321
+ "DC": 0,
322
+ "IXP": 0
259
323
  },
260
324
  {
261
325
  "id": 32,
@@ -263,7 +327,9 @@
263
327
  "weight": 0,
264
328
  "longitude": 103.83417,
265
329
  "latitude": 36.0613799,
266
- "pop": 3000000
330
+ "pop": 3000000,
331
+ "DC": 3,
332
+ "IXP": 0
267
333
  },
268
334
  {
269
335
  "id": 33,
@@ -271,7 +337,9 @@
271
337
  "weight": 0,
272
338
  "longitude": 113.62493,
273
339
  "latitude": 34.7472499,
274
- "pop": 4253913
340
+ "pop": 4253913,
341
+ "DC": 1,
342
+ "IXP": 0
275
343
  },
276
344
  {
277
345
  "id": 34,
@@ -279,7 +347,9 @@
279
347
  "weight": 0,
280
348
  "longitude": 106.63019,
281
349
  "latitude": 26.6475899,
282
- "pop": 3037159
350
+ "pop": 3037159,
351
+ "DC": 6,
352
+ "IXP": 0
283
353
  },
284
354
  {
285
355
  "id": 35,
@@ -287,7 +357,9 @@
287
357
  "weight": 0,
288
358
  "longitude": 114.509925,
289
359
  "latitude": 38.030786,
290
- "pop": 3938513
360
+ "pop": 3938513,
361
+ "DC": 2,
362
+ "IXP": 0
291
363
  }
292
364
  ],
293
365
  "links": [