content
stringlengths
1
1.04M
input_ids
sequencelengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
from .pandas_profiling import ModulePandasProfiling from .bias import ModuleBias from .performance import ModulePerformance from .interpretability import ModuleInterpretability from .sustainable import ModuleSustainable
[ 6738, 764, 79, 392, 292, 62, 5577, 4386, 1330, 19937, 47206, 292, 15404, 4386, 198, 6738, 764, 65, 4448, 1330, 19937, 33, 4448, 198, 6738, 764, 26585, 1330, 19937, 32273, 198, 6738, 764, 27381, 1799, 1330, 19937, 9492, 5310, 1799, 198, 6738, 764, 82, 24196, 1330, 19937, 50, 24196 ]
4.469388
49
import asyncio import importlib.resources import aioconsole from playsound import playsound import niescraper.resources
[ 11748, 30351, 952, 198, 11748, 1330, 8019, 13, 37540, 198, 198, 11748, 257, 72, 36221, 6753, 198, 6738, 5341, 633, 1330, 5341, 633, 198, 198, 11748, 299, 444, 66, 38545, 13, 37540, 628, 628 ]
3.676471
34
# Exercise 5 : Cross-Validation ## Set up code checking import os if not os.path.exists("../input/train.csv"): os.symlink("../input/home-data-for-ml-course/train.csv", "../input/train.csv") os.symlink("../input/home-data-for-ml-course/test.csv", "../input/test.csv") from learntools.core import binder binder.bind(globals()) from learntools.ml_intermediate.ex5 import * print("Setup Complete") import pandas as pd from sklearn.model_selection import train_test_split ## Read the data train_data = pd.read_csv('../input/train.csv', index_col='Id') test_data = pd.read_csv('../input/test.csv', index_col='Id') ## Remove rows with missing target, separate target from predictors train_data.dropna(axis=0, subset=['SalePrice'], inplace=True) y = train_data.SalePrice train_data.drop(['SalePrice'], axis=1, inplace=True) ## Select numeric columns only numeric_cols = [cname for cname in train_data.columns if train_data[cname].dtype in ['int64', 'float64']] X = train_data[numeric_cols].copy() X_test = test_data[numeric_cols].copy() ## Step 1: Write a useful function ## In this exercise, you'll use cross-validation to select parameters for a machine learning model. ## Begin by writing a function get_score() that reports the average (over three cross-validation folds) MAE of a machine learning pipeline that uses: ## the data in X and y to create folds, ## SimpleImputer() (with all parameters left as default) to replace missing values, and ## RandomForestRegressor() (with random_state=0) to fit a random forest model. ## The n_estimators parameter supplied to get_score() is used when setting the number of trees in the random forest model. ## Answer: ## Step 2: Test different parameter values ## Now, you will use the function that you defined in Step 1 to evaluate the model performance corresponding to eight different values for the number of trees in the random forest: 50, 100, 150, ..., 300, 350, 400. ## Store your results in a Python dictionary results, where results[i] is the average MAE returned by get_score(i). ## Answer: results = {} for i in range(1,9): results[50*i] = get_score(50*i) ## Step 3: Find the best parameter value ## Given the results, which value for n_estimators seems best for the random forest model? Use your answer to set the value of n_estimators_best. ## Answer: n_estimators_best = min(results, key=results.get)
[ 2, 32900, 642, 1058, 6372, 12, 7762, 24765, 198, 198, 2235, 5345, 510, 2438, 10627, 198, 11748, 28686, 198, 361, 407, 28686, 13, 6978, 13, 1069, 1023, 7203, 40720, 15414, 14, 27432, 13, 40664, 1, 2599, 198, 220, 220, 220, 28686, 13, 1837, 4029, 676, 7203, 40720, 15414, 14, 11195, 12, 7890, 12, 1640, 12, 4029, 12, 17319, 14, 27432, 13, 40664, 1600, 366, 40720, 15414, 14, 27432, 13, 40664, 4943, 198, 220, 220, 220, 28686, 13, 1837, 4029, 676, 7203, 40720, 15414, 14, 11195, 12, 7890, 12, 1640, 12, 4029, 12, 17319, 14, 9288, 13, 40664, 1600, 366, 40720, 15414, 14, 9288, 13, 40664, 4943, 198, 6738, 26338, 10141, 13, 7295, 1330, 275, 5540, 198, 65, 5540, 13, 21653, 7, 4743, 672, 874, 28955, 198, 6738, 26338, 10141, 13, 4029, 62, 3849, 13857, 13, 1069, 20, 1330, 1635, 198, 4798, 7203, 40786, 13248, 4943, 198, 198, 11748, 19798, 292, 355, 279, 67, 198, 6738, 1341, 35720, 13, 19849, 62, 49283, 1330, 4512, 62, 9288, 62, 35312, 198, 198, 2235, 4149, 262, 1366, 198, 27432, 62, 7890, 796, 279, 67, 13, 961, 62, 40664, 10786, 40720, 15414, 14, 27432, 13, 40664, 3256, 6376, 62, 4033, 11639, 7390, 11537, 198, 9288, 62, 7890, 796, 279, 67, 13, 961, 62, 40664, 10786, 40720, 15414, 14, 9288, 13, 40664, 3256, 6376, 62, 4033, 11639, 7390, 11537, 198, 198, 2235, 17220, 15274, 351, 4814, 2496, 11, 4553, 2496, 422, 4331, 669, 198, 27432, 62, 7890, 13, 14781, 2616, 7, 22704, 28, 15, 11, 24637, 28, 17816, 50, 1000, 18124, 6, 4357, 287, 5372, 28, 17821, 8, 198, 88, 796, 4512, 62, 7890, 13, 50, 1000, 18124, 198, 27432, 62, 7890, 13, 14781, 7, 17816, 50, 1000, 18124, 6, 4357, 16488, 28, 16, 11, 287, 5372, 28, 17821, 8, 198, 198, 2235, 9683, 35575, 15180, 691, 198, 77, 39223, 62, 4033, 82, 796, 685, 66, 3672, 329, 269, 3672, 287, 4512, 62, 7890, 13, 28665, 82, 611, 4512, 62, 7890, 58, 66, 3672, 4083, 67, 4906, 287, 37250, 600, 2414, 3256, 705, 22468, 2414, 6, 11907, 198, 55, 796, 4512, 62, 7890, 58, 77, 39223, 62, 4033, 82, 4083, 30073, 3419, 198, 55, 62, 9288, 796, 1332, 62, 7890, 58, 77, 39223, 62, 4033, 82, 4083, 30073, 3419, 198, 198, 2235, 5012, 352, 25, 19430, 257, 4465, 2163, 198, 2235, 554, 428, 5517, 11, 345, 1183, 779, 3272, 12, 12102, 341, 284, 2922, 10007, 329, 257, 4572, 4673, 2746, 13, 198, 2235, 16623, 416, 3597, 257, 2163, 651, 62, 26675, 3419, 326, 3136, 262, 2811, 357, 2502, 1115, 3272, 12, 12102, 341, 38744, 8, 8779, 36, 286, 257, 4572, 4673, 11523, 326, 3544, 25, 198, 2235, 220, 220, 220, 262, 1366, 287, 1395, 290, 331, 284, 2251, 38744, 11, 198, 2235, 220, 220, 220, 17427, 3546, 10549, 3419, 357, 4480, 477, 10007, 1364, 355, 4277, 8, 284, 6330, 4814, 3815, 11, 290, 198, 2235, 220, 220, 220, 14534, 34605, 8081, 44292, 3419, 357, 4480, 4738, 62, 5219, 28, 15, 8, 284, 4197, 257, 4738, 8222, 2746, 13, 198, 2235, 383, 299, 62, 395, 320, 2024, 11507, 14275, 284, 651, 62, 26675, 3419, 318, 973, 618, 4634, 262, 1271, 286, 7150, 287, 262, 4738, 8222, 2746, 13, 628, 198, 2235, 23998, 25, 198, 198, 2235, 5012, 362, 25, 6208, 1180, 11507, 3815, 198, 2235, 2735, 11, 345, 481, 779, 262, 2163, 326, 345, 5447, 287, 5012, 352, 284, 13446, 262, 2746, 2854, 11188, 284, 3624, 1180, 3815, 329, 262, 1271, 286, 7150, 287, 262, 4738, 8222, 25, 2026, 11, 1802, 11, 6640, 11, 2644, 11, 5867, 11, 13803, 11, 7337, 13, 198, 2235, 9363, 534, 2482, 287, 257, 11361, 22155, 2482, 11, 810, 2482, 58, 72, 60, 318, 262, 2811, 8779, 36, 4504, 416, 651, 62, 26675, 7, 72, 737, 198, 198, 2235, 23998, 25, 198, 43420, 796, 23884, 198, 1640, 1312, 287, 2837, 7, 16, 11, 24, 2599, 198, 220, 220, 220, 2482, 58, 1120, 9, 72, 60, 796, 651, 62, 26675, 7, 1120, 9, 72, 8, 628, 198, 2235, 5012, 513, 25, 9938, 262, 1266, 11507, 1988, 198, 2235, 11259, 262, 2482, 11, 543, 1988, 329, 299, 62, 395, 320, 2024, 2331, 1266, 329, 262, 4738, 8222, 2746, 30, 5765, 534, 3280, 284, 900, 262, 1988, 286, 299, 62, 395, 320, 2024, 62, 13466, 13, 198, 198, 2235, 23998, 25, 198, 77, 62, 395, 320, 2024, 62, 13466, 796, 949, 7, 43420, 11, 1994, 28, 43420, 13, 1136, 8 ]
3.247619
735
# coding:utf-8 # real mirror script # 1) duplicate special ( world | input graph) # 2) unparent offsets to world # 3) create a null for each offset # 4) match Translate each null on his respective offset # 5) *(-1) translate X on each null # 6) rotation 180° on Y and Z axis on each null # 7) unparent offsets and reparent them correctly # 8) reorient CTRLS' shapes # /|\ # / ! \ *(-1) translate X on each null joint # # MIRROR RIG MODULES sel = cmds.ls(sl=True, ap=True) duplicata = cmds.duplicate(sel, returnRootsOnly=False, rc=True, upstreamNodes=True) # rename ALL nodes ; both DAG and DG nodes renamed_duplicata = [] for node in duplicata: renamed_node = cmds.rename(node, node.replace("_L", "_R").rstrip("1")) renamed_duplicata.append(renamed_node) # Save constraint structure constraints_list = [] for node in renamed_duplicata: if cmds.objectType(node) in ["parentConstraint", "orientConstraint", "scaleConstraint", "aimConstraint"]: constraints_list.append(node) if constraints_list: constraint = {} for constr in constraints_list: constraint[constr] = {} constraint[constr]["type"] = cmds.objectType(constr) id = 0 constraint[constr]["source"] = None while not constraint[constr]["source"]: constraint[constr]["source"] = cmds.listConnections(constr+".target[{}].targetParentMatrix".format(id), s=True, d=False) id += 1 constraint[constr]["source"] = constraint[constr]["source"][0] dest_tx = cmds.listConnections("{}.constraintTranslateX".format(constr), s=False, d=True)[0] dest_ty = cmds.listConnections("{}.constraintTranslateY".format(constr), s=False, d=True)[0] dest_tz = cmds.listConnections("{}.constraintTranslateZ".format(constr), s=False, d=True)[0] dest_rx = cmds.listConnections("{}.constraintRotateX".format(constr), s=False, d=True)[0] dest_ry = cmds.listConnections("{}.constraintRotateY".format(constr), s=False, d=True)[0] dest_rz = cmds.listConnections("{}.constraintRotateZ".format(constr), s=False, d=True)[0] if dest_tx == dest_ty and dest_ty == dest_tz: constraint[constr]["destination"] = dest_tx elif dest_rx == dest_ry and dest_ry == dest_rz: constraint[constr]["destination"] = dest_rx offset_tr = cmds.getAttr("{}.target[0].targetOffsetTranslate".format(constr))[0] offset_rot = cmds.getAttr("{}.target[0].targetOffsetRotate".format(constr))[0] if offset_tr == (0, 0, 0) and offset_rot == (0, 0, 0): constraint[constr]["maintain_offset"] = False else: constraint[constr]["maintain_offset"] = True cmds.delete(constr) # Work only with DAG nodes cmds.select(renamed_duplicata[0:len(sel)], hierarchy=True) dagNodes_list = cmds.ls(sl=True, shapes=False) # filter shapes because maya sucks for id, node in enumerate(dagNodes_list): if cmds.objectType(node, isType="nurbsCurve") == True: dagNodes_list.pop(id) dagParent = {} for node in dagNodes_list: parent = cmds.listRelatives(node, parent=True)[0] dagParent[node] = parent if cmds.objectType(node, isType="joint") and node.startswith("null_"): jpos_x, jpos_y, jpos_z = cmds.xform(node, q=True, t=True, objectSpace=True) for node in dagNodes_list: cmds.parent(node, world=True) for node in dagNodes_list: pos_x, pos_y, pos_z = cmds.xform(node, q=True, t=True) rot_x, rot_y, rot_z = cmds.xform(node, q=True, ro=True) global_move = cmds.createNode("transform", n="temp_mirror") cmds.xform(global_move, t=[pos_x, pos_y, pos_z]) cmds.parent(node, global_move) cmds.xform(global_move, t=[-pos_x, pos_y, pos_z]) cmds.xform(global_move, ro=[0, 180, 180]) cmds.parent(node, w=True) cmds.delete(global_move) for node in dagNodes_list: cmds.parent(node, dagParent[node]) if cmds.objectType(node, isType="joint"): if node.startswith("null_"): cmds.xform(node, t=[-jpos_x, jpos_y, jpos_z]) cmds.setAttr("{}.jointOrientX".format(node), 0) cmds.setAttr("{}.jointOrientY".format(node), 0) cmds.setAttr("{}.jointOrientZ".format(node), 0) # redo constraints if constraints_list: for i in constraints_list: if constraint[i]["type"] == "parentConstraint": cmds.parentConstraint(constraint[i]["source"], constraint[i]["destination"], mo= constraint[i]["maintain_offset"]) elif constraint[i]["type"] == "orientConstraint": cmds.orientConstraint(constraint[i]["source"], constraint[i]["destination"], mo= constraint[i]["maintain_offset"]) elif constraint[i]["type"] == "scaleConstraint": cmds.scaleConstraint(constraint[i]["source"], constraint[i]["destination"], mo= constraint[i]["maintain_offset"]) # elif constraint[i]["type"] == "aimConstraint": # cmds.aimConstraint(constraint[i]["source"], constraint[i]["destination"], mo= constraint[i]["maintain_offset"]) # MIRROR POSITION AND ROTATION # MIRROR SHAPES if not sel: sel = cmds.ls(sl=True, ap=True) if not sel: cmds.error("Any selection. Please select curves") for transform in sel: shapes_list = cmds.listRelatives(transform, shapes=True, path=True) for shape in shapes_list: if cmds.objectType(shape, isType="nurbsCurve"): cv_number = cmds.getAttr("{}.spans".format(shape)) for id in range(cv_number): cv_x = cmds.getAttr("{}.controlPoints[{}].xValue".format(shape, id)) cv_y = cmds.getAttr("{}.controlPoints[{}].yValue".format(shape, id)) cv_z = cmds.getAttr("{}.controlPoints[{}].zValue".format(shape, id)) cmds.setAttr("{}.controlPoints[{}].xValue".format(shape, id), cv_x) cmds.setAttr("{}.controlPoints[{}].yValue".format(shape, id), (-1)*cv_y) cmds.setAttr("{}.controlPoints[{}].zValue".format(shape, id), (-1)*cv_z)
[ 2, 19617, 25, 40477, 12, 23, 198, 198, 2, 1103, 10162, 4226, 198, 198, 2, 352, 8, 23418, 2041, 357, 995, 930, 5128, 4823, 8, 198, 198, 2, 362, 8, 555, 8000, 49005, 284, 995, 198, 198, 2, 513, 8, 2251, 257, 9242, 329, 1123, 11677, 198, 198, 2, 604, 8, 2872, 3602, 17660, 1123, 9242, 319, 465, 11756, 11677, 198, 198, 2, 642, 8, 1635, 32590, 16, 8, 15772, 1395, 319, 1123, 9242, 198, 198, 2, 718, 8, 13179, 11546, 7200, 319, 575, 290, 1168, 16488, 319, 1123, 9242, 198, 198, 2, 767, 8, 555, 8000, 49005, 290, 1128, 1580, 606, 9380, 198, 198, 2, 807, 8, 302, 13989, 34577, 6561, 6, 15268, 198, 198, 2, 220, 1220, 91, 59, 198, 2, 1220, 5145, 3467, 220, 1635, 32590, 16, 8, 15772, 1395, 319, 1123, 9242, 6466, 198, 2, 198, 2, 337, 4663, 16411, 371, 3528, 19164, 6239, 1546, 198, 741, 796, 23991, 82, 13, 7278, 7, 6649, 28, 17821, 11, 2471, 28, 17821, 8, 198, 197, 197, 198, 646, 489, 291, 1045, 796, 23991, 82, 13, 646, 489, 5344, 7, 741, 11, 1441, 49, 13880, 10049, 28, 25101, 11, 48321, 28, 17821, 11, 28717, 45, 4147, 28, 17821, 8, 198, 198, 2, 36265, 11096, 13760, 2162, 1111, 360, 4760, 290, 46133, 13760, 198, 918, 2434, 62, 646, 489, 291, 1045, 796, 17635, 198, 1640, 10139, 287, 14184, 291, 1045, 25, 198, 197, 918, 2434, 62, 17440, 796, 23991, 82, 13, 918, 480, 7, 17440, 11, 10139, 13, 33491, 7203, 62, 43, 1600, 45434, 49, 11074, 81, 36311, 7203, 16, 48774, 198, 197, 918, 2434, 62, 646, 489, 291, 1045, 13, 33295, 7, 918, 2434, 62, 17440, 8, 198, 198, 2, 12793, 32315, 4645, 198, 198, 1102, 2536, 6003, 62, 4868, 796, 17635, 198, 198, 1640, 10139, 287, 25121, 62, 646, 489, 291, 1045, 25, 198, 197, 361, 23991, 82, 13, 15252, 6030, 7, 17440, 8, 287, 14631, 8000, 3103, 2536, 2913, 1600, 366, 13989, 3103, 2536, 2913, 1600, 366, 9888, 3103, 2536, 2913, 1600, 366, 1385, 3103, 2536, 2913, 1, 5974, 198, 197, 197, 1102, 2536, 6003, 62, 4868, 13, 33295, 7, 17440, 8, 198, 198, 361, 17778, 62, 4868, 25, 198, 197, 1102, 2536, 2913, 796, 23884, 198, 197, 1640, 1500, 81, 287, 17778, 62, 4868, 25, 198, 197, 197, 198, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 60, 796, 23884, 198, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 4906, 8973, 796, 23991, 82, 13, 15252, 6030, 7, 1102, 2536, 8, 198, 197, 197, 198, 197, 197, 312, 796, 657, 198, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 10459, 8973, 796, 6045, 198, 197, 197, 4514, 407, 32315, 58, 1102, 2536, 7131, 1, 10459, 1, 5974, 198, 197, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 10459, 8973, 796, 23991, 82, 13, 4868, 13313, 507, 7, 1102, 2536, 10, 1911, 16793, 58, 90, 92, 4083, 16793, 24546, 46912, 1911, 18982, 7, 312, 828, 264, 28, 17821, 11, 288, 28, 25101, 8, 198, 197, 197, 197, 312, 15853, 352, 198, 197, 197, 198, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 10459, 8973, 796, 32315, 58, 1102, 2536, 7131, 1, 10459, 1, 7131, 15, 60, 198, 197, 197, 198, 197, 197, 16520, 62, 17602, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 8291, 17660, 55, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 197, 16520, 62, 774, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 8291, 17660, 56, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 197, 16520, 62, 22877, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 8291, 17660, 57, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 197, 198, 197, 197, 16520, 62, 40914, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 24864, 378, 55, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 197, 16520, 62, 563, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 24864, 378, 56, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 197, 16520, 62, 81, 89, 796, 23991, 82, 13, 4868, 13313, 507, 7203, 90, 27422, 1102, 2536, 2913, 24864, 378, 57, 1911, 18982, 7, 1102, 2536, 828, 264, 28, 25101, 11, 288, 28, 17821, 38381, 15, 60, 198, 197, 198, 197, 197, 361, 2244, 62, 17602, 6624, 2244, 62, 774, 290, 2244, 62, 774, 6624, 2244, 62, 22877, 25, 198, 197, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 16520, 1883, 8973, 796, 2244, 62, 17602, 198, 197, 197, 417, 361, 2244, 62, 40914, 6624, 2244, 62, 563, 290, 2244, 62, 563, 6624, 2244, 62, 81, 89, 25, 198, 197, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 16520, 1883, 8973, 796, 2244, 62, 40914, 198, 197, 197, 198, 197, 197, 28968, 62, 2213, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 16793, 58, 15, 4083, 16793, 34519, 8291, 17660, 1911, 18982, 7, 1102, 2536, 4008, 58, 15, 60, 198, 197, 197, 28968, 62, 10599, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 16793, 58, 15, 4083, 16793, 34519, 24864, 378, 1911, 18982, 7, 1102, 2536, 4008, 58, 15, 60, 198, 197, 197, 198, 197, 197, 361, 11677, 62, 2213, 6624, 357, 15, 11, 657, 11, 657, 8, 290, 11677, 62, 10599, 6624, 357, 15, 11, 657, 11, 657, 2599, 198, 197, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 76, 32725, 62, 28968, 8973, 796, 10352, 198, 197, 197, 17772, 25, 198, 197, 197, 197, 1102, 2536, 2913, 58, 1102, 2536, 7131, 1, 76, 32725, 62, 28968, 8973, 796, 6407, 198, 197, 198, 197, 197, 28758, 82, 13, 33678, 7, 1102, 2536, 8, 628, 198, 2, 5521, 691, 351, 360, 4760, 13760, 198, 28758, 82, 13, 19738, 7, 918, 2434, 62, 646, 489, 291, 1045, 58, 15, 25, 11925, 7, 741, 8, 4357, 18911, 28, 17821, 8, 198, 67, 363, 45, 4147, 62, 4868, 796, 23991, 82, 13, 7278, 7, 6649, 28, 17821, 11, 15268, 28, 25101, 8, 198, 198, 2, 8106, 15268, 780, 743, 64, 22523, 198, 1640, 4686, 11, 10139, 287, 27056, 378, 7, 67, 363, 45, 4147, 62, 4868, 2599, 198, 197, 361, 23991, 82, 13, 15252, 6030, 7, 17440, 11, 318, 6030, 2625, 77, 333, 1443, 26628, 303, 4943, 6624, 6407, 25, 198, 197, 197, 67, 363, 45, 4147, 62, 4868, 13, 12924, 7, 312, 8, 198, 198, 67, 363, 24546, 796, 23884, 198, 198, 1640, 10139, 287, 48924, 45, 4147, 62, 4868, 25, 198, 197, 8000, 796, 23991, 82, 13, 4868, 6892, 2929, 7, 17440, 11, 2560, 28, 17821, 38381, 15, 60, 198, 197, 67, 363, 24546, 58, 17440, 60, 796, 2560, 198, 197, 361, 23991, 82, 13, 15252, 6030, 7, 17440, 11, 318, 6030, 2625, 73, 1563, 4943, 290, 10139, 13, 9688, 2032, 342, 7203, 8423, 62, 1, 2599, 198, 197, 197, 73, 1930, 62, 87, 11, 474, 1930, 62, 88, 11, 474, 1930, 62, 89, 796, 23991, 82, 13, 87, 687, 7, 17440, 11, 10662, 28, 17821, 11, 256, 28, 17821, 11, 2134, 14106, 28, 17821, 8, 198, 198, 1640, 10139, 287, 48924, 45, 4147, 62, 4868, 25, 198, 197, 28758, 82, 13, 8000, 7, 17440, 11, 995, 28, 17821, 8, 198, 198, 1640, 10139, 287, 48924, 45, 4147, 62, 4868, 25, 198, 197, 1930, 62, 87, 11, 1426, 62, 88, 11, 1426, 62, 89, 796, 23991, 82, 13, 87, 687, 7, 17440, 11, 10662, 28, 17821, 11, 256, 28, 17821, 8, 198, 197, 10599, 62, 87, 11, 5724, 62, 88, 11, 5724, 62, 89, 796, 23991, 82, 13, 87, 687, 7, 17440, 11, 10662, 28, 17821, 11, 686, 28, 17821, 8, 198, 197, 20541, 62, 21084, 796, 23991, 82, 13, 17953, 19667, 7203, 35636, 1600, 299, 2625, 29510, 62, 10793, 1472, 4943, 198, 197, 28758, 82, 13, 87, 687, 7, 20541, 62, 21084, 11, 256, 41888, 1930, 62, 87, 11, 1426, 62, 88, 11, 1426, 62, 89, 12962, 198, 197, 28758, 82, 13, 8000, 7, 17440, 11, 3298, 62, 21084, 8, 198, 197, 28758, 82, 13, 87, 687, 7, 20541, 62, 21084, 11, 256, 41888, 12, 1930, 62, 87, 11, 1426, 62, 88, 11, 1426, 62, 89, 12962, 198, 197, 28758, 82, 13, 87, 687, 7, 20541, 62, 21084, 11, 686, 41888, 15, 11, 11546, 11, 11546, 12962, 198, 197, 28758, 82, 13, 8000, 7, 17440, 11, 266, 28, 17821, 8, 198, 197, 28758, 82, 13, 33678, 7, 20541, 62, 21084, 8, 198, 197, 197, 198, 198, 1640, 10139, 287, 48924, 45, 4147, 62, 4868, 25, 198, 197, 28758, 82, 13, 8000, 7, 17440, 11, 48924, 24546, 58, 17440, 12962, 198, 197, 198, 197, 361, 23991, 82, 13, 15252, 6030, 7, 17440, 11, 318, 6030, 2625, 73, 1563, 1, 2599, 198, 197, 197, 361, 10139, 13, 9688, 2032, 342, 7203, 8423, 62, 1, 2599, 198, 197, 197, 197, 28758, 82, 13, 87, 687, 7, 17440, 11, 256, 41888, 12, 73, 1930, 62, 87, 11, 474, 1930, 62, 88, 11, 474, 1930, 62, 89, 12962, 198, 197, 197, 198, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 73, 1563, 46, 8289, 55, 1911, 18982, 7, 17440, 828, 657, 8, 198, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 73, 1563, 46, 8289, 56, 1911, 18982, 7, 17440, 828, 657, 8, 198, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 73, 1563, 46, 8289, 57, 1911, 18982, 7, 17440, 828, 657, 8, 198, 198, 2, 2266, 78, 17778, 198, 361, 17778, 62, 4868, 25, 198, 197, 1640, 1312, 287, 17778, 62, 4868, 25, 198, 197, 197, 361, 32315, 58, 72, 7131, 1, 4906, 8973, 6624, 366, 8000, 3103, 2536, 2913, 1298, 198, 197, 197, 197, 28758, 82, 13, 8000, 3103, 2536, 2913, 7, 1102, 2536, 2913, 58, 72, 7131, 1, 10459, 33116, 32315, 58, 72, 7131, 1, 16520, 1883, 33116, 6941, 28, 32315, 58, 72, 7131, 1, 76, 32725, 62, 28968, 8973, 8, 198, 197, 197, 198, 197, 197, 417, 361, 32315, 58, 72, 7131, 1, 4906, 8973, 6624, 366, 13989, 3103, 2536, 2913, 1298, 198, 197, 197, 197, 28758, 82, 13, 13989, 3103, 2536, 2913, 7, 1102, 2536, 2913, 58, 72, 7131, 1, 10459, 33116, 32315, 58, 72, 7131, 1, 16520, 1883, 33116, 6941, 28, 32315, 58, 72, 7131, 1, 76, 32725, 62, 28968, 8973, 8, 198, 197, 197, 198, 197, 197, 417, 361, 32315, 58, 72, 7131, 1, 4906, 8973, 6624, 366, 9888, 3103, 2536, 2913, 1298, 198, 197, 197, 197, 28758, 82, 13, 9888, 3103, 2536, 2913, 7, 1102, 2536, 2913, 58, 72, 7131, 1, 10459, 33116, 32315, 58, 72, 7131, 1, 16520, 1883, 33116, 6941, 28, 32315, 58, 72, 7131, 1, 76, 32725, 62, 28968, 8973, 8, 198, 197, 197, 198, 197, 197, 2, 1288, 361, 32315, 58, 72, 7131, 1, 4906, 8973, 6624, 366, 1385, 3103, 2536, 2913, 1298, 198, 197, 197, 2, 220, 197, 28758, 82, 13, 1385, 3103, 2536, 2913, 7, 1102, 2536, 2913, 58, 72, 7131, 1, 10459, 33116, 32315, 58, 72, 7131, 1, 16520, 1883, 33116, 6941, 28, 32315, 58, 72, 7131, 1, 76, 32725, 62, 28968, 8973, 8, 628, 198, 2, 337, 4663, 16411, 28069, 17941, 5357, 371, 2394, 6234, 198, 198, 2, 337, 4663, 16411, 6006, 2969, 1546, 628, 197, 361, 407, 384, 75, 25, 198, 197, 197, 741, 796, 23991, 82, 13, 7278, 7, 6649, 28, 17821, 11, 2471, 28, 17821, 8, 628, 197, 361, 407, 384, 75, 25, 198, 197, 197, 28758, 82, 13, 18224, 7203, 7149, 6356, 13, 4222, 2922, 23759, 4943, 628, 197, 1640, 6121, 287, 384, 75, 25, 198, 197, 197, 1477, 7916, 62, 4868, 796, 23991, 82, 13, 4868, 6892, 2929, 7, 35636, 11, 15268, 28, 17821, 11, 3108, 28, 17821, 8, 198, 197, 197, 1640, 5485, 287, 15268, 62, 4868, 25, 198, 197, 197, 197, 361, 23991, 82, 13, 15252, 6030, 7, 43358, 11, 318, 6030, 2625, 77, 333, 1443, 26628, 303, 1, 2599, 198, 197, 197, 197, 197, 33967, 62, 17618, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 2777, 504, 1911, 18982, 7, 43358, 4008, 198, 197, 197, 197, 197, 1640, 4686, 287, 2837, 7, 33967, 62, 17618, 2599, 198, 197, 197, 197, 197, 197, 33967, 62, 87, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 87, 11395, 1911, 18982, 7, 43358, 11, 4686, 4008, 198, 197, 197, 197, 197, 197, 33967, 62, 88, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 88, 11395, 1911, 18982, 7, 43358, 11, 4686, 4008, 198, 197, 197, 197, 197, 197, 33967, 62, 89, 796, 23991, 82, 13, 1136, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 89, 11395, 1911, 18982, 7, 43358, 11, 4686, 4008, 198, 197, 197, 197, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 87, 11395, 1911, 18982, 7, 43358, 11, 4686, 828, 269, 85, 62, 87, 8, 198, 197, 197, 197, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 88, 11395, 1911, 18982, 7, 43358, 11, 4686, 828, 13841, 16, 27493, 33967, 62, 88, 8, 198, 197, 197, 197, 197, 197, 28758, 82, 13, 2617, 8086, 81, 7203, 90, 27422, 13716, 40710, 58, 90, 92, 4083, 89, 11395, 1911, 18982, 7, 43358, 11, 4686, 828, 13841, 16, 27493, 33967, 62, 89, 8, 628 ]
2.437228
2,294
QUERY_PARAM_QUERY = 'q' QUERY_PARAM_SORT = 's' QUERY_PARAM_FILTER = 'f' QUERY_PARAM_SIZE = 'size' QUERY_PARAM_PAGE = 'page' QUERY_PARAM_FIELDS = 'fields' QUERY_PARAM_OFFSET = 'offset' QUERY_PARAM_INCLUDE = 'include' QUERY_PARAM_EXCLUDE = 'exclude' QUERY_PARAM_WAIT_UNTIL_COMPLETE = 'wuc' QUERY_PARAM_FORMAT = 'format'
[ 10917, 19664, 62, 27082, 2390, 62, 10917, 19664, 796, 705, 80, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 50, 9863, 796, 705, 82, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 46700, 5781, 796, 705, 69, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 33489, 796, 705, 7857, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 4537, 8264, 796, 705, 7700, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 11674, 3698, 5258, 796, 705, 25747, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 27977, 28480, 796, 705, 28968, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 1268, 5097, 52, 7206, 796, 705, 17256, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 6369, 5097, 52, 7206, 796, 705, 1069, 9152, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 15543, 2043, 62, 4944, 51, 4146, 62, 41335, 9328, 796, 705, 86, 1229, 6, 198, 10917, 19664, 62, 27082, 2390, 62, 21389, 1404, 796, 705, 18982, 6, 198 ]
2.038462
156
from django.shortcuts import render,redirect from django.http import HttpResponse,Http404,HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Enquiry,Vitabu from .forms import EnquiryForm # Create your views here.
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 11, 445, 1060, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 31077, 11, 43481, 26429, 11, 43481, 31077, 7738, 1060, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 12501, 273, 2024, 1330, 17594, 62, 35827, 198, 6738, 764, 27530, 1330, 2039, 421, 9045, 11, 53, 270, 397, 84, 198, 6738, 764, 23914, 1330, 2039, 421, 9045, 8479, 198, 198, 2, 13610, 534, 5009, 994, 13 ]
3.434211
76
import time import uuid from kubernetes import client, config import os from fastapi.testclient import TestClient import json from typing import List from pydantic import EmailStr from fastapi import HTTPException from app.api.models.auth0 import Auth0User from .helper_functions import ( generate_user, generate_project, generate_namespace ) from app.main import app from app.auth0 import current_user cluster_name = json.loads(os.environ['CLUSTER_DICT'])["EU1"]["Config-Name"] config.load_kube_config("config.yaml", context=cluster_name) v1 = client.CoreV1Api() rbac = client.RbacAuthorizationV1Api() user1 = generate_user() user2 = generate_user() user3 = generate_user() user_list1 = [user1, user2, user3] namespace_blacklist = generate_namespace() namespace_blacklist.update({"name": "default"}) namespace1 = generate_namespace() namespace2 = generate_namespace() namespace3 = generate_namespace() project = generate_project() project2 = generate_project() project3 = generate_project()
[ 11748, 640, 198, 11748, 334, 27112, 198, 6738, 479, 18478, 3262, 274, 1330, 5456, 11, 4566, 198, 11748, 28686, 198, 6738, 3049, 15042, 13, 9288, 16366, 1330, 6208, 11792, 198, 11748, 33918, 198, 6738, 19720, 1330, 7343, 198, 6738, 279, 5173, 5109, 1330, 9570, 13290, 198, 6738, 3049, 15042, 1330, 14626, 16922, 198, 198, 6738, 598, 13, 15042, 13, 27530, 13, 18439, 15, 1330, 26828, 15, 12982, 198, 198, 6738, 764, 2978, 525, 62, 12543, 2733, 1330, 357, 198, 220, 220, 220, 7716, 62, 7220, 11, 198, 220, 220, 220, 7716, 62, 16302, 11, 198, 220, 220, 220, 7716, 62, 14933, 10223, 198, 8, 198, 6738, 598, 13, 12417, 1330, 598, 198, 6738, 598, 13, 18439, 15, 1330, 1459, 62, 7220, 198, 198, 565, 5819, 62, 3672, 796, 33918, 13, 46030, 7, 418, 13, 268, 2268, 17816, 5097, 7759, 1137, 62, 35, 18379, 6, 12962, 14692, 19684, 16, 1, 7131, 1, 16934, 12, 5376, 8973, 198, 11250, 13, 2220, 62, 74, 3266, 62, 11250, 7203, 11250, 13, 88, 43695, 1600, 4732, 28, 565, 5819, 62, 3672, 8, 198, 85, 16, 796, 5456, 13, 14055, 53, 16, 32, 14415, 3419, 198, 26145, 330, 796, 5456, 13, 49, 65, 330, 13838, 1634, 53, 16, 32, 14415, 3419, 198, 198, 7220, 16, 796, 7716, 62, 7220, 3419, 198, 7220, 17, 796, 7716, 62, 7220, 3419, 198, 7220, 18, 796, 7716, 62, 7220, 3419, 198, 198, 7220, 62, 4868, 16, 796, 685, 7220, 16, 11, 2836, 17, 11, 2836, 18, 60, 198, 198, 14933, 10223, 62, 13424, 4868, 796, 7716, 62, 14933, 10223, 3419, 198, 14933, 10223, 62, 13424, 4868, 13, 19119, 7, 4895, 3672, 1298, 366, 12286, 20662, 8, 198, 198, 14933, 10223, 16, 796, 7716, 62, 14933, 10223, 3419, 198, 14933, 10223, 17, 796, 7716, 62, 14933, 10223, 3419, 198, 14933, 10223, 18, 796, 7716, 62, 14933, 10223, 3419, 628, 628, 198, 16302, 796, 7716, 62, 16302, 3419, 198, 16302, 17, 796, 7716, 62, 16302, 3419, 198, 16302, 18, 796, 7716, 62, 16302, 3419, 628, 628, 628, 198 ]
3.03869
336
# -*- coding: utf-8 -*- from .limbdark import LimbDarkOp from .get_cl import GetClOp
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 6738, 764, 2475, 17457, 668, 1330, 7576, 65, 17367, 18257, 198, 6738, 764, 1136, 62, 565, 1330, 3497, 2601, 18257, 198 ]
2.428571
35
from __future__ import absolute_import import numpy as np from desicos.abaqus.apply_imperfections import change_thickness_ABAQUS from desicos.conecylDB import update_imps class TI(object): """Thickness Imperfection Assumes that a percentage variation of the laminate thickness can be represented by the same percentage veriation of each ply, i.e., each ply thickness is varied in order to reflect a given measured thickness imperfection field. """ def calc_amplitude(self): """Calculates the thickness imperfection amplitude Amplitude measured as the biggest difference between each layup thickness and the nominal thickness of the Cone/Cylinder, considering only the layups that are not suppressed. .. note:: Must be called from Abaqus. Returns ------- max_amp : float Maximum absolute imperfection amplitude. """ if self.created: from abaqus import mdb cc = self.impconf.conecyl part = mdb.models[cc.model_name].parts[cc.part_name_shell] max_amp = 0. cc_total_t = sum(cc.plyts) for layup in part.compositeLayups.values(): if not layup.suppressed: layup_t = sum(p.thickness for p in layup.plies.values()) max_amp = max(max_amp, abs(layup_t-cc_total_t)) return max_amp def create(self, force=False): """Creates the thickness imperfection The thickness imperfection is created assuming that each ply has the same contribution to the measured laminate thickness. Thus, a scaling factor is applied to the nominal thickness of each ply in order to macth the measured imperfection field. Parameters ---------- force : bool, optional If ``True`` the thickness imperfection is applied even when it is already created. """ if self.created: if force: cc = self.impconf.conecyl cc.created = False cc.rebuilt = False cc.create_model() else: return cc = self.impconf.conecyl imps, imps_theta_z, t_measured, R_best_fit, H_measured = update_imps() if self.use_theta_z_format: imperfection_file_name = imps_theta_z[self.imp_thick]['ti'] else: imperfection_file_name = imps[self.imp_thick]['ti'] H_measured = H_measured[self.imp_thick] R_best_fit = R_best_fit[self.imp_thick] t_measured = t_measured[self.imp_thick] cc = self.impconf.conecyl self.elems_t, self.t_set = change_thickness_ABAQUS( imperfection_file_name = imperfection_file_name, model_name = cc.model_name, part_name = cc.part_name_shell, t_model = sum(cc.plyts), t_measured = t_measured, H_model = cc.H, H_measured = H_measured, R_model = cc.rbot, R_best_fit = R_best_fit, number_of_sets = self.number_of_sets, semi_angle = cc.alphadeg, stretch_H = self.stretch_H, scaling_factor = self.scaling_factor, num_closest_points = self.ncp, power_parameter = self.power_parameter, elems_t = self.elems_t, t_set = self.t_set, use_theta_z_format = self.use_theta_z_format) from desicos.abaqus.abaqus_functions import set_colors_ti set_colors_ti(cc) self.created = True print('%s amplitude = %f' % (self.name, self.calc_amplitude())) ffi = self.impconf.ffi if ffi is not None and ffi.created: # There is already a FFI, let it know about us ffi.update_after_tis() return self.elems_t, self.t_set
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 748, 291, 418, 13, 15498, 45260, 13, 39014, 62, 320, 25833, 507, 1330, 1487, 62, 400, 624, 1108, 62, 32, 4339, 48, 2937, 198, 6738, 748, 291, 418, 13, 49180, 38801, 11012, 1330, 4296, 62, 320, 862, 628, 198, 4871, 31598, 7, 15252, 2599, 198, 220, 220, 220, 37227, 817, 624, 1108, 1846, 25833, 295, 628, 220, 220, 220, 2195, 8139, 326, 257, 5873, 12291, 286, 262, 30592, 4559, 20735, 460, 307, 198, 220, 220, 220, 7997, 416, 262, 976, 5873, 3326, 3920, 286, 1123, 35960, 11, 1312, 13, 68, 1539, 1123, 198, 220, 220, 220, 35960, 20735, 318, 15641, 287, 1502, 284, 4079, 257, 1813, 8630, 20735, 198, 220, 220, 220, 23162, 295, 2214, 13, 628, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 42302, 62, 321, 489, 3984, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 9771, 3129, 689, 262, 20735, 23162, 295, 37188, 628, 220, 220, 220, 220, 220, 220, 220, 44074, 3984, 8630, 355, 262, 4094, 3580, 1022, 1123, 3830, 929, 198, 220, 220, 220, 220, 220, 220, 220, 20735, 290, 262, 26934, 20735, 286, 262, 327, 505, 14, 34, 2645, 5540, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6402, 691, 262, 3830, 4739, 326, 389, 407, 25822, 13, 628, 220, 220, 220, 220, 220, 220, 220, 11485, 3465, 3712, 12039, 307, 1444, 422, 2275, 30188, 385, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 198, 220, 220, 220, 220, 220, 220, 220, 35656, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 696, 1058, 12178, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 22246, 4112, 23162, 295, 37188, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 25598, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 422, 450, 30188, 385, 1330, 285, 9945, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 796, 2116, 13, 11011, 10414, 13, 49180, 38801, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 796, 285, 9945, 13, 27530, 58, 535, 13, 19849, 62, 3672, 4083, 42632, 58, 535, 13, 3911, 62, 3672, 62, 29149, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 696, 796, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 62, 23350, 62, 83, 796, 2160, 7, 535, 13, 2145, 912, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 3830, 929, 287, 636, 13, 785, 1930, 578, 23763, 4739, 13, 27160, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 3830, 929, 13, 18608, 2790, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3830, 929, 62, 83, 796, 2160, 7, 79, 13, 400, 624, 1108, 329, 279, 287, 3830, 929, 13, 489, 444, 13, 27160, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 696, 796, 3509, 7, 9806, 62, 696, 11, 2352, 7, 10724, 929, 62, 83, 12, 535, 62, 23350, 62, 83, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 3509, 62, 696, 628, 220, 220, 220, 825, 2251, 7, 944, 11, 2700, 28, 25101, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 16719, 274, 262, 20735, 23162, 295, 628, 220, 220, 220, 220, 220, 220, 220, 383, 20735, 23162, 295, 318, 2727, 13148, 326, 1123, 35960, 468, 198, 220, 220, 220, 220, 220, 220, 220, 262, 976, 10156, 284, 262, 8630, 30592, 4559, 20735, 13, 6660, 11, 257, 198, 220, 220, 220, 220, 220, 220, 220, 20796, 5766, 318, 5625, 284, 262, 26934, 20735, 286, 1123, 35960, 287, 198, 220, 220, 220, 220, 220, 220, 220, 1502, 284, 285, 529, 71, 262, 8630, 23162, 295, 2214, 13, 628, 220, 220, 220, 220, 220, 220, 220, 40117, 198, 220, 220, 220, 220, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 220, 220, 220, 220, 2700, 1058, 20512, 11, 11902, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1002, 7559, 17821, 15506, 262, 20735, 23162, 295, 318, 5625, 772, 618, 340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 1541, 2727, 13, 628, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 25598, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2700, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 796, 2116, 13, 11011, 10414, 13, 49180, 38801, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 13, 25598, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 13, 260, 18780, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 36624, 13, 17953, 62, 19849, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 198, 220, 220, 220, 220, 220, 220, 220, 36624, 796, 2116, 13, 11011, 10414, 13, 49180, 38801, 198, 220, 220, 220, 220, 220, 220, 220, 848, 82, 11, 848, 82, 62, 1169, 8326, 62, 89, 11, 256, 62, 1326, 34006, 11, 371, 62, 13466, 62, 11147, 11, 367, 62, 1326, 34006, 796, 4296, 62, 320, 862, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 1904, 62, 1169, 8326, 62, 89, 62, 18982, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23162, 295, 62, 7753, 62, 3672, 796, 848, 82, 62, 1169, 8326, 62, 89, 58, 944, 13, 11011, 62, 400, 624, 7131, 6, 20259, 20520, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23162, 295, 62, 7753, 62, 3672, 796, 848, 82, 58, 944, 13, 11011, 62, 400, 624, 7131, 6, 20259, 20520, 628, 220, 220, 220, 220, 220, 220, 220, 367, 62, 1326, 34006, 796, 367, 62, 1326, 34006, 58, 944, 13, 11011, 62, 400, 624, 60, 198, 220, 220, 220, 220, 220, 220, 220, 371, 62, 13466, 62, 11147, 796, 371, 62, 13466, 62, 11147, 58, 944, 13, 11011, 62, 400, 624, 60, 198, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1326, 34006, 796, 256, 62, 1326, 34006, 58, 944, 13, 11011, 62, 400, 624, 60, 198, 220, 220, 220, 220, 220, 220, 220, 36624, 796, 2116, 13, 11011, 10414, 13, 49180, 38801, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 11129, 907, 62, 83, 11, 2116, 13, 83, 62, 2617, 796, 1487, 62, 400, 624, 1108, 62, 32, 4339, 48, 2937, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23162, 295, 62, 7753, 62, 3672, 796, 23162, 295, 62, 7753, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2746, 62, 3672, 796, 36624, 13, 19849, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 636, 62, 3672, 796, 36624, 13, 3911, 62, 3672, 62, 29149, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 19849, 796, 2160, 7, 535, 13, 2145, 912, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1326, 34006, 796, 256, 62, 1326, 34006, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 367, 62, 19849, 796, 36624, 13, 39, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 367, 62, 1326, 34006, 796, 367, 62, 1326, 34006, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 371, 62, 19849, 796, 36624, 13, 81, 13645, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 371, 62, 13466, 62, 11147, 796, 371, 62, 13466, 62, 11147, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 62, 1659, 62, 28709, 796, 2116, 13, 17618, 62, 1659, 62, 28709, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10663, 62, 9248, 796, 36624, 13, 17307, 671, 70, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7539, 62, 39, 796, 2116, 13, 301, 22592, 62, 39, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20796, 62, 31412, 796, 2116, 13, 1416, 4272, 62, 31412, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 565, 418, 395, 62, 13033, 796, 2116, 13, 10782, 79, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1176, 62, 17143, 2357, 796, 2116, 13, 6477, 62, 17143, 2357, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9766, 907, 62, 83, 796, 2116, 13, 11129, 907, 62, 83, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 2617, 796, 2116, 13, 83, 62, 2617, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 779, 62, 1169, 8326, 62, 89, 62, 18982, 796, 2116, 13, 1904, 62, 1169, 8326, 62, 89, 62, 18982, 8, 628, 220, 220, 220, 220, 220, 220, 220, 422, 748, 291, 418, 13, 15498, 45260, 13, 15498, 45260, 62, 12543, 2733, 1330, 900, 62, 4033, 669, 62, 20259, 198, 220, 220, 220, 220, 220, 220, 220, 900, 62, 4033, 669, 62, 20259, 7, 535, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 25598, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 10786, 4, 82, 37188, 796, 4064, 69, 6, 4064, 357, 944, 13, 3672, 11, 2116, 13, 9948, 66, 62, 321, 489, 3984, 3419, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 277, 12463, 796, 2116, 13, 11011, 10414, 13, 487, 72, 198, 220, 220, 220, 220, 220, 220, 220, 611, 277, 12463, 318, 407, 6045, 290, 277, 12463, 13, 25598, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1318, 318, 1541, 257, 376, 11674, 11, 1309, 340, 760, 546, 514, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 12463, 13, 19119, 62, 8499, 62, 48010, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 11129, 907, 62, 83, 11, 2116, 13, 83, 62, 2617, 628 ]
2.039801
2,010
from __future__ import absolute_import, division, print_function # LIBTBX_SET_DISPATCHER_NAME mmtbx.development.aev import sys import time import mmtbx import iotbx.pdb import mmtbx.model from libtbx.utils import null_out import mmtbx.atomic_environment_vectors as aev if __name__ == '__main__': main(*tuple(sys.argv[1:]))
[ 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 2, 45651, 22737, 55, 62, 28480, 62, 26288, 47, 11417, 1137, 62, 20608, 8085, 83, 65, 87, 13, 31267, 13, 64, 1990, 198, 11748, 25064, 198, 11748, 640, 198, 11748, 8085, 83, 65, 87, 198, 11748, 1312, 313, 65, 87, 13, 79, 9945, 198, 11748, 8085, 83, 65, 87, 13, 19849, 198, 6738, 9195, 83, 65, 87, 13, 26791, 1330, 9242, 62, 448, 198, 11748, 8085, 83, 65, 87, 13, 47116, 62, 38986, 62, 303, 5217, 355, 257, 1990, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 1388, 46491, 83, 29291, 7, 17597, 13, 853, 85, 58, 16, 47715, 4008, 198 ]
2.672131
122
#!/usr/bin/env python import pika #credentials = pika.PlainCredentials('guest', 'guest') #parameters = pika.ConnectionParameters('amqp.k8sd.pax.ch', 80, '/', credentials) #parameters = pika.URLParameters('amqp://guest:guest@localhost:5672/%2F') #connection = pika.BlockingConnection(parameters) connection = pika.BlockingConnection() channel = connection.channel() channel.queue_declare(queue='hello') channel.basic_publish(exchange='', routing_key='hello', body='Hello World! MWN') print(" [x] Sent 'Hello World! MWN'") connection.close()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 11748, 279, 9232, 198, 198, 2, 66, 445, 14817, 796, 279, 9232, 13, 3646, 391, 34, 445, 14817, 10786, 5162, 395, 3256, 705, 5162, 395, 11537, 198, 2, 17143, 7307, 796, 279, 9232, 13, 32048, 48944, 10786, 321, 80, 79, 13, 74, 23, 21282, 13, 79, 897, 13, 354, 3256, 4019, 11, 31051, 3256, 18031, 8, 198, 2, 17143, 7307, 796, 279, 9232, 13, 21886, 48944, 10786, 321, 80, 79, 1378, 5162, 395, 25, 5162, 395, 31, 36750, 25, 20, 43864, 14, 4, 17, 37, 11537, 198, 2, 38659, 796, 279, 9232, 13, 3629, 8629, 32048, 7, 17143, 7307, 8, 198, 38659, 796, 279, 9232, 13, 3629, 8629, 32048, 3419, 198, 198, 17620, 796, 4637, 13, 17620, 3419, 198, 198, 17620, 13, 36560, 62, 32446, 533, 7, 36560, 11639, 31373, 11537, 198, 17620, 13, 35487, 62, 12984, 1836, 7, 1069, 3803, 11639, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28166, 62, 2539, 11639, 31373, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1767, 11639, 15496, 2159, 0, 337, 29767, 11537, 198, 4798, 7203, 685, 87, 60, 11352, 705, 15496, 2159, 0, 337, 29767, 6, 4943, 198, 198, 38659, 13, 19836, 3419, 198 ]
2.527897
233
import mysql.connector from mysql.connector import errorcode try: con = mysql.connector.connect(user='niminimda', password='123456', host='127.0.01', database='test') except mysql.connector.Error as err: if err.errno == errorcode.ER_ACCESS_DENIED_ERROR: print("something is wrong with user or password") elif err.errno == errorcode.ER_BAD_DB_ERROR: print("db doesn't exists") else: print(err) else: my_function() con.close()
[ 11748, 48761, 13, 8443, 273, 198, 6738, 48761, 13, 8443, 273, 1330, 4049, 8189, 628, 198, 198, 28311, 25, 198, 220, 220, 220, 369, 796, 48761, 13, 8443, 273, 13, 8443, 7, 7220, 11639, 77, 320, 259, 320, 6814, 3256, 9206, 11639, 10163, 29228, 3256, 2583, 11639, 16799, 13, 15, 13, 486, 3256, 6831, 11639, 9288, 11537, 198, 16341, 48761, 13, 8443, 273, 13, 12331, 355, 11454, 25, 198, 220, 220, 220, 611, 11454, 13, 8056, 3919, 6624, 4049, 8189, 13, 1137, 62, 26861, 7597, 62, 41819, 19767, 62, 24908, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 18927, 318, 2642, 351, 2836, 393, 9206, 4943, 198, 220, 220, 220, 1288, 361, 11454, 13, 8056, 3919, 6624, 4049, 8189, 13, 1137, 62, 33, 2885, 62, 11012, 62, 24908, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 9945, 1595, 470, 7160, 4943, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 8056, 8, 198, 17772, 25, 198, 220, 220, 220, 616, 62, 8818, 3419, 628, 220, 220, 220, 369, 13, 19836, 3419, 198 ]
2.578378
185
import numpy as np # A simple generator wrapper, not sure if it's good for anything at all. # With basic python threading import threading # from threading import Thread import multiprocessing as mp import time try: from queue import Queue except ImportError: from Queue import Queue # ... or use multiprocessing versions # WARNING: use sentinel based on value, not identity from multiprocessing import Process, Queue as MpQueue from utils import * class ThreadedGenerator(object): """ Generator that runs on a separate thread, returning values to calling thread. Care must be taken that the iterator does not mutate any shared variables referenced in the calling thread. """
[ 198, 11748, 299, 32152, 355, 45941, 198, 2, 317, 2829, 17301, 29908, 11, 407, 1654, 611, 340, 338, 922, 329, 1997, 379, 477, 13, 198, 2, 2080, 4096, 21015, 4704, 278, 198, 11748, 4704, 278, 198, 2, 422, 4704, 278, 1330, 14122, 198, 11748, 18540, 305, 919, 278, 355, 29034, 198, 11748, 640, 198, 28311, 25, 198, 220, 220, 220, 422, 16834, 1330, 4670, 518, 198, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 422, 4670, 518, 1330, 4670, 518, 198, 198, 2, 2644, 393, 779, 18540, 305, 919, 278, 6300, 198, 2, 39410, 25, 779, 1908, 20538, 1912, 319, 1988, 11, 407, 5369, 198, 6738, 18540, 305, 919, 278, 1330, 10854, 11, 4670, 518, 355, 337, 79, 34991, 198, 6738, 3384, 4487, 1330, 1635, 198, 198, 4871, 14122, 276, 8645, 1352, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 35986, 326, 4539, 319, 257, 4553, 4704, 11, 8024, 3815, 284, 4585, 198, 220, 220, 220, 4704, 13, 7276, 1276, 307, 2077, 326, 262, 41313, 857, 407, 4517, 378, 597, 4888, 198, 220, 220, 220, 9633, 20717, 287, 262, 4585, 4704, 13, 198, 220, 220, 220, 37227, 628, 198 ]
3.659794
194
import sys sys.setrecursionlimit(100000) m,n=map(int,input().split()) dp=[[-1]*(n+2) for i in range(m+2)] visit=[[False]*(n+2) for i in range(m+2)] field=[0]*(m+2) field[0]=[11111]*(n+2) field[m+1]=[11111]*(n+2) for i in range(1,m+1): field[i]=[11111] field[i].extend([*map(int,input().split())]) field[i].append(11111) print(DFS(1,1))
[ 11748, 25064, 198, 17597, 13, 2617, 8344, 24197, 32374, 7, 3064, 830, 8, 628, 198, 76, 11, 77, 28, 8899, 7, 600, 11, 15414, 22446, 35312, 28955, 198, 26059, 28, 30109, 12, 16, 60, 9, 7, 77, 10, 17, 8, 329, 1312, 287, 2837, 7, 76, 10, 17, 15437, 198, 4703, 270, 28, 30109, 25101, 60, 9, 7, 77, 10, 17, 8, 329, 1312, 287, 2837, 7, 76, 10, 17, 15437, 198, 198, 3245, 41888, 15, 60, 9, 7, 76, 10, 17, 8, 198, 3245, 58, 15, 22241, 58, 1157, 16243, 60, 9, 7, 77, 10, 17, 8, 198, 3245, 58, 76, 10, 16, 22241, 58, 1157, 16243, 60, 9, 7, 77, 10, 17, 8, 198, 198, 1640, 1312, 287, 2837, 7, 16, 11, 76, 10, 16, 2599, 198, 220, 2214, 58, 72, 22241, 58, 1157, 16243, 60, 198, 220, 2214, 58, 72, 4083, 2302, 437, 26933, 9, 8899, 7, 600, 11, 15414, 22446, 35312, 28955, 12962, 198, 220, 2214, 58, 72, 4083, 33295, 7, 1157, 16243, 8, 198, 198, 4798, 7, 8068, 50, 7, 16, 11, 16, 4008 ]
1.932961
179
# ref https://www.youtube.com/watch?v=2p3kwF04xcA&index=24&list=PLi01XoE8jYohWFPpC17Z-wWhPOSuh8Er- import math import time ''' for n in range(1,21): print(n, is_prime_v2(n)) ''' t0 = time.time() for n in range(1,1000000): is_prime_v2(n) t1 = time.time() print("time required for 1000000 :", t1-t0) #print("test raise ", is_prime_v2(-10)) ''' if use n % 2 == 0, then time required for 1000000 : 9.644205331802368 without above, then close timings, time required for 1000000 : 10.904832363128662 if add % 2 and %3, then for d in range(5, max_divisor+1, 2): then half the time ! time required for 1000000 : 5.761587858200073 '''
[ 2, 1006, 3740, 1378, 2503, 13, 11604, 13, 785, 14, 8340, 30, 85, 28, 17, 79, 18, 46265, 37, 3023, 25306, 32, 5, 9630, 28, 1731, 5, 4868, 28, 6489, 72, 486, 55, 78, 36, 23, 73, 56, 1219, 54, 5837, 79, 34, 1558, 57, 12, 86, 1199, 37997, 7456, 23, 9139, 12, 198, 198, 11748, 10688, 198, 11748, 640, 198, 198, 7061, 6, 198, 1640, 299, 287, 2837, 7, 16, 11, 2481, 2599, 198, 220, 220, 220, 3601, 7, 77, 11, 318, 62, 35505, 62, 85, 17, 7, 77, 4008, 198, 7061, 6, 198, 198, 83, 15, 796, 640, 13, 2435, 3419, 198, 1640, 299, 287, 2837, 7, 16, 11, 16, 10535, 2599, 198, 220, 220, 220, 318, 62, 35505, 62, 85, 17, 7, 77, 8, 198, 198, 83, 16, 796, 640, 13, 2435, 3419, 198, 4798, 7203, 2435, 2672, 329, 1802, 2388, 1058, 1600, 256, 16, 12, 83, 15, 8, 198, 198, 2, 4798, 7203, 9288, 5298, 33172, 318, 62, 35505, 62, 85, 17, 32590, 940, 4008, 198, 198, 7061, 6, 198, 361, 779, 299, 4064, 362, 6624, 657, 11, 788, 220, 198, 2435, 2672, 329, 1802, 2388, 1058, 860, 13, 29173, 21261, 2091, 15259, 1954, 3104, 198, 198, 19419, 2029, 11, 788, 1969, 4628, 654, 11, 198, 2435, 2672, 329, 1802, 2388, 1058, 838, 13, 3829, 2780, 32637, 5066, 12762, 39380, 198, 198, 361, 751, 4064, 362, 290, 4064, 18, 11, 788, 329, 288, 287, 2837, 7, 20, 11, 3509, 62, 7146, 271, 273, 10, 16, 11, 362, 2599, 198, 8524, 2063, 262, 640, 5145, 198, 198, 2435, 2672, 329, 1802, 2388, 1058, 642, 13, 4304, 21273, 3695, 3365, 11024, 4790, 198, 7061, 6, 198 ]
2.316547
278
################################################################# # # Round for Python # # Copyright (C) Satoshi Konno 2016 # # This is licensed under BSD-style license, see file COPYING. # ################################################################## from __future__ import absolute_import import json from .. import constants
[ 29113, 29113, 2, 198, 2, 198, 2, 10485, 329, 11361, 198, 2, 198, 2, 15069, 357, 34, 8, 40824, 17431, 3919, 1584, 198, 2, 198, 2, 770, 318, 11971, 739, 347, 10305, 12, 7635, 5964, 11, 766, 2393, 27975, 45761, 13, 198, 2, 198, 29113, 29113, 2235, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 198, 11748, 33918, 198, 198, 6738, 11485, 1330, 38491, 198 ]
4.941176
68
import os import sys from os.path import join, dirname sys.path.insert(0, join(dirname(__file__), '..')) import simulator simulator.load('/home/wang/CARLA_0.9.9.4') from simulator import config import carla import argparse import time from tqdm import tqdm MAX_SPEED = 40 TRAJ_LENGTH = 25#25 vehicle_width = 2.0 longitudinal_sample_number_near = 8 longitudinal_sample_number_far = 0.5 lateral_sample_number = 20 lateral_step_factor = 1.0 parser = argparse.ArgumentParser(description='Params') parser.add_argument('-d', '--data', type=int, default=1, help='data index') parser.add_argument('-n', '--num', type=int, default=100000, help='total number') args = parser.parse_args() data_index = args.data save_path = '/media/wang/DATASET/CARLA_HUMAN/town01/'+str(data_index)+'/' sensor_dict = { 'camera':{ 'transform':carla.Transform(carla.Location(x=0.5, y=0.0, z=2.5)), # 'callback':image_callback, }, 'lidar':{ 'transform':carla.Transform(carla.Location(x=0.5, y=0.0, z=2.5)), # 'callback':lidar_callback, }, } from utils.system import env_path env_path.remove_python2_path(sys) import cv2 env_path.append_python2_path(sys) from utils.collect_pm import CollectPerspectiveImage from utils.carla_sensor import Sensor, CarlaSensorMaster if __name__ == '__main__': # rospy.init_node('collect_pm') try: main() except KeyboardInterrupt: #exit(0) pass
[ 198, 11748, 28686, 198, 11748, 25064, 198, 6738, 28686, 13, 6978, 1330, 4654, 11, 26672, 3672, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 4654, 7, 15908, 3672, 7, 834, 7753, 834, 828, 705, 492, 6, 4008, 198, 198, 11748, 35375, 198, 14323, 8927, 13, 2220, 10786, 14, 11195, 14, 47562, 14, 20034, 13534, 62, 15, 13, 24, 13, 24, 13, 19, 11537, 198, 6738, 35375, 1330, 4566, 198, 11748, 1097, 5031, 198, 11748, 1822, 29572, 198, 11748, 640, 198, 6738, 256, 80, 36020, 1330, 256, 80, 36020, 198, 198, 22921, 62, 4303, 41841, 796, 2319, 198, 51, 3861, 41, 62, 43, 49494, 796, 1679, 2, 1495, 198, 33892, 1548, 62, 10394, 796, 362, 13, 15, 198, 6511, 29121, 62, 39873, 62, 17618, 62, 40093, 796, 807, 198, 6511, 29121, 62, 39873, 62, 17618, 62, 16370, 796, 657, 13, 20, 198, 75, 10534, 62, 39873, 62, 17618, 796, 1160, 198, 75, 10534, 62, 9662, 62, 31412, 796, 352, 13, 15, 198, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 11639, 10044, 4105, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 12, 67, 3256, 705, 438, 7890, 3256, 2099, 28, 600, 11, 4277, 28, 16, 11, 1037, 11639, 7890, 6376, 11537, 198, 48610, 13, 2860, 62, 49140, 10786, 12, 77, 3256, 705, 438, 22510, 3256, 2099, 28, 600, 11, 4277, 28, 3064, 830, 11, 1037, 11639, 23350, 1271, 11537, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 7890, 62, 9630, 796, 26498, 13, 7890, 198, 198, 21928, 62, 6978, 796, 31051, 11431, 14, 47562, 14, 35, 1404, 1921, 2767, 14, 20034, 13534, 62, 39, 5883, 1565, 14, 12735, 486, 14, 6, 10, 2536, 7, 7890, 62, 9630, 47762, 26488, 6, 198, 198, 82, 22854, 62, 11600, 796, 1391, 198, 220, 220, 220, 705, 25695, 10354, 90, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35636, 10354, 7718, 5031, 13, 41762, 7, 7718, 5031, 13, 14749, 7, 87, 28, 15, 13, 20, 11, 331, 28, 15, 13, 15, 11, 1976, 28, 17, 13, 20, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 47423, 10354, 9060, 62, 47423, 11, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 705, 75, 312, 283, 10354, 90, 198, 220, 220, 220, 220, 220, 220, 220, 705, 35636, 10354, 7718, 5031, 13, 41762, 7, 7718, 5031, 13, 14749, 7, 87, 28, 15, 13, 20, 11, 331, 28, 15, 13, 15, 11, 1976, 28, 17, 13, 20, 36911, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 705, 47423, 10354, 75, 312, 283, 62, 47423, 11, 198, 220, 220, 220, 8964, 198, 92, 198, 198, 6738, 3384, 4487, 13, 10057, 1330, 17365, 62, 6978, 198, 24330, 62, 6978, 13, 28956, 62, 29412, 17, 62, 6978, 7, 17597, 8, 198, 11748, 269, 85, 17, 198, 24330, 62, 6978, 13, 33295, 62, 29412, 17, 62, 6978, 7, 17597, 8, 198, 198, 6738, 3384, 4487, 13, 33327, 62, 4426, 1330, 9745, 30946, 806, 425, 5159, 198, 6738, 3384, 4487, 13, 7718, 5031, 62, 82, 22854, 1330, 35367, 11, 1879, 5031, 47864, 18254, 198, 220, 220, 220, 220, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1303, 686, 2777, 88, 13, 15003, 62, 17440, 10786, 33327, 62, 4426, 11537, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1388, 3419, 198, 220, 220, 220, 2845, 31973, 9492, 3622, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 37023, 7, 15, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1208 ]
2.435811
592
# -*- coding: Windows-1251 -*- ''' find_dll_name.py List all python dll names in DLL/PYD/etc file. Author: Denis Barmenkov <[email protected]> Copyright: this code is free, but if you want to use it, please keep this multiline comment along with source. Thank you. 2009-08-09 ''' import re import sys fn = sys.argv[1] f = open(fn, 'rb') data = f.read() f.close() dll_re = re.compile(r'python\d\d\.dll', re.M | re.S) found = dll_re.findall(data) print found #-------------- cut here -----------------# # -*- coding: Windows-1251 -*- ''' patch_dll_name.py Patch extension precompiled binary by changing python dll name. Author: Denis Barmenkov <[email protected]> Copyright: this code is free, but if you want to use it, please keep this multiline comment along with source. Thank you. 2009-08-09 ''' import sys import os OLD_NAME = 'python23.dll' NEW_NAME = 'python24.dll' fn = sys.argv[1] f = open(fn, 'rb') data = f.read() f.close() data = data.replace(OLD_NAME, NEW_NAME) bak_fn = fn + '.bak' os.rename(fn, bak_fn) # rename original file to .BAK f = open(fn, 'wb') f.write(data) # write patched version f.close()
[ 2, 532, 9, 12, 19617, 25, 3964, 12, 1065, 4349, 532, 9, 12, 198, 7061, 6, 198, 19796, 62, 12736, 62, 3672, 13, 9078, 198, 198, 8053, 477, 21015, 288, 297, 3891, 287, 360, 3069, 14, 47, 35755, 14, 14784, 2393, 13, 198, 198, 13838, 25, 33089, 347, 1670, 268, 21862, 1279, 6559, 271, 13, 65, 1670, 268, 21862, 31, 14816, 13, 785, 29, 198, 198, 15269, 25, 428, 2438, 318, 1479, 11, 475, 611, 345, 765, 284, 779, 340, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3387, 1394, 428, 1963, 346, 500, 2912, 1863, 351, 2723, 13, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6952, 345, 13, 198, 198, 10531, 12, 2919, 12, 2931, 198, 7061, 6, 198, 11748, 302, 198, 11748, 25064, 198, 198, 22184, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 69, 796, 1280, 7, 22184, 11, 705, 26145, 11537, 198, 7890, 796, 277, 13, 961, 3419, 198, 69, 13, 19836, 3419, 198, 198, 12736, 62, 260, 796, 302, 13, 5589, 576, 7, 81, 6, 29412, 59, 67, 59, 67, 17405, 12736, 3256, 302, 13, 44, 930, 302, 13, 50, 8, 198, 198, 9275, 796, 288, 297, 62, 260, 13, 19796, 439, 7, 7890, 8, 198, 198, 4798, 1043, 198, 198, 2, 26171, 2005, 994, 34400, 12, 2, 198, 198, 2, 532, 9, 12, 19617, 25, 3964, 12, 1065, 4349, 532, 9, 12, 198, 7061, 6, 198, 17147, 62, 12736, 62, 3672, 13, 9078, 198, 198, 33952, 7552, 662, 5589, 3902, 13934, 416, 5609, 21015, 288, 297, 1438, 13, 198, 198, 13838, 25, 33089, 347, 1670, 268, 21862, 1279, 6559, 271, 13, 65, 1670, 268, 21862, 31, 14816, 13, 785, 29, 198, 198, 15269, 25, 428, 2438, 318, 1479, 11, 475, 611, 345, 765, 284, 779, 340, 11, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3387, 1394, 428, 1963, 346, 500, 2912, 1863, 351, 2723, 13, 220, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6952, 345, 13, 198, 198, 10531, 12, 2919, 12, 2931, 198, 7061, 6, 198, 198, 11748, 25064, 198, 11748, 28686, 198, 198, 15173, 62, 20608, 796, 705, 29412, 1954, 13, 12736, 6, 198, 13965, 62, 20608, 796, 705, 29412, 1731, 13, 12736, 6, 198, 198, 22184, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 69, 796, 1280, 7, 22184, 11, 705, 26145, 11537, 198, 7890, 796, 277, 13, 961, 3419, 198, 69, 13, 19836, 3419, 198, 198, 7890, 796, 1366, 13, 33491, 7, 15173, 62, 20608, 11, 12682, 62, 20608, 8, 198, 198, 65, 461, 62, 22184, 796, 24714, 1343, 45302, 65, 461, 6, 198, 418, 13, 918, 480, 7, 22184, 11, 275, 461, 62, 22184, 8, 1303, 36265, 2656, 2393, 284, 764, 4339, 42, 198, 198, 69, 796, 1280, 7, 22184, 11, 705, 39346, 11537, 198, 69, 13, 13564, 7, 7890, 8, 1303, 3551, 39378, 2196, 198, 69, 13, 19836, 3419, 198 ]
2.432049
493
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Dec 8 08:21:19 2018 @author: alkesha """ import cv2 import numpy as np #function to draw sketch camera=cv2.VideoCapture(0) while True: ret,frame=camera.read() cv2.imshow("sketch live",sketching(frame)) if cv2.waitKey(1)==ord('q'): break camera.release() camera.destroyAllWindows()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 7031, 4280, 220, 807, 8487, 25, 2481, 25, 1129, 2864, 198, 198, 31, 9800, 25, 435, 5209, 3099, 198, 37811, 198, 198, 11748, 269, 85, 17, 198, 11748, 299, 32152, 355, 45941, 198, 198, 2, 8818, 284, 3197, 17548, 198, 198, 25695, 28, 33967, 17, 13, 10798, 49630, 7, 15, 8, 198, 4514, 6407, 25, 198, 220, 220, 220, 1005, 11, 14535, 28, 25695, 13, 961, 3419, 198, 220, 220, 220, 269, 85, 17, 13, 320, 12860, 7203, 82, 7126, 354, 2107, 1600, 82, 7126, 10813, 7, 14535, 4008, 198, 220, 220, 220, 611, 269, 85, 17, 13, 17077, 9218, 7, 16, 8, 855, 585, 10786, 80, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 2270, 198, 220, 220, 220, 220, 198, 25695, 13, 20979, 3419, 198, 25695, 13, 41659, 3237, 11209, 3419 ]
2.306748
163
""" The pytoil new command. Author: Tom Fleet Created: 25/06/2021 """ from typing import List import httpx import typer from cookiecutter.main import cookiecutter from wasabi import msg from pytoil.api import API from pytoil.cli import utils from pytoil.config import Config from pytoil.environments import Conda, Environment, Venv, VirtualEnv from pytoil.exceptions import ( CargoNotInstalledError, EnvironmentAlreadyExistsError, GoNotInstalledError, ) from pytoil.git import Git from pytoil.repo import Repo from pytoil.starters import GoStarter, PythonStarter, RustStarter, Starter from pytoil.vscode import VSCode app = typer.Typer() @app.command(context_settings={"allow_extra_args": True}) def new( ctx: typer.Context, project: str = typer.Argument( ..., help="Name of the project to create.", ), cookie: str = typer.Option( None, "--cookie", "-c", help="URL to a cookiecutter template repo from which to build the project.", ), starter: Starter = typer.Option( Starter.none, "--starter", "-s", help="Use a language-specific starter template", case_sensitive=False, show_default=True, ), venv: VirtualEnv = typer.Option( VirtualEnv.none, "--venv", "-v", help="Which type of virtual environment to create for the project.", case_sensitive=False, show_default=True, ), no_git: bool = typer.Option( False, "--no-git", "-n", help="Don't initialise an empty git repo in the root of the project.", ), ) -> None: """ Create a new development project. Bare usage will simply create an empty folder in your configured projects directory. You can also create a project from a cookiecutter template by passing a valid url to the '--cookie/-c' flag. If you just want a very simple, language-specific starting template, use the '--starter/-s' option. By default, pytoil will initialise an empty git repo in the folder, following the style of modern language build tools such as rust's cargo. You can disable this behaviour by setting 'init_on_new' to false in pytoil's config file or by passing the '--no-git/-n' flag here. If you want pytoil to create a new virtual environment for your project, you can use the '--venv/-v' flag. Standard python and conda virtual environments are supported. If the '--venv/-v' flag is used, you may also pass a list of python packages to install into the created virtual environment. These will be delegated to the appropriate tool (pip or conda) depending on what environment was created. If the environment is conda, the packages will be passed at environment creation time meaning they will have their dependencies resolved together. Normal python environments will first be created and then have specified packages installed. If 'common_packages' is specified in pytoil's config file, these will automatically be included in the environment. To specify versions of packages via the command line, you must enclose them in double quotes e.g. "flask>=1.0.0" not flask>=1.0.0 otherwise this will be interpreted by the shell as a command redirection. Examples: $ pytoil new my_project $ pytoil new my_project --cookie https://github.com/some/cookie.git $ pytoil new my_project --venv conda $ pytoil new my_project -c https://github.com/some/cookie.git -v conda --no-git $ pytoil new my_project -v venv requests "flask>=1.0.0" $ pytoil new my_project --starter python """ # Get config and ensure user can access API config = Config.from_file() utils.warn_if_no_api_creds(config) # Setup the objects required api = API(username=config.username, token=config.token) repo = Repo( owner=config.username, name=project, local_path=config.projects_dir.joinpath(project), ) code = VSCode(root=repo.local_path) git = Git() if ctx.args: packages: List[str] = config.common_packages + ctx.args else: packages = config.common_packages # Resolve config vs flag for no-git # flag takes priority over config use_git: bool = config.init_on_new and not no_git # Check is project already exists and warn/exit if so pre_new_checks(repo=repo, api=api) # Cant use --venv with non-python starters if ( starter.value != starter.none # User specified starter and starter.value != starter.python # The starter is not python and venv.value != venv.none # And the user wants a virtual environment ): msg.warn( f"Can't create a venv for {starter.value} project!", spaced=True, exits=1, ) # If we get here, all is well and we can create stuff! make_new_project( repo=repo, git=git, cookie=cookie, starter=starter, use_git=use_git, config=config, ) if venv.value == venv.venv: env = create_virtualenv(repo=repo, packages=packages) if config.vscode: msg.info(f"Opening {repo.name!r} in VSCode.", spaced=True) code.set_workspace_python(env.executable) code.open() elif venv.value == venv.conda: env = create_condaenv(repo=repo, packages=packages) if config.vscode: msg.info(f"Opening {repo.name!r} in VSCode.", spaced=True) code.set_workspace_python(env.executable) code.open() else: # Only other allowed condition is none typer.secho( "Virtual environment not requested. Skipping environment creation.", fg=typer.colors.YELLOW, ) if config.vscode: msg.info(f"Opening {repo.name!r} in VSCode.", spaced=True) code.open() def make_new_project( repo: Repo, git: Git, cookie: str, starter: Starter, use_git: bool, config: Config ) -> None: """ Create a new development project either from a cookiecutter template or from scratch. """ # Can't use starter and cookiecutter at the same time if starter.value != Starter.none and cookie: msg.warn( "'--cookie' and '--starter' are mutually exclusive.", exits=1, ) if cookie: # We don't initialise a git repo for cookiecutters # some templates have hooks which do this, mine do! msg.info(f"Creating {repo.name!r} from cookiecutter: {cookie!r}.") cookiecutter(template=cookie, output_dir=config.projects_dir) elif starter == Starter.go: msg.info(f"Creating {repo.name!r} from starter: {starter.value!r}.") go_st = GoStarter(path=config.projects_dir, name=repo.name) try: go_st.generate(username=config.username) except GoNotInstalledError: msg.fail("Error: Go not installed.", spaced=True, exits=1) if use_git: git.init(path=repo.local_path, check=True) elif starter == Starter.python: msg.info(f"Creating {repo.name!r} from starter: {starter.value!r}.") py_st = PythonStarter(path=config.projects_dir, name=repo.name) py_st.generate() if use_git: git.init(path=repo.local_path, check=True) elif starter == Starter.rust: msg.info(f"Creating {repo.name!r} from starter: {starter.value!r}.") rs_st = RustStarter(path=config.projects_dir, name=repo.name) try: rs_st.generate() except CargoNotInstalledError: msg.fail("Error: Cargo not installed.", spaced=True, exits=1) else: msg.info(f"Creating {repo.name!r} at {repo.local_path}.") # Make an empty dir and git repo repo.local_path.mkdir(parents=True) if use_git: git.init(path=repo.local_path, check=True) def pre_new_checks(repo: Repo, api: API) -> None: """ Checks whether the repo already exists either locally or remotely, prints helpful warning messages and exits the program if True. """ is_local = repo.exists_local() try: is_remote = repo.exists_remote(api=api) except httpx.HTTPStatusError as err: utils.handle_http_status_errors(error=err) else: if is_local: msg.warn( title=f"{repo.name} already exists locally!", text=f"To checkout this project, use 'pytoil checkout {repo.name}'.", spaced=True, exits=1, ) elif is_remote: msg.warn( title=f"{repo.name!r} already exists on GitHub!", text=f"To checkout this project, use 'pytoil checkout {repo.name}'.", spaced=True, exits=1, ) def create_virtualenv(repo: Repo, packages: List[str]) -> Environment: """ Creates and returns new virtual environment with packages and reports to user. """ msg.info( f"Creating virtual environment for {repo.name!r}", text=f"Including packages: {', '.join(packages)}", spaced=True, ) env = Venv(project_path=repo.local_path) with msg.loading("Working..."): env.create(packages=packages) return env def create_condaenv(repo: Repo, packages: List[str]) -> Environment: """ Creates and returns new conda environment with packages and reports to user. """ msg.info( f"Creating conda environment for {repo.name!r}", text=f"Including packages: {', '.join(packages)}", spaced=True, ) env = Conda(name=repo.name, project_path=repo.local_path) try: with msg.loading("Working..."): env.create(packages=packages) except EnvironmentAlreadyExistsError: msg.warn( f"Conda environment {env.name!r} already exists!", spaced=True, exits=1 ) return env
[ 37811, 198, 464, 12972, 1462, 346, 649, 3141, 13, 198, 198, 13838, 25, 4186, 20001, 198, 41972, 25, 1679, 14, 3312, 14, 1238, 2481, 198, 37811, 198, 198, 6738, 19720, 1330, 7343, 198, 198, 11748, 2638, 87, 198, 11748, 1259, 525, 198, 6738, 19751, 8968, 353, 13, 12417, 1330, 19751, 8968, 353, 198, 6738, 373, 17914, 1330, 31456, 198, 198, 6738, 12972, 1462, 346, 13, 15042, 1330, 7824, 198, 6738, 12972, 1462, 346, 13, 44506, 1330, 3384, 4487, 198, 6738, 12972, 1462, 346, 13, 11250, 1330, 17056, 198, 6738, 12972, 1462, 346, 13, 268, 12103, 1330, 9724, 64, 11, 9344, 11, 9932, 85, 11, 15595, 4834, 85, 198, 6738, 12972, 1462, 346, 13, 1069, 11755, 1330, 357, 198, 220, 220, 220, 41061, 3673, 6310, 4262, 12331, 11, 198, 220, 220, 220, 9344, 37447, 3109, 1023, 12331, 11, 198, 220, 220, 220, 1514, 3673, 6310, 4262, 12331, 11, 198, 8, 198, 6738, 12972, 1462, 346, 13, 18300, 1330, 15151, 198, 6738, 12972, 1462, 346, 13, 260, 7501, 1330, 1432, 78, 198, 6738, 12972, 1462, 346, 13, 301, 6137, 1330, 1514, 1273, 2571, 11, 11361, 1273, 2571, 11, 17103, 1273, 2571, 11, 37460, 198, 6738, 12972, 1462, 346, 13, 85, 1416, 1098, 1330, 569, 6173, 1098, 198, 198, 1324, 796, 1259, 525, 13, 25492, 525, 3419, 628, 198, 31, 1324, 13, 21812, 7, 22866, 62, 33692, 28, 4895, 12154, 62, 26086, 62, 22046, 1298, 6407, 30072, 198, 4299, 649, 7, 198, 220, 220, 220, 269, 17602, 25, 1259, 525, 13, 21947, 11, 198, 220, 220, 220, 1628, 25, 965, 796, 1259, 525, 13, 28100, 1713, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2644, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 5376, 286, 262, 1628, 284, 2251, 33283, 198, 220, 220, 220, 10612, 198, 220, 220, 220, 19751, 25, 965, 796, 1259, 525, 13, 19722, 7, 198, 220, 220, 220, 220, 220, 220, 220, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 44453, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 27444, 66, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 21886, 284, 257, 19751, 8968, 353, 11055, 29924, 422, 543, 284, 1382, 262, 1628, 33283, 198, 220, 220, 220, 10612, 198, 220, 220, 220, 14217, 25, 37460, 796, 1259, 525, 13, 19722, 7, 198, 220, 220, 220, 220, 220, 220, 220, 37460, 13, 23108, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 12339, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 27444, 82, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 11041, 257, 3303, 12, 11423, 14217, 11055, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1339, 62, 30176, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 905, 62, 12286, 28, 17821, 11, 198, 220, 220, 220, 10612, 198, 220, 220, 220, 8710, 85, 25, 15595, 4834, 85, 796, 1259, 525, 13, 19722, 7, 198, 220, 220, 220, 220, 220, 220, 220, 15595, 4834, 85, 13, 23108, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 574, 85, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 27444, 85, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 13828, 2099, 286, 7166, 2858, 284, 2251, 329, 262, 1628, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 1339, 62, 30176, 28, 25101, 11, 198, 220, 220, 220, 220, 220, 220, 220, 905, 62, 12286, 28, 17821, 11, 198, 220, 220, 220, 10612, 198, 220, 220, 220, 645, 62, 18300, 25, 20512, 796, 1259, 525, 13, 19722, 7, 198, 220, 220, 220, 220, 220, 220, 220, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 366, 438, 3919, 12, 18300, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 27444, 77, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 1037, 2625, 3987, 470, 4238, 786, 281, 6565, 17606, 29924, 287, 262, 6808, 286, 262, 1628, 33283, 198, 220, 220, 220, 10612, 198, 8, 4613, 6045, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 649, 2478, 1628, 13, 628, 220, 220, 220, 38234, 8748, 481, 2391, 2251, 281, 6565, 9483, 287, 534, 17839, 4493, 198, 220, 220, 220, 8619, 13, 628, 220, 220, 220, 921, 460, 635, 2251, 257, 1628, 422, 257, 19751, 8968, 353, 11055, 416, 6427, 257, 4938, 198, 220, 220, 220, 19016, 284, 262, 705, 438, 44453, 16327, 66, 6, 6056, 13, 628, 220, 220, 220, 1002, 345, 655, 765, 257, 845, 2829, 11, 3303, 12, 11423, 3599, 11055, 11, 779, 262, 198, 220, 220, 220, 705, 438, 12339, 16327, 82, 6, 3038, 13, 628, 220, 220, 220, 2750, 4277, 11, 12972, 1462, 346, 481, 4238, 786, 281, 6565, 17606, 29924, 287, 262, 9483, 11, 1708, 198, 220, 220, 220, 262, 3918, 286, 3660, 3303, 1382, 4899, 884, 355, 17000, 338, 15892, 13, 921, 460, 15560, 198, 220, 220, 220, 428, 9172, 416, 4634, 705, 15003, 62, 261, 62, 3605, 6, 284, 3991, 287, 12972, 1462, 346, 338, 4566, 2393, 198, 220, 220, 220, 393, 416, 6427, 262, 705, 438, 3919, 12, 18300, 16327, 77, 6, 6056, 994, 13, 628, 220, 220, 220, 1002, 345, 765, 12972, 1462, 346, 284, 2251, 257, 649, 7166, 2858, 329, 534, 1628, 11, 345, 198, 220, 220, 220, 460, 779, 262, 705, 438, 574, 85, 16327, 85, 6, 6056, 13, 8997, 21015, 290, 1779, 64, 7166, 12493, 198, 220, 220, 220, 389, 4855, 13, 628, 220, 220, 220, 1002, 262, 705, 438, 574, 85, 16327, 85, 6, 6056, 318, 973, 11, 345, 743, 635, 1208, 257, 1351, 286, 21015, 10392, 198, 220, 220, 220, 284, 2721, 656, 262, 2727, 7166, 2858, 13, 2312, 481, 307, 49711, 284, 198, 220, 220, 220, 262, 5035, 2891, 357, 79, 541, 393, 1779, 64, 8, 6906, 319, 644, 2858, 373, 2727, 13, 198, 220, 220, 220, 1002, 262, 2858, 318, 1779, 64, 11, 262, 10392, 481, 307, 3804, 379, 2858, 6282, 198, 220, 220, 220, 640, 3616, 484, 481, 423, 511, 20086, 12939, 1978, 13, 14435, 21015, 198, 220, 220, 220, 12493, 481, 717, 307, 2727, 290, 788, 423, 7368, 10392, 6589, 13, 628, 220, 220, 220, 1002, 705, 11321, 62, 43789, 6, 318, 7368, 287, 12972, 1462, 346, 338, 4566, 2393, 11, 777, 481, 6338, 198, 220, 220, 220, 307, 3017, 287, 262, 2858, 13, 628, 220, 220, 220, 1675, 11986, 6300, 286, 10392, 2884, 262, 3141, 1627, 11, 345, 1276, 13507, 577, 606, 198, 220, 220, 220, 287, 4274, 13386, 304, 13, 70, 13, 366, 2704, 2093, 29, 28, 16, 13, 15, 13, 15, 1, 407, 42903, 29, 28, 16, 13, 15, 13, 15, 4306, 428, 481, 198, 220, 220, 220, 307, 16173, 416, 262, 7582, 355, 257, 3141, 2266, 4154, 13, 628, 220, 220, 220, 21066, 25, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 1377, 44453, 3740, 1378, 12567, 13, 785, 14, 11246, 14, 44453, 13, 18300, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 1377, 574, 85, 1779, 64, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 532, 66, 3740, 1378, 12567, 13, 785, 14, 11246, 14, 44453, 13, 18300, 532, 85, 1779, 64, 1377, 3919, 12, 18300, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 532, 85, 8710, 85, 7007, 366, 2704, 2093, 29, 28, 16, 13, 15, 13, 15, 1, 628, 220, 220, 220, 720, 12972, 1462, 346, 649, 616, 62, 16302, 1377, 12339, 21015, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 3497, 4566, 290, 4155, 2836, 460, 1895, 7824, 198, 220, 220, 220, 4566, 796, 17056, 13, 6738, 62, 7753, 3419, 198, 220, 220, 220, 3384, 4487, 13, 40539, 62, 361, 62, 3919, 62, 15042, 62, 66, 445, 82, 7, 11250, 8, 628, 220, 220, 220, 1303, 31122, 262, 5563, 2672, 198, 220, 220, 220, 40391, 796, 7824, 7, 29460, 28, 11250, 13, 29460, 11, 11241, 28, 11250, 13, 30001, 8, 198, 220, 220, 220, 29924, 796, 1432, 78, 7, 198, 220, 220, 220, 220, 220, 220, 220, 4870, 28, 11250, 13, 29460, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 28, 16302, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1957, 62, 6978, 28, 11250, 13, 42068, 62, 15908, 13, 22179, 6978, 7, 16302, 828, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 2438, 796, 569, 6173, 1098, 7, 15763, 28, 260, 7501, 13, 12001, 62, 6978, 8, 198, 220, 220, 220, 17606, 796, 15151, 3419, 628, 220, 220, 220, 611, 269, 17602, 13, 22046, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10392, 25, 7343, 58, 2536, 60, 796, 4566, 13, 11321, 62, 43789, 1343, 269, 17602, 13, 22046, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 10392, 796, 4566, 13, 11321, 62, 43789, 628, 220, 220, 220, 1303, 1874, 6442, 4566, 3691, 6056, 329, 645, 12, 18300, 198, 220, 220, 220, 1303, 6056, 2753, 8475, 625, 4566, 198, 220, 220, 220, 779, 62, 18300, 25, 20512, 796, 4566, 13, 15003, 62, 261, 62, 3605, 290, 407, 645, 62, 18300, 628, 220, 220, 220, 1303, 6822, 318, 1628, 1541, 7160, 290, 9828, 14, 37023, 611, 523, 198, 220, 220, 220, 662, 62, 3605, 62, 42116, 7, 260, 7501, 28, 260, 7501, 11, 40391, 28, 15042, 8, 628, 220, 220, 220, 1303, 16821, 779, 1377, 574, 85, 351, 1729, 12, 29412, 19896, 198, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 14217, 13, 8367, 14512, 14217, 13, 23108, 220, 1303, 11787, 7368, 14217, 198, 220, 220, 220, 220, 220, 220, 220, 290, 14217, 13, 8367, 14512, 14217, 13, 29412, 220, 1303, 383, 14217, 318, 407, 21015, 198, 220, 220, 220, 220, 220, 220, 220, 290, 8710, 85, 13, 8367, 14512, 8710, 85, 13, 23108, 220, 1303, 843, 262, 2836, 3382, 257, 7166, 2858, 198, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 6090, 470, 2251, 257, 8710, 85, 329, 1391, 12339, 13, 8367, 92, 1628, 40754, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38980, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30151, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1303, 1002, 356, 651, 994, 11, 477, 318, 880, 290, 356, 460, 2251, 3404, 0, 198, 220, 220, 220, 787, 62, 3605, 62, 16302, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29924, 28, 260, 7501, 11, 198, 220, 220, 220, 220, 220, 220, 220, 17606, 28, 18300, 11, 198, 220, 220, 220, 220, 220, 220, 220, 19751, 28, 44453, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14217, 28, 12339, 11, 198, 220, 220, 220, 220, 220, 220, 220, 779, 62, 18300, 28, 1904, 62, 18300, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4566, 28, 11250, 11, 198, 220, 220, 220, 1267, 628, 220, 220, 220, 611, 8710, 85, 13, 8367, 6624, 8710, 85, 13, 574, 85, 25, 198, 220, 220, 220, 220, 220, 220, 220, 17365, 796, 2251, 62, 32844, 24330, 7, 260, 7501, 28, 260, 7501, 11, 10392, 28, 43789, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 85, 1416, 1098, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 43093, 1391, 260, 7501, 13, 3672, 0, 81, 92, 287, 569, 6173, 1098, 33283, 38980, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2438, 13, 2617, 62, 5225, 10223, 62, 29412, 7, 24330, 13, 18558, 18187, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2438, 13, 9654, 3419, 628, 220, 220, 220, 1288, 361, 8710, 85, 13, 8367, 6624, 8710, 85, 13, 66, 13533, 25, 198, 220, 220, 220, 220, 220, 220, 220, 17365, 796, 2251, 62, 66, 13533, 24330, 7, 260, 7501, 28, 260, 7501, 11, 10392, 28, 43789, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 85, 1416, 1098, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 43093, 1391, 260, 7501, 13, 3672, 0, 81, 92, 287, 569, 6173, 1098, 33283, 38980, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2438, 13, 2617, 62, 5225, 10223, 62, 29412, 7, 24330, 13, 18558, 18187, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2438, 13, 9654, 3419, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 5514, 584, 3142, 4006, 318, 4844, 198, 220, 220, 220, 220, 220, 220, 220, 1259, 525, 13, 325, 6679, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 37725, 2858, 407, 9167, 13, 3661, 4501, 2858, 6282, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 70, 28, 774, 525, 13, 4033, 669, 13, 56, 23304, 3913, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 611, 4566, 13, 85, 1416, 1098, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 43093, 1391, 260, 7501, 13, 3672, 0, 81, 92, 287, 569, 6173, 1098, 33283, 38980, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2438, 13, 9654, 3419, 628, 198, 4299, 787, 62, 3605, 62, 16302, 7, 198, 220, 220, 220, 29924, 25, 1432, 78, 11, 17606, 25, 15151, 11, 19751, 25, 965, 11, 14217, 25, 37460, 11, 779, 62, 18300, 25, 20512, 11, 4566, 25, 17056, 198, 8, 4613, 6045, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 649, 2478, 1628, 2035, 422, 257, 19751, 8968, 353, 198, 220, 220, 220, 11055, 393, 422, 12692, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1680, 470, 779, 14217, 290, 19751, 8968, 353, 379, 262, 976, 640, 198, 220, 220, 220, 611, 14217, 13, 8367, 14512, 37460, 13, 23108, 290, 19751, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24018, 438, 44453, 6, 290, 705, 438, 12339, 6, 389, 26519, 8568, 33283, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30151, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 611, 19751, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 836, 470, 4238, 786, 257, 17606, 29924, 329, 19751, 8968, 1010, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 617, 24019, 423, 26569, 543, 466, 428, 11, 6164, 466, 0, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 32071, 1391, 260, 7501, 13, 3672, 0, 81, 92, 422, 19751, 8968, 353, 25, 1391, 44453, 0, 81, 92, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 19751, 8968, 353, 7, 28243, 28, 44453, 11, 5072, 62, 15908, 28, 11250, 13, 42068, 62, 15908, 8, 628, 220, 220, 220, 1288, 361, 14217, 6624, 37460, 13, 2188, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 32071, 1391, 260, 7501, 13, 3672, 0, 81, 92, 422, 14217, 25, 1391, 12339, 13, 8367, 0, 81, 92, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 467, 62, 301, 796, 1514, 1273, 2571, 7, 6978, 28, 11250, 13, 42068, 62, 15908, 11, 1438, 28, 260, 7501, 13, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 467, 62, 301, 13, 8612, 378, 7, 29460, 28, 11250, 13, 29460, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 1514, 3673, 6310, 4262, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 32165, 7203, 12331, 25, 1514, 407, 6589, 33283, 38980, 28, 17821, 11, 30151, 28, 16, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 779, 62, 18300, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17606, 13, 15003, 7, 6978, 28, 260, 7501, 13, 12001, 62, 6978, 11, 2198, 28, 17821, 8, 628, 220, 220, 220, 1288, 361, 14217, 6624, 37460, 13, 29412, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 32071, 1391, 260, 7501, 13, 3672, 0, 81, 92, 422, 14217, 25, 1391, 12339, 13, 8367, 0, 81, 92, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 62, 301, 796, 11361, 1273, 2571, 7, 6978, 28, 11250, 13, 42068, 62, 15908, 11, 1438, 28, 260, 7501, 13, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 12972, 62, 301, 13, 8612, 378, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 611, 779, 62, 18300, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17606, 13, 15003, 7, 6978, 28, 260, 7501, 13, 12001, 62, 6978, 11, 2198, 28, 17821, 8, 628, 220, 220, 220, 1288, 361, 14217, 6624, 37460, 13, 11469, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 32071, 1391, 260, 7501, 13, 3672, 0, 81, 92, 422, 14217, 25, 1391, 12339, 13, 8367, 0, 81, 92, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 44608, 62, 301, 796, 17103, 1273, 2571, 7, 6978, 28, 11250, 13, 42068, 62, 15908, 11, 1438, 28, 260, 7501, 13, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44608, 62, 301, 13, 8612, 378, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 41061, 3673, 6310, 4262, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 32165, 7203, 12331, 25, 41061, 407, 6589, 33283, 38980, 28, 17821, 11, 30151, 28, 16, 8, 628, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 10951, 7, 69, 1, 32071, 1391, 260, 7501, 13, 3672, 0, 81, 92, 379, 1391, 260, 7501, 13, 12001, 62, 6978, 92, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6889, 281, 6565, 26672, 290, 17606, 29924, 198, 220, 220, 220, 220, 220, 220, 220, 29924, 13, 12001, 62, 6978, 13, 28015, 15908, 7, 23743, 28, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 779, 62, 18300, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17606, 13, 15003, 7, 6978, 28, 260, 7501, 13, 12001, 62, 6978, 11, 2198, 28, 17821, 8, 628, 198, 4299, 662, 62, 3605, 62, 42116, 7, 260, 7501, 25, 1432, 78, 11, 40391, 25, 7824, 8, 4613, 6045, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 47719, 1771, 262, 29924, 1541, 7160, 2035, 15726, 198, 220, 220, 220, 393, 19863, 11, 20842, 7613, 6509, 6218, 290, 30151, 198, 220, 220, 220, 262, 1430, 611, 6407, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 318, 62, 12001, 796, 29924, 13, 1069, 1023, 62, 12001, 3419, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 47960, 796, 29924, 13, 1069, 1023, 62, 47960, 7, 15042, 28, 15042, 8, 198, 220, 220, 220, 2845, 2638, 87, 13, 40717, 19580, 12331, 355, 11454, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3384, 4487, 13, 28144, 62, 4023, 62, 13376, 62, 48277, 7, 18224, 28, 8056, 8, 198, 220, 220, 220, 2073, 25, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 12001, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3670, 28, 69, 1, 90, 260, 7501, 13, 3672, 92, 1541, 7160, 15726, 40754, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 69, 1, 2514, 28006, 428, 1628, 11, 779, 705, 9078, 1462, 346, 28006, 1391, 260, 7501, 13, 3672, 92, 30827, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38980, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30151, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 62, 47960, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3670, 28, 69, 1, 90, 260, 7501, 13, 3672, 0, 81, 92, 1541, 7160, 319, 21722, 40754, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 69, 1, 2514, 28006, 428, 1628, 11, 779, 705, 9078, 1462, 346, 28006, 1391, 260, 7501, 13, 3672, 92, 30827, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 38980, 28, 17821, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30151, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 198, 4299, 2251, 62, 32844, 24330, 7, 260, 7501, 25, 1432, 78, 11, 10392, 25, 7343, 58, 2536, 12962, 4613, 9344, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7921, 274, 290, 5860, 649, 7166, 2858, 351, 10392, 290, 3136, 198, 220, 220, 220, 284, 2836, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 31456, 13, 10951, 7, 198, 220, 220, 220, 220, 220, 220, 220, 277, 1, 32071, 7166, 2858, 329, 1391, 260, 7501, 13, 3672, 0, 81, 92, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 69, 1, 818, 6360, 10392, 25, 1391, 3256, 45302, 22179, 7, 43789, 38165, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 38980, 28, 17821, 11, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 17365, 796, 9932, 85, 7, 16302, 62, 6978, 28, 260, 7501, 13, 12001, 62, 6978, 8, 198, 220, 220, 220, 351, 31456, 13, 25138, 7203, 28516, 9313, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 17953, 7, 43789, 28, 43789, 8, 628, 220, 220, 220, 1441, 17365, 628, 198, 4299, 2251, 62, 66, 13533, 24330, 7, 260, 7501, 25, 1432, 78, 11, 10392, 25, 7343, 58, 2536, 12962, 4613, 9344, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7921, 274, 290, 5860, 649, 1779, 64, 2858, 351, 10392, 290, 3136, 198, 220, 220, 220, 284, 2836, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 31456, 13, 10951, 7, 198, 220, 220, 220, 220, 220, 220, 220, 277, 1, 32071, 1779, 64, 2858, 329, 1391, 260, 7501, 13, 3672, 0, 81, 92, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 69, 1, 818, 6360, 10392, 25, 1391, 3256, 45302, 22179, 7, 43789, 38165, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 38980, 28, 17821, 11, 198, 220, 220, 220, 1267, 198, 220, 220, 220, 17365, 796, 9724, 64, 7, 3672, 28, 260, 7501, 13, 3672, 11, 1628, 62, 6978, 28, 260, 7501, 13, 12001, 62, 6978, 8, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 351, 31456, 13, 25138, 7203, 28516, 9313, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17365, 13, 17953, 7, 43789, 28, 43789, 8, 198, 220, 220, 220, 2845, 9344, 37447, 3109, 1023, 12331, 25, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 13, 40539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 34, 13533, 2858, 1391, 24330, 13, 3672, 0, 81, 92, 1541, 7160, 40754, 38980, 28, 17821, 11, 30151, 28, 16, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 1441, 17365, 198 ]
2.465521
4,075
# -*- coding: utf-8 -*- import os import re import sys from werkzeug import utils try: from os import scandir except: from scandir import scandir def parents_path(path): """ :param path: :return: return parents_path which does not contain the end '/', that is remove the end '/' """ res = set() path = normalize_path(path) while '/' in path: sep_ind = path.rindex('/') res.add(path[:sep_ind]) path = path[:sep_ind] if path.startswith('./') or not path.startswith('.'): res.add('.') return res def parent_path(path): """ :param path: :return: return path which does not contain the end '/' """ path = normalize_path(path) if '/' not in path: return '.' else: sep_ind = path.rindex('/') return path[:sep_ind] _filename_ascii_strip_re = re.compile(r"[^A-Za-z0-9_.-]") _filename_ascii_add_strip_re = re.compile(r'[^A-Za-z0-9_\u4E00-\u9FBF\u3040-\u30FF\u31F0-\u31FF.-]') _windows_device_files = ( "CON", "AUX", "COM1", "COM2", "COM3", "COM4", "LPT1", "LPT2", "LPT3", "PRN", "NUL", ) PY2 = sys.version_info[0] == 2 if PY2: text_type = unicode else: text_type = str def secure_filename(filename): r"""Pass it a filename and it will return a secure version of it. This filename can then safely be stored on a regular file system and passed to :func:`os.path.join`. On windows systems the function also makes sure that the file is not named after one of the special device files. >>> secure_filename("My cool movie.mov") 'My_cool_movie.mov' >>> secure_filename("../../../etc/passwd") 'etc_passwd' >>> secure_filename(u'i contain cool \xfcml\xe4uts.txt') 'i_contain_cool_umlauts.txt' The function might return an empty filename. It's your responsibility to ensure that the filename is unique and that you abort or generate a random filename if the function returned an empty one. .. versionadded:: 0.5 :param filename: the filename to secure """ if isinstance(filename, text_type): from unicodedata import normalize filename = normalize("NFKD", filename).encode("utf-8", "ignore") if not PY2: filename = filename.decode("utf-8") for sep in os.path.sep, os.path.altsep: if sep: filename = filename.replace(sep, " ") filename = to_unicode_str(_filename_ascii_add_strip_re.sub('', '_'.join( filename.split()))).strip('._') # filename = str(_filename_ascii_strip_re.sub("", "_".join(filename.split()))).strip( # "._" # ) # on nt a couple of special files are present in each folder. We # have to ensure that the target file is not such a filename. In # this case we prepend an underline if ( os.name == "nt" and filename and filename.split(".")[0].upper() in _windows_device_files ): filename = "_" + filename return filename if __name__ == '__main__': print(os.getcwd())
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 11748, 28686, 198, 11748, 302, 198, 11748, 25064, 198, 198, 6738, 266, 9587, 2736, 1018, 1330, 3384, 4487, 198, 198, 28311, 25, 198, 220, 220, 220, 422, 28686, 1330, 629, 392, 343, 198, 16341, 25, 198, 220, 220, 220, 422, 629, 392, 343, 1330, 629, 392, 343, 628, 628, 198, 198, 4299, 3397, 62, 6978, 7, 6978, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 3108, 25, 198, 220, 220, 220, 1058, 7783, 25, 1441, 3397, 62, 6978, 543, 857, 407, 3994, 262, 886, 31051, 3256, 326, 318, 4781, 262, 886, 31051, 6, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 581, 796, 900, 3419, 198, 220, 220, 220, 3108, 796, 3487, 1096, 62, 6978, 7, 6978, 8, 198, 220, 220, 220, 981, 31051, 6, 287, 3108, 25, 198, 220, 220, 220, 220, 220, 220, 220, 41767, 62, 521, 796, 3108, 13, 81, 9630, 10786, 14, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 581, 13, 2860, 7, 6978, 58, 25, 325, 79, 62, 521, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 3108, 796, 3108, 58, 25, 325, 79, 62, 521, 60, 198, 220, 220, 220, 611, 3108, 13, 9688, 2032, 342, 7, 4458, 14, 11537, 393, 407, 3108, 13, 9688, 2032, 342, 10786, 2637, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 581, 13, 2860, 10786, 2637, 8, 198, 220, 220, 220, 1441, 581, 628, 198, 4299, 2560, 62, 6978, 7, 6978, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1058, 17143, 3108, 25, 198, 220, 220, 220, 1058, 7783, 25, 1441, 3108, 543, 857, 407, 3994, 262, 886, 31051, 6, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3108, 796, 3487, 1096, 62, 6978, 7, 6978, 8, 198, 220, 220, 220, 611, 31051, 6, 407, 287, 3108, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 705, 2637, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 41767, 62, 521, 796, 3108, 13, 81, 9630, 10786, 14, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 3108, 58, 25, 325, 79, 62, 521, 60, 628, 628, 628, 198, 62, 34345, 62, 292, 979, 72, 62, 36311, 62, 260, 796, 302, 13, 5589, 576, 7, 81, 17912, 61, 32, 12, 57, 64, 12, 89, 15, 12, 24, 62, 7874, 60, 4943, 198, 62, 34345, 62, 292, 979, 72, 62, 2860, 62, 36311, 62, 260, 796, 302, 13, 5589, 576, 7, 81, 6, 58, 61, 32, 12, 57, 64, 12, 89, 15, 12, 24, 62, 59, 84, 19, 36, 405, 12, 59, 84, 24, 26001, 37, 59, 84, 1270, 1821, 12, 59, 84, 1270, 5777, 59, 84, 3132, 37, 15, 12, 59, 84, 3132, 5777, 7874, 60, 11537, 198, 62, 28457, 62, 25202, 62, 16624, 796, 357, 198, 220, 220, 220, 366, 10943, 1600, 198, 220, 220, 220, 366, 26830, 55, 1600, 198, 220, 220, 220, 366, 9858, 16, 1600, 198, 220, 220, 220, 366, 9858, 17, 1600, 198, 220, 220, 220, 366, 9858, 18, 1600, 198, 220, 220, 220, 366, 9858, 19, 1600, 198, 220, 220, 220, 366, 43, 11571, 16, 1600, 198, 220, 220, 220, 366, 43, 11571, 17, 1600, 198, 220, 220, 220, 366, 43, 11571, 18, 1600, 198, 220, 220, 220, 366, 4805, 45, 1600, 198, 220, 220, 220, 366, 45, 6239, 1600, 198, 8, 198, 47, 56, 17, 796, 25064, 13, 9641, 62, 10951, 58, 15, 60, 6624, 362, 198, 361, 350, 56, 17, 25, 198, 220, 220, 220, 2420, 62, 4906, 796, 28000, 1098, 198, 17772, 25, 198, 220, 220, 220, 2420, 62, 4906, 796, 965, 628, 198, 4299, 5713, 62, 34345, 7, 34345, 2599, 198, 220, 220, 220, 374, 37811, 14478, 340, 257, 29472, 290, 340, 481, 1441, 257, 5713, 2196, 286, 340, 13, 220, 770, 198, 220, 220, 220, 29472, 460, 788, 11512, 307, 8574, 319, 257, 3218, 2393, 1080, 290, 3804, 198, 220, 220, 220, 284, 1058, 20786, 25, 63, 418, 13, 6978, 13, 22179, 44646, 628, 198, 220, 220, 220, 1550, 9168, 3341, 262, 2163, 635, 1838, 1654, 326, 262, 2393, 318, 407, 198, 220, 220, 220, 3706, 706, 530, 286, 262, 2041, 3335, 3696, 13, 628, 220, 220, 220, 13163, 5713, 62, 34345, 7203, 3666, 3608, 3807, 13, 76, 709, 4943, 198, 220, 220, 220, 705, 3666, 62, 24494, 62, 41364, 13, 76, 709, 6, 198, 220, 220, 220, 13163, 5713, 62, 34345, 7203, 40720, 40720, 40720, 14784, 14, 6603, 16993, 4943, 198, 220, 220, 220, 705, 14784, 62, 6603, 16993, 6, 198, 220, 220, 220, 13163, 5713, 62, 34345, 7, 84, 6, 72, 3994, 3608, 3467, 87, 16072, 4029, 59, 27705, 19, 5500, 13, 14116, 11537, 198, 220, 220, 220, 705, 72, 62, 3642, 391, 62, 24494, 62, 388, 75, 17712, 13, 14116, 6, 628, 220, 220, 220, 383, 2163, 1244, 1441, 281, 6565, 29472, 13, 220, 632, 338, 534, 5798, 198, 220, 220, 220, 284, 4155, 326, 262, 29472, 318, 3748, 290, 326, 345, 15614, 393, 198, 220, 220, 220, 7716, 257, 4738, 29472, 611, 262, 2163, 4504, 281, 6565, 530, 13, 628, 220, 220, 220, 11485, 2196, 29373, 3712, 657, 13, 20, 628, 220, 220, 220, 1058, 17143, 29472, 25, 262, 29472, 284, 5713, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 34345, 11, 2420, 62, 4906, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 422, 28000, 9043, 1045, 1330, 3487, 1096, 628, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 3487, 1096, 7203, 21870, 42, 35, 1600, 29472, 737, 268, 8189, 7203, 40477, 12, 23, 1600, 366, 46430, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 611, 407, 350, 56, 17, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 29472, 13, 12501, 1098, 7203, 40477, 12, 23, 4943, 198, 220, 220, 220, 329, 41767, 287, 28686, 13, 6978, 13, 325, 79, 11, 28686, 13, 6978, 13, 2501, 325, 79, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 41767, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 29472, 13, 33491, 7, 325, 79, 11, 366, 366, 8, 628, 220, 220, 220, 29472, 796, 284, 62, 46903, 1098, 62, 2536, 28264, 34345, 62, 292, 979, 72, 62, 2860, 62, 36311, 62, 260, 13, 7266, 10786, 3256, 705, 62, 4458, 22179, 7, 198, 220, 220, 220, 220, 220, 220, 220, 29472, 13, 35312, 3419, 4008, 737, 36311, 7, 4458, 62, 11537, 198, 220, 220, 220, 1303, 29472, 796, 965, 28264, 34345, 62, 292, 979, 72, 62, 36311, 62, 260, 13, 7266, 7203, 1600, 45434, 1911, 22179, 7, 34345, 13, 35312, 3419, 4008, 737, 36311, 7, 198, 220, 220, 220, 1303, 220, 220, 220, 220, 366, 13557, 1, 198, 220, 220, 220, 1303, 1267, 628, 220, 220, 220, 1303, 319, 299, 83, 257, 3155, 286, 2041, 3696, 389, 1944, 287, 1123, 9483, 13, 220, 775, 198, 220, 220, 220, 1303, 423, 284, 4155, 326, 262, 2496, 2393, 318, 407, 884, 257, 29472, 13, 220, 554, 198, 220, 220, 220, 1303, 428, 1339, 356, 3143, 437, 281, 739, 1370, 198, 220, 220, 220, 611, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 3672, 6624, 366, 429, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 29472, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 29472, 13, 35312, 7203, 19570, 58, 15, 4083, 45828, 3419, 287, 4808, 28457, 62, 25202, 62, 16624, 198, 220, 220, 220, 15179, 198, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 45434, 1, 1343, 29472, 628, 220, 220, 220, 1441, 29472, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 3601, 7, 418, 13, 1136, 66, 16993, 28955, 198 ]
2.358663
1,316
# Copyright (c) 2012 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys import os.path from os.path import join as jp here = os.path.dirname(__file__) sys.path.append(jp(here, '../..')) from multiconf import ConfigRoot, ConfigItem, ConfigBuilder from multiconf.decorators import nested_repeatables, repeat, required # Here we define what can be repeated within the configuration item. In this case # we will have many managed servers and datasources @nested_repeatables('managed_servers, datasources') class weblogic_config(ConfigRoot): ''' This is just a simple holder of managed_servers and datasources ''' # Weblogic's standalone administration server. Used to control domain. # Here specify that a managed_server can be repeated within it's parent (domain) @repeat() # Here we specify that a parameter num_servers is required when defining a # builder for managed_server @required('num_servers') class managed_servers(ConfigBuilder): ''' Builder for managed_server objects. Used in environment configuration to automatically create proper number of managed_server objects ''' @repeat()
[ 2, 15069, 357, 66, 8, 2321, 31239, 367, 929, 16265, 83, 31154, 11, 367, 929, 16265, 83, 7283, 198, 2, 1439, 2489, 10395, 13, 770, 670, 318, 739, 257, 347, 10305, 5964, 11, 766, 38559, 24290, 13, 51, 25010, 13, 198, 198, 11748, 25064, 198, 11748, 28686, 13, 6978, 198, 6738, 28686, 13, 6978, 1330, 4654, 355, 474, 79, 198, 1456, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 198, 17597, 13, 6978, 13, 33295, 7, 34523, 7, 1456, 11, 705, 40720, 492, 6, 4008, 198, 198, 6738, 1963, 4749, 69, 1330, 17056, 30016, 11, 17056, 7449, 11, 17056, 32875, 198, 6738, 1963, 4749, 69, 13, 12501, 273, 2024, 1330, 28376, 62, 44754, 2977, 11, 9585, 11, 2672, 628, 198, 2, 3423, 356, 8160, 644, 460, 307, 5100, 1626, 262, 8398, 2378, 13, 554, 428, 1339, 198, 2, 356, 481, 423, 867, 5257, 9597, 290, 19395, 2203, 198, 31, 77, 7287, 62, 44754, 2977, 10786, 39935, 62, 2655, 690, 11, 19395, 2203, 11537, 198, 4871, 356, 14036, 291, 62, 11250, 7, 16934, 30016, 2599, 198, 220, 220, 220, 705, 7061, 770, 318, 655, 257, 2829, 15762, 286, 5257, 62, 2655, 690, 290, 19395, 2203, 705, 7061, 628, 198, 2, 775, 14036, 291, 338, 27669, 3662, 4382, 13, 16718, 284, 1630, 7386, 13, 628, 198, 2, 3423, 11986, 326, 257, 5257, 62, 15388, 460, 307, 5100, 1626, 340, 338, 2560, 357, 27830, 8, 198, 31, 44754, 3419, 628, 198, 2, 3423, 356, 11986, 326, 257, 11507, 997, 62, 2655, 690, 318, 2672, 618, 16215, 257, 198, 2, 27098, 329, 5257, 62, 15388, 198, 31, 35827, 10786, 22510, 62, 2655, 690, 11537, 198, 4871, 5257, 62, 2655, 690, 7, 16934, 32875, 2599, 198, 220, 220, 220, 705, 7061, 35869, 329, 5257, 62, 15388, 5563, 13, 16718, 287, 2858, 8398, 284, 198, 220, 220, 220, 6338, 2251, 1774, 1271, 286, 5257, 62, 15388, 5563, 705, 7061, 628, 198, 31, 44754, 3419, 198 ]
3.662539
323
expected = [ { "id": "con1", "text": "<p>RAA, Conception and design, Acquisition of data, Analysis and interpretation of data, Drafting or revising the article</p>", "fn-type": "con", }, { "id": "con2", "text": "<p>LWB, Conception and design, Acquisition of data, Analysis and interpretation of data, Drafting or revising the article</p>", "fn-type": "con", }, { "id": "con3", "text": "<p>CS, Acquisition of data, Analysis and interpretation of data, Drafting or revising the article</p>", "fn-type": "con", }, { "id": "con4", "text": "<p>RKD, Acquisition of data, Analysis and interpretation of data</p>", "fn-type": "con", }, { "id": "con5", "text": "<p>RZ, Acquisition of data, Analysis and interpretation of data</p>", "fn-type": "con", }, { "id": "con6", "text": "<p>SRF, Acquisition of data, Analysis and interpretation of data</p>", "fn-type": "con", }, { "id": "con7", "text": "<p>JC, Conception and design, Analysis and interpretation of data, Drafting or revising the article</p>", "fn-type": "con", }, { "id": "con8", "text": "<p>NK, Conception and design, Analysis and interpretation of data, Drafting or revising the article</p>", "fn-type": "con", }, { "id": "con9", "text": "<p>NISC Comparative Sequencing Program: JM did X, IM did Y and JB did Z and Y</p>", "fn-type": "con", }, ]
[ 40319, 796, 685, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 16, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 49, 3838, 11, 1482, 4516, 290, 1486, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 11, 13650, 278, 393, 2710, 1710, 262, 2708, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 17, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 43, 45607, 11, 1482, 4516, 290, 1486, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 11, 13650, 278, 393, 2710, 1710, 262, 2708, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 18, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 7902, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 11, 13650, 278, 393, 2710, 1710, 262, 2708, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 19, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 49, 42, 35, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 20, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 49, 57, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 21, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 12562, 37, 11, 44564, 286, 1366, 11, 14691, 290, 10794, 286, 1366, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 22, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 34382, 11, 1482, 4516, 290, 1486, 11, 14691, 290, 10794, 286, 1366, 11, 13650, 278, 393, 2710, 1710, 262, 2708, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 23, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 46888, 11, 1482, 4516, 290, 1486, 11, 14691, 290, 10794, 286, 1366, 11, 13650, 278, 393, 2710, 1710, 262, 2708, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 312, 1298, 366, 1102, 24, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5239, 1298, 33490, 79, 29, 45, 37719, 22565, 876, 24604, 9532, 6118, 25, 47726, 750, 1395, 11, 8959, 750, 575, 290, 449, 33, 750, 1168, 290, 575, 3556, 79, 29, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 22184, 12, 4906, 1298, 366, 1102, 1600, 198, 220, 220, 220, 8964, 198, 60, 198 ]
2.248227
705
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Oct 25 13:08:45 2019 @author: briere """ import logging import argparse import os from neo4j import GraphDatabase descr = ('This script instanciate a Neo4j graph database from the metadata ' 'file and the various clustering results to integrate.') parser = argparse.ArgumentParser(description=descr) parser.add_argument("-id", "--neo_id", help="Neo4j ID used to connect to the database") parser.add_argument("-pwd", "--neo_pwd", help="Neo4j password used to connect to the database") parser.add_argument("-host", "--neo_localhost", help="Neo4j graph localhost") parser.add_argument("-cls", "--clustering_folder", help="Path to directory containing clustering " "results files and metadata file \n Please note that cluster files must be " "names following the pattern : {SUBJECT}_{DATATYPE}_{METHOD}.clst \n" "The metadata file must be names following the pattern : " "{SUBJECT}_metadata.txt \n Please, read the docs to make sure your " "files respect the mandatory format.") parser.add_argument("-subj", "--subject", help="Analysis subject") parser.add_argument("-out", "--log_out", help="Log file") args = parser.parse_args() neo_id = args.neo_id neo_pwd = args.neo_pwd neo_localhost = args.neo_localhost results_path = args.clustering_folder subject = args.subject log_file = args.log_out logging.basicConfig(filename=log_file, level=logging.INFO, format='%(message)s') logging.info('Loading results from %s in %s \n' % (subject, results_path)) def make_graph(results_path, subject, driver): ''' Parameters ---------- results_path : STRING Path to folder containing raw clustering results. subject : STRING Subject of analysis (e.g: AML to run the analysis form AML cancer). Returns ------- Log file. Instanciates the graph database with data from metadata file and clustering results files. ''' files = os.listdir(os.path.join(results_path, subject)) metadata_file = [file for file in files if "metadata" in file][0] logging.info('Initiating graph from %s metadata.', metadata_file) create_object_nodes(os.path.join(results_path, subject, metadata_file), subject, driver) clustering_files = [file[0:-5] for file in files if file[-5:len(file)] == ".clst"] for file in clustering_files: datatype = file.split('_')[1] method = file.split('_')[2] clust_file = str(file) + '.clst' logging.info('Loading %s clustering results.', os.path.join(results_path, subject, clust_file)) logging.info('- computed on datatype : %s', datatype) logging.info('- computed with method : %s', method) create_cluster_nodes(os.path.join(results_path, subject, clust_file), subject, datatype, method, driver) def create_object_nodes(metadata_file, subject, driver): ''' Parameters ---------- metadata_file : STRING Path to metadata file. Must be named as follow: {SUBJECT}_metadata.txt subject : STRING Subject of analysis (e.g: AML to run the analysis form AML cancer). Returns ------- Instanciate graph with data from metadata file. metadata_file : rows = "obects" nodes ids cols = metadata nodes ids (with header as node names) On first line, for each column, specify how it should be represented in the graph: - "main_nodes" for the objects to cluster (e.g Patients TCGA id) - as a node linked to main_nodes: "node" - as a label of main_nodes: "label" - as a property of main nodes : "prop" ''' print("Instanciating graph for " + subject + "from metadata file : " + metadata_file) print("Check the graph in your Neo4j browser by querying : \n" + "MATCH (o:" + subject + ") RETURN o LIMIT 100") graph = driver.session() with open(metadata_file) as file: line = file.readline() line = line.strip() col_types = line.split('\t') for col_type in col_types[1:len(col_types)]: if col_type not in ('label', 'node', 'property'): logging.error('Error : Wrong column type. Must be "label",' '"node" or "property". Please, modify the metadata file. \n') line = file.readline() line = line.strip() col_names = line.split('\t') main_node = col_names[0] line = file.readline() while line: line = line.strip() data = line.split('\t') # Create object node node_id = data[0] node = "(o:" + subject + ":" + main_node + "{id:'" + node_id + "'})" graph.run("MERGE" + node) # Get metadata for i in range(1, len(data)): if col_types[i] == "property" and data[i] != '': graph.run("MATCH" + node + "SET o." + col_names[i] + "='" + data[i] +"'") elif col_types[i] == "label" and data[i] != '': graph.run("MATCH" + node + "SET o:" + data[i]) elif col_types[i] == "node" and data[i] != '': meta_node = "(m:" + col_names[i] + "{id:'" + data[i] + "'})" graph.run("MERGE" + meta_node) meta_rel = "[r:" + col_names[i] + "]" graph.run("MATCH" + node + " MATCH" + meta_node +\ " CREATE (o)-" + meta_rel + "->(m)") elif col_types[i] not in ["property", "label", "node"]: logging.info('"%s" is not a valid keyword.' % (col_types[i])) logging.info('Please use "property", "label" or "node". Skipping.') next line = file.readline() graph.close() def create_cluster_nodes(clust_file, subject, datatype, method, driver): ''' Parameters ---------- clust_file : STRING Path to a raw clustering result file. This file must be named as follow: {SUBJECT}_{DATATYPE}_{METHOD}.clst subject : STRING Subject of analysis (e.g: AML to run the analysis form AML cancer). datatype : STRING Datatype used to compute this clustering. method : STRING Method used to compute this clustering. Returns ------- Compute edges between main_nodes and their respective cluster nodes. ''' graph = driver.session() with open(clust_file) as file: line = file.readline() line = line.strip() col_names = line.split('\t') main_node = col_names[0] clust_node = col_names[1] clust_labels = ":".join([clust_node, subject, datatype, method]) id_base = "_".join([subject, datatype, method]) print("Loading input clustering results for " + subject + "from file: " + clust_file) print("Check the graph in your Neo4j browser by querying : \n" + "MATCH (o:" + main_node + ":" + subject + ")-[r:PART_OF]-(c:"+\ clust_labels + ") RETURN * LIMIT 100") line = file.readline() while line: node_id = line.split('\t')[0] clust_nb = str(line.split('\t')[1].strip()) clust_id = id_base + "_" + str(clust_nb) node = "(o:" + subject + ":" + main_node + "{id:'" + node_id + "'})" clust = "(c:" + clust_labels + "{id:'" + clust_id + "'})" graph.run("MERGE" + clust) graph.run("MATCH" + clust + " MATCH" + node +\ " CREATE (o)-[:PART_OF]->(c)") line = file.readline() graph.close() def main(): ''' Parameters ---------- neo_id : STRING Neo4j database connection ID. neo_pwd : STRING Password to connect to Neo4j database. neo_localhost : STRING Database localhost adress (e.g: http://localhost:7474). Returns ------- Instanciate graph from metadata file and raw clustering files. ''' driver = GraphDatabase.driver(uri=neo_localhost, auth=(neo_id, neo_pwd)) make_graph(results_path, subject, driver) driver.close() if __name__ == "__main__": main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 17, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 37811, 198, 41972, 319, 19480, 2556, 1679, 1511, 25, 2919, 25, 2231, 13130, 198, 198, 31, 9800, 25, 31013, 567, 198, 37811, 198, 198, 11748, 18931, 198, 11748, 1822, 29572, 198, 11748, 28686, 198, 6738, 19102, 19, 73, 1330, 29681, 38105, 198, 198, 20147, 81, 796, 19203, 1212, 4226, 916, 272, 979, 378, 257, 21227, 19, 73, 4823, 6831, 422, 262, 20150, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 705, 7753, 290, 262, 2972, 32966, 1586, 2482, 284, 19386, 2637, 8, 198, 198, 48610, 796, 1822, 29572, 13, 28100, 1713, 46677, 7, 11213, 28, 20147, 81, 8, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 312, 1600, 366, 438, 710, 78, 62, 312, 1600, 1037, 2625, 8199, 78, 19, 73, 4522, 973, 284, 2018, 284, 262, 6831, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 79, 16993, 1600, 366, 438, 710, 78, 62, 79, 16993, 1600, 1037, 2625, 8199, 78, 19, 73, 9206, 973, 284, 2018, 284, 262, 6831, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 4774, 1600, 366, 438, 710, 78, 62, 36750, 1600, 1037, 2625, 8199, 78, 19, 73, 4823, 1957, 4774, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 565, 82, 1600, 366, 438, 565, 436, 1586, 62, 43551, 1600, 1037, 2625, 15235, 284, 8619, 7268, 32966, 1586, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 43420, 3696, 290, 20150, 2393, 3467, 77, 4222, 3465, 326, 13946, 3696, 1276, 307, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 14933, 1708, 262, 3912, 1058, 1391, 50, 10526, 23680, 92, 23330, 35, 1404, 1404, 56, 11401, 92, 23330, 49273, 27422, 565, 301, 3467, 77, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 464, 20150, 2393, 1276, 307, 3891, 1708, 262, 3912, 1058, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 45144, 50, 10526, 23680, 92, 62, 38993, 13, 14116, 3467, 77, 4222, 11, 1100, 262, 34165, 284, 787, 1654, 534, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16624, 2461, 262, 13677, 5794, 19570, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 7266, 73, 1600, 366, 438, 32796, 1600, 1037, 2625, 32750, 2426, 4943, 198, 48610, 13, 2860, 62, 49140, 7203, 12, 448, 1600, 366, 438, 6404, 62, 448, 1600, 1037, 2625, 11187, 2393, 4943, 198, 198, 22046, 796, 30751, 13, 29572, 62, 22046, 3419, 198, 198, 710, 78, 62, 312, 796, 26498, 13, 710, 78, 62, 312, 198, 710, 78, 62, 79, 16993, 796, 26498, 13, 710, 78, 62, 79, 16993, 198, 710, 78, 62, 36750, 796, 26498, 13, 710, 78, 62, 36750, 198, 43420, 62, 6978, 796, 26498, 13, 565, 436, 1586, 62, 43551, 198, 32796, 796, 26498, 13, 32796, 198, 6404, 62, 7753, 796, 26498, 13, 6404, 62, 448, 198, 198, 6404, 2667, 13, 35487, 16934, 7, 34345, 28, 6404, 62, 7753, 11, 1241, 28, 6404, 2667, 13, 10778, 11, 5794, 11639, 4, 7, 20500, 8, 82, 11537, 198, 198, 6404, 2667, 13, 10951, 10786, 19031, 2482, 422, 4064, 82, 287, 4064, 82, 3467, 77, 6, 4064, 357, 32796, 11, 2482, 62, 6978, 4008, 198, 198, 4299, 787, 62, 34960, 7, 43420, 62, 6978, 11, 2426, 11, 4639, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 2482, 62, 6978, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 9483, 7268, 8246, 32966, 1586, 2482, 13, 198, 220, 220, 220, 2426, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 15540, 286, 3781, 357, 68, 13, 70, 25, 3001, 43, 284, 1057, 262, 3781, 1296, 3001, 43, 4890, 737, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 5972, 2393, 13, 2262, 272, 979, 689, 262, 4823, 6831, 351, 1366, 422, 20150, 2393, 198, 220, 220, 220, 220, 220, 220, 220, 290, 32966, 1586, 2482, 3696, 13, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 3696, 796, 28686, 13, 4868, 15908, 7, 418, 13, 6978, 13, 22179, 7, 43420, 62, 6978, 11, 2426, 4008, 198, 220, 220, 220, 20150, 62, 7753, 796, 685, 7753, 329, 2393, 287, 3696, 611, 366, 38993, 1, 287, 2393, 7131, 15, 60, 198, 220, 220, 220, 18931, 13, 10951, 10786, 818, 8846, 803, 4823, 422, 4064, 82, 20150, 2637, 11, 20150, 62, 7753, 8, 198, 220, 220, 220, 2251, 62, 15252, 62, 77, 4147, 7, 418, 13, 6978, 13, 22179, 7, 43420, 62, 6978, 11, 2426, 11, 20150, 62, 7753, 828, 2426, 11, 4639, 8, 198, 220, 220, 220, 32966, 1586, 62, 16624, 796, 685, 7753, 58, 15, 21912, 20, 60, 329, 2393, 287, 3696, 611, 2393, 58, 12, 20, 25, 11925, 7, 7753, 15437, 6624, 27071, 565, 301, 8973, 198, 220, 220, 220, 329, 2393, 287, 32966, 1586, 62, 16624, 25, 198, 220, 220, 220, 220, 220, 220, 220, 4818, 265, 2981, 796, 2393, 13, 35312, 10786, 62, 11537, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 2446, 796, 2393, 13, 35312, 10786, 62, 11537, 58, 17, 60, 198, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 7753, 796, 965, 7, 7753, 8, 1343, 45302, 565, 301, 6, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 10951, 10786, 19031, 4064, 82, 32966, 1586, 2482, 2637, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28686, 13, 6978, 13, 22179, 7, 43420, 62, 6978, 11, 2426, 11, 32966, 62, 7753, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 10951, 10786, 12, 29231, 319, 4818, 265, 2981, 1058, 4064, 82, 3256, 4818, 265, 2981, 8, 198, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 10951, 10786, 12, 29231, 351, 2446, 1058, 4064, 82, 3256, 2446, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 565, 5819, 62, 77, 4147, 7, 418, 13, 6978, 13, 22179, 7, 43420, 62, 6978, 11, 2426, 11, 32966, 62, 7753, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2426, 11, 4818, 265, 2981, 11, 2446, 11, 4639, 8, 628, 198, 4299, 2251, 62, 15252, 62, 77, 4147, 7, 38993, 62, 7753, 11, 2426, 11, 4639, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 20150, 62, 7753, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 20150, 2393, 13, 12039, 307, 3706, 355, 1061, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 50, 10526, 23680, 92, 62, 38993, 13, 14116, 198, 220, 220, 220, 2426, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 15540, 286, 3781, 357, 68, 13, 70, 25, 3001, 43, 284, 1057, 262, 3781, 1296, 3001, 43, 4890, 737, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 2262, 272, 979, 378, 4823, 351, 1366, 422, 20150, 2393, 13, 198, 220, 220, 220, 20150, 62, 7753, 1058, 15274, 796, 366, 672, 478, 82, 1, 13760, 220, 2340, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 951, 82, 796, 20150, 13760, 220, 2340, 357, 4480, 13639, 355, 10139, 3891, 8, 198, 220, 220, 220, 1550, 717, 1627, 11, 329, 1123, 5721, 11, 11986, 703, 340, 815, 307, 7997, 287, 262, 4823, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 366, 12417, 62, 77, 4147, 1, 329, 262, 5563, 284, 13946, 357, 68, 13, 70, 28021, 17283, 9273, 4686, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 355, 257, 10139, 6692, 284, 1388, 62, 77, 4147, 25, 366, 17440, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 355, 257, 6167, 286, 1388, 62, 77, 4147, 25, 366, 18242, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 355, 257, 3119, 286, 1388, 13760, 1058, 366, 22930, 1, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 3601, 7203, 6310, 272, 46136, 4823, 329, 366, 1343, 2426, 1343, 366, 6738, 20150, 2393, 1058, 366, 1343, 20150, 62, 7753, 8, 198, 220, 220, 220, 3601, 7203, 9787, 262, 4823, 287, 534, 21227, 19, 73, 6444, 416, 42517, 1112, 1058, 3467, 77, 1, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 44, 11417, 357, 78, 11097, 1343, 2426, 1343, 366, 8, 30826, 27064, 267, 27564, 2043, 1802, 4943, 628, 220, 220, 220, 4823, 796, 4639, 13, 29891, 3419, 628, 220, 220, 220, 351, 1280, 7, 38993, 62, 7753, 8, 355, 2393, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1627, 13, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 19199, 796, 1627, 13, 35312, 10786, 59, 83, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 329, 951, 62, 4906, 287, 951, 62, 19199, 58, 16, 25, 11925, 7, 4033, 62, 19199, 8, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 951, 62, 4906, 407, 287, 19203, 18242, 3256, 705, 17440, 3256, 705, 26745, 6, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 18224, 10786, 12331, 1058, 28843, 5721, 2099, 13, 12039, 307, 366, 18242, 1600, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 1, 17440, 1, 393, 366, 26745, 1911, 4222, 11, 13096, 262, 20150, 2393, 13, 3467, 77, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1627, 13, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 14933, 796, 1627, 13, 35312, 10786, 59, 83, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1388, 62, 17440, 796, 951, 62, 14933, 58, 15, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 981, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1627, 13, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 1627, 13, 35312, 10786, 59, 83, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 13610, 2134, 10139, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 62, 312, 796, 1366, 58, 15, 60, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 796, 30629, 78, 11097, 1343, 2426, 1343, 366, 11097, 1343, 1388, 62, 17440, 1343, 45144, 312, 25, 29653, 1343, 10139, 62, 312, 1343, 24018, 92, 16725, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 29296, 8264, 1, 1343, 10139, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 3497, 20150, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 1312, 287, 2837, 7, 16, 11, 18896, 7, 7890, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 951, 62, 19199, 58, 72, 60, 6624, 366, 26745, 1, 290, 1366, 58, 72, 60, 14512, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 44, 11417, 1, 1343, 10139, 1343, 366, 28480, 267, 526, 1343, 951, 62, 14933, 58, 72, 60, 1343, 366, 11639, 1, 1343, 1366, 58, 72, 60, 1343, 30543, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 951, 62, 19199, 58, 72, 60, 6624, 366, 18242, 1, 290, 1366, 58, 72, 60, 14512, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 44, 11417, 1, 1343, 10139, 1343, 366, 28480, 267, 11097, 1343, 1366, 58, 72, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 951, 62, 19199, 58, 72, 60, 6624, 366, 17440, 1, 290, 1366, 58, 72, 60, 14512, 10148, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13634, 62, 17440, 796, 30629, 76, 11097, 1343, 951, 62, 14933, 58, 72, 60, 1343, 45144, 312, 25, 29653, 1343, 1366, 58, 72, 60, 1343, 24018, 92, 16725, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 29296, 8264, 1, 1343, 13634, 62, 17440, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13634, 62, 2411, 796, 12878, 81, 11097, 1343, 951, 62, 14933, 58, 72, 60, 1343, 366, 30866, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 44, 11417, 1, 1343, 10139, 1343, 366, 337, 11417, 1, 1343, 13634, 62, 17440, 1343, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29244, 6158, 357, 78, 13219, 1, 1343, 13634, 62, 2411, 1343, 366, 3784, 7, 76, 8, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 951, 62, 19199, 58, 72, 60, 407, 287, 14631, 26745, 1600, 366, 18242, 1600, 366, 17440, 1, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 10951, 10786, 1, 4, 82, 1, 318, 407, 257, 4938, 21179, 2637, 4064, 357, 4033, 62, 19199, 58, 72, 60, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18931, 13, 10951, 10786, 5492, 779, 366, 26745, 1600, 366, 18242, 1, 393, 366, 17440, 1911, 3661, 4501, 2637, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1306, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 628, 220, 220, 220, 4823, 13, 19836, 3419, 198, 198, 4299, 2251, 62, 565, 5819, 62, 77, 4147, 7, 565, 436, 62, 7753, 11, 2426, 11, 4818, 265, 2981, 11, 2446, 11, 4639, 2599, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 32966, 62, 7753, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 10644, 284, 257, 8246, 32966, 1586, 1255, 2393, 13, 770, 2393, 1276, 307, 3706, 355, 1061, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1391, 50, 10526, 23680, 92, 23330, 35, 1404, 1404, 56, 11401, 92, 23330, 49273, 27422, 565, 301, 198, 220, 220, 220, 2426, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 15540, 286, 3781, 357, 68, 13, 70, 25, 3001, 43, 284, 1057, 262, 3781, 1296, 3001, 43, 4890, 737, 198, 220, 220, 220, 4818, 265, 2981, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 16092, 265, 2981, 973, 284, 24061, 428, 32966, 1586, 13, 198, 220, 220, 220, 2446, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 11789, 973, 284, 24061, 428, 32966, 1586, 13, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 3082, 1133, 13015, 1022, 1388, 62, 77, 4147, 290, 511, 11756, 13946, 13760, 13, 628, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 4823, 796, 4639, 13, 29891, 3419, 628, 220, 220, 220, 351, 1280, 7, 565, 436, 62, 7753, 8, 355, 2393, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 1627, 13, 36311, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 951, 62, 14933, 796, 1627, 13, 35312, 10786, 59, 83, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1388, 62, 17440, 796, 951, 62, 14933, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 17440, 796, 951, 62, 14933, 58, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 23912, 1424, 796, 366, 25, 1911, 22179, 26933, 565, 436, 62, 17440, 11, 2426, 11, 4818, 265, 2981, 11, 2446, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 62, 8692, 796, 45434, 1911, 22179, 26933, 32796, 11, 4818, 265, 2981, 11, 2446, 12962, 628, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 19031, 5128, 32966, 1586, 2482, 329, 366, 1343, 2426, 1343, 366, 6738, 2393, 25, 366, 1343, 32966, 62, 7753, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 9787, 262, 4823, 287, 534, 21227, 19, 73, 6444, 416, 42517, 1112, 1058, 3467, 77, 1, 1343, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 44, 11417, 357, 78, 11097, 1343, 1388, 62, 17440, 1343, 366, 11097, 1343, 2426, 1343, 366, 13219, 58, 81, 25, 30709, 62, 19238, 60, 30420, 66, 11097, 10, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 23912, 1424, 1343, 366, 8, 30826, 27064, 1635, 27564, 2043, 1802, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 981, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 62, 312, 796, 1627, 13, 35312, 10786, 59, 83, 11537, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 46803, 796, 965, 7, 1370, 13, 35312, 10786, 59, 83, 11537, 58, 16, 4083, 36311, 28955, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32966, 62, 312, 796, 4686, 62, 8692, 1343, 45434, 1, 1343, 965, 7, 565, 436, 62, 46803, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10139, 796, 30629, 78, 11097, 1343, 2426, 1343, 366, 11097, 1343, 1388, 62, 17440, 1343, 45144, 312, 25, 29653, 1343, 10139, 62, 312, 1343, 24018, 92, 16725, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32966, 796, 30629, 66, 11097, 1343, 32966, 62, 23912, 1424, 1343, 45144, 312, 25, 29653, 1343, 32966, 62, 312, 1343, 24018, 92, 16725, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 29296, 8264, 1, 1343, 32966, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4823, 13, 5143, 7203, 44, 11417, 1, 1343, 32966, 1343, 366, 337, 11417, 1, 1343, 10139, 1343, 59, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 29244, 6158, 357, 78, 13219, 58, 25, 30709, 62, 19238, 60, 3784, 7, 66, 8, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 796, 2393, 13, 961, 1370, 3419, 628, 220, 220, 220, 4823, 13, 19836, 3419, 198, 198, 4299, 1388, 33529, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 19102, 62, 312, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21227, 19, 73, 6831, 4637, 4522, 13, 198, 220, 220, 220, 19102, 62, 79, 16993, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 30275, 284, 2018, 284, 21227, 19, 73, 6831, 13, 198, 220, 220, 220, 19102, 62, 36750, 1058, 19269, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 24047, 1957, 4774, 512, 601, 357, 68, 13, 70, 25, 2638, 1378, 36750, 25, 22, 38652, 737, 198, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 2262, 272, 979, 378, 4823, 422, 20150, 2393, 290, 8246, 32966, 1586, 3696, 13, 198, 220, 220, 220, 705, 7061, 628, 220, 220, 220, 4639, 796, 29681, 38105, 13, 26230, 7, 9900, 28, 710, 78, 62, 36750, 11, 6284, 16193, 710, 78, 62, 312, 11, 19102, 62, 79, 16993, 4008, 198, 220, 220, 220, 787, 62, 34960, 7, 43420, 62, 6978, 11, 2426, 11, 4639, 8, 198, 220, 220, 220, 4639, 13, 19836, 3419, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 628 ]
2.304168
3,623
import math from helper import Point
[ 11748, 10688, 198, 6738, 31904, 1330, 6252, 628 ]
4.75
8
from skimage import io import matplotlib.pyplot as plt import sys image = io.imread(sys.argv[1]) _ = plt.hist(image.ravel(), bins = 256, color = 'orange', ) _ = plt.hist(image[:, :, 0].ravel(), bins = 256, color = 'red', alpha = 0.5) _ = plt.hist(image[:, :, 1].ravel(), bins = 256, color = 'Green', alpha = 0.5) _ = plt.hist(image[:, :, 2].ravel(), bins = 256, color = 'Blue', alpha = 0.5) _ = plt.xlabel('Intensity Value') _ = plt.ylabel('Count') _ = plt.legend(['Total', 'Red_Channel', 'Green_Channel', 'Blue_Channel']) plt.show()
[ 6738, 1341, 9060, 1330, 33245, 198, 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 25064, 198, 9060, 796, 33245, 13, 320, 961, 7, 17597, 13, 853, 85, 58, 16, 12962, 198, 198, 62, 796, 458, 83, 13, 10034, 7, 9060, 13, 25843, 22784, 41701, 796, 17759, 11, 3124, 796, 705, 43745, 3256, 1267, 198, 62, 796, 458, 83, 13, 10034, 7, 9060, 58, 45299, 1058, 11, 657, 4083, 25843, 22784, 41701, 796, 17759, 11, 3124, 796, 705, 445, 3256, 17130, 796, 657, 13, 20, 8, 198, 62, 796, 458, 83, 13, 10034, 7, 9060, 58, 45299, 1058, 11, 352, 4083, 25843, 22784, 41701, 796, 17759, 11, 3124, 796, 705, 13719, 3256, 17130, 796, 657, 13, 20, 8, 198, 62, 796, 458, 83, 13, 10034, 7, 9060, 58, 45299, 1058, 11, 362, 4083, 25843, 22784, 41701, 796, 17759, 11, 3124, 796, 705, 14573, 3256, 17130, 796, 657, 13, 20, 8, 198, 62, 796, 458, 83, 13, 87, 18242, 10786, 5317, 6377, 11052, 11537, 198, 62, 796, 458, 83, 13, 2645, 9608, 10786, 12332, 11537, 198, 62, 796, 458, 83, 13, 1455, 437, 7, 17816, 14957, 3256, 705, 7738, 62, 29239, 3256, 705, 13719, 62, 29239, 3256, 705, 14573, 62, 29239, 6, 12962, 198, 489, 83, 13, 12860, 3419 ]
2.530806
211
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RJpeg(RPackage): """Read and write JPEG images. This package provides an easy and simple way to read, write and display bitmap images stored in the JPEG format. It can read and write both files and in-memory raw vectors.""" cran = "jpeg" version('0.1-9', sha256='01a175442ec209b838a56a66a3908193aca6f040d537da7838d9368e46913072') version('0.1-8.1', sha256='1db0a4976fd9b2ae27a37d3e856cca35bc2909323c7a40724846a5d3c18915a9') version('0.1-8', sha256='d032befeb3a414cefdbf70ba29a6c01541c54387cc0a1a98a4022d86cbe60a16') depends_on('[email protected]:', type=('build', 'run')) depends_on('jpeg')
[ 2, 15069, 2211, 12, 1238, 1828, 13914, 45036, 3549, 2351, 4765, 11, 11419, 290, 584, 198, 2, 1338, 441, 4935, 34152, 13, 4091, 262, 1353, 12, 5715, 27975, 38162, 9947, 2393, 329, 3307, 13, 198, 2, 198, 2, 30628, 55, 12, 34156, 12, 33234, 7483, 25, 357, 25189, 4891, 12, 17, 13, 15, 6375, 17168, 8, 198, 198, 6738, 599, 441, 1330, 1635, 628, 198, 4871, 46642, 22071, 7, 49, 27813, 2599, 198, 220, 220, 220, 37227, 5569, 290, 3551, 48561, 4263, 13, 628, 220, 220, 220, 770, 5301, 3769, 281, 2562, 290, 2829, 835, 284, 1100, 11, 3551, 290, 3359, 198, 220, 220, 220, 1643, 8899, 4263, 8574, 287, 262, 48561, 5794, 13, 632, 460, 1100, 290, 3551, 1111, 3696, 198, 220, 220, 220, 290, 287, 12, 31673, 8246, 30104, 526, 15931, 628, 220, 220, 220, 41286, 796, 366, 73, 22071, 1, 628, 220, 220, 220, 2196, 10786, 15, 13, 16, 12, 24, 3256, 427, 64, 11645, 11639, 486, 64, 17430, 39506, 721, 22567, 65, 23, 2548, 64, 3980, 64, 2791, 64, 2670, 2919, 24943, 22260, 21, 69, 36676, 67, 46096, 6814, 3695, 2548, 67, 24, 27412, 68, 42947, 12952, 4761, 11537, 198, 220, 220, 220, 2196, 10786, 15, 13, 16, 12, 23, 13, 16, 3256, 427, 64, 11645, 11639, 16, 9945, 15, 64, 2920, 4304, 16344, 24, 65, 17, 3609, 1983, 64, 2718, 67, 18, 68, 23, 3980, 13227, 2327, 15630, 1959, 2931, 32637, 66, 22, 64, 30120, 23045, 3510, 64, 20, 67, 18, 66, 23362, 1314, 64, 24, 11537, 198, 220, 220, 220, 2196, 10786, 15, 13, 16, 12, 23, 3256, 427, 64, 11645, 11639, 67, 49959, 65, 891, 1765, 18, 64, 37309, 344, 69, 9945, 69, 2154, 7012, 1959, 64, 21, 66, 25150, 3901, 66, 4051, 32220, 535, 15, 64, 16, 64, 4089, 64, 1821, 1828, 67, 4521, 66, 1350, 1899, 64, 1433, 11537, 628, 220, 220, 220, 8338, 62, 261, 10786, 81, 31, 17, 13, 24, 13, 15, 25, 3256, 2099, 28, 10786, 11249, 3256, 705, 5143, 6, 4008, 198, 220, 220, 220, 8338, 62, 261, 10786, 73, 22071, 11537, 198 ]
2.459538
346
# coding:utf-8 # Produced by Jiaxin Zhang # Start Data: 20_May_2020 # Data processing module. # # For GOD I Trust. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== import copy import random import codecs import pickle import functools import tensorflow as tf tf.enable_eager_execution() import config load_dict() # function for converting string to idx convert_vocab_idx = lambda string : [vocab_idx[v] if v in vocab_idx else vocab_idx['<unk>'] \ for v in string.split(' ')] # padding padding_func = lambda data, max_length : data + [vocab_idx['<padding>'] \ for _ in range(max_length - len(data))] padding_func_with_args = functools.partial(padding_func, max_length=config.eann_config.max_length) @input_fn @input_fn if __name__ == '__main__': for datas in train_input_fn(config.TRAIN_DATA_PATH, 10): print(datas[1]['label']) print(datas[1]['event']) input()
[ 2, 19617, 25, 40477, 12, 23, 198, 2, 21522, 771, 416, 449, 544, 87, 259, 19439, 198, 2, 7253, 6060, 25, 1160, 62, 6747, 62, 42334, 198, 2, 6060, 7587, 8265, 13, 198, 2, 198, 2, 1114, 29562, 314, 9870, 13, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 2, 38093, 25609, 28, 198, 198, 11748, 4866, 198, 11748, 4738, 198, 11748, 40481, 82, 198, 11748, 2298, 293, 198, 11748, 1257, 310, 10141, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 27110, 13, 21633, 62, 68, 3536, 62, 18558, 1009, 3419, 198, 11748, 4566, 198, 2220, 62, 11600, 3419, 198, 198, 2, 2163, 329, 23202, 4731, 284, 4686, 87, 198, 1102, 1851, 62, 18893, 397, 62, 312, 87, 796, 37456, 4731, 1058, 685, 18893, 397, 62, 312, 87, 58, 85, 60, 611, 410, 287, 12776, 397, 62, 312, 87, 2073, 12776, 397, 62, 312, 87, 17816, 27, 2954, 29, 20520, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 410, 287, 4731, 13, 35312, 10786, 705, 15437, 198, 2, 24511, 198, 39231, 62, 20786, 796, 37456, 1366, 11, 3509, 62, 13664, 1058, 1366, 1343, 685, 18893, 397, 62, 312, 87, 17816, 27, 39231, 29, 20520, 3467, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 4808, 287, 2837, 7, 9806, 62, 13664, 532, 18896, 7, 7890, 4008, 60, 198, 39231, 62, 20786, 62, 4480, 62, 22046, 796, 1257, 310, 10141, 13, 47172, 7, 39231, 62, 20786, 11, 3509, 62, 13664, 28, 11250, 13, 68, 1236, 62, 11250, 13, 9806, 62, 13664, 8, 198, 198, 31, 15414, 62, 22184, 198, 198, 31, 15414, 62, 22184, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 329, 19395, 287, 4512, 62, 15414, 62, 22184, 7, 11250, 13, 51, 3861, 1268, 62, 26947, 62, 34219, 11, 838, 2599, 198, 220, 220, 220, 3601, 7, 19608, 292, 58, 16, 7131, 6, 18242, 6, 12962, 198, 220, 220, 220, 3601, 7, 19608, 292, 58, 16, 7131, 6, 15596, 6, 12962, 198, 220, 220, 220, 5128, 3419 ]
2.850277
541
#!/usr/bin/env python3 import os import re import sys import pandas as pd import pyarrow as pa from pyarrow import csv, feather in_file = sys.argv[1] in_df = csv.read_csv(in_file).to_pandas() if 'datetime' in in_df.columns.values.tolist(): in_df['datetime'] = pd.to_datetime(in_df.datetime, utc=True) #out_file = re.sub(r'\.csv$', '.feather', os.path.basename(in_file)) out_file = re.sub(r'\.csv$', '.arrow', os.path.basename(in_file)) with open(out_file, 'bw') as out_f: #feather.write_feather(pa.Table.from_pandas(csv.read_csv(in_file).to_pandas()), out_f, compression='zstd', compression_level=15) feather.write_feather(pa.Table.from_pandas(csv.read_csv(in_file).to_pandas().astype({'viewerIndex': 'int32'}).astype({'size': 'int32'}).astype({'gridSize': 'int32'})), out_f, compression='uncompressed') os.system("gzip {}".format(out_file)) print(out_file + '.gz')
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 11748, 28686, 198, 11748, 302, 198, 11748, 25064, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 12972, 6018, 355, 14187, 198, 6738, 12972, 6018, 1330, 269, 21370, 11, 17972, 198, 198, 259, 62, 7753, 796, 25064, 13, 853, 85, 58, 16, 60, 198, 259, 62, 7568, 796, 269, 21370, 13, 961, 62, 40664, 7, 259, 62, 7753, 737, 1462, 62, 79, 392, 292, 3419, 198, 361, 705, 19608, 8079, 6, 287, 287, 62, 7568, 13, 28665, 82, 13, 27160, 13, 83, 349, 396, 33529, 198, 220, 220, 220, 287, 62, 7568, 17816, 19608, 8079, 20520, 796, 279, 67, 13, 1462, 62, 19608, 8079, 7, 259, 62, 7568, 13, 19608, 8079, 11, 3384, 66, 28, 17821, 8, 198, 2, 448, 62, 7753, 796, 302, 13, 7266, 7, 81, 6, 17405, 40664, 3, 3256, 45302, 5036, 1032, 3256, 28686, 13, 6978, 13, 12093, 12453, 7, 259, 62, 7753, 4008, 198, 448, 62, 7753, 796, 302, 13, 7266, 7, 81, 6, 17405, 40664, 3, 3256, 45302, 6018, 3256, 28686, 13, 6978, 13, 12093, 12453, 7, 259, 62, 7753, 4008, 198, 4480, 1280, 7, 448, 62, 7753, 11, 705, 65, 86, 11537, 355, 503, 62, 69, 25, 198, 220, 220, 220, 1303, 5036, 1032, 13, 13564, 62, 5036, 1032, 7, 8957, 13, 10962, 13, 6738, 62, 79, 392, 292, 7, 40664, 13, 961, 62, 40664, 7, 259, 62, 7753, 737, 1462, 62, 79, 392, 292, 3419, 828, 503, 62, 69, 11, 19794, 11639, 89, 19282, 3256, 19794, 62, 5715, 28, 1314, 8, 198, 220, 220, 220, 17972, 13, 13564, 62, 5036, 1032, 7, 8957, 13, 10962, 13, 6738, 62, 79, 392, 292, 7, 40664, 13, 961, 62, 40664, 7, 259, 62, 7753, 737, 1462, 62, 79, 392, 292, 22446, 459, 2981, 15090, 6, 1177, 263, 15732, 10354, 705, 600, 2624, 6, 92, 737, 459, 2981, 15090, 6, 7857, 10354, 705, 600, 2624, 6, 92, 737, 459, 2981, 15090, 6, 25928, 10699, 10354, 705, 600, 2624, 6, 30072, 828, 503, 62, 69, 11, 19794, 11639, 403, 5589, 2790, 11537, 198, 418, 13, 10057, 7203, 70, 13344, 23884, 1911, 18982, 7, 448, 62, 7753, 4008, 198, 4798, 7, 448, 62, 7753, 1343, 45302, 34586, 11537, 198 ]
2.369272
371
from setuptools import setup setup( name="Vnode", version="0.1.0", description="A fast wheel to build a node network.", author="Tatersic&Ovizro", author_email="[email protected]", maintainer="Ovizro", maintainer_email="[email protected]", license="MIT", url="https://github.com/Tatersic/Vnode", download_url="https://github.com/Tatersic/Vnode/archive/refs/heads/master.zip", packages=["vnode"], requires=["aiohttp"], python_requires=">=3.8", exclude_package_data={ '':['test.*'] } )
[ 6738, 900, 37623, 10141, 1330, 9058, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 2625, 53, 17440, 1600, 198, 220, 220, 220, 2196, 2625, 15, 13, 16, 13, 15, 1600, 198, 220, 220, 220, 6764, 2625, 32, 3049, 7825, 284, 1382, 257, 10139, 3127, 33283, 198, 220, 220, 220, 1772, 2625, 51, 8605, 291, 5, 46, 85, 528, 305, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 51, 8605, 291, 31, 38227, 13, 785, 1600, 198, 220, 220, 220, 5529, 263, 2625, 46, 85, 528, 305, 1600, 198, 220, 220, 220, 5529, 263, 62, 12888, 2625, 46, 85, 528, 305, 31, 49229, 4033, 13, 785, 1600, 628, 220, 220, 220, 5964, 2625, 36393, 1600, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 51, 8605, 291, 14, 53, 17440, 1600, 198, 220, 220, 220, 4321, 62, 6371, 2625, 5450, 1378, 12567, 13, 785, 14, 51, 8605, 291, 14, 53, 17440, 14, 17474, 14, 5420, 82, 14, 16600, 14, 9866, 13, 13344, 1600, 628, 220, 220, 220, 10392, 28, 14692, 85, 17440, 33116, 198, 220, 220, 220, 4433, 28, 14692, 64, 952, 4023, 33116, 198, 220, 220, 220, 21015, 62, 47911, 2625, 29, 28, 18, 13, 23, 1600, 628, 220, 220, 220, 19607, 62, 26495, 62, 7890, 34758, 198, 220, 220, 220, 220, 220, 220, 220, 10148, 25, 17816, 9288, 15885, 20520, 198, 220, 220, 220, 1782, 198, 8 ]
2.377682
233
import os import re import time import struct import serial import threading import crcmod COMMAND_GET = struct.pack('B', 0xf0) COMMAND_SET = struct.pack('B', 0xf1) DS18B20 = struct.pack('B', 0xf1) HEATER = struct.pack('B', 0xf2) STIRRER = struct.pack('B', 0xf3) # Contrary to crcmod's definition, brewslave expects a bit-reversed CRC crc8 = crcmod.mkCrcFun(0x131, 0, False, 0)
[ 11748, 28686, 198, 11748, 302, 198, 11748, 640, 198, 11748, 2878, 198, 11748, 11389, 198, 11748, 4704, 278, 198, 11748, 1067, 66, 4666, 628, 198, 9858, 44, 6981, 62, 18851, 796, 2878, 13, 8002, 10786, 33, 3256, 657, 26152, 15, 8, 198, 9858, 44, 6981, 62, 28480, 796, 2878, 13, 8002, 10786, 33, 3256, 657, 26152, 16, 8, 198, 198, 5258, 1507, 33, 1238, 796, 2878, 13, 8002, 10786, 33, 3256, 657, 26152, 16, 8, 198, 13909, 23261, 796, 2878, 13, 8002, 10786, 33, 3256, 657, 26152, 17, 8, 198, 2257, 4663, 49, 1137, 796, 2878, 13, 8002, 10786, 33, 3256, 657, 26152, 18, 8, 628, 198, 2, 43607, 284, 1067, 66, 4666, 338, 6770, 11, 9059, 36341, 13423, 257, 1643, 12, 260, 690, 276, 45623, 198, 66, 6015, 23, 796, 1067, 66, 4666, 13, 28015, 34, 6015, 24629, 7, 15, 87, 22042, 11, 657, 11, 10352, 11, 657, 8, 628 ]
2.543046
151
import glob, os, sys, json, datetime import pandas as pd import numpy as np sys.path.insert(0, os.path.dirname(__file__) + '../2_helpers') import re, nltk from dateutil import parser from Fact import Fact from User import User from Transaction import Transaction from decoder import decoder from sklearn.model_selection import train_test_split from sklearn.svm import LinearSVC from sklearn.linear_model import SGDClassifier from sklearn import metrics from sklearn.linear_model import Perceptron from sklearn.linear_model import PassiveAggressiveClassifier from sklearn.naive_bayes import BernoulliNB, MultinomialNB from sklearn.neighbors import KNeighborsClassifier from sklearn.ensemble import RandomForestClassifier from sklearn.linear_model import RidgeClassifier from matplotlib import pyplot as plt from sklearn.model_selection import cross_val_score from sklearn.preprocessing import Imputer import warnings import scipy.stats from collections import Counter warnings.filterwarnings("ignore", category=DeprecationWarning) SERVER_RUN = True DIR = os.path.dirname(__file__) + '../../3_Data/' if __name__ == "__main__": main()
[ 11748, 15095, 11, 28686, 11, 25064, 11, 33918, 11, 4818, 8079, 198, 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 198, 17597, 13, 6978, 13, 28463, 7, 15, 11, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 1343, 705, 40720, 17, 62, 16794, 364, 11537, 198, 11748, 302, 11, 299, 2528, 74, 198, 6738, 3128, 22602, 1330, 30751, 198, 6738, 19020, 1330, 19020, 198, 6738, 11787, 1330, 11787, 198, 6738, 45389, 1330, 45389, 198, 6738, 875, 12342, 1330, 875, 12342, 198, 198, 6738, 1341, 35720, 13, 19849, 62, 49283, 1330, 4512, 62, 9288, 62, 35312, 198, 6738, 1341, 35720, 13, 82, 14761, 1330, 44800, 50, 15922, 198, 6738, 1341, 35720, 13, 29127, 62, 19849, 1330, 26147, 35, 9487, 7483, 198, 6738, 1341, 35720, 1330, 20731, 198, 6738, 1341, 35720, 13, 29127, 62, 19849, 1330, 2448, 984, 1313, 198, 6738, 1341, 35720, 13, 29127, 62, 19849, 1330, 31652, 46384, 3314, 9487, 7483, 198, 6738, 1341, 35720, 13, 2616, 425, 62, 24406, 274, 1330, 6206, 280, 15516, 32819, 11, 7854, 259, 49070, 32819, 198, 6738, 1341, 35720, 13, 710, 394, 32289, 1330, 509, 46445, 32289, 9487, 7483, 198, 6738, 1341, 35720, 13, 1072, 11306, 1330, 14534, 34605, 9487, 7483, 198, 6738, 1341, 35720, 13, 29127, 62, 19849, 1330, 20614, 9487, 7483, 198, 6738, 2603, 29487, 8019, 1330, 12972, 29487, 355, 458, 83, 198, 6738, 1341, 35720, 13, 19849, 62, 49283, 1330, 3272, 62, 2100, 62, 26675, 198, 6738, 1341, 35720, 13, 3866, 36948, 1330, 1846, 10549, 198, 11748, 14601, 198, 11748, 629, 541, 88, 13, 34242, 198, 6738, 17268, 1330, 15034, 198, 198, 40539, 654, 13, 24455, 40539, 654, 7203, 46430, 1600, 6536, 28, 12156, 8344, 341, 20361, 8, 198, 198, 35009, 5959, 62, 49, 4944, 796, 6407, 198, 198, 34720, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 8, 1343, 705, 40720, 40720, 18, 62, 6601, 14, 6, 628, 628, 628, 628, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1388, 3419, 198 ]
3.375367
341
from pibootcmdline.parse import parse_parameter, Parameter def add_parameters(cmdline, *parameters): """ Parameters ---------- cmdline: list[Parameter] parsed command line to which to add parameters. *parameters: str list of string parameters. For example: 'key=value' or 'key' or 'key=value1,value2'. Returns ------- list[Parameter] the cmdline now also containing the added parameters. """ return cmdline + [parse_parameter(parameter) for parameter in parameters] def set_parameters(cmdline, *parameters): """ Parameters ---------- cmdline: list[Parameter] parsed command line to which to add parameters. *parameters: str list of string parameters. For example: 'key=value' or 'key' or 'key=value1,value2'. Returns ------- list[Parameter] the cmdline with changed or added parameters. """ new_params = [parse_parameter(param) for param in parameters] new_cmdline = [_set_value(to_param, new_params) for to_param in cmdline] for new_param in new_params: if _index_of_key(new_cmdline, new_param.key) is None: new_cmdline.append(new_param) return new_cmdline def add_to_value(cmdline, *parameters): """ This function will append comma-separated values to already existing values of a particular parameter. For example, if the command line already contains the parameter ``modules-load=dwc2`` and you call ` `add-list-value modules-load=g_ether`` then the resulting command line will contain ``modules-load=dwc2,g_ether``. Parameters ---------- cmdline: list[Parameter] parsed command line to which to add parameters. parameters: str list of string parameters. For example: 'key=value' or 'key' or 'key=value1,value2'. Returns ------- list[Parameter] the cmdline now also containing the added parameters. """ from_params = [parse_parameter(param) for param in parameters] new_cmdline = [_add_to_value(to_param, from_params) for to_param in cmdline] for from_param in from_params: if _index_of_key(new_cmdline, from_param.key) is None: new_cmdline.append(from_param) return new_cmdline
[ 6738, 279, 571, 1025, 28758, 1370, 13, 29572, 1330, 21136, 62, 17143, 2357, 11, 25139, 2357, 628, 198, 4299, 751, 62, 17143, 7307, 7, 28758, 1370, 11, 1635, 17143, 7307, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 23991, 1370, 25, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 44267, 3141, 1627, 284, 543, 284, 751, 10007, 13, 628, 220, 220, 220, 1635, 17143, 7307, 25, 965, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 4731, 10007, 13, 1114, 1672, 25, 705, 2539, 28, 8367, 6, 393, 705, 2539, 6, 393, 705, 2539, 28, 8367, 16, 11, 8367, 17, 4458, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 262, 23991, 1370, 783, 635, 7268, 262, 2087, 10007, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1441, 23991, 1370, 1343, 685, 29572, 62, 17143, 2357, 7, 17143, 2357, 8, 329, 11507, 287, 10007, 60, 628, 198, 4299, 900, 62, 17143, 7307, 7, 28758, 1370, 11, 1635, 17143, 7307, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 23991, 1370, 25, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 44267, 3141, 1627, 284, 543, 284, 751, 10007, 13, 628, 220, 220, 220, 1635, 17143, 7307, 25, 965, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 4731, 10007, 13, 1114, 1672, 25, 705, 2539, 28, 8367, 6, 393, 705, 2539, 6, 393, 705, 2539, 28, 8367, 16, 11, 8367, 17, 4458, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 262, 23991, 1370, 351, 3421, 393, 2087, 10007, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 649, 62, 37266, 796, 685, 29572, 62, 17143, 2357, 7, 17143, 8, 329, 5772, 287, 10007, 60, 198, 220, 220, 220, 649, 62, 28758, 1370, 796, 685, 62, 2617, 62, 8367, 7, 1462, 62, 17143, 11, 649, 62, 37266, 8, 329, 284, 62, 17143, 287, 23991, 1370, 60, 198, 220, 220, 220, 329, 649, 62, 17143, 287, 649, 62, 37266, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4808, 9630, 62, 1659, 62, 2539, 7, 3605, 62, 28758, 1370, 11, 649, 62, 17143, 13, 2539, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 62, 28758, 1370, 13, 33295, 7, 3605, 62, 17143, 8, 198, 220, 220, 220, 1441, 649, 62, 28758, 1370, 628, 198, 4299, 751, 62, 1462, 62, 8367, 7, 28758, 1370, 11, 1635, 17143, 7307, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 481, 24443, 39650, 12, 25512, 515, 3815, 284, 1541, 4683, 3815, 286, 257, 1948, 11507, 13, 198, 220, 220, 220, 1114, 1672, 11, 611, 262, 3141, 1627, 1541, 4909, 262, 11507, 7559, 18170, 12, 2220, 28, 67, 86, 66, 17, 15506, 290, 345, 869, 4600, 198, 220, 220, 220, 4600, 2860, 12, 4868, 12, 8367, 13103, 12, 2220, 28, 70, 62, 6750, 15506, 788, 262, 7186, 3141, 1627, 481, 3994, 7559, 18170, 12, 2220, 28, 67, 86, 66, 17, 11, 70, 62, 6750, 15506, 13, 628, 220, 220, 220, 40117, 198, 220, 220, 220, 24200, 438, 198, 220, 220, 220, 23991, 1370, 25, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 44267, 3141, 1627, 284, 543, 284, 751, 10007, 13, 628, 220, 220, 220, 10007, 25, 965, 198, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 4731, 10007, 13, 1114, 1672, 25, 705, 2539, 28, 8367, 6, 393, 705, 2539, 6, 393, 705, 2539, 28, 8367, 16, 11, 8367, 17, 4458, 628, 220, 220, 220, 16409, 198, 220, 220, 220, 35656, 198, 220, 220, 220, 1351, 58, 36301, 60, 198, 220, 220, 220, 220, 220, 220, 220, 262, 23991, 1370, 783, 635, 7268, 262, 2087, 10007, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 62, 37266, 796, 685, 29572, 62, 17143, 2357, 7, 17143, 8, 329, 5772, 287, 10007, 60, 198, 220, 220, 220, 649, 62, 28758, 1370, 796, 685, 62, 2860, 62, 1462, 62, 8367, 7, 1462, 62, 17143, 11, 422, 62, 37266, 8, 329, 284, 62, 17143, 287, 23991, 1370, 60, 198, 220, 220, 220, 329, 422, 62, 17143, 287, 422, 62, 37266, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 4808, 9630, 62, 1659, 62, 2539, 7, 3605, 62, 28758, 1370, 11, 422, 62, 17143, 13, 2539, 8, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 649, 62, 28758, 1370, 13, 33295, 7, 6738, 62, 17143, 8, 198, 220, 220, 220, 1441, 649, 62, 28758, 1370, 628, 628 ]
2.774786
817
from enum import IntEnum
[ 6738, 33829, 1330, 2558, 4834, 388 ]
4
6
from django.db import models from django.db.models import permalink from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from datetime import datetime from tagging.models import Tag from tagging.fields import TagField from autofields.fields import AutoSlugField from tumblog.managers import PublishedPostManager from tumblog.models import Blog class Post(models.Model): """ Tumblog Post Model """ title = models.CharField(max_length = 200) author = models.ForeignKey(User, blank=True, null=True) slug = AutoSlugField(prepopulate_from = 'title', unique = True) tags = TagField() pubtime = models.DateTimeField(null = True, blank = True) blog = models.ForeignKey(Blog) modtime = models.DateTimeField(auto_now = True) post_type = models.ForeignKey(ContentType) published = PublishedPostManager() objects = models.Manager() @property @property def publish(self, publish_time = None): """ Publish is basically a wrapper for save, which adjusts the recorded publish time on the post. If the publish_time parameter is given, then the post will be "published" after that time. If publish_time parameter is _not_ given, the publish_time is now, and the item is immediately published. """ if publish_time is None: publish_time = datetime.now() self.pubtime = publish_time self.save()
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 1330, 583, 31000, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 11299, 19199, 13, 27530, 1330, 14041, 6030, 198, 198, 6738, 4818, 8079, 1330, 4818, 8079, 198, 6738, 49620, 13, 27530, 1330, 17467, 198, 6738, 49620, 13, 25747, 1330, 17467, 15878, 198, 198, 6738, 1960, 1659, 1164, 82, 13, 25747, 1330, 11160, 11122, 1018, 15878, 198, 6738, 256, 2178, 6404, 13, 805, 10321, 1330, 26372, 6307, 13511, 198, 6738, 256, 2178, 6404, 13, 27530, 1330, 14001, 198, 198, 4871, 2947, 7, 27530, 13, 17633, 2599, 198, 220, 220, 220, 37227, 309, 2178, 6404, 2947, 9104, 37227, 198, 220, 220, 220, 3670, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 12441, 15878, 7, 9806, 62, 13664, 796, 939, 8, 198, 220, 220, 220, 1772, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 33616, 9218, 7, 12982, 11, 9178, 28, 17821, 11, 9242, 28, 17821, 8, 198, 220, 220, 220, 31065, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 11160, 11122, 1018, 15878, 7, 3866, 12924, 5039, 62, 6738, 796, 705, 7839, 3256, 3748, 796, 6407, 8, 198, 220, 220, 220, 15940, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 17467, 15878, 3419, 198, 220, 220, 220, 2240, 2435, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 10430, 7575, 15878, 7, 8423, 796, 6407, 11, 9178, 796, 6407, 8, 628, 220, 220, 220, 4130, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 33616, 9218, 7, 42383, 8, 628, 220, 220, 220, 953, 2435, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 10430, 7575, 15878, 7, 23736, 62, 2197, 796, 6407, 8, 198, 220, 220, 220, 1281, 62, 4906, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 33616, 9218, 7, 19746, 6030, 8, 628, 220, 220, 220, 3199, 220, 220, 220, 220, 220, 220, 796, 26372, 6307, 13511, 3419, 198, 220, 220, 220, 5563, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4981, 13, 13511, 3419, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 2488, 26745, 628, 220, 220, 220, 825, 7715, 7, 944, 11, 7715, 62, 2435, 796, 6045, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8525, 1836, 318, 6209, 257, 29908, 329, 3613, 11, 543, 46094, 262, 198, 220, 220, 220, 220, 220, 220, 220, 6264, 7715, 640, 319, 262, 1281, 13, 1002, 262, 7715, 62, 2435, 11507, 198, 220, 220, 220, 220, 220, 220, 220, 318, 1813, 11, 788, 262, 1281, 481, 307, 366, 30271, 1, 706, 326, 640, 13, 1002, 198, 220, 220, 220, 220, 220, 220, 220, 7715, 62, 2435, 11507, 318, 4808, 1662, 62, 1813, 11, 262, 7715, 62, 2435, 318, 783, 11, 198, 220, 220, 220, 220, 220, 220, 220, 290, 262, 2378, 318, 3393, 3199, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 7715, 62, 2435, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7715, 62, 2435, 796, 4818, 8079, 13, 2197, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 12984, 2435, 796, 7715, 62, 2435, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 21928, 3419, 628 ]
2.674617
587
#!/usr/bin/env python # encoding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import functools import torch import torch.nn as nn
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 201, 198, 2, 21004, 25, 3384, 69, 12, 23, 201, 198, 201, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 201, 198, 6738, 11593, 37443, 834, 1330, 7297, 201, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 201, 198, 201, 198, 11748, 18931, 201, 198, 11748, 1257, 310, 10141, 201, 198, 201, 198, 11748, 28034, 201, 198, 11748, 28034, 13, 20471, 355, 299, 77, 201, 198, 201, 198, 201, 198 ]
2.9375
80
from app import app import requests, sys, eventlet, socket from datetime import datetime, timedelta from .db import Server, Record, transaction, db from .notify import notify_state_changed from blinker import Namespace def handle_active_http(server): """ Handler for Active HTTP checking """ config = server.get_config() timeout = config['timeout'] url = config['url'] valid_status = config['validStatus'] record = server.new_record() try: r = requests.get(url, timeout=float(timeout) / 1000) if r.status_code in valid_status: record.online = True record.latency = int(r.elapsed / timedelta(milliseconds=1)) else: record.message = f"Unsuccessful status code: {r.status_code}" except requests.exceptions.Timeout as e: record.message = "Timed out" except requests.exceptions.ConnectionError as e: record.message = "Connection error" app.logger.debug("Check failed for [%s]: %s", server.label, e) except: e = sys.exc_info()[0] record.message = str(e) app.logger.debug("Check failed for [%s]: %s", server.label, e) return record def handle_active_tcp(server): """ Handler for Active TCP checking """ config = server.get_config() timeout = config['timeout'] address = config['address'] port = config['port'] record = server.new_record() try: c = socket.socket() ip = socket.gethostbyname(address) c.settimeout(int(timeout / 1000)) start = datetime.now() c.connect((ip, port)) end = datetime.now() c.close() record.online = True record.latency = (end - start) / timedelta(milliseconds=1) except Exception as e: record.message = str(e) return record def handle_server(server): """ Common handler for any server """ config = server.get_config() interval = config['interval'] last_record = server.last_record() if last_record and not last_record.expired(interval): return log_start(server) record = handlers[server.mode](server) log_record(record) with transaction(): db.session.add(record) signal_new_record.send(record=record) if last_record and record.online != last_record.online: log_state_changed(server, record) notify_state_changed(server, record) handlers = { 'active-http': handle_active_http, 'passive-http': handle_passive_http, 'active-tcp': handle_active_tcp } signals = Namespace() signal_new_record = signals.signal('new-record')
[ 6738, 598, 1330, 598, 198, 11748, 7007, 11, 25064, 11, 1785, 1616, 11, 17802, 198, 6738, 4818, 8079, 1330, 4818, 8079, 11, 28805, 12514, 198, 6738, 764, 9945, 1330, 9652, 11, 13266, 11, 8611, 11, 20613, 198, 6738, 764, 1662, 1958, 1330, 19361, 62, 5219, 62, 40985, 198, 6738, 21019, 263, 1330, 28531, 10223, 628, 628, 198, 198, 4299, 5412, 62, 5275, 62, 4023, 7, 15388, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 32412, 329, 14199, 14626, 10627, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4566, 796, 4382, 13, 1136, 62, 11250, 3419, 198, 220, 220, 220, 26827, 796, 4566, 17816, 48678, 20520, 198, 220, 220, 220, 19016, 796, 4566, 17816, 6371, 20520, 198, 220, 220, 220, 4938, 62, 13376, 796, 4566, 17816, 12102, 19580, 20520, 628, 220, 220, 220, 1700, 796, 4382, 13, 3605, 62, 22105, 3419, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 374, 796, 7007, 13, 1136, 7, 6371, 11, 26827, 28, 22468, 7, 48678, 8, 1220, 8576, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 374, 13, 13376, 62, 8189, 287, 4938, 62, 13376, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 25119, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 15460, 1387, 796, 493, 7, 81, 13, 417, 28361, 1220, 28805, 12514, 7, 17805, 27866, 24764, 28, 16, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20500, 796, 277, 1, 3118, 17212, 3722, 2438, 25, 1391, 81, 13, 13376, 62, 8189, 36786, 198, 220, 220, 220, 2845, 7007, 13, 1069, 11755, 13, 48031, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20500, 796, 366, 14967, 276, 503, 1, 198, 220, 220, 220, 2845, 7007, 13, 1069, 11755, 13, 32048, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20500, 796, 366, 32048, 4049, 1, 198, 220, 220, 220, 220, 220, 220, 220, 598, 13, 6404, 1362, 13, 24442, 7203, 9787, 4054, 329, 685, 4, 82, 5974, 4064, 82, 1600, 4382, 13, 18242, 11, 304, 8, 198, 220, 220, 220, 2845, 25, 198, 220, 220, 220, 220, 220, 220, 220, 304, 796, 25064, 13, 41194, 62, 10951, 3419, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20500, 796, 965, 7, 68, 8, 198, 220, 220, 220, 220, 220, 220, 220, 598, 13, 6404, 1362, 13, 24442, 7203, 9787, 4054, 329, 685, 4, 82, 5974, 4064, 82, 1600, 4382, 13, 18242, 11, 304, 8, 628, 220, 220, 220, 1441, 1700, 628, 198, 4299, 5412, 62, 5275, 62, 83, 13155, 7, 15388, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 32412, 329, 14199, 23633, 10627, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4566, 796, 4382, 13, 1136, 62, 11250, 3419, 198, 220, 220, 220, 26827, 796, 4566, 17816, 48678, 20520, 198, 220, 220, 220, 2209, 796, 4566, 17816, 21975, 20520, 198, 220, 220, 220, 2493, 796, 4566, 17816, 634, 20520, 628, 220, 220, 220, 1700, 796, 4382, 13, 3605, 62, 22105, 3419, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 269, 796, 17802, 13, 44971, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 20966, 796, 17802, 13, 1136, 4774, 1525, 3672, 7, 21975, 8, 198, 220, 220, 220, 220, 220, 220, 220, 269, 13, 2617, 48678, 7, 600, 7, 48678, 1220, 8576, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 923, 796, 4818, 8079, 13, 2197, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 269, 13, 8443, 19510, 541, 11, 2493, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 886, 796, 4818, 8079, 13, 2197, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 269, 13, 19836, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 25119, 796, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 15460, 1387, 796, 357, 437, 532, 923, 8, 1220, 28805, 12514, 7, 17805, 27866, 24764, 28, 16, 8, 198, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1700, 13, 20500, 796, 965, 7, 68, 8, 628, 220, 220, 220, 1441, 1700, 628, 198, 198, 4299, 5412, 62, 15388, 7, 15388, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 8070, 21360, 329, 597, 4382, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4566, 796, 4382, 13, 1136, 62, 11250, 3419, 198, 220, 220, 220, 16654, 796, 4566, 17816, 3849, 2100, 20520, 628, 220, 220, 220, 938, 62, 22105, 796, 4382, 13, 12957, 62, 22105, 3419, 198, 220, 220, 220, 611, 938, 62, 22105, 290, 407, 938, 62, 22105, 13, 1069, 6474, 7, 3849, 2100, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 628, 220, 220, 220, 2604, 62, 9688, 7, 15388, 8, 198, 220, 220, 220, 1700, 796, 32847, 58, 15388, 13, 14171, 16151, 15388, 8, 198, 220, 220, 220, 2604, 62, 22105, 7, 22105, 8, 628, 220, 220, 220, 351, 8611, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 20613, 13, 29891, 13, 2860, 7, 22105, 8, 628, 220, 220, 220, 6737, 62, 3605, 62, 22105, 13, 21280, 7, 22105, 28, 22105, 8, 628, 220, 220, 220, 611, 938, 62, 22105, 290, 1700, 13, 25119, 14512, 938, 62, 22105, 13, 25119, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2604, 62, 5219, 62, 40985, 7, 15388, 11, 1700, 8, 198, 220, 220, 220, 220, 220, 220, 220, 19361, 62, 5219, 62, 40985, 7, 15388, 11, 1700, 8, 628, 198, 198, 4993, 8116, 796, 1391, 198, 220, 220, 220, 705, 5275, 12, 4023, 10354, 5412, 62, 5275, 62, 4023, 11, 198, 220, 220, 220, 705, 6603, 425, 12, 4023, 10354, 5412, 62, 6603, 425, 62, 4023, 11, 198, 220, 220, 220, 705, 5275, 12, 83, 13155, 10354, 5412, 62, 5275, 62, 83, 13155, 198, 92, 198, 198, 12683, 874, 796, 28531, 10223, 3419, 198, 12683, 282, 62, 3605, 62, 22105, 796, 10425, 13, 12683, 282, 10786, 3605, 12, 22105, 11537 ]
2.557171
1,032
#! /usr/bin/env python2.7 """ This file contain Ur5Moveit class to control bot and rviz planning scene. """ import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg import actionlib from pkg_vb_sim.srv import conveyorBeltPowerMsg import math import sys import copy from std_srvs.srv import Empty import sys from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError from pyzbar.pyzbar import decode def define_joint_angle_list(shoulder_pan_joint, shoulder_lift_joint, elbow_joint, wrist_1_joint, wrist_2_joint, wrist_3_joint): """ This function takes float values for each joint and returns a list. :param shoulder_pan_joint: shoulder pan joint angle :param shoulder_lift_joint: shoulder lift join angle :param elbow_joint: elbow joint angle :param wrist_1_joint: wrist 1 joint angle :param wrist_2_joint: wrist 2 joint angle :param wrist_3_joint: wrist 3 joint angle :return: list of all joint angles """ joint_angles = [math.radians(shoulder_pan_joint), math.radians(shoulder_lift_joint), math.radians(elbow_joint), math.radians(wrist_1_joint), math.radians(wrist_2_joint), math.radians(wrist_3_joint)] return joint_angles def define_pose(x, y, z): """ This function define geometry_msgs.msg.Pose() from giving coordinates. :param x: x coordinate :param y: y coordinate :param z: z coordinate :return: ur5_pose of type geometry_msgs.msg.Pose() containing x,y,z coordinate. """ ur5_pose = geometry_msgs.msg.Pose() ur5_pose.position.x = x ur5_pose.position.y = y ur5_pose.position.z = z ur5_pose.orientation.x = -0.5 ur5_pose.orientation.y = -0.5 ur5_pose.orientation.z = 0.5 ur5_pose.orientation.w = 0.5 return ur5_pose def get_item_details(item): """ This function finds packgen details using item :param item: item is a string containing packgen content type :return: it returns dict of details of packgen. """ details = {'Estimated Time of Delivery':'Na','priority':'Na','cost':'Na','item':'Na'} if item == u'Medicines' or item == u'Medicine': details = {'priority':'HP','cost':'450','Estimated Time of Delivery':'1','item':'Medicines'} elif item == u'Food': details = {'priority':'MP','cost':'250','Estimated Time of Delivery':'3',"item":'Food'} elif item == u'Clothes': details = {'priority':'LP','cost':'150','Estimated Time of Delivery':'5','item':'Clothes'} return details class Ur5Moveit: """ This class enables bot and rviz connection, and setup the configuration of ur5 bot. Select bot name, planning group ,etc. """ def __init__(self,robot_name): """ Constructor :param robot_name: name of bot which you want to control. """ self.is_conver_active = False self._box_name = 'box' self.box_name = 'box' self._robot_ns = '/'+robot_name self._planning_group = "manipulator" self._commander = moveit_commander.roscpp_initialize(sys.argv) self._robot = moveit_commander.RobotCommander(robot_description= self._robot_ns + "/robot_description", ns=self._robot_ns) self._scene = moveit_commander.PlanningSceneInterface(ns=self._robot_ns) self._group = moveit_commander.MoveGroupCommander(self._planning_group, robot_description= self._robot_ns + "/robot_description", ns=self._robot_ns) self._display_trajectory_publisher = rospy.Publisher( self._robot_ns + '/move_group/display_planned_path', moveit_msgs.msg.DisplayTrajectory, queue_size=1) self._exectute_trajectory_client = actionlib.SimpleActionClient( self._robot_ns + '/execute_trajectory', moveit_msgs.msg.ExecuteTrajectoryAction) self._exectute_trajectory_client.wait_for_server() self._planning_frame = self._group.get_planning_frame() self._eef_link = self._group.get_end_effector_link() self._group_names = self._robot.get_group_names() self._computed_plan = '' # Current State of the Robot is needed to add box to planning scene self._curr_state = self._robot.get_current_state() rospy.loginfo('\033[94m' + "Planning Group: {}".format(self._planning_frame) + '\033[0m') rospy.loginfo('\033[94m' + "End Effector Link: {}".format(self._eef_link) + '\033[0m') rospy.loginfo('\033[94m' + "Group Names: {}".format(self._group_names) + '\033[0m') rospy.loginfo('\033[94m' + " >>> ur5_moveit init done." + '\033[0m') @property def ee_cartesian_translation(self, trans_x, trans_y, trans_z): """ This function helps in translating bot in x,y,z direction using cartesian coordinate system. :param trans_x: Displacement in x direction. :param trans_y: Displacement in y direction. :param trans_z: Displacement in z direction. """ # 1. Create a empty list to hold waypoints waypoints = [self._group.get_current_pose().pose] # 2. Add Current Pose to the list of waypoints # 3. Create a New waypoint wpose = geometry_msgs.msg.Pose() wpose.position.x = waypoints[0].position.x + trans_x wpose.position.y = waypoints[0].position.y + trans_y wpose.position.z = waypoints[0].position.z + trans_z # This to keep EE parallel to Ground Plane wpose.orientation.x = -0.5 wpose.orientation.y = -0.5 wpose.orientation.z = 0.5 wpose.orientation.w = 0.5 # 4. Add the new waypoint to the list of waypoints waypoints.append(copy.deepcopy(wpose)) # 5. Compute Cartesian Path connecting the waypoints in the list of waypoints (plan, fraction) = self._group.compute_cartesian_path( waypoints, # waypoints to follow 0.01, # Step Size, distance between two adjacent computed waypoints will be 1 cm 0.0) # Jump Threshold rospy.loginfo("Path computed successfully. Moving the arm.") # The reason for deleting the first two waypoints from the computed Cartesian Path can be found here, # https://answers.ros.org/question/253004/moveit-problem-error-trajectory-message-contains-waypoints-that-are-not-strictly-increasing-in-time/?answer=257488#post-id-257488 num_pts = len(plan.joint_trajectory.points) if num_pts >= 3: del plan.joint_trajectory.points[0] del plan.joint_trajectory.points[1] # 6. Make the arm follow the Computed Cartesian Path self._group.execute(plan) def wait_for_state_update(self, box_is_known=False, box_is_attached=False,box_name='box', timeout=4): """ Check status of box in rviz :param timeout: time period :param box_is_known: State of box :param box_is_attached: State of box :param box_name: Name of box in rviz :return: boolean """ box_name = box_name or self.box_name scene = self._scene start = rospy.get_time() seconds = rospy.get_time() while (seconds - start < timeout) and not rospy.is_shutdown(): # Test if the box is in attached objects attached_objects = scene.get_attached_objects([box_name]) is_attached = len(attached_objects.keys()) > 0 # Test if the box is in the scene. # Note that attaching the box will remove it from known_objects is_known = box_name in scene.get_known_object_names() # Test if we are in the expected state if (box_is_attached == is_attached) and (box_is_known == is_known): print("box is attached") return True # Sleep so that we give other threads time on the processor rospy.sleep(0.1) # If we exited the while loop without returning then we timed out return False ## END_SUB_TUTORIAL def add_box(self,x,y,z,b_name): """ This function adds a box in rviz planning scene. :param x: x coordinate of box :param y: y coordinate of box :param z: z coordinate of box :param b_name: name to be given to the box in planning scene :return: boolean """ box_name = b_name or self.box_name scene = self._scene box_pose = geometry_msgs.msg.PoseStamped() box_pose.header.frame_id = "world" box_pose.pose.orientation.w = 0.0 box_pose.pose.position.x = x #0.02 box_pose.pose.position.y = y # 0.45 box_pose.pose.position.z = z scene.add_box(box_name, box_pose, size=(0.15, 0.15, 0.15)) self.box_name=box_name return self.wait_for_state_update(box_is_known=True, box_name=box_name,timeout=4) def attach_box(self,b_name, timeout=4): """ This function attach to box with vacuum gripper in rviz planning scene to avoid collision :param b_name:box name which needs to be attached. :param timeout: time period :return: boolean """ box_name = b_name or self.box_name robot = self._robot scene = self._scene eef_link = self._eef_link grasping_group = self._planning_group touch_links = robot.get_link_names(group=grasping_group) scene.attach_box(eef_link, box_name, touch_links=touch_links) return self.wait_for_state_update(box_is_attached=True, box_is_known=False,box_name=box_name, timeout=timeout) def detach_box(self,b_name, timeout=4): """ This function detach to box from vacuum gripper in rviz planning scene to avoid collision :param b_name:box name which needs to be detached. :param timeout: time period :return: boolean """ box_name = b_name or self.box_name scene = self._scene eef_link = self._eef_link scene.remove_attached_object(eef_link, name=box_name) # We wait for the planning scene to update. return self.wait_for_state_update(box_is_known=True, box_is_attached=False,box_name=box_name, timeout=timeout) def remove_box(self,b_name, timeout=4): """ This function removes box form rviz planning scene. :param timeout: time period :param b_name: name of box which need to be removed from planning scene :return: boolean """ box_name = b_name or self.box_name scene = self._scene scene.remove_world_object(box_name) return self.wait_for_state_update(box_is_attached=False, box_is_known=False,box_name=box_name, timeout=timeout) def go_to_pose(self, arg_pose): """ This function plans path to a pose and move ur5 to that pose. :param arg_pose: pose of desired location of type geometry_msgs.msg.Pose() :return: boolean """ pose_values = self._group.get_current_pose().pose rospy.loginfo('\033[94m' + ">>> Current Pose:" + '\033[0m') rospy.loginfo(pose_values) self._group.set_pose_target(arg_pose) flag_plan = self._group.go(wait=True) # wait=False for Async Move pose_values = self._group.get_current_pose().pose rospy.loginfo('\033[94m' + ">>> Final Pose:" + '\033[0m') rospy.loginfo(pose_values) list_joint_values = self._group.get_current_joint_values() rospy.loginfo('\033[94m' + ">>> Final Joint Values:" + '\033[0m') rospy.loginfo(list_joint_values) if flag_plan: rospy.loginfo('\033[94m' + ">>> go_to_pose_angle() Success" + '\033[0m') else: rospy.logerr( '\033[94m' + ">>> go_to_pose() Failed. Solution for Pose not Found." + '\033[0m') return flag_plan def hard_go_to_pose(self, arg_pose, arg_max_attempts): """ This function calls go_to_pose() function multiple time until it succeed or reaches maximum attempt limit. :param arg_pose: pose of desired location of type geometry_msgs.msg.Pose() :param arg_max_attempts: maximum attempts for calling go_to_pose() :return: boolean """ number_attempts = 0 flag_success = False while (number_attempts <= arg_max_attempts) and (flag_success is False): number_attempts += 1 flag_success = self.go_to_pose(arg_pose) rospy.logwarn("attempts: {}".format(number_attempts) ) return flag_success def set_joint_angles(self, arg_list_joint_angles): """ This function sets angle of each joint of ur5 to reach a specific position. :param arg_list_joint_angles: list of joints :return: boolean """ self._group.set_joint_value_target(arg_list_joint_angles) self._computed_plan = self._group.plan() flag_plan = self._group.go(wait=True) if flag_plan: rospy.loginfo( '\033[94m' + ">>> set_joint_angles() Success" + '\033[0m') else: rospy.logerr( '\033[94m' + ">>> set_joint_angles() Failed." + '\033[0m') return flag_plan def hard_set_joint_angles(self, arg_list_joint_angles, arg_max_attempts): """ This function calls set_joint_angles() multiple times until it succeed or reaches maximum attempt limit :param arg_list_joint_angles: list of all joint angles :param arg_max_attempts: maximum attempt :return: boolean """ number_attempts = 0 flag_success = False while (number_attempts <= arg_max_attempts) and (flag_success is False): number_attempts += 1 flag_success = self.set_joint_angles(arg_list_joint_angles) rospy.logwarn("attempts: {}".format(number_attempts) ) # self.clear_octomap() return flag_success def trigger_converbelt(self,value): """ this function sets belt speed using ros service :param value: value of speed. :return: null """ x = rospy.ServiceProxy('eyrc/vb/conveyor/set_power', conveyorBeltPowerMsg) y = x(value) print(y) self.is_conver_active = value def __del__(self): """ Destructor :return: null """ moveit_commander.roscpp_shutdown() rospy.loginfo( '\033[94m' + "Object of class ur5_moveit Deleted." + '\033[0m')
[ 2, 0, 1220, 14629, 14, 8800, 14, 24330, 21015, 17, 13, 22, 198, 37811, 198, 1212, 2393, 3994, 8799, 20, 21774, 270, 1398, 284, 1630, 10214, 290, 374, 85, 528, 5410, 3715, 13, 198, 37811, 198, 11748, 686, 2777, 88, 198, 11748, 1445, 270, 62, 9503, 4066, 198, 11748, 1445, 270, 62, 907, 14542, 13, 19662, 198, 11748, 22939, 62, 907, 14542, 13, 19662, 198, 11748, 2223, 8019, 198, 6738, 279, 10025, 62, 85, 65, 62, 14323, 13, 27891, 85, 1330, 13878, 273, 33, 2120, 13434, 50108, 198, 11748, 10688, 198, 11748, 25064, 198, 11748, 4866, 198, 6738, 14367, 62, 27891, 14259, 13, 27891, 85, 1330, 33523, 198, 11748, 25064, 198, 6738, 14367, 62, 907, 14542, 13, 19662, 1330, 10903, 198, 6738, 12694, 62, 907, 14542, 13, 19662, 1330, 7412, 198, 6738, 269, 85, 62, 9458, 1330, 327, 85, 37385, 11, 327, 85, 37385, 12331, 198, 6738, 12972, 89, 5657, 13, 9078, 89, 5657, 1330, 36899, 628, 198, 4299, 8160, 62, 73, 1563, 62, 9248, 62, 4868, 7, 1477, 17601, 62, 6839, 62, 73, 1563, 11, 8163, 62, 26282, 62, 73, 1563, 11, 22662, 62, 73, 1563, 11, 15980, 62, 16, 62, 73, 1563, 11, 15980, 62, 17, 62, 73, 1563, 11, 15980, 62, 18, 62, 73, 1563, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 2753, 12178, 3815, 329, 1123, 6466, 290, 5860, 257, 1351, 13, 198, 220, 220, 220, 1058, 17143, 8163, 62, 6839, 62, 73, 1563, 25, 8163, 3425, 6466, 9848, 198, 220, 220, 220, 1058, 17143, 8163, 62, 26282, 62, 73, 1563, 25, 8163, 10303, 4654, 9848, 198, 220, 220, 220, 1058, 17143, 22662, 62, 73, 1563, 25, 22662, 6466, 9848, 198, 220, 220, 220, 1058, 17143, 15980, 62, 16, 62, 73, 1563, 25, 15980, 352, 6466, 9848, 198, 220, 220, 220, 1058, 17143, 15980, 62, 17, 62, 73, 1563, 25, 15980, 362, 6466, 9848, 198, 220, 220, 220, 1058, 17143, 15980, 62, 18, 62, 73, 1563, 25, 15980, 513, 6466, 9848, 198, 220, 220, 220, 1058, 7783, 25, 1351, 286, 477, 6466, 18333, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 6466, 62, 27787, 796, 685, 11018, 13, 6335, 1547, 7, 1477, 17601, 62, 6839, 62, 73, 1563, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10688, 13, 6335, 1547, 7, 1477, 17601, 62, 26282, 62, 73, 1563, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10688, 13, 6335, 1547, 7, 417, 8176, 62, 73, 1563, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10688, 13, 6335, 1547, 7, 86, 1585, 62, 16, 62, 73, 1563, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10688, 13, 6335, 1547, 7, 86, 1585, 62, 17, 62, 73, 1563, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10688, 13, 6335, 1547, 7, 86, 1585, 62, 18, 62, 73, 1563, 15437, 198, 220, 220, 220, 1441, 6466, 62, 27787, 628, 198, 4299, 8160, 62, 3455, 7, 87, 11, 331, 11, 1976, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 8160, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 422, 3501, 22715, 13, 198, 220, 220, 220, 1058, 17143, 2124, 25, 2124, 20435, 198, 220, 220, 220, 1058, 17143, 331, 25, 331, 20435, 198, 220, 220, 220, 1058, 17143, 1976, 25, 1976, 20435, 198, 220, 220, 220, 1058, 7783, 25, 2956, 20, 62, 3455, 286, 2099, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 7268, 2124, 11, 88, 11, 89, 20435, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2956, 20, 62, 3455, 796, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 9150, 13, 87, 796, 2124, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 9150, 13, 88, 796, 331, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 9150, 13, 89, 796, 1976, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 13989, 341, 13, 87, 796, 532, 15, 13, 20, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 13989, 341, 13, 88, 796, 532, 15, 13, 20, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 13989, 341, 13, 89, 796, 657, 13, 20, 198, 220, 220, 220, 2956, 20, 62, 3455, 13, 13989, 341, 13, 86, 796, 657, 13, 20, 198, 220, 220, 220, 1441, 2956, 20, 62, 3455, 628, 198, 4299, 651, 62, 9186, 62, 36604, 7, 9186, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 2163, 7228, 2353, 5235, 3307, 1262, 2378, 198, 220, 220, 220, 1058, 17143, 2378, 25, 2378, 318, 257, 4731, 7268, 2353, 5235, 2695, 2099, 198, 220, 220, 220, 1058, 7783, 25, 340, 5860, 8633, 286, 3307, 286, 2353, 5235, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3307, 796, 1391, 6, 22362, 15655, 3862, 286, 28682, 10354, 6, 26705, 41707, 49336, 10354, 6, 26705, 41707, 15805, 10354, 6, 26705, 41707, 9186, 10354, 6, 26705, 6, 92, 628, 220, 220, 220, 611, 2378, 6624, 334, 6, 39112, 1127, 6, 393, 2378, 6624, 334, 6, 39112, 500, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3307, 796, 1391, 6, 49336, 10354, 6, 14082, 41707, 15805, 10354, 6, 17885, 41707, 22362, 15655, 3862, 286, 28682, 10354, 6, 16, 41707, 9186, 10354, 6, 39112, 1127, 6, 92, 198, 220, 220, 220, 1288, 361, 2378, 6624, 334, 6, 24602, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3307, 796, 1391, 6, 49336, 10354, 6, 7378, 41707, 15805, 10354, 6, 9031, 41707, 22362, 15655, 3862, 286, 28682, 10354, 6, 18, 40264, 9186, 1298, 6, 24602, 6, 92, 198, 220, 220, 220, 1288, 361, 2378, 6624, 334, 6, 2601, 31690, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 3307, 796, 1391, 6, 49336, 10354, 6, 19930, 41707, 15805, 10354, 6, 8628, 41707, 22362, 15655, 3862, 286, 28682, 10354, 6, 20, 41707, 9186, 10354, 6, 2601, 31690, 6, 92, 628, 220, 220, 220, 1441, 3307, 628, 198, 4871, 8799, 20, 21774, 270, 25, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 770, 1398, 13536, 10214, 290, 374, 85, 528, 4637, 11, 290, 9058, 262, 8398, 286, 2956, 20, 10214, 13, 198, 220, 220, 220, 9683, 10214, 1438, 11, 5410, 1448, 837, 14784, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 305, 13645, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 28407, 273, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 9379, 62, 3672, 25, 1438, 286, 10214, 543, 345, 765, 284, 1630, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 271, 62, 1102, 332, 62, 5275, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 3524, 62, 3672, 796, 705, 3524, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3524, 62, 3672, 796, 705, 3524, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 305, 13645, 62, 5907, 796, 31051, 6, 10, 305, 13645, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 11578, 768, 62, 8094, 796, 366, 805, 541, 8927, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 9503, 4066, 796, 1445, 270, 62, 9503, 4066, 13, 45943, 381, 62, 36733, 1096, 7, 17597, 13, 853, 85, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 305, 13645, 796, 1445, 270, 62, 9503, 4066, 13, 14350, 313, 6935, 4066, 7, 305, 13645, 62, 11213, 28, 2116, 13557, 305, 13645, 62, 5907, 1343, 12813, 305, 13645, 62, 11213, 1600, 36545, 28, 944, 13557, 305, 13645, 62, 5907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 29734, 796, 1445, 270, 62, 9503, 4066, 13, 20854, 768, 36542, 39317, 7, 5907, 28, 944, 13557, 305, 13645, 62, 5907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8094, 796, 1445, 270, 62, 9503, 4066, 13, 21774, 13247, 6935, 4066, 7, 944, 13557, 11578, 768, 62, 8094, 11, 9379, 62, 11213, 28, 2116, 13557, 305, 13645, 62, 5907, 1343, 12813, 305, 13645, 62, 11213, 1600, 36545, 28, 944, 13557, 305, 13645, 62, 5907, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 13812, 62, 9535, 752, 652, 62, 12984, 8191, 796, 686, 2777, 88, 13, 46471, 7, 2116, 13557, 305, 13645, 62, 5907, 1343, 31051, 21084, 62, 8094, 14, 13812, 62, 36800, 62, 6978, 3256, 1445, 270, 62, 907, 14542, 13, 19662, 13, 23114, 15721, 752, 652, 11, 16834, 62, 7857, 28, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 1069, 478, 1133, 62, 9535, 752, 652, 62, 16366, 796, 2223, 8019, 13, 26437, 12502, 11792, 7, 2116, 13557, 305, 13645, 62, 5907, 1343, 31051, 41049, 62, 9535, 752, 652, 3256, 1445, 270, 62, 907, 14542, 13, 19662, 13, 23002, 1133, 15721, 752, 652, 12502, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 1069, 478, 1133, 62, 9535, 752, 652, 62, 16366, 13, 17077, 62, 1640, 62, 15388, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 11578, 768, 62, 14535, 796, 2116, 13557, 8094, 13, 1136, 62, 11578, 768, 62, 14535, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 68, 891, 62, 8726, 796, 2116, 13557, 8094, 13, 1136, 62, 437, 62, 10760, 273, 62, 8726, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8094, 62, 14933, 796, 2116, 13557, 305, 13645, 13, 1136, 62, 8094, 62, 14933, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 785, 17128, 62, 11578, 796, 10148, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 9236, 1812, 286, 262, 16071, 318, 2622, 284, 751, 3091, 284, 5410, 3715, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 22019, 81, 62, 5219, 796, 2116, 13557, 305, 13645, 13, 1136, 62, 14421, 62, 5219, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 20854, 768, 4912, 25, 23884, 1911, 18982, 7, 944, 13557, 11578, 768, 62, 14535, 8, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 12915, 7896, 273, 7502, 25, 23884, 1911, 18982, 7, 944, 13557, 68, 891, 62, 8726, 8, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 13247, 28531, 25, 23884, 1911, 18982, 7, 944, 13557, 8094, 62, 14933, 8, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 13163, 2956, 20, 62, 21084, 270, 2315, 1760, 526, 1343, 705, 59, 44427, 58, 15, 76, 11537, 628, 220, 220, 220, 2488, 26745, 628, 198, 220, 220, 220, 825, 304, 68, 62, 26674, 35610, 62, 41519, 7, 944, 11, 1007, 62, 87, 11, 1007, 62, 88, 11, 1007, 62, 89, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 5419, 287, 34665, 10214, 287, 2124, 11, 88, 11, 89, 4571, 1262, 6383, 35610, 20435, 1080, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1007, 62, 87, 25, 3167, 489, 5592, 287, 2124, 4571, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1007, 62, 88, 25, 3167, 489, 5592, 287, 331, 4571, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1007, 62, 89, 25, 3167, 489, 5592, 287, 1976, 4571, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 352, 13, 13610, 257, 6565, 1351, 284, 1745, 835, 13033, 198, 220, 220, 220, 220, 220, 220, 220, 835, 13033, 796, 685, 944, 13557, 8094, 13, 1136, 62, 14421, 62, 3455, 22446, 3455, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 362, 13, 3060, 9236, 37557, 284, 262, 1351, 286, 835, 13033, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 513, 13, 13610, 257, 968, 835, 4122, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 796, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 9150, 13, 87, 796, 835, 13033, 58, 15, 4083, 9150, 13, 87, 1343, 1007, 62, 87, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 9150, 13, 88, 796, 835, 13033, 58, 15, 4083, 9150, 13, 88, 1343, 1007, 62, 88, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 9150, 13, 89, 796, 835, 13033, 58, 15, 4083, 9150, 13, 89, 1343, 1007, 62, 89, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 770, 284, 1394, 27254, 10730, 284, 13706, 36829, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 13989, 341, 13, 87, 796, 532, 15, 13, 20, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 13989, 341, 13, 88, 796, 532, 15, 13, 20, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 13989, 341, 13, 89, 796, 657, 13, 20, 198, 220, 220, 220, 220, 220, 220, 220, 266, 3455, 13, 13989, 341, 13, 86, 796, 657, 13, 20, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 604, 13, 3060, 262, 649, 835, 4122, 284, 262, 1351, 286, 835, 13033, 198, 220, 220, 220, 220, 220, 220, 220, 835, 13033, 13, 33295, 7, 30073, 13, 22089, 30073, 7, 86, 3455, 4008, 628, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 642, 13, 3082, 1133, 13690, 35610, 10644, 14320, 262, 835, 13033, 287, 262, 1351, 286, 835, 13033, 198, 220, 220, 220, 220, 220, 220, 220, 357, 11578, 11, 13390, 8, 796, 2116, 13557, 8094, 13, 5589, 1133, 62, 26674, 35610, 62, 6978, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 835, 13033, 11, 220, 220, 1303, 835, 13033, 284, 1061, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 486, 11, 220, 220, 220, 220, 220, 220, 220, 1303, 5012, 12849, 11, 5253, 1022, 734, 15909, 29231, 835, 13033, 481, 307, 352, 12067, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 15, 8, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 15903, 536, 10126, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7203, 15235, 29231, 7675, 13, 26768, 262, 3211, 19570, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 383, 1738, 329, 34817, 262, 717, 734, 835, 13033, 422, 262, 29231, 13690, 35610, 10644, 460, 307, 1043, 994, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 3740, 1378, 504, 86, 364, 13, 4951, 13, 2398, 14, 25652, 14, 1495, 6200, 19, 14, 21084, 270, 12, 45573, 12, 18224, 12, 9535, 752, 652, 12, 20500, 12, 3642, 1299, 12, 1014, 13033, 12, 5562, 12, 533, 12, 1662, 12, 301, 2012, 306, 12, 42647, 12, 259, 12, 2435, 20924, 41484, 28, 28676, 33646, 2, 7353, 12, 312, 12, 28676, 33646, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 457, 82, 796, 18896, 7, 11578, 13, 73, 1563, 62, 9535, 752, 652, 13, 13033, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 997, 62, 457, 82, 18189, 513, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 1410, 13, 73, 1563, 62, 9535, 752, 652, 13, 13033, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1619, 1410, 13, 73, 1563, 62, 9535, 752, 652, 13, 13033, 58, 16, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 718, 13, 6889, 262, 3211, 1061, 262, 955, 17128, 13690, 35610, 10644, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8094, 13, 41049, 7, 11578, 8, 628, 220, 220, 220, 825, 4043, 62, 1640, 62, 5219, 62, 19119, 7, 944, 11, 3091, 62, 271, 62, 4002, 28, 25101, 11, 3091, 62, 271, 62, 1078, 2317, 28, 25101, 11, 3524, 62, 3672, 11639, 3524, 3256, 26827, 28, 19, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 6822, 3722, 286, 3091, 287, 374, 85, 528, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 26827, 25, 640, 2278, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 3091, 62, 271, 62, 4002, 25, 1812, 286, 3091, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 3091, 62, 271, 62, 1078, 2317, 25, 1812, 286, 3091, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 3091, 62, 3672, 25, 6530, 286, 3091, 287, 374, 85, 528, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3672, 796, 3091, 62, 3672, 393, 2116, 13, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 796, 2116, 13557, 29734, 198, 220, 220, 220, 220, 220, 220, 220, 923, 796, 686, 2777, 88, 13, 1136, 62, 2435, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 4201, 796, 686, 2777, 88, 13, 1136, 62, 2435, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 981, 357, 43012, 532, 923, 1279, 26827, 8, 290, 407, 686, 2777, 88, 13, 271, 62, 49625, 2902, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 611, 262, 3091, 318, 287, 7223, 5563, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7223, 62, 48205, 796, 3715, 13, 1136, 62, 1078, 2317, 62, 48205, 26933, 3524, 62, 3672, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 1078, 2317, 796, 18896, 7, 1078, 2317, 62, 48205, 13, 13083, 28955, 1875, 657, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 611, 262, 3091, 318, 287, 262, 3715, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 5740, 326, 39550, 262, 3091, 481, 4781, 340, 422, 1900, 62, 48205, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 4002, 796, 3091, 62, 3672, 287, 3715, 13, 1136, 62, 4002, 62, 15252, 62, 14933, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 6208, 611, 356, 389, 287, 262, 2938, 1181, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 357, 3524, 62, 271, 62, 1078, 2317, 6624, 318, 62, 1078, 2317, 8, 290, 357, 3524, 62, 271, 62, 4002, 6624, 318, 62, 4002, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 3524, 318, 7223, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 628, 220, 220, 220, 220, 220, 1303, 17376, 523, 326, 356, 1577, 584, 14390, 640, 319, 262, 12649, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 42832, 7, 15, 13, 16, 8, 628, 220, 220, 220, 220, 1303, 1002, 356, 34710, 262, 981, 9052, 1231, 8024, 788, 356, 28805, 503, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 22492, 23578, 62, 50, 10526, 62, 51, 3843, 1581, 12576, 628, 198, 220, 220, 220, 825, 751, 62, 3524, 7, 944, 11, 87, 11, 88, 11, 89, 11, 65, 62, 3672, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 6673, 257, 3091, 287, 374, 85, 528, 5410, 3715, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 2124, 25, 2124, 20435, 286, 3091, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 331, 25, 331, 20435, 286, 3091, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1976, 25, 1976, 20435, 286, 3091, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 275, 62, 3672, 25, 1438, 284, 307, 1813, 284, 262, 3091, 287, 5410, 3715, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3672, 796, 275, 62, 3672, 393, 2116, 13, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 796, 2116, 13557, 29734, 628, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 796, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 1273, 13322, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 13, 25677, 13, 14535, 62, 312, 796, 366, 6894, 1, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 13, 3455, 13, 13989, 341, 13, 86, 796, 657, 13, 15, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 13, 3455, 13, 9150, 13, 87, 796, 2124, 1303, 15, 13, 2999, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 13, 3455, 13, 9150, 13, 88, 796, 331, 1303, 657, 13, 2231, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3455, 13, 3455, 13, 9150, 13, 89, 796, 1976, 220, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 13, 2860, 62, 3524, 7, 3524, 62, 3672, 11, 3091, 62, 3455, 11, 2546, 16193, 15, 13, 1314, 11, 657, 13, 1314, 11, 657, 13, 1314, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 3524, 62, 3672, 28, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 17077, 62, 1640, 62, 5219, 62, 19119, 7, 3524, 62, 271, 62, 4002, 28, 17821, 11, 3091, 62, 3672, 28, 3524, 62, 3672, 11, 48678, 28, 19, 8, 198, 220, 220, 220, 220, 198, 220, 220, 220, 825, 10199, 62, 3524, 7, 944, 11, 65, 62, 3672, 11, 26827, 28, 19, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 10199, 284, 3091, 351, 17076, 11120, 2848, 287, 374, 85, 528, 5410, 3715, 284, 3368, 17661, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 275, 62, 3672, 25, 3524, 1438, 543, 2476, 284, 307, 7223, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 26827, 25, 640, 2278, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3672, 796, 275, 62, 3672, 393, 2116, 13, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 9379, 796, 2116, 13557, 305, 13645, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 796, 2116, 13557, 29734, 198, 220, 220, 220, 220, 220, 220, 220, 304, 891, 62, 8726, 796, 2116, 13557, 68, 891, 62, 8726, 628, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 44787, 62, 8094, 796, 2116, 13557, 11578, 768, 62, 8094, 198, 220, 220, 220, 220, 220, 220, 220, 3638, 62, 28751, 796, 9379, 13, 1136, 62, 8726, 62, 14933, 7, 8094, 28, 2164, 5126, 278, 62, 8094, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 13, 47348, 62, 3524, 7, 68, 891, 62, 8726, 11, 3091, 62, 3672, 11, 3638, 62, 28751, 28, 29332, 62, 28751, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 17077, 62, 1640, 62, 5219, 62, 19119, 7, 3524, 62, 271, 62, 1078, 2317, 28, 17821, 11, 3091, 62, 271, 62, 4002, 28, 25101, 11, 3524, 62, 3672, 28, 3524, 62, 3672, 11, 26827, 28, 48678, 8, 198, 220, 220, 220, 198, 220, 220, 220, 198, 220, 220, 220, 825, 48224, 62, 3524, 7, 944, 11, 65, 62, 3672, 11, 26827, 28, 19, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 48224, 284, 3091, 422, 17076, 11120, 2848, 287, 374, 85, 528, 5410, 3715, 284, 3368, 17661, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 275, 62, 3672, 25, 3524, 1438, 543, 2476, 284, 307, 30795, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 26827, 25, 640, 2278, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3672, 796, 275, 62, 3672, 393, 2116, 13, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 796, 2116, 13557, 29734, 198, 220, 220, 220, 220, 220, 220, 220, 304, 891, 62, 8726, 796, 2116, 13557, 68, 891, 62, 8726, 628, 220, 220, 220, 220, 220, 220, 220, 3715, 13, 28956, 62, 1078, 2317, 62, 15252, 7, 68, 891, 62, 8726, 11, 1438, 28, 3524, 62, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 4043, 329, 262, 5410, 3715, 284, 4296, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 17077, 62, 1640, 62, 5219, 62, 19119, 7, 3524, 62, 271, 62, 4002, 28, 17821, 11, 3091, 62, 271, 62, 1078, 2317, 28, 25101, 11, 3524, 62, 3672, 28, 3524, 62, 3672, 11, 26827, 28, 48678, 8, 628, 198, 220, 220, 220, 825, 4781, 62, 3524, 7, 944, 11, 65, 62, 3672, 11, 26827, 28, 19, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 20694, 3091, 1296, 374, 85, 528, 5410, 3715, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 26827, 25, 640, 2278, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 275, 62, 3672, 25, 1438, 286, 3091, 543, 761, 284, 307, 4615, 422, 220, 5410, 3715, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 3091, 62, 3672, 796, 275, 62, 3672, 393, 2116, 13, 3524, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 3715, 796, 2116, 13557, 29734, 628, 220, 220, 220, 220, 220, 220, 220, 3715, 13, 28956, 62, 6894, 62, 15252, 7, 3524, 62, 3672, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 17077, 62, 1640, 62, 5219, 62, 19119, 7, 3524, 62, 271, 62, 1078, 2317, 28, 25101, 11, 3091, 62, 271, 62, 4002, 28, 25101, 11, 3524, 62, 3672, 28, 3524, 62, 3672, 11, 26827, 28, 48678, 8, 628, 198, 220, 220, 220, 825, 467, 62, 1462, 62, 3455, 7, 944, 11, 1822, 62, 3455, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 3352, 3108, 284, 257, 12705, 290, 1445, 2956, 20, 284, 326, 12705, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 3455, 25, 12705, 286, 10348, 4067, 286, 2099, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 12705, 62, 27160, 796, 2116, 13557, 8094, 13, 1136, 62, 14421, 62, 3455, 22446, 3455, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 9236, 37557, 11097, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 3455, 62, 27160, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8094, 13, 2617, 62, 3455, 62, 16793, 7, 853, 62, 3455, 8, 198, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 11578, 796, 2116, 13557, 8094, 13, 2188, 7, 17077, 28, 17821, 8, 220, 1303, 4043, 28, 25101, 329, 1081, 13361, 10028, 628, 220, 220, 220, 220, 220, 220, 220, 12705, 62, 27160, 796, 2116, 13557, 8094, 13, 1136, 62, 14421, 62, 3455, 22446, 3455, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 8125, 37557, 11097, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 3455, 62, 27160, 8, 628, 220, 220, 220, 220, 220, 220, 220, 1351, 62, 73, 1563, 62, 27160, 796, 2116, 13557, 8094, 13, 1136, 62, 14421, 62, 73, 1563, 62, 27160, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 8125, 16798, 27068, 11097, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 4868, 62, 73, 1563, 62, 27160, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 6056, 62, 11578, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 10786, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 467, 62, 1462, 62, 3455, 62, 9248, 3419, 16282, 1, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 8056, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 467, 62, 1462, 62, 3455, 3419, 22738, 13, 28186, 329, 37557, 407, 4062, 526, 1343, 705, 59, 44427, 58, 15, 76, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6056, 62, 11578, 628, 220, 220, 220, 825, 1327, 62, 2188, 62, 1462, 62, 3455, 7, 944, 11, 1822, 62, 3455, 11, 1822, 62, 9806, 62, 1078, 1791, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 3848, 467, 62, 1462, 62, 3455, 3419, 2163, 3294, 640, 1566, 340, 6758, 393, 12229, 5415, 2230, 4179, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 3455, 25, 12705, 286, 10348, 4067, 286, 2099, 22939, 62, 907, 14542, 13, 19662, 13, 47, 577, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 9806, 62, 1078, 1791, 82, 25, 5415, 6370, 329, 4585, 467, 62, 1462, 62, 3455, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1271, 62, 1078, 1791, 82, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 13138, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 981, 357, 17618, 62, 1078, 1791, 82, 19841, 1822, 62, 9806, 62, 1078, 1791, 82, 8, 290, 220, 357, 32109, 62, 13138, 318, 10352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 62, 1078, 1791, 82, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 13138, 796, 2116, 13, 2188, 62, 1462, 62, 3455, 7, 853, 62, 3455, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 40539, 7203, 1078, 1791, 82, 25, 23884, 1911, 18982, 7, 17618, 62, 1078, 1791, 82, 8, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 6056, 62, 13138, 628, 220, 220, 220, 825, 900, 62, 73, 1563, 62, 27787, 7, 944, 11, 1822, 62, 4868, 62, 73, 1563, 62, 27787, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 5621, 9848, 286, 1123, 6466, 286, 2956, 20, 284, 3151, 257, 2176, 2292, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 4868, 62, 73, 1563, 62, 27787, 25, 1351, 286, 24039, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 8094, 13, 2617, 62, 73, 1563, 62, 8367, 62, 16793, 7, 853, 62, 4868, 62, 73, 1563, 62, 27787, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13557, 785, 17128, 62, 11578, 796, 2116, 13557, 8094, 13, 11578, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 11578, 796, 2116, 13557, 8094, 13, 2188, 7, 17077, 28, 17821, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 6056, 62, 11578, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 900, 62, 73, 1563, 62, 27787, 3419, 16282, 1, 1343, 705, 59, 44427, 58, 15, 76, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 8056, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 59, 44427, 58, 5824, 76, 6, 1343, 366, 33409, 900, 62, 73, 1563, 62, 27787, 3419, 22738, 526, 1343, 705, 59, 44427, 58, 15, 76, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6056, 62, 11578, 628, 220, 220, 220, 825, 1327, 62, 2617, 62, 73, 1563, 62, 27787, 7, 944, 11, 1822, 62, 4868, 62, 73, 1563, 62, 27787, 11, 1822, 62, 9806, 62, 1078, 1791, 82, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 770, 2163, 3848, 900, 62, 73, 1563, 62, 27787, 3419, 3294, 1661, 1566, 340, 6758, 393, 12229, 5415, 2230, 4179, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 4868, 62, 73, 1563, 62, 27787, 25, 1351, 286, 477, 6466, 18333, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1822, 62, 9806, 62, 1078, 1791, 82, 25, 5415, 2230, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 25131, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1271, 62, 1078, 1791, 82, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 13138, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 220, 220, 220, 220, 981, 357, 17618, 62, 1078, 1791, 82, 19841, 1822, 62, 9806, 62, 1078, 1791, 82, 8, 290, 220, 357, 32109, 62, 13138, 318, 10352, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 62, 1078, 1791, 82, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6056, 62, 13138, 796, 2116, 13, 2617, 62, 73, 1563, 62, 27787, 7, 853, 62, 4868, 62, 73, 1563, 62, 27787, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 40539, 7203, 1078, 1791, 82, 25, 23884, 1911, 18982, 7, 17618, 62, 1078, 1791, 82, 8, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 2116, 13, 20063, 62, 38441, 296, 499, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 6056, 62, 13138, 628, 220, 220, 220, 825, 7616, 62, 1102, 19011, 2120, 7, 944, 11, 8367, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 428, 2163, 5621, 10999, 2866, 1262, 686, 82, 2139, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 1988, 25, 1988, 286, 2866, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 9242, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 686, 2777, 88, 13, 16177, 44148, 10786, 68, 2417, 66, 14, 85, 65, 14, 1102, 3304, 273, 14, 2617, 62, 6477, 3256, 13878, 273, 33, 2120, 13434, 50108, 8, 198, 220, 220, 220, 220, 220, 220, 220, 331, 796, 2124, 7, 8367, 8, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 88, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 271, 62, 1102, 332, 62, 5275, 796, 1988, 628, 198, 220, 220, 220, 825, 11593, 12381, 834, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8145, 1356, 273, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 9242, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1445, 270, 62, 9503, 4066, 13, 45943, 381, 62, 49625, 2902, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 705, 59, 44427, 58, 5824, 76, 6, 1343, 366, 10267, 286, 1398, 2956, 20, 62, 21084, 270, 1024, 33342, 526, 1343, 705, 59, 44427, 58, 15, 76, 11537, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220 ]
2.290418
6,439
""" Implementation of the Nelson rules https://en.wikipedia.org/wiki/Nelson_rules """ from collections import deque import numpy as np from ..diligent import registry from ..utils import is_numeric __all__ = ['nelson_rule_%d' % i for i in range(1, 9)] @registry.register(name='Nelson Rule 1', tags='nelson') @registry.register(name='Nelson Rule 2', tags='nelson') @registry.register(name='Nelson Rule 3', tags='nelson') @registry.register(name='Nelson Rule 4', tags='nelson') @registry.register(name='Nelson Rule 5', tags='nelson') @registry.register(name='Nelson Rule 6', tags='nelson') @registry.register(name='Nelson Rule 7', tags='nelson') @registry.register(name='Nelson Rule 8', tags='nelson')
[ 37811, 198, 3546, 32851, 286, 262, 12996, 3173, 198, 5450, 1378, 268, 13, 31266, 13, 2398, 14, 15466, 14, 45, 10151, 62, 38785, 198, 198, 37811, 198, 6738, 17268, 1330, 390, 4188, 198, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 11485, 67, 346, 47096, 1330, 20478, 198, 6738, 11485, 26791, 1330, 318, 62, 77, 39223, 198, 198, 834, 439, 834, 796, 37250, 77, 10151, 62, 25135, 62, 4, 67, 6, 4064, 1312, 329, 1312, 287, 2837, 7, 16, 11, 860, 15437, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 352, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 362, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 513, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 604, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 642, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 718, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 767, 3256, 15940, 11639, 77, 10151, 11537, 628, 198, 31, 2301, 4592, 13, 30238, 7, 3672, 11639, 45, 10151, 14330, 807, 3256, 15940, 11639, 77, 10151, 11537, 198 ]
2.934959
246
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: lib.coginvasion.holiday.HolidayManager from panda3d.core import VirtualFileSystem, Filename from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal from direct.directnotify.DirectNotifyGlobal import directNotify
[ 2, 34318, 2349, 21, 2196, 513, 13, 17, 13, 19, 198, 2, 11361, 18022, 8189, 362, 13, 22, 357, 21, 1828, 1157, 8, 198, 2, 4280, 3361, 3902, 422, 25, 11361, 362, 13, 22, 13, 1314, 357, 85, 17, 13, 22, 13, 1314, 25, 6888, 2998, 24, 64, 18, 18213, 18, 11, 2758, 1542, 2864, 11, 1467, 25, 1270, 25, 2075, 8, 685, 5653, 34, 410, 13, 33698, 5598, 1643, 357, 28075, 2414, 15437, 198, 2, 13302, 47238, 2393, 1438, 25, 9195, 13, 66, 519, 16340, 4247, 13, 37689, 13, 28115, 2567, 13511, 198, 6738, 279, 5282, 18, 67, 13, 7295, 1330, 15595, 8979, 11964, 11, 7066, 12453, 198, 6738, 1277, 13, 17080, 6169, 13, 20344, 6169, 10267, 22289, 1330, 4307, 6169, 10267, 22289, 198, 6738, 1277, 13, 12942, 1662, 1958, 13, 13470, 3673, 1958, 22289, 1330, 1277, 3673, 1958, 628 ]
2.978723
141
import unittest import numpy as np import Orange from disco.core import result_iterator import datasets if __name__ == '__main__': unittest.main()
[ 11748, 555, 715, 395, 198, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 11942, 198, 6738, 4655, 13, 7295, 1330, 1255, 62, 48727, 198, 198, 11748, 40522, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 555, 715, 395, 13, 12417, 3419, 198 ]
3.058824
51
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import time import pdb from smore.models.kg_reasoning import KGReasoning from smore.common.modules import Identity from smore.common.embedding.sparse_embed import SparseEmbedding from smore.common.torchext.ext_ops import box_dist_in, box_dist_out
[ 2, 15069, 33448, 3012, 11419, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 220, 3740, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 198, 6738, 11593, 37443, 834, 1330, 7297, 198, 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 198, 11748, 18931, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 11748, 640, 198, 11748, 279, 9945, 198, 198, 6738, 895, 382, 13, 27530, 13, 10025, 62, 41181, 278, 1330, 509, 38, 45008, 278, 198, 6738, 895, 382, 13, 11321, 13, 18170, 1330, 27207, 198, 6738, 895, 382, 13, 11321, 13, 20521, 12083, 13, 82, 29572, 62, 20521, 1330, 1338, 17208, 31567, 6048, 278, 198, 6738, 895, 382, 13, 11321, 13, 13165, 2395, 742, 13, 2302, 62, 2840, 1330, 3091, 62, 17080, 62, 259, 11, 3091, 62, 17080, 62, 448, 628, 628 ]
3.632867
286
import tensorflow as tf import numpy as np from ops import * flags = tf.app.flags FLAGS = flags.FLAGS def fmnet_model(phase, part_shot, model_shot, part_dist_map , model_dist_map, part2model_ind_gt, part_evecs, part_evecs_trans, model_evecs, model_evecs_trans): """Build FM-net model. Args: phase: train\test. part_shot: SHOT descriptor of source shape (part). model_shot: SHOT descriptor of target shape (model). dist_map: distance map on target shape to evaluate geodesic error part_evecs: eigenvectors on source shape part_evecs_trans: transposed part_evecs with mass matrix correction model_evecs: eigenvectors on target shape model_evecs_trans: transposed model_evecs with mass matrix correction """ net = {} for i_layer in range(FLAGS.num_layers): with tf.variable_scope("layer_%d" % i_layer) as scope: if i_layer == 0: net['layer_%d_part' % i_layer] = res_layer(part_shot, dims_out=int(part_shot.shape[-1]), scope=scope, phase=phase) scope.reuse_variables() net['layer_%d_model' % i_layer] = res_layer(model_shot, dims_out=int(model_shot.shape[-1]), scope=scope, phase=phase) else: net['layer_%d_part' % i_layer] = res_layer(net['layer_%d_part' % (i_layer - 1)], dims_out=int(part_shot.shape[-1]), scope=scope, phase=phase) scope.reuse_variables() net['layer_%d_model' % i_layer] = res_layer(net['layer_%d_model' % (i_layer - 1)], dims_out=int(part_shot.shape[-1]), scope=scope, phase=phase) # project output features on the shape Laplacian eigen functions layer_C_est = i_layer + 1 # grab current layer index A = tf.matmul(part_evecs_trans, net['layer_%d_part' % (layer_C_est - 1)]) net['A'] = A B = tf.matmul(model_evecs_trans, net['layer_%d_model' % (layer_C_est - 1)]) net['B'] = B # FM-layer: evaluate C_est net['C_est'], safeguard_inverse = solve_ls(A, B) # Evaluate loss via soft-correspondence error with tf.variable_scope("pointwise_corr_loss"): P_norm, net_loss, unsupervised_loss = pointwise_corr_layer(net['C_est'], model_evecs, part_evecs_trans, model_dist_map, part_dist_map, part2model_ind_gt) tf.summary.scalar('net_loss', net_loss) merged = tf.summary.merge_all() return net_loss, unsupervised_loss, safeguard_inverse, merged, P_norm, net
[ 11748, 11192, 273, 11125, 355, 48700, 198, 11748, 299, 32152, 355, 45941, 198, 198, 6738, 39628, 1330, 1635, 198, 198, 33152, 796, 48700, 13, 1324, 13, 33152, 198, 38948, 50, 796, 9701, 13, 38948, 50, 628, 198, 4299, 277, 76, 3262, 62, 19849, 7, 40715, 11, 636, 62, 9442, 11, 2746, 62, 9442, 11, 636, 62, 17080, 62, 8899, 837, 2746, 62, 17080, 62, 8899, 11, 636, 17, 19849, 62, 521, 62, 13655, 11, 636, 62, 44655, 6359, 11, 197, 3911, 62, 44655, 6359, 62, 7645, 11, 2746, 62, 44655, 6359, 11, 2746, 62, 44655, 6359, 62, 7645, 2599, 198, 197, 37811, 15580, 18695, 12, 3262, 2746, 13, 628, 197, 42035, 25, 198, 197, 197, 40715, 25, 4512, 59, 9288, 13, 198, 197, 197, 3911, 62, 9442, 25, 6006, 2394, 43087, 286, 2723, 5485, 357, 3911, 737, 198, 197, 197, 19849, 62, 9442, 25, 6006, 2394, 43087, 286, 2496, 5485, 357, 19849, 737, 198, 197, 197, 17080, 62, 8899, 25, 5253, 3975, 319, 2496, 5485, 284, 13446, 4903, 4147, 291, 4049, 198, 197, 197, 3911, 62, 44655, 6359, 25, 304, 9324, 303, 5217, 319, 2723, 5485, 198, 197, 197, 3911, 62, 44655, 6359, 62, 7645, 25, 1007, 29813, 636, 62, 44655, 6359, 351, 2347, 17593, 17137, 198, 197, 197, 19849, 62, 44655, 6359, 25, 304, 9324, 303, 5217, 319, 2496, 5485, 198, 197, 197, 19849, 62, 44655, 6359, 62, 7645, 25, 1007, 29813, 2746, 62, 44655, 6359, 351, 2347, 17593, 17137, 628, 197, 37811, 628, 197, 3262, 796, 23884, 628, 197, 1640, 1312, 62, 29289, 287, 2837, 7, 38948, 50, 13, 22510, 62, 75, 6962, 2599, 198, 197, 197, 4480, 48700, 13, 45286, 62, 29982, 7203, 29289, 62, 4, 67, 1, 4064, 1312, 62, 29289, 8, 355, 8354, 25, 198, 197, 197, 197, 361, 1312, 62, 29289, 6624, 657, 25, 198, 197, 197, 197, 197, 3262, 17816, 29289, 62, 4, 67, 62, 3911, 6, 4064, 1312, 62, 29289, 60, 796, 581, 62, 29289, 7, 3911, 62, 9442, 11, 5391, 82, 62, 448, 28, 600, 7, 3911, 62, 9442, 13, 43358, 58, 12, 16, 46570, 8354, 28, 29982, 11, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 220, 220, 7108, 28, 40715, 8, 198, 197, 197, 197, 197, 29982, 13, 260, 1904, 62, 25641, 2977, 3419, 198, 197, 197, 197, 197, 3262, 17816, 29289, 62, 4, 67, 62, 19849, 6, 4064, 1312, 62, 29289, 60, 796, 581, 62, 29289, 7, 19849, 62, 9442, 11, 5391, 82, 62, 448, 28, 600, 7, 19849, 62, 9442, 13, 43358, 58, 12, 16, 46570, 8354, 28, 29982, 11, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 40715, 28, 40715, 8, 198, 197, 197, 197, 17772, 25, 198, 197, 197, 197, 197, 3262, 17816, 29289, 62, 4, 67, 62, 3911, 6, 4064, 1312, 62, 29289, 60, 796, 581, 62, 29289, 7, 3262, 17816, 29289, 62, 4, 67, 62, 3911, 6, 4064, 357, 72, 62, 29289, 532, 352, 8, 4357, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 220, 220, 5391, 82, 62, 448, 28, 600, 7, 3911, 62, 9442, 13, 43358, 58, 12, 16, 46570, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 220, 220, 8354, 28, 29982, 11, 7108, 28, 40715, 8, 198, 197, 197, 197, 197, 29982, 13, 260, 1904, 62, 25641, 2977, 3419, 198, 197, 197, 197, 197, 3262, 17816, 29289, 62, 4, 67, 62, 19849, 6, 4064, 1312, 62, 29289, 60, 796, 581, 62, 29289, 7, 3262, 17816, 29289, 62, 4, 67, 62, 19849, 6, 4064, 357, 72, 62, 29289, 532, 352, 8, 4357, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 67, 12078, 62, 448, 28, 600, 7, 3911, 62, 9442, 13, 43358, 58, 12, 16, 46570, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 29982, 28, 29982, 11, 7108, 28, 40715, 8, 628, 197, 2, 220, 1628, 5072, 3033, 319, 262, 5485, 4689, 489, 330, 666, 304, 9324, 5499, 198, 197, 29289, 62, 34, 62, 395, 796, 1312, 62, 29289, 1343, 352, 220, 1303, 5552, 1459, 7679, 6376, 198, 197, 32, 796, 48700, 13, 6759, 76, 377, 7, 3911, 62, 44655, 6359, 62, 7645, 11, 2010, 17816, 29289, 62, 4, 67, 62, 3911, 6, 4064, 357, 29289, 62, 34, 62, 395, 532, 352, 8, 12962, 198, 197, 3262, 17816, 32, 20520, 796, 317, 198, 197, 33, 796, 48700, 13, 6759, 76, 377, 7, 19849, 62, 44655, 6359, 62, 7645, 11, 2010, 17816, 29289, 62, 4, 67, 62, 19849, 6, 4064, 357, 29289, 62, 34, 62, 395, 532, 352, 8, 12962, 198, 197, 3262, 17816, 33, 20520, 796, 347, 628, 197, 2, 220, 18695, 12, 29289, 25, 13446, 327, 62, 395, 198, 197, 3262, 17816, 34, 62, 395, 6, 4357, 30925, 62, 259, 4399, 796, 8494, 62, 7278, 7, 32, 11, 347, 8, 628, 197, 2, 220, 26439, 4985, 2994, 2884, 2705, 12, 10215, 5546, 594, 4049, 198, 197, 4480, 48700, 13, 45286, 62, 29982, 7203, 4122, 3083, 62, 10215, 81, 62, 22462, 1, 2599, 198, 197, 197, 47, 62, 27237, 11, 2010, 62, 22462, 11, 555, 16668, 16149, 62, 22462, 796, 966, 3083, 62, 10215, 81, 62, 29289, 7, 3262, 17816, 34, 62, 395, 6, 4357, 2746, 62, 44655, 6359, 11, 636, 62, 44655, 6359, 62, 7645, 11, 2746, 62, 17080, 62, 8899, 11, 636, 62, 17080, 62, 8899, 11, 636, 17, 19849, 62, 521, 62, 13655, 8, 628, 197, 27110, 13, 49736, 13, 1416, 282, 283, 10786, 3262, 62, 22462, 3256, 2010, 62, 22462, 8, 198, 197, 647, 2004, 796, 48700, 13, 49736, 13, 647, 469, 62, 439, 3419, 628, 197, 7783, 2010, 62, 22462, 11, 555, 16668, 16149, 62, 22462, 11, 30925, 62, 259, 4399, 11, 23791, 11, 350, 62, 27237, 11, 2010 ]
2.390816
980
from random import shuffle import tensorflow as tf from xcenternet.datasets.dataset import Dataset class TfExampleFields(object): """TF-example proto feature names Holds the standard feature names to load from an Example proto Attributes: image_encoded: image encoded as string image_format: image format, e.g. "JPEG" filename: filename channels: number of channels of image colorspace: colorspace, e.g. "RGB" height: height of image in pixels, e.g. 462 width: width of image in pixels, e.g. 581 source_id: original source of the image image_class_text: image-level label in text format image_class_label: image-level label in numerical format object_class_text: labels in text format, e.g. ["person", "cat"] object_class_label: labels in numbers, e.g. [16, 8] object_bbox_xmin: xmin coordinates of groundtruth box, e.g. 10, 30 object_bbox_xmax: xmax coordinates of groundtruth box, e.g. 50, 40 object_bbox_ymin: ymin coordinates of groundtruth box, e.g. 40, 50 object_bbox_ymax: ymax coordinates of groundtruth box, e.g. 80, 70 ignore_area_bbox_xmin: xmin coordinates of ignore box, e.g. 10, 30 ignore_area_bbox_xmax: xmax coordinates of ignore box, e.g. 50, 40 ignore_area_bbox_ymin: ymin coordinates of ignore box, e.g. 40, 50 ignore_area_bbox_ymax: ymax coordinates of ignore box, e.g. 80, 70 object_view: viewpoint of object, e.g. ["frontal", "left"] object_truncated: is object truncated, e.g. [true, false] object_occluded: is object occluded, e.g. [true, false] object_difficult: is object difficult, e.g. [true, false] object_group_of: is object a single object or a group of objects object_depiction: is object a depiction object_segment_area: the area of the segment. object_weight: a weight factor for the object's bounding box. instance_masks: instance segmentation masks. instance_boundaries: instance boundaries. instance_classes: Classes for each instance segmentation mask. detection_class_label: class label in numbers. detection_bbox_ymin: ymin coordinates of a detection box. detection_bbox_xmin: xmin coordinates of a detection box. detection_bbox_ymax: ymax coordinates of a detection box. detection_bbox_xmax: xmax coordinates of a detection box. detection_score: detection score for the class label and box. """ image_encoded = 'image/encoded' image_format = 'image/format' # format is reserved keyword key = 'image/key/sha256' filename = 'image/filename' channels = 'image/channels' colorspace = 'image/colorspace' height = 'image/height' width = 'image/width' source_id = 'image/source_id' image_class_text = 'image/class/text' image_class_label = 'image/class/label' image_class_synset = 'image/class/synset' object_class_text = 'image/object/class/text' object_class_label = 'image/object/class/label' ignore_area_bbox_xmin = 'image/ignore_area/bbox/xmin' ignore_area_bbox_ymin = 'image/ignore_area/bbox/ymin' ignore_area_bbox_xmax = 'image/ignore_area/bbox/xmax' ignore_area_bbox_ymax = 'image/ignore_area/bbox/ymax' object_bbox_ymin = 'image/object/bbox/ymin' object_bbox_xmin = 'image/object/bbox/xmin' object_bbox_ymax = 'image/object/bbox/ymax' object_bbox_xmax = 'image/object/bbox/xmax' object_bbox_label = 'image/object/bbox/label' object_bbox_split_line = 'image/object/bbox/vl' object_bbox_split_type = 'image/object/bbox/vertical_line_type' object_view = 'image/object/view' object_truncated = 'image/object/truncated' object_occluded = 'image/object/occluded' object_difficult = 'image/object/difficult' object_group_of = 'image/object/group_of' object_depiction = 'image/object/depiction' object_segment_area = 'image/object/segment/area' object_weight = 'image/object/weight' semseg_channels = 'image/segmentation/channels' semseg_data = 'image/segmentation/data' semseg_format = 'image/segmentation/format' semseg_height = 'image/segmentation/height' semseg_width = 'image/segmentation/width'
[ 6738, 4738, 1330, 36273, 198, 11748, 11192, 273, 11125, 355, 48700, 198, 198, 6738, 2124, 1087, 1142, 316, 13, 19608, 292, 1039, 13, 19608, 292, 316, 1330, 16092, 292, 316, 628, 198, 198, 4871, 309, 69, 16281, 15878, 82, 7, 15252, 2599, 198, 220, 220, 220, 37227, 10234, 12, 20688, 44876, 3895, 3891, 628, 220, 220, 220, 9340, 82, 262, 3210, 3895, 3891, 284, 3440, 422, 281, 17934, 44876, 628, 220, 220, 220, 49213, 25, 198, 220, 220, 220, 220, 220, 2939, 62, 12685, 9043, 25, 2939, 30240, 355, 4731, 198, 220, 220, 220, 220, 220, 2939, 62, 18982, 25, 2939, 5794, 11, 304, 13, 70, 13, 366, 12889, 7156, 1, 198, 220, 220, 220, 220, 220, 29472, 25, 29472, 198, 220, 220, 220, 220, 220, 9619, 25, 1271, 286, 9619, 286, 2939, 198, 220, 220, 220, 220, 220, 7577, 10223, 25, 7577, 10223, 11, 304, 13, 70, 13, 366, 36982, 1, 198, 220, 220, 220, 220, 220, 6001, 25, 6001, 286, 2939, 287, 17848, 11, 304, 13, 70, 13, 604, 5237, 198, 220, 220, 220, 220, 220, 9647, 25, 9647, 286, 2939, 287, 17848, 11, 304, 13, 70, 13, 642, 6659, 198, 220, 220, 220, 220, 220, 2723, 62, 312, 25, 2656, 2723, 286, 262, 2939, 198, 220, 220, 220, 220, 220, 2939, 62, 4871, 62, 5239, 25, 2939, 12, 5715, 6167, 287, 2420, 5794, 198, 220, 220, 220, 220, 220, 2939, 62, 4871, 62, 18242, 25, 2939, 12, 5715, 6167, 287, 29052, 5794, 198, 220, 220, 220, 220, 220, 2134, 62, 4871, 62, 5239, 25, 14722, 287, 2420, 5794, 11, 304, 13, 70, 13, 14631, 6259, 1600, 366, 9246, 8973, 198, 220, 220, 220, 220, 220, 2134, 62, 4871, 62, 18242, 25, 14722, 287, 3146, 11, 304, 13, 70, 13, 685, 1433, 11, 807, 60, 198, 220, 220, 220, 220, 220, 2134, 62, 65, 3524, 62, 87, 1084, 25, 2124, 1084, 22715, 286, 2323, 35310, 3091, 11, 304, 13, 70, 13, 838, 11, 1542, 198, 220, 220, 220, 220, 220, 2134, 62, 65, 3524, 62, 87, 9806, 25, 2124, 9806, 22715, 286, 2323, 35310, 3091, 11, 304, 13, 70, 13, 2026, 11, 2319, 198, 220, 220, 220, 220, 220, 2134, 62, 65, 3524, 62, 88, 1084, 25, 331, 1084, 22715, 286, 2323, 35310, 3091, 11, 304, 13, 70, 13, 2319, 11, 2026, 198, 220, 220, 220, 220, 220, 2134, 62, 65, 3524, 62, 4948, 897, 25, 331, 9806, 22715, 286, 2323, 35310, 3091, 11, 304, 13, 70, 13, 4019, 11, 4317, 198, 220, 220, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 87, 1084, 25, 2124, 1084, 22715, 286, 8856, 3091, 11, 304, 13, 70, 13, 838, 11, 1542, 198, 220, 220, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 87, 9806, 25, 2124, 9806, 22715, 286, 8856, 3091, 11, 304, 13, 70, 13, 2026, 11, 2319, 198, 220, 220, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 88, 1084, 25, 331, 1084, 22715, 286, 8856, 3091, 11, 304, 13, 70, 13, 2319, 11, 2026, 198, 220, 220, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 4948, 897, 25, 331, 9806, 22715, 286, 8856, 3091, 11, 304, 13, 70, 13, 4019, 11, 4317, 198, 220, 220, 220, 220, 220, 2134, 62, 1177, 25, 28953, 286, 2134, 11, 304, 13, 70, 13, 14631, 8534, 282, 1600, 366, 9464, 8973, 198, 220, 220, 220, 220, 220, 2134, 62, 2213, 19524, 515, 25, 318, 2134, 40122, 515, 11, 304, 13, 70, 13, 685, 7942, 11, 3991, 60, 198, 220, 220, 220, 220, 220, 2134, 62, 420, 10341, 25, 318, 2134, 1609, 75, 19289, 11, 304, 13, 70, 13, 685, 7942, 11, 3991, 60, 198, 220, 220, 220, 220, 220, 2134, 62, 26069, 2249, 25, 318, 2134, 2408, 11, 304, 13, 70, 13, 685, 7942, 11, 3991, 60, 198, 220, 220, 220, 220, 220, 2134, 62, 8094, 62, 1659, 25, 318, 2134, 257, 2060, 2134, 393, 257, 1448, 286, 5563, 198, 220, 220, 220, 220, 220, 2134, 62, 10378, 2867, 25, 318, 2134, 257, 33016, 198, 220, 220, 220, 220, 220, 2134, 62, 325, 5154, 62, 20337, 25, 262, 1989, 286, 262, 10618, 13, 198, 220, 220, 220, 220, 220, 2134, 62, 6551, 25, 257, 3463, 5766, 329, 262, 2134, 338, 5421, 278, 3091, 13, 198, 220, 220, 220, 220, 220, 4554, 62, 5356, 591, 25, 4554, 10618, 341, 20680, 13, 198, 220, 220, 220, 220, 220, 4554, 62, 7784, 3166, 25, 4554, 13215, 13, 198, 220, 220, 220, 220, 220, 4554, 62, 37724, 25, 38884, 329, 1123, 4554, 10618, 341, 9335, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 4871, 62, 18242, 25, 1398, 6167, 287, 3146, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 65, 3524, 62, 88, 1084, 25, 331, 1084, 22715, 286, 257, 13326, 3091, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 65, 3524, 62, 87, 1084, 25, 2124, 1084, 22715, 286, 257, 13326, 3091, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 65, 3524, 62, 4948, 897, 25, 331, 9806, 22715, 286, 257, 13326, 3091, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 65, 3524, 62, 87, 9806, 25, 2124, 9806, 22715, 286, 257, 13326, 3091, 13, 198, 220, 220, 220, 220, 220, 13326, 62, 26675, 25, 13326, 4776, 329, 262, 1398, 6167, 290, 3091, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2939, 62, 12685, 9043, 796, 705, 9060, 14, 12685, 9043, 6, 198, 220, 220, 220, 2939, 62, 18982, 796, 705, 9060, 14, 18982, 6, 220, 1303, 5794, 318, 10395, 21179, 198, 220, 220, 220, 1994, 796, 705, 9060, 14, 2539, 14, 26270, 11645, 6, 198, 220, 220, 220, 29472, 796, 705, 9060, 14, 34345, 6, 198, 220, 220, 220, 9619, 796, 705, 9060, 14, 354, 8961, 6, 198, 220, 220, 220, 7577, 10223, 796, 705, 9060, 14, 4033, 669, 10223, 6, 198, 220, 220, 220, 6001, 796, 705, 9060, 14, 17015, 6, 198, 220, 220, 220, 9647, 796, 705, 9060, 14, 10394, 6, 198, 220, 220, 220, 2723, 62, 312, 796, 705, 9060, 14, 10459, 62, 312, 6, 198, 220, 220, 220, 2939, 62, 4871, 62, 5239, 796, 705, 9060, 14, 4871, 14, 5239, 6, 198, 220, 220, 220, 2939, 62, 4871, 62, 18242, 796, 705, 9060, 14, 4871, 14, 18242, 6, 198, 220, 220, 220, 2939, 62, 4871, 62, 28869, 2617, 796, 705, 9060, 14, 4871, 14, 28869, 2617, 6, 198, 220, 220, 220, 2134, 62, 4871, 62, 5239, 796, 705, 9060, 14, 15252, 14, 4871, 14, 5239, 6, 198, 220, 220, 220, 2134, 62, 4871, 62, 18242, 796, 705, 9060, 14, 15252, 14, 4871, 14, 18242, 6, 198, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 87, 1084, 796, 705, 9060, 14, 46430, 62, 20337, 14, 65, 3524, 14, 87, 1084, 6, 198, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 88, 1084, 796, 705, 9060, 14, 46430, 62, 20337, 14, 65, 3524, 14, 88, 1084, 6, 198, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 87, 9806, 796, 705, 9060, 14, 46430, 62, 20337, 14, 65, 3524, 14, 87, 9806, 6, 198, 220, 220, 220, 8856, 62, 20337, 62, 65, 3524, 62, 4948, 897, 796, 705, 9060, 14, 46430, 62, 20337, 14, 65, 3524, 14, 4948, 897, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 88, 1084, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 88, 1084, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 87, 1084, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 87, 1084, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 4948, 897, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 4948, 897, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 87, 9806, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 87, 9806, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 18242, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 18242, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 35312, 62, 1370, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 19279, 6, 198, 220, 220, 220, 2134, 62, 65, 3524, 62, 35312, 62, 4906, 796, 705, 9060, 14, 15252, 14, 65, 3524, 14, 1851, 605, 62, 1370, 62, 4906, 6, 198, 220, 220, 220, 2134, 62, 1177, 796, 705, 9060, 14, 15252, 14, 1177, 6, 198, 220, 220, 220, 2134, 62, 2213, 19524, 515, 796, 705, 9060, 14, 15252, 14, 2213, 19524, 515, 6, 198, 220, 220, 220, 2134, 62, 420, 10341, 796, 705, 9060, 14, 15252, 14, 420, 10341, 6, 198, 220, 220, 220, 2134, 62, 26069, 2249, 796, 705, 9060, 14, 15252, 14, 26069, 2249, 6, 198, 220, 220, 220, 2134, 62, 8094, 62, 1659, 796, 705, 9060, 14, 15252, 14, 8094, 62, 1659, 6, 198, 220, 220, 220, 2134, 62, 10378, 2867, 796, 705, 9060, 14, 15252, 14, 10378, 2867, 6, 198, 220, 220, 220, 2134, 62, 325, 5154, 62, 20337, 796, 705, 9060, 14, 15252, 14, 325, 5154, 14, 20337, 6, 198, 220, 220, 220, 2134, 62, 6551, 796, 705, 9060, 14, 15252, 14, 6551, 6, 198, 220, 220, 220, 5026, 325, 70, 62, 354, 8961, 796, 705, 9060, 14, 325, 5154, 341, 14, 354, 8961, 6, 198, 220, 220, 220, 5026, 325, 70, 62, 7890, 796, 705, 9060, 14, 325, 5154, 341, 14, 7890, 6, 198, 220, 220, 220, 5026, 325, 70, 62, 18982, 796, 705, 9060, 14, 325, 5154, 341, 14, 18982, 6, 198, 220, 220, 220, 5026, 325, 70, 62, 17015, 796, 705, 9060, 14, 325, 5154, 341, 14, 17015, 6, 198, 220, 220, 220, 5026, 325, 70, 62, 10394, 796, 705, 9060, 14, 325, 5154, 341, 14, 10394, 6, 198 ]
2.627561
1,611
#!/usr/bin/env python3 """Intinor Direkt API Python tutorial Example 1: Send a request to a Direkt unit using the "direkt" module and obtain API information as a JSON string """ import sys # The "direkt" module wraps the "requests" library with some convenient # functionality for the Intinor Direkt API. import direkt # START of configuration # Replace the below example ID "D0****" with the ID of your Direkt unit to # create the correct Direkt unit URL. This will point to the API root. # Case-sensitive: Write the Direkt ID with a capital "D". DIREKT_ID = "D0****" # Assign "DIREKT_HOST" the hostname or IP address of your Direkt unit or # "iss.intinor.com" if you want to send requests to the API through ISS. DIREKT_HOST = "Hostname-or-IP-address" # Replace username and password in the authentication below with the actual # username and password for your Direkt unit or for your ISS account, if you # assigned "DIREKT_HOST" with "iss.intinor.com". AUTHENTICATION = ("username", "password") # NOTES: # Writing credentials into a script is not a secure practise but it makes a # quick and easy start possible. Choose a more secure approach for usage beyond # this tutorial. # The default credentials for your Direkt unit can only be used through local # network connections and we recommend changing them for security. This can be # done in the unit's webinterface or in ISS. # We recommend creating a shared API user account for your team. # END of configuration # The URL to the API root is created here. The API root is a good starting # point resource which is available on all Direkt unit types. URL = "https://" + DIREKT_HOST + "/api/v1/units/" + DIREKT_ID def main(): """Obtain the API resource""" # Use a GET request to obtain the API resource. response = direkt.get(URL, auth=AUTHENTICATION) # Show the text property of the response, which is in JSON string format. print(response.text) if not response.ok: sys.exit("GET '" + URL + "' failed.") if __name__ == '__main__': main() # We recommend using the "direkt" module for API requests through local network # connections and through ISS connections but alternatively it is possible to # access the API without using the "direkt" module, in which case you import # the "requests" library and connect through ISS. # See Example 2 for more information.
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 198, 37811, 5317, 259, 273, 34177, 21841, 7824, 11361, 11808, 198, 198, 16281, 352, 25, 16290, 257, 2581, 284, 257, 34177, 21841, 4326, 1262, 262, 366, 67, 557, 21841, 1, 8265, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 290, 7330, 7824, 1321, 355, 257, 19449, 4731, 198, 37811, 198, 198, 11748, 25064, 198, 198, 2, 383, 366, 67, 557, 21841, 1, 8265, 27521, 262, 366, 8897, 3558, 1, 5888, 351, 617, 11282, 198, 2, 11244, 329, 262, 2558, 259, 273, 34177, 21841, 7824, 13, 198, 11748, 19958, 21841, 628, 198, 2, 33303, 286, 8398, 198, 198, 2, 40177, 262, 2174, 1672, 4522, 366, 35, 15, 2466, 1, 351, 262, 4522, 286, 534, 34177, 21841, 4326, 284, 198, 2, 2251, 262, 3376, 34177, 21841, 4326, 10289, 13, 770, 481, 966, 284, 262, 7824, 6808, 13, 198, 2, 8913, 12, 30176, 25, 19430, 262, 34177, 21841, 4522, 351, 257, 3139, 366, 35, 1911, 198, 17931, 2200, 42176, 62, 2389, 796, 366, 35, 15, 2466, 1, 198, 198, 2, 2195, 570, 366, 17931, 2200, 42176, 62, 39, 10892, 1, 262, 2583, 3672, 393, 6101, 2209, 286, 534, 34177, 21841, 4326, 393, 198, 2, 366, 747, 13, 600, 259, 273, 13, 785, 1, 611, 345, 765, 284, 3758, 7007, 284, 262, 7824, 832, 33805, 13, 198, 17931, 2200, 42176, 62, 39, 10892, 796, 366, 17932, 3672, 12, 273, 12, 4061, 12, 21975, 1, 198, 198, 2, 40177, 20579, 290, 9206, 287, 262, 18239, 2174, 351, 262, 4036, 198, 2, 20579, 290, 9206, 329, 534, 34177, 21841, 4326, 393, 329, 534, 33805, 1848, 11, 611, 345, 198, 2, 8686, 366, 17931, 2200, 42176, 62, 39, 10892, 1, 351, 366, 747, 13, 600, 259, 273, 13, 785, 1911, 198, 32, 24318, 3525, 2149, 6234, 796, 5855, 29460, 1600, 366, 28712, 4943, 198, 198, 2, 5626, 1546, 25, 198, 198, 2, 22183, 18031, 656, 257, 4226, 318, 407, 257, 5713, 44811, 475, 340, 1838, 257, 198, 2, 2068, 290, 2562, 923, 1744, 13, 17489, 257, 517, 5713, 3164, 329, 8748, 3675, 198, 2, 428, 11808, 13, 198, 198, 2, 383, 4277, 18031, 329, 534, 34177, 21841, 4326, 460, 691, 307, 973, 832, 1957, 198, 2, 3127, 8787, 290, 356, 4313, 5609, 606, 329, 2324, 13, 770, 460, 307, 198, 2, 1760, 287, 262, 4326, 338, 3992, 39994, 393, 287, 33805, 13, 198, 198, 2, 775, 4313, 4441, 257, 4888, 7824, 2836, 1848, 329, 534, 1074, 13, 198, 198, 2, 23578, 286, 8398, 628, 198, 2, 383, 10289, 284, 262, 7824, 6808, 318, 2727, 994, 13, 383, 7824, 6808, 318, 257, 922, 3599, 198, 2, 966, 8271, 543, 318, 1695, 319, 477, 34177, 21841, 4326, 3858, 13, 198, 21886, 796, 366, 5450, 1378, 1, 1343, 14766, 2200, 42176, 62, 39, 10892, 1343, 12813, 15042, 14, 85, 16, 14, 41667, 30487, 1343, 14766, 2200, 42176, 62, 2389, 628, 198, 4299, 1388, 33529, 198, 220, 220, 220, 37227, 5944, 3153, 262, 7824, 8271, 37811, 628, 220, 220, 220, 1303, 5765, 257, 17151, 2581, 284, 7330, 262, 7824, 8271, 13, 198, 220, 220, 220, 2882, 796, 19958, 21841, 13, 1136, 7, 21886, 11, 6284, 28, 32, 24318, 3525, 2149, 6234, 8, 628, 220, 220, 220, 1303, 5438, 262, 2420, 3119, 286, 262, 2882, 11, 543, 318, 287, 19449, 4731, 5794, 13, 198, 220, 220, 220, 3601, 7, 26209, 13, 5239, 8, 628, 220, 220, 220, 611, 407, 2882, 13, 482, 25, 198, 220, 220, 220, 220, 220, 220, 220, 25064, 13, 37023, 7203, 18851, 705, 1, 1343, 10289, 1343, 24018, 4054, 19570, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, 628, 198, 2, 775, 4313, 1262, 262, 366, 67, 557, 21841, 1, 8265, 329, 7824, 7007, 832, 1957, 3127, 198, 2, 8787, 290, 832, 33805, 8787, 475, 46596, 340, 318, 1744, 284, 198, 2, 1895, 262, 7824, 1231, 1262, 262, 366, 67, 557, 21841, 1, 8265, 11, 287, 543, 1339, 345, 1330, 198, 2, 262, 366, 8897, 3558, 1, 5888, 290, 2018, 832, 33805, 13, 198, 2, 4091, 17934, 362, 329, 517, 1321, 13, 198 ]
3.472384
688
#!/usr/bin/env python """ Created by howie.hu at 08/04/2018. """ import asyncio import time from hproxy.database import DatabaseSetting from hproxy.spider.base_spider import ProxySpider from hproxy.spider.proxy_spider import MimvpItem from hproxy.spider.proxy_tools import request_url_by_aiohttp, get_proxy_info db_client = DatabaseSetting() class MimvpSpider(ProxySpider): """ Fetch proxies from https://proxy.mimvp.com/free.php?proxy=in_hp&sort=&page=1 """ spider_name = 'mimvp' item = MimvpItem async def get_proxy(self): """ Fetch proxies from https://proxy.mimvp.com :return: """ start = time.time() tasks = [] for url in ['https://proxy.mimvp.com/free.php?proxy=in_hp&sort=&page={}'.format(i) for i in range(1, 64)]: html = await request_url_by_aiohttp(url=url) if html: items_data = self.item.get_items(html=html) for item_data in items_data: if item_data.values: tasks.append(asyncio.ensure_future(self.save_proxy(item_data.values))) done_list, pending_list = await asyncio.wait(tasks) good_nums = 0 for task in done_list: if task.result(): good_nums += 1 self.logger.info(type="Spidering finished...",message="Crawling {0} finished,total proxy num : {1} - valid proxy num :{2},Time costs :{3}".format( self.spider_name, len(tasks), good_nums, time.time() - start)) async def save_proxy(self, ip_info): """ Save proxy :param ip_info: (0.0.0.0, 8080) :return: """ ip, port = ip_info isOk, info = await get_proxy_info(ip, port, getInfo=True) if isOk: # Save proxy try: await db_client.insert(field="{0}:{1}".format(ip, port), value=info) self.logger.info(type='Valid proxy', message="{0}: {1}:{2} had been saved".format(self.spider_name, ip, port)) return True except Exception as e: self.logger.info(type='Invalid proxy', message="{0}: {1}:{2} had been abandoned".format(self.spider_name, ip, port)) return False return False async def start(): """ Start spider :return: """ await MimvpItem.start() if __name__ == '__main__': # Start asyncio.get_event_loop().run_until_complete(start())
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 37811, 198, 15622, 416, 703, 494, 13, 13415, 379, 8487, 14, 3023, 14, 7908, 13, 198, 37811, 198, 198, 11748, 30351, 952, 198, 11748, 640, 198, 198, 6738, 289, 36436, 13, 48806, 1330, 24047, 34149, 198, 198, 6738, 289, 36436, 13, 2777, 1304, 13, 8692, 62, 2777, 1304, 1330, 38027, 41294, 198, 6738, 289, 36436, 13, 2777, 1304, 13, 36436, 62, 2777, 1304, 1330, 39312, 36133, 7449, 198, 6738, 289, 36436, 13, 2777, 1304, 13, 36436, 62, 31391, 1330, 2581, 62, 6371, 62, 1525, 62, 64, 952, 4023, 11, 651, 62, 36436, 62, 10951, 198, 198, 9945, 62, 16366, 796, 24047, 34149, 3419, 628, 198, 4871, 39312, 36133, 41294, 7, 44148, 41294, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 376, 7569, 41775, 422, 3740, 1378, 36436, 13, 76, 320, 36133, 13, 785, 14, 5787, 13, 10121, 30, 36436, 28, 259, 62, 24831, 5, 30619, 28, 5, 7700, 28, 16, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 19230, 62, 3672, 796, 705, 76, 320, 36133, 6, 198, 220, 220, 220, 2378, 796, 39312, 36133, 7449, 628, 220, 220, 220, 30351, 825, 651, 62, 36436, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 376, 7569, 41775, 422, 3740, 1378, 36436, 13, 76, 320, 36133, 13, 785, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 923, 796, 640, 13, 2435, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 8861, 796, 17635, 198, 220, 220, 220, 220, 220, 220, 220, 329, 19016, 287, 37250, 5450, 1378, 36436, 13, 76, 320, 36133, 13, 785, 14, 5787, 13, 10121, 30, 36436, 28, 259, 62, 24831, 5, 30619, 28, 5, 7700, 34758, 92, 4458, 18982, 7, 72, 8, 329, 1312, 287, 2837, 7, 16, 11, 5598, 8, 5974, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 27711, 796, 25507, 2581, 62, 6371, 62, 1525, 62, 64, 952, 4023, 7, 6371, 28, 6371, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 27711, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3709, 62, 7890, 796, 2116, 13, 9186, 13, 1136, 62, 23814, 7, 6494, 28, 6494, 8, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2378, 62, 7890, 287, 3709, 62, 7890, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2378, 62, 7890, 13, 27160, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8861, 13, 33295, 7, 292, 13361, 952, 13, 641, 495, 62, 37443, 7, 944, 13, 21928, 62, 36436, 7, 9186, 62, 7890, 13, 27160, 22305, 628, 220, 220, 220, 220, 220, 220, 220, 1760, 62, 4868, 11, 13310, 62, 4868, 796, 25507, 30351, 952, 13, 17077, 7, 83, 6791, 8, 198, 220, 220, 220, 220, 220, 220, 220, 922, 62, 77, 5700, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 329, 4876, 287, 1760, 62, 4868, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4876, 13, 20274, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 922, 62, 77, 5700, 15853, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 6404, 1362, 13, 10951, 7, 4906, 2625, 41294, 278, 5201, 9313, 11, 20500, 2625, 34, 18771, 1391, 15, 92, 5201, 11, 23350, 15741, 997, 1058, 1391, 16, 92, 220, 532, 4938, 15741, 997, 27332, 120, 248, 90, 17, 92, 171, 120, 234, 7575, 3484, 27332, 120, 248, 90, 18, 92, 1911, 18982, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2777, 1304, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18896, 7, 83, 6791, 828, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 922, 62, 77, 5700, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 640, 13, 2435, 3419, 532, 923, 4008, 628, 220, 220, 220, 30351, 825, 3613, 62, 36436, 7, 944, 11, 20966, 62, 10951, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 12793, 15741, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 17143, 20966, 62, 10951, 25, 357, 15, 13, 15, 13, 15, 13, 15, 11, 4019, 1795, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 20966, 11, 2493, 796, 20966, 62, 10951, 198, 220, 220, 220, 220, 220, 220, 220, 318, 18690, 11, 7508, 796, 25507, 651, 62, 36436, 62, 10951, 7, 541, 11, 2493, 11, 651, 12360, 28, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 18690, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 12793, 15741, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25507, 20613, 62, 16366, 13, 28463, 7, 3245, 2625, 90, 15, 92, 29164, 16, 92, 1911, 18982, 7, 541, 11, 2493, 828, 1988, 28, 10951, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 6404, 1362, 13, 10951, 7, 4906, 11639, 47139, 15741, 3256, 3275, 2625, 90, 15, 38362, 1391, 16, 92, 29164, 17, 92, 550, 587, 7448, 1911, 18982, 7, 944, 13, 2777, 1304, 62, 3672, 11, 20966, 11, 2493, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 6404, 1362, 13, 10951, 7, 4906, 11639, 44651, 15741, 3256, 3275, 2625, 90, 15, 38362, 1391, 16, 92, 29164, 17, 92, 550, 587, 9958, 1911, 18982, 7, 944, 13, 2777, 1304, 62, 3672, 11, 20966, 11, 2493, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 10352, 628, 198, 292, 13361, 825, 923, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7253, 19230, 198, 220, 220, 220, 1058, 7783, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 25507, 39312, 36133, 7449, 13, 9688, 3419, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1303, 7253, 198, 220, 220, 220, 30351, 952, 13, 1136, 62, 15596, 62, 26268, 22446, 5143, 62, 28446, 62, 20751, 7, 9688, 28955, 198 ]
2.104428
1,197
from functools import wraps from flask import request
[ 6738, 1257, 310, 10141, 1330, 27521, 198, 6738, 42903, 1330, 2581, 628, 198 ]
4.307692
13
#!/hint/python3 import re import subprocess from typing import Any, List from os import getenv import subprocess from .gitutil import git_check_clean as git_check_clean # Stop mypy complaining about implicit reexport from .uiutil import run_txtcapture from .gitutil import git_add as git_add # Stop mypy complaining about implicit reexport # These are some regular expressions to validate and parse # X.Y.Z[-rc.N] versions. re_rc = re.compile(r'^([0-9]+)\.([0-9]+)\.([0-9]+)-rc\.([0-9]+)$') re_ga = re.compile(r'^([0-9]+)\.([0-9]+)\.([0-9]+)$') re_ea = re.compile(r'^([0-9]+)\.([0-9]+)\.([0-9]+)-ea$') vX = 1 vY = 2 vZ = 3 vN = 4 DEFAULT_REPO = "emissary-ingress/emissary" def base_version(release_version: str) -> str: """Given 'X.Y.Z[-rc.N]', return 'X.Y'.""" return build_version(release_version).rsplit(sep='.', maxsplit=1)[0] def build_version(release_version: str) -> str: """Given 'X.Y.Z[-rc.N]', return 'X.Y.Z'.""" return release_version.split('-')[0] def assert_eq(actual: Any, expected: Any) -> None: """`assert_eq(a, b)` is like `assert a == b`, but has a useful error message when they're not equal. """ if actual != expected: raise AssertionError(f"wanted '{expected}', got '{actual}'") def get_is_private() -> bool: """Return whether we're in a "private" Git checkout, for doing embargoed work. """ remote_names = run_txtcapture(['git', 'remote']).split() remote_urls: List[str] = [] for remote_name in remote_names: remote_urls += run_txtcapture(['git', 'remote', 'get-url', '--all', remote_name]).split() return 'private' in "\n".join(remote_urls)
[ 2, 48443, 71, 600, 14, 29412, 18, 198, 198, 11748, 302, 198, 11748, 850, 14681, 198, 6738, 19720, 1330, 4377, 11, 7343, 198, 6738, 28686, 1330, 651, 24330, 198, 11748, 850, 14681, 198, 198, 6738, 764, 18300, 22602, 1330, 17606, 62, 9122, 62, 27773, 355, 17606, 62, 9122, 62, 27773, 220, 1303, 13707, 616, 9078, 18705, 546, 16992, 302, 39344, 198, 6738, 764, 9019, 22602, 1330, 1057, 62, 14116, 27144, 495, 198, 6738, 764, 18300, 22602, 1330, 17606, 62, 2860, 355, 17606, 62, 2860, 1303, 13707, 616, 9078, 18705, 546, 16992, 302, 39344, 198, 198, 2, 2312, 389, 617, 3218, 14700, 284, 26571, 290, 21136, 198, 2, 1395, 13, 56, 13, 57, 58, 12, 6015, 13, 45, 60, 6300, 13, 198, 260, 62, 6015, 796, 302, 13, 5589, 576, 7, 81, 6, 61, 26933, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 48688, 13219, 6015, 59, 12195, 58, 15, 12, 24, 60, 28988, 3, 11537, 198, 260, 62, 4908, 796, 302, 13, 5589, 576, 7, 81, 6, 61, 26933, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 60, 28988, 3, 11537, 198, 260, 62, 18213, 796, 302, 13, 5589, 576, 7, 81, 6, 61, 26933, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 48688, 19415, 12195, 58, 15, 12, 24, 48688, 13219, 18213, 3, 11537, 198, 85, 55, 796, 352, 198, 85, 56, 796, 362, 198, 85, 57, 796, 513, 198, 85, 45, 796, 604, 198, 198, 7206, 38865, 62, 2200, 16402, 796, 366, 368, 747, 560, 12, 278, 601, 14, 368, 747, 560, 1, 628, 198, 4299, 2779, 62, 9641, 7, 20979, 62, 9641, 25, 965, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 15056, 705, 55, 13, 56, 13, 57, 58, 12, 6015, 13, 45, 60, 3256, 1441, 705, 55, 13, 56, 30827, 15931, 198, 220, 220, 220, 1441, 1382, 62, 9641, 7, 20979, 62, 9641, 737, 3808, 489, 270, 7, 325, 79, 11639, 2637, 11, 3509, 35312, 28, 16, 38381, 15, 60, 628, 198, 4299, 1382, 62, 9641, 7, 20979, 62, 9641, 25, 965, 8, 4613, 965, 25, 198, 220, 220, 220, 37227, 15056, 705, 55, 13, 56, 13, 57, 58, 12, 6015, 13, 45, 60, 3256, 1441, 705, 55, 13, 56, 13, 57, 30827, 15931, 198, 220, 220, 220, 1441, 2650, 62, 9641, 13, 35312, 10786, 12, 11537, 58, 15, 60, 628, 198, 4299, 6818, 62, 27363, 7, 50039, 25, 4377, 11, 2938, 25, 4377, 8, 4613, 6045, 25, 198, 220, 220, 220, 37227, 63, 30493, 62, 27363, 7, 64, 11, 275, 8, 63, 318, 588, 4600, 30493, 257, 6624, 275, 47671, 475, 468, 257, 4465, 4049, 198, 220, 220, 220, 3275, 618, 484, 821, 407, 4961, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 4036, 14512, 2938, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5298, 2195, 861, 295, 12331, 7, 69, 1, 86, 4126, 705, 90, 40319, 92, 3256, 1392, 705, 90, 50039, 92, 6, 4943, 628, 198, 4299, 651, 62, 271, 62, 19734, 3419, 4613, 20512, 25, 198, 220, 220, 220, 37227, 13615, 1771, 356, 821, 287, 257, 366, 19734, 1, 15151, 28006, 11, 329, 1804, 198, 220, 220, 220, 38286, 276, 670, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6569, 62, 14933, 796, 1057, 62, 14116, 27144, 495, 7, 17816, 18300, 3256, 705, 47960, 20520, 737, 35312, 3419, 198, 220, 220, 220, 6569, 62, 6371, 82, 25, 7343, 58, 2536, 60, 796, 17635, 198, 220, 220, 220, 329, 6569, 62, 3672, 287, 6569, 62, 14933, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6569, 62, 6371, 82, 15853, 1057, 62, 14116, 27144, 495, 7, 17816, 18300, 3256, 705, 47960, 3256, 705, 1136, 12, 6371, 3256, 705, 438, 439, 3256, 6569, 62, 3672, 35944, 35312, 3419, 198, 220, 220, 220, 1441, 705, 19734, 6, 287, 37082, 77, 1911, 22179, 7, 47960, 62, 6371, 82, 8, 628 ]
2.498489
662
import torch import torch.nn as nn if __name__ == '__main__': batchsize =10 # stlstm_cell = STLSTMCell(4, 10) # x = torch.randn([1, 4]) # h = torch.randn([1, 10]) # c = torch.randn([1, 10]) # m = torch.randn([1, 10]) # # h_t, c_t, m_t = stlstm_cell(x, h, c, m) stlstm = STLSTM(4, 10, 2, batchsize) # stlstm.cuda() x = torch.randn([batchsize, 7, 4]) a = stlstm(x) a =1
[ 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 628, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 15458, 7857, 796, 940, 198, 220, 220, 220, 1303, 336, 75, 301, 76, 62, 3846, 796, 37269, 2257, 9655, 695, 7, 19, 11, 838, 8, 198, 220, 220, 220, 1303, 2124, 796, 28034, 13, 25192, 77, 26933, 16, 11, 604, 12962, 198, 220, 220, 220, 1303, 289, 796, 28034, 13, 25192, 77, 26933, 16, 11, 838, 12962, 198, 220, 220, 220, 1303, 269, 796, 28034, 13, 25192, 77, 26933, 16, 11, 838, 12962, 198, 220, 220, 220, 1303, 285, 796, 28034, 13, 25192, 77, 26933, 16, 11, 838, 12962, 198, 220, 220, 220, 1303, 198, 220, 220, 220, 1303, 289, 62, 83, 11, 269, 62, 83, 11, 285, 62, 83, 796, 336, 75, 301, 76, 62, 3846, 7, 87, 11, 289, 11, 269, 11, 285, 8, 628, 220, 220, 220, 336, 75, 301, 76, 796, 37269, 2257, 44, 7, 19, 11, 838, 11, 362, 11, 15458, 7857, 8, 198, 220, 220, 220, 1303, 336, 75, 301, 76, 13, 66, 15339, 3419, 198, 220, 220, 220, 2124, 796, 28034, 13, 25192, 77, 26933, 43501, 7857, 11, 767, 11, 604, 12962, 198, 220, 220, 220, 257, 796, 336, 75, 301, 76, 7, 87, 8, 198, 220, 220, 220, 257, 796, 16, 628, 628, 628 ]
1.873362
229
from flask import Flask, render_template from flask_googlemaps import GoogleMaps, Map, icons from dynaconf import FlaskDynaconf app = Flask(__name__) GoogleMaps(app) FlaskDynaconf(app) @app.route("/") if __name__ == "__main__": app.run(port=5050)
[ 6738, 42903, 1330, 46947, 11, 8543, 62, 28243, 198, 6738, 42903, 62, 13297, 31803, 1330, 3012, 47010, 11, 9347, 11, 17149, 198, 6738, 37860, 7807, 69, 1330, 46947, 35, 2047, 7807, 69, 198, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 198, 11708, 47010, 7, 1324, 8, 198, 7414, 2093, 35, 2047, 7807, 69, 7, 1324, 8, 628, 198, 31, 1324, 13, 38629, 7203, 14, 4943, 628, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 598, 13, 5143, 7, 634, 28, 1120, 1120, 8, 198 ]
2.752688
93
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import find_packages from setuptools import setup # Load package veersion number. with open("csdmpy/__init__.py", "r") as f: for line in f.readlines(): if "__version__" in line: before_keyword, keyword, after_keyword = line.partition("=") version = after_keyword.strip()[1:-1] # What packages are required for this module to be executed? required = [ "numpy>=1.17", "setuptools>=27.3", "astropy>=3.0", "requests>=2.21.0", "numexpr>=2.7.0", ] extras = {"matplotlib": ["matplotlib>=3.0"]} setup_requires = ["setuptools>=27.3"] here = os.path.abspath(os.path.dirname(__file__)) # Import the README and use it as the long-description. # Note: this will only work if 'README.md' is present in your MANIFEST.in file! try: with open(os.path.join(here, "README.md"), encoding="utf-8") as f: long_description = "\n" + f.read() except FileNotFoundError: long_description = "" setup( name="csdmpy", version=version, description="A python module for the core scientific dataset model.", long_description=long_description, long_description_content_type="text/markdown", author="Deepansh Srivastava", author_email="[email protected]", python_requires=">=3.6", url="https://github.com/DeepanshS/csdmpy/", packages=find_packages(), install_requires=required, setup_requires=setup_requires, extras_require=extras, tests_require=["pytest", "pytest-runner"], include_package_data=True, license="BSD-3-Clause", classifiers=[ # Trove classifiers # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers "Intended Audience :: Science/Research", "Intended Audience :: Developers", "Operating System :: OS Independent", "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Scientific/Engineering", ], )
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 11748, 28686, 198, 198, 6738, 900, 37623, 10141, 1330, 1064, 62, 43789, 198, 6738, 900, 37623, 10141, 1330, 9058, 198, 198, 2, 8778, 5301, 1569, 6900, 1271, 13, 198, 4480, 1280, 7203, 6359, 67, 3149, 88, 14, 834, 15003, 834, 13, 9078, 1600, 366, 81, 4943, 355, 277, 25, 198, 220, 220, 220, 329, 1627, 287, 277, 13, 961, 6615, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 611, 366, 834, 9641, 834, 1, 287, 1627, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 878, 62, 2539, 4775, 11, 21179, 11, 706, 62, 2539, 4775, 796, 1627, 13, 3911, 653, 7203, 2625, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2196, 796, 706, 62, 2539, 4775, 13, 36311, 3419, 58, 16, 21912, 16, 60, 628, 198, 2, 1867, 10392, 389, 2672, 329, 428, 8265, 284, 307, 10945, 30, 198, 35827, 796, 685, 198, 220, 220, 220, 366, 77, 32152, 29, 28, 16, 13, 1558, 1600, 198, 220, 220, 220, 366, 2617, 37623, 10141, 29, 28, 1983, 13, 18, 1600, 198, 220, 220, 220, 366, 459, 28338, 29, 28, 18, 13, 15, 1600, 198, 220, 220, 220, 366, 8897, 3558, 29, 28, 17, 13, 2481, 13, 15, 1600, 198, 220, 220, 220, 366, 22510, 31937, 29, 28, 17, 13, 22, 13, 15, 1600, 198, 60, 198, 2302, 8847, 796, 19779, 6759, 29487, 8019, 1298, 14631, 6759, 29487, 8019, 29, 28, 18, 13, 15, 8973, 92, 198, 40406, 62, 47911, 796, 14631, 2617, 37623, 10141, 29, 28, 1983, 13, 18, 8973, 198, 198, 1456, 796, 28686, 13, 6978, 13, 397, 2777, 776, 7, 418, 13, 6978, 13, 15908, 3672, 7, 834, 7753, 834, 4008, 198, 198, 2, 17267, 262, 20832, 11682, 290, 779, 340, 355, 262, 890, 12, 11213, 13, 198, 2, 5740, 25, 428, 481, 691, 670, 611, 705, 15675, 11682, 13, 9132, 6, 318, 1944, 287, 534, 17254, 5064, 6465, 13, 259, 2393, 0, 198, 28311, 25, 198, 220, 220, 220, 351, 1280, 7, 418, 13, 6978, 13, 22179, 7, 1456, 11, 366, 15675, 11682, 13, 9132, 12340, 21004, 2625, 40477, 12, 23, 4943, 355, 277, 25, 198, 220, 220, 220, 220, 220, 220, 220, 890, 62, 11213, 796, 37082, 77, 1, 1343, 277, 13, 961, 3419, 198, 16341, 9220, 3673, 21077, 12331, 25, 198, 220, 220, 220, 890, 62, 11213, 796, 13538, 628, 198, 40406, 7, 198, 220, 220, 220, 1438, 2625, 6359, 67, 3149, 88, 1600, 198, 220, 220, 220, 2196, 28, 9641, 11, 198, 220, 220, 220, 6764, 2625, 32, 21015, 8265, 329, 262, 4755, 5654, 27039, 2746, 33283, 198, 220, 220, 220, 890, 62, 11213, 28, 6511, 62, 11213, 11, 198, 220, 220, 220, 890, 62, 11213, 62, 11299, 62, 4906, 2625, 5239, 14, 4102, 2902, 1600, 198, 220, 220, 220, 1772, 2625, 29744, 504, 71, 311, 15104, 459, 4170, 1600, 198, 220, 220, 220, 1772, 62, 12888, 2625, 82, 15104, 459, 4170, 13, 4531, 31, 418, 84, 13, 15532, 1600, 198, 220, 220, 220, 21015, 62, 47911, 2625, 29, 28, 18, 13, 21, 1600, 198, 220, 220, 220, 19016, 2625, 5450, 1378, 12567, 13, 785, 14, 29744, 504, 71, 50, 14, 6359, 67, 3149, 88, 14, 1600, 198, 220, 220, 220, 10392, 28, 19796, 62, 43789, 22784, 198, 220, 220, 220, 2721, 62, 47911, 28, 35827, 11, 198, 220, 220, 220, 9058, 62, 47911, 28, 40406, 62, 47911, 11, 198, 220, 220, 220, 33849, 62, 46115, 28, 2302, 8847, 11, 198, 220, 220, 220, 5254, 62, 46115, 28, 14692, 9078, 9288, 1600, 366, 9078, 9288, 12, 16737, 33116, 198, 220, 220, 220, 2291, 62, 26495, 62, 7890, 28, 17821, 11, 198, 220, 220, 220, 5964, 2625, 21800, 12, 18, 12, 2601, 682, 1600, 198, 220, 220, 220, 1398, 13350, 41888, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8498, 303, 1398, 13350, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 6462, 1351, 25, 3740, 1378, 79, 4464, 72, 13, 29412, 13, 2398, 14, 79, 4464, 72, 30, 4, 18, 32, 2673, 28, 4868, 62, 4871, 13350, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 5800, 14, 25104, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 5317, 1631, 7591, 1240, 7904, 34152, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 18843, 803, 4482, 7904, 7294, 13362, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 41206, 12678, 7904, 604, 532, 17993, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 34156, 7904, 7294, 40, 20010, 1079, 7904, 347, 10305, 13789, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 21, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 22, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 23, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 15167, 2229, 15417, 7904, 11361, 7904, 513, 13, 24, 1600, 198, 220, 220, 220, 220, 220, 220, 220, 366, 33221, 7904, 22060, 14, 13798, 1586, 1600, 198, 220, 220, 220, 16589, 198, 8, 198 ]
2.514754
915
from src.message_broker.rabbitmq.rabbitmq_api import RabbitMQApi
[ 6738, 12351, 13, 20500, 62, 7957, 6122, 13, 81, 14229, 76, 80, 13, 81, 14229, 76, 80, 62, 15042, 1330, 25498, 49215, 32, 14415, 198 ]
2.6
25
import geojson import requests fileName = input("Enter Filename:") parameterName = input("Enter Parameter Name:") parameterName = parameterName.lower().capitalize() typeOfLevelName = input("Enter type of level:") levelName = input("Enter level:") levelVal = int(levelName) foreCastHourName = input("Enter forecast hour:") forecastHour = int(foreCastHourName) myjson = { "fileName":fileName, "parameterName":parameterName, "forecastHour":forecastHour } mygeojson = requests.post("http://127.0.0.1:5000/get-geo",json=myjson) mygeojson = mygeojson.json() with open("grib2geo.json","w") as write_file: geojson.dump(mygeojson,write_file)
[ 11748, 4903, 13210, 1559, 198, 11748, 7007, 198, 7753, 5376, 796, 5128, 7203, 17469, 7066, 12453, 25, 4943, 198, 17143, 2357, 5376, 796, 5128, 7203, 17469, 25139, 2357, 6530, 25, 4943, 198, 17143, 2357, 5376, 796, 11507, 5376, 13, 21037, 22446, 27544, 1096, 3419, 198, 4906, 5189, 4971, 5376, 796, 5128, 7203, 17469, 2099, 286, 1241, 25, 4943, 198, 5715, 5376, 796, 5128, 7203, 17469, 1241, 25, 4943, 198, 5715, 7762, 796, 493, 7, 5715, 5376, 8, 198, 754, 19248, 43223, 5376, 796, 5128, 7203, 17469, 11092, 1711, 25, 4943, 198, 754, 2701, 43223, 796, 493, 7, 754, 19248, 43223, 5376, 8, 198, 1820, 17752, 796, 1391, 198, 197, 1, 7753, 5376, 1298, 7753, 5376, 11, 198, 197, 1, 17143, 2357, 5376, 1298, 17143, 2357, 5376, 11, 198, 197, 1, 754, 2701, 43223, 1298, 754, 2701, 43223, 198, 220, 220, 1782, 198, 1820, 469, 13210, 1559, 796, 7007, 13, 7353, 7203, 4023, 1378, 16799, 13, 15, 13, 15, 13, 16, 25, 27641, 14, 1136, 12, 469, 78, 1600, 17752, 28, 1820, 17752, 8, 198, 1820, 469, 13210, 1559, 796, 616, 469, 13210, 1559, 13, 17752, 3419, 198, 4480, 1280, 7203, 70, 822, 17, 469, 78, 13, 17752, 2430, 86, 4943, 355, 3551, 62, 7753, 25, 198, 220, 220, 220, 4903, 13210, 1559, 13, 39455, 7, 1820, 469, 13210, 1559, 11, 13564, 62, 7753, 8, 198 ]
2.857778
225
import asyncio from asyncio import Task from typing import List from base_logger import logging logger = logging.getLogger(__name__) from Dolphin.dolphinGameHandler import DolphinGameHandler from Model.itemDto import ItemDto from util.abstractGameHandler import AbstractGameHandler from PySide6.QtCore import Signal
[ 11748, 30351, 952, 198, 6738, 30351, 952, 1330, 15941, 198, 6738, 19720, 1330, 7343, 198, 198, 6738, 2779, 62, 6404, 1362, 1330, 18931, 198, 6404, 1362, 796, 18931, 13, 1136, 11187, 1362, 7, 834, 3672, 834, 8, 198, 198, 6738, 44576, 13, 67, 27161, 8777, 25060, 1330, 44576, 8777, 25060, 198, 6738, 9104, 13, 9186, 35, 1462, 1330, 9097, 35, 1462, 198, 6738, 7736, 13, 397, 8709, 8777, 25060, 1330, 27741, 8777, 25060, 198, 198, 6738, 9485, 24819, 21, 13, 48, 83, 14055, 1330, 26484, 628 ]
3.72093
86
from __future__ import print_function import sys, os sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o def h2odownload_csv(): """ Python API test: h2o.download_csv(data, filename) """ training_data = h2o.import_file(pyunit_utils.locate("smalldata/logreg/benign.csv")) try: results_dir = pyunit_utils.locate("results") # find directory path to results folder filename = os.path.join(results_dir, "benign.csv") h2o.download_csv(training_data, filename) # save csv assert os.path.isfile(filename), "h2o.download_csv() command is not working." except Exception as e: if 'File not found' in e.args[0]: print("Directory is not writable. h2o.download_csv() command is not tested.") else: assert False, "h2o.download_csvresult() command is not working." if __name__ == "__main__": pyunit_utils.standalone_test(h2odownload_csv) else: h2odownload_csv()
[ 6738, 11593, 37443, 834, 1330, 3601, 62, 8818, 198, 11748, 25064, 11, 28686, 198, 17597, 13, 6978, 13, 28463, 7, 16, 553, 40720, 40720, 40720, 4943, 198, 6738, 5254, 1330, 12972, 20850, 62, 26791, 198, 11748, 289, 17, 78, 198, 198, 4299, 289, 17, 375, 593, 2220, 62, 40664, 33529, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 11361, 7824, 1332, 25, 289, 17, 78, 13, 15002, 62, 40664, 7, 7890, 11, 29472, 8, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3047, 62, 7890, 796, 289, 17, 78, 13, 11748, 62, 7753, 7, 9078, 20850, 62, 26791, 13, 75, 13369, 7203, 5796, 282, 335, 1045, 14, 6404, 2301, 14, 11722, 570, 13, 40664, 48774, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2482, 62, 15908, 796, 12972, 20850, 62, 26791, 13, 75, 13369, 7203, 43420, 4943, 220, 220, 220, 1303, 1064, 8619, 3108, 284, 2482, 9483, 198, 220, 220, 220, 220, 220, 220, 220, 29472, 796, 28686, 13, 6978, 13, 22179, 7, 43420, 62, 15908, 11, 366, 11722, 570, 13, 40664, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 289, 17, 78, 13, 15002, 62, 40664, 7, 34409, 62, 7890, 11, 29472, 8, 220, 220, 220, 220, 220, 220, 1303, 3613, 269, 21370, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 28686, 13, 6978, 13, 4468, 576, 7, 34345, 828, 366, 71, 17, 78, 13, 15002, 62, 40664, 3419, 3141, 318, 407, 1762, 526, 198, 220, 220, 220, 2845, 35528, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 705, 8979, 407, 1043, 6, 287, 304, 13, 22046, 58, 15, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3601, 7203, 43055, 318, 407, 1991, 540, 13, 220, 289, 17, 78, 13, 15002, 62, 40664, 3419, 3141, 318, 407, 6789, 19570, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 10352, 11, 366, 71, 17, 78, 13, 15002, 62, 40664, 20274, 3419, 3141, 318, 407, 1762, 526, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 12972, 20850, 62, 26791, 13, 1481, 17749, 62, 9288, 7, 71, 17, 375, 593, 2220, 62, 40664, 8, 198, 17772, 25, 198, 220, 220, 220, 289, 17, 375, 593, 2220, 62, 40664, 3419, 198 ]
2.461153
399
import math import torch from torch import nn as nn from models.archs.arch_util import make_layer class Upsample(nn.Sequential): """Upsample module. Args: scale (int): Scale factor. Supported scales: 2^n and 3. num_feat (int): Channel number of intermediate features. """ class ChannelAttention(nn.Module): """Channel attention used in RCAN. Args: num_feat (int): Channel number of intermediate features. squeeze_factor (int): Channel squeeze factor. Default: 16. """ class RCAB(nn.Module): """Residual Channel Attention Block (RCAB) used in RCAN. Args: num_feat (int): Channel number of intermediate features. squeeze_factor (int): Channel squeeze factor. Default: 16. res_scale (float): Scale the residual. Default: 1. """ class ResidualGroup(nn.Module): """Residual Group of RCAB. Args: num_feat (int): Channel number of intermediate features. num_block (int): Block number in the body network. squeeze_factor (int): Channel squeeze factor. Default: 16. res_scale (float): Scale the residual. Default: 1. """ class RCAN(nn.Module): """Residual Channel Attention Networks. Paper: Image Super-Resolution Using Very Deep Residual Channel Attention Networks Ref git repo: https://github.com/yulunzhang/RCAN. Args: num_in_ch (int): Channel number of inputs. num_out_ch (int): Channel number of outputs. num_feat (int): Channel number of intermediate features. Default: 64. num_group (int): Number of ResidualGroup. Default: 10. num_block (int): Number of RCAB in ResidualGroup. Default: 16. squeeze_factor (int): Channel squeeze factor. Default: 16. upscale (int): Upsampling factor. Support 2^n and 3. Default: 4. res_scale (float): Used to scale the residual in residual block. Default: 1. img_range (float): Image range. Default: 255. rgb_mean (tuple[float]): Image mean in RGB orders. Default: (0.4488, 0.4371, 0.4040), calculated from DIV2K dataset. """ if __name__ == '__main__': x = torch.randn(4, 3, 3, 64, 64) model = RCAN(num_in_ch=3, num_out_ch=3, num_frames=3, num_feat=64, num_group=5, num_block=2, squeeze_factor=16, upscale=1, res_scale=1) out = model(x) print(out.shape)
[ 11748, 10688, 198, 11748, 28034, 198, 6738, 28034, 1330, 299, 77, 355, 299, 77, 198, 198, 6738, 4981, 13, 34592, 13, 998, 62, 22602, 1330, 787, 62, 29289, 628, 198, 4871, 35949, 1403, 7, 20471, 13, 44015, 1843, 2599, 198, 220, 220, 220, 37227, 52, 862, 1403, 8265, 13, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 5046, 357, 600, 2599, 21589, 5766, 13, 36848, 16252, 25, 362, 61, 77, 290, 513, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 357, 600, 2599, 11102, 1271, 286, 19898, 3033, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 11102, 8086, 1463, 7, 20471, 13, 26796, 2599, 198, 220, 220, 220, 37227, 29239, 3241, 973, 287, 13987, 1565, 13, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 357, 600, 2599, 11102, 1271, 286, 19898, 3033, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21229, 62, 31412, 357, 600, 2599, 11102, 21229, 5766, 13, 15161, 25, 1467, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 13987, 6242, 7, 20471, 13, 26796, 2599, 198, 220, 220, 220, 37227, 4965, 312, 723, 11102, 47406, 9726, 357, 7397, 6242, 8, 973, 287, 13987, 1565, 13, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 357, 600, 2599, 11102, 1271, 286, 19898, 3033, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21229, 62, 31412, 357, 600, 2599, 11102, 21229, 5766, 13, 15161, 25, 1467, 13, 198, 220, 220, 220, 220, 220, 220, 220, 581, 62, 9888, 357, 22468, 2599, 21589, 262, 29598, 13, 15161, 25, 352, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 1874, 312, 723, 13247, 7, 20471, 13, 26796, 2599, 198, 220, 220, 220, 37227, 4965, 312, 723, 4912, 286, 13987, 6242, 13, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 357, 600, 2599, 11102, 1271, 286, 19898, 3033, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 9967, 357, 600, 2599, 9726, 1271, 287, 262, 1767, 3127, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21229, 62, 31412, 357, 600, 2599, 11102, 21229, 5766, 13, 15161, 25, 1467, 13, 198, 220, 220, 220, 220, 220, 220, 220, 581, 62, 9888, 357, 22468, 2599, 21589, 262, 29598, 13, 15161, 25, 352, 13, 198, 220, 220, 220, 37227, 628, 198, 4871, 13987, 1565, 7, 20471, 13, 26796, 2599, 198, 220, 220, 220, 37227, 4965, 312, 723, 11102, 47406, 27862, 13, 198, 220, 220, 220, 14962, 25, 7412, 3115, 12, 4965, 2122, 8554, 9576, 10766, 1874, 312, 723, 11102, 47406, 198, 220, 220, 220, 220, 220, 220, 220, 27862, 198, 220, 220, 220, 6524, 17606, 29924, 25, 3740, 1378, 12567, 13, 785, 14, 88, 377, 403, 23548, 648, 14, 7397, 1565, 13, 198, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 259, 62, 354, 357, 600, 2599, 11102, 1271, 286, 17311, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 448, 62, 354, 357, 600, 2599, 11102, 1271, 286, 23862, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 357, 600, 2599, 11102, 1271, 286, 19898, 3033, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15161, 25, 5598, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 8094, 357, 600, 2599, 7913, 286, 1874, 312, 723, 13247, 13, 15161, 25, 838, 13, 198, 220, 220, 220, 220, 220, 220, 220, 997, 62, 9967, 357, 600, 2599, 7913, 286, 13987, 6242, 287, 1874, 312, 723, 13247, 13, 15161, 25, 1467, 13, 198, 220, 220, 220, 220, 220, 220, 220, 21229, 62, 31412, 357, 600, 2599, 11102, 21229, 5766, 13, 15161, 25, 1467, 13, 198, 220, 220, 220, 220, 220, 220, 220, 44918, 357, 600, 2599, 35949, 321, 11347, 5766, 13, 7929, 362, 61, 77, 290, 513, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15161, 25, 604, 13, 198, 220, 220, 220, 220, 220, 220, 220, 581, 62, 9888, 357, 22468, 2599, 16718, 284, 5046, 262, 29598, 287, 29598, 2512, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15161, 25, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 33705, 62, 9521, 357, 22468, 2599, 7412, 2837, 13, 15161, 25, 14280, 13, 198, 220, 220, 220, 220, 220, 220, 220, 46140, 62, 32604, 357, 83, 29291, 58, 22468, 60, 2599, 7412, 1612, 287, 25228, 6266, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15161, 25, 357, 15, 13, 2598, 3459, 11, 657, 13, 19, 38056, 11, 657, 13, 1821, 1821, 828, 10488, 422, 360, 3824, 17, 42, 27039, 13, 198, 220, 220, 220, 37227, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 2124, 796, 28034, 13, 25192, 77, 7, 19, 11, 513, 11, 513, 11, 5598, 11, 5598, 8, 198, 220, 220, 220, 2746, 796, 13987, 1565, 7, 22510, 62, 259, 62, 354, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 448, 62, 354, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 37805, 28, 18, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 27594, 28, 2414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 8094, 28, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 997, 62, 9967, 28, 17, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21229, 62, 31412, 28, 1433, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 44918, 28, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 581, 62, 9888, 28, 16, 8, 198, 220, 220, 220, 503, 796, 2746, 7, 87, 8, 198, 220, 220, 220, 3601, 7, 448, 13, 43358, 8, 198 ]
2.386854
1,065
# python3 import argparse from Bio import SeqIO from Bio.Alphabet import generic_dna, generic_protein # imput parameters ap = argparse.ArgumentParser() ap.add_argument("-fa","--fasta", required=True, help="input fasta file") ap.add_argument("-gb", "--genbank", required=True, help="output genbank file") args = vars(ap.parse_args()) # main input_handle = open(args['fasta'], "rU") output_handle = open(args['genbank'], "w") # import fasta sequences = list(SeqIO.parse(input_handle, "fasta")) # asign generic_dna or generic_protein for seq in sequences: seq.seq.alphabet = generic_dna # output count = SeqIO.write(sequences, output_handle, "genbank") output_handle.close() input_handle.close()
[ 2, 21015, 18, 198, 11748, 1822, 29572, 198, 6738, 16024, 1330, 1001, 80, 9399, 198, 6738, 16024, 13, 2348, 19557, 1330, 14276, 62, 67, 2616, 11, 14276, 62, 48693, 198, 2, 848, 315, 10007, 198, 499, 796, 1822, 29572, 13, 28100, 1713, 46677, 3419, 198, 499, 13, 2860, 62, 49140, 7203, 12, 13331, 2430, 438, 7217, 64, 1600, 2672, 28, 17821, 11, 1037, 2625, 15414, 3049, 64, 2393, 4943, 198, 499, 13, 2860, 62, 49140, 7203, 12, 22296, 1600, 366, 438, 5235, 17796, 1600, 2672, 28, 17821, 11, 1037, 2625, 22915, 2429, 17796, 2393, 4943, 198, 22046, 796, 410, 945, 7, 499, 13, 29572, 62, 22046, 28955, 198, 2, 1388, 198, 15414, 62, 28144, 796, 1280, 7, 22046, 17816, 7217, 64, 6, 4357, 366, 81, 52, 4943, 198, 22915, 62, 28144, 796, 1280, 7, 22046, 17816, 5235, 17796, 6, 4357, 366, 86, 4943, 198, 2, 1330, 3049, 64, 198, 3107, 3007, 796, 1351, 7, 4653, 80, 9399, 13, 29572, 7, 15414, 62, 28144, 11, 366, 7217, 64, 48774, 198, 198, 2, 355, 570, 14276, 62, 67, 2616, 393, 14276, 62, 48693, 198, 1640, 33756, 287, 16311, 25, 198, 220, 220, 220, 33756, 13, 41068, 13, 17307, 8380, 796, 14276, 62, 67, 2616, 198, 2, 5072, 198, 9127, 796, 1001, 80, 9399, 13, 13564, 7, 3107, 3007, 11, 5072, 62, 28144, 11, 366, 5235, 17796, 4943, 198, 198, 22915, 62, 28144, 13, 19836, 3419, 198, 15414, 62, 28144, 13, 19836, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 220, 198 ]
2.836
250
#!/usr/bin/env python # Created by BBruceyuan on 18-7-9. from flask_script import Manager from flask_script import Shell from flask_migrate import Migrate, MigrateCommand from flask import current_app from app import create_app from app import db blog = create_app('develop') manager = Manager(blog) # with blog.app_context(): # print(current_app.config['SECRET_KEY']) # manager.run() migrate = Migrate(blog, db) manager.add_command("shell", Shell(make_context=make_shell_context)) manager.add_command('db', MigrateCommand) if __name__ == '__main__': manager.run()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 15622, 416, 12597, 26524, 88, 7258, 319, 1248, 12, 22, 12, 24, 13, 628, 198, 6738, 42903, 62, 12048, 1330, 9142, 198, 6738, 42903, 62, 12048, 1330, 17537, 198, 6738, 42903, 62, 76, 42175, 1330, 337, 42175, 11, 337, 42175, 21575, 198, 6738, 42903, 1330, 1459, 62, 1324, 198, 6738, 598, 1330, 2251, 62, 1324, 198, 6738, 598, 1330, 20613, 628, 198, 14036, 796, 2251, 62, 1324, 10786, 16244, 11537, 198, 198, 37153, 796, 9142, 7, 14036, 8, 198, 2, 351, 4130, 13, 1324, 62, 22866, 33529, 198, 2, 220, 220, 220, 220, 3601, 7, 14421, 62, 1324, 13, 11250, 17816, 23683, 26087, 62, 20373, 6, 12962, 198, 2, 4706, 13, 5143, 3419, 198, 198, 76, 42175, 796, 337, 42175, 7, 14036, 11, 20613, 8, 628, 198, 198, 37153, 13, 2860, 62, 21812, 7203, 29149, 1600, 17537, 7, 15883, 62, 22866, 28, 15883, 62, 29149, 62, 22866, 4008, 198, 37153, 13, 2860, 62, 21812, 10786, 9945, 3256, 337, 42175, 21575, 8, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 4706, 13, 5143, 3419, 198 ]
3.036458
192
#!/usr/bin/env python # -*- coding: utf-8 -*- """ : Project - Dialted CRF : Network frameworks and helpers : Author - Xi Mo : Institute - University of Kansas : Date - 6/24/2021 : Last Update - 7/10/2021 : License: Apache 2.0 """ import torch import torch.nn as nn import torch.nn.functional as ops import time import math from pathlib import Path from utils.configuration import CONFIG # optimizer parser # Write model to disk
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 201, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 201, 198, 201, 198, 37811, 201, 198, 25, 4935, 532, 21269, 1513, 8740, 37, 201, 198, 25, 7311, 29251, 290, 49385, 201, 198, 25, 6434, 532, 21313, 4270, 201, 198, 25, 5136, 532, 2059, 286, 9470, 201, 198, 25, 7536, 532, 718, 14, 1731, 14, 1238, 2481, 201, 198, 25, 4586, 10133, 532, 767, 14, 940, 14, 1238, 2481, 201, 198, 25, 13789, 25, 24843, 362, 13, 15, 201, 198, 37811, 201, 198, 201, 198, 11748, 28034, 201, 198, 11748, 28034, 13, 20471, 355, 299, 77, 201, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 39628, 201, 198, 11748, 640, 201, 198, 11748, 10688, 201, 198, 201, 198, 6738, 3108, 8019, 1330, 10644, 201, 198, 6738, 3384, 4487, 13, 11250, 3924, 1330, 25626, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 201, 198, 2, 6436, 7509, 30751, 201, 198, 201, 198, 2, 19430, 2746, 284, 11898, 201 ]
2.703488
172
import psycopg2 from psycopg2 import sql import string import os from .row import Row from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine Base = declarative_base() from .harvester import ( HarvesterRow, MonitoredPathRow, )
[ 11748, 17331, 22163, 70, 17, 198, 6738, 17331, 22163, 70, 17, 1330, 44161, 198, 11748, 4731, 198, 11748, 28686, 198, 6738, 764, 808, 1330, 11314, 198, 198, 6738, 44161, 282, 26599, 13, 2302, 13, 32446, 283, 876, 1330, 2377, 283, 876, 62, 8692, 198, 6738, 44161, 282, 26599, 1330, 2251, 62, 18392, 198, 14881, 796, 2377, 283, 876, 62, 8692, 3419, 198, 198, 6738, 764, 9869, 1158, 353, 1330, 357, 198, 220, 220, 220, 2113, 1158, 353, 25166, 11, 198, 220, 220, 220, 2892, 20026, 15235, 25166, 11, 198, 8, 628, 628, 628, 628, 628 ]
2.978947
95
from aztk import models from aztk.utils import azure_api class CoreClient: """The base AZTK client that all other clients inherit from. **This client should not be used directly. Only software specific clients should be used.** """
[ 6738, 35560, 30488, 1330, 4981, 198, 6738, 35560, 30488, 13, 26791, 1330, 35560, 495, 62, 15042, 628, 198, 4871, 7231, 11792, 25, 198, 220, 220, 220, 37227, 464, 2779, 26253, 51, 42, 5456, 326, 477, 584, 7534, 16955, 422, 13, 628, 220, 220, 220, 12429, 1212, 5456, 815, 407, 307, 973, 3264, 13, 5514, 3788, 2176, 7534, 198, 220, 220, 220, 815, 307, 973, 13, 1174, 628, 220, 220, 220, 37227, 198 ]
3.5
72
import asyncio import re import discord from discord.ext import commands
[ 11748, 30351, 952, 198, 11748, 302, 198, 198, 11748, 36446, 198, 6738, 36446, 13, 2302, 1330, 9729, 628, 198 ]
4
19
# -*- coding: utf-8 -*- # # Unless explicitly stated otherwise all files in this repository are licensed # under the Apache 2 License. # # This product includes software developed at Datadog # (https://www.datadoghq.com/). # # Copyright 2018 Datadog, Inc. # """api/lists.py Exposed lists for autocomplete. """ from flask import jsonify, request, url_for from flask_login import login_required from ..models import List from . import api @api.route('/lists/<string:board_id>') @login_required
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 198, 2, 17486, 11777, 5081, 4306, 477, 3696, 287, 428, 16099, 389, 11971, 198, 2, 739, 262, 24843, 362, 13789, 13, 198, 2, 198, 2, 770, 1720, 3407, 3788, 4166, 379, 16092, 324, 519, 198, 2, 357, 5450, 1378, 2503, 13, 19608, 4533, 456, 80, 13, 785, 14, 737, 198, 2, 198, 2, 15069, 2864, 16092, 324, 519, 11, 3457, 13, 198, 2, 198, 198, 37811, 15042, 14, 20713, 13, 9078, 198, 198, 16870, 1335, 8341, 329, 1960, 42829, 6677, 13, 198, 37811, 198, 198, 6738, 42903, 1330, 33918, 1958, 11, 2581, 11, 19016, 62, 1640, 198, 6738, 42903, 62, 38235, 1330, 17594, 62, 35827, 198, 6738, 11485, 27530, 1330, 7343, 198, 6738, 764, 1330, 40391, 628, 198, 31, 15042, 13, 38629, 10786, 14, 20713, 14, 27, 8841, 25, 3526, 62, 312, 29, 11537, 198, 31, 38235, 62, 35827, 198 ]
3.192308
156
#!/usr/bin/env python # # A library that provides a Python interface to the Telegram Bot API # Copyright (C) 2015-2017 # Leandro Toledo de Souza <[email protected]> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser Public License for more details. # # You should have received a copy of the GNU Lesser Public License # along with this program. If not, see [http://www.gnu.org/licenses/]. """ This module contains helper functions """ import re try: from html import escape as escape_html # noqa: F401 except ImportError: from cgi import escape as escape_html # noqa: F401 def escape_markdown(text): """Helper function to escape telegram markup symbols""" escape_chars = '\*_`\[' return re.sub(r'([%s])' % escape_chars, r'\\\1', text)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 198, 2, 317, 5888, 326, 3769, 257, 11361, 7071, 284, 262, 50203, 18579, 7824, 198, 2, 15069, 357, 34, 8, 1853, 12, 5539, 198, 2, 1004, 28092, 36026, 390, 22862, 4496, 1279, 7959, 82, 31, 29412, 12, 660, 30536, 12, 13645, 13, 2398, 29, 198, 2, 198, 2, 770, 1430, 318, 1479, 3788, 25, 345, 460, 17678, 4163, 340, 290, 14, 273, 13096, 198, 2, 340, 739, 262, 2846, 286, 262, 22961, 12892, 263, 5094, 13789, 355, 3199, 416, 198, 2, 262, 3232, 10442, 5693, 11, 2035, 2196, 513, 286, 262, 13789, 11, 393, 198, 2, 357, 265, 534, 3038, 8, 597, 1568, 2196, 13, 198, 2, 198, 2, 770, 1430, 318, 9387, 287, 262, 2911, 326, 340, 481, 307, 4465, 11, 198, 2, 475, 42881, 15529, 34764, 56, 26, 1231, 772, 262, 17142, 18215, 286, 198, 2, 34482, 3398, 1565, 5603, 25382, 393, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 13, 220, 4091, 262, 198, 2, 22961, 12892, 263, 5094, 13789, 329, 517, 3307, 13, 198, 2, 198, 2, 921, 815, 423, 2722, 257, 4866, 286, 262, 22961, 12892, 263, 5094, 13789, 198, 2, 1863, 351, 428, 1430, 13, 220, 1002, 407, 11, 766, 685, 4023, 1378, 2503, 13, 41791, 13, 2398, 14, 677, 4541, 14, 4083, 198, 37811, 770, 8265, 4909, 31904, 5499, 37227, 198, 198, 11748, 302, 198, 198, 28311, 25, 198, 220, 220, 220, 422, 27711, 1330, 6654, 355, 6654, 62, 6494, 220, 1303, 645, 20402, 25, 376, 21844, 198, 16341, 17267, 12331, 25, 198, 220, 220, 220, 422, 269, 12397, 1330, 6654, 355, 6654, 62, 6494, 220, 1303, 645, 20402, 25, 376, 21844, 628, 198, 4299, 6654, 62, 4102, 2902, 7, 5239, 2599, 198, 220, 220, 220, 37227, 47429, 2163, 284, 6654, 573, 30536, 41485, 14354, 37811, 198, 220, 220, 220, 6654, 62, 354, 945, 796, 705, 59, 9, 62, 63, 59, 17816, 198, 220, 220, 220, 1441, 302, 13, 7266, 7, 81, 6, 26933, 4, 82, 12962, 6, 4064, 6654, 62, 354, 945, 11, 374, 6, 6852, 59, 16, 3256, 2420, 8, 198 ]
3.364672
351
from typing import Iterable, Union from neuralogic.core.constructs.predicate import Predicate from neuralogic.core.constructs import rule, factories AtomType = Union["BaseAtom", "WeightedAtom"] BodyAtomType = Union["BaseAtom", "WeightedAtom"] Head = AtomType Body = Union[Iterable[BodyAtomType], BodyAtomType]
[ 6738, 19720, 1330, 40806, 540, 11, 4479, 198, 198, 6738, 17019, 519, 291, 13, 7295, 13, 41571, 82, 13, 28764, 5344, 1330, 14322, 5344, 198, 6738, 17019, 519, 291, 13, 7295, 13, 41571, 82, 1330, 3896, 11, 17590, 628, 198, 2953, 296, 6030, 796, 4479, 14692, 14881, 2953, 296, 1600, 366, 25844, 276, 2953, 296, 8973, 198, 25842, 2953, 296, 6030, 796, 4479, 14692, 14881, 2953, 296, 1600, 366, 25844, 276, 2953, 296, 8973, 198, 198, 13847, 796, 33102, 6030, 198, 25842, 796, 4479, 58, 29993, 540, 58, 25842, 2953, 296, 6030, 4357, 12290, 2953, 296, 6030, 60, 628, 198 ]
3.16
100
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'sphinx-php', version = '1.0', author = 'Fabien Potencier', author_email = '[email protected]', description = 'Sphinx Extensions for PHP and Symfony', license = 'MIT', packages = find_packages(), install_requires = ['Sphinx>=0.6'], )
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 900, 37623, 10141, 1330, 9058, 11, 1064, 62, 43789, 198, 198, 40406, 7, 198, 220, 220, 220, 1438, 796, 705, 82, 746, 28413, 12, 10121, 3256, 198, 220, 220, 220, 2196, 796, 705, 16, 13, 15, 3256, 198, 220, 220, 220, 1772, 796, 705, 43957, 2013, 6902, 12685, 959, 3256, 198, 220, 220, 220, 1772, 62, 12888, 796, 705, 36434, 2013, 31, 37047, 69, 1647, 13, 785, 3256, 198, 220, 220, 220, 6764, 796, 705, 50, 746, 28413, 49751, 329, 19599, 290, 15845, 69, 1647, 3256, 198, 220, 220, 220, 5964, 796, 705, 36393, 3256, 198, 220, 220, 220, 10392, 796, 1064, 62, 43789, 22784, 198, 220, 220, 220, 2721, 62, 47911, 796, 37250, 50, 746, 28413, 29, 28, 15, 13, 21, 6, 4357, 198, 8, 198 ]
2.454545
143
import argparse import logging import random import socket import ssl import sys import time lista_de_sockets = [] configuracao_agente = [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36" ] if __name__ == "__main__": if len(sys.argv)> 1: slowloris() else: print "Insira pelo menos 1 argumento no formato python slowlorys.py ipAddress numberOfSockets"
[ 11748, 1822, 29572, 198, 11748, 18931, 198, 11748, 4738, 198, 11748, 17802, 198, 11748, 264, 6649, 198, 11748, 25064, 198, 11748, 640, 198, 198, 4868, 64, 62, 2934, 62, 82, 11603, 796, 17635, 198, 11250, 333, 330, 5488, 62, 363, 21872, 796, 685, 198, 220, 220, 220, 366, 44, 8590, 5049, 14, 20, 13, 15, 357, 14155, 37638, 26, 8180, 4100, 7294, 1395, 838, 62, 1157, 62, 21, 8, 4196, 13908, 20827, 14, 46096, 13, 2623, 357, 42, 28656, 11, 588, 2269, 37549, 8, 13282, 14, 4310, 13, 15, 13, 1983, 5332, 13, 21139, 23298, 14, 46096, 13, 2623, 1, 198, 60, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 611, 18896, 7, 17597, 13, 853, 85, 8, 29, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3105, 4685, 271, 3419, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 366, 20376, 8704, 16176, 78, 1450, 418, 352, 4578, 78, 645, 1296, 5549, 21015, 3105, 75, 652, 82, 13, 9078, 20966, 20231, 1271, 5189, 50, 11603, 1, 198 ]
2.478261
184
import secrets from django.db import models from django.contrib.auth.models import User, Group # Authentication user group models.signals.post_save.connect(create_auth_group, sender=Group) # User configuration settings models.signals.post_save.connect(create_user_config, sender=User)
[ 11748, 13141, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 11, 4912, 628, 198, 2, 48191, 2836, 1448, 628, 198, 198, 27530, 13, 12683, 874, 13, 7353, 62, 21928, 13, 8443, 7, 17953, 62, 18439, 62, 8094, 11, 29788, 28, 13247, 8, 628, 198, 2, 11787, 8398, 6460, 628, 198, 198, 27530, 13, 12683, 874, 13, 7353, 62, 21928, 13, 8443, 7, 17953, 62, 7220, 62, 11250, 11, 29788, 28, 12982, 8, 198 ]
3.430233
86
from pandac.PandaModules import * from panda3d.core import * from DNAProp import DNAProp
[ 6738, 19798, 330, 13, 47, 5282, 5841, 5028, 1330, 1635, 198, 6738, 279, 5282, 18, 67, 13, 7295, 1330, 1635, 198, 6738, 45080, 2969, 1773, 1330, 45080, 2969, 1773 ]
3.034483
29
""" Author: Ramiz Raja Created on: 11/01/2020 Problem: Search in a Rotated Sorted Array You are given a sorted array which is rotated at some random pivot point. Example: [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2] You are given a target value to search. If found in the array return its index, otherwise return -1. You can assume there are no duplicates in the array and your algorithm's runtime complexity must be in the order of O(log n). Example: Input: nums = [4,5,6,7,0,1,2], target = 0, Output: 4 """ def rotated_array_search(input_list, number): """ Find the index by searching in a rotated sorted array Args: input_list(array), number(int): Input array to search and the target Returns: int: Index or -1 """ # As array is sorted (even if it is rotated), with a little tweak to the binary search logic we can use # binary search and achieve the desired solution in ln(n) n = len(input_list) start = 0 end = n - 1 while start <= end: m = (start + end) // 2 if input_list[m] == number: return m elif input_list[start] > input_list[end]: # check if array part [start, end] is rotated or not # if input_list[start] > input_list[end] then that means the array part we are checking still contains # rotated numbers if number <= input_list[end]: # if number <= input_list[end] then that means number is in range [m+1, end] start = m + 1 else: # if number > input_list[end] then that means number is in range [start, m-1] end = m - 1 # below are the cases executed only when current array range [start, end] is not rotated elif number > input_list[m]: # number is in range [m+1, end] start = m + 1 else: # number < mid number so number is in range [start, m-1] end = m - 1 return -1 tests()
[ 37811, 198, 13838, 25, 7431, 528, 13308, 64, 198, 41972, 319, 25, 1367, 14, 486, 14, 42334, 198, 198, 40781, 25, 11140, 287, 257, 18481, 515, 311, 9741, 15690, 198, 1639, 389, 1813, 257, 23243, 7177, 543, 318, 38375, 379, 617, 4738, 30355, 966, 13, 198, 198, 16281, 25, 685, 15, 11, 16, 11, 17, 11, 19, 11, 20, 11, 21, 11, 22, 60, 1244, 1716, 685, 19, 11, 20, 11, 21, 11, 22, 11, 15, 11, 16, 11, 17, 60, 198, 198, 1639, 389, 1813, 257, 2496, 1988, 284, 2989, 13, 1002, 1043, 287, 262, 7177, 1441, 663, 6376, 11, 4306, 1441, 532, 16, 13, 198, 198, 1639, 460, 7048, 612, 389, 645, 14184, 16856, 287, 262, 7177, 290, 534, 11862, 338, 19124, 13357, 1276, 307, 287, 262, 1502, 286, 440, 7, 6404, 299, 737, 198, 198, 16281, 25, 198, 198, 20560, 25, 997, 82, 796, 685, 19, 11, 20, 11, 21, 11, 22, 11, 15, 11, 16, 11, 17, 4357, 2496, 796, 657, 11, 25235, 25, 604, 198, 37811, 628, 198, 4299, 38375, 62, 18747, 62, 12947, 7, 15414, 62, 4868, 11, 1271, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 9938, 262, 6376, 416, 10342, 287, 257, 38375, 23243, 7177, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 5128, 62, 4868, 7, 18747, 828, 1271, 7, 600, 2599, 23412, 7177, 284, 2989, 290, 262, 2496, 198, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 493, 25, 12901, 393, 532, 16, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 1081, 7177, 318, 23243, 357, 10197, 611, 340, 318, 38375, 828, 351, 257, 1310, 25393, 284, 262, 13934, 2989, 9156, 356, 460, 779, 198, 220, 220, 220, 1303, 13934, 2989, 290, 4620, 262, 10348, 4610, 287, 300, 77, 7, 77, 8, 198, 220, 220, 220, 299, 796, 18896, 7, 15414, 62, 4868, 8, 198, 220, 220, 220, 923, 796, 657, 198, 220, 220, 220, 886, 796, 299, 532, 352, 198, 220, 220, 220, 981, 923, 19841, 886, 25, 198, 220, 220, 220, 220, 220, 220, 220, 285, 796, 357, 9688, 1343, 886, 8, 3373, 362, 198, 220, 220, 220, 220, 220, 220, 220, 611, 5128, 62, 4868, 58, 76, 60, 6624, 1271, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 285, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 5128, 62, 4868, 58, 9688, 60, 1875, 5128, 62, 4868, 58, 437, 5974, 220, 1303, 2198, 611, 7177, 636, 685, 9688, 11, 886, 60, 318, 38375, 393, 407, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 5128, 62, 4868, 58, 9688, 60, 1875, 5128, 62, 4868, 58, 437, 60, 788, 326, 1724, 262, 7177, 636, 356, 389, 10627, 991, 4909, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 38375, 3146, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1271, 19841, 5128, 62, 4868, 58, 437, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 1271, 19841, 5128, 62, 4868, 58, 437, 60, 788, 326, 1724, 1271, 318, 287, 2837, 685, 76, 10, 16, 11, 886, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 796, 285, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 611, 1271, 1875, 5128, 62, 4868, 58, 437, 60, 788, 326, 1724, 1271, 318, 287, 2837, 685, 9688, 11, 285, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 796, 285, 532, 352, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 2174, 389, 262, 2663, 10945, 691, 618, 1459, 7177, 2837, 685, 9688, 11, 886, 60, 318, 407, 38375, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1271, 1875, 5128, 62, 4868, 58, 76, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 318, 287, 2837, 685, 76, 10, 16, 11, 886, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 923, 796, 285, 1343, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1271, 1279, 3095, 1271, 523, 1271, 318, 287, 2837, 685, 9688, 11, 285, 12, 16, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 886, 796, 285, 532, 352, 628, 220, 220, 220, 1441, 532, 16, 628, 628, 628, 198, 198, 41989, 3419, 198 ]
2.499373
797
import contextlib from flask_frozen import UrlForLogger, Freezer from naucse.utils.routes import absolute_urls_to_freeze class AllLinksLogger(UrlForLogger): """ AllLinksLogger primarily logs ``url_for`` calls, but yields urls from ``absolute_urls_to_freeze`` as well. """ def iter_calls(self): """ Yields all logged urls and links parsed from content. Unfortunately, ``yield from`` cannot be used as the queues are modified on the go. """ while self.logged_calls or absolute_urls_to_freeze: if self.logged_calls: yield self.logged_calls.popleft() # prefer urls from :atrr:`logged_calls` - so, ideally, cache is populated from the base repository continue if absolute_urls_to_freeze: yield absolute_urls_to_freeze.popleft() @contextlib.contextmanager def temporary_url_for_logger(app): """ A context manager which temporary adds a new UrlForLogger to the app and yields it, so it can be used to get logged calls. """ logger = UrlForLogger(app) yield logger # reverses the following operating from :class:`UrlForLogger` # self.app.url_default_functions.setdefault(None, []).insert(0, logger) app.url_default_functions[None].pop(0)
[ 11748, 4732, 8019, 198, 198, 6738, 42903, 62, 69, 42005, 1330, 8799, 75, 1890, 11187, 1362, 11, 3232, 9107, 198, 198, 6738, 299, 14272, 325, 13, 26791, 13, 81, 448, 274, 1330, 4112, 62, 6371, 82, 62, 1462, 62, 5787, 2736, 628, 198, 4871, 1439, 31815, 11187, 1362, 7, 28165, 1890, 11187, 1362, 2599, 198, 220, 220, 220, 37227, 1439, 31815, 11187, 1362, 7525, 17259, 7559, 6371, 62, 1640, 15506, 3848, 11, 475, 19299, 2956, 7278, 422, 220, 7559, 48546, 62, 6371, 82, 62, 1462, 62, 5787, 2736, 15506, 355, 880, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11629, 62, 66, 5691, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 575, 1164, 82, 477, 18832, 2956, 7278, 290, 6117, 44267, 422, 2695, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8989, 11, 7559, 88, 1164, 422, 15506, 2314, 307, 973, 355, 262, 43359, 389, 9518, 319, 262, 467, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 981, 2116, 13, 6404, 2004, 62, 66, 5691, 393, 4112, 62, 6371, 82, 62, 1462, 62, 5787, 2736, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 6404, 2004, 62, 66, 5691, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 2116, 13, 6404, 2004, 62, 66, 5691, 13, 79, 643, 701, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 4702, 2956, 7278, 422, 1058, 265, 21062, 25, 63, 6404, 2004, 62, 66, 5691, 63, 532, 523, 11, 30274, 11, 12940, 318, 22331, 422, 262, 2779, 16099, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 4112, 62, 6371, 82, 62, 1462, 62, 5787, 2736, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7800, 4112, 62, 6371, 82, 62, 1462, 62, 5787, 2736, 13, 79, 643, 701, 3419, 628, 198, 31, 22866, 8019, 13, 22866, 37153, 198, 4299, 8584, 62, 6371, 62, 1640, 62, 6404, 1362, 7, 1324, 2599, 198, 220, 220, 220, 37227, 317, 4732, 4706, 543, 8584, 6673, 257, 649, 8799, 75, 1890, 11187, 1362, 284, 262, 598, 290, 19299, 340, 11, 523, 340, 460, 307, 973, 198, 220, 220, 220, 220, 220, 220, 220, 284, 651, 18832, 3848, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 49706, 796, 8799, 75, 1890, 11187, 1362, 7, 1324, 8, 628, 220, 220, 220, 7800, 49706, 628, 220, 220, 220, 1303, 10372, 274, 262, 1708, 5361, 422, 1058, 4871, 25, 63, 28165, 1890, 11187, 1362, 63, 198, 220, 220, 220, 1303, 2116, 13, 1324, 13, 6371, 62, 12286, 62, 12543, 2733, 13, 2617, 12286, 7, 14202, 11, 17635, 737, 28463, 7, 15, 11, 49706, 8, 198, 220, 220, 220, 598, 13, 6371, 62, 12286, 62, 12543, 2733, 58, 14202, 4083, 12924, 7, 15, 8, 628 ]
2.518234
521
import ipaddress import socket range = ipaddress.IPv4Network('10.7.0.0/22') for x in range: try: print(socket.gethostbyaddr(str(x))[0]) except socket.herror: pass
[ 11748, 20966, 21975, 198, 11748, 17802, 198, 198, 9521, 796, 20966, 21975, 13, 4061, 85, 19, 26245, 10786, 940, 13, 22, 13, 15, 13, 15, 14, 1828, 11537, 198, 1640, 2124, 287, 2837, 25, 198, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3601, 7, 44971, 13, 1136, 4774, 1525, 29851, 7, 2536, 7, 87, 4008, 58, 15, 12962, 198, 220, 220, 220, 2845, 17802, 13, 372, 1472, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1208, 198 ]
2.238095
84
# # Get points witin admissible parameter space import planarfibers import pandas as pd pd.set_option('display.max_columns', 100) pd.set_option('display.width', 1000) df = planarfibers.discretization.get_points_on_slices( radii=["0", "1/2", "9/10"], la1s=["1/2", "4/6", "5/6", "1"], numeric=False, ) print(df)
[ 2, 1303, 3497, 2173, 20868, 259, 512, 21597, 11507, 2272, 198, 198, 11748, 1410, 37595, 571, 364, 198, 11748, 19798, 292, 355, 279, 67, 198, 30094, 13, 2617, 62, 18076, 10786, 13812, 13, 9806, 62, 28665, 82, 3256, 1802, 8, 198, 30094, 13, 2617, 62, 18076, 10786, 13812, 13, 10394, 3256, 8576, 8, 198, 198, 7568, 796, 1410, 37595, 571, 364, 13, 15410, 1186, 1634, 13, 1136, 62, 13033, 62, 261, 62, 82, 677, 274, 7, 198, 220, 220, 220, 2511, 4178, 28, 14692, 15, 1600, 366, 16, 14, 17, 1600, 366, 24, 14, 940, 33116, 198, 220, 220, 220, 8591, 16, 82, 28, 14692, 16, 14, 17, 1600, 366, 19, 14, 21, 1600, 366, 20, 14, 21, 1600, 366, 16, 33116, 198, 220, 220, 220, 35575, 28, 25101, 11, 198, 8, 198, 198, 4798, 7, 7568, 8, 198 ]
2.338129
139
#!/usr/bin/env python import sys import threading import time from oslo.config import cfg from virtman import compute from virtman.openstack.common import log as logging #TODO: Auto determine host ip if not filled in conf file CONF = cfg.CONF if __name__ == '__main__': CONF(sys.argv[1:], project='virtman', default_config_files = ['/root/packages/virtman/etc/virtman/virtman.conf']) logging.setup('virtman') start()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 201, 198, 201, 198, 11748, 25064, 201, 198, 11748, 4704, 278, 201, 198, 11748, 640, 201, 198, 201, 198, 6738, 28686, 5439, 13, 11250, 1330, 30218, 70, 201, 198, 201, 198, 6738, 4118, 805, 1330, 24061, 201, 198, 6738, 4118, 805, 13, 9654, 25558, 13, 11321, 1330, 2604, 355, 18931, 201, 198, 201, 198, 2, 51, 3727, 46, 25, 11160, 5004, 2583, 20966, 611, 407, 5901, 287, 1013, 2393, 201, 198, 201, 198, 10943, 37, 796, 30218, 70, 13, 10943, 37, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 201, 198, 220, 220, 220, 7102, 37, 7, 17597, 13, 853, 85, 58, 16, 25, 4357, 1628, 11639, 48940, 805, 3256, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 4277, 62, 11250, 62, 16624, 796, 685, 26488, 15763, 14, 43789, 14, 48940, 805, 14, 14784, 14, 48940, 805, 14, 48940, 805, 13, 10414, 6, 12962, 201, 198, 220, 220, 220, 18931, 13, 40406, 10786, 48940, 805, 11537, 201, 198, 220, 220, 220, 923, 3419, 201, 198 ]
2.563536
181
import lxml.html class QuickTag: """ Callable to quickly create lxml element and access it. """ def __call__(self, as_element=True): """If `as_element` is `False`, return tuple of content, tag. Otherwise, lxml.html.Element class is returned. """ if as_element: return self._element return self._content, self._tag def clear_body_and_insert(html, insert_content, insert_tag): """Clears the body of an HTML string. Appends <insert_tag>insert_content</insert_tag> to the body. """ document = lxml.html.fromstring(html) for kid in document.body.getchildren(): document.body.remove(kid) return append_to_body(document, insert_content, insert_tag) def append_to_body(html, append_content, append_tag): """Appends <append_tag>append_content</append_tag> to an HTML string or an lxml document. """ if isinstance(html, lxml.html.HtmlElement): document = html else: document = lxml.html.fromstring(html) append_me = QuickTag(append_content, append_tag) document.body.append(append_me()) return lxml.html.tostring(document, method='html', encoding='unicode')
[ 11748, 300, 19875, 13, 6494, 198, 198, 4871, 12029, 24835, 25, 198, 220, 220, 220, 37227, 4889, 540, 284, 2952, 2251, 300, 19875, 5002, 290, 1895, 340, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 11593, 13345, 834, 7, 944, 11, 355, 62, 30854, 28, 17821, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 1532, 4600, 292, 62, 30854, 63, 318, 4600, 25101, 47671, 1441, 46545, 286, 2695, 11, 7621, 13, 198, 220, 220, 220, 220, 220, 220, 220, 15323, 11, 300, 19875, 13, 6494, 13, 20180, 1398, 318, 4504, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 355, 62, 30854, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 30854, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 11299, 11, 2116, 13557, 12985, 198, 198, 4299, 1598, 62, 2618, 62, 392, 62, 28463, 7, 6494, 11, 7550, 62, 11299, 11, 7550, 62, 12985, 2599, 198, 220, 220, 220, 37227, 34349, 945, 262, 1767, 286, 281, 11532, 4731, 13, 198, 220, 220, 220, 2034, 2412, 1279, 28463, 62, 12985, 29, 28463, 62, 11299, 3556, 28463, 62, 12985, 29, 284, 262, 1767, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3188, 796, 300, 19875, 13, 6494, 13, 6738, 8841, 7, 6494, 8, 628, 220, 220, 220, 329, 5141, 287, 3188, 13, 2618, 13, 1136, 17197, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 3188, 13, 2618, 13, 28956, 7, 38439, 8, 628, 220, 220, 220, 1441, 24443, 62, 1462, 62, 2618, 7, 22897, 11, 7550, 62, 11299, 11, 7550, 62, 12985, 8, 198, 198, 4299, 24443, 62, 1462, 62, 2618, 7, 6494, 11, 24443, 62, 11299, 11, 24443, 62, 12985, 2599, 198, 220, 220, 220, 37227, 4677, 2412, 1279, 33295, 62, 12985, 29, 33295, 62, 11299, 3556, 33295, 62, 12985, 29, 284, 281, 11532, 4731, 393, 198, 220, 220, 220, 281, 300, 19875, 3188, 13, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 318, 39098, 7, 6494, 11, 300, 19875, 13, 6494, 13, 39, 20369, 20180, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 3188, 796, 27711, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 3188, 796, 300, 19875, 13, 6494, 13, 6738, 8841, 7, 6494, 8, 628, 220, 220, 220, 24443, 62, 1326, 796, 12029, 24835, 7, 33295, 62, 11299, 11, 24443, 62, 12985, 8, 628, 220, 220, 220, 3188, 13, 2618, 13, 33295, 7, 33295, 62, 1326, 28955, 628, 220, 220, 220, 1441, 300, 19875, 13, 6494, 13, 83, 455, 1806, 7, 22897, 11, 2446, 11639, 6494, 3256, 21004, 11639, 46903, 1098, 11537, 198 ]
2.653422
453
import warnings from django.conf import settings from django.core.exceptions import FieldError from django.db import models from django.db.models.constants import LOOKUP_SEP from django.db.models.expressions import Expression from django.db.models.fields import FieldDoesNotExist from django.db.models.fields.related import RelatedField, ForeignObjectRel from django.utils import six, timezone from django.utils.encoding import force_text from django.utils.translation import ugettext as _ try: from django.forms.utils import pretty_name except ImportError: # Django 1.8 from django.forms.forms import pretty_name from .compat import remote_field, remote_model from .exceptions import FieldLookupError def try_dbfield(fn, field_class): """ Try ``fn`` with the DB ``field_class`` by walking its MRO until a result is found. ex:: _try_dbfield(field_dict.get, models.CharField) """ # walk the mro, as field_class could be a derived model field. for cls in field_class.mro(): # skip if cls is models.Field if cls is models.Field: continue data = fn(cls) if data: return data def get_model_field(model, field_name): """ Get a ``model`` field, traversing relationships in the ``field_name``. ex:: f = get_model_field(Book, 'author__first_name') """ fields = get_field_parts(model, field_name) return fields[-1] if fields else None def get_field_parts(model, field_name): """ Get the field parts that represent the traversable relationships from the base ``model`` to the final field, described by ``field_name``. ex:: >>> parts = get_field_parts(Book, 'author__first_name') >>> [p.verbose_name for p in parts] ['author', 'first name'] """ parts = field_name.split(LOOKUP_SEP) opts = model._meta fields = [] # walk relationships for name in parts: try: field = opts.get_field(name) except FieldDoesNotExist: return None fields.append(field) if isinstance(field, RelatedField): opts = remote_model(field)._meta elif isinstance(field, ForeignObjectRel): opts = field.related_model._meta return fields def resolve_field(model_field, lookup_expr): """ Resolves a ``lookup_expr`` into its final output field, given the initial ``model_field``. The lookup expression should only contain transforms and lookups, not intermediary model field parts. Note: This method is based on django.db.models.sql.query.Query.build_lookup For more info on the lookup API: https://docs.djangoproject.com/en/1.9/ref/models/lookups/ """ query = model_field.model._default_manager.all().query lhs = Expression(model_field) lookups = lookup_expr.split(LOOKUP_SEP) assert len(lookups) > 0 try: while lookups: name = lookups[0] # If there is just one part left, try first get_lookup() so # that if the lhs supports both transform and lookup for the # name, then lookup will be picked. if len(lookups) == 1: final_lookup = lhs.get_lookup(name) if not final_lookup: # We didn't find a lookup. We are going to interpret # the name as transform, and do an Exact lookup against # it. lhs = query.try_transform(lhs, name, lookups) final_lookup = lhs.get_lookup('exact') return lhs.output_field, final_lookup.lookup_name lhs = query.try_transform(lhs, name, lookups) lookups = lookups[1:] except FieldError as e: six.raise_from(FieldLookupError(model_field, lookup_expr), e) def verbose_field_name(model, field_name): """ Get the verbose name for a given ``field_name``. The ``field_name`` will be traversed across relationships. Returns '[invalid name]' for any field name that cannot be traversed. ex:: >>> verbose_field_name(Article, 'author__name') 'author name' """ if field_name is None: return '[invalid name]' parts = get_field_parts(model, field_name) if not parts: return '[invalid name]' names = [] for part in parts: if isinstance(part, ForeignObjectRel): names.append(part.related_name) else: names.append(part.verbose_name) return ' '.join(names) def verbose_lookup_expr(lookup_expr): """ Get a verbose, more humanized expression for a given ``lookup_expr``. Each part in the expression is looked up in the ``FILTERS_VERBOSE_LOOKUPS`` dictionary. Missing keys will simply default to itself. ex:: >>> verbose_lookup_expr('year__lt') 'year is less than' # with `FILTERS_VERBOSE_LOOKUPS = {}` >>> verbose_lookup_expr('year__lt') 'year lt' """ from .conf import settings as app_settings VERBOSE_LOOKUPS = app_settings.VERBOSE_LOOKUPS or {} lookups = [ force_text(VERBOSE_LOOKUPS.get(lookup, _(lookup))) for lookup in lookup_expr.split(LOOKUP_SEP) ] return ' '.join(lookups) def label_for_filter(model, field_name, lookup_expr, exclude=False): """ Create a generic label suitable for a filter. ex:: >>> label_for_filter(Article, 'author__name', 'in') 'auther name is in' """ name = verbose_field_name(model, field_name) verbose_expression = [_('exclude'), name] if exclude else [name] # iterable lookups indicate a LookupTypeField, which should not be verbose if isinstance(lookup_expr, six.string_types): verbose_expression += [verbose_lookup_expr(lookup_expr)] verbose_expression = [force_text(part) for part in verbose_expression if part] verbose_expression = pretty_name(' '.join(verbose_expression)) return verbose_expression
[ 11748, 14601, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 6738, 42625, 14208, 13, 7295, 13, 1069, 11755, 1330, 7663, 12331, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 9979, 1187, 1330, 48045, 8577, 62, 5188, 47, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 42712, 507, 1330, 41986, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 25747, 1330, 7663, 13921, 3673, 3109, 396, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 25747, 13, 5363, 1330, 19809, 15878, 11, 8708, 10267, 6892, 198, 6738, 42625, 14208, 13, 26791, 1330, 2237, 11, 640, 11340, 198, 6738, 42625, 14208, 13, 26791, 13, 12685, 7656, 1330, 2700, 62, 5239, 198, 6738, 42625, 14208, 13, 26791, 13, 41519, 1330, 334, 1136, 5239, 355, 4808, 198, 198, 28311, 25, 198, 220, 220, 220, 422, 42625, 14208, 13, 23914, 13, 26791, 1330, 2495, 62, 3672, 198, 16341, 17267, 12331, 25, 220, 1303, 37770, 352, 13, 23, 198, 220, 220, 220, 422, 42625, 14208, 13, 23914, 13, 23914, 1330, 2495, 62, 3672, 198, 198, 6738, 764, 5589, 265, 1330, 6569, 62, 3245, 11, 6569, 62, 19849, 198, 6738, 764, 1069, 11755, 1330, 7663, 8567, 929, 12331, 628, 198, 198, 4299, 1949, 62, 9945, 3245, 7, 22184, 11, 2214, 62, 4871, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 9993, 7559, 22184, 15506, 351, 262, 20137, 7559, 3245, 62, 4871, 15506, 416, 6155, 663, 198, 220, 220, 220, 337, 13252, 1566, 257, 1255, 318, 1043, 13, 628, 220, 220, 220, 409, 3712, 198, 220, 220, 220, 220, 220, 220, 220, 4808, 28311, 62, 9945, 3245, 7, 3245, 62, 11600, 13, 1136, 11, 4981, 13, 12441, 15878, 8, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1303, 2513, 262, 285, 305, 11, 355, 2214, 62, 4871, 714, 307, 257, 10944, 2746, 2214, 13, 198, 220, 220, 220, 329, 537, 82, 287, 2214, 62, 4871, 13, 76, 305, 33529, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 14267, 611, 537, 82, 318, 4981, 13, 15878, 198, 220, 220, 220, 220, 220, 220, 220, 611, 537, 82, 318, 4981, 13, 15878, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2555, 628, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 24714, 7, 565, 82, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1366, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 1366, 628, 198, 198, 4299, 651, 62, 19849, 62, 3245, 7, 19849, 11, 2214, 62, 3672, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 257, 7559, 19849, 15506, 2214, 11, 33038, 278, 6958, 198, 220, 220, 220, 287, 262, 7559, 3245, 62, 3672, 15506, 13, 628, 220, 220, 220, 409, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 277, 796, 651, 62, 19849, 62, 3245, 7, 10482, 11, 705, 9800, 834, 11085, 62, 3672, 11537, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 7032, 796, 651, 62, 3245, 62, 42632, 7, 19849, 11, 2214, 62, 3672, 8, 198, 220, 220, 220, 1441, 7032, 58, 12, 16, 60, 611, 7032, 2073, 6045, 628, 198, 4299, 651, 62, 3245, 62, 42632, 7, 19849, 11, 2214, 62, 3672, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 262, 2214, 3354, 326, 2380, 262, 33038, 540, 6958, 422, 262, 198, 220, 220, 220, 2779, 7559, 19849, 15506, 284, 262, 2457, 2214, 11, 3417, 416, 7559, 3245, 62, 3672, 15506, 13, 628, 220, 220, 220, 409, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 3354, 796, 651, 62, 3245, 62, 42632, 7, 10482, 11, 705, 9800, 834, 11085, 62, 3672, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 685, 79, 13, 19011, 577, 62, 3672, 329, 279, 287, 3354, 60, 198, 220, 220, 220, 220, 220, 220, 220, 37250, 9800, 3256, 705, 11085, 1438, 20520, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 3354, 796, 2214, 62, 3672, 13, 35312, 7, 43, 15308, 8577, 62, 5188, 47, 8, 198, 220, 220, 220, 2172, 82, 796, 2746, 13557, 28961, 198, 220, 220, 220, 7032, 796, 17635, 628, 220, 220, 220, 1303, 2513, 6958, 198, 220, 220, 220, 329, 1438, 287, 3354, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2214, 796, 2172, 82, 13, 1136, 62, 3245, 7, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2845, 7663, 13921, 3673, 3109, 396, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 6045, 628, 220, 220, 220, 220, 220, 220, 220, 7032, 13, 33295, 7, 3245, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 3245, 11, 19809, 15878, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 82, 796, 6569, 62, 19849, 7, 3245, 737, 62, 28961, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 318, 39098, 7, 3245, 11, 8708, 10267, 6892, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2172, 82, 796, 2214, 13, 5363, 62, 19849, 13557, 28961, 628, 220, 220, 220, 1441, 7032, 628, 198, 4299, 10568, 62, 3245, 7, 19849, 62, 3245, 11, 35847, 62, 31937, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1874, 9010, 257, 7559, 5460, 929, 62, 31937, 15506, 656, 663, 2457, 5072, 2214, 11, 1813, 198, 220, 220, 220, 262, 4238, 7559, 19849, 62, 3245, 15506, 13, 383, 35847, 5408, 815, 691, 3994, 198, 220, 220, 220, 31408, 290, 804, 4739, 11, 407, 45193, 2746, 2214, 3354, 13, 628, 220, 220, 220, 5740, 25, 198, 220, 220, 220, 770, 2446, 318, 1912, 319, 42625, 14208, 13, 9945, 13, 27530, 13, 25410, 13, 22766, 13, 20746, 13, 11249, 62, 5460, 929, 628, 220, 220, 220, 1114, 517, 7508, 319, 262, 35847, 7824, 25, 198, 220, 220, 220, 3740, 1378, 31628, 13, 28241, 648, 404, 305, 752, 13, 785, 14, 268, 14, 16, 13, 24, 14, 5420, 14, 27530, 14, 5460, 4739, 14, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 12405, 796, 2746, 62, 3245, 13, 19849, 13557, 12286, 62, 37153, 13, 439, 22446, 22766, 198, 220, 220, 220, 300, 11994, 796, 41986, 7, 19849, 62, 3245, 8, 198, 220, 220, 220, 804, 4739, 796, 35847, 62, 31937, 13, 35312, 7, 43, 15308, 8577, 62, 5188, 47, 8, 628, 220, 220, 220, 6818, 18896, 7, 5460, 4739, 8, 1875, 657, 628, 220, 220, 220, 1949, 25, 198, 220, 220, 220, 220, 220, 220, 220, 981, 804, 4739, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1438, 796, 804, 4739, 58, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1002, 612, 318, 655, 530, 636, 1364, 11, 1949, 717, 651, 62, 5460, 929, 3419, 523, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 326, 611, 262, 300, 11994, 6971, 1111, 6121, 290, 35847, 329, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 1438, 11, 788, 35847, 481, 307, 6497, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 18896, 7, 5460, 4739, 8, 6624, 352, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 62, 5460, 929, 796, 300, 11994, 13, 1136, 62, 5460, 929, 7, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 2457, 62, 5460, 929, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 775, 1422, 470, 1064, 257, 35847, 13, 775, 389, 1016, 284, 6179, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 262, 1438, 355, 6121, 11, 290, 466, 281, 1475, 529, 35847, 1028, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 340, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 11994, 796, 12405, 13, 28311, 62, 35636, 7, 75, 11994, 11, 1438, 11, 804, 4739, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2457, 62, 5460, 929, 796, 300, 11994, 13, 1136, 62, 5460, 929, 10786, 1069, 529, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 300, 11994, 13, 22915, 62, 3245, 11, 2457, 62, 5460, 929, 13, 5460, 929, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 11994, 796, 12405, 13, 28311, 62, 35636, 7, 75, 11994, 11, 1438, 11, 804, 4739, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 804, 4739, 796, 804, 4739, 58, 16, 47715, 198, 220, 220, 220, 2845, 7663, 12331, 355, 304, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2237, 13, 40225, 62, 6738, 7, 15878, 8567, 929, 12331, 7, 19849, 62, 3245, 11, 35847, 62, 31937, 828, 304, 8, 628, 198, 198, 4299, 15942, 577, 62, 3245, 62, 3672, 7, 19849, 11, 2214, 62, 3672, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 262, 15942, 577, 1438, 329, 257, 1813, 7559, 3245, 62, 3672, 15506, 13, 383, 7559, 3245, 62, 3672, 15506, 198, 220, 220, 220, 481, 307, 33038, 276, 1973, 6958, 13, 16409, 44438, 259, 12102, 1438, 49946, 329, 198, 220, 220, 220, 597, 2214, 1438, 326, 2314, 307, 33038, 276, 13, 628, 220, 220, 220, 409, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 15942, 577, 62, 3245, 62, 3672, 7, 14906, 11, 705, 9800, 834, 3672, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 9800, 1438, 6, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 611, 2214, 62, 3672, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 44438, 259, 12102, 1438, 49946, 628, 220, 220, 220, 3354, 796, 651, 62, 3245, 62, 42632, 7, 19849, 11, 2214, 62, 3672, 8, 198, 220, 220, 220, 611, 407, 3354, 25, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 44438, 259, 12102, 1438, 49946, 628, 220, 220, 220, 3891, 796, 17635, 198, 220, 220, 220, 329, 636, 287, 3354, 25, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 39098, 7, 3911, 11, 8708, 10267, 6892, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3891, 13, 33295, 7, 3911, 13, 5363, 62, 3672, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3891, 13, 33295, 7, 3911, 13, 19011, 577, 62, 3672, 8, 628, 220, 220, 220, 1441, 705, 45302, 22179, 7, 14933, 8, 628, 198, 4299, 15942, 577, 62, 5460, 929, 62, 31937, 7, 5460, 929, 62, 31937, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 3497, 257, 15942, 577, 11, 517, 1692, 1143, 5408, 329, 257, 1813, 7559, 5460, 929, 62, 31937, 15506, 13, 198, 220, 220, 220, 5501, 636, 287, 262, 5408, 318, 3114, 510, 287, 262, 7559, 46700, 51, 4877, 62, 5959, 33, 14058, 62, 43, 15308, 52, 3705, 15506, 198, 220, 220, 220, 22155, 13, 25639, 8251, 481, 2391, 4277, 284, 2346, 13, 628, 220, 220, 220, 409, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 15942, 577, 62, 5460, 929, 62, 31937, 10786, 1941, 834, 2528, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1941, 318, 1342, 621, 6, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 351, 4600, 46700, 51, 4877, 62, 5959, 33, 14058, 62, 43, 15308, 52, 3705, 796, 23884, 63, 198, 220, 220, 220, 220, 220, 220, 220, 13163, 15942, 577, 62, 5460, 929, 62, 31937, 10786, 1941, 834, 2528, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 1941, 300, 83, 6, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 422, 764, 10414, 1330, 6460, 355, 598, 62, 33692, 628, 220, 220, 220, 33310, 33, 14058, 62, 43, 15308, 52, 3705, 796, 598, 62, 33692, 13, 5959, 33, 14058, 62, 43, 15308, 52, 3705, 393, 23884, 198, 220, 220, 220, 804, 4739, 796, 685, 198, 220, 220, 220, 220, 220, 220, 220, 2700, 62, 5239, 7, 5959, 33, 14058, 62, 43, 15308, 52, 3705, 13, 1136, 7, 5460, 929, 11, 4808, 7, 5460, 929, 22305, 198, 220, 220, 220, 220, 220, 220, 220, 329, 35847, 287, 35847, 62, 31937, 13, 35312, 7, 43, 15308, 8577, 62, 5188, 47, 8, 198, 220, 220, 220, 2361, 628, 220, 220, 220, 1441, 705, 45302, 22179, 7, 5460, 4739, 8, 628, 198, 4299, 6167, 62, 1640, 62, 24455, 7, 19849, 11, 2214, 62, 3672, 11, 35847, 62, 31937, 11, 19607, 28, 25101, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13610, 257, 14276, 6167, 11080, 329, 257, 8106, 13, 628, 220, 220, 220, 409, 3712, 628, 220, 220, 220, 220, 220, 220, 220, 13163, 6167, 62, 1640, 62, 24455, 7, 14906, 11, 705, 9800, 834, 3672, 3256, 705, 259, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 705, 2306, 372, 1438, 318, 287, 6, 628, 220, 220, 220, 37227, 198, 220, 220, 220, 1438, 796, 15942, 577, 62, 3245, 62, 3672, 7, 19849, 11, 2214, 62, 3672, 8, 198, 220, 220, 220, 15942, 577, 62, 38011, 796, 685, 62, 10786, 1069, 9152, 33809, 1438, 60, 611, 19607, 2073, 685, 3672, 60, 628, 220, 220, 220, 1303, 11629, 540, 804, 4739, 7603, 257, 6803, 929, 6030, 15878, 11, 543, 815, 407, 307, 15942, 577, 198, 220, 220, 220, 611, 318, 39098, 7, 5460, 929, 62, 31937, 11, 2237, 13, 8841, 62, 19199, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 62, 38011, 15853, 685, 19011, 577, 62, 5460, 929, 62, 31937, 7, 5460, 929, 62, 31937, 15437, 628, 220, 220, 220, 15942, 577, 62, 38011, 796, 685, 3174, 62, 5239, 7, 3911, 8, 329, 636, 287, 15942, 577, 62, 38011, 611, 636, 60, 198, 220, 220, 220, 15942, 577, 62, 38011, 796, 2495, 62, 3672, 10786, 45302, 22179, 7, 19011, 577, 62, 38011, 4008, 628, 220, 220, 220, 1441, 15942, 577, 62, 38011, 198 ]
2.500414
2,416
#!/usr/bin/env python3 from sys import stderr, exit import re from TALinputs import TALinput from multilanguage import Env, Lang, TALcolors from magic_indexes_lib import * # METADATA OF THIS TAL_SERVICE: args_list = [ ('config',str), ('moves',str), ('goal',str), ('feedback',str) ] ENV =Env(args_list) TAc =TALcolors(ENV) LANG=Lang(ENV, TAc, lambda fstring: eval(f"f'{fstring}'")) # START CODING YOUR SERVICE: final_configuration = ENV['config'].split(',') indexes = ENV['moves'].split(',') vector_len = len(final_configuration) # this vector contains -1,0,1 and it's filled by the server with the worst case scenario and it's never shown to the user during the game. server_vector = [None] * vector_len # this variable contains the questions made by the user during the game wasted_dollars = 0 # this boolean variable is initialized to True in case ENV['feedback'] == 'spot_first_gift' firstGift = True TAc.print(LANG.render_feedback("random_vector", f'All right, let us evaluate your moves...'), "yellow", ["bold"]) for n_move in range(0,len(final_configuration)): chosen_index = int(indexes[n_move]) if '0' not in server_vector: unknown, optimal_pos = get_positions_f(server_vector) if chosen_index != optimal_pos: if ENV['feedback'] == 'spot_first_gift' and firstGift: TAc.print(LANG.render_feedback("first error", f'# Here you made your first mistake!'), "yellow", ["bold"]) firstGift = False elif ENV['feedback'] == 'spot_every_gift': TAc.print(LANG.render_feedback("error", f'# Here you made a mistake!'), "yellow", ["bold"]) else: unknown, optimal_pos = get_positions_g(server_vector) if chosen_index not in optimal_pos: if ENV['feedback'] == 'spot_first_gift' and firstGift: TAc.print(LANG.render_feedback("first error", f'# Here you made your first mistake!'), "yellow", ["bold"]) firstGift = False elif ENV['feedback'] == 'spot_every_gift': TAc.print(LANG.render_feedback("error", f'# Here you made a mistake!'), "yellow", ["bold"]) update_server_vec(chosen_index, final_configuration[chosen_index],server_vector) wasted_dollars += 1 min_questions = f(vector_len) check_goal_eval(ENV['goal'], ENV['feedback'],wasted_dollars, min_questions, TAc, LANG)
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 6738, 25064, 1330, 336, 1082, 81, 11, 8420, 198, 11748, 302, 198, 198, 6738, 309, 1847, 15414, 82, 1330, 309, 1847, 15414, 198, 6738, 1963, 346, 9000, 1330, 2039, 85, 11, 16332, 11, 309, 1847, 4033, 669, 198, 198, 6738, 5536, 62, 9630, 274, 62, 8019, 1330, 1635, 198, 198, 2, 31243, 2885, 13563, 3963, 12680, 309, 1847, 62, 35009, 27389, 25, 198, 22046, 62, 4868, 796, 685, 198, 220, 220, 220, 19203, 11250, 3256, 2536, 828, 198, 220, 220, 220, 19203, 76, 5241, 3256, 2536, 828, 198, 220, 220, 220, 19203, 35231, 3256, 2536, 828, 198, 220, 220, 220, 19203, 12363, 1891, 3256, 2536, 8, 198, 60, 198, 198, 1677, 53, 796, 4834, 85, 7, 22046, 62, 4868, 8, 198, 5603, 66, 796, 51, 1847, 4033, 669, 7, 1677, 53, 8, 198, 43, 15567, 28, 43, 648, 7, 1677, 53, 11, 309, 12832, 11, 37456, 277, 8841, 25, 5418, 7, 69, 1, 69, 6, 90, 69, 8841, 92, 29653, 4008, 198, 198, 2, 33303, 327, 3727, 2751, 16592, 47453, 25, 198, 20311, 62, 11250, 3924, 796, 12964, 53, 17816, 11250, 6, 4083, 35312, 7, 3256, 11537, 198, 9630, 274, 796, 12964, 53, 17816, 76, 5241, 6, 4083, 35312, 7, 3256, 11537, 198, 198, 31364, 62, 11925, 796, 18896, 7, 20311, 62, 11250, 3924, 8, 198, 198, 2, 428, 15879, 4909, 532, 16, 11, 15, 11, 16, 290, 340, 338, 5901, 416, 262, 4382, 351, 262, 5290, 1339, 8883, 290, 340, 338, 1239, 3402, 284, 262, 2836, 1141, 262, 983, 13, 198, 15388, 62, 31364, 796, 685, 14202, 60, 1635, 15879, 62, 11925, 198, 198, 2, 428, 7885, 4909, 262, 2683, 925, 416, 262, 2836, 1141, 262, 983, 198, 86, 8992, 62, 67, 692, 945, 796, 657, 198, 198, 2, 428, 25131, 7885, 318, 23224, 284, 6407, 287, 1339, 12964, 53, 17816, 12363, 1891, 20520, 6624, 705, 20485, 62, 11085, 62, 70, 2135, 6, 198, 11085, 38, 2135, 796, 6407, 198, 198, 5603, 66, 13, 4798, 7, 43, 15567, 13, 13287, 62, 12363, 1891, 7203, 25120, 62, 31364, 1600, 277, 6, 3237, 826, 11, 1309, 514, 13446, 534, 6100, 986, 33809, 366, 36022, 1600, 14631, 36575, 8973, 8, 628, 198, 1640, 299, 62, 21084, 287, 2837, 7, 15, 11, 11925, 7, 20311, 62, 11250, 3924, 8, 2599, 198, 220, 220, 220, 7147, 62, 9630, 796, 493, 7, 9630, 274, 58, 77, 62, 21084, 12962, 198, 220, 220, 220, 198, 220, 220, 220, 611, 705, 15, 6, 407, 287, 4382, 62, 31364, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6439, 11, 16586, 62, 1930, 796, 651, 62, 1930, 1756, 62, 69, 7, 15388, 62, 31364, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 7147, 62, 9630, 14512, 16586, 62, 1930, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 12964, 53, 17816, 12363, 1891, 20520, 6624, 705, 20485, 62, 11085, 62, 70, 2135, 6, 290, 717, 38, 2135, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 309, 12832, 13, 4798, 7, 43, 15567, 13, 13287, 62, 12363, 1891, 7203, 11085, 4049, 1600, 277, 6, 2, 3423, 345, 925, 534, 717, 7457, 13679, 828, 366, 36022, 1600, 14631, 36575, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 717, 38, 2135, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 12964, 53, 17816, 12363, 1891, 20520, 6624, 705, 20485, 62, 16833, 62, 70, 2135, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 309, 12832, 13, 4798, 7, 43, 15567, 13, 13287, 62, 12363, 1891, 7203, 18224, 1600, 277, 6, 2, 3423, 345, 925, 257, 7457, 13679, 828, 366, 36022, 1600, 14631, 36575, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 198, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 6439, 11, 16586, 62, 1930, 796, 651, 62, 1930, 1756, 62, 70, 7, 15388, 62, 31364, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 7147, 62, 9630, 407, 287, 16586, 62, 1930, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 12964, 53, 17816, 12363, 1891, 20520, 6624, 705, 20485, 62, 11085, 62, 70, 2135, 6, 290, 717, 38, 2135, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 309, 12832, 13, 4798, 7, 43, 15567, 13, 13287, 62, 12363, 1891, 7203, 11085, 4049, 1600, 277, 6, 2, 3423, 345, 925, 534, 717, 7457, 13679, 828, 366, 36022, 1600, 14631, 36575, 8973, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 717, 38, 2135, 796, 10352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 12964, 53, 17816, 12363, 1891, 20520, 6624, 705, 20485, 62, 16833, 62, 70, 2135, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 309, 12832, 13, 4798, 7, 43, 15567, 13, 13287, 62, 12363, 1891, 7203, 18224, 1600, 277, 6, 2, 3423, 345, 925, 257, 7457, 13679, 828, 366, 36022, 1600, 14631, 36575, 8973, 8, 628, 220, 220, 220, 4296, 62, 15388, 62, 35138, 7, 354, 5233, 62, 9630, 11, 2457, 62, 11250, 3924, 58, 354, 5233, 62, 9630, 4357, 15388, 62, 31364, 8, 628, 220, 220, 220, 18359, 62, 67, 692, 945, 15853, 352, 628, 198, 1084, 62, 6138, 507, 796, 277, 7, 31364, 62, 11925, 8, 198, 9122, 62, 35231, 62, 18206, 7, 1677, 53, 17816, 35231, 6, 4357, 12964, 53, 17816, 12363, 1891, 6, 4357, 86, 8992, 62, 67, 692, 945, 11, 949, 62, 6138, 507, 11, 309, 12832, 11, 406, 15567, 8, 628 ]
2.465164
976
""" NOTE: https://stackoverflow.com/questions/25467288/pils-imagegrab-is-capturing-at-the-wrong-resolution !! This widget is not currently supported on Mac OS """ import tkinter as tk import ttkbootstrap as ttk from ttkbootstrap.constants import * from ttkbootstrap import colorutils, utility from PIL import ImageGrab, ImageTk, Image from collections import namedtuple ColorChoice = namedtuple('ColorChoice', 'rgb hsl hex') class ColorDropperDialog: """A widget that displays an indicator and a zoom window for selecting a color on the screen. Left-click the mouse button to select a color. The result is stored in the `result` property as a `ColorChoice` tuple which contains named fields for rgb, hsl, and hex color models. Zoom in and out on the zoom window by using the mouse wheel. This widget is implemented for **Windows** and **Linux** only. ![](../../assets/dialogs/color-dropper.png) !!! warning "high resolution displays" This widget may not function properly on high resolution displays if you are not using the application in high resolution mode. This is enabled automatically on Windows. """ def build_screenshot_canvas(self): """Build the screenshot canvas""" self.screenshot_canvas = ttk.Canvas( self.toplevel, cursor='tcross', autostyle=False) self.screenshot_data = ImageGrab.grab() self.screenshot_image = ImageTk.PhotoImage(self.screenshot_data) self.screenshot_canvas.create_image( 0, 0, image=self.screenshot_image, anchor=NW) self.screenshot_canvas.pack(fill=BOTH, expand=YES) def build_zoom_toplevel(self, master): """Build the toplevel widget that shows the zoomed version of the pixels underneath the mouse cursor.""" height = utility.scale_size(self.toplevel, 100) width = utility.scale_size(self.toplevel, 100) text_xoffset = utility.scale_size(self.toplevel, 50) text_yoffset = utility.scale_size(self.toplevel, 50) toplevel = ttk.Toplevel(master) toplevel.transient(master) if self.toplevel.winsys == 'x11': toplevel.attributes('-type', 'tooltip') else: toplevel.overrideredirect(True) toplevel.geometry(f'{width}x{height}') toplevel.lift() self.zoom_canvas = ttk.Canvas( toplevel, borderwidth=1, height=self.zoom_height, width=self.zoom_width) self.zoom_canvas.create_image(0, 0, tags=['image'], anchor=NW) self.zoom_canvas.create_text( text_xoffset, text_yoffset, text="+", fill="white", tags=['indicator']) self.zoom_canvas.pack(fill=BOTH, expand=YES) self.zoom_toplevel = toplevel def on_mouse_wheel(self, event: tk.Event): """Zoom in and out on the image underneath the mouse TODO Cross platform testing needed """ if self.toplevel.winsys.lower() == 'win32': delta = -int(event.delta / 120) elif self.toplevel.winsys.lower() == 'aqua': delta = -event.delta elif event.num == 4: delta = -1 elif event.num == 5: delta = 1 self.zoom_level += delta self.on_mouse_motion() def on_left_click(self, _): """Capture the color underneath the mouse cursor and destroy the toplevel widget""" # add logic here to capture the image color hx = self.get_hover_color() hsl = colorutils.color_to_hsl(hx) rgb = colorutils.color_to_rgb(hx) self.result.set(ColorChoice(rgb, hsl, hx)) self.toplevel.destroy() self.zoom_toplevel.destroy() self.toplevel.grab_release() return self.result.get() def on_right_click(self, _): """Close the color dropper without saving any color information""" self.zoom_toplevel.destroy() self.toplevel.grab_release() self.toplevel.destroy() def on_mouse_motion(self, event=None): """Callback for mouse motion""" if event is None: x, y = self.toplevel.winfo_pointerxy() else: x = event.x y = event.y # move snip window self.zoom_toplevel.geometry( f'+{x+self.zoom_xoffset}+{y+self.zoom_yoffset}') # update the snip image bbox = (x-self.zoom_level, y-self.zoom_level, x+self.zoom_level+1, y+self.zoom_level+1) size = (self.zoom_width, self.zoom_height) self.zoom_data = self.screenshot_data.crop( bbox).resize(size, Image.BOX) self.zoom_image = ImageTk.PhotoImage(self.zoom_data) self.zoom_canvas.itemconfig('image', image=self.zoom_image) hover_color = self.get_hover_color() contrast_color = colorutils.contrast_color(hover_color, 'hex') self.zoom_canvas.itemconfig('indicator', fill=contrast_color) def get_hover_color(self): """Get the color that is hovered over by the mouse cursor.""" x1, y1, x2, y2 = self.zoom_canvas.bbox('indicator') x = x1 + (x2-x1)//2 y = y1 + (y2-y2)//2 r, g, b = self.zoom_data.getpixel((x, y)) hx = colorutils.color_to_hex((r, g, b)) return hx def show(self): """Show the toplevel window""" self.toplevel = ttk.Toplevel(alpha=1) self.toplevel.wm_attributes('-fullscreen', True) self.build_screenshot_canvas() # event binding self.toplevel.bind("<Motion>", self.on_mouse_motion, "+") self.toplevel.bind("<Button-1>", self.on_left_click, "+") self.toplevel.bind("<Button-3>", self.on_right_click, "+") if self.toplevel.winsys.lower() == 'x11': self.toplevel.bind("<Button-4>", self.on_mouse_wheel, "+") self.toplevel.bind("<Button-5>", self.on_mouse_wheel, "+") else: self.toplevel.bind("<MouseWheel>", self.on_mouse_wheel, "+") # initial snip setup self.zoom_level = 2 self.zoom_toplevel: ttk.Toplevel = None self.zoom_data = None self.zoom_image = None self.zoom_height = utility.scale_size(self.toplevel, 100) self.zoom_width = utility.scale_size(self.toplevel, 100) self.zoom_xoffset = utility.scale_size(self.toplevel, 10) self.zoom_yoffset = utility.scale_size(self.toplevel, 10) self.build_zoom_toplevel(self.toplevel) self.toplevel.grab_set() self.toplevel.lift('.') self.zoom_toplevel.lift(self.toplevel) self.on_mouse_motion()
[ 37811, 198, 220, 220, 220, 24550, 25, 3740, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 1495, 24669, 25270, 14, 79, 4487, 12, 9060, 32393, 12, 271, 12, 27144, 870, 12, 265, 12, 1169, 12, 36460, 12, 29268, 628, 220, 220, 220, 37867, 770, 26295, 318, 407, 3058, 4855, 319, 4100, 7294, 198, 37811, 198, 11748, 256, 74, 3849, 355, 256, 74, 198, 11748, 256, 30488, 18769, 26418, 355, 256, 30488, 198, 6738, 256, 30488, 18769, 26418, 13, 9979, 1187, 1330, 1635, 198, 6738, 256, 30488, 18769, 26418, 1330, 3124, 26791, 11, 10361, 198, 6738, 350, 4146, 1330, 7412, 48400, 11, 7412, 51, 74, 11, 7412, 198, 6738, 17268, 1330, 3706, 83, 29291, 198, 198, 10258, 46770, 796, 3706, 83, 29291, 10786, 10258, 46770, 3256, 705, 81, 22296, 289, 6649, 17910, 11537, 628, 198, 4871, 5315, 35442, 2848, 44204, 25, 198, 220, 220, 220, 37227, 32, 26295, 326, 11298, 281, 16916, 290, 257, 19792, 4324, 329, 198, 220, 220, 220, 17246, 257, 3124, 319, 262, 3159, 13, 628, 220, 220, 220, 9578, 12, 12976, 262, 10211, 4936, 284, 2922, 257, 3124, 13, 383, 1255, 318, 220, 198, 220, 220, 220, 8574, 287, 262, 4600, 20274, 63, 3119, 355, 257, 4600, 10258, 46770, 63, 46545, 543, 198, 220, 220, 220, 4909, 3706, 7032, 329, 46140, 11, 289, 6649, 11, 290, 17910, 3124, 4981, 13, 628, 220, 220, 220, 40305, 287, 290, 503, 319, 262, 19792, 4324, 416, 1262, 262, 10211, 7825, 13, 628, 220, 220, 220, 770, 26295, 318, 9177, 329, 12429, 11209, 1174, 290, 12429, 19314, 1174, 691, 13, 628, 220, 220, 220, 5145, 58, 16151, 40720, 40720, 19668, 14, 38969, 18463, 14, 8043, 12, 22285, 2848, 13, 11134, 8, 220, 220, 220, 220, 220, 220, 220, 628, 220, 220, 220, 220, 10185, 6509, 366, 8929, 6323, 11298, 1, 198, 220, 220, 220, 220, 220, 220, 220, 770, 26295, 743, 407, 2163, 6105, 319, 1029, 6323, 198, 220, 220, 220, 220, 220, 220, 220, 11298, 611, 345, 389, 407, 1262, 262, 3586, 287, 1029, 198, 220, 220, 220, 220, 220, 220, 220, 6323, 4235, 13, 770, 318, 9343, 6338, 319, 3964, 13, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 825, 1382, 62, 1416, 26892, 62, 5171, 11017, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15580, 262, 22032, 21978, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 26892, 62, 5171, 11017, 796, 256, 30488, 13, 6090, 11017, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 11, 23493, 11639, 83, 19692, 3256, 1960, 455, 2349, 28, 25101, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 26892, 62, 7890, 796, 7412, 48400, 13, 32393, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 26892, 62, 9060, 796, 7412, 51, 74, 13, 6191, 5159, 7, 944, 13, 1416, 26892, 62, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 26892, 62, 5171, 11017, 13, 17953, 62, 9060, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 11, 657, 11, 2939, 28, 944, 13, 1416, 26892, 62, 9060, 11, 18021, 28, 27605, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 1416, 26892, 62, 5171, 11017, 13, 8002, 7, 20797, 28, 33, 26946, 11, 4292, 28, 43335, 8, 628, 220, 220, 220, 825, 1382, 62, 89, 4207, 62, 83, 643, 626, 7, 944, 11, 4958, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15580, 262, 284, 1154, 626, 26295, 326, 2523, 262, 19792, 276, 2196, 286, 198, 220, 220, 220, 220, 220, 220, 220, 262, 17848, 14638, 262, 10211, 23493, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 6001, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 1802, 8, 198, 220, 220, 220, 220, 220, 220, 220, 9647, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 1802, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 87, 28968, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 2026, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 88, 28968, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 2026, 8, 198, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 796, 256, 30488, 13, 51, 643, 626, 7, 9866, 8, 198, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 13, 7645, 1153, 7, 9866, 8, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 83, 643, 626, 13, 86, 1040, 893, 6624, 705, 87, 1157, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 13, 1078, 7657, 10786, 12, 4906, 3256, 705, 25981, 22504, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 13, 2502, 81, 3089, 1060, 7, 17821, 8, 198, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 13, 469, 15748, 7, 69, 6, 90, 10394, 92, 87, 90, 17015, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 13, 26282, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 796, 256, 30488, 13, 6090, 11017, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 284, 1154, 626, 11, 4865, 10394, 28, 16, 11, 6001, 28, 944, 13, 89, 4207, 62, 17015, 11, 9647, 28, 944, 13, 89, 4207, 62, 10394, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 17953, 62, 9060, 7, 15, 11, 657, 11, 15940, 28, 17816, 9060, 6, 4357, 18021, 28, 27605, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 17953, 62, 5239, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 87, 28968, 11, 2420, 62, 88, 28968, 11, 2420, 2625, 10, 1600, 6070, 2625, 11186, 1600, 15940, 28, 17816, 521, 26407, 6, 12962, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 8002, 7, 20797, 28, 33, 26946, 11, 4292, 28, 43335, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 796, 284, 1154, 626, 628, 220, 220, 220, 825, 319, 62, 35888, 62, 22001, 7, 944, 11, 1785, 25, 256, 74, 13, 9237, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 57, 4207, 287, 290, 503, 319, 262, 2939, 14638, 262, 10211, 198, 220, 220, 220, 220, 220, 220, 220, 16926, 46, 6372, 3859, 4856, 2622, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 83, 643, 626, 13, 86, 1040, 893, 13, 21037, 3419, 6624, 705, 5404, 2624, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25979, 796, 532, 600, 7, 15596, 13, 67, 12514, 1220, 7982, 8, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 83, 643, 626, 13, 86, 1040, 893, 13, 21037, 3419, 6624, 705, 36129, 64, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25979, 796, 532, 15596, 13, 67, 12514, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1785, 13, 22510, 6624, 604, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25979, 796, 532, 16, 198, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 1785, 13, 22510, 6624, 642, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25979, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5715, 15853, 25979, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 261, 62, 35888, 62, 38714, 3419, 628, 220, 220, 220, 825, 319, 62, 9464, 62, 12976, 7, 944, 11, 4808, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 49630, 262, 3124, 14638, 262, 10211, 23493, 290, 4117, 198, 220, 220, 220, 220, 220, 220, 220, 262, 284, 1154, 626, 26295, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 751, 9156, 994, 284, 8006, 262, 2939, 3124, 198, 220, 220, 220, 220, 220, 220, 220, 289, 87, 796, 2116, 13, 1136, 62, 43753, 62, 8043, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 289, 6649, 796, 3124, 26791, 13, 8043, 62, 1462, 62, 71, 6649, 7, 71, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 46140, 796, 3124, 26791, 13, 8043, 62, 1462, 62, 81, 22296, 7, 71, 87, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 20274, 13, 2617, 7, 10258, 46770, 7, 81, 22296, 11, 289, 6649, 11, 289, 87, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 41659, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 13, 41659, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 32393, 62, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 20274, 13, 1136, 3419, 628, 220, 220, 220, 825, 319, 62, 3506, 62, 12976, 7, 944, 11, 4808, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 26125, 262, 3124, 3102, 2848, 1231, 8914, 597, 3124, 1321, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 13, 41659, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 32393, 62, 20979, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 41659, 3419, 628, 220, 220, 220, 825, 319, 62, 35888, 62, 38714, 7, 944, 11, 1785, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 47258, 329, 10211, 6268, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1785, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 11, 331, 796, 2116, 13, 83, 643, 626, 13, 5404, 6513, 62, 29536, 5431, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 1785, 13, 87, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 796, 1785, 13, 88, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 1445, 3013, 541, 4324, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 13, 469, 15748, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 6, 10, 90, 87, 10, 944, 13, 89, 4207, 62, 87, 28968, 92, 10, 90, 88, 10, 944, 13, 89, 4207, 62, 88, 28968, 92, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 4296, 262, 3013, 541, 2939, 198, 220, 220, 220, 220, 220, 220, 220, 275, 3524, 796, 357, 87, 12, 944, 13, 89, 4207, 62, 5715, 11, 331, 12, 944, 13, 89, 4207, 62, 5715, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 10, 944, 13, 89, 4207, 62, 5715, 10, 16, 11, 331, 10, 944, 13, 89, 4207, 62, 5715, 10, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2546, 796, 357, 944, 13, 89, 4207, 62, 10394, 11, 2116, 13, 89, 4207, 62, 17015, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 7890, 796, 2116, 13, 1416, 26892, 62, 7890, 13, 31476, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 275, 3524, 737, 411, 1096, 7, 7857, 11, 7412, 13, 39758, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 9060, 796, 7412, 51, 74, 13, 6191, 5159, 7, 944, 13, 89, 4207, 62, 7890, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 9186, 11250, 10786, 9060, 3256, 2939, 28, 944, 13, 89, 4207, 62, 9060, 8, 198, 220, 220, 220, 220, 220, 220, 220, 20599, 62, 8043, 796, 2116, 13, 1136, 62, 43753, 62, 8043, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 6273, 62, 8043, 796, 3124, 26791, 13, 3642, 5685, 62, 8043, 7, 43753, 62, 8043, 11, 705, 33095, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 9186, 11250, 10786, 521, 26407, 3256, 6070, 28, 3642, 5685, 62, 8043, 8, 628, 220, 220, 220, 825, 651, 62, 43753, 62, 8043, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 3855, 262, 3124, 326, 318, 289, 2557, 625, 416, 262, 10211, 23493, 526, 15931, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 16, 11, 331, 16, 11, 2124, 17, 11, 331, 17, 796, 2116, 13, 89, 4207, 62, 5171, 11017, 13, 65, 3524, 10786, 521, 26407, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 2124, 796, 2124, 16, 1343, 357, 87, 17, 12, 87, 16, 8, 1003, 17, 198, 220, 220, 220, 220, 220, 220, 220, 331, 796, 331, 16, 1343, 357, 88, 17, 12, 88, 17, 8, 1003, 17, 198, 220, 220, 220, 220, 220, 220, 220, 374, 11, 308, 11, 275, 796, 2116, 13, 89, 4207, 62, 7890, 13, 1136, 32515, 19510, 87, 11, 331, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 289, 87, 796, 3124, 26791, 13, 8043, 62, 1462, 62, 33095, 19510, 81, 11, 308, 11, 275, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 289, 87, 628, 220, 220, 220, 825, 905, 7, 944, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 15307, 262, 284, 1154, 626, 4324, 37811, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 796, 256, 30488, 13, 51, 643, 626, 7, 26591, 28, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 26377, 62, 1078, 7657, 10786, 12, 12853, 9612, 3256, 6407, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 11249, 62, 1416, 26892, 62, 5171, 11017, 3419, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 1785, 12765, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 45740, 29, 1600, 2116, 13, 261, 62, 35888, 62, 38714, 11, 43825, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 21864, 12, 16, 29, 1600, 2116, 13, 261, 62, 9464, 62, 12976, 11, 43825, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 21864, 12, 18, 29, 1600, 2116, 13, 261, 62, 3506, 62, 12976, 11, 43825, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 83, 643, 626, 13, 86, 1040, 893, 13, 21037, 3419, 6624, 705, 87, 1157, 10354, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 21864, 12, 19, 29, 1600, 2116, 13, 261, 62, 35888, 62, 22001, 11, 43825, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 21864, 12, 20, 29, 1600, 2116, 13, 261, 62, 35888, 62, 22001, 11, 43825, 4943, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 21653, 7203, 27, 39643, 45307, 29, 1600, 2116, 13, 261, 62, 35888, 62, 22001, 11, 43825, 4943, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 4238, 3013, 541, 9058, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 5715, 796, 362, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 25, 256, 30488, 13, 51, 643, 626, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 7890, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 9060, 796, 6045, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 17015, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 1802, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 10394, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 1802, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 87, 28968, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 838, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 88, 28968, 796, 10361, 13, 9888, 62, 7857, 7, 944, 13, 83, 643, 626, 11, 838, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 11249, 62, 89, 4207, 62, 83, 643, 626, 7, 944, 13, 83, 643, 626, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 32393, 62, 2617, 3419, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 83, 643, 626, 13, 26282, 10786, 2637, 8, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 89, 4207, 62, 83, 643, 626, 13, 26282, 7, 944, 13, 83, 643, 626, 8, 628, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 261, 62, 35888, 62, 38714, 3419, 198 ]
2.239919
2,951
import numpy as np import cv2 #from sort.py import rama import time cap = cv2.VideoCapture('Night.mp4') fourcc = cv2.VideoWriter_fourcc(*'XVID') out = cv2.VideoWriter('output.avi',fourcc, 20.0, (1280,720)) while(cap.isOpened()): ret, frame = cap.read() frame = cv2.line(frame, (100,360), (1200,360), (0,0,255), 6) font = cv2.FONT_HERSHEY_SIMPLEX frame = cv2.putText(frame, ('CAR'), (10,500), font, 4, (255,255,255),2,cv2.LINE_AA) out.write(frame) cv2.imshow('frame', frame) if cv2.waitKey(25) == ord('q'): break
[ 11748, 299, 32152, 355, 45941, 198, 11748, 269, 85, 17, 198, 2, 6738, 3297, 13, 9078, 1330, 374, 1689, 198, 11748, 640, 198, 198, 11128, 796, 269, 85, 17, 13, 10798, 49630, 10786, 24732, 13, 3149, 19, 11537, 198, 198, 14337, 535, 796, 269, 85, 17, 13, 10798, 34379, 62, 14337, 535, 46491, 6, 55, 11008, 11537, 198, 448, 796, 269, 85, 17, 13, 10798, 34379, 10786, 22915, 13, 15820, 3256, 14337, 535, 11, 1160, 13, 15, 11, 357, 1065, 1795, 11, 23906, 4008, 198, 198, 4514, 7, 11128, 13, 271, 18257, 2945, 3419, 2599, 198, 197, 198, 197, 1186, 11, 5739, 796, 1451, 13, 961, 3419, 198, 197, 198, 197, 14535, 796, 269, 85, 17, 13, 1370, 7, 14535, 11, 357, 3064, 11, 15277, 828, 357, 27550, 11, 15277, 828, 357, 15, 11, 15, 11, 13381, 828, 718, 8, 198, 197, 198, 197, 198, 197, 10331, 796, 269, 85, 17, 13, 37, 35830, 62, 39, 4877, 13909, 56, 62, 48913, 16437, 55, 198, 197, 14535, 796, 269, 85, 17, 13, 1996, 8206, 7, 14535, 11, 19203, 20034, 33809, 357, 940, 11, 4059, 828, 10369, 11, 604, 11, 357, 13381, 11, 13381, 11, 13381, 828, 17, 11, 33967, 17, 13, 24027, 62, 3838, 8, 198, 197, 448, 13, 13564, 7, 14535, 8, 198, 197, 33967, 17, 13, 320, 12860, 10786, 14535, 3256, 5739, 8, 198, 197, 198, 197, 361, 269, 85, 17, 13, 17077, 9218, 7, 1495, 8, 6624, 2760, 10786, 80, 6, 2599, 198, 197, 197, 9032, 198 ]
2.144578
249
sparsetwittermysqlpw = "" # mySQL Database Password # Details for Mailgun email_to_notify = "" mailgun_default_smtp_login = "" mailgun_api_base_url = "" mailgun_api_key = ""
[ 2777, 945, 316, 86, 1967, 28744, 13976, 79, 86, 796, 13538, 220, 1303, 616, 17861, 24047, 30275, 198, 198, 2, 14890, 329, 11099, 7145, 198, 12888, 62, 1462, 62, 1662, 1958, 796, 13538, 198, 4529, 7145, 62, 12286, 62, 5796, 34788, 62, 38235, 796, 13538, 198, 4529, 7145, 62, 15042, 62, 8692, 62, 6371, 796, 13538, 198, 4529, 7145, 62, 15042, 62, 2539, 796, 13538, 198 ]
2.666667
66
## ********************************************************* ## ## File autogenerated for the libuvc_camera package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') config_description = {'upper': 'DEFAULT', 'lower': 'groups', 'srcline': 245, 'name': 'Default', 'parent': 0, 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'cstate': 'true', 'parentname': 'Default', 'class': 'DEFAULT', 'field': 'default', 'state': True, 'parentclass': '', 'groups': [], 'parameters': [{'srcline': 290, 'description': 'Vendor ID, hex digits (use camera of any vendor if null).', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'vendor', 'edit_method': '', 'default': '', 'level': 3, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Product ID, hex digits (use camera of any model if null).', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'product', 'edit_method': '', 'default': '', 'level': 3, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Serial number, arbitrary string (use camera of any serial number if null).', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'serial', 'edit_method': '', 'default': '', 'level': 3, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Index into the list of cameras that match the above parameters.', 'max': 2147483647, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'index', 'edit_method': '', 'default': 0, 'level': 3, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Image width.', 'max': 2147483647, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'width', 'edit_method': '', 'default': 640, 'level': 3, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Image height.', 'max': 2147483647, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'height', 'edit_method': '', 'default': 480, 'level': 3, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Format of video stream from camera.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'video_mode', 'edit_method': "{'enum_description': 'Video stream format', 'enum': [{'srcline': 36, 'description': 'Use any uncompressed format', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'uncompressed', 'ctype': 'std::string', 'type': 'str', 'name': 'uncompressed'}, {'srcline': 37, 'description': 'User any compressed format', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'compressed', 'ctype': 'std::string', 'type': 'str', 'name': 'compressed'}, {'srcline': 38, 'description': 'YUYV', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'yuyv', 'ctype': 'std::string', 'type': 'str', 'name': 'yuyv'}, {'srcline': 39, 'description': 'UYVY', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'uyvy', 'ctype': 'std::string', 'type': 'str', 'name': 'uyvy'}, {'srcline': 40, 'description': 'RGB', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'rgb', 'ctype': 'std::string', 'type': 'str', 'name': 'rgb'}, {'srcline': 41, 'description': 'BGR', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'bgr', 'ctype': 'std::string', 'type': 'str', 'name': 'bgr'}, {'srcline': 42, 'description': 'MJPEG', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'mjpeg', 'ctype': 'std::string', 'type': 'str', 'name': 'mjpeg'}, {'srcline': 43, 'description': 'gray8', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'gray8', 'ctype': 'std::string', 'type': 'str', 'name': 'gray8'}]}", 'default': 'uncompressed', 'level': 3, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Camera speed, frames per second.', 'max': 1000.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'frame_rate', 'edit_method': '', 'default': 15.0, 'level': 3, 'min': 0.1, 'type': 'double'}, {'srcline': 290, 'description': 'Method for determining the timestamp.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'timestamp_method', 'edit_method': "{'enum_description': 'Methods for determining the timestamp', 'enum': [{'srcline': 53, 'description': 'Time of publication', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'pub', 'ctype': 'std::string', 'type': 'str', 'name': 'PubTime'}, {'srcline': 54, 'description': 'Time when raw frame capture began', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'start', 'ctype': 'std::string', 'type': 'str', 'name': 'FrameStartTime'}, {'srcline': 55, 'description': 'Time when raw frame capture ended', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'stop', 'ctype': 'std::string', 'type': 'str', 'name': 'FrameStopTime'}, {'srcline': 56, 'description': 'Time when camera-to-host transfer completed', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const char * const', 'value': 'hostrcpt', 'ctype': 'std::string', 'type': 'str', 'name': 'HostReceiptTime'}]}", 'default': 'start', 'level': 3, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'ROS tf frame of reference, resolved with tf_prefix unless absolute.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'frame_id', 'edit_method': '', 'default': 'camera', 'level': 0, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Path to camera calibration file.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'camera_info_url', 'edit_method': '', 'default': '', 'level': 0, 'min': '', 'type': 'str'}, {'srcline': 290, 'description': 'Scanning mode.', 'max': 1, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'scanning_mode', 'edit_method': "{'enum_description': 'Scanning modes', 'enum': [{'srcline': 72, 'description': '', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 0, 'ctype': 'int', 'type': 'int', 'name': 'Interlaced'}, {'srcline': 73, 'description': '', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 1, 'ctype': 'int', 'type': 'int', 'name': 'Progressive'}]}", 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Auto exposure mode.', 'max': 3, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'auto_exposure', 'edit_method': "{'enum_description': 'Auto-exposure modes', 'enum': [{'srcline': 80, 'description': 'Manual exposure, manual iris', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 0, 'ctype': 'int', 'type': 'int', 'name': 'Manual'}, {'srcline': 81, 'description': 'Auto exposure, auto iris', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 1, 'ctype': 'int', 'type': 'int', 'name': 'Auto'}, {'srcline': 82, 'description': 'manual exposure, auto iris', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 2, 'ctype': 'int', 'type': 'int', 'name': 'Shutter_Priority'}, {'srcline': 83, 'description': 'auto exposure, manual iris', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 3, 'ctype': 'int', 'type': 'int', 'name': 'Aperture_Priority'}]}", 'default': 3, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'In auto mode or shutter priority mode, allow the device to vary frame rate.', 'max': 1, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'auto_exposure_priority', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Length of exposure, seconds.', 'max': 10.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'exposure_absolute', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': 0.0001, 'type': 'double'}, {'srcline': 290, 'description': 'Aperture, f.', 'max': 655.35, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'iris_absolute', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 290, 'description': 'Maintain focus automatically.', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'auto_focus', 'edit_method': '', 'default': True, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 290, 'description': 'Absolute focal distance, millimeters.', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'focus_absolute', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Pan (clockwise), arc seconds.', 'max': 648000, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'pan_absolute', 'edit_method': '', 'default': 0, 'level': 0, 'min': -648000, 'type': 'int'}, {'srcline': 290, 'description': 'Tilt (up), arc seconds.', 'max': 648000, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'tilt_absolute', 'edit_method': '', 'default': 0, 'level': 0, 'min': -648000, 'type': 'int'}, {'srcline': 290, 'description': 'Roll (clockwise), degrees.', 'max': 180, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'roll_absolute', 'edit_method': '', 'default': 0, 'level': 0, 'min': -180, 'type': 'int'}, {'srcline': 290, 'description': 'Image capture disabled.', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'privacy', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 290, 'description': 'Backlight compensation, device-dependent (zero for none, increasing compensation above zero).', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'backlight_compensation', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Brightness, device dependent.', 'max': 32767, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'brightness', 'edit_method': '', 'default': 0, 'level': 0, 'min': -32768, 'type': 'int'}, {'srcline': 290, 'description': 'Contrast, device dependent.', 'max': 32767, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'contrast', 'edit_method': '', 'default': 0, 'level': 0, 'min': -32768, 'type': 'int'}, {'srcline': 290, 'description': 'Gain, device dependent.', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'gain', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Power line frequency anti-flicker processing.', 'max': 2, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'power_line_frequency', 'edit_method': "{'enum_description': 'Power line frequency modes', 'enum': [{'srcline': 146, 'description': 'Disabled', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 0, 'ctype': 'int', 'type': 'int', 'name': 'Disabled'}, {'srcline': 147, 'description': '50 Hz', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 1, 'ctype': 'int', 'type': 'int', 'name': 'Freq_50'}, {'srcline': 148, 'description': '60 Hz', 'srcfile': '/home/xtark/ros_ws/src/third_packages/ros_astra_camera/cfg/UVCCamera.cfg', 'cconsttype': 'const int', 'value': 1, 'ctype': 'int', 'type': 'int', 'name': 'Freq_60'}]}", 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Automatic hue control.', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'auto_hue', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 290, 'description': 'Hue, degrees.', 'max': 180.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'hue', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': -180.0, 'type': 'double'}, {'srcline': 290, 'description': 'Saturation, device dependent (zero for grayscale).', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'saturation', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Image sharpness, device dependent.', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'sharpness', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Gamma.', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'gamma', 'edit_method': '', 'default': 1.0, 'level': 0, 'min': 0.01, 'type': 'double'}, {'srcline': 290, 'description': 'Automatic white balance.', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'auto_white_balance', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 290, 'description': 'White balance temperature, degrees.', 'max': 65536, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'white_balance_temperature', 'edit_method': '', 'default': 0, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 290, 'description': 'Blue or U component of white balance, device-dependent.', 'max': 65536.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'white_balance_BU', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 290, 'description': 'Red or V component of white balance, device-dependent.', 'max': 65536.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'white_balance_RV', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': 0.0, 'type': 'double'}], 'type': '', 'id': 0} min = {} max = {} defaults = {} level = {} type = {} all_level = 0 #def extract_params(config): # params = [] # params.extend(config['parameters']) # for group in config['groups']: # params.extend(extract_params(group)) # return params for param in extract_params(config_description): min[param['name']] = param['min'] max[param['name']] = param['max'] defaults[param['name']] = param['default'] level[param['name']] = param['level'] type[param['name']] = param['type'] all_level = all_level | param['level'] UVCCamera_uncompressed = 'uncompressed' UVCCamera_compressed = 'compressed' UVCCamera_yuyv = 'yuyv' UVCCamera_uyvy = 'uyvy' UVCCamera_rgb = 'rgb' UVCCamera_bgr = 'bgr' UVCCamera_mjpeg = 'mjpeg' UVCCamera_gray8 = 'gray8' UVCCamera_PubTime = 'pub' UVCCamera_FrameStartTime = 'start' UVCCamera_FrameStopTime = 'stop' UVCCamera_HostReceiptTime = 'hostrcpt' UVCCamera_Interlaced = 0 UVCCamera_Progressive = 1 UVCCamera_Manual = 0 UVCCamera_Auto = 1 UVCCamera_Shutter_Priority = 2 UVCCamera_Aperture_Priority = 3 UVCCamera_Disabled = 0 UVCCamera_Freq_50 = 1 UVCCamera_Freq_60 = 1
[ 2235, 41906, 8412, 4557, 9, 198, 2235, 198, 2235, 9220, 1960, 519, 877, 515, 329, 262, 9195, 14795, 66, 62, 25695, 5301, 198, 2235, 416, 262, 8925, 62, 260, 11250, 495, 5301, 13, 198, 2235, 4222, 466, 407, 4370, 13, 198, 2235, 198, 2235, 41906, 8412, 4557, 14, 198, 198, 6738, 8925, 62, 260, 11250, 495, 13, 12685, 7656, 1330, 7925, 62, 37266, 198, 198, 10745, 796, 12178, 10786, 10745, 11537, 198, 198, 11250, 62, 11213, 796, 1391, 6, 45828, 10354, 705, 7206, 38865, 3256, 705, 21037, 10354, 705, 24432, 3256, 705, 27891, 565, 500, 10354, 29637, 11, 705, 3672, 10354, 705, 19463, 3256, 705, 8000, 10354, 657, 11, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 66, 5219, 10354, 705, 7942, 3256, 705, 8000, 3672, 10354, 705, 19463, 3256, 705, 4871, 10354, 705, 7206, 38865, 3256, 705, 3245, 10354, 705, 12286, 3256, 705, 5219, 10354, 6407, 11, 705, 8000, 4871, 10354, 705, 3256, 705, 24432, 10354, 685, 4357, 705, 17143, 7307, 10354, 685, 90, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 53, 18738, 4522, 11, 17910, 19561, 357, 1904, 4676, 286, 597, 18371, 611, 9242, 737, 3256, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 85, 18738, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 705, 3256, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 15667, 4522, 11, 17910, 19561, 357, 1904, 4676, 286, 597, 2746, 611, 9242, 737, 3256, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 11167, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 705, 3256, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 32634, 1271, 11, 14977, 4731, 357, 1904, 4676, 286, 597, 11389, 1271, 611, 9242, 737, 3256, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 46911, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 705, 3256, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 15732, 656, 262, 1351, 286, 9073, 326, 2872, 262, 2029, 10007, 2637, 11, 705, 9806, 10354, 362, 20198, 2780, 26780, 22, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 9630, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 5159, 9647, 2637, 11, 705, 9806, 10354, 362, 20198, 2780, 26780, 22, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 10394, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 33759, 11, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 5159, 6001, 2637, 11, 705, 9806, 10354, 362, 20198, 2780, 26780, 22, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 17015, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 23487, 11, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 26227, 286, 2008, 4269, 422, 4676, 2637, 11, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 15588, 62, 14171, 3256, 705, 19312, 62, 24396, 10354, 45144, 6, 44709, 62, 11213, 10354, 705, 10798, 4269, 5794, 3256, 705, 44709, 10354, 685, 90, 6, 27891, 565, 500, 10354, 4570, 11, 705, 11213, 10354, 705, 11041, 597, 34318, 2790, 5794, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 403, 5589, 2790, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 403, 5589, 2790, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 5214, 11, 705, 11213, 10354, 705, 12982, 597, 25388, 5794, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 5589, 2790, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 5589, 2790, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 4353, 11, 705, 11213, 10354, 705, 56, 52, 56, 53, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 88, 4669, 85, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 88, 4669, 85, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 5014, 11, 705, 11213, 10354, 705, 52, 56, 53, 56, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 4669, 7670, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 4669, 7670, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 2319, 11, 705, 11213, 10354, 705, 36982, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 81, 22296, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 81, 22296, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 6073, 11, 705, 11213, 10354, 705, 33, 10761, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 65, 2164, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 65, 2164, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 5433, 11, 705, 11213, 10354, 705, 44, 12889, 7156, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 76, 73, 22071, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 76, 73, 22071, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 5946, 11, 705, 11213, 10354, 705, 44605, 23, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 44605, 23, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 44605, 23, 6, 92, 48999, 1600, 705, 12286, 10354, 705, 403, 5589, 2790, 3256, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 35632, 2866, 11, 13431, 583, 1218, 2637, 11, 705, 9806, 10354, 8576, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 14535, 62, 4873, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 1315, 13, 15, 11, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 657, 13, 16, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 17410, 329, 13213, 262, 41033, 2637, 11, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 16514, 27823, 62, 24396, 3256, 705, 19312, 62, 24396, 10354, 45144, 6, 44709, 62, 11213, 10354, 705, 46202, 329, 13213, 262, 41033, 3256, 705, 44709, 10354, 685, 90, 6, 27891, 565, 500, 10354, 7192, 11, 705, 11213, 10354, 705, 7575, 286, 9207, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 12984, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 14876, 7575, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 7175, 11, 705, 11213, 10354, 705, 7575, 618, 8246, 5739, 8006, 2540, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 9688, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 19778, 10434, 7575, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 5996, 11, 705, 11213, 10354, 705, 7575, 618, 8246, 5739, 8006, 4444, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 11338, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 19778, 19485, 7575, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 7265, 11, 705, 11213, 10354, 705, 7575, 618, 4676, 12, 1462, 12, 4774, 4351, 5668, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 8367, 10354, 705, 4774, 6015, 457, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 4906, 10354, 705, 2536, 3256, 705, 3672, 10354, 705, 17932, 3041, 344, 10257, 7575, 6, 92, 48999, 1600, 705, 12286, 10354, 705, 9688, 3256, 705, 5715, 10354, 513, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 49, 2640, 48700, 5739, 286, 4941, 11, 12939, 351, 48700, 62, 40290, 4556, 4112, 2637, 11, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 14535, 62, 312, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 705, 25695, 3256, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 15235, 284, 4676, 36537, 2393, 2637, 11, 705, 9806, 10354, 705, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 1149, 1635, 1500, 3256, 705, 310, 2981, 10354, 705, 19282, 3712, 8841, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 25695, 62, 10951, 62, 6371, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 705, 3256, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 705, 3256, 705, 4906, 10354, 705, 2536, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 33351, 768, 4235, 2637, 11, 705, 9806, 10354, 352, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 35836, 768, 62, 14171, 3256, 705, 19312, 62, 24396, 10354, 45144, 6, 44709, 62, 11213, 10354, 705, 33351, 768, 12881, 3256, 705, 44709, 10354, 685, 90, 6, 27891, 565, 500, 10354, 7724, 11, 705, 11213, 10354, 705, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 657, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 9492, 75, 2286, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 8854, 11, 705, 11213, 10354, 705, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 352, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 2964, 19741, 6, 92, 48999, 1600, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 27722, 7111, 4235, 2637, 11, 705, 9806, 10354, 513, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 23736, 62, 1069, 26205, 3256, 705, 19312, 62, 24396, 10354, 45144, 6, 44709, 62, 11213, 10354, 705, 27722, 12, 1069, 26205, 12881, 3256, 705, 44709, 10354, 685, 90, 6, 27891, 565, 500, 10354, 4019, 11, 705, 11213, 10354, 705, 5124, 723, 7111, 11, 10107, 4173, 271, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 657, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 5124, 723, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 9773, 11, 705, 11213, 10354, 705, 27722, 7111, 11, 8295, 4173, 271, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 352, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 27722, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 9415, 11, 705, 11213, 10354, 705, 805, 723, 7111, 11, 8295, 4173, 271, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 362, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 2484, 10381, 62, 22442, 414, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 9698, 11, 705, 11213, 10354, 705, 23736, 7111, 11, 10107, 4173, 271, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 513, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 32, 27286, 62, 22442, 414, 6, 92, 48999, 1600, 705, 12286, 10354, 513, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 818, 8295, 4235, 393, 31168, 8475, 4235, 11, 1249, 262, 3335, 284, 7565, 5739, 2494, 2637, 11, 705, 9806, 10354, 352, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 23736, 62, 1069, 26205, 62, 49336, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 24539, 286, 7111, 11, 4201, 2637, 11, 705, 9806, 10354, 838, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 1069, 26205, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 13, 18005, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 32, 27286, 11, 277, 2637, 11, 705, 9806, 10354, 45021, 13, 2327, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 29616, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 13, 15, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 44, 32725, 2962, 6338, 2637, 11, 705, 9806, 10354, 6407, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 20512, 3256, 705, 310, 2981, 10354, 705, 30388, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 23736, 62, 37635, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 6407, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 10352, 11, 705, 4906, 10354, 705, 30388, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 24849, 3552, 25397, 5253, 11, 3939, 31551, 2637, 11, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 37635, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 15730, 357, 15750, 3083, 828, 10389, 4201, 2637, 11, 705, 9806, 10354, 718, 2780, 830, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 6839, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 2414, 33942, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 51, 2326, 357, 929, 828, 10389, 4201, 2637, 11, 705, 9806, 10354, 718, 2780, 830, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 83, 2326, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 2414, 33942, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 26869, 357, 15750, 3083, 828, 7370, 2637, 11, 705, 9806, 10354, 11546, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 2487, 62, 48546, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 15259, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 5159, 8006, 10058, 2637, 11, 705, 9806, 10354, 6407, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 20512, 3256, 705, 310, 2981, 10354, 705, 30388, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 13776, 1590, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 10352, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 10352, 11, 705, 4906, 10354, 705, 30388, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 7282, 2971, 9836, 11, 3335, 12, 21186, 357, 22570, 329, 4844, 11, 3649, 9836, 2029, 6632, 737, 3256, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 1891, 2971, 62, 5589, 25742, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 41267, 1108, 11, 3335, 10795, 2637, 11, 705, 9806, 10354, 36203, 3134, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 29199, 1108, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 34159, 3104, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 4264, 5685, 11, 3335, 10795, 2637, 11, 705, 9806, 10354, 36203, 3134, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 3642, 5685, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 34159, 3104, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 38, 391, 11, 3335, 10795, 2637, 11, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 48544, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 13434, 1627, 8373, 3098, 12, 2704, 15799, 7587, 2637, 11, 705, 9806, 10354, 362, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 6477, 62, 1370, 62, 35324, 3256, 705, 19312, 62, 24396, 10354, 45144, 6, 44709, 62, 11213, 10354, 705, 13434, 1627, 8373, 12881, 3256, 705, 44709, 10354, 685, 90, 6, 27891, 565, 500, 10354, 22986, 11, 705, 11213, 10354, 705, 7279, 4510, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 657, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 7279, 4510, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 22909, 11, 705, 11213, 10354, 705, 1120, 26109, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 352, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 20366, 80, 62, 1120, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 22613, 11, 705, 11213, 10354, 705, 1899, 26109, 3256, 705, 10677, 7753, 10354, 31051, 11195, 14, 742, 668, 14, 4951, 62, 18504, 14, 10677, 14, 17089, 62, 43789, 14, 4951, 62, 459, 430, 62, 25695, 14, 37581, 14, 31667, 4093, 18144, 13, 37581, 3256, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 8367, 10354, 352, 11, 705, 310, 2981, 10354, 705, 600, 3256, 705, 4906, 10354, 705, 600, 3256, 705, 3672, 10354, 705, 20366, 80, 62, 1899, 6, 92, 48999, 1600, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 16541, 13730, 37409, 1630, 2637, 11, 705, 9806, 10354, 6407, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 20512, 3256, 705, 310, 2981, 10354, 705, 30388, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 23736, 62, 71, 518, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 10352, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 10352, 11, 705, 4906, 10354, 705, 30388, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 39, 518, 11, 7370, 2637, 11, 705, 9806, 10354, 11546, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 71, 518, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 532, 15259, 13, 15, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 50, 36921, 11, 3335, 10795, 357, 22570, 329, 1036, 592, 38765, 737, 3256, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 82, 36921, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 5159, 7786, 1108, 11, 3335, 10795, 2637, 11, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 48554, 1108, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 34777, 2611, 2637, 11, 705, 9806, 10354, 642, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 28483, 2611, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 352, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 13, 486, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 16541, 13730, 2330, 5236, 2637, 11, 705, 9806, 10354, 6407, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 20512, 3256, 705, 310, 2981, 10354, 705, 30388, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 23736, 62, 11186, 62, 20427, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 10352, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 10352, 11, 705, 4906, 10354, 705, 30388, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 12256, 5236, 5951, 11, 7370, 2637, 11, 705, 9806, 10354, 45021, 2623, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 493, 3256, 705, 310, 2981, 10354, 705, 600, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 11186, 62, 20427, 62, 11498, 21069, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 11, 705, 4906, 10354, 705, 600, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 14573, 393, 471, 7515, 286, 2330, 5236, 11, 3335, 12, 21186, 2637, 11, 705, 9806, 10354, 45021, 2623, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 11186, 62, 20427, 62, 19499, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 13, 15, 11, 705, 4906, 10354, 705, 23352, 6, 5512, 1391, 6, 27891, 565, 500, 10354, 26481, 11, 705, 11213, 10354, 705, 7738, 393, 569, 7515, 286, 2330, 5236, 11, 3335, 12, 21186, 2637, 11, 705, 9806, 10354, 45021, 2623, 13, 15, 11, 705, 535, 261, 301, 4906, 10354, 705, 9979, 4274, 3256, 705, 310, 2981, 10354, 705, 23352, 3256, 705, 10677, 7753, 10354, 31051, 8738, 14, 4951, 14, 5116, 5139, 14, 8019, 14, 29412, 17, 13, 22, 14, 17080, 12, 43789, 14, 67, 28995, 62, 260, 11250, 495, 14, 17143, 2357, 62, 8612, 1352, 62, 9246, 5116, 13, 9078, 3256, 705, 3672, 10354, 705, 11186, 62, 20427, 62, 49, 53, 3256, 705, 19312, 62, 24396, 10354, 705, 3256, 705, 12286, 10354, 657, 13, 15, 11, 705, 5715, 10354, 657, 11, 705, 1084, 10354, 657, 13, 15, 11, 705, 4906, 10354, 705, 23352, 6, 92, 4357, 705, 4906, 10354, 705, 3256, 705, 312, 10354, 657, 92, 198, 198, 1084, 796, 23884, 198, 9806, 796, 23884, 198, 12286, 82, 796, 23884, 198, 5715, 796, 23884, 198, 4906, 796, 23884, 198, 439, 62, 5715, 796, 657, 198, 198, 2, 4299, 7925, 62, 37266, 7, 11250, 2599, 198, 2, 220, 220, 220, 42287, 796, 17635, 198, 2, 220, 220, 220, 42287, 13, 2302, 437, 7, 11250, 17816, 17143, 7307, 6, 12962, 198, 2, 220, 220, 220, 329, 1448, 287, 4566, 17816, 24432, 6, 5974, 198, 2, 220, 220, 220, 220, 220, 220, 220, 42287, 13, 2302, 437, 7, 2302, 974, 62, 37266, 7, 8094, 4008, 198, 2, 220, 220, 220, 1441, 42287, 198, 198, 1640, 5772, 287, 7925, 62, 37266, 7, 11250, 62, 11213, 2599, 198, 220, 220, 220, 949, 58, 17143, 17816, 3672, 6, 11907, 796, 5772, 17816, 1084, 20520, 198, 220, 220, 220, 3509, 58, 17143, 17816, 3672, 6, 11907, 796, 5772, 17816, 9806, 20520, 198, 220, 220, 220, 26235, 58, 17143, 17816, 3672, 6, 11907, 796, 5772, 17816, 12286, 20520, 198, 220, 220, 220, 1241, 58, 17143, 17816, 3672, 6, 11907, 796, 5772, 17816, 5715, 20520, 198, 220, 220, 220, 2099, 58, 17143, 17816, 3672, 6, 11907, 796, 5772, 17816, 4906, 20520, 198, 220, 220, 220, 477, 62, 5715, 796, 477, 62, 5715, 930, 5772, 17816, 5715, 20520, 198, 198, 31667, 4093, 18144, 62, 403, 5589, 2790, 796, 705, 403, 5589, 2790, 6, 198, 31667, 4093, 18144, 62, 5589, 2790, 796, 705, 5589, 2790, 6, 198, 31667, 4093, 18144, 62, 88, 4669, 85, 796, 705, 88, 4669, 85, 6, 198, 31667, 4093, 18144, 62, 4669, 7670, 796, 705, 4669, 7670, 6, 198, 31667, 4093, 18144, 62, 81, 22296, 796, 705, 81, 22296, 6, 198, 31667, 4093, 18144, 62, 65, 2164, 796, 705, 65, 2164, 6, 198, 31667, 4093, 18144, 62, 76, 73, 22071, 796, 705, 76, 73, 22071, 6, 198, 31667, 4093, 18144, 62, 44605, 23, 796, 705, 44605, 23, 6, 198, 31667, 4093, 18144, 62, 14876, 7575, 796, 705, 12984, 6, 198, 31667, 4093, 18144, 62, 19778, 10434, 7575, 796, 705, 9688, 6, 198, 31667, 4093, 18144, 62, 19778, 19485, 7575, 796, 705, 11338, 6, 198, 31667, 4093, 18144, 62, 17932, 3041, 344, 10257, 7575, 796, 705, 4774, 6015, 457, 6, 198, 31667, 4093, 18144, 62, 9492, 75, 2286, 796, 657, 198, 31667, 4093, 18144, 62, 2964, 19741, 796, 352, 198, 31667, 4093, 18144, 62, 5124, 723, 796, 657, 198, 31667, 4093, 18144, 62, 27722, 796, 352, 198, 31667, 4093, 18144, 62, 2484, 10381, 62, 22442, 414, 796, 362, 198, 31667, 4093, 18144, 62, 32, 27286, 62, 22442, 414, 796, 513, 198, 31667, 4093, 18144, 62, 7279, 4510, 796, 657, 198, 31667, 4093, 18144, 62, 20366, 80, 62, 1120, 796, 352, 198, 31667, 4093, 18144, 62, 20366, 80, 62, 1899, 796, 352, 198 ]
2.725266
7,156
VALIDATE = True
[ 23428, 2389, 6158, 796, 6407, 198 ]
2.666667
6
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'log-in.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) Dialog = QtWidgets.QDialog() ui = Ui_Dialog() ui.setupUi(Dialog) Dialog.show() sys.exit(app.exec_())
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 2, 5178, 7822, 7560, 422, 3555, 334, 72, 2393, 705, 6404, 12, 259, 13, 9019, 6, 198, 2, 198, 2, 15622, 416, 25, 9485, 48, 83, 20, 12454, 2438, 17301, 642, 13, 1314, 13, 15, 198, 2, 198, 2, 39410, 25, 4377, 10107, 2458, 925, 284, 428, 2393, 481, 307, 2626, 618, 12972, 84, 291, 20, 318, 198, 2, 1057, 757, 13, 220, 2141, 407, 4370, 428, 2393, 4556, 345, 760, 644, 345, 389, 1804, 13, 628, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 8205, 72, 11, 33734, 54, 312, 11407, 628, 198, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 198, 220, 220, 220, 1330, 25064, 198, 220, 220, 220, 598, 796, 33734, 54, 312, 11407, 13, 48, 23416, 7, 17597, 13, 853, 85, 8, 198, 220, 220, 220, 21269, 519, 796, 33734, 54, 312, 11407, 13, 48, 44204, 3419, 198, 220, 220, 220, 334, 72, 796, 471, 72, 62, 44204, 3419, 198, 220, 220, 220, 334, 72, 13, 40406, 52, 72, 7, 44204, 8, 198, 220, 220, 220, 21269, 519, 13, 12860, 3419, 198, 220, 220, 220, 25064, 13, 37023, 7, 1324, 13, 18558, 62, 28955, 198 ]
2.563981
211
import tensorflow as tf
[ 11748, 11192, 273, 11125, 355, 48700, 220, 198 ]
3.125
8
#!/usr/bin/python ####################################################################################################################################################################### #The MIT License (MIT) #Copyright (c) Copyright 2016, [email protected] #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), #to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, #and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: #The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ####################################################################################################################################################################### import os import os.path import hashlib import sys import sqlite3 import argparse import shutil #methode to calculate md5sum of a given file #return te md5sum as string or 0 #methode to check if a given md5sum is already in the database #if not, it will be insert #return True if it's in the database, False otherwise #methode to copy given file in the given directory #return True if successful, False if not #main methode #handles input parameter for file extension and temporary Working directory #creates database, if it not exists #main loop: # - loop over all files with given extension # - calc their md5sum and check if these are already in the database # - if not, copy this files in the temporary Working directory and print the filename if __name__ == '__main__': main()
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 198, 29113, 29113, 29113, 29113, 29113, 4242, 21017, 198, 2, 464, 17168, 13789, 357, 36393, 8, 198, 2, 15269, 357, 66, 8, 15069, 1584, 11, 277, 15, 24954, 18, 85, 16, 75, 2032, 16, 335, 31, 14816, 13, 785, 198, 2, 5990, 3411, 318, 29376, 7520, 11, 1479, 286, 3877, 11, 284, 597, 1048, 16727, 257, 4866, 286, 428, 3788, 290, 3917, 10314, 3696, 357, 1169, 366, 25423, 12340, 198, 2, 1462, 1730, 287, 262, 10442, 1231, 17504, 11, 1390, 1231, 17385, 262, 2489, 284, 779, 11, 4866, 11, 13096, 11, 20121, 11, 7715, 11, 14983, 11, 850, 43085, 11, 198, 2, 392, 14, 273, 3677, 9088, 286, 262, 10442, 11, 290, 284, 8749, 6506, 284, 4150, 262, 10442, 318, 30760, 284, 466, 523, 11, 2426, 284, 262, 1708, 3403, 25, 198, 198, 2, 464, 2029, 6634, 4003, 290, 428, 7170, 4003, 2236, 307, 3017, 287, 477, 9088, 393, 8904, 16690, 286, 262, 10442, 13, 198, 198, 2, 10970, 47466, 3180, 36592, 2389, 1961, 366, 1921, 3180, 1600, 42881, 34764, 56, 3963, 15529, 509, 12115, 11, 7788, 32761, 6375, 8959, 49094, 11, 47783, 2751, 21728, 5626, 40880, 5390, 3336, 34764, 11015, 3963, 34482, 3398, 1565, 5603, 25382, 11, 198, 2, 37, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 5357, 44521, 1268, 10913, 2751, 12529, 13, 3268, 8005, 49261, 50163, 3336, 37195, 20673, 6375, 27975, 38162, 9947, 367, 15173, 4877, 9348, 43031, 19146, 7473, 15529, 47666, 3955, 11, 29506, 25552, 6375, 25401, 198, 2, 43, 3539, 25382, 11, 7655, 2767, 16879, 3268, 3537, 40282, 3963, 27342, 10659, 11, 309, 9863, 6375, 25401, 54, 24352, 11, 5923, 1797, 2751, 16034, 11, 16289, 3963, 6375, 3268, 7102, 45, 24565, 13315, 3336, 47466, 6375, 3336, 23210, 6375, 25401, 5550, 1847, 20754, 3268, 3336, 47466, 13, 198, 29113, 29113, 29113, 29113, 29113, 4242, 21017, 198, 198, 11748, 28686, 198, 11748, 28686, 13, 6978, 198, 11748, 12234, 8019, 198, 11748, 25064, 198, 11748, 44161, 578, 18, 198, 11748, 1822, 29572, 198, 11748, 4423, 346, 198, 198, 2, 76, 2788, 1098, 284, 15284, 45243, 20, 16345, 286, 257, 1813, 2393, 198, 2, 7783, 573, 45243, 20, 16345, 355, 4731, 393, 657, 198, 198, 2, 76, 2788, 1098, 284, 2198, 611, 257, 1813, 45243, 20, 16345, 318, 1541, 287, 262, 6831, 198, 2, 361, 407, 11, 340, 481, 307, 7550, 198, 2, 7783, 6407, 611, 340, 338, 287, 262, 6831, 11, 10352, 4306, 198, 198, 2, 76, 2788, 1098, 284, 4866, 1813, 2393, 287, 262, 1813, 8619, 198, 2, 7783, 6407, 611, 4388, 11, 10352, 611, 407, 198, 198, 2, 12417, 11248, 1098, 198, 2, 4993, 829, 5128, 11507, 329, 2393, 7552, 290, 8584, 14594, 8619, 198, 2, 20123, 274, 6831, 11, 611, 340, 407, 7160, 198, 2, 12417, 9052, 25, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 532, 9052, 625, 477, 3696, 351, 1813, 7552, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 532, 42302, 511, 45243, 20, 16345, 290, 2198, 611, 777, 389, 1541, 287, 262, 6831, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 532, 611, 407, 11, 4866, 428, 3696, 287, 262, 8584, 14594, 8619, 290, 3601, 262, 29472, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, 198 ]
4.145455
550
import pytest from jacquard.odm import Session from jacquard.buckets import Bucket from jacquard.constraints import Constraints from jacquard.buckets.utils import release from jacquard.buckets.constants import NUM_BUCKETS from jacquard.buckets.exceptions import NotEnoughBucketsException @pytest.mark.parametrize('divisor', ( 2, 3, 4, 5, 6, 10, 100, ))
[ 11748, 12972, 9288, 198, 198, 6738, 474, 43561, 446, 13, 375, 76, 1330, 23575, 198, 6738, 474, 43561, 446, 13, 27041, 1039, 1330, 48353, 198, 6738, 474, 43561, 446, 13, 1102, 2536, 6003, 1330, 1482, 2536, 6003, 198, 6738, 474, 43561, 446, 13, 27041, 1039, 13, 26791, 1330, 2650, 198, 6738, 474, 43561, 446, 13, 27041, 1039, 13, 9979, 1187, 1330, 36871, 62, 33, 16696, 32716, 198, 6738, 474, 43561, 446, 13, 27041, 1039, 13, 1069, 11755, 1330, 1892, 47323, 33, 1347, 1039, 16922, 628, 198, 31, 9078, 9288, 13, 4102, 13, 17143, 316, 380, 2736, 10786, 7146, 271, 273, 3256, 357, 198, 220, 220, 220, 362, 11, 198, 220, 220, 220, 513, 11, 198, 220, 220, 220, 604, 11, 198, 220, 220, 220, 642, 11, 198, 220, 220, 220, 718, 11, 198, 220, 220, 220, 838, 11, 198, 220, 220, 220, 1802, 11, 198, 4008, 628, 628 ]
2.614865
148
#!/usr/bin/env python """ autonomous.py - Version 1.0 2016-10-12 General framework based on Patrick Goebel's nav_test.py Initial version based on ccam-navigation by Chris Mobley Autonomous movement added by Jonathan Hodges Define waypoint destinations for a robot to move autonomously within a map framework. 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) any later version.5 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at: http://www.gnu.org/licenses/gpl.html """ import rospy import rospkg import actionlib from actionlib_msgs.msg import * from geometry_msgs.msg import Pose, PoseWithCovarianceStamped, Point, Quaternion, Twist from kuri_mbzirc_challenge_2_msgs.msg import BoxPositionAction, BoxPositionGoal from tf.transformations import quaternion_from_euler from decimal import * import time from math import radians, pi if __name__ == '__main__': try: mbzirc_c2_auto() rospy.spin() except rospy.ROSInterruptException: rospy.loginfo("mbzirc_c2_auto finished.")
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 37811, 18284, 13, 9078, 532, 10628, 352, 13, 15, 1584, 12, 940, 12, 1065, 628, 220, 220, 220, 3611, 9355, 1912, 319, 9925, 1514, 1765, 417, 338, 6812, 62, 9288, 13, 9078, 198, 220, 220, 220, 20768, 2196, 1912, 319, 269, 20991, 12, 28341, 7065, 416, 5180, 16540, 1636, 198, 220, 220, 220, 5231, 38175, 3356, 2087, 416, 11232, 22816, 3212, 628, 220, 220, 220, 2896, 500, 835, 4122, 23982, 329, 257, 9379, 284, 1445, 11827, 3481, 1626, 198, 220, 220, 220, 257, 3975, 9355, 13, 628, 220, 220, 220, 770, 1430, 318, 1479, 3788, 26, 345, 460, 17678, 4163, 340, 290, 14, 273, 13096, 198, 220, 220, 220, 340, 739, 262, 2846, 286, 262, 22961, 3611, 5094, 13789, 355, 3199, 416, 198, 220, 220, 220, 262, 3232, 10442, 5693, 26, 2035, 2196, 362, 286, 262, 13789, 11, 393, 198, 220, 220, 220, 357, 265, 534, 3038, 8, 597, 1568, 2196, 13, 20, 628, 220, 220, 220, 770, 1430, 318, 9387, 287, 262, 2911, 326, 340, 481, 307, 4465, 11, 198, 220, 220, 220, 475, 42881, 15529, 34764, 56, 26, 1231, 772, 262, 17142, 18215, 286, 198, 220, 220, 220, 34482, 3398, 1565, 5603, 25382, 393, 376, 46144, 7473, 317, 16652, 2149, 37232, 33079, 48933, 13, 220, 4091, 262, 198, 220, 220, 220, 22961, 3611, 5094, 13789, 329, 517, 3307, 379, 25, 628, 220, 220, 220, 2638, 1378, 2503, 13, 41791, 13, 2398, 14, 677, 4541, 14, 70, 489, 13, 6494, 198, 198, 37811, 198, 198, 11748, 686, 2777, 88, 198, 11748, 686, 2777, 10025, 198, 11748, 2223, 8019, 198, 6738, 2223, 8019, 62, 907, 14542, 13, 19662, 1330, 1635, 198, 6738, 22939, 62, 907, 14542, 13, 19662, 1330, 37557, 11, 37557, 3152, 34, 709, 2743, 590, 1273, 13322, 11, 6252, 11, 2264, 9205, 295, 11, 44088, 198, 6738, 479, 9900, 62, 2022, 89, 1980, 62, 36747, 3540, 62, 17, 62, 907, 14542, 13, 19662, 1330, 8315, 26545, 12502, 11, 8315, 26545, 49045, 198, 6738, 48700, 13, 35636, 602, 1330, 627, 9205, 295, 62, 6738, 62, 68, 18173, 198, 6738, 32465, 1330, 1635, 198, 11748, 640, 198, 6738, 10688, 1330, 2511, 1547, 11, 31028, 628, 628, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 1949, 25, 198, 220, 220, 220, 285, 65, 89, 1980, 62, 66, 17, 62, 23736, 3419, 198, 220, 220, 220, 686, 2777, 88, 13, 39706, 3419, 198, 220, 2845, 686, 2777, 88, 13, 49, 2640, 9492, 3622, 16922, 25, 198, 220, 220, 220, 220, 686, 2777, 88, 13, 6404, 10951, 7203, 2022, 89, 1980, 62, 66, 17, 62, 23736, 5201, 19570, 198 ]
3.206349
441
#!/usr/bin/env python # encoding: utf-8 """ @description: //TODO @version: 1.0 @author: BaoQiang @license: Apache Licence @contact: [email protected] @site: http://www.github.com/githubao @software: PyCharm @file: answer.py @time: 2016/10/5 22:54 """ from .base import Base from .normal import normal_attr from .other import other_obj from .streaming import streaming from .generator import generator_of from utils import common_save from .urls import *
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 21004, 25, 3384, 69, 12, 23, 628, 198, 37811, 198, 31, 11213, 25, 3373, 51, 3727, 46, 220, 198, 198, 31, 9641, 25, 352, 13, 15, 198, 31, 9800, 25, 347, 5488, 48, 15483, 198, 31, 43085, 25, 24843, 10483, 594, 220, 198, 31, 32057, 25, 6920, 65, 5488, 80, 15483, 31, 14816, 13, 785, 198, 31, 15654, 25, 2638, 1378, 2503, 13, 12567, 13, 785, 14, 12567, 5488, 198, 31, 43776, 25, 9485, 1925, 1670, 198, 31, 7753, 25, 3280, 13, 9078, 198, 31, 2435, 25, 1584, 14, 940, 14, 20, 2534, 25, 4051, 198, 37811, 198, 198, 6738, 764, 8692, 1330, 7308, 198, 6738, 764, 11265, 1330, 3487, 62, 35226, 198, 6738, 764, 847, 1330, 584, 62, 26801, 198, 6738, 764, 5532, 278, 1330, 11305, 198, 6738, 764, 8612, 1352, 1330, 17301, 62, 1659, 198, 6738, 3384, 4487, 1330, 2219, 62, 21928, 198, 6738, 764, 6371, 82, 1330, 1635, 628 ]
2.876543
162
import cv2 import numpy as np
[ 11748, 269, 85, 17, 198, 11748, 299, 32152, 355, 45941 ]
2.9
10
from flask import Flask, redner_template app = Flask(__name__) @app.route('/') @app.route('/users/<string:username>') if __name__ == '__main__': app.run()
[ 6738, 42903, 1330, 46947, 11, 2266, 1008, 62, 28243, 198, 1324, 796, 46947, 7, 834, 3672, 834, 8, 628, 198, 31, 1324, 13, 38629, 10786, 14, 11537, 198, 198, 31, 1324, 13, 38629, 10786, 14, 18417, 14, 27, 8841, 25, 29460, 29, 11537, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 598, 13, 5143, 3419, 198 ]
2.546875
64
""" 48. Majority Number III """ # O(n) time # O(n) extra space class Solution: """ @param nums: A list of integers @param k: An integer @return: The majority number """
[ 37811, 198, 220, 220, 220, 4764, 13, 22171, 7913, 6711, 198, 37811, 198, 198, 2, 440, 7, 77, 8, 640, 198, 2, 440, 7, 77, 8, 3131, 2272, 198, 198, 4871, 28186, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 2488, 17143, 997, 82, 25, 317, 1351, 286, 37014, 198, 220, 220, 220, 2488, 17143, 479, 25, 1052, 18253, 198, 220, 220, 220, 2488, 7783, 25, 383, 3741, 1271, 198, 220, 220, 220, 37227, 198 ]
2.532468
77
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. # def create_profile(sender, **kwargs): # user = kwargs["instance"] # if kwargs["created"]: # user_profile = UserProfile(user=user, bio='my bio') # user_profile.save() # post_save.connect(create_profile, sender=User) @receiver(post_save, sender=User)
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 13, 12683, 874, 1330, 1281, 62, 21928, 198, 6738, 42625, 14208, 13, 6381, 17147, 1330, 9733, 198, 198, 2, 13610, 534, 4981, 994, 13, 628, 198, 198, 2, 825, 2251, 62, 13317, 7, 82, 2194, 11, 12429, 46265, 22046, 2599, 198, 2, 220, 220, 220, 220, 2836, 796, 479, 86, 22046, 14692, 39098, 8973, 198, 2, 220, 220, 220, 220, 611, 479, 86, 22046, 14692, 25598, 1, 5974, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 62, 13317, 796, 11787, 37046, 7, 7220, 28, 7220, 11, 13401, 11639, 1820, 13401, 11537, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2836, 62, 13317, 13, 21928, 3419, 628, 198, 2, 1281, 62, 21928, 13, 8443, 7, 17953, 62, 13317, 11, 29788, 28, 12982, 8, 628, 198, 31, 260, 39729, 7, 7353, 62, 21928, 11, 29788, 28, 12982, 8, 628 ]
2.752941
170
import os
[ 11748, 28686, 628, 198 ]
3
4
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ Fast tokenization class for LayoutLMv2. It overwrites 2 methods of the slow tokenizer class, namely _batch_encode_plus and _encode_plus, in which the Rust tokenizer is used. """ import json from typing import Dict, List, Optional, Tuple, Union from tokenizers import normalizers from ...file_utils import PaddingStrategy, TensorType, add_end_docstrings from ...tokenization_utils_base import ( ENCODE_KWARGS_DOCSTRING, BatchEncoding, EncodedInput, PreTokenizedInput, TextInput, TextInputPair, TruncationStrategy, ) from ...tokenization_utils_fast import PreTrainedTokenizerFast from ...utils import logging from .tokenization_layoutlmv2 import LAYOUTLMV2_ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING, LayoutLMv2Tokenizer logger = logging.get_logger(__name__) VOCAB_FILES_NAMES = {"vocab_file": "vocab.txt", "tokenizer_file": "tokenizer.json"} PRETRAINED_VOCAB_FILES_MAP = { "vocab_file": { "microsoft/layoutlmv2-base-uncased": "https://huggingface.co/microsoft/layoutlmv2-base-uncased/resolve/main/vocab.txt", }, "tokenizer_file": { "microsoft/layoutlmv2-base-uncased": "https://huggingface.co/microsoft/layoutlmv2-base-uncased/resolve/main/tokenizer.json", }, } PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES = { "microsoft/layoutlmv2-base-uncased": 512, } PRETRAINED_INIT_CONFIGURATION = { "microsoft/layoutlmv2-base-uncased": {"do_lower_case": True}, } class LayoutLMv2TokenizerFast(PreTrainedTokenizerFast): r""" Construct a "fast" LayoutLMv2 tokenizer (backed by HuggingFace's `tokenizers` library). Based on WordPiece. This tokenizer inherits from :class:`~transformers.PreTrainedTokenizerFast` which contains most of the main methods. Users should refer to this superclass for more information regarding those methods. Args: vocab_file (:obj:`str`): File containing the vocabulary. do_lower_case (:obj:`bool`, `optional`, defaults to :obj:`True`): Whether or not to lowercase the input when tokenizing. unk_token (:obj:`str`, `optional`, defaults to :obj:`"[UNK]"`): The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this token instead. sep_token (:obj:`str`, `optional`, defaults to :obj:`"[SEP]"`): The separator token, which is used when building a sequence from multiple sequences, e.g. two sequences for sequence classification or for a text and a question for question answering. It is also used as the last token of a sequence built with special tokens. pad_token (:obj:`str`, `optional`, defaults to :obj:`"[PAD]"`): The token used for padding, for example when batching sequences of different lengths. cls_token (:obj:`str`, `optional`, defaults to :obj:`"[CLS]"`): The classifier token which is used when doing sequence classification (classification of the whole sequence instead of per-token classification). It is the first token of the sequence when built with special tokens. mask_token (:obj:`str`, `optional`, defaults to :obj:`"[MASK]"`): The token used for masking values. This is the token used when training this model with masked language modeling. This is the token which the model will try to predict. cls_token_box (:obj:`List[int]`, `optional`, defaults to :obj:`[0, 0, 0, 0]`): The bounding box to use for the special [CLS] token. sep_token_box (:obj:`List[int]`, `optional`, defaults to :obj:`[1000, 1000, 1000, 1000]`): The bounding box to use for the special [SEP] token. pad_token_box (:obj:`List[int]`, `optional`, defaults to :obj:`[0, 0, 0, 0]`): The bounding box to use for the special [PAD] token. pad_token_label (:obj:`int`, `optional`, defaults to -100): The label to use for padding tokens. Defaults to -100, which is the :obj:`ignore_index` of PyTorch's CrossEntropyLoss. only_label_first_subword (:obj:`bool`, `optional`, defaults to :obj:`True`): Whether or not to only label the first subword, in case word labels are provided. tokenize_chinese_chars (:obj:`bool`, `optional`, defaults to :obj:`True`): Whether or not to tokenize Chinese characters. This should likely be deactivated for Japanese (see `this issue <https://github.com/huggingface/transformers/issues/328>`__). strip_accents: (:obj:`bool`, `optional`): Whether or not to strip all accents. If this option is not specified, then it will be determined by the value for :obj:`lowercase` (as in the original LayoutLMv2). """ vocab_files_names = VOCAB_FILES_NAMES pretrained_vocab_files_map = PRETRAINED_VOCAB_FILES_MAP pretrained_init_configuration = PRETRAINED_INIT_CONFIGURATION max_model_input_sizes = PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES slow_tokenizer_class = LayoutLMv2Tokenizer @add_end_docstrings(ENCODE_KWARGS_DOCSTRING, LAYOUTLMV2_ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING) def __call__( self, text: Union[TextInput, PreTokenizedInput, List[TextInput], List[PreTokenizedInput]], text_pair: Optional[Union[PreTokenizedInput, List[PreTokenizedInput]]] = None, boxes: Union[List[List[int]], List[List[List[int]]]] = None, word_labels: Optional[Union[List[int], List[List[int]]]] = None, add_special_tokens: bool = True, padding: Union[bool, str, PaddingStrategy] = False, truncation: Union[bool, str, TruncationStrategy] = False, max_length: Optional[int] = None, stride: int = 0, pad_to_multiple_of: Optional[int] = None, return_tensors: Optional[Union[str, TensorType]] = None, return_token_type_ids: Optional[bool] = None, return_attention_mask: Optional[bool] = None, return_overflowing_tokens: bool = False, return_special_tokens_mask: bool = False, return_offsets_mapping: bool = False, return_length: bool = False, verbose: bool = True, **kwargs ) -> BatchEncoding: """ Main method to tokenize and prepare for the model one or several sequence(s) or one or several pair(s) of sequences with word-level normalized bounding boxes and optional labels. Args: text (:obj:`str`, :obj:`List[str]`, :obj:`List[List[str]]`): The sequence or batch of sequences to be encoded. Each sequence can be a string, a list of strings (words of a single example or questions of a batch of examples) or a list of list of strings (batch of words). text_pair (:obj:`List[str]`, :obj:`List[List[str]]`): The sequence or batch of sequences to be encoded. Each sequence should be a list of strings (pretokenized string). boxes (:obj:`List[List[int]]`, :obj:`List[List[List[int]]]`): Word-level bounding boxes. Each bounding box should be normalized to be on a 0-1000 scale. word_labels (:obj:`List[int]`, :obj:`List[List[int]]`, `optional`): Word-level integer labels (for token classification tasks such as FUNSD, CORD). """ # Input type checking for clearer error if text_pair is not None: # in case text + text_pair are provided, text = questions, text_pair = words if not _is_valid_text_input(text): raise ValueError("text input must of type `str` (single example) or `List[str]` (batch of examples). ") if not isinstance(text_pair, (list, tuple)): raise ValueError( "Words must be of type `List[str]` (single pretokenized example), " "or `List[List[str]]` (batch of pretokenized examples)." ) else: # in case only text is provided => must be words if not isinstance(text, (list, tuple)): raise ValueError( "Words must be of type `List[str]` (single pretokenized example), " "or `List[List[str]]` (batch of pretokenized examples)." ) if text_pair is not None: is_batched = isinstance(text, (list, tuple)) else: is_batched = isinstance(text, (list, tuple)) and text and isinstance(text[0], (list, tuple)) words = text if text_pair is None else text_pair assert boxes is not None, "You must provide corresponding bounding boxes" if is_batched: assert len(words) == len(boxes), "You must provide words and boxes for an equal amount of examples" for words_example, boxes_example in zip(words, boxes): assert len(words_example) == len( boxes_example ), "You must provide as many words as there are bounding boxes" else: assert len(words) == len(boxes), "You must provide as many words as there are bounding boxes" if is_batched: if text_pair is not None and len(text) != len(text_pair): raise ValueError( f"batch length of `text`: {len(text)} does not match batch length of `text_pair`: {len(text_pair)}." ) batch_text_or_text_pairs = list(zip(text, text_pair)) if text_pair is not None else text is_pair = bool(text_pair is not None) return self.batch_encode_plus( batch_text_or_text_pairs=batch_text_or_text_pairs, is_pair=is_pair, boxes=boxes, word_labels=word_labels, add_special_tokens=add_special_tokens, padding=padding, truncation=truncation, max_length=max_length, stride=stride, pad_to_multiple_of=pad_to_multiple_of, return_tensors=return_tensors, return_token_type_ids=return_token_type_ids, return_attention_mask=return_attention_mask, return_overflowing_tokens=return_overflowing_tokens, return_special_tokens_mask=return_special_tokens_mask, return_offsets_mapping=return_offsets_mapping, return_length=return_length, verbose=verbose, **kwargs, ) else: return self.encode_plus( text=text, text_pair=text_pair, boxes=boxes, word_labels=word_labels, add_special_tokens=add_special_tokens, padding=padding, truncation=truncation, max_length=max_length, stride=stride, pad_to_multiple_of=pad_to_multiple_of, return_tensors=return_tensors, return_token_type_ids=return_token_type_ids, return_attention_mask=return_attention_mask, return_overflowing_tokens=return_overflowing_tokens, return_special_tokens_mask=return_special_tokens_mask, return_offsets_mapping=return_offsets_mapping, return_length=return_length, verbose=verbose, **kwargs, ) @add_end_docstrings(ENCODE_KWARGS_DOCSTRING, LAYOUTLMV2_ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING) def batch_encode_plus( self, batch_text_or_text_pairs: Union[ List[TextInput], List[TextInputPair], List[PreTokenizedInput], ], is_pair: bool = None, boxes: Optional[List[List[List[int]]]] = None, word_labels: Optional[Union[List[int], List[List[int]]]] = None, add_special_tokens: bool = True, padding: Union[bool, str, PaddingStrategy] = False, truncation: Union[bool, str, TruncationStrategy] = False, max_length: Optional[int] = None, stride: int = 0, pad_to_multiple_of: Optional[int] = None, return_tensors: Optional[Union[str, TensorType]] = None, return_token_type_ids: Optional[bool] = None, return_attention_mask: Optional[bool] = None, return_overflowing_tokens: bool = False, return_special_tokens_mask: bool = False, return_offsets_mapping: bool = False, return_length: bool = False, verbose: bool = True, **kwargs ) -> BatchEncoding: """ """ # Backward compatibility for 'truncation_strategy', 'pad_to_max_length' padding_strategy, truncation_strategy, max_length, kwargs = self._get_padding_truncation_strategies( padding=padding, truncation=truncation, max_length=max_length, pad_to_multiple_of=pad_to_multiple_of, verbose=verbose, **kwargs, ) return self._batch_encode_plus( batch_text_or_text_pairs=batch_text_or_text_pairs, is_pair=is_pair, boxes=boxes, word_labels=word_labels, add_special_tokens=add_special_tokens, padding_strategy=padding_strategy, truncation_strategy=truncation_strategy, max_length=max_length, stride=stride, pad_to_multiple_of=pad_to_multiple_of, return_tensors=return_tensors, return_token_type_ids=return_token_type_ids, return_attention_mask=return_attention_mask, return_overflowing_tokens=return_overflowing_tokens, return_special_tokens_mask=return_special_tokens_mask, return_offsets_mapping=return_offsets_mapping, return_length=return_length, verbose=verbose, **kwargs, ) @add_end_docstrings(ENCODE_KWARGS_DOCSTRING, LAYOUTLMV2_ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING) def encode_plus( self, text: Union[TextInput, PreTokenizedInput], text_pair: Optional[PreTokenizedInput] = None, boxes: Optional[List[List[int]]] = None, word_labels: Optional[List[int]] = None, add_special_tokens: bool = True, padding: Union[bool, str, PaddingStrategy] = False, truncation: Union[bool, str, TruncationStrategy] = False, max_length: Optional[int] = None, stride: int = 0, pad_to_multiple_of: Optional[int] = None, return_tensors: Optional[Union[str, TensorType]] = None, return_token_type_ids: Optional[bool] = None, return_attention_mask: Optional[bool] = None, return_overflowing_tokens: bool = False, return_special_tokens_mask: bool = False, return_offsets_mapping: bool = False, return_length: bool = False, verbose: bool = True, **kwargs ) -> BatchEncoding: """ Tokenize and prepare for the model a sequence or a pair of sequences. .. warning:: This method is deprecated, ``__call__`` should be used instead. Args: text (:obj:`str`, :obj:`List[str]`, :obj:`List[List[str]]`): The first sequence to be encoded. This can be a string, a list of strings or a list of list of strings. text_pair (:obj:`List[str]` or :obj:`List[int]`, `optional`): Optional second sequence to be encoded. This can be a list of strings (words of a single example) or a list of list of strings (words of a batch of examples). """ # Backward compatibility for 'truncation_strategy', 'pad_to_max_length' padding_strategy, truncation_strategy, max_length, kwargs = self._get_padding_truncation_strategies( padding=padding, truncation=truncation, max_length=max_length, pad_to_multiple_of=pad_to_multiple_of, verbose=verbose, **kwargs, ) return self._encode_plus( text=text, boxes=boxes, text_pair=text_pair, word_labels=word_labels, add_special_tokens=add_special_tokens, padding_strategy=padding_strategy, truncation_strategy=truncation_strategy, max_length=max_length, stride=stride, pad_to_multiple_of=pad_to_multiple_of, return_tensors=return_tensors, return_token_type_ids=return_token_type_ids, return_attention_mask=return_attention_mask, return_overflowing_tokens=return_overflowing_tokens, return_special_tokens_mask=return_special_tokens_mask, return_offsets_mapping=return_offsets_mapping, return_length=return_length, verbose=verbose, **kwargs, ) def _pad( self, encoded_inputs: Union[Dict[str, EncodedInput], BatchEncoding], max_length: Optional[int] = None, padding_strategy: PaddingStrategy = PaddingStrategy.DO_NOT_PAD, pad_to_multiple_of: Optional[int] = None, return_attention_mask: Optional[bool] = None, ) -> dict: """ Pad encoded inputs (on left/right and up to predefined length or max length in the batch) Args: encoded_inputs: Dictionary of tokenized inputs (`List[int]`) or batch of tokenized inputs (`List[List[int]]`). max_length: maximum length of the returned list and optionally padding length (see below). Will truncate by taking into account the special tokens. padding_strategy: PaddingStrategy to use for padding. - PaddingStrategy.LONGEST Pad to the longest sequence in the batch - PaddingStrategy.MAX_LENGTH: Pad to the max length (default) - PaddingStrategy.DO_NOT_PAD: Do not pad The tokenizer padding sides are defined in self.padding_side: - 'left': pads on the left of the sequences - 'right': pads on the right of the sequences pad_to_multiple_of: (optional) Integer if set will pad the sequence to a multiple of the provided value. This is especially useful to enable the use of Tensor Core on NVIDIA hardware with compute capability >= 7.5 (Volta). return_attention_mask: (optional) Set to False to avoid returning attention mask (default: set to model specifics) """ # Load from model defaults if return_attention_mask is None: return_attention_mask = "attention_mask" in self.model_input_names required_input = encoded_inputs[self.model_input_names[0]] if padding_strategy == PaddingStrategy.LONGEST: max_length = len(required_input) if max_length is not None and pad_to_multiple_of is not None and (max_length % pad_to_multiple_of != 0): max_length = ((max_length // pad_to_multiple_of) + 1) * pad_to_multiple_of needs_to_be_padded = padding_strategy != PaddingStrategy.DO_NOT_PAD and len(required_input) != max_length # Initialize attention mask if not present. if return_attention_mask and "attention_mask" not in encoded_inputs: encoded_inputs["attention_mask"] = [1] * len(required_input) if needs_to_be_padded: difference = max_length - len(required_input) if self.padding_side == "right": if return_attention_mask: encoded_inputs["attention_mask"] = encoded_inputs["attention_mask"] + [0] * difference if "token_type_ids" in encoded_inputs: encoded_inputs["token_type_ids"] = ( encoded_inputs["token_type_ids"] + [self.pad_token_type_id] * difference ) if "bbox" in encoded_inputs: encoded_inputs["bbox"] = encoded_inputs["bbox"] + [self.pad_token_box] * difference if "labels" in encoded_inputs: encoded_inputs["labels"] = encoded_inputs["labels"] + [self.pad_token_label] * difference if "special_tokens_mask" in encoded_inputs: encoded_inputs["special_tokens_mask"] = encoded_inputs["special_tokens_mask"] + [1] * difference encoded_inputs[self.model_input_names[0]] = required_input + [self.pad_token_id] * difference elif self.padding_side == "left": if return_attention_mask: encoded_inputs["attention_mask"] = [0] * difference + encoded_inputs["attention_mask"] if "token_type_ids" in encoded_inputs: encoded_inputs["token_type_ids"] = [self.pad_token_type_id] * difference + encoded_inputs[ "token_type_ids" ] if "bbox" in encoded_inputs: encoded_inputs["bbox"] = [self.pad_token_box] * difference + encoded_inputs["bbox"] if "labels" in encoded_inputs: encoded_inputs["labels"] = [self.pad_token_label] * difference + encoded_inputs["bbox"] if "special_tokens_mask" in encoded_inputs: encoded_inputs["special_tokens_mask"] = [1] * difference + encoded_inputs["special_tokens_mask"] encoded_inputs[self.model_input_names[0]] = [self.pad_token_id] * difference + required_input else: raise ValueError("Invalid padding strategy:" + str(self.padding_side)) return encoded_inputs def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None): """ Build model inputs from a sequence or a pair of sequence for sequence classification tasks by concatenating and adding special tokens. A BERT sequence has the following format: - single sequence: ``[CLS] X [SEP]`` - pair of sequences: ``[CLS] A [SEP] B [SEP]`` Args: token_ids_0 (:obj:`List[int]`): List of IDs to which the special tokens will be added. token_ids_1 (:obj:`List[int]`, `optional`): Optional second list of IDs for sequence pairs. Returns: :obj:`List[int]`: List of `input IDs <../glossary.html#input-ids>`__ with the appropriate special tokens. """ output = [self.cls_token_id] + token_ids_0 + [self.sep_token_id] if token_ids_1: output += token_ids_1 + [self.sep_token_id] return output def create_token_type_ids_from_sequences( self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None ) -> List[int]: """ Create a mask from the two sequences passed to be used in a sequence-pair classification task. A BERT sequence pair mask has the following format: :: 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 | first sequence | second sequence | If :obj:`token_ids_1` is :obj:`None`, this method only returns the first portion of the mask (0s). Args: token_ids_0 (:obj:`List[int]`): List of IDs. token_ids_1 (:obj:`List[int]`, `optional`): Optional second list of IDs for sequence pairs. Returns: :obj:`List[int]`: List of `token type IDs <../glossary.html#token-type-ids>`_ according to the given sequence(s). """ sep = [self.sep_token_id] cls = [self.cls_token_id] if token_ids_1 is None: return len(cls + token_ids_0 + sep) * [0] return len(cls + token_ids_0 + sep) * [0] + len(token_ids_1 + sep) * [1]
[ 2, 19617, 28, 40477, 12, 23, 198, 2, 15069, 33448, 383, 12905, 2667, 32388, 3457, 13, 1074, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13789, 13, 198, 2, 921, 743, 7330, 257, 4866, 286, 262, 13789, 379, 198, 2, 198, 2, 220, 220, 220, 220, 2638, 1378, 2503, 13, 43073, 13, 2398, 14, 677, 4541, 14, 43, 2149, 24290, 12, 17, 13, 15, 198, 2, 198, 2, 17486, 2672, 416, 9723, 1099, 393, 4987, 284, 287, 3597, 11, 3788, 198, 2, 9387, 739, 262, 13789, 318, 9387, 319, 281, 366, 1921, 3180, 1, 29809, 1797, 11, 198, 2, 42881, 34764, 11015, 6375, 7102, 49828, 11053, 3963, 15529, 509, 12115, 11, 2035, 4911, 393, 17142, 13, 198, 2, 4091, 262, 13789, 329, 262, 2176, 3303, 15030, 21627, 290, 198, 2, 11247, 739, 262, 13789, 13, 198, 37811, 198, 22968, 11241, 1634, 1398, 329, 47639, 31288, 85, 17, 13, 632, 6993, 23156, 362, 5050, 286, 262, 3105, 11241, 7509, 1398, 11, 14811, 4808, 43501, 62, 268, 8189, 62, 9541, 198, 392, 4808, 268, 8189, 62, 9541, 11, 287, 543, 262, 17103, 11241, 7509, 318, 973, 13, 198, 37811, 198, 198, 11748, 33918, 198, 6738, 19720, 1330, 360, 713, 11, 7343, 11, 32233, 11, 309, 29291, 11, 4479, 198, 198, 6738, 11241, 11341, 1330, 3487, 11341, 198, 198, 6738, 2644, 7753, 62, 26791, 1330, 350, 26872, 13290, 4338, 11, 309, 22854, 6030, 11, 751, 62, 437, 62, 15390, 37336, 198, 6738, 2644, 30001, 1634, 62, 26791, 62, 8692, 1330, 357, 198, 220, 220, 220, 412, 7792, 16820, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 11, 198, 220, 220, 220, 347, 963, 27195, 7656, 11, 198, 220, 220, 220, 14711, 9043, 20560, 11, 198, 220, 220, 220, 3771, 30642, 1143, 20560, 11, 198, 220, 220, 220, 8255, 20560, 11, 198, 220, 220, 220, 8255, 20560, 47, 958, 11, 198, 220, 220, 220, 833, 19524, 341, 13290, 4338, 11, 198, 8, 198, 6738, 2644, 30001, 1634, 62, 26791, 62, 7217, 1330, 3771, 2898, 1328, 30642, 7509, 22968, 198, 6738, 2644, 26791, 1330, 18931, 198, 6738, 764, 30001, 1634, 62, 39786, 75, 76, 85, 17, 1330, 406, 4792, 12425, 31288, 53, 17, 62, 24181, 16820, 62, 6489, 2937, 62, 29266, 17941, 1847, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 11, 47639, 31288, 85, 17, 30642, 7509, 628, 198, 6404, 1362, 796, 18931, 13, 1136, 62, 6404, 1362, 7, 834, 3672, 834, 8, 198, 198, 53, 4503, 6242, 62, 46700, 1546, 62, 45, 29559, 796, 19779, 18893, 397, 62, 7753, 1298, 366, 18893, 397, 13, 14116, 1600, 366, 30001, 7509, 62, 7753, 1298, 366, 30001, 7509, 13, 17752, 20662, 198, 198, 47, 26087, 3861, 1268, 1961, 62, 53, 4503, 6242, 62, 46700, 1546, 62, 33767, 796, 1391, 198, 220, 220, 220, 366, 18893, 397, 62, 7753, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 1298, 366, 5450, 1378, 71, 1018, 2667, 2550, 13, 1073, 14, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 14, 411, 6442, 14, 12417, 14, 18893, 397, 13, 14116, 1600, 198, 220, 220, 220, 8964, 198, 220, 220, 220, 366, 30001, 7509, 62, 7753, 1298, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 366, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 1298, 366, 5450, 1378, 71, 1018, 2667, 2550, 13, 1073, 14, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 14, 411, 6442, 14, 12417, 14, 30001, 7509, 13, 17752, 1600, 198, 220, 220, 220, 8964, 198, 92, 198, 198, 47, 26087, 3861, 1268, 1961, 62, 37997, 17941, 1847, 62, 3620, 33, 1961, 35, 20754, 62, 11584, 57, 1546, 796, 1391, 198, 220, 220, 220, 366, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 1298, 22243, 11, 198, 92, 198, 198, 47, 26087, 3861, 1268, 1961, 62, 1268, 2043, 62, 10943, 16254, 4261, 6234, 796, 1391, 198, 220, 220, 220, 366, 40485, 14, 39786, 75, 76, 85, 17, 12, 8692, 12, 19524, 839, 1298, 19779, 4598, 62, 21037, 62, 7442, 1298, 6407, 5512, 198, 92, 628, 198, 4871, 47639, 31288, 85, 17, 30642, 7509, 22968, 7, 6719, 2898, 1328, 30642, 7509, 22968, 2599, 198, 220, 220, 220, 374, 37811, 198, 220, 220, 220, 28407, 257, 366, 7217, 1, 47639, 31288, 85, 17, 11241, 7509, 357, 17078, 416, 12905, 2667, 32388, 338, 4600, 30001, 11341, 63, 5888, 737, 13403, 319, 9678, 47, 8535, 13, 628, 220, 220, 220, 770, 11241, 7509, 10639, 896, 422, 1058, 4871, 25, 63, 93, 35636, 364, 13, 6719, 2898, 1328, 30642, 7509, 22968, 63, 543, 4909, 749, 286, 262, 1388, 198, 220, 220, 220, 5050, 13, 18987, 815, 3522, 284, 428, 2208, 4871, 329, 517, 1321, 5115, 883, 5050, 13, 628, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 12776, 397, 62, 7753, 357, 25, 26801, 25, 63, 2536, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9220, 7268, 262, 25818, 13, 198, 220, 220, 220, 220, 220, 220, 220, 466, 62, 21037, 62, 7442, 357, 25, 26801, 25, 63, 30388, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17821, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 2793, 7442, 262, 5128, 618, 11241, 2890, 13, 198, 220, 220, 220, 220, 220, 220, 220, 555, 74, 62, 30001, 357, 25, 26801, 25, 63, 2536, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17912, 4944, 42, 30866, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 6439, 11241, 13, 317, 11241, 326, 318, 407, 287, 262, 25818, 2314, 307, 11513, 284, 281, 4522, 290, 318, 900, 284, 307, 428, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 2427, 13, 198, 220, 220, 220, 220, 220, 220, 220, 41767, 62, 30001, 357, 25, 26801, 25, 63, 2536, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17912, 5188, 47, 30866, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 2880, 1352, 11241, 11, 543, 318, 973, 618, 2615, 257, 8379, 422, 3294, 16311, 11, 304, 13, 70, 13, 734, 16311, 329, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8379, 17923, 393, 329, 257, 2420, 290, 257, 1808, 329, 1808, 18877, 13, 632, 318, 635, 973, 355, 262, 938, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 286, 257, 8379, 3170, 351, 2041, 16326, 13, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 30001, 357, 25, 26801, 25, 63, 2536, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17912, 47, 2885, 30866, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 11241, 973, 329, 24511, 11, 329, 1672, 618, 15458, 278, 16311, 286, 1180, 20428, 13, 198, 220, 220, 220, 220, 220, 220, 220, 537, 82, 62, 30001, 357, 25, 26801, 25, 63, 2536, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17912, 5097, 50, 30866, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 1398, 7483, 11241, 543, 318, 973, 618, 1804, 8379, 17923, 357, 4871, 2649, 286, 262, 2187, 8379, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2427, 286, 583, 12, 30001, 17923, 737, 632, 318, 262, 717, 11241, 286, 262, 8379, 618, 3170, 351, 2041, 16326, 13, 198, 220, 220, 220, 220, 220, 220, 220, 9335, 62, 30001, 357, 25, 26801, 25, 63, 2536, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17912, 31180, 42, 30866, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 11241, 973, 329, 9335, 278, 3815, 13, 770, 318, 262, 11241, 973, 618, 3047, 428, 2746, 351, 29229, 3303, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21128, 13, 770, 318, 262, 11241, 543, 262, 2746, 481, 1949, 284, 4331, 13, 198, 220, 220, 220, 220, 220, 220, 220, 537, 82, 62, 30001, 62, 3524, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 58, 15, 11, 657, 11, 657, 11, 657, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 5421, 278, 3091, 284, 779, 329, 262, 2041, 685, 5097, 50, 60, 11241, 13, 198, 220, 220, 220, 220, 220, 220, 220, 41767, 62, 30001, 62, 3524, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 58, 12825, 11, 8576, 11, 8576, 11, 8576, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 5421, 278, 3091, 284, 779, 329, 262, 2041, 685, 5188, 47, 60, 11241, 13, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 30001, 62, 3524, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 58, 15, 11, 657, 11, 657, 11, 657, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 5421, 278, 3091, 284, 779, 329, 262, 2041, 685, 47, 2885, 60, 11241, 13, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 30001, 62, 18242, 357, 25, 26801, 25, 63, 600, 47671, 4600, 25968, 47671, 26235, 284, 532, 3064, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 6167, 284, 779, 329, 24511, 16326, 13, 2896, 13185, 284, 532, 3064, 11, 543, 318, 262, 1058, 26801, 25, 63, 46430, 62, 9630, 63, 286, 9485, 15884, 354, 338, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6372, 14539, 28338, 43, 793, 13, 198, 220, 220, 220, 220, 220, 220, 220, 691, 62, 18242, 62, 11085, 62, 7266, 4775, 357, 25, 26801, 25, 63, 30388, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17821, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 691, 6167, 262, 717, 850, 4775, 11, 287, 1339, 1573, 14722, 389, 2810, 13, 198, 220, 220, 220, 220, 220, 220, 220, 11241, 1096, 62, 354, 3762, 62, 354, 945, 357, 25, 26801, 25, 63, 30388, 47671, 4600, 25968, 47671, 26235, 284, 1058, 26801, 25, 63, 17821, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 11241, 1096, 3999, 3435, 13, 770, 815, 1884, 307, 390, 33106, 329, 4960, 357, 3826, 4600, 5661, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2071, 1279, 5450, 1378, 12567, 13, 785, 14, 71, 1018, 2667, 2550, 14, 35636, 364, 14, 37165, 14, 34256, 29, 63, 834, 737, 198, 220, 220, 220, 220, 220, 220, 220, 10283, 62, 4134, 658, 25, 357, 25, 26801, 25, 63, 30388, 47671, 4600, 25968, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10127, 393, 407, 284, 10283, 477, 39271, 13, 1002, 428, 3038, 318, 407, 7368, 11, 788, 340, 481, 307, 5295, 416, 262, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 329, 1058, 26801, 25, 63, 21037, 7442, 63, 357, 292, 287, 262, 2656, 47639, 31288, 85, 17, 737, 198, 220, 220, 220, 37227, 628, 220, 220, 220, 12776, 397, 62, 16624, 62, 14933, 796, 569, 4503, 6242, 62, 46700, 1546, 62, 45, 29559, 198, 220, 220, 220, 2181, 13363, 62, 18893, 397, 62, 16624, 62, 8899, 796, 22814, 51, 3861, 1268, 1961, 62, 53, 4503, 6242, 62, 46700, 1546, 62, 33767, 198, 220, 220, 220, 2181, 13363, 62, 15003, 62, 11250, 3924, 796, 22814, 51, 3861, 1268, 1961, 62, 1268, 2043, 62, 10943, 16254, 4261, 6234, 198, 220, 220, 220, 3509, 62, 19849, 62, 15414, 62, 82, 4340, 796, 22814, 51, 3861, 1268, 1961, 62, 37997, 17941, 1847, 62, 3620, 33, 1961, 35, 20754, 62, 11584, 57, 1546, 198, 220, 220, 220, 3105, 62, 30001, 7509, 62, 4871, 796, 47639, 31288, 85, 17, 30642, 7509, 628, 220, 220, 220, 2488, 2860, 62, 437, 62, 15390, 37336, 7, 24181, 16820, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 11, 406, 4792, 12425, 31288, 53, 17, 62, 24181, 16820, 62, 6489, 2937, 62, 29266, 17941, 1847, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 8, 198, 220, 220, 220, 825, 11593, 13345, 834, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 25, 4479, 58, 8206, 20560, 11, 3771, 30642, 1143, 20560, 11, 7343, 58, 8206, 20560, 4357, 7343, 58, 6719, 30642, 1143, 20560, 60, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 25, 32233, 58, 38176, 58, 6719, 30642, 1143, 20560, 11, 7343, 58, 6719, 30642, 1143, 20560, 11907, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 10559, 25, 4479, 58, 8053, 58, 8053, 58, 600, 60, 4357, 7343, 58, 8053, 58, 8053, 58, 600, 11907, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 25, 32233, 58, 38176, 58, 8053, 58, 600, 4357, 7343, 58, 8053, 58, 600, 11907, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 25, 4479, 58, 30388, 11, 965, 11, 350, 26872, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 25, 4479, 58, 30388, 11, 965, 11, 833, 19524, 341, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 33769, 25, 493, 796, 657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 25, 32233, 58, 38176, 58, 2536, 11, 309, 22854, 6030, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 198, 220, 220, 220, 1267, 4613, 347, 963, 27195, 7656, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 8774, 2446, 284, 11241, 1096, 290, 8335, 329, 262, 2746, 530, 393, 1811, 8379, 7, 82, 8, 393, 530, 393, 1811, 5166, 7, 82, 8, 286, 198, 220, 220, 220, 220, 220, 220, 220, 16311, 351, 1573, 12, 5715, 39279, 5421, 278, 10559, 290, 11902, 14722, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 357, 25, 26801, 25, 63, 2536, 47671, 1058, 26801, 25, 63, 8053, 58, 2536, 60, 47671, 1058, 26801, 25, 63, 8053, 58, 8053, 58, 2536, 11907, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 8379, 393, 15458, 286, 16311, 284, 307, 30240, 13, 5501, 8379, 460, 307, 257, 4731, 11, 257, 1351, 286, 13042, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 10879, 286, 257, 2060, 1672, 393, 2683, 286, 257, 15458, 286, 6096, 8, 393, 257, 1351, 286, 1351, 286, 13042, 357, 43501, 286, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2456, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 357, 25, 26801, 25, 63, 8053, 58, 2536, 60, 47671, 1058, 26801, 25, 63, 8053, 58, 8053, 58, 2536, 11907, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 8379, 393, 15458, 286, 16311, 284, 307, 30240, 13, 5501, 8379, 815, 307, 257, 1351, 286, 13042, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 5310, 4233, 1143, 4731, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 357, 25, 26801, 25, 63, 8053, 58, 8053, 58, 600, 11907, 47671, 1058, 26801, 25, 63, 8053, 58, 8053, 58, 8053, 58, 600, 11907, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9678, 12, 5715, 5421, 278, 10559, 13, 5501, 5421, 278, 3091, 815, 307, 39279, 284, 307, 319, 257, 657, 12, 12825, 5046, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 1058, 26801, 25, 63, 8053, 58, 8053, 58, 600, 11907, 47671, 4600, 25968, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9678, 12, 5715, 18253, 14722, 357, 1640, 11241, 17923, 8861, 884, 355, 29397, 10305, 11, 327, 12532, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 23412, 2099, 10627, 329, 22363, 4049, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 24874, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 287, 1339, 2420, 1343, 2420, 62, 24874, 389, 2810, 11, 2420, 796, 2683, 11, 2420, 62, 24874, 796, 2456, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 4808, 271, 62, 12102, 62, 5239, 62, 15414, 7, 5239, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 5239, 5128, 1276, 286, 2099, 4600, 2536, 63, 357, 29762, 1672, 8, 393, 4600, 8053, 58, 2536, 60, 63, 357, 43501, 286, 6096, 737, 366, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 5239, 62, 24874, 11, 357, 4868, 11, 46545, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 37117, 1276, 307, 286, 2099, 4600, 8053, 58, 2536, 60, 63, 357, 29762, 2181, 4233, 1143, 1672, 828, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 273, 4600, 8053, 58, 8053, 58, 2536, 11907, 63, 357, 43501, 286, 2181, 4233, 1143, 6096, 21387, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1303, 287, 1339, 691, 2420, 318, 2810, 5218, 1276, 307, 2456, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 407, 318, 39098, 7, 5239, 11, 357, 4868, 11, 46545, 8, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 37117, 1276, 307, 286, 2099, 4600, 8053, 58, 2536, 60, 63, 357, 29762, 2181, 4233, 1143, 1672, 828, 366, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 273, 4600, 8053, 58, 8053, 58, 2536, 11907, 63, 357, 43501, 286, 2181, 4233, 1143, 6096, 21387, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 24874, 318, 407, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 8664, 1740, 796, 318, 39098, 7, 5239, 11, 357, 4868, 11, 46545, 4008, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 8664, 1740, 796, 318, 39098, 7, 5239, 11, 357, 4868, 11, 46545, 4008, 290, 2420, 290, 318, 39098, 7, 5239, 58, 15, 4357, 357, 4868, 11, 46545, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 2456, 796, 2420, 611, 2420, 62, 24874, 318, 6045, 2073, 2420, 62, 24874, 198, 220, 220, 220, 220, 220, 220, 220, 6818, 10559, 318, 407, 6045, 11, 366, 1639, 1276, 2148, 11188, 5421, 278, 10559, 1, 198, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 8664, 1740, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 18896, 7, 10879, 8, 6624, 18896, 7, 29305, 828, 366, 1639, 1276, 2148, 2456, 290, 10559, 329, 281, 4961, 2033, 286, 6096, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 329, 2456, 62, 20688, 11, 10559, 62, 20688, 287, 19974, 7, 10879, 11, 10559, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 18896, 7, 10879, 62, 20688, 8, 6624, 18896, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 62, 20688, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10612, 366, 1639, 1276, 2148, 355, 867, 2456, 355, 612, 389, 5421, 278, 10559, 1, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6818, 18896, 7, 10879, 8, 6624, 18896, 7, 29305, 828, 366, 1639, 1276, 2148, 355, 867, 2456, 355, 612, 389, 5421, 278, 10559, 1, 628, 220, 220, 220, 220, 220, 220, 220, 611, 318, 62, 8664, 1740, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2420, 62, 24874, 318, 407, 6045, 290, 18896, 7, 5239, 8, 14512, 18896, 7, 5239, 62, 24874, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 277, 1, 43501, 4129, 286, 4600, 5239, 63, 25, 1391, 11925, 7, 5239, 38165, 857, 407, 2872, 15458, 4129, 286, 4600, 5239, 62, 24874, 63, 25, 1391, 11925, 7, 5239, 62, 24874, 38165, 526, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15458, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 796, 1351, 7, 13344, 7, 5239, 11, 2420, 62, 24874, 4008, 611, 2420, 62, 24874, 318, 407, 6045, 2073, 2420, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 24874, 796, 20512, 7, 5239, 62, 24874, 318, 407, 6045, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 43501, 62, 268, 8189, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15458, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 28, 43501, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 24874, 28, 271, 62, 24874, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 28, 29305, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 28, 4775, 62, 23912, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 28, 2860, 62, 20887, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 28, 2213, 19524, 341, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33769, 28, 2536, 485, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 28, 7783, 62, 83, 641, 669, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 28, 7783, 62, 30001, 62, 4906, 62, 2340, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 28, 7783, 62, 1078, 1463, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 28, 7783, 62, 2502, 2704, 7855, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 28, 7783, 62, 20887, 62, 83, 482, 641, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 28, 7783, 62, 8210, 1039, 62, 76, 5912, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 28, 7783, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13, 268, 8189, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 5239, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 28, 5239, 62, 24874, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 28, 29305, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 28, 4775, 62, 23912, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 28, 2860, 62, 20887, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 28, 2213, 19524, 341, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33769, 28, 2536, 485, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 28, 7783, 62, 83, 641, 669, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 28, 7783, 62, 30001, 62, 4906, 62, 2340, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 28, 7783, 62, 1078, 1463, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 28, 7783, 62, 2502, 2704, 7855, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 28, 7783, 62, 20887, 62, 83, 482, 641, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 28, 7783, 62, 8210, 1039, 62, 76, 5912, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 28, 7783, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 2488, 2860, 62, 437, 62, 15390, 37336, 7, 24181, 16820, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 11, 406, 4792, 12425, 31288, 53, 17, 62, 24181, 16820, 62, 6489, 2937, 62, 29266, 17941, 1847, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 8, 198, 220, 220, 220, 825, 15458, 62, 268, 8189, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 15458, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 25, 4479, 58, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 58, 8206, 20560, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 58, 8206, 20560, 47, 958, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 58, 6719, 30642, 1143, 20560, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 16589, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 24874, 25, 20512, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 10559, 25, 32233, 58, 8053, 58, 8053, 58, 8053, 58, 600, 11907, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 25, 32233, 58, 38176, 58, 8053, 58, 600, 4357, 7343, 58, 8053, 58, 600, 11907, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 25, 4479, 58, 30388, 11, 965, 11, 350, 26872, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 25, 4479, 58, 30388, 11, 965, 11, 833, 19524, 341, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 33769, 25, 493, 796, 657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 25, 32233, 58, 38176, 58, 2536, 11, 309, 22854, 6030, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 198, 220, 220, 220, 1267, 4613, 347, 963, 27195, 7656, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5157, 904, 17764, 329, 705, 2213, 19524, 341, 62, 2536, 4338, 3256, 705, 15636, 62, 1462, 62, 9806, 62, 13664, 6, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 11, 40122, 341, 62, 2536, 4338, 11, 3509, 62, 13664, 11, 479, 86, 22046, 796, 2116, 13557, 1136, 62, 39231, 62, 2213, 19524, 341, 62, 2536, 2397, 444, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 28, 2213, 19524, 341, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 43501, 62, 268, 8189, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15458, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 28, 43501, 62, 5239, 62, 273, 62, 5239, 62, 79, 3468, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 24874, 28, 271, 62, 24874, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 28, 29305, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 28, 4775, 62, 23912, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 28, 2860, 62, 20887, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 28, 39231, 62, 2536, 4338, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 62, 2536, 4338, 28, 2213, 19524, 341, 62, 2536, 4338, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33769, 28, 2536, 485, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 28, 7783, 62, 83, 641, 669, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 28, 7783, 62, 30001, 62, 4906, 62, 2340, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 28, 7783, 62, 1078, 1463, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 28, 7783, 62, 2502, 2704, 7855, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 28, 7783, 62, 20887, 62, 83, 482, 641, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 28, 7783, 62, 8210, 1039, 62, 76, 5912, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 28, 7783, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 2488, 2860, 62, 437, 62, 15390, 37336, 7, 24181, 16820, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 11, 406, 4792, 12425, 31288, 53, 17, 62, 24181, 16820, 62, 6489, 2937, 62, 29266, 17941, 1847, 62, 42, 16279, 14313, 62, 38715, 18601, 2751, 8, 198, 220, 220, 220, 825, 37773, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 25, 4479, 58, 8206, 20560, 11, 3771, 30642, 1143, 20560, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 25, 32233, 58, 6719, 30642, 1143, 20560, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 10559, 25, 32233, 58, 8053, 58, 8053, 58, 600, 11907, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 25, 32233, 58, 8053, 58, 600, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 25, 4479, 58, 30388, 11, 965, 11, 350, 26872, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 25, 4479, 58, 30388, 11, 965, 11, 833, 19524, 341, 13290, 4338, 60, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 33769, 25, 493, 796, 657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 25, 32233, 58, 38176, 58, 2536, 11, 309, 22854, 6030, 11907, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 25, 20512, 796, 10352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 25, 20512, 796, 6407, 11, 198, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 198, 220, 220, 220, 1267, 4613, 347, 963, 27195, 7656, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 29130, 1096, 290, 8335, 329, 262, 2746, 257, 8379, 393, 257, 5166, 286, 16311, 13, 11485, 6509, 3712, 770, 2446, 318, 39224, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7559, 834, 13345, 834, 15506, 815, 307, 973, 2427, 13, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 357, 25, 26801, 25, 63, 2536, 47671, 1058, 26801, 25, 63, 8053, 58, 2536, 60, 47671, 1058, 26801, 25, 63, 8053, 58, 8053, 58, 2536, 11907, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 717, 8379, 284, 307, 30240, 13, 770, 460, 307, 257, 4731, 11, 257, 1351, 286, 13042, 393, 257, 1351, 286, 1351, 286, 13042, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 357, 25, 26801, 25, 63, 8053, 58, 2536, 60, 63, 393, 1058, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32233, 1218, 8379, 284, 307, 30240, 13, 770, 460, 307, 257, 1351, 286, 13042, 357, 10879, 286, 257, 2060, 1672, 8, 393, 257, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1351, 286, 1351, 286, 13042, 357, 10879, 286, 257, 15458, 286, 6096, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 5157, 904, 17764, 329, 705, 2213, 19524, 341, 62, 2536, 4338, 3256, 705, 15636, 62, 1462, 62, 9806, 62, 13664, 6, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 11, 40122, 341, 62, 2536, 4338, 11, 3509, 62, 13664, 11, 479, 86, 22046, 796, 2116, 13557, 1136, 62, 39231, 62, 2213, 19524, 341, 62, 2536, 2397, 444, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 28, 39231, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 28, 2213, 19524, 341, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 2116, 13557, 268, 8189, 62, 9541, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 28, 5239, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10559, 28, 29305, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 62, 24874, 28, 5239, 62, 24874, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1573, 62, 23912, 1424, 28, 4775, 62, 23912, 1424, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 751, 62, 20887, 62, 83, 482, 641, 28, 2860, 62, 20887, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 28, 39231, 62, 2536, 4338, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 40122, 341, 62, 2536, 4338, 28, 2213, 19524, 341, 62, 2536, 4338, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 28, 9806, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33769, 28, 2536, 485, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 28, 15636, 62, 1462, 62, 48101, 62, 1659, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 83, 641, 669, 28, 7783, 62, 83, 641, 669, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 30001, 62, 4906, 62, 2340, 28, 7783, 62, 30001, 62, 4906, 62, 2340, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 28, 7783, 62, 1078, 1463, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 2502, 2704, 7855, 62, 83, 482, 641, 28, 7783, 62, 2502, 2704, 7855, 62, 83, 482, 641, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 20887, 62, 83, 482, 641, 62, 27932, 28, 7783, 62, 20887, 62, 83, 482, 641, 62, 27932, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8210, 1039, 62, 76, 5912, 28, 7783, 62, 8210, 1039, 62, 76, 5912, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 13664, 28, 7783, 62, 13664, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 15942, 577, 28, 19011, 577, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 12429, 46265, 22046, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1267, 628, 220, 220, 220, 825, 4808, 15636, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 198, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 25, 4479, 58, 35, 713, 58, 2536, 11, 14711, 9043, 20560, 4357, 347, 963, 27195, 7656, 4357, 198, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 25, 350, 26872, 13290, 4338, 796, 350, 26872, 13290, 4338, 13, 18227, 62, 11929, 62, 47, 2885, 11, 198, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 25, 32233, 58, 600, 60, 796, 6045, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 25, 32233, 58, 30388, 60, 796, 6045, 11, 198, 220, 220, 220, 1267, 4613, 8633, 25, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 15744, 30240, 17311, 357, 261, 1364, 14, 3506, 290, 510, 284, 2747, 18156, 4129, 393, 3509, 4129, 287, 262, 15458, 8, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 25, 28261, 286, 11241, 1143, 17311, 357, 63, 8053, 58, 600, 60, 63, 8, 393, 15458, 286, 11241, 1143, 17311, 357, 63, 8053, 58, 8053, 58, 600, 11907, 63, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 25, 5415, 4129, 286, 262, 4504, 1351, 290, 42976, 24511, 4129, 357, 3826, 2174, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2561, 40122, 378, 416, 2263, 656, 1848, 262, 2041, 16326, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 24511, 62, 2536, 4338, 25, 350, 26872, 13290, 4338, 284, 779, 329, 24511, 13, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 350, 26872, 13290, 4338, 13, 43, 18494, 6465, 15744, 284, 262, 14069, 8379, 287, 262, 15458, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 350, 26872, 13290, 4338, 13, 22921, 62, 43, 49494, 25, 15744, 284, 262, 3509, 4129, 357, 12286, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 350, 26872, 13290, 4338, 13, 18227, 62, 11929, 62, 47, 2885, 25, 2141, 407, 14841, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 383, 11241, 7509, 24511, 5389, 389, 5447, 287, 2116, 13, 39231, 62, 1589, 25, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 705, 9464, 10354, 21226, 319, 262, 1364, 286, 262, 16311, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 532, 705, 3506, 10354, 21226, 319, 262, 826, 286, 262, 16311, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 14841, 62, 1462, 62, 48101, 62, 1659, 25, 357, 25968, 8, 34142, 611, 900, 481, 14841, 262, 8379, 284, 257, 3294, 286, 262, 2810, 1988, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 770, 318, 2592, 4465, 284, 7139, 262, 779, 286, 309, 22854, 7231, 319, 15127, 6890, 351, 24061, 12971, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 18189, 767, 13, 20, 357, 53, 5978, 64, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 25, 357, 25968, 8, 5345, 284, 10352, 284, 3368, 8024, 3241, 9335, 357, 12286, 25, 900, 284, 2746, 23514, 8, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 1303, 8778, 422, 2746, 26235, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1441, 62, 1078, 1463, 62, 27932, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 1078, 1463, 62, 27932, 796, 366, 1078, 1463, 62, 27932, 1, 287, 2116, 13, 19849, 62, 15414, 62, 14933, 628, 220, 220, 220, 220, 220, 220, 220, 2672, 62, 15414, 796, 30240, 62, 15414, 82, 58, 944, 13, 19849, 62, 15414, 62, 14933, 58, 15, 11907, 628, 220, 220, 220, 220, 220, 220, 220, 611, 24511, 62, 2536, 4338, 6624, 350, 26872, 13290, 4338, 13, 43, 18494, 6465, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 796, 18896, 7, 35827, 62, 15414, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 3509, 62, 13664, 318, 407, 6045, 290, 14841, 62, 1462, 62, 48101, 62, 1659, 318, 407, 6045, 290, 357, 9806, 62, 13664, 4064, 14841, 62, 1462, 62, 48101, 62, 1659, 14512, 657, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3509, 62, 13664, 796, 14808, 9806, 62, 13664, 3373, 14841, 62, 1462, 62, 48101, 62, 1659, 8, 1343, 352, 8, 1635, 14841, 62, 1462, 62, 48101, 62, 1659, 628, 220, 220, 220, 220, 220, 220, 220, 2476, 62, 1462, 62, 1350, 62, 79, 29373, 796, 24511, 62, 2536, 4338, 14512, 350, 26872, 13290, 4338, 13, 18227, 62, 11929, 62, 47, 2885, 290, 18896, 7, 35827, 62, 15414, 8, 14512, 3509, 62, 13664, 628, 220, 220, 220, 220, 220, 220, 220, 1303, 20768, 1096, 3241, 9335, 611, 407, 1944, 13, 198, 220, 220, 220, 220, 220, 220, 220, 611, 1441, 62, 1078, 1463, 62, 27932, 290, 366, 1078, 1463, 62, 27932, 1, 407, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 1078, 1463, 62, 27932, 8973, 796, 685, 16, 60, 1635, 18896, 7, 35827, 62, 15414, 8, 628, 220, 220, 220, 220, 220, 220, 220, 611, 2476, 62, 1462, 62, 1350, 62, 79, 29373, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3580, 796, 3509, 62, 13664, 532, 18896, 7, 35827, 62, 15414, 8, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 2116, 13, 39231, 62, 1589, 6624, 366, 3506, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1441, 62, 1078, 1463, 62, 27932, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 1078, 1463, 62, 27932, 8973, 796, 30240, 62, 15414, 82, 14692, 1078, 1463, 62, 27932, 8973, 1343, 685, 15, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 30001, 62, 4906, 62, 2340, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 30001, 62, 4906, 62, 2340, 8973, 796, 357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 30001, 62, 4906, 62, 2340, 8973, 1343, 685, 944, 13, 15636, 62, 30001, 62, 4906, 62, 312, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 65, 3524, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 65, 3524, 8973, 796, 30240, 62, 15414, 82, 14692, 65, 3524, 8973, 1343, 685, 944, 13, 15636, 62, 30001, 62, 3524, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 23912, 1424, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 23912, 1424, 8973, 796, 30240, 62, 15414, 82, 14692, 23912, 1424, 8973, 1343, 685, 944, 13, 15636, 62, 30001, 62, 18242, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 20887, 62, 83, 482, 641, 62, 27932, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 20887, 62, 83, 482, 641, 62, 27932, 8973, 796, 30240, 62, 15414, 82, 14692, 20887, 62, 83, 482, 641, 62, 27932, 8973, 1343, 685, 16, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 58, 944, 13, 19849, 62, 15414, 62, 14933, 58, 15, 11907, 796, 2672, 62, 15414, 1343, 685, 944, 13, 15636, 62, 30001, 62, 312, 60, 1635, 3580, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1288, 361, 2116, 13, 39231, 62, 1589, 6624, 366, 9464, 1298, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 1441, 62, 1078, 1463, 62, 27932, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 1078, 1463, 62, 27932, 8973, 796, 685, 15, 60, 1635, 3580, 1343, 30240, 62, 15414, 82, 14692, 1078, 1463, 62, 27932, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 30001, 62, 4906, 62, 2340, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 30001, 62, 4906, 62, 2340, 8973, 796, 685, 944, 13, 15636, 62, 30001, 62, 4906, 62, 312, 60, 1635, 3580, 1343, 30240, 62, 15414, 82, 58, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 30001, 62, 4906, 62, 2340, 1, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2361, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 65, 3524, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 65, 3524, 8973, 796, 685, 944, 13, 15636, 62, 30001, 62, 3524, 60, 1635, 3580, 1343, 30240, 62, 15414, 82, 14692, 65, 3524, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 23912, 1424, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 23912, 1424, 8973, 796, 685, 944, 13, 15636, 62, 30001, 62, 18242, 60, 1635, 3580, 1343, 30240, 62, 15414, 82, 14692, 65, 3524, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 611, 366, 20887, 62, 83, 482, 641, 62, 27932, 1, 287, 30240, 62, 15414, 82, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 14692, 20887, 62, 83, 482, 641, 62, 27932, 8973, 796, 685, 16, 60, 1635, 3580, 1343, 30240, 62, 15414, 82, 14692, 20887, 62, 83, 482, 641, 62, 27932, 8973, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30240, 62, 15414, 82, 58, 944, 13, 19849, 62, 15414, 62, 14933, 58, 15, 11907, 796, 685, 944, 13, 15636, 62, 30001, 62, 312, 60, 1635, 3580, 1343, 2672, 62, 15414, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2073, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5298, 11052, 12331, 7203, 44651, 24511, 4811, 11097, 1343, 965, 7, 944, 13, 39231, 62, 1589, 4008, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 30240, 62, 15414, 82, 628, 220, 220, 220, 825, 1382, 62, 15414, 82, 62, 4480, 62, 20887, 62, 83, 482, 641, 7, 944, 11, 11241, 62, 2340, 62, 15, 11, 11241, 62, 2340, 62, 16, 28, 14202, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 10934, 2746, 17311, 422, 257, 8379, 393, 257, 5166, 286, 8379, 329, 8379, 17923, 8861, 416, 1673, 36686, 803, 290, 198, 220, 220, 220, 220, 220, 220, 220, 4375, 2041, 16326, 13, 317, 347, 17395, 8379, 468, 262, 1708, 5794, 25, 628, 220, 220, 220, 220, 220, 220, 220, 532, 2060, 8379, 25, 7559, 58, 5097, 50, 60, 1395, 685, 5188, 47, 60, 15506, 198, 220, 220, 220, 220, 220, 220, 220, 532, 5166, 286, 16311, 25, 7559, 58, 5097, 50, 60, 317, 685, 5188, 47, 60, 347, 685, 5188, 47, 60, 15506, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 62, 2340, 62, 15, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 286, 32373, 284, 543, 262, 2041, 16326, 481, 307, 2087, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 62, 2340, 62, 16, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32233, 1218, 1351, 286, 32373, 329, 8379, 14729, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 26801, 25, 63, 8053, 58, 600, 60, 63, 25, 7343, 286, 4600, 15414, 32373, 1279, 40720, 4743, 793, 560, 13, 6494, 2, 15414, 12, 2340, 29, 63, 834, 351, 262, 5035, 2041, 16326, 13, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 5072, 796, 685, 944, 13, 565, 82, 62, 30001, 62, 312, 60, 1343, 11241, 62, 2340, 62, 15, 1343, 685, 944, 13, 325, 79, 62, 30001, 62, 312, 60, 628, 220, 220, 220, 220, 220, 220, 220, 611, 11241, 62, 2340, 62, 16, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 15853, 11241, 62, 2340, 62, 16, 1343, 685, 944, 13, 325, 79, 62, 30001, 62, 312, 60, 628, 220, 220, 220, 220, 220, 220, 220, 1441, 5072, 628, 220, 220, 220, 825, 2251, 62, 30001, 62, 4906, 62, 2340, 62, 6738, 62, 3107, 3007, 7, 198, 220, 220, 220, 220, 220, 220, 220, 2116, 11, 11241, 62, 2340, 62, 15, 25, 7343, 58, 600, 4357, 11241, 62, 2340, 62, 16, 25, 32233, 58, 8053, 58, 600, 11907, 796, 6045, 198, 220, 220, 220, 1267, 4613, 7343, 58, 600, 5974, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 13610, 257, 9335, 422, 262, 734, 16311, 3804, 284, 307, 973, 287, 257, 8379, 12, 24874, 17923, 4876, 13, 317, 347, 17395, 8379, 198, 220, 220, 220, 220, 220, 220, 220, 5166, 9335, 468, 262, 1708, 5794, 25, 7904, 657, 657, 657, 657, 657, 657, 657, 657, 657, 657, 657, 352, 352, 352, 352, 352, 352, 352, 352, 352, 930, 717, 8379, 930, 1218, 198, 220, 220, 220, 220, 220, 220, 220, 8379, 930, 1002, 1058, 26801, 25, 63, 30001, 62, 2340, 62, 16, 63, 318, 1058, 26801, 25, 63, 14202, 47671, 428, 2446, 691, 5860, 262, 717, 6903, 286, 262, 9335, 357, 15, 82, 737, 628, 220, 220, 220, 220, 220, 220, 220, 943, 14542, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 62, 2340, 62, 15, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7343, 286, 32373, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 11241, 62, 2340, 62, 16, 357, 25, 26801, 25, 63, 8053, 58, 600, 60, 47671, 4600, 25968, 63, 2599, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 32233, 1218, 1351, 286, 32373, 329, 8379, 14729, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16409, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1058, 26801, 25, 63, 8053, 58, 600, 60, 63, 25, 7343, 286, 4600, 30001, 2099, 32373, 1279, 40720, 4743, 793, 560, 13, 6494, 2, 30001, 12, 4906, 12, 2340, 29, 63, 62, 1864, 284, 262, 1813, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8379, 7, 82, 737, 198, 220, 220, 220, 220, 220, 220, 220, 37227, 198, 220, 220, 220, 220, 220, 220, 220, 41767, 796, 685, 944, 13, 325, 79, 62, 30001, 62, 312, 60, 198, 220, 220, 220, 220, 220, 220, 220, 537, 82, 796, 685, 944, 13, 565, 82, 62, 30001, 62, 312, 60, 198, 220, 220, 220, 220, 220, 220, 220, 611, 11241, 62, 2340, 62, 16, 318, 6045, 25, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1441, 18896, 7, 565, 82, 1343, 11241, 62, 2340, 62, 15, 1343, 41767, 8, 1635, 685, 15, 60, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 18896, 7, 565, 82, 1343, 11241, 62, 2340, 62, 15, 1343, 41767, 8, 1635, 685, 15, 60, 1343, 18896, 7, 30001, 62, 2340, 62, 16, 1343, 41767, 8, 1635, 685, 16, 60, 198 ]
2.250439
10,821
import os from nonebot.default_config import * # bot profile BOT_NAME = "布洛妮娅" COMMAND_START = {'', '/', '!', '/', '!'} # paths PROJECT_BRONYA = os.path.dirname(os.path.abspath(__file__)) # 本文件所在目录 ASSETS = os.path.join(PROJECT_BRONYA, "assets") DATA = os.path.join(PROJECT_BRONYA, "data") # super users SUPERUSERS = [] # e.g., 1234567890 # define group ids MY_GROUP_IDs = [] # e.g., 123456789 BED_TIME = [0, 8] # 睡觉起始时间,0点到8点 GROUP_TIME_ZONE = {123456789: {"北京": "Asia/Shanghai", "东京": "Asia/Tokyo"}, 987654321: {"北京": "Asia/Shanghai", "东京": "Asia/Tokyo", "纽约": "America/New_York"}} # 报时时间设置 GROUP_DAYTIME = { 123456789: {"daytime": (0, 23)}, # all day long 987654321: {"daytime": (9, 23)} # day time } # whether -1s every minute GROUP_MAHA = {123456789: False, 987654321: True} if __name__ == "__main__": main()
[ 11748, 28686, 201, 198, 6738, 4844, 13645, 13, 12286, 62, 11250, 1330, 1635, 201, 198, 201, 198, 2, 10214, 7034, 201, 198, 33, 2394, 62, 20608, 796, 366, 30585, 225, 162, 112, 249, 36685, 106, 161, 101, 227, 1, 201, 198, 9858, 44, 6981, 62, 2257, 7227, 796, 1391, 6, 3256, 31051, 3256, 705, 0, 3256, 705, 171, 120, 237, 3256, 705, 171, 120, 223, 6, 92, 201, 198, 201, 198, 2, 13532, 201, 198, 31190, 23680, 62, 11473, 40508, 32, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 776, 7, 834, 7753, 834, 4008, 220, 1303, 42164, 105, 23877, 229, 20015, 114, 33699, 222, 28839, 101, 33566, 106, 37605, 243, 201, 198, 10705, 32716, 796, 28686, 13, 6978, 13, 22179, 7, 31190, 23680, 62, 11473, 40508, 32, 11, 366, 19668, 4943, 201, 198, 26947, 796, 28686, 13, 6978, 13, 22179, 7, 31190, 23680, 62, 11473, 40508, 32, 11, 366, 7890, 4943, 201, 198, 201, 198, 2, 2208, 2985, 201, 198, 40331, 1137, 2937, 4877, 796, 17635, 220, 1303, 304, 13, 70, 1539, 17031, 2231, 30924, 3829, 201, 198, 201, 198, 2, 8160, 1448, 220, 2340, 201, 198, 26708, 62, 46846, 62, 47954, 796, 17635, 220, 1303, 304, 13, 70, 1539, 17031, 2231, 3134, 4531, 201, 198, 201, 198, 33, 1961, 62, 34694, 796, 685, 15, 11, 807, 60, 220, 1303, 13328, 251, 94, 164, 100, 231, 164, 113, 115, 34650, 233, 33768, 114, 29785, 112, 171, 120, 234, 15, 163, 224, 117, 26344, 108, 23, 163, 224, 117, 201, 198, 201, 198, 46846, 62, 34694, 62, 57, 11651, 796, 1391, 10163, 2231, 3134, 4531, 25, 19779, 44293, 245, 12859, 105, 1298, 366, 38555, 14, 2484, 272, 20380, 1600, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10310, 250, 12859, 105, 1298, 366, 38555, 14, 19042, 8226, 25719, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 860, 5774, 2996, 3559, 2481, 25, 19779, 44293, 245, 12859, 105, 1298, 366, 38555, 14, 2484, 272, 20380, 1600, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10310, 250, 12859, 105, 1298, 366, 38555, 14, 19042, 8226, 1600, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 163, 118, 121, 163, 118, 99, 1298, 366, 18165, 14, 3791, 62, 49278, 1, 11709, 201, 198, 201, 198, 2, 10545, 232, 98, 33768, 114, 33768, 114, 29785, 112, 164, 106, 122, 163, 121, 106, 201, 198, 46846, 62, 26442, 34694, 796, 1391, 201, 198, 220, 220, 220, 17031, 2231, 3134, 4531, 25, 19779, 820, 2435, 1298, 357, 15, 11, 2242, 8, 5512, 220, 1303, 477, 1110, 890, 201, 198, 220, 220, 220, 860, 5774, 2996, 3559, 2481, 25, 19779, 820, 2435, 1298, 357, 24, 11, 2242, 38165, 220, 1303, 1110, 640, 201, 198, 92, 201, 198, 201, 198, 2, 1771, 532, 16, 82, 790, 5664, 201, 198, 46846, 62, 5673, 7801, 796, 1391, 10163, 2231, 3134, 4531, 25, 10352, 11, 201, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 860, 5774, 2996, 3559, 2481, 25, 6407, 92, 201, 198, 201, 198, 201, 198, 201, 198, 361, 11593, 3672, 834, 6624, 366, 834, 12417, 834, 1298, 201, 198, 220, 220, 220, 1388, 3419, 201, 198 ]
1.637987
616
from .plots import (PlotIGraphModules,PlotIGraphCoclass,PlotIGraphConjCoclass)
[ 6738, 764, 489, 1747, 1330, 357, 43328, 3528, 1470, 5841, 5028, 11, 43328, 3528, 1470, 34, 420, 31172, 11, 43328, 3528, 1470, 3103, 73, 34, 420, 31172, 8 ]
2.785714
28
import cv2 import open_model_zoo_toolkit as omztk omz = omztk.openvino_omz() model = omz.imageClassifier() img = cv2.imread('resources/car.png') res = model.run(img) print(res) # Example: res = [[479, 'car wheel', 0.5016654], [817, 'sports car, sport car', 0.31316656], [436, 'beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon', 0.06171181]]
[ 11748, 269, 85, 17, 198, 11748, 1280, 62, 19849, 62, 89, 2238, 62, 25981, 15813, 355, 39030, 89, 30488, 198, 198, 296, 89, 796, 39030, 89, 30488, 13, 9654, 85, 2879, 62, 296, 89, 3419, 198, 19849, 796, 39030, 89, 13, 9060, 9487, 7483, 3419, 198, 198, 9600, 796, 269, 85, 17, 13, 320, 961, 10786, 37540, 14, 7718, 13, 11134, 11537, 198, 411, 796, 2746, 13, 5143, 7, 9600, 8, 198, 4798, 7, 411, 8, 198, 2, 17934, 25, 581, 796, 16410, 31714, 11, 705, 7718, 7825, 3256, 657, 13, 33548, 2791, 4051, 4357, 685, 23, 1558, 11, 705, 32945, 1097, 11, 6332, 1097, 3256, 657, 13, 25838, 1433, 37466, 4357, 685, 43690, 11, 705, 1350, 620, 31860, 11, 4429, 31860, 11, 31860, 11, 7964, 1097, 11, 10481, 266, 9460, 261, 11, 4429, 266, 9460, 261, 11, 266, 9460, 261, 3256, 657, 13, 3312, 1558, 1157, 6659, 11907, 198 ]
2.52
150
from class_decorators import debugmethods b = B() b.m()
[ 6738, 1398, 62, 12501, 273, 2024, 1330, 14257, 24396, 82, 628, 628, 628, 198, 198, 65, 796, 347, 3419, 198, 65, 13, 76, 3419, 198 ]
2.52
25
from twisted.test import proto_helpers from twisted.trial import unittest from talkback.bot import TalkBackBotFactory QUOTE = "Nobody minds having what is too good for them. ~ Jane Austen" class FakePicker(object): """ Always return the same quote. """
[ 6738, 19074, 13, 9288, 1330, 44876, 62, 16794, 364, 198, 6738, 19074, 13, 45994, 1330, 555, 715, 395, 198, 198, 6738, 1561, 1891, 13, 13645, 1330, 12167, 7282, 20630, 22810, 198, 198, 10917, 23051, 796, 366, 24795, 9017, 1719, 644, 318, 1165, 922, 329, 606, 13, 5299, 12091, 2517, 268, 1, 198, 198, 4871, 33482, 47, 15799, 7, 15252, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 16622, 1441, 262, 976, 9577, 13, 198, 220, 220, 220, 37227, 198 ]
3.308642
81
from bottle import route, run, template, debug # http://localhost:8068/ @route("/") @route("/hello") @route("/hello/<name>") debug(True) run(host="localhost", port=8068)
[ 6738, 9294, 1330, 6339, 11, 1057, 11, 11055, 11, 14257, 198, 198, 2, 2638, 1378, 36750, 25, 1795, 3104, 14, 198, 198, 31, 38629, 7203, 14, 4943, 198, 198, 31, 38629, 7203, 14, 31373, 4943, 198, 31, 38629, 7203, 14, 31373, 14, 27, 3672, 29, 4943, 198, 198, 24442, 7, 17821, 8, 198, 5143, 7, 4774, 2625, 36750, 1600, 2493, 28, 1795, 3104, 8 ]
2.703125
64