-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmongodb_insert.py
435 lines (434 loc) · 10.9 KB
/
mongodb_insert.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
def inserter():
peopleList = [
{
"_id" : "1",
"pracoviste" : "MFC - 4.18",
"telefon" : "+420 475 286 115",
"email" : "[email protected]"
},{
"_id" : "2",
"pracoviste" : "MFC - 4.15",
"telefon" : "+420 475 286 214",
"email" : "[email protected]"
},{
"_id" : "3",
"pracoviste" : "MFC - 4.13",
"telefon" : "+420 475 286 278",
"email" : "[email protected]"
},{
"_id" : "4",
"pracoviste" : "MFC - 4.09",
"telefon" : "+420 475 286 275",
"email" : "[email protected]"
},{
"_id" : "5",
"pracoviste" : "MFC - 4.10",
"telefon" : "+420 475 286 210",
"email" : "[email protected]"
},{
"_id" : "6",
"pracoviste" : "MFC - 4.16",
"telefon" : "+420 475 286 116",
"email" : "[email protected]"
},{
"_id" : "7",
"pracoviste" : "MFC - 4.17",
"telefon" : "+420 475 286 117",
"email" : "[email protected]"
},{
"_id" : "8",
"pracoviste" : "CPTO -1.01",
"telefon" : "+420 475 284 112",
"email" : "[email protected]"
},{
"_id" : "9",
"pracoviste" : "CPTO -1.05",
"telefon" : "+420 475 284 195",
"email" : "[email protected]"
},{
"_id" : "10",
"pracoviste" : "CPTO -1.13",
"telefon" : "+420 475 284 160",
"email" : "[email protected]"
},{
"_id" : "11",
"pracoviste" : "CPTO 5.05",
"telefon" : "+420 475 284 153",
"email" : "[email protected]"
},{
"_id" : "12",
"pracoviste" : "CPTO -1.04",
"telefon" : "+420 475 284 139",
"email" : "[email protected]"
},{
"_id" : "13",
"pracoviste" : "CPTO -1.03",
"telefon" : "+420 475 284 118",
"email" : "[email protected]"
},{
"_id" : "14",
"pracoviste" : "308, FSE",
"telefon" : "+420 475 284 808",
"email" : "[email protected]"
},{
"_id" : "15",
"pracoviste" : "",
"telefon" : "+420 475 284 715",
"email" : "[email protected]"
},{
"_id" : "16",
"pracoviste" : "412, FSE",
"telefon" : "+420 475 284 912",
"email" : "[email protected]"
},{
"_id" : "17",
"pracoviste" : "219, FSE",
"telefon" : "+420 475 284 716",
"email" : "[email protected]"
},{
"_id" : "18",
"pracoviste" : "217, FSE",
"telefon" : "+420 475 284 714",
"email" : "[email protected]"
},{
"_id" : "19",
"pracoviste" : "MN 207, MO 220",
"telefon" : "+420 475 283 875",
"email" : "[email protected]"
},{
"_id" : "20",
"pracoviste" : "",
"telefon" : "+420 475 283 122",
"email" : "[email protected]"
},{
"_id" : "21",
"pracoviste" : "CS-212",
"telefon" : "+420 475 283 124",
"email" : "[email protected]"
},{
"_id" : "22",
"pracoviste" : "CS-210",
"telefon" : "+420 475 283 374",
"email" : "[email protected]"
},{
"_id" : "23",
"pracoviste" : "CS-216",
"telefon" : "+420 475 283 121",
"email" : "[email protected]"
},{
"_id" : "24",
"pracoviste" : "",
"telefon" : "+420 475 283 176",
"email" : "[email protected]"
},{
"_id" : "25",
"pracoviste" : "4.12",
"telefon" : "+420 475 284 230",
"email" : "[email protected]"
},{
"_id" : "26",
"pracoviste" : "V1/17c",
"telefon" : "+420 724 213 950",
"email" : "[email protected]"
},{
"_id" : "27",
"pracoviste" : "4.09",
"telefon" : "+420 475 284 250",
"email" : "[email protected]"
},{
"_id" : "28",
"pracoviste" : "V1/17a",
"telefon" : "+420 724 007 998",
"email" : "[email protected]"
},{
"_id" : "29",
"pracoviste" : "4.06",
"telefon" : "+420 602 510 821",
"email" : "[email protected]"
},{
"_id" : "30",
"pracoviste" : "V1/17a",
"telefon" : "+420 475 284 288",
"email" : "[email protected]"
},{
"_id" : "31",
"pracoviste" : "231",
"telefon" : "+420 475 285 122",
"email" : "[email protected]"
},{
"_id" : "32",
"pracoviste" : "522",
"telefon" : "+420 475 285 153",
"email" : "[email protected]"
},{
"_id" : "33",
"pracoviste" : "522",
"telefon" : "+420 475 285 153",
"email" : "[email protected]"
},{
"_id" : "34",
"pracoviste" : "136",
"telefon" : "+420 475 285 126",
"email" : "[email protected]"
},{
"_id" : "35",
"pracoviste" : "233",
"telefon" : "+420 475 285 123",
"email" : "[email protected]"
},{
"_id" : "36",
"pracoviste" : "232",
"telefon" : "+420 475 285 121",
"email" : "[email protected]"
},{
"_id" : "37",
"pracoviste" : "",
"telefon" : "+420 475 286 400",
"email" : "[email protected]"
},{
"_id" : "38",
"pracoviste" : "",
"telefon" : "+420 475 286 412",
"email" : "[email protected]"
},{
"_id" : "39",
"pracoviste" : "",
"telefon" : "+420 475 286 410",
"email" : "[email protected]"
},{
"_id" : "40",
"pracoviste" : "",
"telefon" : "+420 475 286 413",
"email" : "[email protected]"
},{
"_id" : "41",
"pracoviste" : "",
"telefon" : "+420 475 286 402",
"email" : "[email protected]"
},{
"_id" : "42",
"pracoviste" : "",
"telefon" : "+420 475 285 529",
"email" : "[email protected]"
},{
"_id" : "43",
"pracoviste" : "",
"telefon" : "+420 475 285 538",
"email" : "[email protected]"
},{
"_id" : "44",
"pracoviste" : "",
"telefon" : "+420 475 285 548",
"email" : "[email protected]"
},{
"_id" : "45",
"pracoviste" : "",
"telefon" : "+420 475 285 514",
"email" : "[email protected]"
},{
"_id" : "46",
"pracoviste" : "",
"telefon" : "+420 475 285 514",
"email" : "[email protected]"
},{
"_id" : "47",
"pracoviste" : "",
"telefon" : "+420 475 285 518",
"email" : "[email protected]"
},{
"_id" : "48",
"pracoviste" : "CPTO 8.18a",
"telefon" : "+420 475 286 667",
"email" : "[email protected]"
},{
"_id" : "49",
"pracoviste" : "CPTO 8.11",
"telefon" : "+420 475 286 663",
"email" : "[email protected]"
},{
"_id" : "50",
"pracoviste" : "CPTO 8.12",
"telefon" : "+420 475 286 664",
"email" : "[email protected]"
},{
"_id" : "51",
"pracoviste" : "CPTO 8.06",
"telefon" : "+420 724 241 376",
"email" : "[email protected]"
},{
"_id" : "52",
"pracoviste" : "CPTO 8.14",
"telefon" : "+420 475 286 665",
"email" : "[email protected]"
},{
"_id" : "53",
"pracoviste" : "ZV-5",
"telefon" : "+420 475 283 617",
"email" : "[email protected]"
},{
"_id" : "54",
"pracoviste" : "CPTO 2.01",
"telefon" : "+420 475 286 621",
"email" : "[email protected]"
},{
"_id" : "55",
"pracoviste" : "CPTO 5.52",
"telefon" : "+420 475 286 777",
"email" : "[email protected]"
},{
"_id" : "56",
"pracoviste" : "CPTO 3.01",
"telefon" : "+420 475 286 811",
"email" : "[email protected]"
},{
"_id" : "57",
"pracoviste" : "CPTO 6.01",
"telefon" : "+420 607 029 947",
"email" : "[email protected]"
},{
"_id" : "58",
"pracoviste" : "CPTO 4.01",
"telefon" : "+420 475 286 781",
"email" : "[email protected]"
},{
"_id" : "59",
"pracoviste" : "ZV-204",
"telefon" : "+420 723 550 524",
"email" : "[email protected]"
},{
"_id" : "60",
"pracoviste" : "CPTO 3.07",
"telefon" : "+420 475 286 809",
"email" : "[email protected]"
},{
"_id" : "61",
"pracoviste" : "CPTO 6.03",
"telefon" : "+420 475 286 715",
"email" : "[email protected]"
},{
"_id" : "62",
"pracoviste" : "CPTO 6.04",
"telefon" : "+420 475 286 717",
"email" : "[email protected]"
},{
"_id" : "63",
"pracoviste" : "CPTO 6.11",
"telefon" : "+420 475 286 730",
"email" : "[email protected]"
},{
"_id" : "64",
"pracoviste" : "CPTO 6.03",
"telefon" : "+420 475 286 716",
"email" : "[email protected]"
},{
"_id" : "65",
"pracoviste" : "CPTO 6.02",
"telefon" : "+420 475 286 712",
"email" : "[email protected]"
},{
"_id" : "66",
"pracoviste" : "CPTO 6.06",
"telefon" : "+420 475 286 721",
"email" : "[email protected]"
},{
"_id" : "67",
"pracoviste" : "CPTO 6.05",
"telefon" : "+420 475 286 719",
"email" : "[email protected]"
},{
"_id" : "68",
"pracoviste" : "CPTO 6.05",
"telefon" : "+420 475 286 720",
"email" : "[email protected]"
},{
"_id" : "69",
"pracoviste" : "CPTO 6.07",
"telefon" : "+420 475 286 723",
"email" : "[email protected]"
},{
"_id" : "70",
"pracoviste" : "CPTO 6.03",
"telefon" : "+420 475 286 715",
"email" : "[email protected]"
},{
"_id" : "71",
"pracoviste" : "CPTO 6.11",
"telefon" : "",
"email" : "[email protected]"
},{
"_id" : "72",
"pracoviste" : "CPTO 7.04",
"telefon" : "+420 475 286 735",
"email" : "[email protected]"
},{
"_id" : "73",
"pracoviste" : "CPTO 6.08",
"telefon" : "+420 475 286 725",
"email" : "[email protected]"
},{
"_id" : "74",
"pracoviste" : "CPTO 6.03",
"telefon" : "+420 475 286 716",
"email" : "[email protected]"
},{
"_id" : "75",
"pracoviste" : "CPTO 6.06",
"telefon" : "+420 475 286 722",
"email" : "[email protected]"
},{
"_id" : "76",
"pracoviste" : "CPTO 6.04",
"telefon" : "+420 475 286 717",
"email" : "[email protected]"
},{
"_id" : "77",
"pracoviste" : "CPTO 6.07",
"telefon" : "+420 475 286 724",
"email" : "[email protected]"
},{
"_id" : "78",
"pracoviste" : "CPTO 6.08",
"telefon" : "+420 475 286 726",
"email" : "[email protected]"
},{
"_id" : "79",
"pracoviste" : "CPTO 6.04",
"telefon" : "+420 475 286 718",
"email" : "[email protected]"
},{
"_id" : "80",
"pracoviste" : "CPTO 6.01",
"telefon" : "+420 475 286 711",
"email" : "[email protected]"
},{
"_id" : "81",
"pracoviste" : "CPTO 6.11",
"telefon" : "",
"email" : "[email protected]"
},{
"_id" : "82",
"pracoviste" : "CPTO 6.11",
"telefon" : "+420 475 286 730",
"email" : "[email protected]"
},{
"_id" : "83",
"pracoviste" : "CPTO 6.11",
"telefon" : "+420 475 286 729",
"email" : "[email protected]"
},{
"_id" : "84",
"pracoviste" : "",
"telefon" : "",
"email" : "[email protected]"
},{
"_id" : "85",
"pracoviste" : "",
"telefon" : "",
"email" : "[email protected]"
},{
"_id" : "86",
"pracoviste" : "",
"telefon" : "",
"email" : "[email protected]"
}]
return peopleList