-
Notifications
You must be signed in to change notification settings - Fork 0
/
tnea_app.py
719 lines (557 loc) · 33.1 KB
/
tnea_app.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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
#!/usr/bin/env python
# coding: utf-8
# # Python Libraries
# In[ ]:
import dash
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import dash_table
import pandas as pd
import dash_bootstrap_components as dbc
import json
from dash.dependencies import Input, Output, State
# # Csv Data files
# In[ ]:
# Joined data of allotted list of all 4 rounds of anna university counselling, branch info and college info
tnea_csv_file_19 = "assets/csv/joined_table_2019.csv"
tnea_csv_file_20 = "assets/csv/joined_table_2020.csv"
# # Read csv to a pandas dataframe and format it
# In[ ]:
alloted_list_df_20 = pd.read_csv(tnea_csv_file_20)
alloted_list_df_20.drop('S.NO', axis=1, inplace=True)
alloted_list_df_20["COLLEGE CODE"] = pd.to_numeric(alloted_list_df_20["COLLEGE CODE"])
# In[ ]:
alloted_list_df_19 = pd.read_csv(tnea_csv_file_19)
alloted_list_df_19.drop('S.NO', axis=1, inplace=True)
alloted_list_df_19["COLLEGE CODE"] = pd.to_numeric(alloted_list_df_19["COLLEGE CODE"])
alloted_list_df_19["OVER ALL RANK"] = pd.to_numeric(alloted_list_df_19["OVER ALL RANK"], errors='coerce')
alloted_list_df_19.fillna(method='ffill', inplace = True)
# In[ ]:
alloted_list_df = alloted_list_df_20
# # Generates plotly Data table which shows the cut off details
# In[ ]:
def generate_plotly_data_table(df,radio_button_value,radio_button_year_value):
'''
table = dbc.Table.from_dataframe(df,
striped=True,
bordered=True,
hover=True,
dark=True,
responsive=True)
return table
'''
#heading_string = 'Max Mark = ' + str(df['AGGR MARK'].iloc[0]) + ' | ' + "Min Mark = " + str(df['AGGR MARK'].iloc[-1])
if radio_button_value == "Cut Off Marks":
heading_string = "TNEA "+str(radio_button_year_value)+" CUT OFF MARKS"
else:
heading_string = "TNEA "+str(radio_button_year_value)+' - Total Students = '+ str(df.shape[0])
return html.Div(children=[
#html.H4(children='Student Count = '+str(df.shape[0]),style={
#'text-align': 'center',
#'color' : 'green',
#'padding':'4px'
#}),
html.H4(children=heading_string,style={
'text-align': 'center',
'color' : 'green',
'padding':'4px'
}),
dash_table.DataTable(
id='datatable-interactivity',
style_data={'whiteSpace': 'normal'},
css=[{
'selector': '.dash-cell div.dash-cell-value',
'rule': 'display: inline; white-space: inherit; overflow: inherit; text-overflow: inherit;'
}],
columns=[
{"name": i, "id": i, "deletable": True} for i in df.columns
],
style_header={
'backgroundColor': '#3DC2ED',
'fontWeight': 'bold',
'white-space': 'pre-wrap'
},
data=df.to_dict('records'),
#editable=True,
filter_action="native",
sort_action="native",
sort_mode="multi",
#row_selectable="multi",
#row_deletable=True,
#selected_rows=[],
page_action="native",
page_current= 0,
page_size= 18,
style_data_conditional=[{
'if': {'column_id': 'CUT OFF MARK'},
'backgroundColor': '#3D9970',
'color': 'white',
}]
),
html.Div(id='datatable-interactivity-container')
])
# # Adding meta tags to app to be discovered by google crawler
# In[ ]:
app_meta_tags =[
# A description of the app, used by e.g.
# search engines when displaying search results.
{
'name': 'description',
'content': 'tnea 2020 cut off , anna university 2020 cut off , tamil nadu engineering admissions 2020 cut offs, tnea 2020 cut off marks, anna university counselling cut off marks, tnea 2020 cut off marks, tnea previous year cut off marks, anna university previous year cut off'
},
{
'name': 'keywords',
'content': 'tnea 2020 cut off,anna university 2020 cut off, anna university cut off , 2020 cut off for anna university, anna university 2020 cut off, tnea 2020 cut off, tnea 2020 cut off marks,tnea 2020 cut off , anna university 2020 cut off , tamil nadu engineering admissions 2020 cut offs, tnea 2020 cut off marks, anna university counselling cut off marks, tnea 2020 cut off marks, tnea previous year cut off marks, anna university previous year cut off'
},
{
'name': 'google-site-verification',
'content': 'X7KxETg-LS3TyR1O4AWzv30G0M-xVQKEgmuOjhXfOB0'
},
# A tag that tells Internet Explorer (IE)
# to use the latest renderer version available
# to that browser (e.g. Edge)
{
'http-equiv': 'X-UA-Compatible',
'content': 'IE=edge'
},
# A tag that tells the browser not to scale
# desktop widths to fit mobile screens.
# Sets the width of the viewport (browser)
# to the width of the device, and the zoom level
# (initial scale) to 1.
#
# Necessary for "true" mobile support.
{
'name': 'viewport',
'content': 'width=device-width, initial-scale=1.0'
}
]
# # External css for the app
# In[ ]:
# external CSS stylesheets
external_stylesheets = [
"https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css",
"/assets/css/tnea.css"
]
# # Initialise dash app
# In[ ]:
app = dash.Dash(__name__,meta_tags=app_meta_tags,external_stylesheets=external_stylesheets)
app.title='Tnea 2020 cut off marks - Anna University 2020 cut off marks'
server = app.server
# # App Layout Design Details
# In[ ]:
app.layout = dcc.Loading(
children=[html.Div(children=[
html.H1(children='TNEA 2020 Cut Off Marks',style={
'text-align': 'center',
'background-color': '#5274a0',
'color' : 'white',
'padding':'18px'
}),
#html.H4(children='TNEA 2020 Cut Offs'),
html.P(children='Filter by College Code :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
html.P(id='college_label',style={
'text-align': 'center',
'color' : 'green',
'padding':'4px'
}),
dcc.Dropdown(id='dropdown',
options=[
{'label': i, 'value': i} for i in sorted(alloted_list_df['COLLEGE CODE'].unique())
],
multi=False,
placeholder='Filter by College Code...'),
html.P(children='Filter by College Name :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
dcc.Dropdown(id='dropdown5',
options=[
{'label': i, 'value': i} for i in sorted(alloted_list_df['COLL_NAME'].unique())
],
value='University Departments of Anna University, Chennai - CEG Campus, Sardar Patel Road, Guindy, Chennai 600 025',
multi=False,
placeholder='Filter by College Name...'),
html.P(children='Filter by Branch Code :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
html.P(id='branch_label',style={
'text-align': 'center',
'color' : 'green',
'padding':'4px'
}),
dcc.Dropdown(id='dropdown3',
options=[
{'label': i, 'value': i} for i in sorted(alloted_list_df['BRANCH CODE'].unique())
],
multi=True,
placeholder='Filter by Branch Code...'),
html.P(children='Filter by Branch Name :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
dcc.Dropdown(id='dropdown4',
options=[
{'label': i, 'value': i} for i in sorted(alloted_list_df['BRANCH_NAME'].unique())
],
multi=True,
placeholder='Filter by Branch Name...'),
html.P(children='Filter by Community Code :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
html.P(id='community_label',style={
'text-align': 'center',
'color' : 'green',
'padding':'4px'
}),
dcc.Dropdown(id='dropdown2',
options=[
{'label': i, 'value': i} for i in sorted(alloted_list_df['ALLOTTED CATEGORY'].unique())
],
multi=False,
value='OC',
placeholder='Filter by Community Code...'),
html.P(children='Filter by Cut Off Mark :',style={'padding':'4px',
'font-weight': 'bold',
'color': '#2c1fcc'
}),
html.P(id='mark_label',style={
'text-align': 'center',
'color' : 'green',
'padding':'4px'
}),
dcc.Dropdown(id='mark_filter',
options=[
{'label': i, 'value': i} for i in sorted([x * 0.25 for x in range(1, 801)], reverse=True)
],
multi=False,
value=200,
placeholder='Filter by Cut Off Mark...'),
dcc.RadioItems(id='radio_button',
style={
'text-align': 'center',
'color' : 'green',
'padding':'4px',
'font-weight': 'bold',
'margin-top':'20px',
},
inputStyle={
"margin-right": "5px",
"margin-left": "15px",
},
options=[
{'label': 'Cut Off Marks', 'value': 'Cut Off Marks'},
{'label': 'Full Student List', 'value': 'Full Student List'},
],
value='Cut Off Marks',
labelStyle={'display': 'inline-block'}
),
dcc.RadioItems(id='radio_button_year',
style={
'text-align': 'center',
'color' : 'green',
'padding':'4px',
'font-weight': 'bold',
'margin-top':'20px',
},
inputStyle={
"margin-right": "5px",
"margin-left": "15px",
},
options=[
{'label': '2019', 'value': '2019'},
{'label': '2020', 'value': '2020'},
],
value='2020',
labelStyle={'display': 'inline-block'}
),
html.Div(id='table-container'),
#html.Div(id='bootstrap-table-container'),
html.H4(children='Downloads - 2020'),
html.A(
'Sports Alloted List',
download="sports_allotted_list.pdf",
href=app.get_asset_url('./pdf/2020/sports_allotted_list.pdf'),
target="_blank"
),
html.A(
'Ex-Servicemen Allotted List',
download="ex-servicemen_Allotted_List.pdf",
href=app.get_asset_url('./pdf/2020/ex-servicemen_Allotted_List.pdf'),
target="_blank"
),
html.A(
'Differently Abled Allotted List',
download="differently_abled_allotted_list.pdf",
href=app.get_asset_url('./pdf/2020/differently_abled_allotted_list.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 1',
download="allotted_list_round_1.pdf",
href=app.get_asset_url('./pdf/2020/allotted_list_round_1.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 2',
download="allotted_list_round_2.pdf",
href=app.get_asset_url('./pdf/2020/allotted_list_round_2.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 3',
download="allotted_list_round_3.pdf",
href=app.get_asset_url('./pdf/2020/allotted_list_round_3.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 4',
download="allotted_list_round_4.pdf",
href=app.get_asset_url('./pdf/2020/allotted_list_round_4.pdf'),
target="_blank"
),
html.A(
'Vocational Alllotted List',
download="vocational_allotments.pdf",
href=app.get_asset_url('./pdf/2020/vocational_allotments.pdf'),
target="_blank"
),
html.H4(children='Downloads - 2019'),
html.A(
'Sports Alloted List',
download="sports_allotted_list.pdf",
href=app.get_asset_url('./pdf/2019/sports_allotted_list.pdf'),
target="_blank"
),
html.A(
'Ex-Servicemen Allotted List',
id='Ex-Servicemen Allotted List',
download="ex-servicemen_Allotted_List.pdf",
href=app.get_asset_url('./pdf/2019/ex-servicemen_Allotted_List.pdf'),
target="_blank"
),
html.A(
'Differently Abled Allotted List',
download="differently_abled_allotted_list.pdf",
href=app.get_asset_url('./pdf/2019/differently_abled_allotted_list.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 1',
download="allotted_list_round_1.pdf",
href=app.get_asset_url('./pdf/2019/allotted_list_round_1.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 2',
download="allotted_list_round_2.pdf",
href=app.get_asset_url('./pdf/2019/allotted_list_round_2.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 3',
download="allotted_list_round_3.pdf",
href=app.get_asset_url('./pdf/2019/allotted_list_round_3.pdf'),
target="_blank"
),
html.A(
'Allotted List Round 4',
download="allotted_list_round_4.pdf",
href=app.get_asset_url('./pdf/2019/allotted_list_round_4.pdf'),
target="_blank"
),
])], type='cube', fullscreen=True)
# # Handle filter option for mark
# In[ ]:
@app.callback(
dash.dependencies.Output('mark_label', 'children'),
[dash.dependencies.Input('mark_filter', 'value')])
def drop_down_value1(mark_filter_value):
mark_label = None
if mark_filter_value is not None:
mark_label = mark_filter_value
return mark_label
# # Handle filter option for college
# In[ ]:
@app.callback(
dash.dependencies.Output('college_label', 'children'),
[dash.dependencies.Input('dropdown', 'value')])
def drop_down_value1(dropdown_value):
college_name = None
if dropdown_value is not None:
college_name_df = alloted_list_df.loc[alloted_list_df['COLLEGE CODE'] == dropdown_value]
if college_name_df.shape[0] > 0:
college_name = college_name_df['COLL_NAME'].iloc[0]
return college_name
# # Handle filter option for branch
# In[ ]:
@app.callback(
dash.dependencies.Output('branch_label', 'children'),
[dash.dependencies.Input('dropdown3', 'value')])
def drop_down_value2(dropdown_value):
branch_name = []
if dropdown_value is not None:
branch_name_df = alloted_list_df.loc[alloted_list_df['BRANCH CODE'].isin(dropdown_value)]
if branch_name_df.shape[0] > 0:
branch_name = branch_name_df['BRANCH_NAME'].unique().tolist()
return ', '.join(branch_name)
# # Handle filter option for Community
# In[ ]:
@app.callback(
dash.dependencies.Output('community_label', 'children'),
[dash.dependencies.Input('dropdown2', 'value')])
def drop_down_value3(dropdown_value):
return dropdown_value
# # Update college code when college name is changed
# In[ ]:
@app.callback(
dash.dependencies.Output('dropdown', 'value'),
[dash.dependencies.Input('dropdown5', 'value')])
def drop_down_value4(dropdown_value):
if dropdown_value is not None:
college_code = alloted_list_df.loc[alloted_list_df['COLL_NAME'] == dropdown_value]['COLLEGE CODE'].iloc[0]
return college_code
else:
return None
# # Update Branch codes when branch names are changed
# In[ ]:
@app.callback(
dash.dependencies.Output('dropdown3', 'value'),
[dash.dependencies.Input('dropdown4', 'value'),
dash.dependencies.Input('dropdown4', 'options')])
def drop_down_value5(dropdown_value,dropdown4_options):
if dropdown_value is not None:
dropdown4_list = []
for x in dropdown4_options:
dropdown4_list.append(x['value'])
dropdown_value = list(set(dropdown_value) & set(dropdown4_list))
if len(dropdown_value)>0:
branch_code = alloted_list_df.loc[alloted_list_df['BRANCH_NAME'].isin(dropdown_value)]['BRANCH CODE'].unique().tolist()
return branch_code
else:
return None
else:
return None
# # List branch codes that are available in the selected college
# In[ ]:
@app.callback(
dash.dependencies.Output('dropdown3', 'options'),
[dash.dependencies.Input('dropdown', 'value')])
def drop_down3_options(dropdown_value):
if dropdown_value is not None:
filtered_df = alloted_list_df.loc[alloted_list_df['COLLEGE CODE'] == dropdown_value]
options=[
{"label": i, "value": i} for i in sorted(filtered_df['BRANCH CODE'].unique())
]
return options
else:
options=[
{"label": i, "value": i} for i in sorted(alloted_list_df['BRANCH CODE'].unique())
]
return options
# # List branch names that are available in the selected college
# In[ ]:
@app.callback(
dash.dependencies.Output('dropdown4', 'options'),
[dash.dependencies.Input('dropdown', 'value')])
def drop_down4_options(dropdown_value):
if dropdown_value is not None:
filtered_df = alloted_list_df.loc[alloted_list_df['COLLEGE CODE'] == dropdown_value]
options=[
{"label": i, "value": i} for i in sorted(filtered_df['BRANCH_NAME'].unique())
]
return options
else:
options=[
{"label": i, "value": i} for i in sorted(alloted_list_df['BRANCH_NAME'].unique())
]
return options
# # Update plotly data-table based on the filtered options
# In[ ]:
@app.callback(
dash.dependencies.Output('table-container', 'children'),
[dash.dependencies.Input('dropdown', 'value'),
dash.dependencies.Input('dropdown2', 'value'),
dash.dependencies.Input('dropdown3', 'value'),
dash.dependencies.Input('radio_button', 'value'),
dash.dependencies.Input('radio_button_year', 'value'),
dash.dependencies.Input('mark_filter', 'value'),
])
def display_table(dropdown_value,dropdown_value2,dropdown_value3,radio_button_value,radio_button_year_value,mark_filter_value):
if radio_button_year_value == "2020":
filtered_df = alloted_list_df_20
else:
filtered_df = alloted_list_df_19
if mark_filter_value is not None:
filtered_df = filtered_df.loc[filtered_df['AGGR MARK'] <= mark_filter_value]
if dropdown_value is not None:
filtered_df = filtered_df.loc[filtered_df['COLLEGE CODE'] == dropdown_value]
if dropdown_value2 is not None:
filtered_df = filtered_df.loc[filtered_df['ALLOTTED CATEGORY'] == dropdown_value2]
if dropdown_value3 is not None:
#filtered_df = filtered_df.loc[filtered_df['BRANCH CODE'] == dropdown_value3]
if len(dropdown_value3) > 0:
filtered_df = filtered_df.loc[filtered_df['BRANCH CODE'].isin(dropdown_value3)]
if radio_button_value == "Cut Off Marks":
filtered_df["OVER ALL RANK"] = pd.to_numeric(filtered_df["OVER ALL RANK"], errors='coerce')
#print(filtered_df.shape,filtered_df['OVER ALL RANK'].isna().sum())
filtered_df = filtered_df.loc[filtered_df.groupby(["COLLEGE CODE","ALLOTTED CATEGORY","BRANCH CODE"])["OVER ALL RANK"].idxmax()]
#filtered_df.reset_index(drop=True, inplace=True)
#filtered_df["OVER ALL RANK"] = filtered_df['OVER ALL RANK'].astype(int)
#filtered_df["OVER ALL RANK"] = pd.to_numeric(filtered_df["OVER ALL RANK"], errors='coerce')
filtered_df = filtered_df.sort_values(by=['OVER ALL RANK'],ascending=True)
'''
filtered_df = filtered_df.drop_duplicates(subset =["COLLEGE CODE","ALLOTTED CATEGORY","BRANCH CODE"],
keep = "last",
inplace = False)
'''
#print(filtered_df)
if dropdown_value2 == 'OC':
filtered_df = filtered_df[['COLLEGE CODE','COLL_NAME',
#'COMMUNITY',
'BRANCH CODE', 'BRANCH_NAME',
'ALLOTTED CATEGORY',
'OVER ALL RANK',
#'COMMUNITY RANK',
'AGGR MARK','COUNSELLING ROUND']]
else:
filtered_df = filtered_df[['COLLEGE CODE','COLL_NAME',
'BRANCH CODE', 'BRANCH_NAME',
'ALLOTTED CATEGORY',
'OVER ALL RANK', 'COMMUNITY RANK',
'AGGR MARK','COUNSELLING ROUND']]
filtered_df.rename({'ALLOTTED CATEGORY': 'COMMUNITY'}, axis=1, inplace=True)
else:
filtered_df["OVER ALL RANK"] = pd.to_numeric(filtered_df["OVER ALL RANK"], errors='coerce')
filtered_df = filtered_df.sort_values(by=['OVER ALL RANK'],ascending=True)
if radio_button_year_value == "2020":
filtered_df = filtered_df[['APP NO',
'NAME OF THE CANDIDATE',
'COLLEGE CODE','COLL_NAME',
'BRANCH CODE', 'BRANCH_NAME',
'COMMUNITY','ALLOTTED CATEGORY',
'OVER ALL RANK', 'COMMUNITY RANK',
'AGGR MARK','COUNSELLING ROUND']]
else:
filtered_df = filtered_df[['APP NO',
#'NAME OF THE CANDIDATE',
'COLLEGE CODE','COLL_NAME',
'BRANCH CODE', 'BRANCH_NAME',
'COMMUNITY','ALLOTTED CATEGORY',
'OVER ALL RANK', 'COMMUNITY RANK',
'AGGR MARK','COUNSELLING ROUND']]
#print(dropdown_value,dropdown_value2,dropdown_value3,radio_button_value)
#print(filtered_df.shape,alloted_list_df.shape)
filtered_df.rename({'AGGR MARK': 'CUT OFF MARK'}, axis=1, inplace=True)
return generate_plotly_data_table(filtered_df,radio_button_value,radio_button_year_value)
# # Start the app
# In[ ]:
if __name__ == '__main__':
app.run_server(debug=False,threaded=True,port=9007)
# In[ ]: