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
e6c40808f13d0a404e32573c9492ad9e229fdf6a
1,243
py
Python
libraries/base/qtWidgets/stackedWidget.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
1
2019-04-15T13:50:30.000Z
2019-04-15T13:50:30.000Z
libraries/base/qtWidgets/stackedWidget.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
null
null
null
libraries/base/qtWidgets/stackedWidget.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
1
2016-01-21T23:00:21.000Z
2016-01-21T23:00:21.000Z
"""Stacked Widget Controls a set of value stacks that show different widgets at different times. """ from redRGUI import widgetState from libraries.base.qtWidgets.widgetBox import widgetBox as redRWidgetBox from PyQt4.QtCore import * from PyQt4.QtGui import * import redRi18n _ = redRi18n.get_(package = 'base') clas...
37.666667
98
0.716814
130
1,243
6.746154
0.530769
0.027366
0.031927
0
0
0
0
0
0
0
0
0.005917
0.184232
1,243
33
99
37.666667
0.858974
0
0
0
0
0
0.070755
0
0
0
0
0
0
0
null
null
0
0.217391
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
e6c6754c71ebb6fcee4339cea0fd4e57c4070980
6,585
py
Python
synthesis/enulib/timing.py
stakira/ENUNU
3ee981785507ca8a1612d7501b89c47c87c400c3
[ "MIT" ]
null
null
null
synthesis/enulib/timing.py
stakira/ENUNU
3ee981785507ca8a1612d7501b89c47c87c400c3
[ "MIT" ]
null
null
null
synthesis/enulib/timing.py
stakira/ENUNU
3ee981785507ca8a1612d7501b89c47c87c400c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2022 oatsu """ timelagとdurationをまとめて実行する。 MDN系のdurationが確率分布を持って生成されるため、フルラベルにしづらい。 そのため、timelagとdurationをファイル出力せずにtimingまで一気にやる。 """ import hydra import joblib import numpy as np import torch from hydra.utils import to_absolute_path from nnmnkwii.io import hts from nnsvs.gen imp...
32.761194
77
0.584055
652
6,585
5.645706
0.246933
0.04401
0.032328
0.02282
0.67373
0.665852
0.665852
0.665852
0.665852
0.665852
0
0.00474
0.199089
6,585
200
78
32.925
0.692833
0.395444
0
0.659341
0
0
0.01426
0
0
0
0
0
0
1
0.032967
false
0
0.10989
0
0.164835
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
e6d121c16d2f9d428bbc328a4abb54850efffb3a
4,130
py
Python
src/main.py
Saztroz/Password-Manager
31cc83f4b19cb00ff5fb40f631899bb5c7a1a014
[ "MIT" ]
null
null
null
src/main.py
Saztroz/Password-Manager
31cc83f4b19cb00ff5fb40f631899bb5c7a1a014
[ "MIT" ]
null
null
null
src/main.py
Saztroz/Password-Manager
31cc83f4b19cb00ff5fb40f631899bb5c7a1a014
[ "MIT" ]
null
null
null
from tkinter import * from tkinter import messagebox from random import choice, randint, shuffle import pyperclip import json # ---------------------------- PASSWORD GENERATOR ------------------------------- # def generate_password(): letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm'...
32.265625
274
0.576271
523
4,130
4.428298
0.284895
0.043178
0.023748
0.030225
0.232729
0.127807
0.108808
0.048359
0.048359
0.022453
0
0.02254
0.205085
4,130
128
275
32.265625
0.682912
0.094189
0
0.164706
0
0
0.100617
0
0
0
0
0
0
1
0.035294
false
0.270588
0.058824
0
0.094118
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
e6d388a1f62bca130455640dc277b25a99cb8e5c
1,631
py
Python
tests/test_analytics.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
7
2019-05-17T14:27:13.000Z
2021-12-17T22:52:40.000Z
tests/test_analytics.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
9
2019-04-13T09:24:28.000Z
2019-09-09T15:35:05.000Z
tests/test_analytics.py
tetyanaloskutova/remote-works
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
null
null
null
from decimal import Decimal from remote_works.core.analytics import ( get_task_payloads, get_view_payloads, report_order, report_view) def test_get_task_payloads(task_with_lines): task = task_with_lines generator = get_task_payloads(task) data = list(generator) assert len(data) == task.lines.cou...
33.979167
75
0.667075
221
1,631
4.714932
0.330317
0.047985
0.049904
0.036468
0.128599
0.092131
0.092131
0.092131
0.092131
0
0
0.002983
0.177805
1,631
47
76
34.702128
0.774049
0
0
0.057143
0
0
0.117719
0
0
0
0
0
0.457143
1
0.114286
false
0
0.057143
0
0.171429
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
1
0
0
0
0
0
0
0
0
0
1
e6d43afc0eac320e9b5807b84b5e8e8ca88cf7e6
1,992
py
Python
app/service/musicService.py
arpitbbhayani/jesse
4fc11b0d93fb77d88fd5abb0d278ed4ef2277725
[ "MIT" ]
2
2015-10-28T10:41:19.000Z
2015-12-26T11:12:47.000Z
app/service/musicService.py
arpitbbhayani/jesse
4fc11b0d93fb77d88fd5abb0d278ed4ef2277725
[ "MIT" ]
null
null
null
app/service/musicService.py
arpitbbhayani/jesse
4fc11b0d93fb77d88fd5abb0d278ed4ef2277725
[ "MIT" ]
null
null
null
import time import random from app import config from app.utils import readable from app.dao.items.musicDao import MusicDao from app.tpsites import youtube_service def create_playlist(name): name = name.strip() playlist_id = name.lower().replace(' ', '-') initial_data = { 'name': name, '...
24.9
83
0.682731
267
1,992
4.794007
0.269663
0.101563
0.140625
0.0625
0.229688
0.178125
0.1125
0.060938
0
0
0
0.000641
0.216867
1,992
79
84
25.21519
0.819872
0.013554
0
0.090909
0
0
0.048743
0
0
0
0
0.012658
0
1
0.109091
false
0
0.109091
0
0.327273
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
e6dbe692373f39d9203d23e5cce22ec276bfd23e
28,620
gyp
Python
third_party/instrumented_libraries/instrumented_libraries.gyp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/instrumented_libraries/instrumented_libraries.gyp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/instrumented_libraries/instrumented_libraries.gyp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'verbose_libraries_build%': 0, 'instrumented_libraries_jobs%': 1, 'instrumented_libraries_cc%': '<!(cd <(DEPTH) && pwd -P)/<(m...
32.375566
108
0.552481
2,546
28,620
5.966222
0.197565
0.05734
0.101382
0.126728
0.538315
0.506847
0.474918
0.451942
0.417972
0.325741
0
0.013607
0.275856
28,620
883
109
32.412231
0.719324
0.118064
0
0.49059
0
0.001255
0.577822
0.340223
0
0
0
0.001133
0
1
0
true
0
0
0
0
0.002509
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
e6e107abeda61e3add0d93bc726464f64ac8b109
1,212
py
Python
Project 2 Show me the Data Structure/Problem_2_File_Recursion/2_File_Recursion.py
majorhenry/animated-journey
26d0f23d54825566245883dfa3d3444cde8a6017
[ "MIT" ]
null
null
null
Project 2 Show me the Data Structure/Problem_2_File_Recursion/2_File_Recursion.py
majorhenry/animated-journey
26d0f23d54825566245883dfa3d3444cde8a6017
[ "MIT" ]
null
null
null
Project 2 Show me the Data Structure/Problem_2_File_Recursion/2_File_Recursion.py
majorhenry/animated-journey
26d0f23d54825566245883dfa3d3444cde8a6017
[ "MIT" ]
null
null
null
import os def find_files(suffix, path): """ Find all files beneath path with file name suffix. Note that a path may contain further subdirectories and those subdirectories may also contain further subdirectories. There are no limit to the depth of the subdirectories can be. Args: suffix(str): suffi...
20.542373
75
0.668317
190
1,212
4.178947
0.342105
0.079345
0.132242
0.125945
0.156171
0.093199
0.093199
0.093199
0
0
0
0.003036
0.184818
1,212
59
76
20.542373
0.800607
0.35066
0
0.272727
0
0
0.017196
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.227273
0.409091
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
e6e1d8ac2f1ac8cbc6534e085de508b5204a4855
631
py
Python
vwsfriend/vwsfriend/model/weconnect_error.py
danutsoare/VWsFriend
b92e71f12b977da2e4df4f68923848ec41526e65
[ "MIT" ]
null
null
null
vwsfriend/vwsfriend/model/weconnect_error.py
danutsoare/VWsFriend
b92e71f12b977da2e4df4f68923848ec41526e65
[ "MIT" ]
null
null
null
vwsfriend/vwsfriend/model/weconnect_error.py
danutsoare/VWsFriend
b92e71f12b977da2e4df4f68923848ec41526e65
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, Enum from vwsfriend.model.base import Base from vwsfriend.model.datetime_decorator import DatetimeDecorator from weconnect.weconnect_errors import ErrorEventType class WeConnectError(Base): __tablename__ = 'weconnect_errors' id = Column(Integer, primary_key=Tr...
31.55
71
0.754358
69
631
6.724638
0.478261
0.056034
0.077586
0
0
0
0
0
0
0
0
0.00381
0.167987
631
19
72
33.210526
0.88
0
0
0
0
0
0.025357
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.785714
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
e6e50f46849c44e17adea9384591b798dd4bed5e
2,229
py
Python
dm_control/mjcf/export_with_assets_as_zip.py
gvvynplaine/dm_control
c70482900ec46acd4085017b9e813cc371a19fbe
[ "Apache-2.0" ]
26
2021-11-05T08:46:06.000Z
2022-03-22T05:53:57.000Z
dm_control/mjcf/export_with_assets_as_zip.py
zzlqwq/dm_control
fb0199e61db3323a17f56fd089af61f7c949f41e
[ "Apache-2.0" ]
1
2021-11-19T11:13:37.000Z
2021-11-30T09:08:04.000Z
dm_control/mjcf/export_with_assets_as_zip.py
zzlqwq/dm_control
fb0199e61db3323a17f56fd089af61f7c949f41e
[ "Apache-2.0" ]
5
2021-11-05T08:46:12.000Z
2022-03-25T21:56:58.000Z
# Copyright 2020 The dm_control Authors. # # 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 i...
37.779661
80
0.722297
347
2,229
4.475504
0.380403
0.063748
0.015454
0.020605
0.02962
0
0
0
0
0
0
0.004341
0.173172
2,229
58
81
38.431034
0.838307
0.652759
0
0
0
0
0.012448
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
0.055556
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
e6f8660bfe4cdd04ffe16ff023ddba3298b032c2
343
py
Python
Python/School/Project/q6.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/Project/q6.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/Project/q6.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
from random import * l=[] new_l=[] for i in range(10): l.append(randint(0, 25)) for i in range(len(l)): if not i==0 and not i==len(l)-1: new_l.append(l[i-1]+l[i]+l[i+1]) elif i==0: new_l.append(l[i]+l[i+1]) elif i==len(l)-1: new_l.append(l[i-1]+l[i]) print("l = "+str(l),"new_l = ...
24.5
51
0.524781
78
343
2.230769
0.307692
0.08046
0.068966
0.189655
0.396552
0.33908
0.33908
0.241379
0.241379
0.241379
0
0.048327
0.215743
343
13
52
26.384615
0.598513
0
0
0
0
0
0.040816
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
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
e6fbbf5f1c527f22e2b6a1de89ae5f5a684653a2
1,143
py
Python
src/sigid_csv_to_json.py
ddcc/d3-waterfall
e5d813d1ec8f4c09ea083d03be89000a61b77e8c
[ "MIT" ]
82
2016-10-10T20:25:42.000Z
2021-12-28T04:45:10.000Z
src/sigid_csv_to_json.py
ddcc/d3-waterfall
e5d813d1ec8f4c09ea083d03be89000a61b77e8c
[ "MIT" ]
null
null
null
src/sigid_csv_to_json.py
ddcc/d3-waterfall
e5d813d1ec8f4c09ea083d03be89000a61b77e8c
[ "MIT" ]
13
2016-10-14T06:33:03.000Z
2022-01-15T11:43:14.000Z
#!/usr/bin/env python import json def main(): out = [] # The input file is generated using the Signal Identification Guide (sigidwiki.com) # stored as the "db.csv" file from the Artemis 2 offline database (markslab.tk/project-artemis). with open("db.csv", "r") as f: for line in f: ...
36.870968
113
0.573928
143
1,143
4.524476
0.587413
0.015456
0
0
0
0
0
0
0
0
0
0.01
0.300087
1,143
30
114
38.1
0.79875
0.294838
0
0
1
0
0.118029
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
0.055556
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
fc0c220a47faf00a9190dcf4104b3e378a15bf64
447
py
Python
opgc/apps/notices/admin.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
9
2020-08-19T02:49:03.000Z
2022-03-04T10:50:18.000Z
opgc/apps/notices/admin.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
7
2021-07-20T15:13:07.000Z
2022-03-08T13:14:43.000Z
opgc/apps/notices/admin.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
2
2021-08-13T08:05:34.000Z
2022-02-28T05:51:06.000Z
from django.contrib import admin from apps.notices.forms import NoticeForm from apps.notices.models import Notice class NoticeAdmin(admin.ModelAdmin): list_display = ('id', 'created', 'updated', 'title',) list_display_links = ('id', ) readonly_fields = ('id', 'created', 'updated') fields = ('id', 'cr...
26.294118
61
0.691275
53
447
5.716981
0.566038
0.089109
0.158416
0.138614
0
0
0
0
0
0
0
0.005348
0.163311
447
16
62
27.9375
0.804813
0
0
0
0
0
0.149888
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.909091
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
fc0f3832fde14940c6e8c0f85133857473471f50
3,402
py
Python
function/function_sg_event.py
lihtiandxc/notification4sgchanges
6aeb5ceea1560399fdd7b7b4594856a1c6250414
[ "MIT" ]
null
null
null
function/function_sg_event.py
lihtiandxc/notification4sgchanges
6aeb5ceea1560399fdd7b7b4594856a1c6250414
[ "MIT" ]
null
null
null
function/function_sg_event.py
lihtiandxc/notification4sgchanges
6aeb5ceea1560399fdd7b7b4594856a1c6250414
[ "MIT" ]
null
null
null
from datetime import datetime import boto3 import json import os sns_client = boto3.client('sns') ###-------Global Var can be defined in Lambda global var and import with os.environ() method #str_asg_name = 'limliht-asg,limliht2-asg' #simulate global var in lambda #global_asg_name = str_asg_name.split(',') #accountp...
40.023529
143
0.690182
435
3,402
5.126437
0.351724
0.069058
0.053812
0.017937
0.069507
0.027803
0
0
0
0
0
0.022508
0.177249
3,402
84
144
40.5
0.774205
0.23545
0
0
0
0
0.267415
0.060372
0
0
0
0.011905
0
1
0.052632
false
0
0.070175
0
0.140351
0.017544
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
fc130139f7362f97263a60861e89685bc0868b68
5,180
py
Python
nova/rootwrap/filters.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
1
2019-11-06T12:21:59.000Z
2019-11-06T12:21:59.000Z
nova/rootwrap/filters.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
null
null
null
nova/rootwrap/filters.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
2
2019-12-23T18:06:28.000Z
2020-07-24T08:44:28.000Z
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 OpenStack, LLC. # 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...
34.078947
78
0.598069
637
5,180
4.788069
0.33595
0.050492
0.023607
0.032787
0.146885
0.063279
0.063279
0.053115
0.030164
0
0
0.010014
0.305985
5,180
151
79
34.304636
0.838387
0.381467
0
0.395062
0
0
0.035229
0
0
0
0
0
0
1
0.148148
false
0
0.024691
0.012346
0.530864
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
fc1f4165670f9d1820f876f46d9e66af62435356
919
py
Python
static/Cluster.py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
static/Cluster.py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
static/Cluster.py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 31 13:54:38 2019 @author: yujijun """ from scipy.cluster.hierarchy import dendrogram, linkage,fcluster def cluster(dist_mat, Distance, Method, n_cluster): """ This script is to generate a cluster result by scipy.cluster.hierarchy P...
34.037037
99
0.70185
126
919
5.039683
0.563492
0.033071
0.066142
0.056693
0.097638
0.097638
0.097638
0.097638
0
0
0
0.019126
0.203482
919
26
100
35.346154
0.848361
0.612622
0
0
0
0
0.027119
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
fc22536a4e567d285ee52c58f116783c5a104c19
3,021
py
Python
unbalancedot/utils.py
thibsej/unbalanced-ot-functionals
bfd098e98ed10b90a36e0dbe7b099c1c31770931
[ "MIT" ]
14
2019-12-04T12:41:12.000Z
2022-03-30T11:37:00.000Z
unbalancedot/utils.py
thibsej/unbalanced-ot-functionals
bfd098e98ed10b90a36e0dbe7b099c1c31770931
[ "MIT" ]
1
2022-01-14T16:35:18.000Z
2022-01-18T09:15:03.000Z
unbalancedot/utils.py
thibsej/unbalanced-ot-functionals
bfd098e98ed10b90a36e0dbe7b099c1c31770931
[ "MIT" ]
3
2020-10-09T08:24:22.000Z
2022-02-18T15:48:35.000Z
import torch def scal(a, f): return torch.sum(a * f, dim=1) def check_cost_consistency(x, y, C): mask = ( (x.size()[0] == C.size()[0]) & (x.size()[1] == C.size()[1]) & (y.size()[2] == C.size()[2]) ) if not mask: raise Exception( "Dimension of cost C incons...
26.734513
79
0.556107
500
3,021
3.196
0.214
0.010013
0.026283
0.048811
0.435544
0.403004
0.386733
0.356696
0.346683
0.346683
0
0.015697
0.283019
3,021
112
80
26.973214
0.722068
0.186362
0
0.217391
0
0
0.036134
0
0
0
0
0
0
1
0.202899
false
0
0.014493
0.086957
0.463768
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
fc274e4fc375bc58d640d98f18fa4d91a1563350
624
py
Python
main.py
BPod123/WebSudokuSolver
4706f77d9b62fae72e2519c1961299ebbd6b78dd
[ "MIT" ]
null
null
null
main.py
BPod123/WebSudokuSolver
4706f77d9b62fae72e2519c1961299ebbd6b78dd
[ "MIT" ]
null
null
null
main.py
BPod123/WebSudokuSolver
4706f77d9b62fae72e2519c1961299ebbd6b78dd
[ "MIT" ]
null
null
null
from Sudoku import solveSudoku from WebHandler import WebHandler, Difficulty from random import randint, random from WebSudokuSolver import WebSudokuSolver if __name__ == '__main__': solver = WebSudokuSolver() solver.handler.signIn() for i in range(253): try: solver.solve(Difficulty.Eas...
31.2
86
0.607372
68
624
5.455882
0.485294
0.056604
0.032345
0.059299
0.134771
0
0
0
0
0
0
0.048276
0.302885
624
19
87
32.842105
0.804598
0.314103
0
0
0
0
0.019048
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
fc2761726cc4d9a67f0039fa2795c369e164f0d4
408
py
Python
code/crawler/RockerChat/test.py
demo123attack/scanTools
c43a1d3212ccadcb609180be5cc4dfd9ebf56a81
[ "MIT" ]
null
null
null
code/crawler/RockerChat/test.py
demo123attack/scanTools
c43a1d3212ccadcb609180be5cc4dfd9ebf56a81
[ "MIT" ]
null
null
null
code/crawler/RockerChat/test.py
demo123attack/scanTools
c43a1d3212ccadcb609180be5cc4dfd9ebf56a81
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.by import By import pandas as pd import re url = pd.read_table('url.txt',header = None) browser = webdriver.Chrome() for i in range(0,241): browser.get(url[0][i]) div = browser.find_elements(By.CSS_SELECTOR, "div.reset-3c756112--codeBlo...
27.2
98
0.671569
62
408
4.370968
0.629032
0.088561
0.0369
0
0
0
0
0
0
0
0
0.057576
0.191176
408
15
99
27.2
0.763636
0
0
0
0
0
0.131646
0.113924
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
fc27d0ebc251475b98b95d4c0720efbf8c946e57
586
py
Python
utilities/reid_dataset_statistics.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
24
2020-06-23T11:17:42.000Z
2022-03-29T00:38:09.000Z
utilities/reid_dataset_statistics.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
13
2020-07-07T03:59:02.000Z
2022-03-30T04:28:06.000Z
utilities/reid_dataset_statistics.py
XiaoSanGit/wda_tracker
b68ec0edb9daa6cc495815ba9ca549b36eec0369
[ "MIT" ]
9
2021-02-14T07:11:05.000Z
2021-12-23T12:47:08.000Z
import matplotlib.pyplot as plt import scipy.io as sio import os class Reid_dataset_statistics: def __init__(self,dataset_path): self.dataset_path = dataset_path def draw_bbox_height_histogram(self): test_mat = "0791_c6s3_092792_00_good.mat" test_mat_path = os.path.join(self.dataset...
23.44
117
0.733788
83
586
4.722892
0.542169
0.140306
0.114796
0.117347
0
0
0
0
0
0
0
0.037422
0.179181
586
25
118
23.44
0.777547
0
0
0.133333
0
0
0.175468
0.16184
0
0
0
0
0
1
0.133333
false
0.133333
0.2
0
0.4
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
0
0
0
1
0
0
0
0
0
1
fc2a8791cfc821252ba57f123d78f7ccb4aac2c3
2,209
py
Python
week_1_basics_setup/docker_sql/ingest_data.py
Chukwuka1488/Data_Engineering_ZoomCamp
0687ec0b21c29b4e1d9c3d5325cf82e8db5df20f
[ "MIT" ]
null
null
null
week_1_basics_setup/docker_sql/ingest_data.py
Chukwuka1488/Data_Engineering_ZoomCamp
0687ec0b21c29b4e1d9c3d5325cf82e8db5df20f
[ "MIT" ]
null
null
null
week_1_basics_setup/docker_sql/ingest_data.py
Chukwuka1488/Data_Engineering_ZoomCamp
0687ec0b21c29b4e1d9c3d5325cf82e8db5df20f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # import wget import os from time import time from sqlalchemy import create_engine import pandas as pd import argparse def main(params): username = params.username password = params.password host = params.host port = params.port db_name = params.db_name ta...
30.680556
89
0.698506
323
2,209
4.544892
0.272446
0.049046
0.095368
0.081744
0.451635
0.451635
0.388283
0.316757
0.316757
0.292916
0
0.004961
0.178814
2,209
71
90
31.112676
0.8043
0.059756
0
0.232558
0
0
0.207146
0.028006
0
0
0
0
0
1
0.023256
false
0.069767
0.116279
0
0.139535
0.023256
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
fc2af13dc6012041c25cfa64cf3809837e75016f
3,481
py
Python
az_ml/score_cluster.py
noodlefrenzy/StrataDataLondon2018
aefc80f71f6be5ccec419815d9b201c5ffa920df
[ "MIT" ]
3
2018-08-28T22:06:21.000Z
2021-04-01T18:37:20.000Z
az_ml/score_cluster.py
noodlefrenzy/StrataDataLondon2018
aefc80f71f6be5ccec419815d9b201c5ffa920df
[ "MIT" ]
null
null
null
az_ml/score_cluster.py
noodlefrenzy/StrataDataLondon2018
aefc80f71f6be5ccec419815d9b201c5ffa920df
[ "MIT" ]
1
2018-08-28T22:06:41.000Z
2018-08-28T22:06:41.000Z
# This script generates the scoring and schema files # necessary to operationalize your model from azureml.api.schema.dataTypes import DataTypes from azureml.api.schema.sampleDefinition import SampleDefinition from azureml.api.realtime.services import generate_schema import json import numpy as np import os imp...
36.642105
123
0.702672
441
3,481
5.39229
0.380952
0.03238
0.035324
0.033642
0.152229
0.132885
0.132885
0.132885
0.132885
0.132885
0
0.019915
0.192186
3,481
94
124
37.031915
0.825747
0.176386
0
0.119403
1
0
0.08418
0
0
0
0
0
0
1
0.089552
false
0
0.208955
0
0.358209
0.059701
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
fc2d414bb7c0cb9e30bca5e40548b39fce0f441f
2,097
py
Python
oxe-api/test/resource/user/test_delete_user_group.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/test/resource/user/test_delete_user_group.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/test/resource/user/test_delete_user_group.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
from test.BaseCase import BaseCase class TestDeleteUserGroup(BaseCase): @BaseCase.login @BaseCase.grant_access("/user/delete_user_group") def test_ok(self, token): self.db.insert({"id": 14, "name": "My GROUP"}, self.db.tables["UserGroup"]) self.db.insert({"group_id": 14, "resource": "RESO...
36.789474
104
0.606104
235
2,097
5.242553
0.238298
0.087662
0.087662
0.063312
0.644481
0.595779
0.561688
0.561688
0.561688
0.483766
0
0.019923
0.257988
2,097
56
105
37.446429
0.771851
0.019075
0
0.432432
0
0
0.159279
0.044812
0
0
0
0
0.216216
1
0.054054
false
0.081081
0.027027
0
0.108108
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
fc30484120c8c1f74395d6584a2d36a32853460f
4,503
py
Python
orders/views.py
loafbaker/django_ecommerce1
363c06c4b4dd90a4d1880a6be012bb19e68297f1
[ "MIT" ]
null
null
null
orders/views.py
loafbaker/django_ecommerce1
363c06c4b4dd90a4d1880a6be012bb19e68297f1
[ "MIT" ]
null
null
null
orders/views.py
loafbaker/django_ecommerce1
363c06c4b4dd90a4d1880a6be012bb19e68297f1
[ "MIT" ]
null
null
null
import stripe from django.shortcuts import render, HttpResponseRedirect from django.core.urlresolvers import reverse from django.conf import settings from django.contrib import messages from django.contrib.auth.decorators import login_required # Create your views here. from accounts.models import UserAddress from acc...
33.355556
101
0.64557
498
4,503
5.63253
0.269076
0.045633
0.070588
0.030303
0.054189
0.054189
0
0
0
0
0
0.002159
0.279813
4,503
134
102
33.604478
0.862781
0.031535
0
0.2
0
0
0.066161
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.027273
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
fc30581ce56f64eb68fd3eee605ff68312a00b8a
319
py
Python
Programmers/Lv.1/Lotto_best_worst.py
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
2
2021-08-30T12:37:57.000Z
2021-11-29T05:42:05.000Z
Programmers/Lv.1/Lotto_best_worst.py
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
null
null
null
Programmers/Lv.1/Lotto_best_worst.py
kangjunseo/C-
eafdf57a22b3a794d09cab045d6d60c2842ba347
[ "MIT" ]
null
null
null
def solution(lottos, win_nums): answer = [] zeros=0 for i in lottos: if(i==0) : zeros+=1 correct = list(set(lottos).intersection(set(win_nums))) _dict = {6:1,5:2,4:3,3:4,2:5,1:6,0:6} answer.append(_dict[len(correct)+zeros]) answer.append(_dict[len(correct)]) return answer
24.538462
59
0.601881
53
319
3.528302
0.490566
0.074866
0.171123
0.203209
0.278075
0
0
0
0
0
0
0.068273
0.219436
319
12
60
26.583333
0.682731
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
fc305ed1696f9d71b515f28d74731455d286ee3f
802
py
Python
PIX3LPLOTT3R/V2/pc_files/home/pi/printer.py
seshanbrothers/projects
8498188451a9310e33fabfb7d28c3d394041baaa
[ "BSD-2-Clause" ]
7
2016-12-13T09:41:43.000Z
2019-12-13T02:24:28.000Z
PIX3LPLOTT3R/V2/pc_files/home/pi/printer.py
seshanbrothers/projects
8498188451a9310e33fabfb7d28c3d394041baaa
[ "BSD-2-Clause" ]
null
null
null
PIX3LPLOTT3R/V2/pc_files/home/pi/printer.py
seshanbrothers/projects
8498188451a9310e33fabfb7d28c3d394041baaa
[ "BSD-2-Clause" ]
9
2016-12-23T05:14:59.000Z
2021-03-28T20:20:32.000Z
import os, time import glob l = 0 z = 0 ip = "192.168.1.9" path_to_watch = "/var/www/html/uploads/" before = dict ([(f, None) for f in os.listdir (path_to_watch)]) while 1: time.sleep (2) after = dict ([(f, None) for f in os.listdir (path_to_watch)]) added = [f for f in after if not f in before] removed = [f fo...
29.703704
73
0.55611
134
802
3.268657
0.380597
0.123288
0.054795
0.054795
0.159817
0.159817
0.159817
0.159817
0.159817
0.159817
0
0.028428
0.254364
802
26
74
30.846154
0.704013
0.144638
0
0
0
0
0.09824
0.032258
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
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
fc33190b221495c8009523d7f96642eeb94b0031
807
py
Python
app/main/forms.py
MichelAtieno/Personal-Blog
16657391b968e644b99fa0dde5d5a443881698da
[ "Unlicense" ]
null
null
null
app/main/forms.py
MichelAtieno/Personal-Blog
16657391b968e644b99fa0dde5d5a443881698da
[ "Unlicense" ]
null
null
null
app/main/forms.py
MichelAtieno/Personal-Blog
16657391b968e644b99fa0dde5d5a443881698da
[ "Unlicense" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, TextAreaField from wtforms.validators import Required, DataRequired, Length class SubscriberForm(FlaskForm): email = StringField('Email', validators=[Required()]) subscribe = SubmitField('Subscribe') class BlogPostForm(FlaskForm): ...
42.473684
93
0.747212
82
807
7.304878
0.414634
0.1202
0.093489
0.103506
0.106845
0
0
0
0
0
0
0.008475
0.122677
807
18
94
44.833333
0.837571
0
0
0
0
0
0.097893
0
0
0
0
0
0
1
0
false
0
0.2
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
fc397652c3f36c71a8f3d2f02d17764693c4c1d3
987
py
Python
ruuvi-gateway-package/ruuvi_gateway/tests/test_parser.py
ttu/home-assistant-ruuvi-gateway-tests
d674a1f933d762cf2e457a1b97cdfe297ae0249d
[ "MIT" ]
null
null
null
ruuvi-gateway-package/ruuvi_gateway/tests/test_parser.py
ttu/home-assistant-ruuvi-gateway-tests
d674a1f933d762cf2e457a1b97cdfe297ae0249d
[ "MIT" ]
null
null
null
ruuvi-gateway-package/ruuvi_gateway/tests/test_parser.py
ttu/home-assistant-ruuvi-gateway-tests
d674a1f933d762cf2e457a1b97cdfe297ae0249d
[ "MIT" ]
null
null
null
from unittest import TestCase from ruuvi_gateway import parser class TestDataFormats(TestCase): def test_parse_session_cookie(self): header = 'x-ruuvi-interactive realm="RuuviGateway9949" challenge="ae17921390282e0495c52b6af2f365b35aebda0da2e613dfff9d6c66214856c7" session_cookie="RUUVISESSION" session_i...
47
200
0.77305
82
987
9.085366
0.402439
0.069799
0.032215
0.042953
0.45906
0.45906
0.45906
0.45906
0.45906
0.45906
0
0.159905
0.150963
987
20
201
49.35
0.729117
0
0
0.133333
0
0.133333
0.484296
0.385005
0
0
0
0
0.133333
1
0.133333
false
0.333333
0.133333
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
1
0
0
0
0
0
1
fc39e3f9c637a7eef27eb95bff8ab42c414f10f6
5,469
py
Python
3rdparty/black-macchiato/macchiato.py
jackrosenthal/dotfiles
f1eeb00e1e2d4a76191206a5b74cdacb413a9469
[ "MIT" ]
2
2020-04-14T19:40:39.000Z
2021-12-18T15:00:05.000Z
3rdparty/black-macchiato/macchiato.py
jackrosenthal/dotfiles
f1eeb00e1e2d4a76191206a5b74cdacb413a9469
[ "MIT" ]
null
null
null
3rdparty/black-macchiato/macchiato.py
jackrosenthal/dotfiles
f1eeb00e1e2d4a76191206a5b74cdacb413a9469
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import itertools import os import sys import tempfile import tokenize from typing import IO, Iterable, List, NamedTuple, Optional, Tuple, cast import black __version__ = "1.3.0" SINGLE_INDENT = " " * 4 class WrapInfo(NamedTuple): """Describes the changes made when wrapping text.""" ...
27.482412
88
0.647468
747
5,469
4.507363
0.242303
0.032076
0.03564
0.02376
0.143748
0.087318
0.080487
0.080487
0.063558
0.063558
0
0.005352
0.248309
5,469
198
89
27.621212
0.813671
0.117389
0
0.108527
0
0
0.048454
0.012114
0
0
0
0
0
1
0.069767
false
0.069767
0.054264
0.007752
0.24031
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
fc3bcbaeee36d6ef848432f646f534ca083a2dab
197
py
Python
0146 Unix Path Resolution.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
1
2020-12-29T21:17:26.000Z
2020-12-29T21:17:26.000Z
0146 Unix Path Resolution.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
null
null
null
0146 Unix Path Resolution.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
4
2021-09-09T17:42:43.000Z
2022-03-18T04:54:03.000Z
class Solution: def solve(self, path): ans = [] for part in path: if part == "..": if ans: ans.pop() elif part != ".": ans.append(part) return ans
17.909091
42
0.467005
24
197
3.833333
0.625
0
0
0
0
0
0
0
0
0
0
0
0.385787
197
10
43
19.7
0.760331
0
0
0
0
0
0.015228
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
1
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
0
0
1
fc419ecf13ab5bb86f98413ccfc7b6e64776d0af
2,748
py
Python
openspeech/data/audio/mfcc/configuration.py
SoYoungCho/openspeech-1
12eb432ea869288e097a5836236a6b658c40bb1b
[ "Apache-2.0", "MIT" ]
1
2022-02-16T09:02:43.000Z
2022-02-16T09:02:43.000Z
openspeech/data/audio/mfcc/configuration.py
SoYoungCho/openspeech-1
12eb432ea869288e097a5836236a6b658c40bb1b
[ "Apache-2.0", "MIT" ]
null
null
null
openspeech/data/audio/mfcc/configuration.py
SoYoungCho/openspeech-1
12eb432ea869288e097a5836236a6b658c40bb1b
[ "Apache-2.0", "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2021 Soohwan Kim and Sangchun Ha and Soyoung Cho # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights...
42.9375
99
0.719432
370
2,748
5.316216
0.437838
0.044738
0.013218
0.019319
0.103711
0.081342
0.081342
0.046772
0.046772
0
0
0.013636
0.199418
2,748
63
100
43.619048
0.880455
0.663392
0
0
0
0
0.253239
0
0
0
0
0
0
1
0
true
0
0.086957
0
0.391304
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
fc433b9400ffe0e8d893cb5f33eb350a419aa862
6,177
py
Python
django_dicom/models/header.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
8
2018-12-25T11:00:31.000Z
2022-02-03T12:05:56.000Z
django_dicom/models/header.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
11
2019-01-03T11:30:42.000Z
2021-05-12T06:53:20.000Z
django_dicom/models/header.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
4
2019-06-23T18:09:07.000Z
2019-08-30T15:43:18.000Z
""" Definition of the :class:`~django_dicom.models.header.Header` class. """ import os from typing import Any, List from dicom_parser.header import Header as DicomHeader from django.core.exceptions import ObjectDoesNotExist from django.db import models from django_dicom.models.dicom_entity import DicomEntity from djan...
27.453333
87
0.598672
708
6,177
5.086158
0.225989
0.039711
0.05193
0.036656
0.264093
0.224938
0.184393
0.184393
0.184393
0.184393
0
0.0056
0.306136
6,177
224
88
27.575893
0.834578
0.373968
0
0.030303
0
0
0.022313
0.010413
0
0
0
0
0
1
0.151515
false
0
0.181818
0
0.590909
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
fc46e8dc2e33967237bf4cc4e234a9a278e869ed
864
py
Python
python/vending_machine_printer.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
3
2021-03-26T02:21:25.000Z
2022-02-09T19:59:42.000Z
python/vending_machine_printer.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
1
2022-02-10T07:31:34.000Z
2022-02-10T07:31:34.000Z
python/vending_machine_printer.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
3
2021-05-17T10:59:59.000Z
2022-02-09T20:05:28.000Z
from vending_machine import VendingMachine class VendingMachinePrinter: def __init__(self, machine : VendingMachine): self.columns = 60 self.machine = machine def print(self): text = "VendingMachine\n" # TODO: finish this return text def format_line_with_whitespac...
29.793103
99
0.586806
103
864
4.76699
0.533981
0.04277
0.0611
0
0
0
0
0
0
0
0
0.00346
0.331019
864
28
100
30.857143
0.846021
0.252315
0
0
0
0
0.095868
0.056198
0
0
0
0.035714
0
1
0.1875
false
0
0.0625
0
0.4375
0.0625
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
fc49dde985ae74e8bdef231d6469cdc51baf8ecd
623
py
Python
ollie.py
tim-lupo/olliebot
38060813939acddd041f3b755dc9d0e088636bef
[ "Unlicense" ]
null
null
null
ollie.py
tim-lupo/olliebot
38060813939acddd041f3b755dc9d0e088636bef
[ "Unlicense" ]
null
null
null
ollie.py
tim-lupo/olliebot
38060813939acddd041f3b755dc9d0e088636bef
[ "Unlicense" ]
null
null
null
import twitter from twitter import * t = Twitter( auth=OAuth( consumer_key='', consumer_secret='', token='', token_secret='' ) ) auth = twitter.OAuth( consumer_key='', consumer_secret='', token='', token_secret='' ) stream = twitter.stream.TwitterStream(auth=auth, domai...
20.766667
81
0.601926
70
623
5.242857
0.485714
0.070845
0.087193
0.13079
0.250681
0.250681
0.250681
0.250681
0
0
0
0
0.252006
623
30
82
20.766667
0.787554
0
0
0.307692
0
0
0.163462
0.035256
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.115385
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
fc51d3e16cd4dd8b01f41664310c471f32df8ca8
952
py
Python
src/tests/repositories/user_repository_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
null
null
null
src/tests/repositories/user_repository_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
17
2021-03-30T14:42:50.000Z
2021-04-26T18:30:34.000Z
src/tests/repositories/user_repository_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
1
2021-11-26T13:46:57.000Z
2021-11-26T13:46:57.000Z
import unittest from repositories.user_repository import UserRepository class TestUserRepository(unittest.TestCase): def setUp(self): self.repository = UserRepository() self.repository.register("maija", "Ahlie8oh") def test_register_user(self): user = self.repository.register("matti", ...
34
66
0.709034
107
952
6.11215
0.327103
0.149847
0.085627
0.146789
0.250765
0.171254
0.119266
0
0
0
0
0.00915
0.196429
952
27
67
35.259259
0.845752
0
0
0.095238
0
0
0.082983
0
0
0
0
0
0.238095
1
0.285714
false
0.047619
0.095238
0
0.428571
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
fc52f611733d0625e6874eb3394a0d8f3db00933
1,612
py
Python
04.py
flurincoretti/adventofcode
a7e7c7a50ac877aa7fdf8b4179b94f323c7b3125
[ "MIT" ]
null
null
null
04.py
flurincoretti/adventofcode
a7e7c7a50ac877aa7fdf8b4179b94f323c7b3125
[ "MIT" ]
null
null
null
04.py
flurincoretti/adventofcode
a7e7c7a50ac877aa7fdf8b4179b94f323c7b3125
[ "MIT" ]
null
null
null
def has_adjacent_digits(password): digit = password % 10 while password != 0: password = password // 10 if digit == password % 10: return True else: digit = password % 10 return False def has_two_adjacent_digits(password): adjacent_digits = {} digit ...
26
71
0.587469
181
1,612
5.049724
0.220994
0.131291
0.147702
0.074398
0.705689
0.671772
0.671772
0.671772
0.671772
0.579869
0
0.042632
0.330645
1,612
62
72
26
0.804449
0
0
0.673077
0
0
0.059516
0
0
0
0
0
0
1
0.096154
false
0.596154
0
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
fc57e6ae750447bc910ab5e462f992aca7857d36
3,881
py
Python
zstackwoodpecker/zstackwoodpecker/zstack_test/zstack_test_image.py
KevinDavidMitnick/zstack-woodpecker
96257faaf3c362168d008bdb47002025ad669b24
[ "Apache-2.0" ]
2
2016-03-23T08:45:44.000Z
2017-06-26T02:40:46.000Z
zstackwoodpecker/zstackwoodpecker/zstack_test/zstack_test_image.py
KevinDavidMitnick/zstack-woodpecker
96257faaf3c362168d008bdb47002025ad669b24
[ "Apache-2.0" ]
null
null
null
zstackwoodpecker/zstackwoodpecker/zstack_test/zstack_test_image.py
KevinDavidMitnick/zstack-woodpecker
96257faaf3c362168d008bdb47002025ad669b24
[ "Apache-2.0" ]
null
null
null
''' zstack image test class @author: Youyk ''' import zstackwoodpecker.header.header as zstack_header import zstackwoodpecker.header.image as image_header import zstackwoodpecker.operations.image_operations as img_ops import zstackwoodpecker.operations.volume_operations as vol_ops import zstackwoodpecker.test_util as ...
38.04902
84
0.706519
474
3,881
5.447257
0.179325
0.059644
0.076685
0.044539
0.179706
0.090627
0.06739
0.06739
0.06739
0
0
0
0.216181
3,881
101
85
38.425743
0.848784
0.074465
0
0.112676
0
0
0.00568
0
0
0
0
0
0
1
0.211268
false
0.014085
0.126761
0.028169
0.422535
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
fc58704512eb38d18564fee34265f8d4dd955d1b
1,624
py
Python
files/students.py
UofAScienceCamps2018/CS-Topics
9f66f88462dedc805dc256b699d64fe9556b5d71
[ "MIT" ]
null
null
null
files/students.py
UofAScienceCamps2018/CS-Topics
9f66f88462dedc805dc256b699d64fe9556b5d71
[ "MIT" ]
null
null
null
files/students.py
UofAScienceCamps2018/CS-Topics
9f66f88462dedc805dc256b699d64fe9556b5d71
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ File: students.py Name: Description: Sources: =============================================== Template on how to open and read a file =============================================== file = open(filename) # Opens the file and stores the file object in <file> file_contents = [] # Creates a ...
27.525424
110
0.633005
218
1,624
4.610092
0.43578
0.062687
0.035821
0.025871
0.137313
0.069652
0
0
0
0
0
0.00304
0.189655
1,624
58
111
28
0.760638
0.170567
0
0
0
0
0.026521
0
0
0
0
0
0
0
null
null
0
0
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
fc5ebcd0600aeb9df374e6910b63c2ce97a97a72
499
py
Python
setup.py
MCBoarder289/sankeyfy
e3620929dad75cf403db2b7f6b1b8cc41e85b85a
[ "MIT" ]
1
2018-12-24T22:45:02.000Z
2018-12-24T22:45:02.000Z
setup.py
MCBoarder289/sankeyfy
e3620929dad75cf403db2b7f6b1b8cc41e85b85a
[ "MIT" ]
5
2019-01-09T12:58:23.000Z
2021-06-01T23:13:02.000Z
setup.py
MCBoarder289/sankeyfy
e3620929dad75cf403db2b7f6b1b8cc41e85b85a
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name='sankeyfy', version='0.2', description='Wrangle dataframes for use in Sankey visualizations', long_description=open("README.md", "r").read(), keywords = ('sankey plotly D3'), install_requires=['numpy', 'pandas'], url='https://github.com...
31.1875
72
0.643287
55
499
5.763636
0.836364
0
0
0
0
0
0
0
0
0
0
0.015075
0.202405
499
15
73
33.266667
0.781407
0
0
0
0
0
0.38477
0.054108
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
fc600f0bf291054343b790739af116b04e0851c5
2,755
py
Python
rgb_kb_custom/TODO_audio_spectrum_analyzer.py
Invertisment/system_tray_extensions
96c7b4ccca4961099f257320dde279beaf3667cf
[ "MIT" ]
null
null
null
rgb_kb_custom/TODO_audio_spectrum_analyzer.py
Invertisment/system_tray_extensions
96c7b4ccca4961099f257320dde279beaf3667cf
[ "MIT" ]
null
null
null
rgb_kb_custom/TODO_audio_spectrum_analyzer.py
Invertisment/system_tray_extensions
96c7b4ccca4961099f257320dde279beaf3667cf
[ "MIT" ]
null
null
null
# ref: # - https://python-sounddevice.readthedocs.io/en/0.4.3/examples.html#real-time-text-mode-spectrogram # - https://soundcard.readthedocs.io/en/latest/ import soundcard as sc import numpy as np import matplotlib.pyplot as plt import matplotlib from scipy import signal import math import cv2 import time class Cus...
34.4375
103
0.570599
363
2,755
4.176309
0.393939
0.065303
0.039578
0.031662
0.079156
0.039578
0.039578
0.039578
0
0
0
0.025497
0.288203
2,755
79
104
34.873418
0.747578
0.15245
0
0
0
0
0.001358
0
0
0
0
0.012658
0
1
0.137255
false
0.019608
0.156863
0.039216
0.411765
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
fc617dd701c9acb3b793b4ec2a7137d4ff8bea47
1,531
py
Python
pyvultr/lib/tests/test_baseapi.py
pradeepchhetri/vultr-py
cd1b6cf72160c3cea12f4ed28a88688e959cb46f
[ "Unlicense" ]
2
2017-03-06T21:34:27.000Z
2017-03-17T11:41:06.000Z
pyvultr/lib/tests/test_baseapi.py
pradeepchhetri/pyvultr
cd1b6cf72160c3cea12f4ed28a88688e959cb46f
[ "Unlicense" ]
null
null
null
pyvultr/lib/tests/test_baseapi.py
pradeepchhetri/pyvultr
cd1b6cf72160c3cea12f4ed28a88688e959cb46f
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import pyvultr import pyvultr.lib import unittest from pyvultr.lib.exceptions import * class TestBaseAPI(unittest.TestCase): def setUp(self): self.base_url = "http://httpbin.org/" self.token = "afak...
30.019608
86
0.669497
193
1,531
5.119171
0.26943
0.129555
0.089069
0.106275
0.393725
0.393725
0.202429
0.202429
0.172065
0
0
0.035863
0.216852
1,531
50
87
30.62
0.788157
0.013717
0
0
0
0
0.084881
0.025862
0
0
0
0
0.194444
1
0.25
false
0.027778
0.138889
0
0.416667
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
fc67870007c842f22fcb2c9a2153b103932ce9f2
271
py
Python
recipes/Python/252178_Reorder_sequence_uses_generators/recipe-252178.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/252178_Reorder_sequence_uses_generators/recipe-252178.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/252178_Reorder_sequence_uses_generators/recipe-252178.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
def all_perms(str): if len(str) <=1: yield str else: for perm in all_perms(str[1:]): for i in range(len(perm)+1): #nb str[0:1] works in both string and list contexts yield perm[:i] + str[0:1] + perm[i:]
30.111111
67
0.501845
44
271
3.045455
0.5
0.119403
0.164179
0
0
0
0
0
0
0
0
0.040698
0.365314
271
8
68
33.875
0.738372
0.184502
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
fc6853bd55cdfeffe68071349b3bc9759263d14f
5,488
py
Python
scripts/automation/h_avc.py
fperrin/trex-core
0deadd9c2ce7e5969e47d53d636d25a60189ccde
[ "Apache-2.0" ]
null
null
null
scripts/automation/h_avc.py
fperrin/trex-core
0deadd9c2ce7e5969e47d53d636d25a60189ccde
[ "Apache-2.0" ]
null
null
null
scripts/automation/h_avc.py
fperrin/trex-core
0deadd9c2ce7e5969e47d53d636d25a60189ccde
[ "Apache-2.0" ]
null
null
null
#!/router/bin/python-2.4.3 import time,os, sys, string from os.path import exists from os import system, remove, chdir import re import time import random import copy import telnetlib import datetime import collections from trex_perf import TrexRunException import random import time class RouterIOException(Exception...
28
116
0.577259
722
5,488
4.189751
0.254848
0.087934
0.055537
0.052893
0.298182
0.213884
0.201322
0.201322
0.198347
0.198347
0
0.016226
0.303754
5,488
195
117
28.14359
0.775451
0.091837
0
0.226563
0
0.007813
0.111425
0.007858
0
0
0
0
0
1
0.132813
false
0.078125
0.101563
0.015625
0.34375
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
fc6e5f512229e0a4a8b4fd59b6100c136a9b0c1e
606
py
Python
nlp/pos_tagger.py
yardstick17/extract_phrase
647c406e21435727da03612b9e490ed766033700
[ "MIT" ]
5
2017-12-01T11:25:22.000Z
2019-09-28T21:05:27.000Z
nlp/pos_tagger.py
yardstick17/extract_phrase
647c406e21435727da03612b9e490ed766033700
[ "MIT" ]
null
null
null
nlp/pos_tagger.py
yardstick17/extract_phrase
647c406e21435727da03612b9e490ed766033700
[ "MIT" ]
4
2017-07-07T09:03:51.000Z
2020-05-02T06:30:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import nltk from nltk import PerceptronTagger class PosTagger: def __init__(self, sentence): """ Args: sentence: """ self.sentence = sentence self.tagger = PosTagger.get_tagger() def pos_tag(self): """...
17.314286
51
0.549505
58
606
5.534483
0.5
0.11215
0.093458
0
0
0
0
0
0
0
0
0.005
0.339934
606
34
52
17.823529
0.7975
0.133663
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.615385
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
fc70cf9cfa6fc286e81766a35a3e4f1c15f33083
920
py
Python
instance/config.py
Alweezy/cp2-bucketlist-api
4d18db3e263cd434076a6201e4069a9f6e51a7aa
[ "MIT" ]
1
2018-12-18T17:44:20.000Z
2018-12-18T17:44:20.000Z
instance/config.py
Alweezy/cp2-bucketlist-api
4d18db3e263cd434076a6201e4069a9f6e51a7aa
[ "MIT" ]
4
2017-07-24T19:07:28.000Z
2017-07-31T18:40:38.000Z
instance/config.py
Alweezy/cp2-bucketlist-api
4d18db3e263cd434076a6201e4069a9f6e51a7aa
[ "MIT" ]
null
null
null
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
21.904762
68
0.695652
91
920
6.89011
0.417582
0.127592
0.14673
0.079745
0.140351
0.140351
0
0
0
0
0
0
0.191304
920
41
69
22.439024
0.842742
0.192391
0
0.208333
0
0
0.164575
0.085077
0
0
0
0
0
1
0
false
0
0.041667
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
fc71b58599b29584f9e8ad0d5fec0a976320a904
1,832
py
Python
src/chia_log/log_handler.py
Connor-Knabe/chiadog
dd9f46d4f74c1cc4105c9095ef79af69d6b95b79
[ "MIT" ]
503
2021-04-04T00:38:52.000Z
2022-03-25T12:41:27.000Z
src/chia_log/log_handler.py
13thProgression/chiadog
33dc42b0153c1d050447ebcce380edf545257688
[ "MIT" ]
173
2021-04-04T22:02:33.000Z
2022-03-28T11:15:32.000Z
src/chia_log/log_handler.py
13thProgression/chiadog
33dc42b0153c1d050447ebcce380edf545257688
[ "MIT" ]
133
2021-04-05T19:23:52.000Z
2022-03-14T08:26:15.000Z
# std from typing import Optional # project from src.chia_log.handlers.daily_stats.stats_manager import StatsManager from src.chia_log.handlers.harvester_activity_handler import HarvesterActivityHandler from src.chia_log.handlers.partial_handler import PartialHandler from src.chia_log.handlers.block_handler import Blo...
38.978723
116
0.748362
215
1,832
6.176744
0.418605
0.042169
0.057982
0.073795
0.099398
0
0
0
0
0
0
0.002038
0.196507
1,832
46
117
39.826087
0.900136
0.238537
0
0
0
0
0
0
0
0
0
0
0
1
0.074074
false
0
0.333333
0
0.444444
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
fc723e42f108b38980ed4a21ac9087df178ef20a
3,644
py
Python
networkapi/queue_tools/queue_manager.py
brunodevel/GloboNetworkAPI
ea8eebc0337636f9250e628cc392514934db8edd
[ "Apache-2.0" ]
null
null
null
networkapi/queue_tools/queue_manager.py
brunodevel/GloboNetworkAPI
ea8eebc0337636f9250e628cc392514934db8edd
[ "Apache-2.0" ]
null
null
null
networkapi/queue_tools/queue_manager.py
brunodevel/GloboNetworkAPI
ea8eebc0337636f9250e628cc392514934db8edd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # 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 "Lic...
34.377358
88
0.648738
434
3,644
5.331797
0.396313
0.024201
0.025929
0.013829
0.111495
0.099395
0.076059
0.045808
0.045808
0.045808
0
0.004924
0.275521
3,644
105
89
34.704762
0.871591
0.212404
0
0.166667
0
0
0.218665
0.053652
0
0
0
0
0
0
null
null
0
0.125
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
fc736f281fe030bcd9d0ca12ee1892da8800d86e
772
py
Python
Python/general/int_to_binary.py
blakfeld/Data-Structures-and-Algoritms-Practice
6c3d76bc0220cf7e06c4c1746cd1df547dbf1b38
[ "MIT" ]
null
null
null
Python/general/int_to_binary.py
blakfeld/Data-Structures-and-Algoritms-Practice
6c3d76bc0220cf7e06c4c1746cd1df547dbf1b38
[ "MIT" ]
null
null
null
Python/general/int_to_binary.py
blakfeld/Data-Structures-and-Algoritms-Practice
6c3d76bc0220cf7e06c4c1746cd1df547dbf1b38
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ int_to_binary.py Author: Corwin Brown <blakfeld@gmail.com> """ from __future__ import print_function import sys def convert_int_to_binary(int_to_convert): """ Convert an int to binary. I'm aware that in python I could've just done: '{0:b}'.format(int_to_convert) ...
17.953488
51
0.615285
112
772
3.928571
0.517857
0.136364
0.218182
0.081818
0
0
0
0
0
0
0
0.013962
0.257772
772
42
52
18.380952
0.753927
0.398964
0
0
0
0
0.020305
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.416667
0.166667
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
fc74944c6e58c46e09733f94ebb6be27ad5e6ef7
411
py
Python
apps/challenge/migrations/0003_match_infra_token.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/challenge/migrations/0003_match_infra_token.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/challenge/migrations/0003_match_infra_token.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
# Generated by Django 3.1.5 on 2021-03-28 15:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('challenge', '0002_map_infra_token'), ] operations = [ migrations.AddField( model_name='match', name='infra_token', ...
21.631579
74
0.608273
47
411
5.191489
0.787234
0.081967
0
0
0
0
0
0
0
0
0
0.073826
0.274939
411
18
75
22.833333
0.744966
0.109489
0
0
1
0
0.123626
0
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
fc77a2da5b1f8fe845498c7e6a7966a0bc6a5840
675
py
Python
tests/test_rbp.py
stnava/ANTsPyT1w
55802af39aba927d609ad46ef8c72ec6b0d24e17
[ "Apache-2.0" ]
2
2021-06-17T22:19:08.000Z
2021-06-28T14:21:44.000Z
tests/test_rbp.py
stnava/ANTsPyT1w
55802af39aba927d609ad46ef8c72ec6b0d24e17
[ "Apache-2.0" ]
1
2021-11-05T20:15:48.000Z
2021-11-07T10:15:23.000Z
tests/test_rbp.py
stnava/ANTsPyT1w
55802af39aba927d609ad46ef8c72ec6b0d24e17
[ "Apache-2.0" ]
1
2021-07-20T14:28:42.000Z
2021-07-20T14:28:42.000Z
import ants import antspyt1w import antspynet import pandas as pd import numpy as np fn = antspyt1w.get_data('PPMI-3803-20120814-MRI_T1-I340756', target_extension='.nii.gz' ) x = ants.image_read( fn ) imgbxt = antspyt1w.brain_extraction( x, method='v1' ) x = antspyt1w.preprocess_intensity( x, imgbxt ) #################...
42.1875
96
0.714074
84
675
5.571429
0.595238
0.038462
0.055556
0
0
0
0
0
0
0
0
0.06136
0.106667
675
15
97
45
0.71476
0
0
0
0
0
0.10828
0.052548
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
fc780e693800c89d5b926ce75e9c4722767f8c36
5,788
py
Python
sdk/python/pulumi_oci/core/get_app_catalog_listings.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/core/get_app_catalog_listings.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/core/get_app_catalog_listings.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
39.917241
158
0.689876
652
5,788
5.82362
0.223926
0.055307
0.085331
0.047406
0.234922
0.116671
0.040558
0.02344
0
0
0
0.000222
0.221493
5,788
144
159
40.194444
0.842432
0.219592
0
0.088889
1
0
0.175685
0.065623
0
0
0
0
0
1
0.1
false
0
0.077778
0.022222
0.288889
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
fc789cd758035153913a1dc5fe4eba4c155aebc6
749
py
Python
upload/exceptions.py
branty/hhp
232efaa64cb6de078b5880287d700223f675dcc5
[ "Apache-2.0" ]
null
null
null
upload/exceptions.py
branty/hhp
232efaa64cb6de078b5880287d700223f675dcc5
[ "Apache-2.0" ]
null
null
null
upload/exceptions.py
branty/hhp
232efaa64cb6de078b5880287d700223f675dcc5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 #-*- coding:utf-8 -*- """ Author: Wang, Jun Email: wangjun41@baidu.com Date: 2018-11-16 """ class BaseException(Exception): "base exception" def __init__(self, msg): self.msg = msg class UnsupportedError(BaseException): """Not support""" def __init__(self, msg): ...
19.710526
52
0.632844
83
749
5.46988
0.493976
0.154185
0.121145
0.154185
0.30837
0.30837
0.30837
0.255507
0
0
0
0.020942
0.23498
749
38
53
19.710526
0.771379
0.272363
0
0.625
0
0
0.026316
0
0
0
0
0
0
1
0.3125
false
0
0
0
0.625
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
fc803e4c86fa1cf6725e175002466fe4a3e0e6a0
3,504
py
Python
decode/RIFF_WAVE_Checks.py
SkyLined/headsup
8c07c0a4b90c5fad2c208a88bd2b2fc12ecadea4
[ "Apache-2.0" ]
1
2021-01-30T07:32:28.000Z
2021-01-30T07:32:28.000Z
decode/RIFF_WAVE_Checks.py
SkyLined/headsup
8c07c0a4b90c5fad2c208a88bd2b2fc12ecadea4
[ "Apache-2.0" ]
null
null
null
decode/RIFF_WAVE_Checks.py
SkyLined/headsup
8c07c0a4b90c5fad2c208a88bd2b2fc12ecadea4
[ "Apache-2.0" ]
null
null
null
# Copyright 2010 Google 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 ...
37.276596
76
0.652397
489
3,504
4.435583
0.222904
0.099585
0.076072
0.082988
0.476717
0.383126
0.227755
0.176118
0.176118
0.176118
0
0.005587
0.233733
3,504
93
77
37.677419
0.802235
0.358162
0
0.381818
0
0
0.148235
0
0
0
0
0
0
1
0.109091
false
0.090909
0
0
0.109091
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
fc8b0c97f3f28d54ffc33ba683689bc5be44d31f
788
py
Python
src/RQ4_exp2/get_results2.py
ai-se/Bellwethers__FSE_2018
921ec881b17f29ed73bdb5b4510c2a30a6d23ef4
[ "Unlicense" ]
null
null
null
src/RQ4_exp2/get_results2.py
ai-se/Bellwethers__FSE_2018
921ec881b17f29ed73bdb5b4510c2a30a6d23ef4
[ "Unlicense" ]
1
2018-05-09T15:05:01.000Z
2018-05-09T15:05:01.000Z
src/RQ4_exp2/get_results2.py
ai-se/BEETLE__FSE_2018
921ec881b17f29ed73bdb5b4510c2a30a6d23ef4
[ "Unlicense" ]
1
2020-09-08T18:15:38.000Z
2020-09-08T18:15:38.000Z
import pickle import os import numpy as np import csv pickle_file = "./Processed/processed.p" content = pickle.load(open(pickle_file, 'r')) familys = ['sac', 'sqlite', 'x264', 'spear'] training_coeffs = [1, 2, 3, 4, 5, 6, 7, 8, 9] for family in familys: myfile = open('./Results_10-100/' + family + '_form2.csv...
26.266667
83
0.573604
105
788
4.228571
0.542857
0.045045
0.063063
0
0
0
0
0
0
0
0
0.03351
0.280457
788
30
84
26.266667
0.749559
0
0
0
0
0
0.095057
0.029151
0
0
0
0
0
0
null
null
0.041667
0.166667
null
null
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
1
0
0
0
0
0
0
0
0
1
fc8c54fa065d80fcbf594a0847232a908c18bf34
700
py
Python
Solutions/Python/Problem 010.py
IsmaelU/Project-Euler-Solutions
00df75dea2be6a3f0341496ce5fb509a64c6029d
[ "CC0-1.0" ]
null
null
null
Solutions/Python/Problem 010.py
IsmaelU/Project-Euler-Solutions
00df75dea2be6a3f0341496ce5fb509a64c6029d
[ "CC0-1.0" ]
null
null
null
Solutions/Python/Problem 010.py
IsmaelU/Project-Euler-Solutions
00df75dea2be6a3f0341496ce5fb509a64c6029d
[ "CC0-1.0" ]
null
null
null
# Problem 1- Summation of primes # https://projecteuler.net/problem=10 # Answer = def question(): print("""The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million.""") def is_prime(num): if num < 2: return False for i in range(2, num): if n...
17.5
66
0.605714
105
700
3.952381
0.428571
0.108434
0.038554
0
0
0
0
0
0
0
0
0.04175
0.281429
700
39
67
17.948718
0.7833
0.107143
0
0.086957
0
0
0.215781
0
0
0
0
0
0
1
0.217391
false
0
0
0
0.434783
0.086957
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
fc8fe15e6db6498a7aa6bf6d50f9e8ebf3f6f537
11,043
py
Python
src/backend/marsha/core/lti/__init__.py
insad-video/marsha
1e6a708c74527f50c4aa24d811049492e75f47a0
[ "MIT" ]
null
null
null
src/backend/marsha/core/lti/__init__.py
insad-video/marsha
1e6a708c74527f50c4aa24d811049492e75f47a0
[ "MIT" ]
null
null
null
src/backend/marsha/core/lti/__init__.py
insad-video/marsha
1e6a708c74527f50c4aa24d811049492e75f47a0
[ "MIT" ]
null
null
null
"""LTI module that supports LTI 1.0.""" import re from urllib.parse import unquote_plus, urlparse from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.http.request import validate_host from django.utils.datastructures import MultiValueDictKeyError from pylti.common impo...
31.551429
97
0.597573
1,278
11,043
5.039124
0.228482
0.042857
0.02795
0.02795
0.196118
0.131211
0.087888
0.076087
0.068944
0.068944
0
0.001879
0.325274
11,043
349
98
31.641834
0.862435
0.357693
0
0.186667
0
0
0.125991
0.021511
0
0
0
0
0
1
0.12
false
0.073333
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fc9793c9990759c07a0d23c43fab1ab1998f8f55
2,549
py
Python
aiogoogletrans2/models.py
AlexDror/aiogoogletrans2
20cd6be803caef6e048a35b6346ce94e7695b819
[ "MIT" ]
null
null
null
aiogoogletrans2/models.py
AlexDror/aiogoogletrans2
20cd6be803caef6e048a35b6346ce94e7695b819
[ "MIT" ]
null
null
null
aiogoogletrans2/models.py
AlexDror/aiogoogletrans2
20cd6be803caef6e048a35b6346ce94e7695b819
[ "MIT" ]
null
null
null
from typing import List from aiohttp import ClientResponse class Base: def __init__(self, response: ClientResponse = None): self._response = response class TranslatedPart: def __init__(self, text: str, candidates: List[str]): self.text = text self.candidates = candidates def __st...
29.988235
94
0.597882
268
2,549
5.410448
0.223881
0.055862
0.030345
0.063448
0.237241
0.202759
0.172414
0.172414
0.102069
0.102069
0
0.004398
0.286387
2,549
84
95
30.345238
0.792743
0.160455
0
0.293103
0
0
0.102011
0.057471
0
0
0
0
0
1
0.189655
false
0
0.034483
0.12069
0.413793
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
1
0
0
0
1
fc9b304b6b140cfde52a98cdbb092c6fc3137363
5,110
py
Python
Lib/site-packages/django_core/utils/date_parsers.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
Lib/site-packages/django_core/utils/date_parsers.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/django_core/utils/date_parsers.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
from __future__ import unicode_literals import datetime from dateutil.parser import parse from django.utils.six import string_types from django.utils.timezone import pytz def now_by_tz(tz='US/Central', ignoretz=True): """Gets the current datetime object by timezone. :param tz: is the timezone to get the da...
31.54321
82
0.662818
811
5,110
4.096178
0.12947
0.054184
0.033715
0.069536
0.738411
0.669175
0.644792
0.612282
0.580975
0.553883
0
0.111928
0.200978
5,110
162
83
31.54321
0.70169
0.548337
0
0.371429
0
0
0.010526
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.542857
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
fc9d728c72247364d5fec7f6fe337bb58b66c2cb
2,788
py
Python
inflammation/models.py
markgbeckett/python-intermediate-inflammation
cdcff6a75f0464798a147c114e65506827bb2a4b
[ "Apache-2.0" ]
null
null
null
inflammation/models.py
markgbeckett/python-intermediate-inflammation
cdcff6a75f0464798a147c114e65506827bb2a4b
[ "Apache-2.0" ]
12
2021-12-10T10:51:16.000Z
2021-12-10T12:46:08.000Z
inflammation/models.py
markgbeckett/python-intermediate-inflammation
cdcff6a75f0464798a147c114e65506827bb2a4b
[ "Apache-2.0" ]
1
2021-12-10T11:35:23.000Z
2021-12-10T11:35:23.000Z
"""Module containing models representing patients and their data. The Model layer is responsible for the 'business logic' part of the software. Patients' data is held in an inflammation table (2D array) where each row contains inflammation data for a single patient taken over a number of days and each column repres...
24.892857
83
0.658178
377
2,788
4.761273
0.320955
0.020056
0.033426
0.04234
0.153203
0.098607
0.098607
0.098607
0.098607
0.098607
0
0.010557
0.252511
2,788
111
84
25.117117
0.850768
0.376614
0
0.040816
0
0
0.033354
0
0
0
0
0.009009
0
1
0.265306
false
0
0.020408
0.081633
0.55102
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
fc9f192fabf2d07ea4d9c668611f57d21209a673
1,692
py
Python
virtool_workflow/data_model/samples.py
eroberts9789/virtool-workflow
18219eec2b9b934cedd3770ac319f40305c165f2
[ "MIT" ]
5
2020-09-24T20:29:08.000Z
2022-03-17T14:50:56.000Z
virtool_workflow/data_model/samples.py
eroberts9789/virtool-workflow
18219eec2b9b934cedd3770ac319f40305c165f2
[ "MIT" ]
126
2020-10-01T23:38:34.000Z
2022-03-31T08:26:28.000Z
virtool_workflow/data_model/samples.py
eroberts9789/virtool-workflow
18219eec2b9b934cedd3770ac319f40305c165f2
[ "MIT" ]
5
2020-09-29T21:29:46.000Z
2021-07-27T20:34:58.000Z
from dataclasses import dataclass, field from typing import List, Optional from virtool_workflow.analysis.library_types import LibraryType @dataclass class Sample: """A Virtool Sample.""" #: The sample's unique database ID. id: str #: A user-selected name. name: str #: A user-selected host of...
30.214286
95
0.664303
218
1,692
5.09633
0.394495
0.056706
0.028803
0.057606
0.394239
0.313231
0.313231
0.241224
0.241224
0.241224
0
0.001575
0.249409
1,692
55
96
30.763636
0.873228
0.45922
0
0.08
0
0
0.014371
0
0
0
0
0
0
1
0.12
false
0
0.12
0
0.8
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
fca22a1eca30826c2d8649b70c5bf8727abc795d
4,639
py
Python
tests/python/unittest/test_pass_vectorize.py
mingwayzhang/tvm
3b287c4d4e6d83e6fd30db47ffa3d5481a332a63
[ "Apache-2.0" ]
286
2020-06-23T06:40:44.000Z
2022-03-30T01:27:49.000Z
tests/python/unittest/test_pass_vectorize.py
mingwayzhang/tvm
3b287c4d4e6d83e6fd30db47ffa3d5481a332a63
[ "Apache-2.0" ]
10
2020-07-31T03:26:59.000Z
2021-12-27T15:00:54.000Z
tests/python/unittest/test_pass_vectorize.py
mingwayzhang/tvm
3b287c4d4e6d83e6fd30db47ffa3d5481a332a63
[ "Apache-2.0" ]
42
2020-08-01T06:41:24.000Z
2022-01-20T10:33:08.000Z
# 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 u...
35.96124
73
0.633111
711
4,639
3.998594
0.177215
0.098488
0.119592
0.049244
0.694689
0.651073
0.648962
0.62434
0.618361
0.594442
0
0.017173
0.234318
4,639
128
74
36.242188
0.783221
0.162104
0
0.66
0
0
0.052196
0
0
0
0
0
0.21
1
0.06
false
0.07
0.01
0
0.07
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
fca7bbca4e4b0e1ee8b60c28f5612f6e193b0f21
829
py
Python
DataExtraction/StockFetcher/conn_util.py
Mino521/USStockQuantitativeInvestment
0522483ef17eda85da655a9e74e5e0950a7cbc29
[ "MIT" ]
null
null
null
DataExtraction/StockFetcher/conn_util.py
Mino521/USStockQuantitativeInvestment
0522483ef17eda85da655a9e74e5e0950a7cbc29
[ "MIT" ]
null
null
null
DataExtraction/StockFetcher/conn_util.py
Mino521/USStockQuantitativeInvestment
0522483ef17eda85da655a9e74e5e0950a7cbc29
[ "MIT" ]
null
null
null
import mysql.connector PORT = "3306" DATABASE = "stockDB" SERVER_NO = 1 SERVER = {"host": ["localhost", "cadb.cc0uav02d2tx.ap-southeast-2.rds.amazonaws.com"], "user": ["root", "admin"], "password": ["111111", "HtIONyOLbioppFsbdSsG"]} def my_connector(host=SERVER["host"][SERVER_NO], ...
26.741935
86
0.54041
80
829
5.5125
0.4375
0.072562
0.081633
0.113379
0.285714
0.285714
0.285714
0.285714
0.285714
0.285714
0
0.028881
0.331725
829
30
87
27.633333
0.767148
0
0
0.296296
0
0
0.165259
0.060314
0
0
0
0
0
1
0.037037
false
0.148148
0.037037
0
0.111111
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
5d76457dca43c100ca1c891d85ff3a82c169aafe
4,542
py
Python
code/s2v_tsp2d/sar_train_preprocess.py
tahsinkose/graph_comb_opt
055a6e988ef153dfded635ac504aa894f107066b
[ "MIT" ]
null
null
null
code/s2v_tsp2d/sar_train_preprocess.py
tahsinkose/graph_comb_opt
055a6e988ef153dfded635ac504aa894f107066b
[ "MIT" ]
null
null
null
code/s2v_tsp2d/sar_train_preprocess.py
tahsinkose/graph_comb_opt
055a6e988ef153dfded635ac504aa894f107066b
[ "MIT" ]
null
null
null
import numpy as np import networkx as nx import cPickle as cp import pickle import random import ctypes import os import sys from tqdm import tqdm sys.path.append( '%s/tsp2d_lib' % os.path.dirname(os.path.realpath(__file__)) ) from tsp2d_lib import Tsp2dLib def find_model_file(opt): max_n = int(opt['max_n']) ...
35.76378
142
0.527741
651
4,542
3.471582
0.193548
0.031858
0.00885
0.026549
0.576991
0.556637
0.556637
0.550442
0.481416
0.481416
0
0.025246
0.32849
4,542
126
143
36.047619
0.715738
0
0
0.478261
0
0
0.11187
0.043603
0
0
0
0
0.052174
0
null
null
0
0.086957
null
null
0.034783
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
5d812b8418ebf272f26c05c98c13ce350bed45bc
2,267
py
Python
PrototypeTest/Buzzer&Led Test/Buzzer_singing.py
zeyuan-song0204/Remote-infrared-thermometer-
353b6d8dfe417eacc2554446ea7eb79cbe487e10
[ "MIT" ]
6
2021-04-15T13:04:11.000Z
2021-04-18T22:46:52.000Z
PrototypeTest/Buzzer&Led Test/Buzzer_singing.py
zeyuan-song0204/Remote-infrared-thermometer-
353b6d8dfe417eacc2554446ea7eb79cbe487e10
[ "MIT" ]
15
2021-04-19T21:56:34.000Z
2021-04-20T15:51:06.000Z
PrototypeTest/Buzzer&Led Test/Buzzer_singing.py
zeyuan-song0204/Remote-infrared-thermometer-
353b6d8dfe417eacc2554446ea7eb79cbe487e10
[ "MIT" ]
4
2021-04-14T00:09:48.000Z
2021-04-19T15:31:25.000Z
import RPi.GPIO as GPIO import time Buzzer = 11 CL = [0, 131, 147, 165, 175, 196, 211, 248] CM = [0, 262, 294, 330, 350, 393, 441, 495] CH = [0, 525, 589, 661, 700, 786, 882, 990] song_1 = [ CM[3], CM[5], CM[6], CM[3], CM[2], CM[3], CM[5], CM[6], CH[1], CM[6], CM[5], CM[1], CM[3], CM[2],...
31.486111
68
0.392148
397
2,267
2.188917
0.201511
0.124281
0.134638
0.156502
0.378596
0.310702
0.265823
0.192175
0.192175
0.094361
0
0.19562
0.395677
2,267
71
69
31.929577
0.438686
0.007058
0
0.038462
0
0
0.016058
0
0
0
0
0
0
1
0.057692
false
0
0.038462
0
0.096154
0.019231
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
5d85128274bc3b15645690843e01c362f7714cda
54,498
py
Python
python/examples/base/odb.py
WillYee/clearsilver
5c69430890e0b6c630994d0944335e0547a2d97f
[ "BSD-2-Clause" ]
48
2016-09-18T20:59:50.000Z
2022-02-16T03:43:09.000Z
python/examples/base/odb.py
WillYee/clearsilver
5c69430890e0b6c630994d0944335e0547a2d97f
[ "BSD-2-Clause" ]
20
2016-06-29T19:34:55.000Z
2020-09-22T10:44:11.000Z
python/examples/base/odb.py
WillYee/clearsilver
5c69430890e0b6c630994d0944335e0547a2d97f
[ "BSD-2-Clause" ]
19
2016-06-24T01:08:43.000Z
2021-12-04T19:50:23.000Z
#!/usr/bin/env python # # odb.py # # Object Database Api # # Written by David Jeske <jeske@neotonic.com>, 2001/07. # Inspired by eGroups' sqldb.py originally written by Scott Hassan circa 1998. # # Copyright (C) 2001, by David Jeske and Neotonic # # Goals: # - a simple object-like interface to database data # ...
34.623888
165
0.55002
6,074
54,498
4.675008
0.102733
0.019017
0.014791
0.006902
0.365122
0.30374
0.274299
0.245105
0.216333
0.185484
0
0.003985
0.341591
54,498
1,573
166
34.6459
0.787386
0.121693
0
0.346191
0
0.000964
0.081078
0.00415
0
0
0
0.000636
0.002893
0
null
null
0.020251
0.003857
null
null
0.0135
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
5d89dc37d80a10593353f6115fb57792d2ad7610
3,631
py
Python
check_epson_wf3520.py
sephiroth1395/nagios-plugins
1a22ef88fc2573df8c38ca880f6c5a952f1c90c2
[ "MIT" ]
null
null
null
check_epson_wf3520.py
sephiroth1395/nagios-plugins
1a22ef88fc2573df8c38ca880f6c5a952f1c90c2
[ "MIT" ]
null
null
null
check_epson_wf3520.py
sephiroth1395/nagios-plugins
1a22ef88fc2573df8c38ca880f6c5a952f1c90c2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Check Epson WF-3520 cartidges status # Written by Eric Viseur <eric.viseur@gmail.com>, 2017 # Released under MIT license # v1.0 - Initial release import sys import errno import urllib2 from optparse import OptionParser # ---- constants -------------------------------------------------------...
37.822917
424
0.554668
435
3,631
4.588506
0.312644
0.07014
0.022545
0.042585
0.096192
0.096192
0.096192
0.096192
0.096192
0.096192
0
0.022103
0.177637
3,631
95
425
38.221053
0.64635
0.144037
0
0
0
0.017241
0.234332
0.026226
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.034483
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
5d8df0f9903ceab16d4c97d3b0cf4f0d462544e1
2,824
py
Python
hello/todos/migrations/0001_initial.py
AwelEshetu/docker_django
6cf53805b725bd8fae7f5c946cf802d4c7a77fbc
[ "MIT" ]
null
null
null
hello/todos/migrations/0001_initial.py
AwelEshetu/docker_django
6cf53805b725bd8fae7f5c946cf802d4c7a77fbc
[ "MIT" ]
null
null
null
hello/todos/migrations/0001_initial.py
AwelEshetu/docker_django
6cf53805b725bd8fae7f5c946cf802d4c7a77fbc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-10-22 19:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
32.090909
83
0.435552
211
2,824
5.725118
0.364929
0.067053
0.069536
0.076159
0.452815
0.24255
0.187914
0.126656
0.126656
0
0
0.028068
0.457507
2,824
87
84
32.45977
0.760444
0.015935
0
0.3875
1
0
0.053295
0
0
0
0
0
0
1
0
false
0
0.05
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d91c12be227f2024050aefac07b19afef09192d
477
py
Python
website/recipients/migrations/0026_delivery_date.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
website/recipients/migrations/0026_delivery_date.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
website/recipients/migrations/0026_delivery_date.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-28 19:53 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipients', '0025_remove_delivery_container_delivery'), ] operations = [ migrations.AddField( model_name='deliv...
22.714286
72
0.624738
51
477
5.72549
0.705882
0.041096
0.054795
0
0
0
0
0
0
0
0
0.077364
0.268344
477
20
73
23.85
0.759312
0.09434
0
0
1
0
0.14186
0.090698
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
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
5d926fa97a46f399e2e8b9f58dfbb4ca47476b80
2,096
py
Python
binary_classifier.py
sheabrown/binary_cifar-10
79a47122c8a42fcdc8de86e7189e70ad39b2e98c
[ "MIT" ]
null
null
null
binary_classifier.py
sheabrown/binary_cifar-10
79a47122c8a42fcdc8de86e7189e70ad39b2e98c
[ "MIT" ]
null
null
null
binary_classifier.py
sheabrown/binary_cifar-10
79a47122c8a42fcdc8de86e7189e70ad39b2e98c
[ "MIT" ]
null
null
null
# ==================================================================================== # This is a simple neural network (really just a binary linear logistic classifier) # with no frills, meant to train a vector of weights (no bias in this one!), # used in the Astrophysical Machine Learning course at the University o...
34.933333
87
0.535305
274
2,096
4.076642
0.5
0.024172
0.019696
0
0
0
0
0
0
0
0
0.018076
0.181775
2,096
59
88
35.525424
0.633236
0.680821
0
0
0
0
0.032967
0
0
0
0
0
0
0
null
null
0
0.1
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
5d92e06b1b4a8ad6ea8215a5117d88d06e96eabb
2,088
py
Python
Agents/Utils/PrepareTestConfig.py
danarosen/Hi-Phy
ef3b5b744fae0efa3f9e004380ab724af4e1a0ec
[ "MIT" ]
6
2021-06-16T06:51:40.000Z
2022-03-02T11:01:08.000Z
Agents/Utils/PrepareTestConfig.py
danarosen/Hi-Phy
ef3b5b744fae0efa3f9e004380ab724af4e1a0ec
[ "MIT" ]
1
2021-11-11T16:30:42.000Z
2021-11-28T21:58:00.000Z
Agents/Utils/PrepareTestConfig.py
danarosen/Hi-Phy
ef3b5b744fae0efa3f9e004380ab724af4e1a0ec
[ "MIT" ]
3
2021-06-24T05:55:35.000Z
2021-12-08T22:14:20.000Z
import os from shutil import copyfile import lxml.etree as etree os.chdir("../") operating_system = 'Linux' target_level_path = '../level_variations/generated_levels/fourth generation' origin_level_path = '../buildgame/{}/9001_Data/StreamingAssets/Levels/novelty_level_1/type1/Levels/'.format(operating_system) game_lev...
40.941176
125
0.751916
313
2,088
4.744409
0.242812
0.121212
0.047138
0.06734
0.40202
0.358923
0.325253
0.325253
0.325253
0.261279
0
0.016084
0.136494
2,088
50
126
41.76
0.807543
0.090996
0
0.111111
1
0
0.145503
0.110582
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
5d9aa803121d88294408fcccc6f19177ca5e6cca
462
py
Python
imnn/lfi/__init__.py
InformationMaximisingNeuralNetworks/imnn
2eb04d9dc1acc4e8d1e60ef0bb25dfac17bd9f81
[ "MIT" ]
18
2019-03-15T09:08:11.000Z
2021-08-08T17:24:04.000Z
imnn/lfi/__init__.py
InformationMaximisingNeuralNetworks/imnn
2eb04d9dc1acc4e8d1e60ef0bb25dfac17bd9f81
[ "MIT" ]
4
2019-03-21T14:56:23.000Z
2020-07-17T15:27:41.000Z
imnn/lfi/__init__.py
InformationMaximisingNeuralNetworks/imnn
2eb04d9dc1acc4e8d1e60ef0bb25dfac17bd9f81
[ "MIT" ]
4
2019-11-21T20:54:27.000Z
2021-11-14T16:46:12.000Z
from imnn.lfi.lfi import LikelihoodFreeInference from imnn.lfi.gaussian_approximation import GaussianApproximation from imnn.lfi.approximate_bayesian_computation import \ ApproximateBayesianComputation from imnn.lfi.population_monte_carlo import PopulationMonteCarlo __author__ = "Tom Charnock" __version__ = "0.3.2...
28.875
65
0.816017
41
462
8.780488
0.585366
0.088889
0.122222
0
0
0
0
0
0
0
0
0.007353
0.116883
462
15
66
30.8
0.875
0
0
0
0
0
0.24026
0.160173
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
5da0686a603721fea71a8b25fd5341bf308b8ec4
465
py
Python
src/manage.py
antiline/jun2
00928cea1f4b8cd6634cf9a1ae6dc19c95d0e54c
[ "MIT" ]
null
null
null
src/manage.py
antiline/jun2
00928cea1f4b8cd6634cf9a1ae6dc19c95d0e54c
[ "MIT" ]
17
2019-06-24T14:11:49.000Z
2021-06-04T22:19:59.000Z
src/manage.py
tabetaku/roots
8a9f91b8b0e0b64a85db2898a537b12be65de753
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys from infras.secrets.constants import SecretKey from libs.secrets.secrets import Secrets if __name__ == "__main__": # copy system arguments arguments = sys.argv[:] setting_path = f'sites.settings.{Secrets.get(SecretKey.ENVIRONMENT)}' os.environ.setdefault('D...
25.833333
73
0.772043
60
465
5.683333
0.6
0.064516
0.105572
0.129032
0
0
0
0
0
0
0
0
0.137634
465
17
74
27.352941
0.850374
0.090323
0
0
0
0
0.192399
0.173397
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
5da08153803945a77b231df8caffcef6221f616e
21,266
py
Python
playframework-dist/play-1.1/samples-and-tests/i-am-a-developer/mechanize/_html.py
ericlink/adms-server
245f6d38197f195fd0cae8b93718f9ffcffb206a
[ "MIT" ]
1
2015-11-07T15:26:12.000Z
2015-11-07T15:26:12.000Z
framework/samples-and-tests/i-am-a-developer/mechanize/_html.py
lafayette/JBTT
94bde9d90abbb274d29ecd82e632d43a4320876e
[ "MIT" ]
null
null
null
framework/samples-and-tests/i-am-a-developer/mechanize/_html.py
lafayette/JBTT
94bde9d90abbb274d29ecd82e632d43a4320876e
[ "MIT" ]
null
null
null
"""HTML handling. Copyright 2003-2006 John J. Lee <jjl@pobox.com> This code is free software; you can redistribute it and/or modify it under the terms of the BSD or ZPL 2.1 licenses (see the file COPYING.txt included with the distribution). """ import re, copy, htmlentitydefs import sgmllib, ClientForm import _req...
33.648734
78
0.579987
2,341
21,266
5.044853
0.183255
0.032515
0.013971
0.021423
0.283912
0.224047
0.195597
0.173582
0.147502
0.128704
0
0.005218
0.333067
21,266
631
79
33.70206
0.82747
0.052807
0
0.393805
0
0.002212
0.026371
0.001709
0
0
0
0
0.002212
0
null
null
0.004425
0.030973
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
5da440bee77f1954dd4319c794d6a4fd67220634
1,587
py
Python
awardsapp/models.py
Libb521/awards
06f65d4bc4b252470f4b8d8c42b9c385f7279d95
[ "MIT" ]
null
null
null
awardsapp/models.py
Libb521/awards
06f65d4bc4b252470f4b8d8c42b9c385f7279d95
[ "MIT" ]
3
2021-03-19T00:58:23.000Z
2021-09-22T18:45:59.000Z
awardsapp/models.py
Libb521/awards
06f65d4bc4b252470f4b8d8c42b9c385f7279d95
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.dispatch import receiver from django.db.models.signals import post_save # Create your models here. class Profile(models.Model): profile_photo = models.ImageField(upload_to='images/') bio = models.TextField(blank=True) user...
31.74
77
0.702583
205
1,587
5.253659
0.346341
0.050139
0.066852
0.089136
0.224698
0.152275
0.098422
0.098422
0.098422
0.098422
0
0.010062
0.185885
1,587
50
78
31.74
0.823529
0.015123
0
0.131579
0
0
0.014725
0
0
0
0
0
0
1
0.184211
false
0
0.105263
0.078947
0.763158
0.026316
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
5da51275cebb18682c5117ab2b0e997d5f00f9a5
299
py
Python
l2l/templatetags/l2l_extras.py
afunke7/L2L_Interview
26d5e2b766d7b81204d5416269f306fa7b9e76d4
[ "MIT" ]
null
null
null
l2l/templatetags/l2l_extras.py
afunke7/L2L_Interview
26d5e2b766d7b81204d5416269f306fa7b9e76d4
[ "MIT" ]
null
null
null
l2l/templatetags/l2l_extras.py
afunke7/L2L_Interview
26d5e2b766d7b81204d5416269f306fa7b9e76d4
[ "MIT" ]
null
null
null
from django import template import datetime register = template.Library() @register.filter def l2l_dt(now): if isinstance(now, datetime.datetime): return now.strftime("%Y-%m-%d %H:%M:%S") elif isinstance(now, str): return now.replace("T", " ") else: return now
21.357143
48
0.638796
40
299
4.75
0.65
0.142105
0
0
0
0
0
0
0
0
0
0.004292
0.220736
299
13
49
23
0.811159
0
0
0
0
0
0.063545
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.545455
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
5da66d909d06fabe47a526e867e67218136dd0e9
5,385
py
Python
tests/test_dashboards.py
pbelskiy/quickbuild
d06cbe82e6a5a484603b8bc5d0cce27ae1b831a5
[ "MIT" ]
7
2021-02-08T21:31:38.000Z
2022-03-22T00:28:40.000Z
tests/test_dashboards.py
pbelskiy/quickbuild
d06cbe82e6a5a484603b8bc5d0cce27ae1b831a5
[ "MIT" ]
9
2021-02-09T06:43:29.000Z
2022-03-04T21:18:58.000Z
tests/test_dashboards.py
pbelskiy/quickbuild
d06cbe82e6a5a484603b8bc5d0cce27ae1b831a5
[ "MIT" ]
2
2021-02-08T12:08:54.000Z
2022-02-28T10:46:04.000Z
import re import pytest import responses from quickbuild import QBError DASHBOARDS_XML = r"""<?xml version="1.0" encoding="UTF-8"?> <list> <com.pmease.quickbuild.model.Dashboard> <id>1</id> <user>1</user> <name>Default</name> <description>System default dashboard</description> <primary>false</...
29.587912
101
0.644754
537
5,385
6.404097
0.176909
0.04449
0.093923
0.057575
0.62082
0.569352
0.554522
0.554522
0.501309
0.451294
0
0.016428
0.208728
5,385
181
102
29.751381
0.790659
0
0
0.474359
0
0.012821
0.654039
0.322748
0
0
0
0
0.076923
1
0.032051
false
0
0.025641
0
0.057692
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
5da75e4bd6afaf69181f886bf1c0d245968ee3b3
809
py
Python
src/conftest.py
Remmeauth/gimmeremmetokensbot
d62b5c941ec6ff9a387482fa19881f995746ea40
[ "MIT" ]
3
2019-01-31T00:41:32.000Z
2019-01-31T16:37:35.000Z
src/conftest.py
Remmeauth/gimmeremmetokensbot
d62b5c941ec6ff9a387482fa19881f995746ea40
[ "MIT" ]
null
null
null
src/conftest.py
Remmeauth/gimmeremmetokensbot
d62b5c941ec6ff9a387482fa19881f995746ea40
[ "MIT" ]
4
2019-06-06T15:17:42.000Z
2019-11-08T14:41:45.000Z
""" Provide functionality for test fixtures, settings and helpers. """ import pytest from gimmeremmetokensbot.database import ( create_db_tables, drop_db_tables, insert_starter_user_info, ) @pytest.fixture def insert_user_info(): """ Insert starter user information for testing purposes. """ ...
23.114286
89
0.730532
78
809
7.294872
0.615385
0.056239
0.089631
0.073814
0
0
0
0
0
0
0
0.152074
0.195303
809
34
90
23.794118
0.721966
0.23733
0
0
0
0
0.246978
0.234888
0
0
0
0
0
1
0.1
true
0
0.1
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5da9df6124fbf251883aa29ea615ce63bf8ee744
3,268
py
Python
tests/validation/test_unique_argument_names.py
nudjur/graphql-core
0f21717201da0db4463510c055427fd9aba2c74b
[ "MIT" ]
null
null
null
tests/validation/test_unique_argument_names.py
nudjur/graphql-core
0f21717201da0db4463510c055427fd9aba2c74b
[ "MIT" ]
null
null
null
tests/validation/test_unique_argument_names.py
nudjur/graphql-core
0f21717201da0db4463510c055427fd9aba2c74b
[ "MIT" ]
null
null
null
from functools import partial from graphql.validation import UniqueArgumentNamesRule from graphql.validation.rules.unique_argument_names import duplicate_arg_message from .harness import assert_validation_errors assert_errors = partial(assert_validation_errors, UniqueArgumentNamesRule) assert_valid = partial(assert_...
23.177305
87
0.447674
268
3,268
5.175373
0.201493
0.077866
0.092286
0.077866
0.501081
0.405912
0.359048
0.315789
0.262437
0.262437
0
0.036481
0.429621
3,268
140
88
23.342857
0.707618
0
0
0.220339
0
0
0.020661
0
0
0
0
0
0.271186
1
0.254237
false
0
0.067797
0.016949
0.338983
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
5dab8b14c35da1752c104147efb179eaf34ca190
491
py
Python
setup.py
YuanGongND/Speech_Corpus_Frontend
b8335ddc051d0b383a9a6dfd6d0b2f39d1da8cf5
[ "MIT" ]
1
2018-05-09T15:36:43.000Z
2018-05-09T15:36:43.000Z
setup.py
YuanGongND/Speech_DB_Engine
b8335ddc051d0b383a9a6dfd6d0b2f39d1da8cf5
[ "MIT" ]
null
null
null
setup.py
YuanGongND/Speech_DB_Engine
b8335ddc051d0b383a9a6dfd6d0b2f39d1da8cf5
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'speechdb', packages = ['speechdb'], version = '0.1', description = 'A library that simplifies the usability of the predominant speech databases.', author = 'Yuan Gong', author_email = 'yuan.gong.12@nd.edu', url = 'https://github.com/YuanGongND...
32.733333
97
0.670061
61
491
5.295082
0.704918
0.012384
0.086687
0.105263
0.25387
0.25387
0.25387
0.25387
0
0
0
0.014925
0.181263
491
14
98
35.071429
0.788557
0
0
0
0
0
0.505092
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
5db134b3f50e5b86f5cffb09e0072e7c0bde3424
1,999
py
Python
packages/pyre/algebraic/Boolean.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
packages/pyre/algebraic/Boolean.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
packages/pyre/algebraic/Boolean.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2021 all rights reserved # import operator # declaration class Boolean: """ This is a mix-in class that traps the boolean operators The point is to redirect boolean operations among instances of subclasses of {Boolean} to meth...
30.287879
95
0.652326
250
1,999
5.136
0.308
0.042056
0.034268
0.049844
0.521807
0.521807
0.521807
0.521807
0.521807
0.521807
0
0.006152
0.268134
1,999
65
96
30.753846
0.871497
0.48024
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.555556
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
5db3ba65f2157907ae1e6ce5a393536d9a3c24f6
1,678
py
Python
strategy/migrations/0004_strategysharing.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
strategy/migrations/0004_strategysharing.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
strategy/migrations/0004_strategysharing.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-16 09:15 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("strategy", "0003_change_...
32.269231
88
0.454708
127
1,678
5.811024
0.519685
0.04336
0.056911
0.089431
0.219512
0.143631
0.143631
0.143631
0.143631
0
0
0.023913
0.451728
1,678
51
89
32.901961
0.778261
0.026818
0
0.266667
1
0
0.109136
0.060699
0
0
0
0
0
1
0
false
0
0.066667
0
0.133333
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
5db4a83f24eaad7cf19a86379a4411e5b83af037
624
py
Python
app/settings.py
dummybinary/dailybot
84b9b62d93786844acd95399bdb6db6e977b0565
[ "MIT" ]
8
2019-05-15T03:25:19.000Z
2021-11-23T12:43:48.000Z
app/settings.py
dummybinary/dailybot
84b9b62d93786844acd95399bdb6db6e977b0565
[ "MIT" ]
32
2019-09-13T19:53:08.000Z
2022-02-02T20:59:19.000Z
app/settings.py
dummybinary/dailybot
84b9b62d93786844acd95399bdb6db6e977b0565
[ "MIT" ]
13
2019-05-16T17:20:41.000Z
2022-01-17T11:27:06.000Z
import os import datetime # Variables set on environment when possible # Required TOKEN = os.environ.get("TOKEN", "") NAME = os.environ.get("NAME", "") HOUR = int(os.environ.get("HOUR", 10)) MINUTE = int(os.environ.get("MINUTE", 00)) DAILY_TIME = datetime.time(hour=HOUR, minute=MINUTE) # File locations START_FILE =...
24.96
68
0.692308
98
624
4.336735
0.438776
0.148235
0.197647
0.070588
0
0
0
0
0
0
0
0.007299
0.121795
624
24
69
26
0.768248
0.168269
0
0
0
0
0.198444
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
5db5942168f45d64451ec14c1bcdc35eefc1e1ed
31,435
py
Python
dca-master/dca.py
jup36/MatlabNeuralDataPipeline
0c0a2be201cf382eef8d41858df2f9d9b8456351
[ "BSD-2-Clause" ]
null
null
null
dca-master/dca.py
jup36/MatlabNeuralDataPipeline
0c0a2be201cf382eef8d41858df2f9d9b8456351
[ "BSD-2-Clause" ]
null
null
null
dca-master/dca.py
jup36/MatlabNeuralDataPipeline
0c0a2be201cf382eef8d41858df2f9d9b8456351
[ "BSD-2-Clause" ]
1
2021-01-03T16:54:26.000Z
2021-01-03T16:54:26.000Z
import numpy as np import scipy as sp from numpy import eye, ones, zeros, absolute from scipy.linalg import orth, norm, qr from scipy.spatial.distance import pdist, squareform from numpy.matlib import repmat import sys def dca(Xs, Ds = [], num_iters_per_dataset = 1, num_iters_foreach_dim = 30, percent_increa...
40.824675
210
0.590616
4,274
31,435
4.168694
0.117454
0.029186
0.023348
0.017287
0.43408
0.368188
0.326149
0.276029
0.245552
0.21878
0
0.013171
0.297153
31,435
769
211
40.877763
0.793247
0.331509
0
0.320548
0
0.016438
0.086263
0.015715
0
0
0
0
0
0
null
null
0
0.019178
null
null
0.010959
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
5db9b80edc4db4af92390e7a6941d6c97d254acc
2,264
py
Python
tests/cli_test.py
bluegroundltd/kafka-connect-manager
00cfbad428edd4d92fb9c85d8c95be9d1d42f812
[ "MIT" ]
4
2020-11-25T16:22:52.000Z
2022-03-29T09:05:28.000Z
tests/cli_test.py
bluegroundltd/kafka-connect-manager
00cfbad428edd4d92fb9c85d8c95be9d1d42f812
[ "MIT" ]
10
2019-09-03T22:58:49.000Z
2022-03-28T21:07:19.000Z
tests/cli_test.py
lsst-sqre/kafka-connect-manager
e1cab70f0d061afdc429758e39bf771ca78c45fb
[ "MIT" ]
3
2020-08-08T17:16:49.000Z
2021-05-31T05:54:34.000Z
"""Tests for the command-line interface.""" from click.testing import CliRunner from kafkaconnect.cli import main def test_help() -> None: """Test help for main commands and subcommands.""" runner = CliRunner() result = runner.invoke(main, ["-h"]) assert result.exit_code == 0 assert "Commands:"...
31.013699
74
0.656802
282
2,264
5.187943
0.319149
0.049214
0.086124
0.105263
0.383459
0.326042
0.177717
0.12987
0.102529
0.102529
0
0.006772
0.217314
2,264
72
75
31.444444
0.818849
0.206272
0
0.361702
0
0
0.242045
0.030114
0
0
0
0
0.340426
1
0.085106
false
0.06383
0.042553
0
0.12766
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
5dbeeeae086531177afeea5ef897252645db0d0a
2,144
py
Python
bridge/users/api.py
lutovna/klever
29c0e4fa60def241032a2ea2b81103d817994eef
[ "Apache-2.0" ]
16
2018-07-14T15:37:02.000Z
2020-07-11T14:26:59.000Z
bridge/users/api.py
lutovna/klever
29c0e4fa60def241032a2ea2b81103d817994eef
[ "Apache-2.0" ]
3
2021-03-19T09:15:16.000Z
2021-09-22T19:24:40.000Z
bridge/users/api.py
lutovna/klever
29c0e4fa60def241032a2ea2b81103d817994eef
[ "Apache-2.0" ]
10
2018-11-09T12:54:15.000Z
2021-10-31T17:01:39.000Z
# # Copyright (c) 2019 ISP RAS (http://www.ispras.ru) # Ivannikov Institute for System Programming of the Russian Academy of Sciences # # 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 # # h...
37.614035
87
0.73041
275
2,144
5.6
0.48
0.038961
0.044156
0.020779
0.083117
0.083117
0.083117
0.083117
0.083117
0.083117
0
0.007919
0.175373
2,144
56
88
38.285714
0.863122
0.302705
0
0.066667
0
0
0.030447
0
0
0
0
0
0
1
0.133333
false
0
0.233333
0.033333
0.666667
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
5dc0621eca10cb354a9a031a3a5369022b7bf5c3
5,276
py
Python
nx2tikz.py
aryamccarthy/thesis
ef0e45e24e1cde26d3014d8da8cede559bbff5df
[ "MIT" ]
null
null
null
nx2tikz.py
aryamccarthy/thesis
ef0e45e24e1cde26d3014d8da8cede559bbff5df
[ "MIT" ]
null
null
null
nx2tikz.py
aryamccarthy/thesis
ef0e45e24e1cde26d3014d8da8cede559bbff5df
[ "MIT" ]
null
null
null
#! /usr/bin/env python """Export NetworkX graphs to TikZ graphs with automatic layout.""" import argparse import subprocess from networkx import is_directed def dumps_tikz(g, layout='layered', use_label=True): """Return TikZ code as `str` for `networkx` graph `g`.""" if layout not in ('layered', 'spring'): ...
31.035294
74
0.552123
635
5,276
4.491339
0.283465
0.030856
0.010519
0.017882
0.137447
0.100982
0.049088
0.049088
0.049088
0.021739
0
0.00186
0.286581
5,276
170
75
31.035294
0.755845
0.02066
0
0.154412
0
0
0.22665
0.039427
0
0
0
0
0
0
null
null
0
0.051471
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
5dc563af727ae6d55f13f2dce5825d6659d19b70
3,540
py
Python
pheweb/load/phenolist.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
4
2018-11-03T13:58:52.000Z
2020-03-06T09:19:03.000Z
pheweb/load/phenolist.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
92
2018-05-17T18:07:01.000Z
2022-03-29T00:37:30.000Z
pheweb/load/phenolist.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
4
2020-07-01T12:20:55.000Z
2022-01-24T20:09:15.000Z
#!/usr/bin/env python3 # use this to add metadata to the pheno-list.json file: endpoint names, categories, case/control n, gc lambda, num gw sig hits # TODO make part of the import wdl, not using the cov_pheno file but precalculating Ns so can be done without red data # python3 /mnt/nfs/juha/pheweb/pheweb/load/phenoli...
43.170732
378
0.592938
512
3,540
3.970703
0.28125
0.009838
0.043286
0.051648
0.361043
0.305952
0.22725
0.124939
0.085588
0.072799
0
0.032051
0.250847
3,540
81
379
43.703704
0.73454
0.180791
0
0.21875
0
0
0.140193
0.015884
0
0
0
0.012346
0
1
0.015625
false
0
0.0625
0
0.078125
0.015625
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
5dc8f3024032bf6c934fdaa47326faa45c1c920f
822
py
Python
vmps/ops.py
Lynn-015/Test_01
88be712b2d17603f7a3c38836dabe8dbdee2aba3
[ "MIT" ]
2
2015-11-12T01:11:20.000Z
2015-11-12T23:32:28.000Z
vmps/ops.py
Lynn-015/Test_01
88be712b2d17603f7a3c38836dabe8dbdee2aba3
[ "MIT" ]
3
2015-10-28T02:25:48.000Z
2015-11-25T18:21:22.000Z
vmps/ops.py
Lynn-015/NJU_DMRG
88be712b2d17603f7a3c38836dabe8dbdee2aba3
[ "MIT" ]
null
null
null
import numpy as np from scipy.sparse import kron from mpo import MPO,op2mpo,add class OpUnit(object): def __init__(self,mat,site=None): self.mat=mat self.d=self.mat.shape[0] self.site=site class OpString(object): def __init__(self,ops,L,param=1.): self.ops=ops self.L=L self.d=self.ops[0].d self.param=...
20.55
44
0.680049
147
822
3.721088
0.292517
0.127971
0.071298
0.093236
0.065814
0
0
0
0
0
0
0.011645
0.164234
822
39
45
21.076923
0.784571
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.09375
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
5dd1b7a45fbe869b8e8d57abf710810ebc9154c0
3,280
py
Python
taskstack/app/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
2
2020-08-17T19:34:42.000Z
2021-09-28T15:05:41.000Z
taskstack/app/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
1
2020-11-09T20:03:13.000Z
2020-11-09T20:03:13.000Z
taskstack/app/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
null
null
null
import utils.env_loader as env_loader env = env_loader.load() from flask import Flask if env.get("FLASK_ENV") == "production": app = Flask("app", template_folder="templates_production") from app import configs app.config.from_object(configs.Production) socketio_kwargs = { "async_mode": "geve...
29.54955
116
0.740549
428
3,280
5.385514
0.278037
0.085033
0.101518
0.14013
0.524078
0.375271
0.23167
0.23167
0.23167
0.191757
0
0.003311
0.171341
3,280
110
117
29.818182
0.844739
0.01311
0
0.253165
0
0
0.135085
0.012983
0
0
0
0
0
1
0
false
0.025316
0.43038
0
0.43038
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
5dd8cac4530bd3a829f755790461dedf4590a530
1,018
py
Python
kolibri/core/notifications/migrations/0006_auto_20211009_0902.py
MihirBharali/akshar-app
74f01615da5a33eebf393e5bc3940b8f25b6d4f0
[ "MIT" ]
null
null
null
kolibri/core/notifications/migrations/0006_auto_20211009_0902.py
MihirBharali/akshar-app
74f01615da5a33eebf393e5bc3940b8f25b6d4f0
[ "MIT" ]
1
2021-11-28T08:55:41.000Z
2021-11-28T08:55:41.000Z
kolibri/core/notifications/migrations/0006_auto_20211009_0902.py
MihirBharali/akshar-app
74f01615da5a33eebf393e5bc3940b8f25b6d4f0
[ "MIT" ]
4
2021-11-15T04:23:34.000Z
2021-11-25T16:40:11.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-10-09 03:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notifications', '0005_learnerprogressnotification_assignment_collections'), ] oper...
39.153846
223
0.636542
93
1,018
6.817204
0.612903
0.063091
0.078864
0.091483
0.340694
0.340694
0.227129
0
0
0
0
0.034272
0.197446
1,018
25
224
40.72
0.741738
0.06778
0
0.333333
1
0
0.328753
0.115222
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
5dda92e9fa3b07d503119177af254b03570bf98c
535
py
Python
blog/migrations/0007_articlephotoreport_main.py
gda2048/thefirst
f0a74c0a53d507297c58eb267152f6b17339ac02
[ "Apache-2.0" ]
5
2019-08-19T14:49:29.000Z
2019-12-19T19:03:54.000Z
blog/migrations/0007_articlephotoreport_main.py
Sirkirill/PhychoBlog
f0a74c0a53d507297c58eb267152f6b17339ac02
[ "Apache-2.0" ]
10
2020-02-12T00:46:12.000Z
2022-02-10T09:16:47.000Z
blog/migrations/0007_articlephotoreport_main.py
Sirkirill/PhychoBlog
f0a74c0a53d507297c58eb267152f6b17339ac02
[ "Apache-2.0" ]
1
2019-10-10T13:04:11.000Z
2019-10-10T13:04:11.000Z
# Generated by Django 2.2.3 on 2019-07-24 10:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20190723_1502'), ] operations = [ migrations.AddField( model_name='articlephotoreport', name='main'...
28.157895
119
0.605607
55
535
5.781818
0.854545
0
0
0
0
0
0
0
0
0
0
0.082228
0.295327
535
18
120
29.722222
0.761273
0.084112
0
0
1
0
0.25
0.047131
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
5de2c5cc642535edc8e6fb1b39771b9961bb0e16
2,832
py
Python
ModernArchitecturesFromScratch/basic_operations_01.py
BradleyBrown19/ModernArchitecturesFromScratch
9511c94cc7b6782df4603fd3f7751e653b8e7f20
[ "Apache-2.0" ]
null
null
null
ModernArchitecturesFromScratch/basic_operations_01.py
BradleyBrown19/ModernArchitecturesFromScratch
9511c94cc7b6782df4603fd3f7751e653b8e7f20
[ "Apache-2.0" ]
3
2021-05-20T12:26:59.000Z
2022-02-26T06:21:00.000Z
ModernArchitecturesFromScratch/basic_operations_01.py
BradleyBrown19/ModernArchitecturesFromScratch
9511c94cc7b6782df4603fd3f7751e653b8e7f20
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: basic_operations.ipynb (unless otherwise specified). __all__ = ['MNIST_URL', 'Path', 'set_trace', 'datasets', 'pickle', 'gzip', 'math', 'torch', 'tensor', 'random', 'pdb', 'show_doc', 'is_equal', 'near', 'test_near', 'test_near_zero', 'normalize', 'get_mnist', 'ge...
30.12766
118
0.65572
452
2,832
4.015487
0.358407
0.030854
0.011019
0.020937
0.056198
0.056198
0.056198
0.056198
0.029752
0.029752
0
0.007014
0.194562
2,832
94
119
30.12766
0.788689
0.27048
0
0
1
0
0.317728
0
0
0
0
0
0.05
1
0.15
false
0
0.15
0
0.366667
0.083333
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
5de7e7f4d0a0593fb204d5d8f6da984d19f17e2d
4,066
py
Python
third_party/gsutil/gslib/addlhelp/support.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/gsutil/gslib/addlhelp/support.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
1
2021-08-13T18:39:43.000Z
2021-08-13T18:39:43.000Z
third_party/gsutil/gslib/addlhelp/support.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
# -*- coding: utf-8 -*- # Copyright 2012 Google Inc. 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 require...
45.177778
81
0.760944
595
4,066
5.154622
0.435294
0.032279
0.046951
0.023476
0.074992
0.074992
0.029345
0
0
0
0
0.002682
0.174619
4,066
89
82
45.685393
0.911204
0.186424
0
0
0
0.017544
0.869022
0.013098
0
0
0
0
0
1
0
false
0
0.035088
0
0.070175
0.017544
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
5de970b36948efa56493558f94687ca4536f515f
825
py
Python
bin/sql_populate_db.py
gonzalorodrigo/ScSFWorkload
2301dacf486df8ed783c0ba33cbbde6e9978c17e
[ "BSD-3-Clause-LBNL" ]
1
2019-03-18T18:27:49.000Z
2019-03-18T18:27:49.000Z
bin/sql_populate_db.py
gonzalorodrigo/ScSFWorkload
2301dacf486df8ed783c0ba33cbbde6e9978c17e
[ "BSD-3-Clause-LBNL" ]
1
2020-12-17T21:33:15.000Z
2020-12-17T21:35:41.000Z
bin/sql_populate_db.py
gonzalorodrigo/ScSFWorkload
2301dacf486df8ed783c0ba33cbbde6e9978c17e
[ "BSD-3-Clause-LBNL" ]
1
2021-01-05T08:23:20.000Z
2021-01-05T08:23:20.000Z
""" Creates the SQL schema for the workload databases. Env vars: - ANALYSIS_DB_HOST: hostname of the system hosting the database. - ANALYSIS_DB_NAME: database name to read from. - ANALYSIS_DB_USER: user to be used to access the database. - ANALYSIS_DB_PASS: password to be used to used to access the database. - ANALYS...
29.464286
71
0.808485
119
825
5.344538
0.394958
0.04717
0.078616
0.100629
0.188679
0.103774
0.103774
0
0
0
0
0
0.117576
825
27
72
30.555556
0.873626
0.436364
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
0
0
1
0
0
0
0
1
5df2b9cf5104037397d27f5ac1d5fd9f969adbca
4,286
py
Python
Exareme-Docker/src/exareme/exareme-tools/madis/src/functions/vtable/oaiget.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
Exareme-Docker/src/exareme/exareme-tools/madis/src/functions/vtable/oaiget.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
Exareme-Docker/src/exareme/exareme-tools/madis/src/functions/vtable/oaiget.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
""" .. function:: oaiget(url, verb, metadataPrefix,...) Fetches data from an OAIPMH service, using resumption tokens to fetch large datasets. - If no *verb* is provided then *verb* is assumed to be 'ListRecords'. - If no *metadataPrefix* is provided then *verb* is assumed to be 'ListMetadataFormats', which will list ...
31.985075
136
0.535231
418
4,286
5.41866
0.41866
0.015894
0.011921
0.018543
0.281678
0.272848
0.174834
0.162472
0.089183
0.089183
0
0.007919
0.351843
4,286
133
137
32.225564
0.807415
0
0
0.126582
0
0
0.098223
0.015591
0
0
0
0
0
0
null
null
0
0.101266
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
5dfccdfabb05044459f387dbae3341fa3b564eaf
400
py
Python
solutions/python3/565.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/565.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/565.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class Solution: def arrayNesting(self, nums): """ :type nums: List[int] :rtype: int """ dic={} for i in range(len(nums)): if i in dic: continue j=i dic[j]=1 while nums[i]!=j: dic[j]+=1 ...
23.529412
34
0.37
46
400
3.217391
0.521739
0.040541
0.067568
0
0
0
0
0
0
0
0
0.015152
0.505
400
17
35
23.529412
0.732323
0.0825
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
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
b9058247dc1991f7441c961a3d4552c08bce8e33
667
py
Python
exam_retake/grocery_shop/project/deliveries/product.py
PetkoAndreev/Python-OOP
2cc3094940cdf078f0ee60be938e883f843766e4
[ "MIT" ]
1
2021-05-27T07:59:17.000Z
2021-05-27T07:59:17.000Z
exam_retake/grocery_shop/project/deliveries/product.py
PetkoAndreev/Python-OOP
2cc3094940cdf078f0ee60be938e883f843766e4
[ "MIT" ]
null
null
null
exam_retake/grocery_shop/project/deliveries/product.py
PetkoAndreev/Python-OOP
2cc3094940cdf078f0ee60be938e883f843766e4
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Product(ABC): @abstractmethod def __init__(self, name: str, quantity: int): self.name = name self.quantity = quantity @property def name(self): return self.__name @name.setter def name(self, value): if not value: ...
23
74
0.613193
79
667
5.025316
0.417722
0.080605
0.060453
0
0
0
0
0
0
0
0
0.002151
0.302849
667
28
75
23.821429
0.851613
0
0
0.090909
0
0
0.11994
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0.090909
0.409091
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
b90a7fd942e899a2b0b6406cfe7a44aad32c7c0e
2,947
py
Python
st2common/st2common/models/db/rule_enforcement.py
machao19902/st2
6768a529af1b3c12109cbfeae19d3cf7fdb71bb7
[ "Apache-2.0" ]
null
null
null
st2common/st2common/models/db/rule_enforcement.py
machao19902/st2
6768a529af1b3c12109cbfeae19d3cf7fdb71bb7
[ "Apache-2.0" ]
1
2020-03-19T23:45:59.000Z
2020-03-19T23:45:59.000Z
st2common/st2common/models/db/rule_enforcement.py
machao19902/st2
6768a529af1b3c12109cbfeae19d3cf7fdb71bb7
[ "Apache-2.0" ]
null
null
null
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
37.303797
93
0.669834
352
2,947
5.505682
0.434659
0.03096
0.05418
0.035604
0.081527
0.024768
0
0
0
0
0
0.003503
0.224975
2,947
78
94
37.782051
0.845009
0.309807
0
0
0
0
0.135913
0
0
0
0
0.012821
0
1
0.042553
false
0
0.12766
0
0.468085
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
f8dd2b40fc6ff0f76e78c442e207d7fd82601e05
1,320
py
Python
otcextensions/sdk/auto_scaling/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
10
2018-03-03T17:59:59.000Z
2020-01-08T10:03:00.000Z
otcextensions/sdk/auto_scaling/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
39
2018-03-26T14:43:23.000Z
2020-02-07T16:42:53.000Z
otcextensions/sdk/auto_scaling/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
9
2018-03-27T09:17:40.000Z
2019-08-07T12:53:49.000Z
# 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...
31.428571
75
0.722727
182
1,320
5.17033
0.549451
0.063762
0.044633
0.034006
0
0
0
0
0
0
0
0.004643
0.184091
1,320
41
76
32.195122
0.869081
0.517424
0
0
0
0
0.134959
0.045528
0
0
0
0
0
1
0
false
0
0.214286
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
f8e0e73715a26512dfd2e9fc35f6b21502e739ec
1,285
py
Python
maestro/providers/aws/security_groups.py
tunein/Maestro
789205fdbe85242189c50e407445c57ca916e42c
[ "Apache-2.0" ]
12
2018-04-25T22:37:58.000Z
2021-08-24T07:25:31.000Z
maestro/providers/aws/security_groups.py
tunein/Maestro
789205fdbe85242189c50e407445c57ca916e42c
[ "Apache-2.0" ]
4
2018-04-30T05:57:56.000Z
2019-01-29T03:52:53.000Z
maestro/providers/aws/security_groups.py
tunein/Maestro
789205fdbe85242189c50e407445c57ca916e42c
[ "Apache-2.0" ]
2
2018-05-18T17:17:56.000Z
2021-09-21T19:43:51.000Z
#External libs import boto3 import sys import json import os import datetime from botocore.exceptions import ClientError #Get our config import maestro.config.lambda_config as lambda_config #This is only here for printing pretty colors class color: PURPLE = '\033[95m' CYAN = '\033[96m' DARKCYAN = '\033...
22.54386
77
0.635019
176
1,285
4.573864
0.585227
0.024845
0
0
0
0
0
0
0
0
0
0.057712
0.258366
1,285
57
78
22.54386
0.786988
0.220233
0
0
0
0
0.116255
0
0
0
0
0
0
1
0.027027
false
0.027027
0.189189
0
0.540541
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
f8e206cc72769fde33630373750ce7bb2c2c7215
3,904
py
Python
python/ora/calendar.py
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
python/ora/calendar.py
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
python/ora/calendar.py
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
import os from pathlib import Path from typing import Iterable from .ext import Date from .ext import make_weekday_calendar, parse_calendar, make_const_calendar from .weekday import parse_weekdays #------------------------------------------------------------------------------- def load_calendar_file(path, ...
23.660606
81
0.60041
488
3,904
4.622951
0.262295
0.053635
0.033688
0.034574
0.070922
0.06117
0.06117
0.06117
0.028369
0
0
0.001746
0.26665
3,904
164
82
23.804878
0.786238
0.285861
0
0.116883
0
0
0.03659
0
0
0
0
0.012195
0
1
0.142857
false
0.025974
0.077922
0
0.376623
0.012987
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