hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
d8e51d5afe73c2301ff832a4e314bdb8e8f44047
260
py
Python
examples/simple.py
ldn-softdev/pyeapi
f02f7e1b29caf62a25bb06fbd4af42af233962c1
[ "BSD-3-Clause" ]
126
2015-01-23T20:55:24.000Z
2022-02-08T17:21:17.000Z
examples/simple.py
ldn-softdev/pyeapi
f02f7e1b29caf62a25bb06fbd4af42af233962c1
[ "BSD-3-Clause" ]
169
2015-01-26T16:17:06.000Z
2022-03-26T12:47:44.000Z
examples/simple.py
ldn-softdev/pyeapi
f02f7e1b29caf62a25bb06fbd4af42af233962c1
[ "BSD-3-Clause" ]
84
2015-01-23T21:11:49.000Z
2022-03-24T18:46:53.000Z
#!/usr/bin/env python from __future__ import print_function import pyeapi connection = pyeapi.connect(host='192.168.1.16') output = connection.execute(['enable', 'show version']) print(('My system MAC address is', output['result'][1]['systemMacAddress']))
23.636364
76
0.734615
35
260
5.314286
0.828571
0
0
0
0
0
0
0
0
0
0
0.042735
0.1
260
10
77
26
0.752137
0.076923
0
0
0
0
0.320675
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8f0203c10e3e1d448af2ead0259314f8f32dfb6
2,316
py
Python
src/BertForIntent/Settings.py
drdauntless/TC-Bot
b8f616964d0d31d9b836b05de81f13c2ff907402
[ "MIT" ]
null
null
null
src/BertForIntent/Settings.py
drdauntless/TC-Bot
b8f616964d0d31d9b836b05de81f13c2ff907402
[ "MIT" ]
null
null
null
src/BertForIntent/Settings.py
drdauntless/TC-Bot
b8f616964d0d31d9b836b05de81f13c2ff907402
[ "MIT" ]
null
null
null
import json class Settings: def __init__(self, filename): self.json_file = None with open(filename) as f: self.json_file = json.load(f) self.hh_sheet_id = self.json_file['hh_sheet_id'] self.ha_sheet_id = self.json_file['ha_sheet_id'] # List of str: names of the...
49.276596
88
0.707686
330
2,316
4.557576
0.2
0.18617
0.279255
0.095745
0.206117
0.081117
0.039894
0
0
0
0
0
0.18696
2,316
47
89
49.276596
0.798725
0.033679
0
0
0
0
0.204738
0.033974
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.078947
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b033c001f71ba32ab597de038ca4f032917fb60
494
py
Python
python/shipRoot_conf.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
python/shipRoot_conf.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
python/shipRoot_conf.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
import ROOT, atexit, sys #-----prepare python exit----------------------------------------------- ROOT.gInterpreter.ProcessLine('typedef double Double32_t') def pyExit(): x = sys.modules['__main__'] if hasattr(x,'run'): del x.run if hasattr(x,'fMan'): del x.fMan if hasattr(x,'fRun'): del x.fRun pass def configu...
26
72
0.651822
64
494
4.953125
0.578125
0.085174
0.094637
0
0
0
0
0
0
0
0
0.008969
0.097166
494
18
73
27.444444
0.701794
0.287449
0
0
0
0
0.183381
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2b042dc04c0031a56b6487ee56a411d733e2f01b
1,088
py
Python
analyzer.py
thatwist/volunteer-tools
0e967466e44d7957610a59d22883aa298adb0dc2
[ "Apache-2.0" ]
null
null
null
analyzer.py
thatwist/volunteer-tools
0e967466e44d7957610a59d22883aa298adb0dc2
[ "Apache-2.0" ]
null
null
null
analyzer.py
thatwist/volunteer-tools
0e967466e44d7957610a59d22883aa298adb0dc2
[ "Apache-2.0" ]
null
null
null
from model import Post from dataclasses import dataclass, replace, asdict from abc import ABC, abstractmethod import re class Rule(ABC): @abstractmethod def analyze(self, post: Post): pass @dataclass class RegexpRule(Rule): def __init__(self, regexps: dict[str, list[str]], update: dict[str, ...
27.897436
78
0.578125
130
1,088
4.784615
0.4
0.051447
0.045016
0.057878
0.07074
0
0
0
0
0
0
0
0.289522
1,088
38
79
28.631579
0.804657
0.030331
0
0
0
0
0.086502
0
0
0
0
0.026316
0
1
0.129032
false
0.032258
0.129032
0
0.387097
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2b063668c72a9e54b8c3ec20c774134bf6982ba1
31,734
py
Python
FLAME/FLAME.py
marabouboy/FLAME
b4a08dd54a0d0be8e5caba69368aaf7477c55d17
[ "MIT" ]
6
2021-04-14T12:14:02.000Z
2022-01-05T13:51:39.000Z
FLAME/FLAME.py
marabouboy/FLAME
b4a08dd54a0d0be8e5caba69368aaf7477c55d17
[ "MIT" ]
2
2021-12-13T13:19:27.000Z
2021-12-14T10:57:53.000Z
FLAME/FLAME.py
marabouboy/FLAME
b4a08dd54a0d0be8e5caba69368aaf7477c55d17
[ "MIT" ]
1
2022-03-15T07:56:17.000Z
2022-03-15T07:56:17.000Z
#!/usr/bin/python3 #FLAME 0.1.4 #Import Packages: import argparse, io import pysam import FLAME_FUNC.FLAME_FUNC as FF #Break this down into each part based on the command. ##################### # Need to be fixed List: # Fix the comments within FLAME.py. It is a bit wonkey with different explainations for different fu...
55.09375
204
0.535419
3,253
31,734
4.964648
0.119582
0.226811
0.078019
0.055728
0.650588
0.577957
0.508854
0.470712
0.438081
0.410898
0
0.011351
0.333743
31,734
575
205
55.189565
0.752495
0.138369
0
0.548246
0
0.002193
0.138656
0.052721
0
0
0
0
0
1
0
false
0.039474
0.006579
0
0.006579
0.070175
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b0ba3890fe6d057b7d8bf9a94dfa88bd2ef4b87
535
py
Python
drone_awe/params/Validation/FreeflyAlta8/drone.py
rymanderson/Drone-Models
396ed030f277a96365c7cbfaffb3d2006e5b12a8
[ "MIT" ]
2
2019-12-01T10:27:54.000Z
2019-12-01T10:28:07.000Z
drone_awe/params/Validation/FreeflyAlta8/drone.py
rymanderson/drone_awe
396ed030f277a96365c7cbfaffb3d2006e5b12a8
[ "MIT" ]
null
null
null
drone_awe/params/Validation/FreeflyAlta8/drone.py
rymanderson/drone_awe
396ed030f277a96365c7cbfaffb3d2006e5b12a8
[ "MIT" ]
null
null
null
params = { 'wingtype': 'rotary', 'rotorquantity': 8, 'diagonal': 1.325, 'batterycells': 6, 'batteryvoltage': 22.2, 'batterycapacity': 10000, 'batterytype': 'LiPo', 'numbatteries': 2, 'numbatteriesconnection': 'parallel', 'max_takeoffweight': 18.1, 'takeoffweight': 6.2, 'max_payload': 9.1, 'specific_power': 145, 'props'...
23.26087
46
0.717757
66
535
5.606061
0.712121
0.086486
0.07027
0
0
0
0
0
0
0
0
0.1
0.084112
535
23
47
23.26087
0.655102
0
0
0
0
0
0.630597
0.151119
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b19c0069ac14d1179479162183563c52dbaa514
499
py
Python
examples/xrd/o2t_simulation_nimnsb_inp.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
examples/xrd/o2t_simulation_nimnsb_inp.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
examples/xrd/o2t_simulation_nimnsb_inp.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
from heuslertools.xrd import O2TSimulation from heuslertools.xrd.materials import NiMnSb, InP import xrayutilities as xu import numpy as np import matplotlib.pyplot as plt ##### LAYERSTACK ##### sub = xu.simpack.Layer(InP, np.inf) lay1 = xu.simpack.Layer(NiMnSb, 400, relaxation=0.0) layerstack = xu.simpack.Pseudomorph...
24.95
73
0.753507
74
499
5.067568
0.5
0.072
0.101333
0
0
0
0
0
0
0
0
0.040909
0.118236
499
19
74
26.263158
0.811364
0.02004
0
0
0
0
0.027254
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b24c0245826c3d7d530b28c9eca0db2d36cc022
55,967
py
Python
zkusebne_plneni_databaze_kk.py
xarabiburacaramba/olu_v2
9a62a113f6a4daddb4f76b362e7a25a61121cc81
[ "BSD-2-Clause" ]
null
null
null
zkusebne_plneni_databaze_kk.py
xarabiburacaramba/olu_v2
9a62a113f6a4daddb4f76b362e7a25a61121cc81
[ "BSD-2-Clause" ]
null
null
null
zkusebne_plneni_databaze_kk.py
xarabiburacaramba/olu_v2
9a62a113f6a4daddb4f76b362e7a25a61121cc81
[ "BSD-2-Clause" ]
null
null
null
# %% import tridy from tridy import GeoConcept, SubGeoConcept, MetaData, DBStorage, DataSource, View, Table, Imagee, Grid, ds_from_metadata, lpis_cz__posledni_aktualizace, apply_function, select_nodes_from_graph, unzip_file, transform_name_to_postgresql_format import requests import datetime import re import os import ...
67.838788
2,757
0.705166
7,823
55,967
4.75278
0.131152
0.014524
0.011888
0.012049
0.59915
0.546274
0.514241
0.495522
0.460316
0.433501
0
0.058863
0.10424
55,967
824
2,758
67.921117
0.682784
0.019226
0
0.442907
0
0.032872
0.394396
0.101634
0
0
0
0
0
1
0.022491
false
0.00173
0.046713
0.00173
0.088235
0.013841
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b2698c1db4fc4ffa46c97e3f92894cddf4bb21f
2,589
py
Python
ads/routes.py
sinisaos/starlette-piccolo-rental
c837756c7930e058ea341c67285d0c38f005b007
[ "MIT" ]
3
2020-10-08T09:37:03.000Z
2022-03-29T04:05:42.000Z
ads/routes.py
sinisaos/starlette-piccolo-rental
c837756c7930e058ea341c67285d0c38f005b007
[ "MIT" ]
null
null
null
ads/routes.py
sinisaos/starlette-piccolo-rental
c837756c7930e058ea341c67285d0c38f005b007
[ "MIT" ]
null
null
null
from starlette.routing import Route, Router from ads.endpoints import (ad, ad_create, ad_delete, ad_edit, ad_images, ads_list, edit_upload, filter_search, image_delete, image_edit, maps, review_create, review_delete, review_edit, search, ...
28.766667
78
0.443028
228
2,589
4.868421
0.144737
0.117117
0.126126
0.162162
0.203604
0
0
0
0
0
0
0
0.402086
2,589
89
79
29.089888
0.717054
0
0
0.425287
0
0
0.17922
0.03399
0
0
0
0
0
1
0
false
0
0.022989
0
0.022989
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b3e79abe5754f51a7c7f5f67a60a991a6201ff5
632
py
Python
44.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
44.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
44.py
lycantropos/Project-Euler
df6c5a7e118ddd3fe3c39f4b30ad57e7d3ea853b
[ "MIT" ]
null
null
null
from itertools import count from utils import pentagonal def pentagonal_number(index: int) -> int: return index * (3 * index - 1) // 2 # TODO: improve this "bruteforcefully" working function def pentagonal_numbers(offset: int) -> int: for j in count(1): p_j = pentagonal_number(j) for s in r...
22.571429
55
0.591772
92
632
3.847826
0.445652
0.022599
0.025424
0.022599
0
0
0
0
0
0
0
0.03972
0.322785
632
27
56
23.407407
0.787383
0.083861
0
0
0
0
0
0
0
0
0
0.037037
0.058824
1
0.117647
false
0
0.117647
0.058824
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2b4e7a1daff255e37f0c21bd516d9d2f4cd39b4f
1,603
py
Python
test_lung_seg_scan_luna.py
Aryan98/lcprediction
768744906379fa7e4cc5f496195cd8476f236906
[ "MIT" ]
null
null
null
test_lung_seg_scan_luna.py
Aryan98/lcprediction
768744906379fa7e4cc5f496195cd8476f236906
[ "MIT" ]
null
null
null
test_lung_seg_scan_luna.py
Aryan98/lcprediction
768744906379fa7e4cc5f496195cd8476f236906
[ "MIT" ]
null
null
null
import sys import lasagne as nn import numpy as np import theano import pathfinder import utils from configuration import config, set_configuration from utils_plots import plot_slice_3d_4 import theano.tensor as T import blobs_detection import logger import time import multiprocessing as mp import buffering theano.con...
27.169492
91
0.714286
239
1,603
4.569038
0.372385
0.021978
0.027473
0.049451
0.096154
0.063187
0
0
0
0
0
0.016188
0.152215
1,603
58
92
27.637931
0.787344
0.0131
0
0
0
0
0.115263
0.023433
0
0
0
0
0
0
null
null
0
0.297872
null
null
0.191489
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b57cdd6919e6bfb12e3d3b622adcad4d00e5cc0
7,884
py
Python
tests/test_generate.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
2
2022-02-03T00:51:30.000Z
2022-02-03T18:42:43.000Z
tests/test_generate.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
tests/test_generate.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from tempfile import TemporaryDirectory from typing import Any, Dict, List, Tuple import pytest from scripts.generate import ( CIRCULAR_PROPERTY_REFERENCES, CIRCULAR_REFERENCES, INT_PROPERTIES, ObjectDefinition, OneOfDefinition, PrimitiveDefinition, Property, S...
31.662651
88
0.585743
813
7,884
5.487085
0.169742
0.065905
0.04842
0.038108
0.394082
0.296794
0.163192
0.144811
0.109393
0.109393
0
0.003542
0.247971
7,884
248
89
31.790323
0.748862
0.038813
0
0.270833
1
0
0.280164
0.041628
0
0
0
0
0.114583
1
0.057292
false
0
0.083333
0.005208
0.145833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b5a114b96f273c165df833e0e0786ad010a5281
1,562
py
Python
app/main.py
dogacuboh/doga-cuboh-snake
aa25bebf456db96a978056aa69489f57652b1691
[ "MIT" ]
null
null
null
app/main.py
dogacuboh/doga-cuboh-snake
aa25bebf456db96a978056aa69489f57652b1691
[ "MIT" ]
null
null
null
app/main.py
dogacuboh/doga-cuboh-snake
aa25bebf456db96a978056aa69489f57652b1691
[ "MIT" ]
null
null
null
import json import os import bottle import time from app.api import ping_response, start_response, move_response, end_response from app.board import update_board from app.random_snake import random_move from app.food_snake import food_move from app.wall_snake import wall_move from app.smart_snake import smart_move f...
20.552632
78
0.693982
226
1,562
4.60177
0.314159
0.047115
0.042308
0.063462
0.075
0
0
0
0
0
0
0.013292
0.181178
1,562
75
79
20.826667
0.799844
0.026248
0
0.111111
0
0
0.06917
0
0
0
0
0
0
1
0.12963
false
0
0.203704
0.055556
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b5d98855d32ba846548591ccc4ba5f27a100191
274
py
Python
setup.py
rom1mouret/orthogonal_learning
f07acddb0bf1dab1c9cdca54644d001611df0bc3
[ "Apache-2.0" ]
5
2021-05-27T02:49:04.000Z
2022-03-24T09:32:14.000Z
setup.py
rom1mouret/orthogonal_learning
f07acddb0bf1dab1c9cdca54644d001611df0bc3
[ "Apache-2.0" ]
null
null
null
setup.py
rom1mouret/orthogonal_learning
f07acddb0bf1dab1c9cdca54644d001611df0bc3
[ "Apache-2.0" ]
1
2021-05-27T02:50:10.000Z
2021-05-27T02:50:10.000Z
#!/usr/bin/env python from distutils.core import setup setup(name='orthocl', version='0.1', description='Orthogonal Continual Learning', author='Romain Mouret', url='https://github.com/rom1mouret/orthogonal_learning', packages=['orthocl'], )
22.833333
62
0.675182
31
274
5.935484
0.870968
0
0
0
0
0
0
0
0
0
0
0.013274
0.175182
274
11
63
24.909091
0.800885
0.072993
0
0
0
0
0.426877
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2b62be2146f9e6ed31d3c67cb117af40f055279d
864
py
Python
db_dump/etender2mongoscripts/dumptenderitems.py
EBRD-MoldovaOpenContracting/Moldova-Data-Load
3938f99f7575c2107898056650986739ecb32b60
[ "Apache-2.0" ]
4
2017-05-11T09:49:57.000Z
2018-02-28T05:11:49.000Z
db_dump/etender2mongoscripts/dumptenderitems.py
EBRD-MoldovaOpenContracting/Moldova-Data-Load
3938f99f7575c2107898056650986739ecb32b60
[ "Apache-2.0" ]
44
2017-03-14T10:19:29.000Z
2017-09-11T04:32:08.000Z
db_dump/etender2mongoscripts/dumptenderitems.py
EBRD-MoldovaOpenContracting/Moldova-Data-Load
3938f99f7575c2107898056650986739ecb32b60
[ "Apache-2.0" ]
4
2017-06-28T08:13:15.000Z
2022-01-29T20:16:37.000Z
import pymongo import os import json import myconfig dbEtenders = myconfig.getMongoDb() tender_items_collection = dbEtenders.tender_items_collection tender_items_collection.remove({}) def dumpJsonFileToDatabase(jsonfile, collection): if(os.path.isfile(jsonfile)): with open(jsonfile) as _file: ...
32
90
0.694444
94
864
6.265957
0.446809
0.074703
0.142615
0.047538
0
0
0
0
0
0
0
0.002911
0.204861
864
27
90
32
0.85444
0
0
0
0
0
0.042775
0
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b6413121666c6bfe10d5d45728032a5c8760b7c
880
py
Python
2020/day02/solve.py
h3ssto/advent_of_code
529e179df520ec9db9a2f48cddd9fef0c63b018d
[ "MIT" ]
null
null
null
2020/day02/solve.py
h3ssto/advent_of_code
529e179df520ec9db9a2f48cddd9fef0c63b018d
[ "MIT" ]
1
2021-12-01T08:56:23.000Z
2021-12-01T08:56:23.000Z
2020/day02/solve.py
h3ssto/advent_of_code
529e179df520ec9db9a2f48cddd9fef0c63b018d
[ "MIT" ]
null
null
null
from _shared_python.aoc import * #------------------------------------------------------------------------------# INPUT = input_from_file(__file__) INPUT = map_split(INPUT, r"-|\s+|:\s+") INPUT = entries_as_tuples(INPUT, types = (int, int, str, str)) #-----------------------------------------------------------------...
26.666667
80
0.310227
80
880
3.2625
0.45
0.076628
0
0
0
0
0
0
0
0
0
0.023529
0.130682
880
33
81
26.666667
0.317647
0.443182
0
0
0
0
0.060291
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b698d0058dbc15635515d0cfe34d7c6db529037
1,075
py
Python
backend/src/procyon_api/domain/exceptions/root.py
KitKod/Procyon
df3978d4498b01b17ff9f72c3699b9d9d8e65bc6
[ "Apache-2.0" ]
null
null
null
backend/src/procyon_api/domain/exceptions/root.py
KitKod/Procyon
df3978d4498b01b17ff9f72c3699b9d9d8e65bc6
[ "Apache-2.0" ]
null
null
null
backend/src/procyon_api/domain/exceptions/root.py
KitKod/Procyon
df3978d4498b01b17ff9f72c3699b9d9d8e65bc6
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
30.714286
62
0.767442
146
1,075
5.609589
0.582192
0.07326
0.031746
0.039072
0
0
0
0
0
0
0
0.004469
0.167442
1,075
34
63
31.617647
0.910615
0.699535
0
0
0
0
0.210526
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b7123241dc574ff6d28c947d5604a63be68a90f
448
py
Python
offers/migrations/0002_alter_emailipo_data_sent.py
ccunhafinance/sistema
a8b252845e3fe5e75ea617386763e10f39531adf
[ "MIT" ]
null
null
null
offers/migrations/0002_alter_emailipo_data_sent.py
ccunhafinance/sistema
a8b252845e3fe5e75ea617386763e10f39531adf
[ "MIT" ]
null
null
null
offers/migrations/0002_alter_emailipo_data_sent.py
ccunhafinance/sistema
a8b252845e3fe5e75ea617386763e10f39531adf
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-08-11 15:12 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('offers', '0001_initial'), ] operations = [ migrations.AlterField( model_name='emailipo', ...
22.4
90
0.631696
49
448
5.714286
0.77551
0.078571
0.135714
0
0
0
0
0
0
0
0
0.056886
0.254464
448
19
91
23.578947
0.781437
0.100446
0
0
1
0
0.087282
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b72876e69958d8b85be3735b28b2652f626e832
1,484
py
Python
src/features/skip_gram.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
6
2019-07-03T16:11:15.000Z
2021-07-12T18:42:44.000Z
src/features/skip_gram.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
null
null
null
src/features/skip_gram.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
5
2019-10-16T09:40:58.000Z
2020-01-30T20:32:49.000Z
import numpy as np from gensim.models import Word2Vec from src.utils import io def run( random_walk_files, output_file, dimensions=128, context_size=10, epochs=1, workers=1 ): """Generates node vector embeddings from a list of files containing random walks performed on different layers of a multilayer net...
29.68
119
0.677898
204
1,484
4.828431
0.436275
0.04467
0.045685
0.04264
0.103553
0.064975
0
0
0
0
0
0.019625
0.244609
1,484
49
120
30.285714
0.859054
0.51752
0
0
1
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b742447c6b07f535d974d4a8af3efb99347ee76
1,196
py
Python
python_challenges/project_euler/p034_digit_factorials.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
1
2015-09-28T18:05:39.000Z
2015-09-28T18:05:39.000Z
python_challenges/project_euler/p034_digit_factorials.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
null
null
null
python_challenges/project_euler/p034_digit_factorials.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
2
2016-09-21T00:42:51.000Z
2017-11-28T19:56:00.000Z
import math __author__ = 'tilmannbruckhaus' class DigitFactorials: """ Digit factorials Problem 34 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits. Note: as 1! = 1 and 2! = 2 are not sums ...
26.577778
100
0.579431
157
1,196
4.127389
0.407643
0.12963
0.049383
0.050926
0.274691
0.274691
0.203704
0.203704
0.203704
0.203704
0
0.050826
0.341973
1,196
44
101
27.181818
0.772554
0
0
0.185185
0
0
0.159783
0
0
0
0
0
0
0
null
null
0.037037
0.037037
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99122bba955d5634c9fe8367098a49a056b86e0c
2,728
py
Python
agi_ast/turbobil.py
roramirez/turbobil
e4657565960b063bc02e1c2205b87e20850e3ea4
[ "Apache-2.0" ]
5
2015-11-07T16:21:40.000Z
2019-03-07T10:51:37.000Z
agi_ast/turbobil.py
roramirez/turbobil
e4657565960b063bc02e1c2205b87e20850e3ea4
[ "Apache-2.0" ]
null
null
null
agi_ast/turbobil.py
roramirez/turbobil
e4657565960b063bc02e1c2205b87e20850e3ea4
[ "Apache-2.0" ]
4
2015-11-07T16:28:13.000Z
2019-02-25T02:09:05.000Z
#!/usr/bin/env python 'Turbobil agi Asterisk' __author__ = "Rodrigo Ramirez Norambuena" __version__ = "0.1.2" __email__ = "rodrigo@blackhole.cl" import os import sys from turbodb import * import logging from agi import * from dialer import * #Type pay PRE_PAY = 1 POST_PAY = 2 # INFO, DEBUG, WARNING, CRITICA...
27.28
97
0.642962
331
2,728
5.096677
0.347432
0.047421
0.017783
0.023118
0.102549
0.060462
0
0
0
0
0
0.013546
0.242302
2,728
99
98
27.555556
0.802612
0.105938
0
0.166667
0
0
0.153437
0.008592
0
0
0
0.010101
0
1
0.030303
false
0
0.090909
0
0.121212
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
991275ccb81be983703963d64a364eb88189de01
1,526
py
Python
Python/Cracking the Coding Interview/Chapter 1_Arrays and Strings/1.6.py
honghaoz/Interview-Algorithm-in-Swift
b8895b4e05a510e2a5d13d744c084a768f042d0c
[ "MIT" ]
1
2020-12-17T02:10:57.000Z
2020-12-17T02:10:57.000Z
Python/Cracking the Coding Interview/Chapter 1_Arrays and Strings/1.6.py
honghaoz/DataStructure-Algorithm
b8895b4e05a510e2a5d13d744c084a768f042d0c
[ "MIT" ]
null
null
null
Python/Cracking the Coding Interview/Chapter 1_Arrays and Strings/1.6.py
honghaoz/DataStructure-Algorithm
b8895b4e05a510e2a5d13d744c084a768f042d0c
[ "MIT" ]
null
null
null
# Given an image represented by NxN matrix, # where each pixel in the image is 4 bytes, # write a method to rotate the image by 90 degrees, # In place? # In place from math import ceil def rotate(m): degree = len(m) # Precondition for eachLine in m: if not degree == len(eachLine): return False # layer by la...
26.310345
90
0.529489
269
1,526
3.003717
0.30855
0.069307
0.022277
0.024752
0.337871
0.337871
0.29703
0.29703
0.29703
0.230198
0
0.138659
0.28637
1,526
58
91
26.310345
0.603306
0.157274
0
0.190476
0
0
0.018824
0
0
0
0
0
0
0
null
null
0.047619
0.02381
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
991d921d9a3f58e75208be6ac79873d7080423da
4,600
py
Python
Cookie_Cutter.py
devcoinfet/Cookie_Inject0r
db270ef84ff4aeadb19174ce9a0a5813fa41c5ac
[ "MIT" ]
null
null
null
Cookie_Cutter.py
devcoinfet/Cookie_Inject0r
db270ef84ff4aeadb19174ce9a0a5813fa41c5ac
[ "MIT" ]
null
null
null
Cookie_Cutter.py
devcoinfet/Cookie_Inject0r
db270ef84ff4aeadb19174ce9a0a5813fa41c5ac
[ "MIT" ]
null
null
null
import requests import uuid import subprocess import os import sys import binascii import json from urllib3.exceptions import InsecureRequestWarning from threading import Thread, Lock from multiprocessing import Process, cpu_count import telegram from urllib.parse import urlparse import glob import time import ast #t...
29.299363
124
0.53087
492
4,600
4.778455
0.416667
0.038282
0.020417
0.024245
0.091876
0
0
0
0
0
0
0.005982
0.382174
4,600
156
125
29.487179
0.821253
0.097391
0
0.122449
0
0
0.086809
0.008002
0
0
0
0.00641
0
1
0.040816
false
0.05102
0.153061
0
0.204082
0.102041
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
991f48051e9f721989d8770cc52ed11b78f3cc35
394
py
Python
wsdet/modules/models/base/assigner/builder.py
DetectionBLWX/WSDDN.pytorch
05020d9d0445af90ba0af3f095aa12b18e3da7d2
[ "MIT" ]
7
2020-07-07T01:16:18.000Z
2020-10-11T16:55:30.000Z
wsdet/modules/models/base/assigner/builder.py
DetectionBLWX/wsdetection
05020d9d0445af90ba0af3f095aa12b18e3da7d2
[ "MIT" ]
null
null
null
wsdet/modules/models/base/assigner/builder.py
DetectionBLWX/wsdetection
05020d9d0445af90ba0af3f095aa12b18e3da7d2
[ "MIT" ]
1
2020-07-07T01:16:40.000Z
2020-07-07T01:16:40.000Z
''' Function: builder the assigner Author: Zhenchao Jin ''' from .maxiouassigner import MaxIoUAssigner '''builder the assigner''' def BuildAssigner(cfg, **kwargs): supported_assigners = { 'max_iou': MaxIoUAssigner, } assert cfg['type'] in supported_assigners, 'unsupport assigner type %s......
24.625
92
0.675127
42
394
6.238095
0.595238
0.206107
0.137405
0
0
0
0
0
0
0
0
0
0.177665
394
16
93
24.625
0.808642
0.149746
0
0
0
0
0.172185
0
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
991fc31a8287916ecbdca36925ae1f48c3d84c3f
307
py
Python
Classes_and_Object_Programs/cls1.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
3
2020-08-26T15:29:18.000Z
2020-09-03T13:49:13.000Z
Classes_and_Object_Programs/cls1.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
null
null
null
Classes_and_Object_Programs/cls1.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
null
null
null
# simple class - general class -1 class StudentDetails: name = 'sam' age = 21 college = 'ABC' average = 9.2 # class StudentDetails object s1 = StudentDetails() print('Student details') print('Name:',s1.name) print('Age:', s1.age) print('College', s1.college) print('Average', s1.average)
19.1875
34
0.664495
40
307
5.1
0.475
0.186275
0
0
0
0
0
0
0
0
0
0.039841
0.18241
307
15
35
20.466667
0.772908
0.19544
0
0
0
0
0.18107
0
0
0
0
0
0
1
0
false
0
0
0
0.454545
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
992383d81e7d1a4669872ed1a7bf25ad271b62a9
253
py
Python
main.py
VIVelev/Flappy-AI
eb79e313308e582c4ddb506d089cbf059bd02364
[ "MIT" ]
3
2018-04-28T20:34:02.000Z
2019-11-13T12:05:14.000Z
main.py
VIVelev/Flappy-AI
eb79e313308e582c4ddb506d089cbf059bd02364
[ "MIT" ]
1
2018-05-02T17:15:49.000Z
2018-05-02T17:15:49.000Z
main.py
VIVelev/Flappy-AI
eb79e313308e582c4ddb506d089cbf059bd02364
[ "MIT" ]
null
null
null
import numpy as np from Game.main import Game from NeuroEvolution.Population import Population N_BIRDS = 15 MUTATION_RATE = 0.02 N_WINNERS = 2 pop = Population(N_BIRDS, MUTATION_RATE, n_winners=N_WINNERS) game = Game(pop, n_birds=N_BIRDS) game.run()
19.461538
61
0.786561
43
253
4.418605
0.465116
0.126316
0.168421
0
0
0
0
0
0
0
0
0.027397
0.134387
253
12
62
21.083333
0.840183
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9924126e37371711cbace4f69c0af2bc5d697df4
2,535
py
Python
basic/annotationtable.py
ChaitanyaArora/text2image
416dc6ec20a44f8054135111d3911c7bc39b0e64
[ "MIT" ]
10
2015-10-17T12:46:07.000Z
2020-12-13T07:19:01.000Z
basic/annotationtable.py
ChaitanyaArora/text2image
416dc6ec20a44f8054135111d3911c7bc39b0e64
[ "MIT" ]
1
2015-10-21T15:06:23.000Z
2015-10-26T12:30:51.000Z
basic/annotationtable.py
ChaitanyaArora/text2image
416dc6ec20a44f8054135111d3911c7bc39b0e64
[ "MIT" ]
3
2015-10-20T01:05:03.000Z
2018-07-23T05:34:51.000Z
import os from common import ROOT_PATH def niceName(qid): return '0'if qid[1:-2] == '' else qid[1:-2] def readAnnotations(inputfile, skip_0=True): data = [(str.split(x)[0], int(str.split(x)[1])) for x in open(inputfile).readlines()] names = [x[0] for x in data] labels = [x[1] for x in data] if sk...
39
136
0.678107
323
2,535
5.291022
0.244582
0.021065
0.031597
0.063195
0.460503
0.397308
0.360445
0.260971
0.260971
0.218841
0
0.009126
0.178698
2,535
65
137
39
0.81172
0.002761
0
0.235294
0
0
0.048259
0
0
0
0
0
0
0
null
null
0.039216
0.039216
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99252eb16b83d5b9f3f30893a74f788570e170e3
1,199
py
Python
tests/math/perm_test.py
muhrin/e3nn
63085235e17417e84997d125a5466ceb02c62e50
[ "MIT" ]
1
2021-02-09T10:34:09.000Z
2021-02-09T10:34:09.000Z
tests/math/perm_test.py
muhrin/e3nn
63085235e17417e84997d125a5466ceb02c62e50
[ "MIT" ]
null
null
null
tests/math/perm_test.py
muhrin/e3nn
63085235e17417e84997d125a5466ceb02c62e50
[ "MIT" ]
null
null
null
import math import pytest from e3nn.math import perm @pytest.mark.parametrize('n', [0, 1, 2, 3, 4, 5]) def test_inverse(n): for p in perm.group(n): ip = perm.inverse(p) assert perm.compose(p, ip) == perm.identity(n) assert perm.compose(ip, p) == perm.identity(n) @pytest.mark.parametri...
26.644444
104
0.590492
217
1,199
3.179724
0.193548
0.026087
0.026087
0.028986
0.5
0.376812
0.376812
0.286957
0.211594
0.211594
0
0.066667
0.211843
1,199
44
105
27.25
0.663492
0.030859
0
0.137931
0
0
0.003454
0
0
0
0
0
0.310345
1
0.206897
false
0
0.103448
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
99288539efe70ce4e178961165b3b3b091ff1ab1
757
py
Python
e1.5/boot.py
vwallen/hcde539-a2020
556ad99614110e39e4ad4c4278710f5accd428a0
[ "CC0-1.0" ]
null
null
null
e1.5/boot.py
vwallen/hcde539-a2020
556ad99614110e39e4ad4c4278710f5accd428a0
[ "CC0-1.0" ]
null
null
null
e1.5/boot.py
vwallen/hcde539-a2020
556ad99614110e39e4ad4c4278710f5accd428a0
[ "CC0-1.0" ]
null
null
null
import board import digitalio import storage import os # Make the file system writable # Via: https://learn.adafruit.com/circuitpython-essentials/circuitpython-storage # If the switch pin is connected to ground CircuitPython can write to the drive # Also used this to re-enable writing after a bad boot.py edit: # https...
42.055556
98
0.80317
113
757
5.353982
0.637168
0.024793
0.042975
0.069421
0
0
0
0
0
0
0
0.001493
0.114927
757
18
99
42.055556
0.901493
0.643329
0
0
0
0
0.003802
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9929c332b9aaa8b46ff012a1227387d50b8a50ff
1,097
py
Python
anypubsub/backends/memory.py
smarzola/anypubsub
fe9641cc29673119a83609cf818abf9f6f31c052
[ "MIT" ]
6
2016-12-29T06:39:26.000Z
2020-05-13T15:00:52.000Z
anypubsub/backends/memory.py
simock85/anypubsub
fe9641cc29673119a83609cf818abf9f6f31c052
[ "MIT" ]
1
2015-05-19T21:27:36.000Z
2015-05-19T21:27:36.000Z
anypubsub/backends/memory.py
simock85/anypubsub
fe9641cc29673119a83609cf818abf9f6f31c052
[ "MIT" ]
4
2017-01-02T04:25:26.000Z
2021-07-15T06:36:47.000Z
from collections import defaultdict from anypubsub.interfaces import PubSub, Subscriber from six.moves.queue import Queue from weakref import WeakSet class MemorySubscriber(Subscriber): def __init__(self, queue_factory): self.messages = queue_factory(maxsize=0) def __iter__(self): return self...
26.119048
58
0.694622
121
1,097
6.107438
0.371901
0.097429
0.086604
0.043302
0.062246
0
0
0
0
0
0
0.002361
0.227894
1,097
41
59
26.756098
0.87013
0.002735
0
0
0
0
0
0
0
0
0
0
0
1
0.241379
false
0
0.137931
0.068966
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
992d87fc99b760463ffd0e8c3c4c894159046413
2,608
py
Python
shfl/differential_privacy/probability_distribution.py
joarreg/Sherpa.ai-Federated-Learning-Framework
9da392bf71c9acf13761dde0f119622c62780c87
[ "Apache-2.0" ]
2
2021-11-14T12:04:39.000Z
2022-01-03T16:03:36.000Z
shfl/differential_privacy/probability_distribution.py
SSSuperTIan/Sherpa.ai-Federated-Learning-Framework
a30d73a018526f1033ee0ec57489c4c6e2f15b0a
[ "Apache-2.0" ]
null
null
null
shfl/differential_privacy/probability_distribution.py
SSSuperTIan/Sherpa.ai-Federated-Learning-Framework
a30d73a018526f1033ee0ec57489c4c6e2f15b0a
[ "Apache-2.0" ]
1
2022-01-19T16:29:46.000Z
2022-01-19T16:29:46.000Z
import numpy as np import abc class ProbabilityDistribution(abc.ABC): """ Class representing the interface for a probability distribution """ @abc.abstractmethod def sample(self, size): """ This method must return an array with length "size", sampling the distribution # A...
27.166667
100
0.615798
294
2,608
5.343537
0.285714
0.106938
0.024825
0.032463
0.213877
0.199873
0.157861
0.157861
0.157861
0.157861
0
0.009413
0.307515
2,608
95
101
27.452632
0.860465
0.495015
0
0.125
0
0
0
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
992e9eaa788e0960d48dedd23d8513a50494badb
16,820
py
Python
_tbnf/src/grammar.py
thautwarm/Typed-BNF
897a4a2bd389dcb2ca16c6c773b28f0388336f63
[ "MIT" ]
38
2022-01-01T06:45:27.000Z
2022-03-20T14:18:38.000Z
_tbnf/src/grammar.py
thautwarm/typed-bnf
b5694a34fe21a064250f2ef88745d8ebad51eb33
[ "MIT" ]
7
2021-09-17T16:46:50.000Z
2021-12-31T20:49:35.000Z
_tbnf/src/grammar.py
thautwarm/typed-bnf
b5694a34fe21a064250f2ef88745d8ebad51eb33
[ "MIT" ]
3
2022-01-01T07:33:44.000Z
2022-01-09T11:41:33.000Z
from __future__ import annotations from typing import (TypeVar, Any, Generic, List, Callable, Tuple) from ..fable_modules.fable_library.list import (FSharpList, map, exists, iterate, singleton) from ..fable_modules.fable_library.option import (some, Option) from ..fable_modules.fable_library.reflection import (Type...
35.485232
1,164
0.588882
2,002
16,820
4.664835
0.108392
0.065853
0.092194
0.017989
0.49213
0.395224
0.298426
0.277225
0.256451
0.233751
0
0.02954
0.265398
16,820
473
1,165
35.560254
0.726287
0
0
0.388704
0
0
0.059284
0.007403
0
0
0
0
0
1
0.17608
false
0.003322
0.026578
0.089701
0.44186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99314806c7d4b9ccb0c5a493ccdf40ab17e9f442
1,038
py
Python
GoogleAppEngine_Side/main.py
nickolyamba/android-chem-app
10de27a7d3c102191a802b77595f7e1df9de96f8
[ "MIT" ]
null
null
null
GoogleAppEngine_Side/main.py
nickolyamba/android-chem-app
10de27a7d3c102191a802b77595f7e1df9de96f8
[ "MIT" ]
1
2015-08-19T04:17:19.000Z
2017-01-10T04:25:07.000Z
GoogleAppEngine_Side/main.py
nickolyamba/android-chem-app
10de27a7d3c102191a802b77595f7e1df9de96f8
[ "MIT" ]
null
null
null
import webapp2 from google.appengine.api import oauth config = {'Root':'default'} app = webapp2.WSGIApplication([ ('/supplier', 'supplier.Supplier'), ('/chemical', 'chemical.Chemical'), ('/solution', 'solution.Solution'), ('/signin', 'signin.GetToken'), ], debug=True) # Source: lecture + reading...
41.52
131
0.675337
142
1,038
4.93662
0.422535
0.077033
0.10271
0.162625
0.396576
0.365193
0.329529
0.318117
0.119829
0.119829
0
0.023182
0.085742
1,038
24
132
43.25
0.71549
0.259152
0
0
0
0.071429
0.498029
0.30749
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99375d02d8af6138c8648a2f1988d09b79164ef0
10,717
py
Python
test/test_macro/test_system_macro.py
takahish/lispy
8a6eaf209d1564d20b457cbac7428b78dc529241
[ "Apache-2.0" ]
4
2018-04-07T09:11:29.000Z
2021-11-20T03:02:07.000Z
test/test_macro/test_system_macro.py
takahish/clispy
8a6eaf209d1564d20b457cbac7428b78dc529241
[ "Apache-2.0" ]
null
null
null
test/test_macro/test_system_macro.py
takahish/clispy
8a6eaf209d1564d20b457cbac7428b78dc529241
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Takahiro Ishikawa. All Rights Reserved. # # 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 l...
35.022876
90
0.6318
1,050
10,717
6.405714
0.149524
0.103033
0.137377
0.152096
0.713946
0.689563
0.666964
0.66399
0.649718
0.634552
0
0.007677
0.246431
10,717
305
91
35.137705
0.825161
0.240086
0
0.521472
0
0
0.165283
0
0
0
0
0
0.147239
1
0.141104
false
0
0.02454
0
0.239264
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9937ef21bedb9e107b0f63a9a4954eb25023c101
1,181
py
Python
backend/routers/timeline.py
DavidLee0216/SWOOSH
1c6836a3403521837bafde46a232e2299381fffa
[ "MIT" ]
null
null
null
backend/routers/timeline.py
DavidLee0216/SWOOSH
1c6836a3403521837bafde46a232e2299381fffa
[ "MIT" ]
1
2021-08-09T08:31:32.000Z
2021-08-09T08:31:32.000Z
backend/routers/timeline.py
DavidLee0216/SWOOSH
1c6836a3403521837bafde46a232e2299381fffa
[ "MIT" ]
null
null
null
from flask import request, Blueprint from controllers import timelines from pkg.warpResponse import warpResponse timeline = Blueprint('timeline', __name__) @timeline.route("/", methods=['GET']) def getAllTimelines(): resp, code = timelines.FindAll() if resp is not None: return warpResponse(resp) ...
24.604167
49
0.653683
140
1,181
5.464286
0.278571
0.188235
0.172549
0.203922
0.487582
0.487582
0.414379
0.397386
0.397386
0.397386
0
0
0.224386
1,181
48
50
24.604167
0.835153
0
0
0.526316
0
0
0.038917
0
0
0
0
0
0
1
0.105263
false
0
0.078947
0
0.394737
0.052632
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
993f466fae0534530e04bf1546b7e07e4d7a2cf4
12,516
py
Python
base.py
Lemma1/DPFE
d36962014c17ef8599a2691d1126521ea8af77df
[ "MIT" ]
16
2018-07-02T09:32:47.000Z
2022-03-11T22:53:35.000Z
base.py
Lemma1/DPFE
d36962014c17ef8599a2691d1126521ea8af77df
[ "MIT" ]
null
null
null
base.py
Lemma1/DPFE
d36962014c17ef8599a2691d1126521ea8af77df
[ "MIT" ]
10
2019-06-23T12:00:58.000Z
2022-03-10T08:58:09.000Z
import numpy as np import pandas as pd import datetime import os import matplotlib.pyplot as plt import matplotlib import networkx as nx import pickle from collections import OrderedDict import copy from scipy.sparse import csr_matrix from scipy import io import seaborn as sns import joblib class Link: def __init_...
44.540925
204
0.641978
1,883
12,516
3.949018
0.090813
0.076251
0.061861
0.06993
0.685987
0.633271
0.602743
0.57262
0.543572
0.536848
0
0.010977
0.243049
12,516
281
205
44.540925
0.773908
0.293624
0
0.241573
0
0
0.011562
0
0
0
0
0
0
0
null
null
0.039326
0.089888
null
null
0.044944
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99409da1c0919cba851506e34467f887e87296b8
675
py
Python
Sample_Code/Problem_4.py
clarkbains/1405_Practice_Problems
f8b20e2d0e469000f08f3fb698f26f43d7394b33
[ "Unlicense" ]
null
null
null
Sample_Code/Problem_4.py
clarkbains/1405_Practice_Problems
f8b20e2d0e469000f08f3fb698f26f43d7394b33
[ "Unlicense" ]
null
null
null
Sample_Code/Problem_4.py
clarkbains/1405_Practice_Problems
f8b20e2d0e469000f08f3fb698f26f43d7394b33
[ "Unlicense" ]
null
null
null
while True: print ("Please Select an option. Q to Quit") print ("[1] - Add a course") print ("[2] - Drop a course") choice = input ("> ") if choice == 'q' or choice == 'Q': break choice = int(choice) if choice == 1: print ("Enter Course Name: ") course_name = input(">...
33.75
70
0.522963
84
675
4.130952
0.369048
0.172911
0.138329
0.115274
0.230548
0.230548
0.230548
0.230548
0
0
0
0.013187
0.325926
675
20
71
33.75
0.749451
0
0
0.2
0
0
0.278107
0
0
0
0
0
0
1
0
false
0
0
0
0
0.45
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9941ccd36b67ca3991eb67cd418b3ab181f51bdd
1,950
py
Python
xrpl/core/binarycodec/types/blob.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
1
2021-04-07T16:59:01.000Z
2021-04-07T16:59:01.000Z
xrpl/core/binarycodec/types/blob.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
2
2022-02-23T22:57:46.000Z
2022-02-24T11:41:49.000Z
xrpl/core/binarycodec/types/blob.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
1
2022-02-21T07:36:36.000Z
2022-02-21T07:36:36.000Z
""" Codec for serializing and deserializing blob fields. See `Blob Fields <https://xrpl.org/serialization.html#blob-fields>`_ """ from __future__ import annotations from typing import Type from xrpl.core.binarycodec.binary_wrappers.binary_parser import BinaryParser from xrpl.core.binarycodec.exceptions import XRPLBin...
31.451613
85
0.651795
227
1,950
5.46696
0.356828
0.048348
0.029009
0.0556
0.235294
0.156326
0.156326
0.156326
0.156326
0.156326
0
0
0.262564
1,950
61
86
31.967213
0.863004
0.38359
0
0.095238
0
0
0.117761
0.026062
0
0
0
0
0
1
0.142857
false
0
0.238095
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
994255401878b1fb01978ba525c437bce64bb457
724
py
Python
za/minstData/showImage.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
za/minstData/showImage.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
za/minstData/showImage.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
#%% import cv2 from cv2 import cv2 import numpy as np import shutil import os import random from PIL import Image import matplotlib.pyplot as plt rootPath = '..\..\dataAndModel\data\mnist\\' ID = random.randint(0, 10) label_txt = rootPath + 'objtrainlab.txt' image_info = open(label_txt).readlines()[ID].split() print...
23.354839
68
0.598066
99
724
4.292929
0.444444
0.084706
0.112941
0
0
0
0
0
0
0
0
0.036697
0.247238
724
30
69
24.133333
0.743119
0.01105
0
0
0
0
0.065919
0.043478
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9947ff4790538b71d2372c5e4115dde89d8beb1c
1,794
py
Python
blog/models.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
null
null
null
blog/models.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
null
null
null
blog/models.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
1
2020-09-18T08:52:10.000Z
2020-09-18T08:52:10.000Z
from __future__ import unicode_literals from django.utils.encoding import python_2_unicode_compatible from django.db import models from django.contrib.auth.models import User from django.core.urlresolvers import reverse import time def user_media_path(instance, filename): """ Returns the path to where a use...
34.5
87
0.65942
226
1,794
5.035398
0.517699
0.035149
0.026362
0.036907
0
0
0
0
0
0
0
0.016703
0.232441
1,794
51
88
35.176471
0.809731
0.277592
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.074074
0.814815
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
994c0c8269c5e33fba4966a7dcec4307a88eb109
1,010
py
Python
0/divide_two_int.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
4
2018-03-07T02:56:03.000Z
2021-06-15T05:43:31.000Z
0/divide_two_int.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
null
null
null
0/divide_two_int.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
1
2021-09-02T12:05:15.000Z
2021-09-02T12:05:15.000Z
class Solution(object): def divide(self, dividend, divisor): """ :type dividend: int :type divisor: int :rtype: int """ maxint = 2147483647 if divisor == 0: return maxint if dividend == 0: return 0 if divisor == 1: ...
25.25
76
0.480198
107
1,010
4.53271
0.299065
0.092784
0.065979
0.070103
0.185567
0.103093
0
0
0
0
0
0.066087
0.430693
1,010
39
77
25.897436
0.777391
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
995165bada7d5da653fc256e2c85518ff45a1604
5,810
py
Python
test/functional/test_payfac_legalEntity.py
Vantiv/payfac-mp-sdk-python
022b9a560d2cd18e4cda4d9f55a22c24bbdf29a3
[ "MIT" ]
1
2019-11-22T04:39:36.000Z
2019-11-22T04:39:36.000Z
test/functional/test_payfac_legalEntity.py
Vantiv/payfac-mp-sdk-python
022b9a560d2cd18e4cda4d9f55a22c24bbdf29a3
[ "MIT" ]
null
null
null
test/functional/test_payfac_legalEntity.py
Vantiv/payfac-mp-sdk-python
022b9a560d2cd18e4cda4d9f55a22c24bbdf29a3
[ "MIT" ]
3
2020-08-07T16:06:02.000Z
2021-02-03T20:20:45.000Z
import unittest from payfacMPSdk import payfac_legalEntity, generatedClass, utils from dateutil.parser import parse class TestLegalEntity(unittest.TestCase): def test_get_by_legalEntityId(self): response = payfac_legalEntity.get_by_legalEntityId("1000293") self.assertEquals("1000293", response["le...
49.65812
127
0.748881
482
5,810
8.834025
0.246888
0.04791
0.019962
0.028182
0.344528
0.282997
0.202442
0.155942
0.155942
0.155942
0
0.05074
0.162134
5,810
117
128
49.65812
0.823952
0
0
0.232323
1
0
0.126312
0.013767
0
0
0
0
0.131313
1
0.030303
false
0
0.030303
0
0.070707
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99545dcdf73d0860b70cff9bf4a5e5084c0a6ecc
505
py
Python
macaca/locator.py
macacajs/wd.py
dec84e25ca8fd948b41fd15bc3bfa912df0bbcf2
[ "MIT" ]
35
2016-08-09T07:15:48.000Z
2021-01-19T07:30:25.000Z
macaca/locator.py
macacajs/wd.py
dec84e25ca8fd948b41fd15bc3bfa912df0bbcf2
[ "MIT" ]
33
2016-08-10T03:36:01.000Z
2021-04-20T17:45:55.000Z
macaca/locator.py
macacajs/wd.py
dec84e25ca8fd948b41fd15bc3bfa912df0bbcf2
[ "MIT" ]
10
2016-08-17T23:41:47.000Z
2020-09-25T01:59:51.000Z
# # https://w3c.github.io/webdriver/webdriver-spec.html#locator-strategies # Locator according to WebDriver Protocol # from enum import Enum class Locator(Enum): """Locator Enum defined by WebDriver Protocol.""" ID = "id" XPATH = "xpath" LINK_TEXT = "link text" PARTIAL_LINK_TEXT = "partial link t...
24.047619
72
0.679208
64
505
5.234375
0.453125
0.095522
0.089552
0.113433
0.113433
0
0
0
0
0
0
0.002513
0.211881
505
20
73
25.25
0.839196
0.304951
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0.083333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
996269ac96c6afd27f1eb2c488e07f24c39cd101
1,193
py
Python
workflow/migrations/0006_tolabookmarks.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
null
null
null
workflow/migrations/0006_tolabookmarks.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
268
2020-03-31T15:46:59.000Z
2022-03-31T18:01:08.000Z
workflow/migrations/0006_tolabookmarks.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
1
2021-01-05T01:58:24.000Z
2021-01-05T01:58:24.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-12-05 03:11 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('workflow', '0005_auto_20161129_0101'), ] operations...
37.28125
115
0.602682
127
1,193
5.519685
0.527559
0.045649
0.059914
0.094151
0.419401
0.419401
0.419401
0.305278
0.305278
0.179743
0
0.042697
0.253982
1,193
31
116
38.483871
0.744944
0.056161
0
0
1
0
0.124666
0.020481
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9962bb3d40d43be25fdda7ce9c24e24655d0c599
1,426
py
Python
scripts/utils.py
deez79/PYTH2
9d449c73ab304dd20d924c115374b9c46d97a15f
[ "MIT" ]
7
2019-05-22T00:30:24.000Z
2020-03-26T04:28:07.000Z
scripts/utils.py
deez79/PYTH2
9d449c73ab304dd20d924c115374b9c46d97a15f
[ "MIT" ]
3
2020-03-24T17:01:22.000Z
2021-02-02T22:01:31.000Z
scripts/utils.py
deez79/PYTH2
9d449c73ab304dd20d924c115374b9c46d97a15f
[ "MIT" ]
6
2019-05-27T21:41:53.000Z
2020-03-12T18:35:17.000Z
import json import os from datetime import datetime # TODO: refactor the filename_parts bits... def does_dir_path_exist(filename, dirname="Notes"): filename_parts = filename.split('/') newdir = "/".join(filename_parts[0:-1]+[dirname]) filename_name = filename_parts.pop().split('.')[0] newfilepath = n...
26.90566
73
0.647966
188
1,426
4.744681
0.37234
0.102018
0.050448
0.058296
0.284753
0.284753
0.284753
0.284753
0.206278
0.206278
0
0.008889
0.21108
1,426
52
74
27.423077
0.781333
0.028752
0
0.205128
0
0
0.046276
0.021692
0
0
0
0.019231
0
1
0.102564
false
0
0.076923
0
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9966e0db159890dc8e041314e9dca4b0f39b6a41
503
py
Python
crawler_magazine/crawlers/__init__.py
EvertonTomalok/magazine
cc6d05d131b87011df5b7cb1eec67dfaefb976e7
[ "MIT" ]
null
null
null
crawler_magazine/crawlers/__init__.py
EvertonTomalok/magazine
cc6d05d131b87011df5b7cb1eec67dfaefb976e7
[ "MIT" ]
null
null
null
crawler_magazine/crawlers/__init__.py
EvertonTomalok/magazine
cc6d05d131b87011df5b7cb1eec67dfaefb976e7
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from crawler_magazine.downloader.asynchronous import AsyncDownloader class CrawlerInterface(ABC): def __init__(self, url): self.url = url self.downloader = AsyncDownloader() async def get_page(self, url=None): return await self.downloader.get(url o...
23.952381
68
0.673956
59
503
5.644068
0.508475
0.084084
0.048048
0.114114
0
0
0
0
0
0
0
0
0.228628
503
20
69
25.15
0.858247
0.089463
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
996c66464b1f78c6981c63c1555430a1dc3b7d64
786
py
Python
Define_Projection_of_SHAPEFILES_in_folder.py
mcfoi/arcpy-toolbox
348ef55c7235b7c1eeece06aa4a0a244674f893e
[ "Apache-2.0" ]
3
2015-04-24T15:36:33.000Z
2020-08-06T16:53:56.000Z
Define_Projection_of_SHAPEFILES_in_folder.py
mcfoi/arcpy-toolbox
348ef55c7235b7c1eeece06aa4a0a244674f893e
[ "Apache-2.0" ]
null
null
null
Define_Projection_of_SHAPEFILES_in_folder.py
mcfoi/arcpy-toolbox
348ef55c7235b7c1eeece06aa4a0a244674f893e
[ "Apache-2.0" ]
1
2020-07-21T00:11:51.000Z
2020-07-21T00:11:51.000Z
# -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # Defin_Projection_GB_for_folder.py # Created on: 2015-04-04 12:22:48.00000 # (generated by ArcGIS/ModelBuilder) # Description: # --------------------------------------------------------------------------- # Import ...
28.071429
77
0.618321
73
786
6.589041
0.739726
0.045738
0
0
0
0
0
0
0
0
0
0.031655
0.115776
786
28
78
28.071429
0.660432
0.530534
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
996de3f79b4f515202a36a2d073a966cef51134e
1,977
py
Python
applications/SwimmingDEMApplication/python_scripts/derivative_recovery/standard_recoverer.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
applications/SwimmingDEMApplication/python_scripts/derivative_recovery/standard_recoverer.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-04-30T19:19:09.000Z
2020-05-02T14:22:36.000Z
applications/SwimmingDEMApplication/python_scripts/derivative_recovery/standard_recoverer.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
from __future__ import print_function, absolute_import, division # makes KratosMultiphysics backward compatible with python 2.6 and 2.7 # importing the Kratos Library from KratosMultiphysics import * from KratosMultiphysics.FluidDynamicsApplication import * from KratosMultiphysics.SwimmingDEMApplication import * from ...
63.774194
151
0.827516
198
1,977
7.863636
0.313131
0.057803
0.038536
0.057803
0.299936
0.256262
0.213873
0.154143
0.083494
0.083494
0
0.002273
0.109762
1,977
30
152
65.9
0.882386
0.049064
0
0.115385
0
0
0
0
0
0
0
0
0
1
0.346154
false
0
0.192308
0
0.653846
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
996ea0a2799e7ed84a686793cb7de4ec6a4a0c22
8,894
py
Python
fe_utils/cluster.py
ml-pipes/future_engineering_utils
49caef300819ae3d52c2bbf1fa8ba5b7018aca8e
[ "Apache-2.0" ]
null
null
null
fe_utils/cluster.py
ml-pipes/future_engineering_utils
49caef300819ae3d52c2bbf1fa8ba5b7018aca8e
[ "Apache-2.0" ]
null
null
null
fe_utils/cluster.py
ml-pipes/future_engineering_utils
49caef300819ae3d52c2bbf1fa8ba5b7018aca8e
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_cluster.ipynb (unless otherwise specified). __all__ = ['load_embedding', 'BayesClusterTrainer'] # Cell from functools import partial import hdbscan from hyperopt import hp from hyperopt import fmin, tpe, space_eval from hyperopt import Trials from hyperopt import STATUS_...
35.718876
155
0.582977
932
8,894
5.302575
0.214592
0.025496
0.021854
0.022663
0.313638
0.238567
0.159652
0.111898
0.099352
0.099352
0
0.004318
0.323027
8,894
249
156
35.718876
0.816476
0.094895
0
0.096774
1
0
0.143093
0.036534
0
0
0
0
0
1
0.045161
false
0
0.116129
0
0.206452
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9971ce50f8e0de43df4fbd2598507c7e54f831fe
2,266
py
Python
checkmetadata.py
jkalkhof/MediaServer
092e8bf3cddd6f14007cd3d46146bdd79367067a
[ "MIT" ]
null
null
null
checkmetadata.py
jkalkhof/MediaServer
092e8bf3cddd6f14007cd3d46146bdd79367067a
[ "MIT" ]
null
null
null
checkmetadata.py
jkalkhof/MediaServer
092e8bf3cddd6f14007cd3d46146bdd79367067a
[ "MIT" ]
null
null
null
import ffmpy, subprocess, json import argparse def main(): # Globals in Python are global to a module, not across all modules. # global validDatesDict # global stripDates # TODO: use command line parameters to determine path to scan # https://stackabuse.com/command-line-arguments-in-python/ ...
43.576923
206
0.661518
280
2,266
5.271429
0.425
0.089431
0.108401
0.060976
0.191057
0.147696
0.094851
0.054201
0.054201
0
0
0.005829
0.167255
2,266
51
207
44.431373
0.776365
0.407326
0
0
0
0
0.270331
0
0
0
0
0.019608
0
1
0.038462
false
0
0.076923
0
0.115385
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9988f3a22b38631591e226d19c68d351a58c0012
333
py
Python
LeetCode/Python/1295. Find Numbers with Even Number of Digits #2.py
rayvantsahni/Competitive-Programming-Codes
39ba91b69ad8ce7dce554f7817c2f0d5545ef471
[ "MIT" ]
1
2021-07-05T14:01:36.000Z
2021-07-05T14:01:36.000Z
LeetCode/Python/1295. Find Numbers with Even Number of Digits #2.py
rayvantsahni/Competitive-Programming-and-Interview-Prep
39ba91b69ad8ce7dce554f7817c2f0d5545ef471
[ "MIT" ]
null
null
null
LeetCode/Python/1295. Find Numbers with Even Number of Digits #2.py
rayvantsahni/Competitive-Programming-and-Interview-Prep
39ba91b69ad8ce7dce554f7817c2f0d5545ef471
[ "MIT" ]
null
null
null
class Solution: def numLength(self, n): count = 0 while n: n //= 10 count += 1 return count def findNumbers(self, arr: List[int]) -> int: count = 0 for a in arr: if not self.numLength(a) & 1: count += 1 ...
22.2
49
0.435435
39
333
3.717949
0.538462
0.082759
0.165517
0.234483
0
0
0
0
0
0
0
0.04
0.474474
333
14
50
23.785714
0.788571
0
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
998fbf4bdf9024bc4b7c3fd9b79e7ed4887d21b5
3,688
py
Python
CarlaScripts/new_static_cam_2veh_sem_go.py
ayushjain1144/SeeingByMoving
64bcfa4b292dacc91f92f2542e11d489b1fa2c8a
[ "Apache-2.0" ]
13
2020-12-05T17:30:59.000Z
2022-03-19T00:02:31.000Z
CarlaScripts/new_static_cam_2veh_sem_go.py
ayushjain1144/SeeingByMoving
64bcfa4b292dacc91f92f2542e11d489b1fa2c8a
[ "Apache-2.0" ]
null
null
null
CarlaScripts/new_static_cam_2veh_sem_go.py
ayushjain1144/SeeingByMoving
64bcfa4b292dacc91f92f2542e11d489b1fa2c8a
[ "Apache-2.0" ]
1
2020-12-31T08:53:34.000Z
2020-12-31T08:53:34.000Z
from subprocess import Popen, PIPE, STDOUT import shlex import time import sys import psutil import os, signal mod = 'aa' # first good moving camera data generated with carla version 0.97 mod = 'test' # 100 views #mod = 'ab' # 88 views, yaw 0 to 359nes - 5 sceenes test mod = 'ac' # 51 views, yaw 0 to 359 - 10 scenes...
32.350877
107
0.594089
520
3,688
4.180769
0.330769
0.051518
0.057958
0.070837
0.537718
0.520699
0.471941
0.471941
0.448022
0.365225
0
0.063861
0.265456
3,688
113
108
32.637168
0.738649
0.343004
0
0.333333
1
0.011494
0.204107
0.045264
0
0
0
0
0
1
0
false
0.022989
0.068966
0
0.068966
0.126437
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9990f25e293eece1431d5932dab89131cfc96d1a
8,391
py
Python
src/py-entry-central/nightjar_central/tests/generate_test.py
groboclown/nightjar-mesh
3655307b4a0ad00a0f18db835b3a0d04cb8e9615
[ "MIT" ]
3
2019-12-23T23:46:02.000Z
2020-08-07T23:10:20.000Z
src/py-entry-central/nightjar_central/tests/generate_test.py
groboclown/nightjar-mesh
3655307b4a0ad00a0f18db835b3a0d04cb8e9615
[ "MIT" ]
2
2020-02-07T15:59:15.000Z
2020-08-05T21:55:27.000Z
src/py-entry-central/nightjar_central/tests/generate_test.py
groboclown/nightjar-mesh
3655307b4a0ad00a0f18db835b3a0d04cb8e9615
[ "MIT" ]
1
2020-05-28T00:46:05.000Z
2020-05-28T00:46:05.000Z
""" Test the generate module. """ from typing import List, Dict, Optional, Any import unittest import os import platform import shutil import json from .. import generate from ..config import ( Config, ENV__DATA_STORE_EXEC, ENV__DISCOVERY_MAP_EXEC, ) class GenerateDataImplTest(unittest.TestCase): """Tes...
40.931707
94
0.639137
1,057
8,391
4.768212
0.144749
0.083333
0.032738
0.068452
0.710714
0.681349
0.634127
0.601786
0.565476
0.565278
0
0.004566
0.243118
8,391
204
95
41.132353
0.78901
0.116434
0
0.524691
1
0
0.046943
0.00696
0
0
0
0
0.166667
1
0.104938
false
0
0.049383
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99981ee2c6c8b292e4152939916a8df69a9682df
2,524
py
Python
src/genie/libs/parser/iosxr/tests/ShowSpanningTreePvrsTag/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxr/tests/ShowSpanningTreePvrsTag/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxr/tests/ShowSpanningTreePvrsTag/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'pvrstag': { 'foo': { 'domain': 'foo', 'interfaces': { 'GigabitEthernet0/0/0/0': { 'interface': 'GigabitEthernet0/0/0/0', 'vlans': { '5': { 'preempt_delay...
40.709677
89
0.290016
153
2,524
4.555556
0.359477
0.025825
0.15495
0.15495
0.748924
0.502152
0.502152
0.502152
0.502152
0.370158
0
0.106319
0.604992
2,524
61
90
41.377049
0.592778
0
0
0.474576
0
0
0.27954
0.053925
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
999c2624b1837ebe55219b4b35792c47b8a5d616
735
py
Python
Robot Code/autonomous/driveForwards.py
cboy116/Team-4480-Code-2018
8c4bd92bc65695544e8a176205d9685e80e3dcb2
[ "MIT" ]
4
2018-01-14T01:14:13.000Z
2018-10-06T03:07:26.000Z
Robot Code/autonomous/driveForwards.py
cboy116/Team-4480-Code-2018
8c4bd92bc65695544e8a176205d9685e80e3dcb2
[ "MIT" ]
16
2018-01-14T01:15:49.000Z
2018-03-09T17:39:38.000Z
Robot Code/autonomous/driveForwards.py
cboy116/Team-4480-Code-2018
8c4bd92bc65695544e8a176205d9685e80e3dcb2
[ "MIT" ]
4
2018-01-29T20:27:01.000Z
2018-10-06T03:07:23.000Z
from robotpy_ext.autonomous import StatefulAutonomous, timed_state, state class DriveForward(StatefulAutonomous): DEFAULT = False MODE_NAME = 'Drive Forward' def initialize(self): self.drive.setAutoSetpoint(696.75*10.5*12) @timed_state(duration=0.5, next_state='drive_forward', first=True...
28.269231
73
0.663946
92
735
5.184783
0.434783
0.132075
0.109015
0.125786
0.148847
0.104822
0
0
0
0
0
0.034722
0.216327
735
25
74
29.4
0.793403
0
0
0.157895
0
0
0.046259
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
99a7b8fe77219408f3d24515cd2c377807ea9061
572
py
Python
GUI/Basic-train/Multi-Thread/MWE.py
muyuuuu/PyQt-learn
a9134566505c88ae9d46ae23480b140c8c911c33
[ "Apache-2.0" ]
12
2020-05-10T13:31:07.000Z
2022-03-25T06:07:28.000Z
GUI/Basic-train/Multi-Thread/MWE.py
muyuuuu/PyQt-learn
a9134566505c88ae9d46ae23480b140c8c911c33
[ "Apache-2.0" ]
null
null
null
GUI/Basic-train/Multi-Thread/MWE.py
muyuuuu/PyQt-learn
a9134566505c88ae9d46ae23480b140c8c911c33
[ "Apache-2.0" ]
8
2020-02-21T08:22:03.000Z
2021-09-24T19:37:30.000Z
import sys, time from PyQt5.QtWidgets import QMainWindow, QWidget, QHBoxLayout, QApplication, QPushButton class mainwindow(QMainWindow): def __init__(self): super(mainwindow, self).__init__() layout = QHBoxLayout() w = QWidget() w.setLayout(layout) self.setCentralWidget(w)...
22.88
88
0.625874
60
572
5.7
0.6
0
0
0
0
0
0
0
0
0
0
0.002347
0.255245
572
25
89
22.88
0.800469
0
0
0
0
0
0.017452
0
0
0
0
0
0
1
0.105263
false
0.052632
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
99a7c9f84ffc6876992219c2634458a1a8d2181d
830
py
Python
rbldap/commands/enable.py
butlerx/rb-ldap-python
8559e62d3463576bebaa26f209820ece40b5bfa5
[ "Apache-2.0" ]
null
null
null
rbldap/commands/enable.py
butlerx/rb-ldap-python
8559e62d3463576bebaa26f209820ece40b5bfa5
[ "Apache-2.0" ]
null
null
null
rbldap/commands/enable.py
butlerx/rb-ldap-python
8559e62d3463576bebaa26f209820ece40b5bfa5
[ "Apache-2.0" ]
null
null
null
"""enable command""" from ldap3 import MODIFY_REPLACE from ..accounts.clients import LDAPConnection async def enable(rb_client: LDAPConnection, commit: bool, username: str) -> int: """ Renable a Users LDAP Account Args: rb_client: ldap client configured for redbrick ldap commit: flag to...
26.774194
80
0.63253
99
830
5.252525
0.666667
0.046154
0
0
0
0
0
0
0
0
0
0.003328
0.275904
830
30
81
27.666667
0.861897
0.016867
0
0
0
0
0.208861
0.126582
0
0
0
0
0
1
0
true
0
0.181818
0
0.272727
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
99a812b55684d4669b392ef79e7525559c2158c7
1,658
py
Python
LEVEL1/키패드누르기/solution.py
seunghwanly/CODING-TEST
a820da950c163d399594770199aa2e782d1fbbde
[ "MIT" ]
null
null
null
LEVEL1/키패드누르기/solution.py
seunghwanly/CODING-TEST
a820da950c163d399594770199aa2e782d1fbbde
[ "MIT" ]
null
null
null
LEVEL1/키패드누르기/solution.py
seunghwanly/CODING-TEST
a820da950c163d399594770199aa2e782d1fbbde
[ "MIT" ]
null
null
null
def solution(numbers, hand): answer = '' pad = [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9'], ['*', '0', '#']] # [y][x] leftCurr = [3, 0] rightCurr = [3, 2] for number in numbers: for idx, line in enumerate(pad): if str(number) in line: res = line.index...
35.276596
82
0.322075
147
1,658
3.632653
0.285714
0.067416
0.067416
0.101124
0.205993
0.198502
0.108614
0
0
0
0
0.066934
0.549457
1,658
47
83
35.276596
0.647925
0.039807
0
0.5
0
0
0.016352
0
0
0
0
0
0
1
0.025
false
0
0
0
0.05
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99ab88c1aad77f21e835d25b8eccd142e9f17ac8
2,373
py
Python
scripts/tweetsearch.py
xytosis/dataworx
3b52dc307c0e24d8fd64ad0714ba480c41f2af9e
[ "Apache-2.0" ]
6
2015-12-30T18:24:01.000Z
2021-11-15T10:40:16.000Z
scripts/tweetsearch.py
xytosis/dataworx
3b52dc307c0e24d8fd64ad0714ba480c41f2af9e
[ "Apache-2.0" ]
null
null
null
scripts/tweetsearch.py
xytosis/dataworx
3b52dc307c0e24d8fd64ad0714ba480c41f2af9e
[ "Apache-2.0" ]
null
null
null
# Class to store tweet information import oauth2 import urllib2 import json import sys class Tweet: def __init__(self, date, idd, text, username, location): self.date = date self.id = idd self.text = text.replace("\n", " ") self.username = username.replace("\n", " ") self.lo...
31.223684
98
0.63169
295
2,373
4.898305
0.40339
0.051903
0.03737
0.035986
0
0
0
0
0
0
0
0.011931
0.222925
2,373
75
99
31.64
0.771692
0.09271
0
0.066667
0
0
0.133675
0.010713
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41d52ab001b95e1f7a0b2e26572129cabdf26658
2,002
py
Python
xpath_blindeye/retrieve.py
OnBloom/xpath-blindeye
d71375fa8173d3f6598e11c927267c9b74947fa5
[ "MIT" ]
2
2020-09-20T00:19:57.000Z
2020-09-20T00:20:02.000Z
xpath_blindeye/retrieve.py
OnBloom/xpath-blindeye
d71375fa8173d3f6598e11c927267c9b74947fa5
[ "MIT" ]
null
null
null
xpath_blindeye/retrieve.py
OnBloom/xpath-blindeye
d71375fa8173d3f6598e11c927267c9b74947fa5
[ "MIT" ]
1
2020-09-20T00:20:04.000Z
2020-09-20T00:20:04.000Z
import os import hashlib import logging import traceback from typing import Union from xml.etree.ElementTree import Element, SubElement, parse, ElementTree from xpath_blindeye.xnode import XNode from xpath_blindeye.util import prettify from xpath_blindeye.config import ROOT_PATH, URL logger = logging.getLogger("xpath...
31.28125
112
0.686813
271
2,002
4.841328
0.317343
0.060976
0.045732
0.036585
0
0
0
0
0
0
0
0.002559
0.219281
2,002
63
113
31.777778
0.836852
0.03996
0
0.115385
0
0
0.059499
0.012004
0
0
0
0
0
1
0.038462
false
0.057692
0.173077
0
0.211538
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
41d876356df072f28f554c4e26386849ef5c5ea3
2,493
py
Python
openstack/identity/v3/group.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
openstack/identity/v3/group.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
openstack/identity/v3/group.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
# 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 t...
34.150685
75
0.661051
329
2,493
4.924012
0.428571
0.037037
0.035185
0.035185
0.17963
0.160494
0.160494
0.114815
0.114815
0.114815
0
0.006959
0.250702
2,493
72
76
34.625
0.860278
0.414761
0
0.282051
0
0
0.052706
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.589744
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
41de370010238b03a845d87b99c50a3845cad5b5
2,468
py
Python
tidycsv/core/parsing.py
gmagannaDevelop/tidyCSV.py
c50f5b83c520c5eff63d4c0be0a01f60cf61af3d
[ "MIT" ]
2
2021-05-10T04:16:50.000Z
2021-11-08T15:44:15.000Z
tidycsv/core/parsing.py
gmagannaDevelop/tidyCSV.py
c50f5b83c520c5eff63d4c0be0a01f60cf61af3d
[ "MIT" ]
null
null
null
tidycsv/core/parsing.py
gmagannaDevelop/tidyCSV.py
c50f5b83c520c5eff63d4c0be0a01f60cf61af3d
[ "MIT" ]
null
null
null
""" Parsing functions All the functions needed to parse an arbitrary csv file and find the biggest semantically coherent group (set) of lines. This maximum set is what we call a "tidy csv", implying that the underlying idea of a consistent comma-separated observations are present. Som...
29.035294
88
0.597245
329
2,468
4.392097
0.449848
0.056055
0.022837
0.029066
0.031834
0.031834
0
0
0
0
0
0.01649
0.311994
2,468
84
89
29.380952
0.834511
0.576175
0
0
0
0
0.042775
0.024277
0
0
0
0.011905
0
1
0.1
false
0
0.15
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
41e1519dba847d3a257c50e971c41e5819ca56ba
2,912
py
Python
sh/get_GFED4s_CO_emissions.py
stevenjoelbrey/PMFutures
8c6ba7576d6c3a1f0279ec8aff446478c495d184
[ "MIT" ]
1
2022-03-13T03:42:12.000Z
2022-03-13T03:42:12.000Z
sh/get_GFED4s_CO_emissions.py
stevenjoelbrey/PMFutures
8c6ba7576d6c3a1f0279ec8aff446478c495d184
[ "MIT" ]
null
null
null
sh/get_GFED4s_CO_emissions.py
stevenjoelbrey/PMFutures
8c6ba7576d6c3a1f0279ec8aff446478c495d184
[ "MIT" ]
3
2018-02-14T16:34:01.000Z
2021-02-18T02:12:13.000Z
#!/usr/bin/env python2 import numpy as np import h5py # if this creates an error please make sure you have the h5py library months = '01','02','03','04','05','06','07','08','09','10','11','12' sources = 'SAVA','BORF','TEMF','DEFO','PEAT','AGRI' # in this example we will calculate annual CO emissions for t...
31.311828
84
0.616071
412
2,912
4.271845
0.419903
0.03125
0.022159
0.026136
0
0
0
0
0
0
0
0.048905
0.262706
2,912
92
85
31.652174
0.770843
0.35886
0
0
0
0
0.105293
0.040276
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41e497b652cbd4c879c06d86bdd0670e1aa243c1
1,224
py
Python
modules/quiz/models.py
Maurilearn/learnings
0af03e5646c9053b3cfc27465983ce466ad2f3cb
[ "MIT" ]
null
null
null
modules/quiz/models.py
Maurilearn/learnings
0af03e5646c9053b3cfc27465983ce466ad2f3cb
[ "MIT" ]
null
null
null
modules/quiz/models.py
Maurilearn/learnings
0af03e5646c9053b3cfc27465983ce466ad2f3cb
[ "MIT" ]
null
null
null
from shopyoapi.init import db class Quiz(db.Model): __tablename__ = 'quizes' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(100)) question = db.Column(db.String(100)) section_id = db.Column(db.Integer, db.ForeignKey('sections.id'), nullable=False) # https://sta...
27.818182
85
0.639706
159
1,224
4.842767
0.358491
0.077922
0.168831
0.148052
0.549351
0.475325
0.475325
0.394805
0.309091
0.309091
0
0.014553
0.214052
1,224
44
86
27.818182
0.785863
0.064542
0
0.606061
0
0
0.071678
0
0
0
0
0
0
1
0.181818
false
0
0.030303
0
0.606061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
41e6092b1c08a454f1cd87ad0776a2078e7fb818
5,863
py
Python
conans/test/functional/toolchains/apple/test_xcodebuild_targets.py
Mu-L/conan
7c24ec4bbd6e8c16cdcd879403aae742689bc36a
[ "MIT" ]
1
2019-11-04T17:23:09.000Z
2019-11-04T17:23:09.000Z
conans/test/functional/toolchains/apple/test_xcodebuild_targets.py
Mu-L/conan
7c24ec4bbd6e8c16cdcd879403aae742689bc36a
[ "MIT" ]
1
2020-11-05T16:16:49.000Z
2020-11-05T16:16:49.000Z
conans/test/functional/toolchains/apple/test_xcodebuild_targets.py
Mattlk13/conan
005fc53485557b0a570bb71670f2ca9c66082165
[ "MIT" ]
null
null
null
import platform import textwrap import pytest from conans.test.utils.tools import TestClient xcode_project = textwrap.dedent(""" name: HelloLibrary targets: hello-static: type: library.static platform: macOS sources: - src configFiles: Debug: static.x...
32.038251
123
0.611291
663
5,863
5.310709
0.273002
0.035785
0.014201
0.019881
0.328032
0.299631
0.236013
0.216132
0.200795
0.190287
0
0.00369
0.260447
5,863
182
124
32.214286
0.808349
0.039741
0
0.258741
0
0.048951
0.796613
0.173975
0
0
0
0
0.027972
1
0.006993
false
0
0.083916
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41ea2cd5f2bb9f02b9f237b457f415e12a06b071
1,032
py
Python
stardog/http/virtual_graphs.py
fventuri-availity/pystardog
33db52d622eafceadb83f6279acd5118b3717be4
[ "Apache-2.0" ]
null
null
null
stardog/http/virtual_graphs.py
fventuri-availity/pystardog
33db52d622eafceadb83f6279acd5118b3717be4
[ "Apache-2.0" ]
null
null
null
stardog/http/virtual_graphs.py
fventuri-availity/pystardog
33db52d622eafceadb83f6279acd5118b3717be4
[ "Apache-2.0" ]
null
null
null
from .. import content_types as content_types class VirtualGraph(object): def __init__(self, name, client): self.name = name self.client = client @property def path(self): return '/admin/virtual_graphs/{}'.format(self.name) def update(self, name, mappings, options): m...
25.170732
70
0.581395
120
1,032
4.883333
0.3
0.081911
0.056314
0.071672
0.12628
0.12628
0.088737
0
0
0
0
0
0.285853
1,032
40
71
25.8
0.795115
0
0
0.066667
0
0
0.089147
0.023256
0
0
0
0
0
1
0.266667
false
0
0.033333
0.066667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
41ea7d31ac58dd503eb0ac50158e12eefc9e7c66
3,930
py
Python
repositories/vcs/base.py
washingtontimes/django-repositories
7400397d2f35a8ccf01f0a9aef5747803f6d4620
[ "Apache-2.0" ]
2
2015-09-28T10:08:05.000Z
2019-06-13T16:18:54.000Z
repositories/vcs/base.py
washingtontimes/django-repositories
7400397d2f35a8ccf01f0a9aef5747803f6d4620
[ "Apache-2.0" ]
null
null
null
repositories/vcs/base.py
washingtontimes/django-repositories
7400397d2f35a8ccf01f0a9aef5747803f6d4620
[ "Apache-2.0" ]
null
null
null
import os, shutil import settings class BaseVCS(object): def __init__(self, name, anonymous_access, template=None): """ A base class to handle Version Control System functions name = name of the repository anonymous_access = Is it public? template = The name of the ...
29.772727
93
0.572519
445
3,930
4.948315
0.233708
0.039964
0.073569
0.027248
0.280654
0.259764
0.165304
0.165304
0.165304
0.144414
0
0
0.331298
3,930
131
94
30
0.8379
0.249364
0
0.245614
0
0
0.050618
0
0
0
0
0
0
1
0.280702
false
0
0.035088
0
0.385965
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
41eb16cd7285fe3d4b2b7f811f9958742de55d88
582
py
Python
telegram_bot/webhook.py
ProgrammingLanguageLeader/MathematicianBot
a4627962a6c8bfac76013d80780997ab4b0f7952
[ "MIT" ]
null
null
null
telegram_bot/webhook.py
ProgrammingLanguageLeader/MathematicianBot
a4627962a6c8bfac76013d80780997ab4b0f7952
[ "MIT" ]
16
2018-03-05T14:25:16.000Z
2022-03-11T23:46:56.000Z
telegram_bot/webhook.py
ProgrammingLanguageLeader/MathematicianBot
a4627962a6c8bfac76013d80780997ab4b0f7952
[ "MIT" ]
null
null
null
import logging from flask import current_app from telegram import Bot def set_webhook() -> Bot: logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO ) host_url = current_app.config.get('HOST_URL') host_port = current_app.config.get('HO...
24.25
70
0.61512
73
582
4.684932
0.369863
0.116959
0.140351
0.166667
0.134503
0
0
0
0
0
0
0
0.264605
582
23
71
25.304348
0.799065
0
0
0
0
0
0.171821
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41f74d8882d4c3a6040ab4699cd04b8aa7f51ee0
3,272
py
Python
src/parallel_graph_distance_driver.py
Abdumaleek/infinity-mirror
b493c5602d9e4bcf374b748e9b80e7c85be54a88
[ "MIT" ]
null
null
null
src/parallel_graph_distance_driver.py
Abdumaleek/infinity-mirror
b493c5602d9e4bcf374b748e9b80e7c85be54a88
[ "MIT" ]
null
null
null
src/parallel_graph_distance_driver.py
Abdumaleek/infinity-mirror
b493c5602d9e4bcf374b748e9b80e7c85be54a88
[ "MIT" ]
null
null
null
import os import sys; from pathlib import Path sys.path.extend('../') import pandas as pd from src.graph_distance import GraphDistance import networkx as nx from src.graph_stats import GraphStats from src.parallel import parallel_async from src.utils import load_pickle, get_imt_input_directory, walker, ColorPrint, e...
41.417722
131
0.619499
379
3,272
5.137203
0.390501
0.043143
0.024653
0.021572
0
0
0
0
0
0
0
0.003689
0.254279
3,272
78
132
41.948718
0.794262
0.213936
0
0.04
0
0
0.125
0.019141
0
0
0
0.012821
0
1
0.02
false
0
0.18
0
0.22
0.06
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
41fadccaeb485ee1636cdc7887c0f49c56225361
5,461
py
Python
inspection_sdk/api/template/delete_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
inspection_sdk/api/template/delete_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
inspection_sdk/api/template/delete_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: delete.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impo...
38.730496
452
0.76323
641
5,461
6.223089
0.224649
0.04011
0.04738
0.024066
0.460266
0.438706
0.431687
0.412635
0.393582
0.367009
0
0.034626
0.116828
5,461
140
453
39.007143
0.792453
0.058231
0
0.586207
1
0.008621
0.209932
0.175657
0
0
0
0
0
1
0
false
0
0.051724
0
0.051724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41fd15a58d426f1adf8822277793702ad17dc45e
953
py
Python
Week6/Day5/dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
null
null
null
Week6/Day5/dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
null
null
null
Week6/Day5/dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
1
2021-10-09T19:01:08.000Z
2021-10-09T19:01:08.000Z
import json import random import psycopg2 import requests HOSTNAME = 'localhost' USERNAME = 'postgres' PASSWORD = 'root' DATABASE = 'MenuPython1' connection = psycopg2.connect(host=HOSTNAME, user=USERNAME, password=PASSWORD, dbname=DATABASE) api_key = "6093e2f571371906610bafc6d866a247" api_url = "http://api.country...
25.756757
134
0.717733
111
953
6.108108
0.540541
0.053097
0.073746
0.091445
0
0
0
0
0
0
0
0.046117
0.135362
953
36
135
26.472222
0.776699
0.01574
0
0
0
0.038462
0.275641
0.129274
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
510234733bf0fb5738698cd1ffd3b19ca8789183
520
py
Python
mooringlicensing/migrations/0204_stickerprintingresponse_email_from.py
jawaidm/mooringlicensing
b22e74209da8655c8ad3af99e00f36d17c8ef73f
[ "Apache-2.0" ]
null
null
null
mooringlicensing/migrations/0204_stickerprintingresponse_email_from.py
jawaidm/mooringlicensing
b22e74209da8655c8ad3af99e00f36d17c8ef73f
[ "Apache-2.0" ]
2
2021-03-05T06:48:11.000Z
2021-03-26T08:14:17.000Z
mooringlicensing/migrations/0204_stickerprintingresponse_email_from.py
jawaidm/mooringlicensing
b22e74209da8655c8ad3af99e00f36d17c8ef73f
[ "Apache-2.0" ]
2
2021-09-19T15:45:19.000Z
2021-10-05T05:07:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-08-05 04:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mooringlicensing', '0203_stickerprintingresponse_email_date'), ] operations = [ ...
24.761905
74
0.655769
55
520
6
0.781818
0
0
0
0
0
0
0
0
0
0
0.062814
0.234615
520
20
75
26
0.766332
0.132692
0
0
1
0
0.196429
0.138393
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
510bc02e3a426e1fd4bfa43c8e28806452b04df5
1,227
py
Python
my_university_api/application/api/mongodb/models.py
LittleBitProgrammer/myUniversity
a03ce2349aa8a0dae63e0665dd97323403aec794
[ "Apache-2.0" ]
1
2020-06-02T22:58:04.000Z
2020-06-02T22:58:04.000Z
my_university_api/application/api/mongodb/models.py
LittleBitProgrammer/myUniversity
a03ce2349aa8a0dae63e0665dd97323403aec794
[ "Apache-2.0" ]
1
2020-05-30T13:07:08.000Z
2020-05-30T13:07:08.000Z
my_university_api/application/api/mongodb/models.py
robertove93/myUniversity
a03ce2349aa8a0dae63e0665dd97323403aec794
[ "Apache-2.0" ]
null
null
null
from flask_restx import fields from application.api.mongodb import * freshman_model = mongodb.model('freshman', { 'matricola': fields.String }) id_conversation_model = mongodb.model('id_conversation_model', { 'id_conversation': fields.String }) send_message_model = mongodb.model('insert_message', { 'id_c...
29.214286
68
0.737571
132
1,227
6.590909
0.272727
0.248276
0.136782
0.1
0.390805
0.390805
0.190805
0.190805
0.190805
0.190805
0
0.003759
0.132844
1,227
42
69
29.214286
0.81391
0
0
0.428571
0
0
0.305375
0.089577
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
510e93c63b1ddcd7c9eb383d133743d7942334bc
4,071
py
Python
faster_rcnn/rpn_gt_opr.py
tendence/faster_rcnn
55810bc759482acc1a047f949cc0bda942329df1
[ "MIT" ]
1
2017-12-08T02:44:40.000Z
2017-12-08T02:44:40.000Z
faster_rcnn/rpn_gt_opr.py
tendence/faster_rcnn
55810bc759482acc1a047f949cc0bda942329df1
[ "MIT" ]
null
null
null
faster_rcnn/rpn_gt_opr.py
tendence/faster_rcnn
55810bc759482acc1a047f949cc0bda942329df1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Copyright 2017, Mengxiao Lin <linmx0130@gmail.com> import mxnet as mx from .anchor_generator import generate_anchors, map_anchors import numpy as np from .utils import bbox_overlaps, bbox_transform from .config import cfg def rpn_gt_opr(reg_shape, label, ctx, img_h, img_w, return_anchors=False): ...
53.565789
150
0.686072
654
4,071
3.989297
0.201835
0.056343
0.072442
0.114987
0.520506
0.466079
0.412802
0.298582
0.225374
0.152166
0
0.03043
0.176615
4,071
75
151
54.28
0.747912
0.128961
0
0.037037
1
0
0
0
0
0
0
0
0
1
0.018519
false
0
0.092593
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
511c7cab232fef13a2d0d9001ce10fc9010a660e
472
py
Python
tfm_server/political_clasification/forms.py
ricardocancar/TFM
6f4fc95404ff384cc9af3997ae0f416846950f67
[ "Apache-2.0" ]
null
null
null
tfm_server/political_clasification/forms.py
ricardocancar/TFM
6f4fc95404ff384cc9af3997ae0f416846950f67
[ "Apache-2.0" ]
null
null
null
tfm_server/political_clasification/forms.py
ricardocancar/TFM
6f4fc95404ff384cc9af3997ae0f416846950f67
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from django import forms from .models import PoliticalClasification class PoliticalClasificationForm(forms.ModelForm): class Meta: model = PoliticalClasification fields = [ 'political', 'content', 'numbers' ] ...
22.47619
50
0.614407
36
472
8.055556
0.611111
0.096552
0
0
0
0
0
0
0
0
0
0.003003
0.294492
472
20
51
23.6
0.867868
0.044492
0
0
0
0
0.051225
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
511fd39216b3556c097fd59ede876469d1391157
2,915
py
Python
protobot_dog_bringup/scripts/bring_up.py
robottime/protobot_dog
03ddaa79b70023f6c2b174cb3715c36cf2156d2c
[ "MIT" ]
3
2020-04-25T08:07:45.000Z
2022-03-03T11:26:11.000Z
protobot_dog_bringup/scripts/bring_up.py
robottime/protobot_dog
03ddaa79b70023f6c2b174cb3715c36cf2156d2c
[ "MIT" ]
null
null
null
protobot_dog_bringup/scripts/bring_up.py
robottime/protobot_dog
03ddaa79b70023f6c2b174cb3715c36cf2156d2c
[ "MIT" ]
1
2020-08-28T02:27:02.000Z
2020-08-28T02:27:02.000Z
#!/usr/bin/env python import rospy import sys import math import time import serial from std_msgs.msg import Float64 from geometry_msgs.msg import Point from threading import Lock lock = Lock() serial_com = None def callback(data,callback_args): global serial_com lock.acquire() #print data,callback_args if(se...
31.684783
125
0.736192
441
2,915
4.612245
0.249433
0.106195
0.066863
0.117994
0.389872
0.348574
0.324975
0.324975
0.324975
0.081121
0
0.02882
0.131046
2,915
91
126
32.032967
0.774181
0.064494
0
0.371429
0
0
0.183658
0.123666
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.114286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
51277bbd32a37ef55b90a0973bedf1672f4affb0
509
py
Python
fastapi/api/v1/async.py
zhangnian/fastapi
65eb49ec58041fb1212c3e867d19a405d7e40662
[ "MIT" ]
33
2017-08-14T09:39:12.000Z
2021-09-11T14:54:28.000Z
fastapi/api/v1/async.py
zhangnian/fastapi
65eb49ec58041fb1212c3e867d19a405d7e40662
[ "MIT" ]
null
null
null
fastapi/api/v1/async.py
zhangnian/fastapi
65eb49ec58041fb1212c3e867d19a405d7e40662
[ "MIT" ]
9
2017-12-05T11:54:01.000Z
2020-11-10T08:03:35.000Z
from flask import Blueprint from fastapi.utils.http_util import render_ok from fastapi.worker.tasks import async_add bp = Blueprint("async", __name__, url_prefix='/async') @bp.route('/add') def add(): future = async_add.delay(1, 2) return render_ok({'task_id': future.id}) @bp.route('/status/<task_id>') d...
21.208333
54
0.695481
74
509
4.554054
0.459459
0.094955
0.124629
0
0
0
0
0
0
0
0
0.004651
0.155206
509
23
55
22.130435
0.77907
0
0
0
0
0
0.113949
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
512aaf251341e74e025b4919cec2b0754e1ce598
477
py
Python
data_ingestion_service/migrations/0002_storedfiles_category.py
girleffect/core-data-ingestion-service
13e588d3988afc5bc4ac9c0878e82f39d1a89b7c
[ "BSD-3-Clause" ]
null
null
null
data_ingestion_service/migrations/0002_storedfiles_category.py
girleffect/core-data-ingestion-service
13e588d3988afc5bc4ac9c0878e82f39d1a89b7c
[ "BSD-3-Clause" ]
1
2019-01-16T13:09:04.000Z
2019-01-16T13:09:04.000Z
data_ingestion_service/migrations/0002_storedfiles_category.py
girleffect/core-data-ingestion-service
13e588d3988afc5bc4ac9c0878e82f39d1a89b7c
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.1 on 2019-01-16 09:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data_ingestion_service', '0001_initial'), ] operations = [ migrations.AddField( model_name='storedfiles', name='cate...
25.105263
132
0.631027
53
477
5.54717
0.773585
0.088435
0.115646
0
0
0
0
0
0
0
0
0.061111
0.245283
477
18
133
26.5
0.755556
0.09434
0
0
1
0
0.211628
0.051163
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
512e8f7a8583ef56fa625dff161a941ae54a464e
596
py
Python
hello/migrations/0001_initial.py
fadeawaygod/DjangoTemplate
3e539aa068b7e792872bd4631e1b22a70ecb8573
[ "MIT" ]
null
null
null
hello/migrations/0001_initial.py
fadeawaygod/DjangoTemplate
3e539aa068b7e792872bd4631e1b22a70ecb8573
[ "MIT" ]
null
null
null
hello/migrations/0001_initial.py
fadeawaygod/DjangoTemplate
3e539aa068b7e792872bd4631e1b22a70ecb8573
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-21 01:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.BigAutoField(...
25.913043
117
0.588926
63
596
5.460317
0.666667
0.09593
0.104651
0.139535
0
0
0
0
0
0
0
0.046729
0.281879
596
22
118
27.090909
0.757009
0.075503
0
0
1
0
0.058288
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51357e41bdc8fedc261badf9cdaf725a05f895ba
650
py
Python
lib/sender/auth.py
JRS83/Osmedeus
7a9b501872b33ca7c1565f17d3c8d1c9f65bbc55
[ "MIT" ]
8
2020-05-05T00:01:28.000Z
2021-10-10T08:38:33.000Z
lib/sender/auth.py
splintersec/Osmedeus
9c1034a8d63ab0f6d80a217216f498c1c7c20aee
[ "MIT" ]
8
2021-03-19T10:39:42.000Z
2022-02-10T10:34:51.000Z
lib/sender/auth.py
splintersec/Osmedeus
9c1034a8d63ab0f6d80a217216f498c1c7c20aee
[ "MIT" ]
11
2020-01-29T17:38:02.000Z
2022-03-22T18:59:34.000Z
import os import sys sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) from lib.sender import send from lib.core import utils def login(options): url = options.get('remote_api') + "/auth/api/token/" body = { "username": options.get('credentials')[0], "password": op...
27.083333
77
0.641538
86
650
4.744186
0.534884
0.044118
0.063725
0.073529
0.078431
0
0
0
0
0
0
0.003861
0.203077
650
23
78
28.26087
0.783784
0
0
0
0
0
0.201538
0
0
0
0
0
0
1
0.052632
false
0.052632
0.210526
0
0.368421
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5135b7ea52ef06babaf672c941bf4e4426e84fa4
1,841
py
Python
project/editorial/views/platforms.py
cojennin/facet
230e65316134b3399a35d40034728e61ba63cb2a
[ "MIT" ]
25
2015-07-13T22:16:36.000Z
2021-11-11T02:45:32.000Z
project/editorial/views/platforms.py
cojennin/facet
230e65316134b3399a35d40034728e61ba63cb2a
[ "MIT" ]
74
2015-12-01T18:57:47.000Z
2022-03-11T23:25:47.000Z
project/editorial/views/platforms.py
cojennin/facet
230e65316134b3399a35d40034728e61ba63cb2a
[ "MIT" ]
6
2016-01-08T21:12:43.000Z
2019-05-20T16:07:56.000Z
""" Platform views for editorial app. editorial/views/platformviews.py """ # -*- coding: utf-8 -*- from __future__ import unicode_literals from braces.views import LoginRequiredMixin from django.conf import settings from django.core.urlresolvers import reverse from django.views.generic import FormVi...
34.092593
93
0.624661
207
1,841
5.478261
0.545894
0.056437
0.039683
0.047619
0
0
0
0
0
0
0
0.000696
0.219446
1,841
53
94
34.735849
0.788448
0.428571
0
0
0
0
0.0659
0.037657
0
0
0
0
0
1
0.15
false
0
0.3
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
51391fc524801dc692c1fe88b099e068515edf17
1,322
py
Python
tests/master/data/database/dal/test_ioc.py
m2bright/rapid
fd66515105ca9773c5da8562a878c6b0bfa4487a
[ "Apache-2.0" ]
4
2018-04-12T20:16:04.000Z
2020-03-03T08:09:19.000Z
tests/master/data/database/dal/test_ioc.py
m2bright/rapid
fd66515105ca9773c5da8562a878c6b0bfa4487a
[ "Apache-2.0" ]
69
2019-03-13T21:30:51.000Z
2021-12-08T16:54:05.000Z
tests/master/data/database/dal/test_ioc.py
m2bright/rapid
fd66515105ca9773c5da8562a878c6b0bfa4487a
[ "Apache-2.0" ]
4
2020-03-03T08:09:20.000Z
2020-07-20T22:06:28.000Z
""" Copyright (c) 2015 Michael Bright and Bamboo HR 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
24.943396
73
0.73298
182
1,322
5.230769
0.571429
0.063025
0.027311
0.033613
0
0
0
0
0
0
0
0.007498
0.19289
1,322
52
74
25.423077
0.884724
0.432678
0
0
0
0
0.026027
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5139f19554b2ba040d786e9af21042d2bb6d0b35
1,563
py
Python
reactive/charm_staticip.py
VariableDeclared/charm-staticip
499097e539559ee16f2d11da1d6f621d002e8568
[ "Apache-2.0" ]
null
null
null
reactive/charm_staticip.py
VariableDeclared/charm-staticip
499097e539559ee16f2d11da1d6f621d002e8568
[ "Apache-2.0" ]
null
null
null
reactive/charm_staticip.py
VariableDeclared/charm-staticip
499097e539559ee16f2d11da1d6f621d002e8568
[ "Apache-2.0" ]
null
null
null
from charms.reactive import when, when_not, set_flag import os import sys sys.path.insert(0, os.path.join(os.environ['CHARM_DIR'], 'lib')) from charmhelpers.core import ( hookenv, host ) @when_not('charm-staticip.installed') def install_charm_staticip(): # Do your setup here. # # If your charm has...
26.491525
74
0.568778
170
1,563
5.152941
0.635294
0.044521
0.050228
0
0
0
0
0
0
0
0
0.00553
0.305822
1,563
58
75
26.948276
0.801843
0.269994
0
0
0
0
0.190222
0.072
0
0
0
0.017241
0
1
0.054054
false
0
0.108108
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
513c5ffab3e077638fb2a243da967a0c4162b6de
2,053
py
Python
model/openacademy_course.py
davepadrino/openacademy-project
c4c9c899e784bd14fd5809657e54a67eea7232ce
[ "Apache-2.0" ]
null
null
null
model/openacademy_course.py
davepadrino/openacademy-project
c4c9c899e784bd14fd5809657e54a67eea7232ce
[ "Apache-2.0" ]
1
2017-05-29T17:06:46.000Z
2017-06-02T23:06:44.000Z
model/openacademy_course.py
davepadrino/openacademy-project
c4c9c899e784bd14fd5809657e54a67eea7232ce
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from openerp import models, fields, api ''' Creacion del modelo del curso ''' class Course(models.Model): ''' Crea el modelo del curso Aparecerá un campo search y unas opciones de filtrado y busqueda avanzada que son heredadas de "models" como parametro (models.Model) ''' _n...
35.396552
160
0.698003
296
2,053
4.77027
0.489865
0.022663
0.016997
0.029745
0.106232
0.106232
0.090652
0.090652
0.049575
0.049575
0
0.001818
0.196298
2,053
58
161
35.396552
0.853939
0.215295
0
0
0
0
0.293413
0.021956
0
0
0
0.017241
0
1
0.038462
false
0
0.038462
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
513e6bef1b80b168ba47aea1c4a121d1e650f946
496
py
Python
doltcli/__init__.py
sidphbot/doltcli
059a7c6dd31f036771b3ce94cd5f064696d64229
[ "Apache-2.0" ]
6
2021-03-23T20:58:23.000Z
2022-03-31T22:07:11.000Z
doltcli/__init__.py
sidphbot/doltcli
059a7c6dd31f036771b3ce94cd5f064696d64229
[ "Apache-2.0" ]
22
2021-03-10T21:06:22.000Z
2021-11-06T20:07:12.000Z
doltcli/__init__.py
sidphbot/doltcli
059a7c6dd31f036771b3ce94cd5f064696d64229
[ "Apache-2.0" ]
6
2021-06-14T19:07:39.000Z
2021-11-05T18:50:59.000Z
from .dolt import ( Branch, Commit, Dolt, DoltException, DoltHubContext, KeyPair, Remote, Status, Table, _execute, ) from .types import BranchT, CommitT, DoltT, KeyPairT, RemoteT, StatusT, TableT from .utils import ( CREATE, FORCE_CREATE, REPLACE, UPDATE, colu...
16.533333
78
0.643145
55
496
5.509091
0.654545
0.072607
0
0
0
0
0
0
0
0
0
0
0.282258
496
29
79
17.103448
0.851124
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.103448
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
514f00f58e0924560ad3aaaa9b626deebdc99308
1,671
py
Python
src/nitsm/debug.py
ni/nitsm-python
c6ae0abbae5c71198a9516fb2449b046fe6201dc
[ "MIT" ]
4
2021-08-21T06:21:45.000Z
2021-12-27T05:27:43.000Z
src/nitsm/debug.py
ni/nitsm-python
c6ae0abbae5c71198a9516fb2449b046fe6201dc
[ "MIT" ]
51
2021-07-28T14:48:04.000Z
2022-03-25T02:35:40.000Z
src/nitsm/debug.py
ni/nitsm-python
c6ae0abbae5c71198a9516fb2449b046fe6201dc
[ "MIT" ]
2
2021-06-23T19:53:17.000Z
2022-03-27T20:10:27.000Z
import os import tkinter.messagebox def prompt_attach_debugger() -> None: """ Pauses the Python interpreter and displays the process ID (PID). The PID can be used by an IDE such as PyCharm to attach to the process for debugging. This is useful for stepping into nitsm code modules from TestStand. ...
45.162162
100
0.690604
238
1,671
4.798319
0.533613
0.035026
0.034151
0.031524
0
0
0
0
0
0
0
0.005659
0.259725
1,671
36
101
46.416667
0.917542
0.760622
0
0
0
0
0.221519
0
0
0
0
0
0
1
0.1
true
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5163703fff3858854252e0f499f72987f9d53443
5,516
py
Python
detect_conv_roi.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
detect_conv_roi.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
detect_conv_roi.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
import cv2 import os import sys sys.path.append("/home/syc/py-faster-rcnn/caffe-fast-rcnn/python") import caffe import numpy as np import random import time from math import * from utils import * from DataBase import DataBase video_dir = '/media/syc/My Passport/_dataset/tracking2013/' video_name = "Liquor...
28.43299
105
0.635062
969
5,516
3.443756
0.200206
0.008391
0.011687
0.015583
0.274198
0.210069
0.178304
0.151334
0.124363
0.122565
0
0.043771
0.19235
5,516
194
106
28.43299
0.705275
0.019761
0
0.232704
0
0
0.059704
0.020925
0
0
0
0
0
0
null
null
0.006289
0.062893
null
null
0.012579
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5165667d62aca35245e59747ae3d8c5096c7fc6f
768
py
Python
src/dominh/constants.py
gavanderhoorn/dominh
318ca25d2095bc86007e2f9e87bd8dd8b06aec43
[ "Apache-2.0" ]
25
2020-02-14T17:16:31.000Z
2022-02-25T14:58:42.000Z
src/dominh/constants.py
gavanderhoorn/dominh
318ca25d2095bc86007e2f9e87bd8dd8b06aec43
[ "Apache-2.0" ]
15
2020-02-17T12:13:30.000Z
2021-11-30T09:12:38.000Z
src/dominh/constants.py
gavanderhoorn/dominh
318ca25d2095bc86007e2f9e87bd8dd8b06aec43
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020, G.A. vd. Hoorn # # 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 w...
29.538462
74
0.735677
126
768
4.404762
0.619048
0.108108
0.014414
0.032432
0
0
0
0
0
0
0
0.015798
0.175781
768
25
75
30.72
0.860979
0.753906
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
516a0ef7080eb935a8a5634c70ebbeb606de82f3
702
py
Python
lesson13n2_projects/house3n2/data/state_gen_conf.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson13n2_projects/house3n2/data/state_gen_conf.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson13n2_projects/house3n2/data/state_gen_conf.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
"""State Generator""" from lesson12_projects.house3.data.const import ( MY_ROOM, OUT, CLOSE_DOOR, OPEN_DOOR, STAIRS, ) from lesson13n2.states.myroom import MyroomState from lesson13n2.states.out import OutState from lesson13n2.states.out_closedoor import OutClosedoorState from lesson13n2.states.out_...
27
61
0.740741
74
702
6.878378
0.445946
0.137525
0.196464
0.13556
0
0
0
0
0
0
0
0.034305
0.169516
702
25
62
28.08
0.838765
0.099715
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
516af3ac9672b9d40d5e00bf691c4758dc8daef6
1,229
py
Python
bootcamp/wiki/plugins/globalhistory/views.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
bootcamp/wiki/plugins/globalhistory/views.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
bootcamp/wiki/plugins/globalhistory/views.py
basiltiger/easy_bootcamp
875b9ed287f1a7824bb38f142dbe2f3b1ce54389
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.contrib.auth.decorators import login_required from django.db.models import F from django.utils.decorators import method_decorator from django.views.generic import ListView from wiki import models from wiki.core.paginator import WikiPaginator class GlobalHistory(Lis...
35.114286
87
0.715216
151
1,229
5.615894
0.437086
0.04717
0.042453
0.066038
0.103774
0.103774
0.103774
0.103774
0.103774
0
0
0.003988
0.183889
1,229
34
88
36.147059
0.841476
0
0
0
0
0
0.075671
0.036615
0
0
0
0
0
1
0.111111
false
0
0.259259
0
0.740741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
516afe445c097228f8330ececd6dac469a8d0ef0
1,152
py
Python
test/layer/test_patching.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
9
2021-05-23T17:38:09.000Z
2021-12-30T19:12:12.000Z
test/layer/test_patching.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
null
null
null
test/layer/test_patching.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
null
null
null
import unittest from torch import rand from tensorneko.layer import PatchEmbedding2d class TestPatching(unittest.TestCase): # TODO pass class TestPatchEmbedding2d(unittest.TestCase): def test_simple_patching(self): # test input for 64x64 RGB image batches b, c, h, w = (8, 3, 64, 64) ...
26.181818
71
0.539063
157
1,152
3.878981
0.324841
0.019704
0.029557
0.026273
0.656814
0.656814
0.656814
0.577997
0.577997
0.577997
0
0.048813
0.342014
1,152
43
72
26.790698
0.754617
0.175347
0
0.434783
0
0
0
0
0
0
0
0.023256
0.086957
1
0.086957
false
0.043478
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5a9b5f942f8e99389255f19ed87399989f74ad14
1,287
py
Python
blst/config.py
collinmutembei/II
874e5f49597a23c83220563707683542d43f0038
[ "MIT" ]
null
null
null
blst/config.py
collinmutembei/II
874e5f49597a23c83220563707683542d43f0038
[ "MIT" ]
null
null
null
blst/config.py
collinmutembei/II
874e5f49597a23c83220563707683542d43f0038
[ "MIT" ]
null
null
null
import os from flask.ext.dotenv import DotEnv BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) class Config(object): """Main configuration class""" DEBUG = False TESTING = False CSRF_ENABLED = True SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') SQLALCHEMY_TRACK...
25.235294
76
0.700855
150
1,287
5.853333
0.393333
0.109339
0.136674
0.100228
0.335991
0.137813
0.100228
0.100228
0
0
0
0
0.191142
1,287
50
77
25.74
0.84342
0.184149
0
0.129032
0
0
0.089581
0
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5aa3b90d2e73ad07a177d5116011f19343e6606f
4,558
py
Python
SLpackage/private/pacbio/pythonpkgs/pbcommand/lib/python2.7/site-packages/pbcommand/common_options.py
fanglab/6mASCOPE
3f1fdcb7693ff152f17623ce549526ec272698b1
[ "BSD-3-Clause" ]
5
2022-02-20T07:10:02.000Z
2022-03-18T17:47:53.000Z
SLpackage/private/pacbio/pythonpkgs/pbcommand/lib/python2.7/site-packages/pbcommand/common_options.py
fanglab/6mASCOPE
3f1fdcb7693ff152f17623ce549526ec272698b1
[ "BSD-3-Clause" ]
null
null
null
SLpackage/private/pacbio/pythonpkgs/pbcommand/lib/python2.7/site-packages/pbcommand/common_options.py
fanglab/6mASCOPE
3f1fdcb7693ff152f17623ce549526ec272698b1
[ "BSD-3-Clause" ]
null
null
null
"""Common options and utils that can me used in commandline utils""" import logging import argparse import sys RESOLVED_TOOL_CONTRACT_OPTION = "--resolved-tool-contract" EMIT_TOOL_CONTRACT_OPTION = "--emit-tool-contract" def add_debug_option(p): p.add_argument("--pdb", action="store_true", default=False, ...
31.434483
133
0.687582
652
4,558
4.584356
0.26227
0.037471
0.040147
0.043493
0.346604
0.230177
0.162596
0.103714
0.103714
0.103714
0
0.005007
0.211277
4,558
144
134
31.652778
0.826426
0.247477
0
0.152778
0
0
0.174608
0.007238
0
0
0
0
0
1
0.208333
false
0
0.041667
0.013889
0.458333
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5aa568a0d1337e9b047fc93f33e40cc25c7c624b
2,507
py
Python
run_continuation.py
RasmooL/dqn-tf
d928d5c83a5587dac2ebe1af715038e9ba0fddb2
[ "MIT" ]
1
2016-08-19T21:38:56.000Z
2016-08-19T21:38:56.000Z
run_continuation.py
RasmooL/dqn-tf
d928d5c83a5587dac2ebe1af715038e9ba0fddb2
[ "MIT" ]
null
null
null
run_continuation.py
RasmooL/dqn-tf
d928d5c83a5587dac2ebe1af715038e9ba0fddb2
[ "MIT" ]
null
null
null
""" Copyright 2016 Rasmus Larsen This software may be modified and distributed under the terms of the MIT license. See the LICENSE.txt file for details. """ import sys import time from sacred import Experiment from core.ALEEmulator import ALEEmulator from continuation.OriginalNet import OriginalNet from core.ScreenB...
23.212963
115
0.640207
346
2,507
4.471098
0.473988
0.023271
0.021332
0.020685
0.103426
0.103426
0.103426
0.103426
0.103426
0.103426
0
0.043823
0.244515
2,507
107
116
23.429907
0.772967
0.055844
0
0.09589
0
0
0.064634
0
0
0
0
0
0
0
null
null
0
0.109589
null
null
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5aa9682a22b71955335ff1083064075bfdb0e93e
990
py
Python
start.py
aiidalab/aiidalab-manage-structures
46bc0bcf7f62b15ea25a8ff494b6c2e62b5b5910
[ "MIT" ]
null
null
null
start.py
aiidalab/aiidalab-manage-structures
46bc0bcf7f62b15ea25a8ff494b6c2e62b5b5910
[ "MIT" ]
null
null
null
start.py
aiidalab/aiidalab-manage-structures
46bc0bcf7f62b15ea25a8ff494b6c2e62b5b5910
[ "MIT" ]
null
null
null
import ipywidgets as ipw def get_start_widget(appbase, jupbase): #http://fontawesome.io/icons/ template = """ <table> <tr> <th style="text-align:center"></th> <th style="width:70px" rowspan=2></th> <th style="text-align:center"></th> <th style="width:70px" rowspan=2></th...
31.935484
101
0.605051
137
990
4.29927
0.372263
0.059423
0.061121
0.095076
0.568761
0.480475
0.365025
0.365025
0.319185
0.319185
0
0.007509
0.192929
990
30
102
33
0.729662
0.031313
0
0.52
0
0.16
0.800418
0.320794
0
0
0
0
0
1
0.04
false
0
0.08
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5ab2cabc02d793c95747516877858f41149a10ba
899
py
Python
src/olymptester/cpp_template.py
jrojer/easy-stdio-tester
e3ecf4261859cc3d7fe93142ed0e0d773cff60ed
[ "MIT" ]
1
2021-09-20T17:02:24.000Z
2021-09-20T17:02:24.000Z
src/olymptester/cpp_template.py
jrojer/easy-stdio-tester
e3ecf4261859cc3d7fe93142ed0e0d773cff60ed
[ "MIT" ]
1
2021-11-21T14:35:29.000Z
2021-12-08T17:23:44.000Z
src/olymptester/cpp_template.py
jrojer/easy-stdio-tester
e3ecf4261859cc3d7fe93142ed0e0d773cff60ed
[ "MIT" ]
null
null
null
cpp_template = '''\ #include<iostream> #include<algorithm> #include<functional> #include<vector> #include<unordered_map> #include<unordered_set> #include<map> #include<set> #include<string> #include<cstdlib> #include <math.h> #define int int64_t using namespace std; #define verify(condition) { \ if(!(condition))...
16.648148
162
0.527253
114
899
4.017544
0.5
0.069869
0.052402
0.087336
0
0
0
0
0
0
0
0.020927
0.25584
899
54
163
16.648148
0.663677
0
0
0
0
0.025
0.975528
0.083426
0
0
0
0
0
1
0
false
0
0
0
0.025
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5ab5b2b57bb87dd51ee13daade7632cd5ebb2686
2,349
py
Python
dcs/utils.py
racker/python-dcs
9ba11122ba4d3d51d4af62e8976c5c0d594f5966
[ "Apache-2.0" ]
null
null
null
dcs/utils.py
racker/python-dcs
9ba11122ba4d3d51d4af62e8976c5c0d594f5966
[ "Apache-2.0" ]
null
null
null
dcs/utils.py
racker/python-dcs
9ba11122ba4d3d51d4af62e8976c5c0d594f5966
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Rackspace, Inc. # # 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 writi...
32.178082
78
0.608344
298
2,349
4.637584
0.395973
0.065123
0.065847
0.043415
0.195369
0.05644
0
0
0
0
0
0.004923
0.308216
2,349
72
79
32.625
0.845538
0.234994
0
0.23913
0
0
0.048694
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5ab9d3b26ac114ef3a9b7e59001ce420c007243d
2,347
pyw
Python
cryptor.pyw
MiserableHating/KinterCryptor
d6af4dc1448ddc1a6270a5612c3a3023ca8975ef
[ "MIT" ]
null
null
null
cryptor.pyw
MiserableHating/KinterCryptor
d6af4dc1448ddc1a6270a5612c3a3023ca8975ef
[ "MIT" ]
null
null
null
cryptor.pyw
MiserableHating/KinterCryptor
d6af4dc1448ddc1a6270a5612c3a3023ca8975ef
[ "MIT" ]
null
null
null
import os from Crypto.Cipher import AES from Crypto.Hash import SHA256 from Crypto import Random from tkinter import * from tkinter.messagebox import * from tkinter.ttk import Label import sys import time from threading import Thread import webbrowser import tkinter as tk Kinter = tk() Kinter.title("Kinter Cryptor") ...
26.977011
81
0.594376
276
2,347
5.018116
0.413043
0.023105
0.024549
0.031769
0.277256
0.232491
0.112635
0.112635
0.112635
0.070758
0
0.024289
0.280784
2,347
86
82
27.290698
0.796209
0
0
0.235294
0
0
0.09885
0
0
0
0
0
0
1
0.058824
false
0.088235
0.176471
0
0.25
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5aba8d4517e17081e1c3d1e0fb8b8d9279bf7309
1,434
py
Python
example/artists/models.py
moshthepitt/django-vega-admin
865774e51b3a2c2df81fec1f212acc3bdcea9eaa
[ "MIT" ]
4
2018-11-24T14:46:45.000Z
2020-12-04T08:49:28.000Z
example/artists/models.py
moshthepitt/django-vega-admin
865774e51b3a2c2df81fec1f212acc3bdcea9eaa
[ "MIT" ]
40
2018-11-17T11:34:35.000Z
2020-06-26T11:27:01.000Z
example/artists/models.py
moshthepitt/django-vega-admin
865774e51b3a2c2df81fec1f212acc3bdcea9eaa
[ "MIT" ]
null
null
null
""" Module for vega-admin test models """ from django.db import models from django.utils.translation import ugettext as _ class Artist(models.Model): """ Artist Model class """ name = models.CharField(_("Name"), max_length=100) class Meta: ordering = ["name"] verbose_name = "Arti...
26.072727
75
0.596932
153
1,434
5.366013
0.411765
0.066991
0.038977
0.056029
0.209501
0.209501
0.209501
0.124239
0.124239
0.124239
0
0.009597
0.273361
1,434
54
76
26.555556
0.778311
0.117852
0
0.322581
0
0
0.091653
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5abb87159845c4527b125aa40a3d3b41f7495252
1,763
py
Python
skmob/utils/tests/test_gislib.py
FilippoSimini/scikit-mobility
d34270a478db5822d400c925d41aed7bfffce75b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
489
2019-05-05T07:47:35.000Z
2022-03-31T10:36:00.000Z
skmob/utils/tests/test_gislib.py
FilippoSimini/scikit-mobility
d34270a478db5822d400c925d41aed7bfffce75b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
204
2019-05-02T22:51:05.000Z
2022-03-19T17:14:29.000Z
skmob/utils/tests/test_gislib.py
FilippoSimini/scikit-mobility
d34270a478db5822d400c925d41aed7bfffce75b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
119
2019-05-28T19:51:29.000Z
2022-03-23T03:43:00.000Z
from skmob.utils import gislib import math class TestClustering: def setup_method(self): self.point_1 = (43.8430139, 10.5079940) self.point_2 = (43.5442700, 10.3261500) self.decimal = 43.8430139 self.DMS = (43, 50, 34.85) def test_get_distance(self): output = gislib....
35.979592
87
0.669314
232
1,763
4.922414
0.241379
0.141856
0.105079
0.161121
0.466725
0.424694
0.424694
0.424694
0.349387
0.265324
0
0.113019
0.207033
1,763
48
88
36.729167
0.703863
0.204765
0
0.148148
0
0
0
0
0
0
0
0
0.296296
1
0.185185
false
0
0.074074
0
0.296296
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1