code
stringlengths
1
1.49M
file_id
stringlengths
42
46
node_count
int64
0
7.38k
total_lines
int64
1
20.9k
vector_dim
int64
15
15
vector_labels
stringclasses
1 value
nodes
stringlengths
2
3.75M
connections
stringlengths
2
964k
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
ajibawa-2023/Python-Code-Large/train/row_88486
215
296
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88486:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.0355, 0.0608, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88486:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88486:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88486:ClassDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88486:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
ajibawa-2023/Python-Code-Large/train/row_88487
8
85
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88487:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1118, 0.2118, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88487:FunctionDef_L81_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88487:Try_L82_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88487:Try_L82_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88487:Return_L83_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
ajibawa-2023/Python-Code-Large/train/row_88488
57
113
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88488:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.0929, 0.1593, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88488:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88488:Assign_L33_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88488:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88488:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88489
27
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88489:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1329, 0.2278, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88489:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88489:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88489:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88489:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88490
27
80
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88490:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1313, 0.225, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88490:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88490:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88490:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88490:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88491
27
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88491:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1329, 0.2278, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88491:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88491:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88491:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88491:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88492
27
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88492:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1329, 0.2278, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88492:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88492:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88492:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88492:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88493
27
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88493:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1329, 0.2278, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88493:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88493:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88493:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88493:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88494
67
142
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88494:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.0739, 0.1268, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88494:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88494:Expr_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88494:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88494:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88495
27
79
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88495:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1329, 0.2278, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88495:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88495:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88495:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88495:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of...
ajibawa-2023/Python-Code-Large/train/row_88496
26
81
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88496:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1296, 0.2222, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88496:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88496:Expr_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88496:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88496:Assign_L34_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
ajibawa-2023/Python-Code-Large/train/row_88498
33
55
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88498:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1727, 0.3273, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88498:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88498:Assign_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88498:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88498:Assign_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2012 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
ajibawa-2023/Python-Code-Large/train/row_88499
16
37
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88499:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 18], "level": 0, "parent": null, "vector": [8, 0, 0.2568, 0.4865, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88499:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88499:Expr_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88499:If_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88499:Import_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_8...
import xbmc, xbmcgui, xbmcaddon import sys, os, re import urllib, urllib2 __plugin__ = 'VideoDevil' __author__ = 'sfaxman' __svn_url__ = 'http://xbmc-adult.googlecode.com/svn/trunk/plugin.video.videodevil/' __credits__ = 'bootsy' __version__ = '1.7.13' addon = xbmcaddon.Addon(id='plugin.video.videodevil') ...
ajibawa-2023/Python-Code-Large/train/row_88500
21
26
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88500:Import_L1_C0", "label": "xbmc import xbmc, xbmcgui, xbmcaddon", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0385, 0.0385, 0, 0.66, 0.0, 877, 0, 3, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": [...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88500:If_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88500:Assign_L13_C22"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88500:ClassDef_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88500:FunctionDef_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
#!/usr/bin/python # Writer (c) 2012, MrStealth # -*- coding: utf-8 -*- import xbmc,xbmcaddon import simplejson as json __addon__ = xbmcaddon.Addon(id='plugin.video.filin.tv') _addon_icon =__addon__.getAddonInfo('icon') language = __addon__.getLocalizedString def addFavorite(url, name): favorites = {} if l...
ajibawa-2023/Python-Code-Large/train/row_88505
26
49
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88505:Import_L5_C0", "label": "xbmc import xbmc, xbmcaddon", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.102, 0.0204, 0, 0.66, 0.0, 877, 0, 2, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc", "x...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88505:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88505:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88505:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88505:Assign_L15_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # Writer (c) 2012, MrStealth # -*- coding: utf-8 -*- import xbmc,xbmcaddon import simplejson as json __addon__ = xbmcaddon.Addon(id='plugin.video.filin.tv') _addon_icon =__addon__.getAddonInfo('icon') language = __addon__.getLocalizedString def addFavorite(url, name): favorites = {} if l...
ajibawa-2023/Python-Code-Large/train/row_88507
26
49
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88507:Import_L5_C0", "label": "xbmc import xbmc, xbmcaddon", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.102, 0.0204, 0, 0.66, 0.0, 877, 0, 2, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc", "x...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88507:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88507:Assign_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88507:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88507:Assign_L15_C4"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- #!/usr/bin/python # Writer (c) 2012, Silhouette, E-mail: otaranda@hotmail.com # Rev. 0.1.4 import urllib,urllib2,re,sys,os,time import xbmcplugin,xbmcgui,xbmcaddon pluginhandle = int(sys.argv[1]) __addon__ = xbmcaddon.Addon(id='plugin.video.inetcom.tv') #fanart = xbmc.translatePath...
ajibawa-2023/Python-Code-Large/train/row_88510
103
143
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88510:Import_L8_C0", "label": "urllib import urllib, urllib2, re\u2026", "type": "import", "loc": [8, 8], "level": 0, "parent": null, "vector": [1, 0, 0.0559, 0.007, 0, 0.66, 0.0, 614, 0, 6, 0, 0, 614, 0, 0], "semantic": {"name": "urllib", "arg_names": [], "import_names...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88510:FunctionDef_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88510:If_L22_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88510:If_L22_C2", "t": "ajibawa-2023/Python-Code-Large/train/row_88510:Expr_L22_C10"}, {"f": "ajibawa-2023/Python-Code-Large/train...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
ajibawa-2023/Python-Code-Large/train/row_88511
62
99
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88511:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0909, 0.1717, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88511:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88511:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88511:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88511:Assign_L25_C8"}, {"f": "ajibawa-2023/Python-...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88513
205
343
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88513:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0262, 0.0496, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88513:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88513:Import_L21_C5"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88513:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88513:Import_L22_C20"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88514
284
391
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88514:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.023, 0.0435, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88514:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88514:Import_L24_C5"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88514:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88514:Import_L25_C20"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
''' YouTube plugin for XBMC Copyright (C) 2010-2011 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
ajibawa-2023/Python-Code-Large/train/row_88515
106
159
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88515:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0566, 0.1069, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88515:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88515:Assign_L24_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88515:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88515:FunctionDef_L26_C1"}, {"f": "ajibawa-2023/Python-Cod...
''' XBMCVFS override for Dharma. Version: 1.0 ''' import os def exists(target): return os.path.exists(target) def rename(origin, target): return os.rename(origin, target) def delete(target): if os.path.isfile(target) and not os.path.isdir(target): return os.unlink(target) return...
ajibawa-2023/Python-Code-Large/train/row_88516
10
20
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88516:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 4], "level": 0, "parent": null, "vector": [8, 0, 0.125, 0.2, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotation"...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88516:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88516:Return_L10_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88516:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88516:Return_L14_C4"}, {"f": "ajibawa-2023/Python-Cod...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88517
24
51
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88517:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1765, 0.3333, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88517:ClassDef_L20_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88517:FunctionDef_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88517:FunctionDef_L22_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88517:Assign_L23_C8"}, {"f": "ajibawa-2023/Python-...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
ajibawa-2023/Python-Code-Large/train/row_88518
319
494
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88518:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0182, 0.0344, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88518:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88518:FunctionDef_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88518:FunctionDef_L25_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88518:Assign_L26_C8"}, {"f": "ajibawa-2023/Python-...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88519
226
366
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88519:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0246, 0.0464, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88519:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88519:Import_L22_C5"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88519:Try_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88519:Import_L23_C20"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
ajibawa-2023/Python-Code-Large/train/row_88520
167
237
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88520:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.038, 0.0717, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88520:ClassDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88520:FunctionDef_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88520:FunctionDef_L24_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88520:Assign_L25_C8"}, {"f": "ajibawa-2023/Python-...
''' StorageServer override. Version: 1.0 ''' import xbmc try: import hashlib except: import md5 import xbmcvfs import os import time import sys if hasattr(sys.modules["__main__"], "settings"): settings = sys.modules["__main__"].settings else: settings = False class StorageServer: def _...
ajibawa-2023/Python-Code-Large/train/row_88521
68
96
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88521:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 4], "level": 0, "parent": null, "vector": [8, 0, 0.026, 0.0417, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88521:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88521:Import_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88521:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88521:Import_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_8...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88522
244
356
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88522:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0253, 0.0478, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88522:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88522:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88522:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88522:Assign_L26_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
''' YouTube plugin for XBMC Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
ajibawa-2023/Python-Code-Large/train/row_88523
461
664
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88523:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0136, 0.0256, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88523:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88523:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88523:ClassDef_L23_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88523:Assign_L25_C4"}, {"f": "ajibawa-2023/Python-Code-Lar...
''' YouTube plugin for XBMC Copyright (C) 2010-2011 Tobias Ussing And Henrik Mosgaard Jensen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88524
79
114
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88524:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0789, 0.1491, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88524:Try_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88524:Import_L27_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88524:Try_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88524:Import_L29_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
# -*- coding: utf-8 -*- ''' Created on Sep 9, 2010 @author: Zsolt Török, Vanhoutteghem Pieter Copyright (C) 2010 Zsolt Török This file is part of XBMC SoundCloud Plugin. XBMC SoundCloud Plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published b...
ajibawa-2023/Python-Code-Large/train/row_88526
197
295
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88526:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0407, 0.0712, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88526:ClassDef_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88526:Expr_L81_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88526:ClassDef_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88526:FunctionDef_L83_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- ''' Copyright (C) 2010 Zsolt Török This file is part of XBMC SoundCloud Plugin. XBMC SoundCloud Plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or...
ajibawa-2023/Python-Code-Large/train/row_88527
1
19
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88527:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.5526, 0.9474, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[]
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
ajibawa-2023/Python-Code-Large/train/row_88528
213
438
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88528:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 31], "level": 0, "parent": null, "vector": [8, 0, 0.0365, 0.0708, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88528:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88528:Expr_L97_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88528:FunctionDef_L96_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88528:Assign_L102_C4"}, {"f": "ajibawa-2023/Python-Cod...
""" iri2uri Converts an IRI to a URI. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyright 2006, Joe Gregorio" __contributors__ = [] __version__ = "1.0.0" __license__ = "MIT" __history__ = """ """ import urlparse # Convert an IRI to a URI following the rules in RFC 3987 # # The characte...
ajibawa-2023/Python-Code-Large/train/row_88529
43
110
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88529:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0318, 0.0545, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88529:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88529:Assign_L54_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88529:FunctionDef_L53_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88529:Assign_L55_C4"}, {"f": "ajibawa-2023/Python-Co...
# -*- coding: utf-8 -*- ''' Created on Sep 4, 2010 @author: Zsolt Török, Vanhoutteghem Pieter Copyright (C) 2010 Zsolt Török This file is part of XBMC SoundCloud Plugin. XBMC SoundCloud Plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published b...
ajibawa-2023/Python-Code-Large/train/row_88531
258
329
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88531:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 23], "level": 0, "parent": null, "vector": [8, 0, 0.038, 0.0669, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88531:FunctionDef_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88531:Expr_L81_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88531:FunctionDef_L80_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88531:Assign_L82_C4"}, {"f": "ajibawa-2023/Python-Code...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88532
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88532:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88532:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88532:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88532:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88532:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88534
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88534:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88534:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88534:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88534:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88534:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/python # Copyright (c) MEGOGO.NET. All rights reserved. # Copyright (c) XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # Writer (c) 2012, Kostynoy S.A., E-mail: seppius2@gmail.com import sys, os, xbmcaddon __addon__=xbmcaddon.Addon(id='plugin.video.megogo.net') sys.path.append(os.path.join(__addon__.getAdd...
ajibawa-2023/Python-Code-Large/train/row_88537
6
11
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88537:Import_L6_C0", "label": "sys import sys, os, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.5455, 0.0909, 0, 0.66, 0.0, 509, 0, 3, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88537:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88537:Import_L10_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88537:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88537:Expr_L11_C1"}]
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88539
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88539:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88539:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88539:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88539:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88539:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88540
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88540:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88540:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88540:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88540:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88540:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/python # Copyright (c) MEGOGO.NET. All rights reserved. # Copyright (c) XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # Writer (c) 2012, Kostynoy S.A., E-mail: seppius2@gmail.com import sys, os, xbmcaddon __addon__=xbmcaddon.Addon(id='plugin.video.megogo.net') sys.path.append(os.path.join(__addon__.getAdd...
ajibawa-2023/Python-Code-Large/train/row_88542
6
11
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88542:Import_L6_C0", "label": "sys import sys, os, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.5455, 0.0909, 0, 0.66, 0.0, 509, 0, 3, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88542:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88542:Import_L10_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88542:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88542:Expr_L11_C1"}]
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88544
38
108
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88544:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0093, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88544:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88544:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88544:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88544:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88545
101
157
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88545:ImportFrom_L18_C0", "label": "from xml.sax.saxutils import unescape", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1146, 0.0064, 0, 0.66, 0.0, 759, 0, 1, 0, 0, 759, 0, 0], "semantic": {"name": "xml.sax.saxutils", "arg_names": [...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88545:FunctionDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88545:Return_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88545:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88545:FunctionDef_L34_C4"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88546
29
43
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88546:Import_L1_C0", "label": "sys import sys, os, xbmcaddon\u2026", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0233, 0.0233, 0, 0.66, 0.0, 509, 0, 7, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["s...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88546:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88546:FunctionDef_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88546:FunctionDef_L13_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88546:Assign_L15_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88547
41
84
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88547:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.2143, 0.0119, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88547:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88547:FunctionDef_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88547:FunctionDef_L38_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88547:For_L39_C8"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at you...
ajibawa-2023/Python-Code-Large/train/row_88548
176
269
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88548:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.0669, 0.0037, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88548:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88548:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88548:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88548:FunctionDef_L52_C4"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88550
51
92
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88550:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.1957, 0.0109, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88550:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88550:FunctionDef_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88550:FunctionDef_L41_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88550:Assign_L42_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88551
38
108
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88551:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.1667, 0.0093, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88551:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88551:Assign_L23_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88551:FunctionDef_L22_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88551:Assign_L24_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88552
101
157
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88552:ImportFrom_L18_C0", "label": "from xml.sax.saxutils import unescape", "type": "import", "loc": [18, 18], "level": 0, "parent": null, "vector": [1, 0, 0.1146, 0.0064, 0, 0.66, 0.0, 759, 0, 1, 0, 0, 759, 0, 0], "semantic": {"name": "xml.sax.saxutils", "arg_names": [...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88552:FunctionDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88552:Return_L30_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88552:ClassDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88552:FunctionDef_L34_C4"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88554
39
77
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88554:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.2338, 0.013, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88554:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88554:Import_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88554:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88554:Import_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
"""Implementation of JSONEncoder """ import re try: from simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii except ImportError: c_encode_basestring_ascii = None try: from simplejson._speedups import make_encoder as c_make_encoder except ImportError: c_make_encoder = None ...
ajibawa-2023/Python-Code-Large/train/row_88555
230
434
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88555:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 2], "level": 0, "parent": null, "vector": [8, 0, 0.0035, 0.0046, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88555:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88555:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88555:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88555:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format. :mod:`simplejson` exposes an API familiar to users of the standard library :mod:`marshal` and :mod:`pickle` modules. It is the externally maintained version of ...
ajibawa-2023/Python-Code-Large/train/row_88557
41
316
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88557:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 99], "level": 0, "parent": null, "vector": [8, 0, 0.1582, 0.3133, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88557:FunctionDef_L120_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88557:Expr_L123_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88557:FunctionDef_L120_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88557:If_L164_C4"}, {"f": "ajibawa-2023/Python-Code...
"""JSON token scanner """ import re try: from simplejson._speedups import make_scanner as c_make_scanner except ImportError: c_make_scanner = None __all__ = ['make_scanner'] NUMBER_RE = re.compile( r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?', (re.VERBOSE | re.MULTILINE | re.DOTALL)) def py_make_scan...
ajibawa-2023/Python-Code-Large/train/row_88559
48
65
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88559:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 2], "level": 0, "parent": null, "vector": [8, 0, 0.0231, 0.0308, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88559:Try_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88559:ImportFrom_L5_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88559:Try_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88559:Assign_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at you...
ajibawa-2023/Python-Code-Large/train/row_88560
176
269
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88560:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.0669, 0.0037, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88560:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88560:Assign_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88560:ClassDef_L48_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88560:FunctionDef_L52_C4"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88561
51
92
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88561:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.1957, 0.0109, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88561:ClassDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88561:FunctionDef_L41_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88561:FunctionDef_L41_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88561:Assign_L42_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88563
41
84
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88563:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.2143, 0.0119, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "r...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88563:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88563:FunctionDef_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88563:FunctionDef_L38_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88563:For_L39_C8"}, {"f": "ajibawa-2023/Python-Cod...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88564
39
77
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88564:Assign_L18_C0", "label": "__author__ =", "type": "assigned_variable", "loc": [18, 18], "level": 0, "parent": null, "vector": [14, 0, 0.2338, 0.013, 0, 0.66, 0.0, 777, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__author__", "arg_names": [], "import_names": [], "rh...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88564:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88564:Import_L22_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88564:Try_L21_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88564:Import_L24_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r...
#!/usr/bin/python # -*- coding: utf-8 -*- # VK-XBMC add-on # Copyright (C) 2011 Volodymyr Shcherban # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
ajibawa-2023/Python-Code-Large/train/row_88565
29
43
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88565:Import_L1_C0", "label": "sys import sys, os, xbmcaddon\u2026", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0233, 0.0233, 0, 0.66, 0.0, 509, 0, 7, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["s...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88565:ClassDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88565:FunctionDef_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88565:FunctionDef_L13_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88565:Assign_L15_C8"}, {"f": "ajibawa-2023/Python-...
#-*- coding: utf-8 -*- ''' Torrenter plugin for XBMC Copyright (C) 2011 Vadim Skorba vadim.skorba@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
ajibawa-2023/Python-Code-Large/train/row_88568
145
188
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88568:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 19], "level": 0, "parent": null, "vector": [8, 0, 0.0559, 0.0957, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88568:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88568:Assign_L32_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88568:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88568:Assign_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Lar...
# -*- coding: utf-8 -*- #genre%5D/ GenreList ,2/ GenreList=[ (0 , "Все" ), (1750 , "аниме" ), (22 , "биография" ), (3 , "боевик" ), (13 , "вестерн" ), (19 , "военный" ), (17 , "детектив" ), (456 , "детский" ), (20 , "для взрослых" ), (12 , "документальный" ), (8 , "драма" ), (27 , "игра" ), (23 , "истори...
ajibawa-2023/Python-Code-Large/train/row_88571
6
131
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88571:Assign_L3_C0", "label": "GenreList =", "type": "assigned_variable", "loc": [3, 37], "level": 0, "parent": null, "vector": [14, 0, 0.1527, 0.2672, 0, 0.66, 0.0, 859, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "GenreList", "arg_names": [], "import_names": [], "rhs_c...
[]
#!/usr/bin/python # -*- coding: utf-8 -*- #/* # * Copyright (c) 2011-2012 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # * Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public Licen...
ajibawa-2023/Python-Code-Large/train/row_88573
140
216
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88573:Import_L23_C0", "label": "urllib2 import urllib2, re, xbmc\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1065, 0.0046, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88573:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88573:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88573:FunctionDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88573:Try_L39_C1"}, {"f": "ajibawa-2023/Python-Code-La...
#!/usr/bin/python # -*- coding: utf-8 -*- #/* # * Copyright (c) 2011-2012 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # * Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public Licen...
ajibawa-2023/Python-Code-Large/train/row_88574
140
216
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88574:Import_L23_C0", "label": "urllib2 import urllib2, re, xbmc\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1065, 0.0046, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import_n...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88574:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88574:Expr_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88574:FunctionDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88574:Try_L39_C1"}, {"f": "ajibawa-2023/Python-Code-La...
# -*- coding: utf-8 -*- import re, htmlentitydefs RE = { 'space': re.compile('[ ]{2,}', re.U|re.S), 'cl': re.compile('[\n]{2,}', re.U|re.S), 'br': re.compile('<\s*br[\s/]*>', re.U|re.S), 'inner': re.compile('<[^>]*>[^<]+<\s*/[^>]*>', re.U|re.S), 'html': re.compile('<[^>]*>', re.U|re.S), ...
ajibawa-2023/Python-Code-Large/train/row_88578
31
55
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88578:Import_L3_C0", "label": "re import re, htmlentitydefs", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0545, 0.0182, 0, 0.66, 0.0, 540, 0, 2, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re", "htm...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88578:ClassDef_L18_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88578:FunctionDef_L19_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88578:FunctionDef_L19_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88578:Assign_L20_C8"}, {"f": "ajibawa-2023/Python-...
# -*- coding: utf-8 -*- import os import sys import time import pickle import xbmc, xbmcvfs try: from sqlite3 import dbapi2 as sqlite except: from pysqlite2 import dbapi2 as sqlite class Cache: def __init__(self, name, expire=0, size=0, step=100): self.name = name self._...
ajibawa-2023/Python-Code-Large/train/row_88579
77
106
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88579:Import_L3_C0", "label": "os import os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0283, 0.0094, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ""...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88579:Try_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88579:ImportFrom_L11_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88579:Try_L10_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88579:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large...
# -*- coding: utf-8 -*- import re import time import urllib from xbmcup.net import HTTP from xbmcup.cache import Cache from xbmcup.html import Clear import xbmc GENRE = { 'anime': 1750, 'biography': 22, 'action': 3, 'western': 13, 'military': 19, 'detective': 17, 'ch...
ajibawa-2023/Python-Code-Large/train/row_88580
327
604
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88580:Import_L3_C0", "label": "re import re", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.005, 0.0017, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name": "",...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88580:ClassDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88580:Expr_L50_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88580:ClassDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88580:FunctionDef_L62_C4"}, {"f": "ajibawa-2023/Python-Code-...
# -*- coding: utf-8 -*- import os import re import cookielib from xbmcup.app import Setting from xbmcup.net import HTTP from xbmcup.cache import Cache from xbmcup.html import Clear import xbmc class RuTracker: def __init__(self, expire=0, size=0): self.cache_catalog = Cache('rut...
ajibawa-2023/Python-Code-Large/train/row_88581
340
644
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88581:Import_L3_C0", "label": "os import os", "type": "import", "loc": [3, 3], "level": 0, "parent": null, "vector": [1, 0, 0.0047, 0.0016, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name": ""...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88581:ClassDef_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88581:FunctionDef_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88581:FunctionDef_L15_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88581:Assign_L17_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import os, time, xbmcaddon import sqlite3 as sqlite __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') addon_path = __addon__.getAddonInfo('path') class Channel: def __init__(self): self.filename = os.path.join(...
ajibawa-2023/Python-Code-Large/train/row_88583
70
93
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88583:Import_L7_C0", "label": "os import os, time, xbmcaddon", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0753, 0.0108, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "ti...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88583:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88583:FunctionDef_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88583:FunctionDef_L14_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88583:Assign_L15_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import os, datetime, xbmcaddon import sqlite3 as sqlite from datetime import timedelta __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') addon_path = __addon__.getAddonInfo('path') now = datetime.datetime.today() if int(__a...
ajibawa-2023/Python-Code-Large/train/row_88584
68
91
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88584:Import_L6_C0", "label": "os import os, datetime, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.0659, 0.011, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88584:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88584:Assign_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88584:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88584:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import xbmc,xbmcaddon from channel import Channel __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') __language__ = __addon__.getLocalizedString addon_icon =__addon__.getAddonInfo('icon') args = sys.argv[1].split("|") ...
ajibawa-2023/Python-Code-Large/train/row_88585
19
34
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88585:Import_L6_C0", "label": "xbmc import xbmc, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.1765, 0.0294, 0, 0.66, 0.0, 877, 0, 2, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88585:If_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88585:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88585:If_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88585:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import xbmcplugin,xbmcgui,xbmcaddon import os, sys, urllib import HTMLParser, CommonFunctions import socket import simplejson as json common = CommonFunctions common.plugin = "plugin.video.iptv5.ts9.ru" common.dbg = True # Default co...
ajibawa-2023/Python-Code-Large/train/row_88586
134
196
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88586:Import_L7_C0", "label": "xbmcplugin import xbmcplugin, xbmcgui, xbmcaddon", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0357, 0.0051, 0, 0.66, 0.0, 648, 0, 3, 0, 0, 648, 0, 0], "semantic": {"name": "xbmcplugin", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88586:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88586:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88586:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88586:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import os, datetime, xbmcaddon import sqlite3 as sqlite from datetime import timedelta __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') addon_path = __addon__.getAddonInfo('path') now = datetime.datetime.today() if int(__a...
ajibawa-2023/Python-Code-Large/train/row_88587
68
91
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88587:Import_L6_C0", "label": "os import os, datetime, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.0659, 0.011, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", ...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88587:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88587:Assign_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88587:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88587:Assign_L17_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import os, time, xbmcaddon import sqlite3 as sqlite __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') addon_path = __addon__.getAddonInfo('path') class Channel: def __init__(self): self.filename = os.path.join(...
ajibawa-2023/Python-Code-Large/train/row_88588
70
93
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88588:Import_L7_C0", "label": "os import os, time, xbmcaddon", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0753, 0.0108, 0, 0.66, 0.0, 688, 0, 3, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os", "ti...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88588:ClassDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88588:FunctionDef_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88588:FunctionDef_L14_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88588:Assign_L15_C8"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import xbmc,xbmcaddon from channel import Channel __addon__ = xbmcaddon.Addon(id='plugin.video.iptv5.ts9.ru') __language__ = __addon__.getLocalizedString addon_icon =__addon__.getAddonInfo('icon') args = sys.argv[1].split("|") ...
ajibawa-2023/Python-Code-Large/train/row_88591
19
34
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88591:Import_L6_C0", "label": "xbmc import xbmc, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.1765, 0.0294, 0, 0.66, 0.0, 877, 0, 2, 0, 0, 877, 0, 0], "semantic": {"name": "xbmc", "arg_names": [], "import_names": ["xbmc", "...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88591:If_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88591:Assign_L16_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88591:If_L15_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88591:Assign_L18_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row...
#!/usr/bin/python # Writer (c) 2012, MrStealth # Rev. 1.0.6 # -*- coding: utf-8 -*- import xbmcplugin,xbmcgui,xbmcaddon import os, sys, urllib import HTMLParser, CommonFunctions import socket import simplejson as json common = CommonFunctions common.plugin = "plugin.video.iptv5.ts9.ru" common.dbg = True # Default co...
ajibawa-2023/Python-Code-Large/train/row_88592
134
196
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88592:Import_L7_C0", "label": "xbmcplugin import xbmcplugin, xbmcgui, xbmcaddon", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0357, 0.0051, 0, 0.66, 0.0, 648, 0, 3, 0, 0, 648, 0, 0], "semantic": {"name": "xbmcplugin", "arg_names": [],...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88592:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88592:Assign_L35_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88592:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88592:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # Copyright (c) 2010-2011 ivi media. All rights reserved. # Copyright (c) 2011 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com import sys, xbmcaddon _id='plugin.video.ivi.ru' #resources directory _resdir = "special://home/addons/" + _id + ...
ajibawa-2023/Python-Code-Large/train/row_88593
7
16
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88593:Import_L6_C0", "label": "sys import sys, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.375, 0.0625, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "xbmca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88593:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88593:Import_L15_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88593:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88593:Expr_L16_C1"}]
# -*- coding: utf-8 -*- # -*- test-case-name: pytils.test.test_translit -*- """ Simple transliteration """ import re #from pytils.utils import takes, returns TRANSTABLE = ( (u"'", u"'"), (u'"', u'"'), (u"‘", u"'"), (u"’", u"'"), (u"«", u'"'), (u"»", u'"'), (u"“"...
ajibawa-2023/Python-Code-Large/train/row_88594
11
149
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88594:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 5], "level": 0, "parent": null, "vector": [8, 0, 0.0268, 0.0201, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88594:FunctionDef_L136_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88594:Assign_L145_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88594:FunctionDef_L136_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88594:For_L146_C1"}, {"f": "ajibawa-2023/Python-C...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88595
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88595:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88595:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88595:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88595:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88595:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88597
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88597:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88597:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88597:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88597:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88597:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/python # Copyright (c) 2010-2011 ivi media. All rights reserved. # Copyright (c) 2011 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com import sys, xbmcaddon _id='plugin.video.ivi.ru' #resources directory _resdir = "special://home/addons/" + _id + ...
ajibawa-2023/Python-Code-Large/train/row_88599
7
16
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88599:Import_L6_C0", "label": "sys import sys, xbmcaddon", "type": "import", "loc": [6, 6], "level": 0, "parent": null, "vector": [1, 0, 0.375, 0.0625, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "xbmca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88599:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88599:Import_L15_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88599:If_L14_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88599:Expr_L16_C1"}]
#!/usr/bin/python #/* # * Copyright (c) 2011-2012 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # * Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * ...
ajibawa-2023/Python-Code-Large/train/row_88600
97
153
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88600:Import_L21_C0", "label": "urllib2 import urllib2, re, xbmcaddon\u2026", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1373, 0.0065, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88600:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88600:Assign_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88600:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88600:Assign_L34_C1"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python #/* # * Copyright (c) 2011-2012 XBMC-Russia, HD-lab Team, E-mail: dev@hd-lab.ru # * Writer (c) 2011, Kostynoy S.A., E-mail: seppius2@gmail.com # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * ...
ajibawa-2023/Python-Code-Large/train/row_88601
97
153
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88601:Import_L21_C0", "label": "urllib2 import urllib2, re, xbmcaddon\u2026", "type": "import", "loc": [21, 21], "level": 0, "parent": null, "vector": [1, 0, 0.1373, 0.0065, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "imp...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88601:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88601:Assign_L33_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88601:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88601:Assign_L34_C1"}, {"f": "ajibawa-2023/Python-Co...
#!/usr/bin/python # -*- coding: utf-8 -*- # © 2010-2011 ОАО «ВебТВ» import sys, os sys.path.append(os.path.join(os.getcwd().replace(';', ''), 'resources', 'lib')) if (__name__ == "__main__" ): import zoomby2xbmc zoomby2xbmc.addon_main()
ajibawa-2023/Python-Code-Large/train/row_88602
5
11
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88602:Import_L5_C0", "label": "sys import sys, os", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.4545, 0.0909, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88602:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88602:Import_L10_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88602:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88602:Expr_L11_C1"}]
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88604
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88604:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88604:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88604:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88604:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88604:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/env python # -*- coding: utf-8 -*- # r""" A JSON data encoder and decoder. This Python module implements the JSON (http://json.org/) data encoding format; a subset of ECMAScript (aka JavaScript) for encoding primitive data types (numbers, strings, booleans, lists, and associative arrays) in a language-n...
ajibawa-2023/Python-Code-Large/train/row_88605
1,126
2,145
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88605:Expr_L4_C0", "label": "expression", "type": "expression", "loc": [4, 114], "level": 0, "parent": null, "vector": [8, 0, 0.0275, 0.0517, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88605:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88605:Import_L159_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88605:Try_L157_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88605:Assign_L161_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
#!/usr/bin/python # -*- coding: utf-8 -*- # © 2010-2011 ОАО «ВебТВ» import sys, os sys.path.append(os.path.join(os.getcwd().replace(';', ''), 'resources', 'lib')) if (__name__ == "__main__" ): import zoomby2xbmc zoomby2xbmc.addon_main()
ajibawa-2023/Python-Code-Large/train/row_88607
5
11
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88607:Import_L5_C0", "label": "sys import sys, os", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.4545, 0.0909, 0, 0.66, 0.0, 509, 0, 2, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys", "os"], "rhs_...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88607:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88607:Import_L10_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88607:If_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88607:Expr_L11_C1"}]
# -*- coding: utf-8 -*- dc={ "1 канал" : "001", "1+1" : "002", "1" : "003", "2x2" : "004", "2х2" : "005", "3 канал" : "006", "5 канал" : "007", "5 канал россия" : "008", "5 канал укр" : "009", "5 канал украина" : "010", "7 тв" : "011", "7тв" : "012", "8 канал" : "013", "24 док" : "014", "24 техно" : "015", "49 канал но...
ajibawa-2023/Python-Code-Large/train/row_88608
1
349
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88608:Assign_L2_C0", "label": "dc =", "type": "assigned_variable", "loc": [2, 349], "level": 0, "parent": null, "vector": [14, 0, 0.5029, 0.9971, 0, 0.66, 0.0, 108, 0, 0, 0, 0, 0, 6, 0], "semantic": {"name": "dc", "arg_names": [], "import_names": [], "rhs_call_name": ""...
[]
#!/usr/bin/python # -*- coding: utf-8 -*- # * Copyright (C) 2011 TDW # * # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2, or (at your option) # * any later v...
ajibawa-2023/Python-Code-Large/train/row_88609
178
253
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88609:Import_L23_C0", "label": "urllib2 import urllib2, re, string\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.0909, 0.004, 0, 0.66, 0.0, 345, 0, 10, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88609:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88609:Return_L24_C10"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88609:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88609:Return_L25_C10"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # * Copyright (C) 2011 TDW # * # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2, or (at your option) # * any later v...
ajibawa-2023/Python-Code-Large/train/row_88610
151
208
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88610:Import_L23_C0", "label": "urllib2 import urllib2, re, string\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1106, 0.0048, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88610:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88610:Return_L24_C10"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88610:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88610:Return_L25_C10"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # * Copyright (C) 2011 TDW # * # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2, or (at your option) # * any later v...
ajibawa-2023/Python-Code-Large/train/row_88611
151
208
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88611:Import_L23_C0", "label": "urllib2 import urllib2, re, string\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.1106, 0.0048, 0, 0.66, 0.0, 345, 0, 9, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88611:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88611:Return_L24_C10"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88611:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88611:Return_L25_C10"}, {"f": "ajibawa-2023/Python-...
#!/usr/bin/python # -*- coding: utf-8 -*- # * Copyright (C) 2011 TDW # * # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2, or (at your option) # * any later v...
ajibawa-2023/Python-Code-Large/train/row_88612
178
253
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88612:Import_L23_C0", "label": "urllib2 import urllib2, re, string\u2026", "type": "import", "loc": [23, 23], "level": 0, "parent": null, "vector": [1, 0, 0.0909, 0.004, 0, 0.66, 0.0, 345, 0, 10, 0, 0, 345, 0, 0], "semantic": {"name": "urllib2", "arg_names": [], "import...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88612:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88612:Return_L24_C10"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88612:FunctionDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88612:Return_L25_C10"}, {"f": "ajibawa-2023/Python-...
''' Image merge. Code taken from the web and adapted by Anarchintosh USAGE: import img_merge img_merge.make(filename,filepath,image_path_list) ''' try: from PIL import Image except: import Image import os.path class PackNode(object): """ Creates an area which can recursively pa...
ajibawa-2023/Python-Code-Large/train/row_88614
44
75
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88614:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 9], "level": 0, "parent": null, "vector": [8, 0, 0.0667, 0.12, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88614:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88614:ImportFrom_L13_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88614:Try_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88614:Import_L15_C4"}, {"f": "ajibawa-2023/Python-Code-Large/tra...
# -*- coding: UTF-8 -*- """ Megavideo and Megaporn-Video Resolver v0.5 Copyleft (Licensed under GPLv3) Anarchintosh This resolver is based on work from: Alessio Glorioso, Ksosez, Pedro Guedes, Voinage and Coolblaze. -------Commands:--------- for baseurl use either 'porn' or 'regular'. TO...
ajibawa-2023/Python-Code-Large/train/row_88615
181
317
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88615:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 46], "level": 0, "parent": null, "vector": [8, 0, 0.0773, 0.1388, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88615:Try_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88615:Expr_L54_C5"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88615:Try_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88615:FunctionDef_L56_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai...
''' gethtml with cookies support v1 by anarchintosh @ xbmcforums Copyleft = GNU GPL v3 (2011 onwards) this function is paired with weblogin.py and is intended to make it easier for coders wishing to scrape source of pages, while logged in to that site. USAGE: !!!!!First set the compatible_urllist below!!!!...
ajibawa-2023/Python-Code-Large/train/row_88616
37
86
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88616:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 21], "level": 0, "parent": null, "vector": [8, 0, 0.1279, 0.2442, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88616:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88616:For_L38_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88616:For_L38_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_88616:If_L40_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/...
# -*- coding: UTF-8 -*- """ weblogin by Anarchintosh @ xbmcforums Copyleft (GNU GPL v3) 2011 onwards this example is configured for Fantasti.cc login See for the full guide please visit: http://forum.xbmc.org/showthread.php?p=772597#post772597 USAGE: in your default.py put: import weblogin ...
ajibawa-2023/Python-Code-Large/train/row_88617
38
108
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88617:Expr_L3_C0", "label": "expression", "type": "expression", "loc": [3, 20], "level": 0, "parent": null, "vector": [8, 0, 0.1065, 0.1667, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88617:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88617:Assign_L40_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88617:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88617:If_L43_C4"}, {"f": "ajibawa-2023/Python-Code-L...
''' regexp.py Realiza el analisis sintactico de la cadena de entrada regexp -> binexp regexpprim regexpprim -> '|' binexp regexpprim | e binexp -> unexp binexpprim binexpprim -> . unexp binexpprim | e unexp -> caracter unop unop -> *|+|?|e caracter -> ALFABETO | (regexp) ''' from arbol import * class RegExp: def ...
ajibawa-2023/Python-Code-Large/train/row_88622
81
136
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88622:ImportFrom_L1_C0", "label": "from arbol import *", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0074, 0.0074, 0, 0.66, 0.0, 437, 0, 1, 0, 0, 437, 0, 0], "semantic": {"name": "arbol", "arg_names": [], "import_names": ["*"], "rhs_c...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88622:ClassDef_L3_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88622:FunctionDef_L5_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88622:FunctionDef_L5_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_88622:Assign_L6_C2"}, {"f": "ajibawa-2023/Python-Code...
class Nodo: def __init__(self, nombre = '', hijos = []): self.nombre = nombre self.hijos = hijos def set_nombre(self, nombre): self.nombre = nombre def add_hijo(self, nuevo): self.hijos.append(nuevo) def print_nodo(self): pila = [self] while len(pila) > 0: nodo = pila.pop() ...
ajibawa-2023/Python-Code-Large/train/row_88623
20
27
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88623:ClassDef_L2_C0", "label": "Nodo", "type": "class", "loc": [2, 23], "level": 0, "parent": null, "vector": [3, 0, 0.463, 0.8148, 0, 0.66, 0.0, 103, 0, 4, 0, 0, 0, 0, 6], "semantic": {"name": "Nodo", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88623:ClassDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88623:FunctionDef_L4_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88623:FunctionDef_L4_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_88623:Assign_L5_C2"}, {"f": "ajibawa-2023/Python-Code...
alfabetos = {'DIGITOS': '0123456789', 'LETRAS': 'abcdefghijklmnopqrstuvwxyz'} def add_alfabeto(nombre, definicion): alfabetos[nombre] = definicion def del_alfabeto(nombre): del alfabeto[nombre]
ajibawa-2023/Python-Code-Large/train/row_88624
4
8
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88624:Assign_L1_C0", "label": "alfabetos =", "type": "assigned_variable", "loc": [1, 2], "level": 0, "parent": null, "vector": [14, 0, 0.1875, 0.25, 0, 0.66, 0.0, 772, 0, 0, 0, 0, 0, 6, 0], "semantic": {"name": "alfabetos", "arg_names": [], "import_names": [], "rhs_call...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88624:FunctionDef_L4_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88624:Assign_L5_C1"}]
import pygtk pygtk.require('2.0') import gtk from alfabetos import * class Ventana: def delete_event(self, widget, event, data = None): print 'Delete event' return gtk.FALSE def destroy(self, widget, data = None): gtk.main_quit() def __init__(self): self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.wi...
ajibawa-2023/Python-Code-Large/train/row_88625
105
130
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88625:Import_L1_C0", "label": "pygtk import pygtk", "type": "import", "loc": [1, 1], "level": 0, "parent": null, "vector": [1, 0, 0.0077, 0.0077, 0, 0.66, 0.0, 106, 0, 1, 0, 0, 106, 0, 0], "semantic": {"name": "pygtk", "arg_names": [], "import_names": ["pygtk"], "rhs_ca...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88625:ClassDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88625:FunctionDef_L8_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88625:FunctionDef_L8_C1", "t": "ajibawa-2023/Python-Code-Large/train/row_88625:Expr_L9_C2"}, {"f": "ajibawa-2023/Python-Code-L...
#==================================================================== # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you ...
ajibawa-2023/Python-Code-Large/train/row_88626
38
74
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88626:Import_L26_C0", "label": "os import os", "type": "import", "loc": [26, 26], "level": 0, "parent": null, "vector": [1, 0, 0.3514, 0.0135, 0, 0.66, 0.0, 688, 0, 1, 0, 0, 688, 0, 0], "semantic": {"name": "os", "arg_names": [], "import_names": ["os"], "rhs_call_name":...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88626:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88626:Assign_L36_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88626:FunctionDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88626:For_L37_C4"}, {"f": "ajibawa-2023/Python-Code-...
""" Windows utils for launching programs, managing processes, etc. Copyright (C) 2013 T. Oldbury This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) a...
ajibawa-2023/Python-Code-Large/train/row_88627
25
64
15
["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"]
[{"id": "ajibawa-2023/Python-Code-Large/train/row_88627:Expr_L1_C0", "label": "expression", "type": "expression", "loc": [1, 19], "level": 0, "parent": null, "vector": [8, 0, 0.1562, 0.2969, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota...
[{"f": "ajibawa-2023/Python-Code-Large/train/row_88627:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88627:Assign_L31_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_88627:FunctionDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_88627:Assign_L32_C4"}, {"f": "ajibawa-2023/Python-Co...