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
dcadba06d3d1dd54ece65a8004a3986299c7345c
679
py
Python
python/convertSVGs.py
JustgeekDE/imdb-visualizations
ebadb8b06b956f0a07a344370457926ad496434e
[ "Unlicense" ]
null
null
null
python/convertSVGs.py
JustgeekDE/imdb-visualizations
ebadb8b06b956f0a07a344370457926ad496434e
[ "Unlicense" ]
null
null
null
python/convertSVGs.py
JustgeekDE/imdb-visualizations
ebadb8b06b956f0a07a344370457926ad496434e
[ "Unlicense" ]
null
null
null
''' Created on 10.08.2014 @author: Philip Peter <philip.peter@justgeek.de> As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Philip Peter ''' import os if __name__ == '__main__': pass inpu...
23.413793
122
0.648012
103
679
4.194175
0.669903
0.076389
0
0
0
0
0
0
0
0
0
0.033149
0.200295
679
28
123
24.25
0.762431
0
0
0
0
0
0.188406
0
0
0
0
0
0
0
null
null
0.076923
0.076923
null
null
0.076923
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
1
0
0
0
0
0
2
f49f790d9571cf03ed43cb10b00ff30ef123ff75
961
py
Python
v2.5.7/toontown/racing/DistributedKartPadAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v2.5.7/toontown/racing/DistributedKartPadAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v2.5.7/toontown/racing/DistributedKartPadAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectAI import DistributedObjectAI class DistributedKartPadAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedKartPadAI') def __init__(self, air): DistributedObjectAI.__init__(...
27.457143
80
0.679501
96
961
6.6875
0.34375
0.087227
0.093458
0.088785
0
0
0
0
0
0
0
0
0.231009
961
35
81
27.457143
0.868742
0
0
0
0
0
0.028067
0
0
0
0
0
0
1
0.307692
false
0.038462
0.076923
0.038462
0.538462
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
1
0
0
2
f4a7996845ec8bc3004f9b2f07ce077ddf8b18ec
214
py
Python
src/video_retrieval/FrameSaver.py
DoodleBobBuffPants/EyesInTheSky
1bd18fc40631b0046cbd029a48413f31a63afcca
[ "MIT" ]
null
null
null
src/video_retrieval/FrameSaver.py
DoodleBobBuffPants/EyesInTheSky
1bd18fc40631b0046cbd029a48413f31a63afcca
[ "MIT" ]
null
null
null
src/video_retrieval/FrameSaver.py
DoodleBobBuffPants/EyesInTheSky
1bd18fc40631b0046cbd029a48413f31a63afcca
[ "MIT" ]
null
null
null
# save frames asynchronously import cv2 as cv def frame_saver(queue, lock): while True: lock.take_lock() cv.imwrite("frame.jpg", queue.peek()) # peek non existent lock.release_lock()
21.4
66
0.649533
29
214
4.689655
0.724138
0
0
0
0
0
0
0
0
0
0
0.006173
0.242991
214
9
67
23.777778
0.833333
0.205607
0
0
0
0
0.053892
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
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
2
f4aadeae1ada83a420b6b77187f7404ea44db94a
1,529
py
Python
zhiwehu/post/urls.py
zhiwehu/zhiwehu
4d07fa14fc00d5544226326161a0efc2d1202329
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-05-15T17:40:21.000Z
2021-05-15T17:40:21.000Z
zhiwehu/post/urls.py
zhiwehu/zhiwehu
4d07fa14fc00d5544226326161a0efc2d1202329
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
zhiwehu/post/urls.py
zhiwehu/zhiwehu
4d07fa14fc00d5544226326161a0efc2d1202329
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url from .views import PostListView, PostDetailView urlpatterns = patterns('', # URL pattern for the PostListView # noqa url( regex=r'^$', view=PostListVi...
35.55814
74
0.325049
110
1,529
4.381818
0.372727
0.099585
0.112033
0.182573
0.360996
0.112033
0
0
0
0
0
0.005882
0.555265
1,529
43
75
35.55814
0.702941
0.039895
0
0.470588
0
0
0.158362
0.093515
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
1
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
2
f4af472ea7697545e5951704f8ee5043fcc2bdef
95
py
Python
freight/__init__.py
buahaha/aa-freight
69eb85188988d7cfaffc7c485d22ddb442a4a2b3
[ "MIT" ]
null
null
null
freight/__init__.py
buahaha/aa-freight
69eb85188988d7cfaffc7c485d22ddb442a4a2b3
[ "MIT" ]
null
null
null
freight/__init__.py
buahaha/aa-freight
69eb85188988d7cfaffc7c485d22ddb442a4a2b3
[ "MIT" ]
null
null
null
default_app_config = "freight.apps.FreightConfig" __version__ = "1.5.1" __title__ = "Freight"
19
49
0.757895
12
95
5.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.035294
0.105263
95
4
50
23.75
0.694118
0
0
0
0
0
0.4
0.273684
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
f4b531bd4f8e27016a07006efb457088789ed103
368
py
Python
copycat01.py
OneOfaKindGeek/mycode
bbb4391b333aaa1667314b76393f2102c05a2571
[ "Apache-2.0" ]
null
null
null
copycat01.py
OneOfaKindGeek/mycode
bbb4391b333aaa1667314b76393f2102c05a2571
[ "Apache-2.0" ]
null
null
null
copycat01.py
OneOfaKindGeek/mycode
bbb4391b333aaa1667314b76393f2102c05a2571
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # import additional code to complete our task import shutil import os # move into the working directory os.chdir("/home/student/mycode/") # copy the fileA to fileB shutil.copy("5g_research/sdn_network.txt", "5g_research/sdn_network.txt.copy") # copy the entire directoryA to directoryB shutil....
24.533333
78
0.774457
56
368
4.964286
0.625
0.143885
0.093525
0.143885
0.165468
0
0
0
0
0
0
0.015337
0.11413
368
14
79
26.285714
0.837423
0.440217
0
0
0
0
0.552239
0.39801
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2
f4bec0b744cca8c20ff1afc50477b19675f4e48d
2,559
py
Python
prepper.py
shawntan/quora-codesprint-2013
50a119ccb22cdb8bc081cc27f3d68442c0885b82
[ "Unlicense" ]
3
2016-01-24T06:22:10.000Z
2016-06-15T00:16:56.000Z
prepper.py
shawntan/quora-codesprint-2013
50a119ccb22cdb8bc081cc27f3d68442c0885b82
[ "Unlicense" ]
null
null
null
prepper.py
shawntan/quora-codesprint-2013
50a119ccb22cdb8bc081cc27f3d68442c0885b82
[ "Unlicense" ]
null
null
null
import json,sys,re,math from random import random import numpy as np from pprint import pprint from sklearn import svm from sklearn.pipeline import Pipeline from sklearn.feature_extraction.text import CountVectorizer,TfidfTransformer from sklearn.feature_extraction import DictVectorizer from sklearn.naive_bayes import...
34.12
96
0.718249
370
2,559
4.775676
0.335135
0.108659
0.061121
0.015846
0.36446
0.290889
0.256933
0.216186
0.170911
0.170911
0
0.013218
0.142634
2,559
74
97
34.581081
0.79216
0.098476
0
0.290323
0
0.048387
0.054348
0
0
0
0
0
0
0
null
null
0
0.354839
null
null
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
f4cbf5dfb144c1dccb1554376a7cd38916728ee3
2,040
py
Python
sandbox/simstream/simstream/eventmonitor.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
74
2015-04-10T02:57:26.000Z
2022-02-28T16:10:03.000Z
sandbox/simstream/simstream/eventmonitor.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
126
2015-04-26T02:55:26.000Z
2022-02-16T22:43:28.000Z
sandbox/simstream/simstream/eventmonitor.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
163
2015-01-22T14:05:24.000Z
2022-03-17T12:24:34.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 n...
30.447761
62
0.726961
255
2,040
5.733333
0.490196
0.04104
0.035568
0.04104
0
0
0
0
0
0
0
0.002474
0.207353
2,040
66
63
30.909091
0.90167
0.554412
0
0.142857
0
0
0
0
0
0
0
0.015152
0
1
0.142857
false
0.142857
0
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
1
0
0
0
0
1
0
0
0
0
0
2
f4cd42c245f80917627216ad30dc10c24df5fd00
234
py
Python
make_valid.py
shawnlewis/wordle
c7c19f0d1571d07aa4d2bd0e73ee5bf4d0175ccf
[ "MIT" ]
null
null
null
make_valid.py
shawnlewis/wordle
c7c19f0d1571d07aa4d2bd0e73ee5bf4d0175ccf
[ "MIT" ]
null
null
null
make_valid.py
shawnlewis/wordle
c7c19f0d1571d07aa4d2bd0e73ee5bf4d0175ccf
[ "MIT" ]
null
null
null
words_file = open('wordlist.txt') print("export const VALIDGUESSES6 = [") for word in words_file.read().split('\n'): word = word.strip() if word.isalpha() and len(word) == 6: print(' "%s",' % word.lower()) print("];")
33.428571
42
0.598291
32
234
4.3125
0.71875
0.130435
0
0
0
0
0
0
0
0
0
0.010417
0.179487
234
7
43
33.428571
0.708333
0
0
0
0
0
0.225532
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
1
0
2
f4d2efff6733a7fa83b900da723a343483f0adb4
488
py
Python
code/part_I_D/arima.py
Spacebody/MCM-ICM-2018-Problem-C
89acbec8b7b08733002e570ff67637e7ba100190
[ "MIT" ]
1
2021-09-18T08:01:19.000Z
2021-09-18T08:01:19.000Z
code/part_I_D/arima.py
Spacebody/MCM-ICM-2018-Problem-C
89acbec8b7b08733002e570ff67637e7ba100190
[ "MIT" ]
null
null
null
code/part_I_D/arima.py
Spacebody/MCM-ICM-2018-Problem-C
89acbec8b7b08733002e570ff67637e7ba100190
[ "MIT" ]
1
2018-05-13T08:39:46.000Z
2018-05-13T08:39:46.000Z
import pandas as pd import re import numpy as np import os import sys from collections import OrderedDict, defaultdict import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns # from theano import * # load state data az_year = pd.read_csv("data/csv/price_expenditures/sector/az/price/teacd.csv", e...
28.705882
129
0.788934
81
488
4.62963
0.469136
0.056
0.048
0.069333
0.394667
0.394667
0.394667
0.394667
0.394667
0.394667
0
0
0.110656
488
16
130
30.5
0.864055
0.07377
0
0
0
0
0.250559
0.237136
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
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
1
0
0
2
f4de5cc58d12df4855fb7893f7de106c2f5a9481
5,409
py
Python
octavia/controller/worker/v2/flows/flow_utils.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
129
2015-06-23T08:06:23.000Z
2022-03-31T12:38:20.000Z
octavia/controller/worker/v2/flows/flow_utils.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
6
2016-05-20T11:05:27.000Z
2021-03-23T06:05:52.000Z
octavia/controller/worker/v2/flows/flow_utils.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
166
2015-07-15T16:24:05.000Z
2022-03-02T20:54:36.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 # ...
29.396739
79
0.765391
775
5,409
4.932903
0.174194
0.047083
0.054931
0.0565
0.529689
0.448601
0.348156
0.217892
0.135496
0.076903
0
0.008424
0.16602
5,409
183
80
29.557377
0.83906
0.157146
0
0
0
0
0
0
0
0
0
0
0
1
0.340426
false
0
0.095745
0.319149
0.776596
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
1
0
0
0
2
f4eed8815cb84898320683d05ba025d24a490e96
182
py
Python
2018/1/solution1.py
frenzymadness/aoc
c9018e757bae61a696e675a827aef873995abdd3
[ "WTFPL" ]
2
2020-12-04T09:45:38.000Z
2020-12-07T14:06:12.000Z
2018/1/solution1.py
frenzymadness/aoc
c9018e757bae61a696e675a827aef873995abdd3
[ "WTFPL" ]
null
null
null
2018/1/solution1.py
frenzymadness/aoc
c9018e757bae61a696e675a827aef873995abdd3
[ "WTFPL" ]
null
null
null
with open("input.txt") as input_file: lines = input_file.readlines() result = 0 for line in lines: print(line.strip(), result) result += int(line.strip()) print(result)
20.222222
37
0.67033
27
182
4.444444
0.592593
0.15
0
0
0
0
0
0
0
0
0
0.006711
0.181319
182
8
38
22.75
0.798658
0
0
0
0
0
0.049451
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
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
2
7604f665e3aa02bc719696d186c91d7d6c300052
3,305
py
Python
120_GruneisenParam/FeNiSi/collectScalingParam.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
120_GruneisenParam/FeNiSi/collectScalingParam.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
120_GruneisenParam/FeNiSi/collectScalingParam.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
# Front matter ############## import os from os import fdopen, remove from tempfile import mkstemp from shutil import move import glob import re import time import pandas as pd import numpy as np from scipy import constants from scipy.optimize import curve_fit, fsolve from scipy.interpolate import interp1d import matpl...
34.072165
86
0.681392
530
3,305
4.069811
0.316981
0.15299
0.183588
0.084376
0.246175
0.235512
0.20306
0.166898
0.159481
0.083449
0
0.014681
0.113767
3,305
97
87
34.072165
0.721748
0.144629
0
0
0
0
0.18535
0.019238
0
0
0
0
0
1
0
false
0
0.306452
0
0.306452
0.016129
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
1
0
0
0
0
2
7614576866838e113eac6ed1704be36e192c3e82
3,096
py
Python
meterological_data.py
ask-santosh/Weather-Data-Analysis
c9b4dcfe0ce729554eb8fdff6cabc0e1e824ab8f
[ "Apache-2.0" ]
null
null
null
meterological_data.py
ask-santosh/Weather-Data-Analysis
c9b4dcfe0ce729554eb8fdff6cabc0e1e824ab8f
[ "Apache-2.0" ]
null
null
null
meterological_data.py
ask-santosh/Weather-Data-Analysis
c9b4dcfe0ce729554eb8fdff6cabc0e1e824ab8f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[3]: import pandas as pd # In[4]: weather_data = pd.read_csv("weatherHistory.csv") # weather_data.columns = weather_data.iloc[0] # weather_data.columns # weather_data # weather_data.head() weather_data.columns.values # In[5]: weather_data = weather_data.iloc[1:] # ...
15.557789
101
0.699935
454
3,096
4.665198
0.330396
0.21813
0.042493
0.051936
0.294618
0.170916
0.088763
0.088763
0.088763
0.088763
0
0.019725
0.132106
3,096
198
102
15.636364
0.768515
0.289406
0
0.177778
0
0
0.226091
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.022222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
76179c4c064e78d6f85438575931fbff3c4f84e8
282
py
Python
tests/neural_networks/art_fuzzy/test_class.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
tests/neural_networks/art_fuzzy/test_class.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
tests/neural_networks/art_fuzzy/test_class.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
from src.neural_networks.art_fuzzy import ARTFUZZY import numpy as np def test_If_I_isintance_numpy(): A = ARTFUZZY([1.0, 2.0]) assert isinstance(A.I, np.ndarray) def test_If_W_isintance_numpy(): A = ARTFUZZY([1.0, 2.0]) assert isinstance(A.I, np.ndarray)
25.636364
50
0.695035
48
282
3.875
0.5
0.075269
0.096774
0.247312
0.580645
0.580645
0.580645
0.580645
0.580645
0.580645
0
0.034783
0.184397
282
11
51
25.636364
0.773913
0
0
0.5
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
2
76239cf65a40116502dab08045c558ccfa503910
6,997
py
Python
_unittests/ut_profiling/test_event_profiler.py
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
2
2017-10-03T20:39:13.000Z
2019-02-06T15:24:04.000Z
_unittests/ut_profiling/test_event_profiler.py
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
21
2017-09-17T11:14:04.000Z
2021-01-01T13:24:20.000Z
_unittests/ut_profiling/test_event_profiler.py
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
null
null
null
""" @brief test log(time=3s) """ import unittest import inspect import logging from time import sleep, perf_counter from pyquickhelper.pycode import ExtTestCase from cpyquickhelper.profiling import ( EventProfiler, WithEventProfiler) from cpyquickhelper.profiling.event_profiler import EventProfilerDebug clas...
28.100402
70
0.523653
781
6,997
4.555698
0.162612
0.063238
0.026981
0.037099
0.74733
0.703204
0.596965
0.596965
0.596965
0.586003
0
0.039203
0.340146
6,997
248
71
28.21371
0.731427
0.010576
0
0.73399
0
0
0.079838
0
0
0
0
0
0.152709
1
0.152709
false
0
0.034483
0
0.216749
0.014778
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
52095086bb446dc1b08b9d315803c1b73ef88590
541
py
Python
project/api/views/bank_list.py
Rafiatu/cinch
05f3927363a9f75598611e3f152b90464a588de2
[ "MIT" ]
null
null
null
project/api/views/bank_list.py
Rafiatu/cinch
05f3927363a9f75598611e3f152b90464a588de2
[ "MIT" ]
null
null
null
project/api/views/bank_list.py
Rafiatu/cinch
05f3927363a9f75598611e3f152b90464a588de2
[ "MIT" ]
null
null
null
from rest_framework import status from rest_framework.viewsets import ViewSet from rest_framework.decorators import action from rest_framework.permissions import AllowAny, IsAuthenticated from api.lib.response import Response from payment.get_bank_list import BankList class BankListViewSet(ViewSet): @action(metho...
41.615385
94
0.791128
69
541
6.028986
0.565217
0.076923
0.163462
0
0
0
0
0
0
0
0
0.006303
0.120148
541
13
95
41.615385
0.867647
0
0
0
0
0
0.016605
0
0
0
0
0
0
1
0.090909
false
0
0.545455
0
0.818182
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
1
0
0
2
5209b7eaee6151a55b670766ca8043416e38ee6c
290
py
Python
Pipeline/4_R0_ARRP/Executable/r0_arrp_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
Pipeline/4_R0_ARRP/Executable/r0_arrp_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
Pipeline/4_R0_ARRP/Executable/r0_arrp_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from os import system log = f'r0_arrp.log' C = ' -c ../../1_Prem_Matrices_to_df/Data/UNSDMethodology.csv' E = ' -e ../../3_Prem_Matrices_to_PF_Eigenvalue/Output/pf_eigenvalue.csv' S = ' -s ../../2_ARRP/Output/slope.csv' system( f'r0_arrp.py {C} {E} {S} > {log}' )
24.166667
73
0.662069
51
290
3.509804
0.588235
0.03352
0.078212
0
0
0
0
0
0
0
0
0.019685
0.124138
290
11
74
26.363636
0.685039
0.068966
0
0
0
0
0.732342
0.535316
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
520c123c3cc2054e4fcd79af635f3285abb8eea2
3,818
py
Python
Scripts/simulation/business/advertising_manager.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/business/advertising_manager.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/business/advertising_manager.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\business\advertising_manager.py # Compiled at: 2017-04-27 01:01:18 # Size of source mod 2**32: 6129 ...
43.885057
120
0.76087
458
3,818
5.914847
0.303493
0.127353
0.056109
0.066445
0.290882
0.207457
0.166482
0.121078
0.121078
0.08601
0
0.023615
0.168151
3,818
87
121
43.885057
0.829345
0.08198
0
0.222222
0
0
0.026007
0
0
0
0
0
0
1
0.238095
false
0
0.079365
0.111111
0.47619
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
1
0
0
0
2
520d7cb39f32defc0f55c008264ebcf3b5b045f7
8,603
py
Python
app.py
ansokolov/28days
98c3bd093dd716aa38a67ad03b7457c5b83220bc
[ "MIT" ]
null
null
null
app.py
ansokolov/28days
98c3bd093dd716aa38a67ad03b7457c5b83220bc
[ "MIT" ]
null
null
null
app.py
ansokolov/28days
98c3bd093dd716aa38a67ad03b7457c5b83220bc
[ "MIT" ]
null
null
null
import os import datetime import csv import json i = 0 def initial_menu(): user_action = input("1. Log In \n" + "2. Create new user \n" + "3. Create with CSV \n" + "4. Update with CSV \n") if user_action == "1": user_name = inp...
34.550201
97
0.535511
987
8,603
4.448835
0.123607
0.065133
0.022774
0.025962
0.724664
0.686404
0.638351
0.617399
0.617399
0.605101
0
0.010076
0.342439
8,603
249
98
34.550201
0.76613
0
0
0.708333
0
0
0.172594
0
0
0
0
0
0
1
0.032407
false
0
0.018519
0
0.060185
0.050926
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
522b2b0fa12d2a1dd5f454984652774d2801eebd
1,886
py
Python
Middleware.py
huobingli/fpyd
b64f3369a3603b61310e57f5fc3d7c5de994dec1
[ "MIT" ]
null
null
null
Middleware.py
huobingli/fpyd
b64f3369a3603b61310e57f5fc3d7c5de994dec1
[ "MIT" ]
null
null
null
Middleware.py
huobingli/fpyd
b64f3369a3603b61310e57f5fc3d7c5de994dec1
[ "MIT" ]
null
null
null
from mysql_comm.mysql_comm import * from redis_comm.redis_comm import * def insert_datas(datas): with UsingMysql(log_time=True) as um: pass def insert_data(database, data): with UsingMysql(log_time=True) as um: sql = "insert into " + database + "(fp_id, fp_title, fp_res_org, fp_report_tim...
30.918033
148
0.629905
285
1,886
3.940351
0.238596
0.01959
0.088157
0.104185
0.476402
0.443455
0.343722
0.310775
0.28228
0.24577
0
0.005476
0.225345
1,886
61
149
30.918033
0.763176
0.005302
0
0.361702
0
0.021277
0.0512
0
0
0
0
0
0
1
0.255319
false
0.106383
0.042553
0
0.361702
0.042553
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
1
0
0
0
0
0
2
5233405403bf14c4dfbcafd95285eeecc8a3a127
4,730
py
Python
2021/python/tests/test_day25.py
shalgrim/advent-of-code
d3bd1c9f7eeaebff4153f6fd73ef8fc32d2b1ea8
[ "MIT" ]
null
null
null
2021/python/tests/test_day25.py
shalgrim/advent-of-code
d3bd1c9f7eeaebff4153f6fd73ef8fc32d2b1ea8
[ "MIT" ]
null
null
null
2021/python/tests/test_day25.py
shalgrim/advent-of-code
d3bd1c9f7eeaebff4153f6fd73ef8fc32d2b1ea8
[ "MIT" ]
null
null
null
import pytest from day25_1 import map_step, map_step_n from day25_1 import main as main1 @pytest.fixture def test_input(): with open('../../data/test25.txt') as f: return [line.strip() for line in f.readlines()] example_1_0 = [ list('...>...'), list('.......'), list('......>'), list('v....
16.596491
88
0.443552
737
4,730
2.588874
0.069199
0.162474
0.177673
0.176101
0.681342
0.507338
0.415618
0.354822
0.286688
0.252621
0
0.040547
0.165751
4,730
284
89
16.65493
0.44298
0
0
0.205128
0
0
0.123067
0.006627
0
0
0
0
0.188034
1
0.042735
false
0
0.025641
0
0.08547
0
0
0
0
null
0
0
1
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
2
524200af22407131ff0b4d610415254327069f0f
1,078
py
Python
test/com/facebook/buck/core/module/impl/test_app.py
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
8,027
2015-01-02T05:31:44.000Z
2022-03-31T07:08:09.000Z
test/com/facebook/buck/core/module/impl/test_app.py
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
2,355
2015-01-01T15:30:53.000Z
2022-03-30T20:21:16.000Z
test/com/facebook/buck/core/module/impl/test_app.py
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
1,280
2015-01-09T03:29:04.000Z
2022-03-30T15:14:14.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # # 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 ...
33.6875
92
0.737477
163
1,078
4.865031
0.650307
0.075662
0.032787
0.040353
0
0
0
0
0
0
0
0.005721
0.189239
1,078
31
93
34.774194
0.901602
0.777365
0
0
0
0
0.02
0
0
0
0
0
0.166667
1
0.166667
false
0
0.5
0
0.833333
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
1
0
0
2
524335c52fc4efb7aa6390e9a66eced8d1cd6c0e
1,488
py
Python
models/FastNeuralStyleTransferModel.py
taivu1998/GANime
a1d1569a1797f3fc50159475de2e3d47697abfed
[ "MIT" ]
24
2020-03-20T05:43:16.000Z
2022-03-23T22:09:35.000Z
models/FastNeuralStyleTransferModel.py
bobyang9/GANime
c4e98274cc8ecddda0d6273c5d2670a8d356648f
[ "MIT" ]
null
null
null
models/FastNeuralStyleTransferModel.py
bobyang9/GANime
c4e98274cc8ecddda0d6273c5d2670a8d356648f
[ "MIT" ]
2
2020-05-24T23:07:08.000Z
2021-04-02T11:33:35.000Z
''' This program implements a Fast Neural Style Transfer model. References: https://www.tensorflow.org/tutorials/generative/style_transfer ''' from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import tensorflow_hub as hub import os, sys import time import...
29.76
102
0.672043
185
1,488
5.178378
0.459459
0.037578
0.053236
0.033403
0.060543
0.060543
0
0
0
0
0
0.006029
0.219758
1,488
49
103
30.367347
0.819121
0.213038
0
0
0
0.04
0.097604
0.020408
0
0
0
0
0
1
0.2
false
0
0.32
0
0.6
0.08
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
1
0
0
2
525064b1ed219ef71b739ece262ba4a5a5c4ba31
609
py
Python
ejercicios_basicos/poo/poo10/test_figura_geo.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
ejercicios_basicos/poo/poo10/test_figura_geo.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
ejercicios_basicos/poo/poo10/test_figura_geo.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
from Cuadrado import Cuadrado from Rectangulo import Rectangulo print("Creacion objeto Cuadrado".center(50, "-")) cuadrado1 = Cuadrado(lado=10, color='azul') print(cuadrado1) print(cuadrado1.color) print(cuadrado1.ancho) print(cuadrado1.alto) print(cuadrado1.area()) # trabajando con el metodo MRO - Method Resolution...
26.478261
59
0.784893
76
609
6.236842
0.394737
0.147679
0.080169
0.088608
0
0
0
0
0
0
0
0.039286
0.08046
609
23
60
26.478261
0.807143
0.08867
0
0
0
0
0.110108
0
0
0
0
0.043478
0
1
0
false
0
0.111111
0
0.111111
0.777778
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
1
0
2
5253378a89fcd0af689b45bb751a44315a891df5
1,252
py
Python
loopchain/blockchain/blocks/v0_5/block_builder.py
windies21/loopchain
6e96c8a7e006747af04187155678f2fae59e1389
[ "Apache-2.0" ]
105
2018-04-03T05:29:08.000Z
2022-01-28T17:33:20.000Z
loopchain/blockchain/blocks/v0_5/block_builder.py
laurenceyoon/loopchain
e87032779be4715c135c2c91d2757d9c63bf4e31
[ "Apache-2.0" ]
135
2018-09-04T07:11:02.000Z
2021-12-15T06:25:47.000Z
loopchain/blockchain/blocks/v0_5/block_builder.py
laurenceyoon/loopchain
e87032779be4715c135c2c91d2757d9c63bf4e31
[ "Apache-2.0" ]
46
2018-05-07T09:12:07.000Z
2022-02-23T09:58:37.000Z
# Copyright 2018-current ICON Foundation # # 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.939394
89
0.769968
164
1,252
5.823171
0.597561
0.062827
0.096335
0.091099
0.064921
0
0
0
0
0
0
0.017176
0.162939
1,252
32
90
39.125
0.894084
0.476837
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.846154
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
1
0
0
2
525e027715d3144b67819590485c36cad49673b9
1,757
py
Python
coord2vec/pipelines/lagoon_utils/auto_stage.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/pipelines/lagoon_utils/auto_stage.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/pipelines/lagoon_utils/auto_stage.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
1
2021-01-25T09:21:17.000Z
2021-01-25T09:21:17.000Z
from typing import Union, List from lagoon import Stage, Task from coord2vec.pipelines.lagoon_utils.lambda_task import LambdaTask class AutoStage(Stage): def __init__(self, name: str, **kwargs): super().__init__(name, **kwargs) self.output_param_to_task = dict() def update_output_params(se...
37.382979
87
0.660216
228
1,757
4.802632
0.315789
0.060274
0.054795
0.0621
0.115068
0
0
0
0
0
0
0.001524
0.253273
1,757
47
88
37.382979
0.833079
0.097325
0
0.058824
0
0
0.003161
0
0
0
0
0.021277
0
1
0.147059
false
0.058824
0.088235
0
0.294118
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
1
0
0
0
0
0
2
527eb99dfa2b028f29819a3104c6f9c9adfe7aae
2,886
py
Python
pyxlsb2/cell.py
cccs-jh/pyxlsb2
6c5a2990a62e0d80a366d87eb65cbc20573c7b08
[ "Apache-2.0", "MIT" ]
16
2020-04-24T20:07:12.000Z
2022-02-03T18:58:11.000Z
pyxlsb2/cell.py
cccs-jh/pyxlsb2
6c5a2990a62e0d80a366d87eb65cbc20573c7b08
[ "Apache-2.0", "MIT" ]
12
2020-06-08T14:10:13.000Z
2022-03-31T14:58:06.000Z
pyxlsb2/cell.py
cccs-jh/pyxlsb2
6c5a2990a62e0d80a366d87eb65cbc20573c7b08
[ "Apache-2.0", "MIT" ]
13
2020-06-06T07:58:06.000Z
2021-12-24T11:39:43.000Z
import sys if sys.version_info > (3,): basestring = (str, bytes) long = int class DeprecatedCellMixin(object): """Deprecated Cell properties to preserve source compatibility with the 1.0.x releases.""" __slots__ = () @property def r(self): """The row number of this cell. .....
27.226415
94
0.582814
375
2,886
4.381333
0.224
0.053561
0.054778
0.045648
0.292149
0.22885
0.165551
0.14364
0.14364
0.042605
0
0.007418
0.299376
2,886
105
95
27.485714
0.805143
0.361053
0
0.313725
0
0
0.048972
0
0
0
0
0
0
1
0.235294
false
0
0.019608
0.019608
0.54902
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
1
0
0
2
529658a483417869521cdbb5cf8a291986f401d8
85
py
Python
personal_assistant/constants.py
avryhof/personal-assistant
115b384a405ee6b2c5099619beff433b113e24ff
[ "MIT" ]
null
null
null
personal_assistant/constants.py
avryhof/personal-assistant
115b384a405ee6b2c5099619beff433b113e24ff
[ "MIT" ]
2
2021-04-06T17:59:11.000Z
2021-06-01T23:40:39.000Z
personal_assistant/constants.py
avryhof/personal-assistant
115b384a405ee6b2c5099619beff433b113e24ff
[ "MIT" ]
null
null
null
RECOGNIZER_SNOWBOY = 'snowboy' RECOGNIZER_SPHINX = 'sphinx' RECOGNIZER_WIT = 'wit.ai'
28.333333
30
0.788235
10
85
6.4
0.5
0
0
0
0
0
0
0
0
0
0
0
0.094118
85
3
31
28.333333
0.831169
0
0
0
0
0
0.22093
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
bfe2baa9a9cbbb83b453c87c86d2b93ecfcf0cc5
484
py
Python
apps/teacheres/adminx.py
ECNU-Studio/emoc
b11d1ebe91e2d9a4bc5b74ca7be3a13137f1c53c
[ "MIT" ]
1
2018-03-10T08:50:18.000Z
2018-03-10T08:50:18.000Z
apps/teacheres/adminx.py
ECNU-Studio/emoc
b11d1ebe91e2d9a4bc5b74ca7be3a13137f1c53c
[ "MIT" ]
13
2018-04-28T02:33:21.000Z
2018-05-04T09:05:38.000Z
apps/teacheres/adminx.py
ECNU-Studio/emoc
b11d1ebe91e2d9a4bc5b74ca7be3a13137f1c53c
[ "MIT" ]
null
null
null
# _*_ coding:utf-8 _*_ import xadmin from .models import Teacheres from courses.models import Courses class AddCourses(object): model = Courses extra = 0 #培训师 class TeacheresAdmin(object): list_display = ['name', 'username', 'email', 'phone', 'weixin', 'password'] search_fields = ['name'] list_fi...
23.047619
79
0.677686
55
484
5.8
0.654545
0.075235
0
0
0
0
0
0
0
0
0
0.005102
0.190083
484
21
80
23.047619
0.808673
0.06405
0
0
0
0
0.128889
0
0
0
0
0
0
1
0
false
0.071429
0.214286
0
0.928571
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
1
0
0
2
bff41132c693f640921216d313ea2aaf31ff07fc
1,076
py
Python
revolt/plugins/commands/context.py
ppotatoo/revolt.py
56d09b050e26898c6051eaee3fdd268a5b16bc22
[ "MIT" ]
null
null
null
revolt/plugins/commands/context.py
ppotatoo/revolt.py
56d09b050e26898c6051eaee3fdd268a5b16bc22
[ "MIT" ]
null
null
null
revolt/plugins/commands/context.py
ppotatoo/revolt.py
56d09b050e26898c6051eaee3fdd268a5b16bc22
[ "MIT" ]
null
null
null
from revolt.types.file import File from revolt.embed import Embed from revolt.message import Message from typing import Optional class Context: def __init__(self, message, bot): self.message = message self.bot = bot async def send(self, content: Optional[str] = None, embeds: Optional[list[Emb...
37.103448
178
0.635688
131
1,076
5.19084
0.381679
0.070588
0.052941
0
0
0
0
0
0
0
0
0
0.257435
1,076
29
179
37.103448
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.7
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
1
0
0
2
bff7028914bc52a8b384670d2126ddb356c5fd23
2,860
py
Python
372_palanced.py
RLeary/rdp_challenges
b14cc27bf3afd1d373f26e5d154e6c0cf3d7ca05
[ "MIT" ]
null
null
null
372_palanced.py
RLeary/rdp_challenges
b14cc27bf3afd1d373f26e5d154e6c0cf3d7ca05
[ "MIT" ]
null
null
null
372_palanced.py
RLeary/rdp_challenges
b14cc27bf3afd1d373f26e5d154e6c0cf3d7ca05
[ "MIT" ]
null
null
null
"""Given a string containing only the characters x and y, find whether there are the same number of xs and ys. balanced("xxxyyy") => true balanced("yyyxxx") => true balanced("xxxyyyy") => false balanced("yyxyxxyxxyyyyxxxyxyx") => true balanced("xyxxxxyyyxyxxyxxyy") => false balanced("") => true balanced("x") =...
35.308642
193
0.662587
322
2,860
5.770186
0.276398
0.202906
0.087191
0.023681
0.027987
0
0
0
0
0
0
0.003354
0.166084
2,860
81
194
35.308642
0.775681
0.177622
0
0.1
0
0
0.277812
0.029502
0
0
0
0
0
1
0.05
false
0
0
0
0.15
0.425
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
870471c2d2cfa3694cd35571e655bc89ffdfcb61
1,032
py
Python
python/test/test_super_multiple_order_api.py
ashwinkp/ksapi
c348765cefb4d51fd90febcbfa9ff890b67bdc7d
[ "Apache-2.0" ]
7
2022-02-05T16:20:37.000Z
2022-02-27T16:48:28.000Z
python/test/test_super_multiple_order_api.py
ashwinkp/ksapi
c348765cefb4d51fd90febcbfa9ff890b67bdc7d
[ "Apache-2.0" ]
19
2022-02-03T12:40:08.000Z
2022-03-30T09:12:46.000Z
python/test/test_super_multiple_order_api.py
ashwinkp/ksapi
c348765cefb4d51fd90febcbfa9ff890b67bdc7d
[ "Apache-2.0" ]
12
2021-12-23T06:14:21.000Z
2022-03-28T07:47:19.000Z
# coding: utf-8 from __future__ import absolute_import import unittest import ks_api_client from ks_api_client.api.super_multiple_order_api import SuperMultipleOrderApi # noqa: E501 from ks_api_client.rest import ApiException class TestSuperMultipleOrderApi(unittest.TestCase): """SuperMultipleOrderApi unit...
21.5
99
0.679264
131
1,032
5.015267
0.328244
0.063927
0.136986
0.068493
0.365297
0.365297
0.219178
0.219178
0
0
0
0.020645
0.249031
1,032
47
100
21.957447
0.827097
0.306202
0
0.222222
0
0
0.012461
0
0
0
0
0
0
1
0.277778
false
0.222222
0.277778
0
0.611111
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
1
0
0
0
0
0
2
8710f101398ef0acb5a1b6361f52aad333d1ef26
2,505
py
Python
performance/build/testsuite.py
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
28
2017-10-04T03:41:56.000Z
2021-07-18T14:53:36.000Z
performance/build/testsuite.py
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
13
2017-09-06T10:49:44.000Z
2019-09-07T13:53:24.000Z
performance/build/testsuite.py
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
15
2018-02-13T00:08:55.000Z
2022-02-14T05:46:43.000Z
"""functions that generate reports and figures using the .xml output from the performance tests""" __all__ = ['TestSuite', 'parse_testsuite_xml'] class TestSuite: def __init__(self, name, platform, tests): self.name = name self.platform = platform self.tests = tests def __repr__(self)...
29.821429
106
0.668663
293
2,505
5.460751
0.232082
0.074375
0.04375
0.0375
0.125625
0
0
0
0
0
0
0
0.233533
2,505
83
107
30.180723
0.833333
0.10499
0
0.148148
1
0
0.053788
0
0
0
0
0.012048
0
1
0.148148
false
0
0.037037
0.018519
0.37037
0.037037
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
1
0
0
0
0
0
0
0
0
0
0
2
87214198b671c3bd959654596c5df39383991bf6
3,663
py
Python
sample_project/batchimport/batchimport_settings.py
gitdaniel228/realtor
4366d57b064be87b31c8a036b3ed7a99b2036461
[ "BSD-3-Clause" ]
null
null
null
sample_project/batchimport/batchimport_settings.py
gitdaniel228/realtor
4366d57b064be87b31c8a036b3ed7a99b2036461
[ "BSD-3-Clause" ]
null
null
null
sample_project/batchimport/batchimport_settings.py
gitdaniel228/realtor
4366d57b064be87b31c8a036b3ed7a99b2036461
[ "BSD-3-Clause" ]
null
null
null
""" The batchimport_settings.py module initializes itself with defaults but allows for the values to be overridden via the django project's settings file. NOTE: These values should be considered CONSTANTS even though I'm kind of cheating and using them as variables to initialize them here. """ import settings def ...
43.094118
107
0.803986
551
3,663
5.128857
0.352087
0.116773
0.079618
0.111465
0.141897
0.043878
0
0
0
0
0
0.001574
0.132951
3,663
84
108
43.607143
0.888224
0.451542
0
0
0
0
0.334177
0.318354
0
0
0
0
0
0
null
null
0.04
0.64
null
null
0.08
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
1
0
0
0
0
2
872b15d4a269e14f5342a8109b8993012c978013
1,222
py
Python
trieste/models/gpflow/__init__.py
henrymoss/trieste
4c8d14ead793fb49cdbb883789b799310873db70
[ "Apache-2.0" ]
1
2021-10-02T19:53:48.000Z
2021-10-02T19:53:48.000Z
trieste/models/gpflow/__init__.py
TsingQAQ/trieste
6b2bb0e73649debaac81157f0f9fdb8d3fdfef5b
[ "Apache-2.0" ]
null
null
null
trieste/models/gpflow/__init__.py
TsingQAQ/trieste
6b2bb0e73649debaac81157f0f9fdb8d3fdfef5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Trieste Contributors # # 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...
34.914286
92
0.787234
149
1,222
6.416107
0.671141
0.062762
0.027197
0.033473
0
0
0
0
0
0
0
0.007752
0.155483
1,222
34
93
35.941176
0.918605
0.601473
0
0
0
0
0
0
0
0
0
0
0.0625
1
0
true
0
0.3125
0
0.3125
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
1
0
0
0
0
2
872daf06ad41c681b338cb82204799f97cdb8c02
829
py
Python
expenses_tracker/expenses_tracker/web/vaidators.py
LBistrev/python-web-basic
e798d5eb22657a014d3dd0f98e4c3c585336c4fc
[ "MIT" ]
null
null
null
expenses_tracker/expenses_tracker/web/vaidators.py
LBistrev/python-web-basic
e798d5eb22657a014d3dd0f98e4c3c585336c4fc
[ "MIT" ]
null
null
null
expenses_tracker/expenses_tracker/web/vaidators.py
LBistrev/python-web-basic
e798d5eb22657a014d3dd0f98e4c3c585336c4fc
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from django.utils.deconstruct import deconstructible VALIDATE_ONLY_LETTERS_EXCEPTION_MESSAGE = 'Ensure this value contains only letters.' def validate_only_letters(value): if not value.isalpha(): raise ValidationError(VALIDATE_ONLY_LETTERS_EXCEPTION_MESS...
29.607143
84
0.74427
101
829
5.722772
0.425743
0.060554
0.076125
0.096886
0.121107
0
0
0
0
0
0
0.013314
0.18456
829
27
85
30.703704
0.841716
0
0
0
0
0
0.094089
0.025332
0
0
0
0
0
1
0.263158
false
0
0.105263
0.105263
0.526316
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
1
0
0
0
2
872e1c57fa4968272b0db8d13d59197b314f92ad
566
py
Python
pretalx_mattermost/apps.py
toshywoshy/pretalx-mattermost
69499093750f613f74ab47c9798f5f90431372ba
[ "Apache-2.0" ]
null
null
null
pretalx_mattermost/apps.py
toshywoshy/pretalx-mattermost
69499093750f613f74ab47c9798f5f90431372ba
[ "Apache-2.0" ]
null
null
null
pretalx_mattermost/apps.py
toshywoshy/pretalx-mattermost
69499093750f613f74ab47c9798f5f90431372ba
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy class PluginApp(AppConfig): name = 'pretalx_mattermost' verbose_name = 'MatterMost integration for pretalx' class PretalxPluginMeta: name = gettext_lazy('MatterMost integration for pretalx') author = 'Tosh...
28.3
76
0.674912
60
566
6.283333
0.65
0.087533
0.127321
0.164456
0
0
0
0
0
0
0
0.007143
0.257951
566
19
77
29.789474
0.890476
0.007067
0
0
0
0
0.301786
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.533333
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
1
0
0
2
872f00ae4d30467f373664e873bfd51982763b06
20,371
py
Python
mscreen/autodocktools_prepare_py3k/AutoDockTools/VisionInterface/Adt/Macro/AutodockVS.py
e-mayo/mscreen
a50f0b2f7104007c730baa51b4ec65c891008c47
[ "MIT" ]
9
2021-03-06T04:24:28.000Z
2022-01-03T09:53:07.000Z
AutoDockTools/VisionInterface/Adt/Macro/AutodockVS.py
e-mayo/autodocktools-prepare-py3k
2dd2316837bcb7c19384294443b2855e5ccd3e01
[ "BSD-3-Clause" ]
3
2021-03-07T05:37:16.000Z
2021-09-19T15:06:54.000Z
AutoDockTools/VisionInterface/Adt/Macro/AutodockVS.py
e-mayo/autodocktools-prepare-py3k
2dd2316837bcb7c19384294443b2855e5ccd3e01
[ "BSD-3-Clause" ]
4
2019-08-28T23:11:39.000Z
2021-11-27T08:43:36.000Z
######################################################################## # # Vision Macro - Python source code - file generated by vision # Thursday 01 July 2010 13:22:44 # # The Scripps Research Institute (TSRI) # Molecular Graphics Lab # La Jolla, CA 92037, USA # # Copyright: Daniel Stoff...
64.059748
852
0.676206
2,137
20,371
6.18905
0.13664
0.079389
0.096401
0.134205
0.688568
0.625132
0.596023
0.543021
0.492968
0.426357
0
0.047974
0.202886
20,371
317
853
64.26183
0.766535
0.059005
0
0.352459
1
0.004098
0.29044
0.06426
0
0
0
0.012618
0
1
0.012295
false
0.012295
0.057377
0
0.077869
0.090164
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
1
0
0
0
0
0
0
0
0
0
0
2
87375bd58b68763ac46aa57f63b861f0eab7f1f4
943
py
Python
main/PublicEmotionDatasets/Adobe/process/train_glove.py
cvlab-stonybrook/Emotion-Prediction
fb45f943208467ef91d8e43874599263f669166d
[ "MIT" ]
10
2019-12-19T21:17:46.000Z
2022-02-22T15:47:29.000Z
main/PublicEmotionDatasets/Adobe/process/train_glove.py
cvlab-stonybrook/Emotion-Prediction
fb45f943208467ef91d8e43874599263f669166d
[ "MIT" ]
2
2020-06-05T03:14:15.000Z
2020-06-14T09:14:54.000Z
main/PublicEmotionDatasets/Adobe/process/train_glove.py
cvlab-stonybrook/Emotion-Prediction
fb45f943208467ef91d8e43874599263f669166d
[ "MIT" ]
2
2020-01-08T14:49:46.000Z
2021-06-06T03:36:04.000Z
""" Copyright (c) 2019 Yevheniia Soroka Licensed under the MIT License Author: Yevheniia Soroka Email: ysoroka@cs.stonybrook.edu Last modified: 18/12/2019 Usage: Run this script to train GloVe model on Adobe tags. """ import os import gluonnlp as nlp import numpy as np import matplotlib.pyplot as plt import seaborn a...
25.486486
79
0.795334
148
943
5.006757
0.621622
0.040486
0.043185
0.059379
0
0
0
0
0
0
0
0.027845
0.124072
943
37
80
25.486486
0.869249
0.364793
0
0
0
0
0.132428
0.103565
0
0
0
0
0
1
0
false
0
0.588235
0
0.588235
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
1
0
0
2
873d8b0d8fb5d84af7dbc0818d054644154458aa
2,212
py
Python
sdk/python/pulumi_azure_native/security/v20170801preview/_enums.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_native/security/v20170801preview/_enums.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_native/security/v20170801preview/_enums.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'AlertNotifications', 'AlertsToAdmins', 'DataSource', 'ExportData', 'RecommendationConfigStatus'...
28.358974
90
0.735986
242
2,212
6.359504
0.491736
0.031189
0.025341
0.020793
0.083171
0.063678
0.063678
0.063678
0.063678
0
0
0.000552
0.181284
2,212
77
91
28.727273
0.849255
0.198011
0
0.186047
1
0
0.329599
0.21875
0
0
0
0
0
1
0
false
0
0.023256
0
0.790698
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
1
0
0
2
875bf153c38837563607848c2a4373f619fc49b1
893
py
Python
Programming I Python/Chapter 5/b project 5a/Eric Blanco Problem 13.py
eebr99/Python-Projects
016f72b3f13793cb73c333c6eaab313eddfae9e7
[ "MIT" ]
null
null
null
Programming I Python/Chapter 5/b project 5a/Eric Blanco Problem 13.py
eebr99/Python-Projects
016f72b3f13793cb73c333c6eaab313eddfae9e7
[ "MIT" ]
null
null
null
Programming I Python/Chapter 5/b project 5a/Eric Blanco Problem 13.py
eebr99/Python-Projects
016f72b3f13793cb73c333c6eaab313eddfae9e7
[ "MIT" ]
null
null
null
#Write a function named "falling_distance" that accepts an object's falling time #(in seconds) as an argument. The function should return the distance, in meters #, that the object has fallen during the time interval.Write a program that #calls the function in a loop that passes the values 1 through 10 as arguments ...
35.72
81
0.646137
134
893
4.283582
0.522388
0.078397
0.031359
0
0
0
0
0
0
0
0
0.026354
0.235162
893
24
82
37.208333
0.814056
0.449048
0
0
0
0
0.303688
0
0
0
0
0
0
1
0.142857
false
0.071429
0
0
0.214286
0.428571
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
1
0
2
8767ef401078ac093bf46d8edd93e289989ab422
2,152
py
Python
dash/migrations/0001_initial.py
mohammedaliyu136/degree_pln2
70ac9f8ab774197a49fedcee9951c4b373a59ffd
[ "MIT" ]
null
null
null
dash/migrations/0001_initial.py
mohammedaliyu136/degree_pln2
70ac9f8ab774197a49fedcee9951c4b373a59ffd
[ "MIT" ]
null
null
null
dash/migrations/0001_initial.py
mohammedaliyu136/degree_pln2
70ac9f8ab774197a49fedcee9951c4b373a59ffd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-08-03 08:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Educat...
39.851852
114
0.555762
208
2,152
5.567308
0.375
0.093264
0.139896
0.186529
0.46114
0.299655
0.299655
0.299655
0.299655
0.299655
0
0.03503
0.296933
2,152
53
115
40.603774
0.730337
0.031599
0
0.377778
1
0
0.108121
0.011533
0
0
0
0
0
1
0
false
0
0.044444
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8772fcb6548267d8d0141e21abb8c45135824111
68
py
Python
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
null
null
null
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
null
null
null
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
1
2021-09-08T09:52:55.000Z
2021-09-08T09:52:55.000Z
__version__ = '1.12.1-LL' __build__ = '' # set by the build server
22.666667
41
0.661765
11
68
3.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.072727
0.191176
68
2
42
34
0.6
0.338235
0
0
0
0
0.209302
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
5e3e80878441d234675aaeb1a994f2e6b44649b7
278
py
Python
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
21
2017-12-05T13:27:36.000Z
2021-11-16T20:32:33.000Z
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
2
2018-07-16T12:15:46.000Z
2020-10-31T00:02:49.000Z
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
7
2018-03-19T13:45:13.000Z
2022-03-24T07:52:20.000Z
"""A two-layer configuration for the action/proposition network w/ h-add teacher & probabilistic evaluation (hence "_pe" at end of name).""" # use defaults from actprop_2l from .actprop_2l_h_add import * # noqa F401 # stochastic evaluation! DET_EVAL = False EVAL_ROUNDS = 30
27.8
72
0.758993
42
278
4.857143
0.833333
0.039216
0.127451
0
0
0
0
0
0
0
0
0.029787
0.154676
278
9
73
30.888889
0.838298
0.708633
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5e4091a3f85cb6be76f428d3575ec7a731ef06d0
599
py
Python
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
NinelK/course-content
317b4cf153a89afbddbd194e7fbb15c91588b3c5
[ "CC-BY-4.0" ]
26
2020-07-01T20:38:44.000Z
2021-06-20T06:37:27.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
3
2020-06-23T03:46:36.000Z
2020-07-07T05:26:01.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
16
2020-07-06T06:48:02.000Z
2021-07-30T08:18:52.000Z
""" Discussion: Because we have a facilitatory synapses, as the input rate increases synaptic resources released per spike also increase. Therefore, we expect that the synaptic conductance will increase with input rate. However, total synaptic resources are finite. And they recover in a finite time. Therefore, at...
49.916667
87
0.799666
89
599
5.382022
0.662921
0.141962
0.125261
0.087683
0
0
0
0
0
0
0
0
0.165275
599
12
88
49.916667
0.958
0.981636
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5e424c562fb15f5458ab49e2921617b64a604404
804
py
Python
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
3,121
2019-04-21T07:02:47.000Z
2022-03-31T22:17:36.000Z
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
186
2019-05-31T18:18:13.000Z
2022-03-28T10:11:05.000Z
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
371
2019-03-17T17:59:56.000Z
2022-03-31T01:45:15.000Z
import numpy as np from nlpaug.model.audio import Audio class Normalization(Audio): def manipulate(self, data, method, start_pos, end_pos): aug_data = data.copy() if method == 'minmax': new_data = self._min_max(aug_data[start_pos:end_pos]) elif method == 'max': new_data = self._max(aug_data[start_pos:en...
25.125
57
0.696517
129
804
4.108527
0.286822
0.079245
0.103774
0.132075
0.375472
0.24717
0.128302
0.128302
0.128302
0
0
0
0.156716
804
31
58
25.935484
0.781711
0
0
0
0
0
0.042289
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0.136364
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
1
0
0
0
1
0
0
0
2
5e4eb52ef7b6c379dfa8984ef60db75a5c9a0675
305
py
Python
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
1
2021-07-15T03:13:10.000Z
2021-07-15T03:13:10.000Z
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
null
null
null
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.getcwd()) import torch from manager_torch import torchGPUmanager def test_tf_auto_choice(): t = torchGPUmanager() with t.choice(): x = torch.Tensor(8, 42) x = x.cuda() print(x) if __name__ == "__main__": test_tf_auto_choice()
17.941176
41
0.655738
43
305
4.302326
0.604651
0.064865
0.108108
0.172973
0
0
0
0
0
0
0
0.012766
0.229508
305
17
42
17.941176
0.774468
0
0
0
0
0
0.026144
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
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
1
0
0
0
0
2
5e628844bf5aecb08d12d6a5e607b840f94ea6a1
694
py
Python
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
null
null
null
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
2
2022-02-08T00:29:20.000Z
2022-02-08T14:01:07.000Z
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
null
null
null
from django.db.models.signals import pre_save from django.dispatch import receiver import random import fractions import humanize # from derbot.names.tasks import generate_number from derbot.names.models import DerbyName @receiver(pre_save, sender=DerbyName) def generate_number(sender, instance, **kwargs): if in...
33.047619
80
0.708934
88
694
5.488636
0.511364
0.099379
0.062112
0.10766
0
0
0
0
0
0
0
0.017699
0.185879
694
20
81
34.7
0.835398
0.066282
0
0
1
0
0.004644
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.4375
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
1
0
0
0
0
2
5e6d782f97c85edb12dff2726544e15db5a78e2a
2,136
py
Python
src/types/program.py
embiem/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
2
2019-12-06T01:03:24.000Z
2020-09-27T00:46:20.000Z
src/types/program.py
yllierop/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
null
null
null
src/types/program.py
yllierop/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
null
null
null
import io from typing import Any, List, Set from src.types.sized_bytes import bytes32 from src.util.clvm import run_program, sexp_from_stream, sexp_to_stream from clvm import SExp from src.util.hash import std_hash from clvm_tools.curry import curry class Program(SExp): # type: ignore # noqa """ A thin wra...
28.48
80
0.595974
286
2,136
4.27972
0.304196
0.03268
0.034314
0.02451
0.093137
0.093137
0.055556
0
0
0
0
0.010547
0.289794
2,136
74
81
28.864865
0.796309
0.137172
0
0.081633
0
0
0.010181
0
0
0
0
0
0
1
0.22449
false
0
0.142857
0.061224
0.591837
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
1
0
0
2
5e7a6b6af87cb5adada613cffcf3ff5831de98c2
108
py
Python
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
1
2021-06-16T16:42:41.000Z
2021-06-16T16:42:41.000Z
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
#Array In Python from array import array numbers = array("i",[1,2,3]) numbers[0] = 0 print(list(numbers))
13.5
28
0.685185
19
108
3.894737
0.684211
0
0
0
0
0
0
0
0
0
0
0.054348
0.148148
108
7
29
15.428571
0.75
0.138889
0
0
0
0
0.01087
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
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
2
5e919f500bdb61fdacf742cd30485e1fec67466a
2,439
py
Python
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
3
2020-10-12T15:47:01.000Z
2022-01-14T19:51:26.000Z
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
11
2021-04-08T22:10:50.000Z
2022-03-12T00:52:35.000Z
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
2
2019-11-13T05:27:48.000Z
2020-01-21T06:35:19.000Z
# Copyright 2019 gRPC 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 in writing...
31.269231
96
0.693727
305
2,439
5.383607
0.44918
0.036541
0.031669
0.019488
0
0
0
0
0
0
0
0.004147
0.209102
2,439
77
97
31.675325
0.847071
0.523985
0
0
0
0
0.080278
0.022795
0
0
0
0
0
1
0.068966
false
0
0.344828
0
0.586207
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
1
0
0
2
5e9585f59d070272ad95cdcbd7dd8d78e2818f13
765
py
Python
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
null
null
null
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
2
2020-09-28T03:09:06.000Z
2020-10-02T08:55:34.000Z
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.contrib.auth.views import LoginView from django.contrib.auth.forms import AuthenticationForm from django.views.generic import CreateView from django.shortcuts import reverse, redirect from users.forms import JoinusForm class LoginView(LoginView): template_n...
29.423077
56
0.729412
87
765
6.321839
0.436782
0.090909
0.092727
0.114545
0
0
0
0
0
0
0
0
0.189542
765
26
57
29.423077
0.887097
0
0
0
0
0
0.070496
0
0
0
0
0
0
1
0.05
false
0.1
0.3
0
0.7
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
1
0
0
2
5e9b711115f13a486c2ea830660e274a63129004
478
py
Python
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
# coding=utf-8 """ Class used for representing tIntermediateCatchEvent of BPMN 2.0 graph """ import graph.classes.events.catch_event_type as catch_event class IntermediateCatchEvent(catch_event.CatchEvent): """ Class used for representing tIntermediateCatchEvent of BPMN 2.0 graph """ def __init__(sel...
26.555556
74
0.715481
53
478
6.226415
0.641509
0.090909
0.072727
0.145455
0.363636
0.363636
0.363636
0.363636
0.363636
0.363636
0
0.013055
0.198745
478
17
75
28.117647
0.848564
0.460251
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
2
5ea0d191ed54273a061ed7e8a50245385460de2f
224
py
Python
World_1/002Usingformat.py
wesleyendliche/Python_exercises
44cdcb921201eb0b11ff1ac4b01b4a86859c2ffe
[ "MIT" ]
null
null
null
World_1/002Usingformat.py
wesleyendliche/Python_exercises
44cdcb921201eb0b11ff1ac4b01b4a86859c2ffe
[ "MIT" ]
null
null
null
World_1/002Usingformat.py
wesleyendliche/Python_exercises
44cdcb921201eb0b11ff1ac4b01b4a86859c2ffe
[ "MIT" ]
null
null
null
nome = input('Digite seu nome: ') name = input('Type your name: ') print('É um prazer te conhecer, {}{}{}!'.format('\033[1;36m', nome, '\033[m')) print('It is nice to meet you, {}{}{}!'.format('\033[4;30m', name, '\033[m'))
44.8
78
0.584821
37
224
3.540541
0.702703
0.137405
0
0
0
0
0
0
0
0
0
0.092308
0.129464
224
4
79
56
0.579487
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
2
5ead65667024bc75288d96cebf09e19da2212ee1
325
py
Python
pyatmos/class_atmos.py
lcx366/ATMOS
e079601ea4704d26defd7447ceed0b8be1f89e2f
[ "MIT" ]
11
2019-12-12T01:15:22.000Z
2022-03-11T02:38:10.000Z
pyatmos/class_atmos.py
lcx366/ATMOS
e079601ea4704d26defd7447ceed0b8be1f89e2f
[ "MIT" ]
2
2021-06-19T23:41:18.000Z
2022-03-24T22:59:11.000Z
pyatmos/class_atmos.py
lcx366/ATMOS
e079601ea4704d26defd7447ceed0b8be1f89e2f
[ "MIT" ]
null
null
null
class ATMOS(object): ''' class ATMOS - attributes: - self defined - methods: - None ''' def __init__(self,info): self.info = info for key in info.keys(): setattr(self, key, info[key]) def __repr__(self): return 'Instance of class AT...
19.117647
43
0.513846
35
325
4.542857
0.571429
0.188679
0
0
0
0
0
0
0
0
0
0
0.375385
325
17
44
19.117647
0.783251
0.206154
0
0
0
0
0.101322
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
5ec20deb24c94cf9ee316404a6b77dc4dd8b8ff6
842
py
Python
students/K33401/laboratory_works/Egorov_Michil/laboratory_work_2/room/models.py
EgorovM/ITMO_ICT_WebDevelopment_2021-2022
35c41ba024d7a3cd89654bd4db23f7d447e0f0a2
[ "MIT" ]
null
null
null
students/K33401/laboratory_works/Egorov_Michil/laboratory_work_2/room/models.py
EgorovM/ITMO_ICT_WebDevelopment_2021-2022
35c41ba024d7a3cd89654bd4db23f7d447e0f0a2
[ "MIT" ]
null
null
null
students/K33401/laboratory_works/Egorov_Michil/laboratory_work_2/room/models.py
EgorovM/ITMO_ICT_WebDevelopment_2021-2022
35c41ba024d7a3cd89654bd4db23f7d447e0f0a2
[ "MIT" ]
null
null
null
from django.db import models class Room(models.Model): SUBJECTS = ( ('math', 'Математика'), ('inf', 'Информатика'), ('othr', 'Другое') ) SUBJECTS_COLOR = ( ('math', '#28a745'), ('inf', '#007bff'), ('othr', '#6c757d') ) name = models.CharField(max_le...
24.764706
62
0.627078
93
842
5.516129
0.537634
0.087719
0.105263
0.140351
0.101365
0
0
0
0
0
0
0.029412
0.232779
842
33
63
25.515152
0.764706
0
0
0
0
0
0.083135
0
0
0
0
0
0
1
0.12
false
0
0.04
0.12
0.68
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
1
0
0
2
5ed383700e85d30633a0a565fb47e10ed17d6cee
975
py
Python
utils/keychain.py
remcoroyen/ShallotNetwork
d8f36533d613839f70b8eab30112d85229764af2
[ "MIT" ]
null
null
null
utils/keychain.py
remcoroyen/ShallotNetwork
d8f36533d613839f70b8eab30112d85229764af2
[ "MIT" ]
null
null
null
utils/keychain.py
remcoroyen/ShallotNetwork
d8f36533d613839f70b8eab30112d85229764af2
[ "MIT" ]
null
null
null
from Crypto.Util import number def random_prime(bit_size): return number.getPrime(bit_size) def random_int(bit_size): return number.getRandomInteger(bit_size) class KeyChain: def __init__(self): self.keys = [] self.keyids = [] def new_key(self, key, key_id): self.k...
23.780488
55
0.57641
132
975
4.037879
0.295455
0.11257
0.075047
0.067542
0.247655
0.108818
0.108818
0.108818
0.108818
0.108818
0
0
0.327179
975
40
56
24.375
0.8125
0
0
0.137931
0
0
0.027692
0
0
0
0
0
0
1
0.275862
false
0
0.034483
0.103448
0.517241
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
0
1
0
0
0
1
0
0
0
2
0d6071d50184dd01af4d40afcaa5d56fe50daa79
430
py
Python
scripts/A-A/ctsslmate.py
warsocket/recon
4e26086b2c0338db980a0a3e736c499acf51ef15
[ "Apache-2.0" ]
null
null
null
scripts/A-A/ctsslmate.py
warsocket/recon
4e26086b2c0338db980a0a3e736c499acf51ef15
[ "Apache-2.0" ]
null
null
null
scripts/A-A/ctsslmate.py
warsocket/recon
4e26086b2c0338db980a0a3e736c499acf51ef15
[ "Apache-2.0" ]
1
2018-02-23T13:37:59.000Z
2018-02-23T13:37:59.000Z
#!/usr/bin/env python import requests import sys domains = set() for line in sys.stdin: domain = line.strip() certs = requests.get("https://certspotter.com/api/v0/certs?domain=%s" % domain).json() try: for cert in certs: for domain in cert["dns_names"]: domain = domain....
21.5
90
0.574419
56
430
4.392857
0.607143
0
0
0
0
0
0
0
0
0
0
0.003289
0.293023
430
19
91
22.631579
0.805921
0.046512
0
0
0
0
0.139364
0
0
0
0
0
0
0
null
null
0.066667
0.133333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
0d6bbc4a1deb02ea0fe6dd3bf20550182a612637
71,145
py
Python
third_party/ray/core/generated/common_pb2.py
HuantWang/SUPERSONIC
bea7090e8bc4a54ed52495dd910ef946c88bec67
[ "CC-BY-4.0" ]
78
2022-02-02T00:23:02.000Z
2022-03-15T11:44:02.000Z
third_party/ray/core/generated/common_pb2.py
HuantWang/SUPERSONIC
bea7090e8bc4a54ed52495dd910ef946c88bec67
[ "CC-BY-4.0" ]
null
null
null
third_party/ray/core/generated/common_pb2.py
HuantWang/SUPERSONIC
bea7090e8bc4a54ed52495dd910ef946c88bec67
[ "CC-BY-4.0" ]
3
2022-01-30T05:10:14.000Z
2022-03-04T21:18:44.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: src/ray/protobuf/common.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor f...
46.591356
7,878
0.753813
8,964
71,145
5.692883
0.06805
0.05189
0.052674
0.034019
0.694205
0.61447
0.54949
0.52135
0.506143
0.501852
0
0.041151
0.119095
71,145
1,526
7,879
46.621887
0.773104
0.021843
0
0.628852
1
0.002801
0.225188
0.171195
0
0
0
0
0
1
0
false
0
0.004202
0
0.004202
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0d966087cea0a7295db776cecd1d057649f3d673
829
py
Python
src/PyMIPS/tests/memory_test.py
shenganzhang/Py-MI-PS
2d22327c75bac1b58a4804a61e7a703ecc5ba978
[ "MIT" ]
3
2019-05-14T21:24:59.000Z
2021-08-04T01:43:22.000Z
src/PyMIPS/tests/memory_test.py
shenganzhang/Py-MI-PS
2d22327c75bac1b58a4804a61e7a703ecc5ba978
[ "MIT" ]
null
null
null
src/PyMIPS/tests/memory_test.py
shenganzhang/Py-MI-PS
2d22327c75bac1b58a4804a61e7a703ecc5ba978
[ "MIT" ]
2
2021-08-04T01:43:25.000Z
2021-11-23T06:54:17.000Z
try: from src.PyMIPS.Datastructure.memory import Memory except: from PyMIPS.Datastructure.memory import Memory import unittest class TestMemory(unittest.TestCase): def test_storage(self): Memory.store_word(16, 2214) Memory.store_word(17, 2014) self.assertEqual(Memory.get_word(221...
25.121212
54
0.671894
110
829
4.9
0.309091
0.150278
0.217069
0.222635
0.543599
0.211503
0
0
0
0
0
0.11646
0.22316
829
32
55
25.90625
0.720497
0
0
0.086957
0
0
0
0
0
0
0
0
0.217391
1
0.130435
false
0
0.130435
0
0.304348
0
0
0
0
null
0
1
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
2
0dac47ce9c74512652d2d18d61755c2ace5c01fc
819
py
Python
banner4.py
KingNasirul/BHBVirus
219c28ace488e9e47d94f82911c86a1d5974f941
[ "Unlicense" ]
null
null
null
banner4.py
KingNasirul/BHBVirus
219c28ace488e9e47d94f82911c86a1d5974f941
[ "Unlicense" ]
null
null
null
banner4.py
KingNasirul/BHBVirus
219c28ace488e9e47d94f82911c86a1d5974f941
[ "Unlicense" ]
null
null
null
import time import sys # Set color R = '\033[31m' # Red N = '\033[1;37m' # White G = '\033[32m' # Green O = '\033[0;33m' # Orange B = '\033[1;34m' #Blue def delay_print(s): for c in s: sys.stdout.write(c) sys.stdout.flush() time.sleep(0.01) delay_print delay_print (""+R+" db db d888888b...
32.76
82
0.467643
122
819
3.07377
0.467213
0.106667
0.176
0.16
0
0
0
0
0
0
0
0.217054
0.369963
819
24
83
34.125
0.50969
0.043956
0
0
0
0
0.428387
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.15
0.45
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
0dae67493e4ce5dba398f2d0ee4a34110cbc91fc
1,463
py
Python
aioneo4j4/client.py
zhangmoon/aioneo4j4
94b4544d2764eba5eea740959f194e289a581fd2
[ "MIT" ]
null
null
null
aioneo4j4/client.py
zhangmoon/aioneo4j4
94b4544d2764eba5eea740959f194e289a581fd2
[ "MIT" ]
null
null
null
aioneo4j4/client.py
zhangmoon/aioneo4j4
94b4544d2764eba5eea740959f194e289a581fd2
[ "MIT" ]
null
null
null
import asyncio import collections from yarl import URL from .transport import Transport class Client: def __init__( self, url='http://127.0.0.1:7474/', auth=None, transport=Transport, request_timeout=..., *, loop=None ): if loop is None: l...
20.041096
55
0.500342
150
1,463
4.7
0.386667
0.119149
0.051064
0.079433
0
0
0
0
0
0
0
0.012586
0.402597
1,463
72
56
20.319444
0.79405
0.025291
0
0.156863
0
0
0.04571
0
0
0
0
0.013889
0
1
0.019608
false
0.058824
0.078431
0
0.156863
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
1
0
0
0
0
0
2
0db65eebf31a3d9c1ea003346b7e0a6a218692e0
527
py
Python
DailyAssingments/Week1/Day2Assignments2.py
smooth-dasilva/Smoothstack-Workload
165ac6df72c7765a594fa472131def1ab2e44c78
[ "MIT" ]
null
null
null
DailyAssingments/Week1/Day2Assignments2.py
smooth-dasilva/Smoothstack-Workload
165ac6df72c7765a594fa472131def1ab2e44c78
[ "MIT" ]
null
null
null
DailyAssingments/Week1/Day2Assignments2.py
smooth-dasilva/Smoothstack-Workload
165ac6df72c7765a594fa472131def1ab2e44c78
[ "MIT" ]
null
null
null
#doc4 #1. print([1, 'Hello', 1.0]) #2 print([1, 1, [1,2]][2][1]) #3. out: 'b', 'c' print(['a','b', 'c'][1:]) #4. weekDict= {'Sunday':0,'Monday':1,'Tuesday':2,'Wednesday':3,'Thursday':4,'Friday':5,'Saturday':6, } #5. out: 2 if you replace D[k1][1] with D['k1][1] D={'k1':[1,2,3]} print(D['k1'][1]) #6. tup = ( ...
13.175
98
0.489564
110
527
2.345455
0.4
0.03876
0.062016
0.093023
0
0
0
0
0
0
0
0.141876
0.170778
527
40
99
13.175
0.448513
0.187856
0
0.125
0
0
0.170673
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5625
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
1
0
2
0dc54bb903b475f38621941bf098cb9e92be0daf
548
py
Python
authentication/urls.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
authentication/urls.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
authentication/urls.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ License: MIT Copyright (c) 2019 - present AppSeed.us """ from django.urls import path from .views import login_view, register_user, reset_password from django.contrib.auth.views import LogoutView from .views import * urlpatterns = [ path('login/', login_view, name="login"), path(...
28.842105
75
0.695255
71
548
5.225352
0.450704
0.140162
0.080863
0
0
0
0
0
0
0
0
0.010526
0.133212
548
18
76
30.444444
0.770526
0.140511
0
0
0
0
0.194384
0.051836
0
0
0
0
0
1
0
false
0.181818
0.363636
0
0.363636
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
1
0
0
0
0
2
0dc75b65a9507820b7a1135f0816c7e8f573fa2d
654
py
Python
mitmproxy/contentviews/auto.py
KarlParkinson/mitmproxy
fd5caf40c75ca73c4b767170497abf6a5bf016a0
[ "MIT" ]
24,939
2015-01-01T17:13:21.000Z
2022-03-31T17:50:04.000Z
mitmproxy/contentviews/auto.py
PeterDaveHello/mitmproxy
4bd7b6c4eadeaca712f63e0e73f20bcf6aadbffb
[ "MIT" ]
3,655
2015-01-02T12:31:43.000Z
2022-03-31T20:24:57.000Z
mitmproxy/contentviews/auto.py
PeterDaveHello/mitmproxy
4bd7b6c4eadeaca712f63e0e73f20bcf6aadbffb
[ "MIT" ]
3,712
2015-01-06T06:47:06.000Z
2022-03-31T10:33:27.000Z
from mitmproxy import contentviews from . import base class ViewAuto(base.View): name = "Auto" def __call__(self, data, **metadata): # TODO: The auto view has little justification now that views implement render_priority, # but we keep it around for now to not touch more parts. priori...
31.142857
96
0.616208
83
654
4.771084
0.626506
0.090909
0
0
0
0
0
0
0
0
0
0.00431
0.29052
654
20
97
32.7
0.849138
0.238532
0
0
0
0
0.02834
0
0
0
0
0.05
0
1
0.142857
false
0
0.142857
0.071429
0.642857
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
1
0
0
2
0dd15e9fbd8b5095490c20bbe408b720a1df4284
76
py
Python
nicos_mlz/resi/setups/resi.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
nicos_mlz/resi/setups/resi.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos_mlz/resi/setups/resi.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
description = 'Resi instrument setup' group = 'basic' includes = ['base']
12.666667
37
0.684211
8
76
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.171053
76
5
38
15.2
0.825397
0
0
0
0
0
0.394737
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
0de5d6a47d80b154cdbdae53819a355507f08a2e
800
py
Python
class3/exercises/exercise1.py
twin-bridges/netmiko_course
31943e4f6f66dbfe523d62d5a2f03285802a8c56
[ "Apache-2.0" ]
11
2020-09-16T06:53:16.000Z
2021-08-24T21:27:37.000Z
class3/exercises/exercise1.py
twin-bridges/netmiko_course
31943e4f6f66dbfe523d62d5a2f03285802a8c56
[ "Apache-2.0" ]
null
null
null
class3/exercises/exercise1.py
twin-bridges/netmiko_course
31943e4f6f66dbfe523d62d5a2f03285802a8c56
[ "Apache-2.0" ]
5
2020-10-18T20:25:59.000Z
2021-10-20T16:27:00.000Z
import os from getpass import getpass from pprint import pprint from netmiko import ConnectHandler # Code so automated tests will run properly password = os.getenv("NETMIKO_PASSWORD") if os.getenv("NETMIKO_PASSWORD") else getpass() arista1 = { "device_type": "arista_eos", "host": "arista1.lasthop.io", "us...
25.806452
88
0.6425
102
800
4.872549
0.480392
0.064386
0.060362
0.092555
0
0
0
0
0
0
0
0.009662
0.22375
800
30
89
26.666667
0.79066
0.05125
0
0.166667
0
0
0.248349
0.029062
0
0
0
0
0
1
0
false
0.125
0.166667
0
0.166667
0.416667
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
1
0
2
0de9893144b5910f320fefedfcebe7eebec65b42
475
py
Python
app/controllers/user.py
souravlahoti/GithubAction
6cda8f4ab022f78df7539b32571c1406f8943ad5
[ "MIT" ]
null
null
null
app/controllers/user.py
souravlahoti/GithubAction
6cda8f4ab022f78df7539b32571c1406f8943ad5
[ "MIT" ]
null
null
null
app/controllers/user.py
souravlahoti/GithubAction
6cda8f4ab022f78df7539b32571c1406f8943ad5
[ "MIT" ]
null
null
null
from flask import jsonify from flask_restful import Resource class User(Resource): def get(self, id): data = {'name': 'nabin khadka'} return jsonify(data) def put(self, id): pass def patch(self, id): pass def delete(self, id): pass class UserList(Resource):...
16.964286
70
0.572632
59
475
4.59322
0.457627
0.088561
0.110701
0.132841
0
0
0
0
0
0
0
0
0.305263
475
27
71
17.592593
0.821212
0
0
0.333333
0
0
0.111579
0
0
0
0
0
0
1
0.333333
false
0.222222
0.111111
0
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
1
0
1
0
0
0
0
0
2
0decb58388efdb35753edb1a250f99a3c2fcefa4
771
py
Python
coderdojochi/migrations/0021_auto_20180815_1757.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
15
2019-05-04T00:24:00.000Z
2021-08-21T16:34:05.000Z
coderdojochi/migrations/0021_auto_20180815_1757.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
73
2019-04-24T15:53:42.000Z
2021-08-06T20:41:41.000Z
coderdojochi/migrations/0021_auto_20180815_1757.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
20
2019-04-26T20:13:08.000Z
2021-06-21T14:53:21.000Z
# Generated by Django 2.0.6 on 2018-08-15 22:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coderdojochi', '0020_mentor_shirt_size'), ] operations = [ migrations.AddField( model_name='mentor', name='home_addr...
26.586207
74
0.581064
82
771
5.329268
0.512195
0.12357
0.157895
0.185355
0.590389
0.590389
0.505721
0.505721
0.505721
0.505721
0
0.051852
0.299611
771
28
75
27.535714
0.757407
0.058366
0
0.545455
1
0
0.109116
0.030387
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
216ee6cd0a2a320e0ac816601363649bae571b45
1,691
py
Python
test/tests/set.py
jvkersch/pyston
2c7e7a5e0ed7a0a8b4528919f855fa8336b43902
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/set.py
jvkersch/pyston
2c7e7a5e0ed7a0a8b4528919f855fa8336b43902
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/set.py
jvkersch/pyston
2c7e7a5e0ed7a0a8b4528919f855fa8336b43902
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
s1 = {1} def sorted(s): l = list(s) l.sort() return repr(l) s1 = set() | set(range(3)) print sorted(s1) s2 = set(range(1, 5)) print sorted(s2) print repr(sorted(s1)), str(sorted(s1)) print sorted(s1 - s2) print sorted(s2 - s1) print sorted(s1 ^ s2) print sorted(s1 & s2) print sorted(s1 | s2) print len(...
15.234234
78
0.608516
313
1,691
3.28754
0.162939
0.17104
0.088435
0.072886
0.206997
0.13897
0.077745
0.048591
0.048591
0
0
0.062229
0.182732
1,691
110
79
15.372727
0.682344
0
0
0.270588
0
0
0.005322
0
0
0
0
0
0
0
null
null
0
0
null
null
0.505882
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
1
0
2
21758ae5b904cd586ad12411253dc0f4bd9495ef
350
py
Python
tests/data/dos.py
granrothge/multiphonon
486a998eeb6b73b964a58ba0f98fe3ece15bdf6e
[ "MIT" ]
1
2019-05-22T08:46:09.000Z
2019-05-22T08:46:09.000Z
tests/data/dos.py
granrothge/multiphonon
486a998eeb6b73b964a58ba0f98fe3ece15bdf6e
[ "MIT" ]
118
2016-04-04T12:27:15.000Z
2021-08-18T01:46:13.000Z
tests/data/dos.py
granrothge/multiphonon
486a998eeb6b73b964a58ba0f98fe3ece15bdf6e
[ "MIT" ]
5
2017-09-28T16:01:12.000Z
2020-01-31T18:58:09.000Z
#!/usr/bin/env python # # Jiao Lin <jiao.lin@gmail.com> import os datadir = os.path.abspath(os.path.dirname(__file__)) def loadDOS(): f = os.path.join(datadir, 'V-dos.dat') from multiphonon.dos import io E, Z, error = io.fromascii(f) from multiphonon.dos.nice import nice_dos E,g = nice_dos(E, Z) ...
19.444444
52
0.66
60
350
3.75
0.566667
0.08
0.16
0
0
0
0
0
0
0
0
0
0.197143
350
17
53
20.588235
0.800712
0.177143
0
0
0
0
0.03169
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
0
0
0
1
0
1
0
0
2
219042565e81d8c12997684eb40b91c86b416cb5
701
py
Python
ex18.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
ex18.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
ex18.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
#this one is like your scripts with argv def print_two(*args): arg1, arg2 = args print "arg1: %r, arg2: %r" % (arg1, arg2) #ok, the *args is actually pointless, we can just do this def print_two_again(arg1, arg2): print "arg1: %r, arg2: %r" % (arg1, arg2) #this just takes one argument def print_one(arg1):...
24.172414
76
0.663338
111
701
4.081081
0.396396
0.0883
0.066225
0.06181
0.101545
0.101545
0.101545
0
0
0
0
0.041958
0.184023
701
28
77
25.035714
0.75
0.21398
0
0.117647
0
0
0.25777
0
0
0
0
0
0
0
null
null
0
0
null
null
0.882353
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
1
0
2
21abd949743f6366711da7e003fd265439edaff6
1,683
py
Python
python/ray/tests/test_list_actors.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
python/ray/tests/test_list_actors.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
python/ray/tests/test_list_actors.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
import pytest import sys import ray from ray._private.test_utils import wait_for_condition def test_list_named_actors_basic(ray_start_regular): @ray.remote class A: pass a = A.remote() assert not ray.util.list_named_actors() a = A.options(name="hi").remote() assert len(ray.util.list...
26.714286
84
0.66429
252
1,683
4.150794
0.277778
0.137667
0.229446
0.214149
0.641491
0.620459
0.544933
0.544933
0.544933
0.544933
0
0.011095
0.196673
1,683
62
85
27.145161
0.762574
0.044563
0
0.545455
0
0
0.057357
0
0
0
0
0
0.272727
1
0.068182
false
0.045455
0.113636
0
0.25
0
0
0
0
null
0
1
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
2
21ae2a24ae236e3d5b5a92a327d356b5c7ba6074
90
py
Python
aiida_crystal_dft/__init__.py
tilde-lab/aiida-crystal-dft
971fd13a3f414d6e80cc654dc92a8758f6e0365c
[ "MIT" ]
2
2019-02-05T16:49:08.000Z
2020-01-29T12:27:14.000Z
aiida_crystal_dft/__init__.py
tilde-lab/aiida-crystal-dft
971fd13a3f414d6e80cc654dc92a8758f6e0365c
[ "MIT" ]
36
2020-03-09T19:35:10.000Z
2021-12-07T22:13:31.000Z
aiida_crystal_dft/__init__.py
tilde-lab/aiida-crystal-dft
971fd13a3f414d6e80cc654dc92a8758f6e0365c
[ "MIT" ]
1
2019-11-13T23:12:10.000Z
2019-11-13T23:12:10.000Z
""" aiida_crystal_dft AiiDA plugin for running the CRYSTAL code """ __version__ = "0.8"
11.25
41
0.722222
13
90
4.538462
0.846154
0
0
0
0
0
0
0
0
0
0
0.026667
0.166667
90
7
42
12.857143
0.76
0.666667
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
21b1eb4686bf40669ec47b042269eff5341c4c0e
377
py
Python
tkinterLearning/graphinKivyExample.py
MertEfeSevim/ECar-ABUTeam
4a37cbddff1609a1e1e8bd55fe6077b384471024
[ "Apache-2.0" ]
null
null
null
tkinterLearning/graphinKivyExample.py
MertEfeSevim/ECar-ABUTeam
4a37cbddff1609a1e1e8bd55fe6077b384471024
[ "Apache-2.0" ]
null
null
null
tkinterLearning/graphinKivyExample.py
MertEfeSevim/ECar-ABUTeam
4a37cbddff1609a1e1e8bd55fe6077b384471024
[ "Apache-2.0" ]
null
null
null
from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg from kivy.app import App from kivy.uix.boxlayout import BoxLayout import matplotlib.pyplot as plt plt.plot([1, 23, 2, 4]) plt.ylabel('some numbers') class MyApp(App): def build(self): box = BoxLayout() box.add_widget(FigureCan...
22.176471
70
0.71618
52
377
5.153846
0.634615
0.089552
0
0
0
0
0
0
0
0
0
0.016026
0.172414
377
16
71
23.5625
0.842949
0
0
0
0
0
0.03183
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
21b3aa32ee34e39e88f108b17ea530a57eb6e324
1,912
py
Python
pandas_market_calendars/exchange_calendars_mirror.py
matbox/pandas_market_calendars
942ad6de5f3e2700a4f8b2c2d44ccb65fa9fdab5
[ "MIT" ]
null
null
null
pandas_market_calendars/exchange_calendars_mirror.py
matbox/pandas_market_calendars
942ad6de5f3e2700a4f8b2c2d44ccb65fa9fdab5
[ "MIT" ]
null
null
null
pandas_market_calendars/exchange_calendars_mirror.py
matbox/pandas_market_calendars
942ad6de5f3e2700a4f8b2c2d44ccb65fa9fdab5
[ "MIT" ]
null
null
null
""" Imported calendars from the exchange_calendars project GitHub: https://github.com/gerrymanoim/exchange_calendars """ from datetime import time from .market_calendar import MarketCalendar import exchange_calendars class TradingCalendar(MarketCalendar): def __init__(self, open_time=None, close_time=None): ...
26.191781
107
0.680962
242
1,912
5.078512
0.247934
0.078112
0.113914
0.130187
0.353133
0.314076
0.135069
0.135069
0.135069
0.074858
0
0.005431
0.229603
1,912
72
108
26.555556
0.828921
0.091527
0
0.285714
0
0
0.017361
0
0
0
0
0
0
1
0.265306
false
0
0.061224
0.204082
0.591837
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
1
0
0
0
2
21bdf99390c3df665d25199aea9fff225ef4b831
1,004
py
Python
tests/pyrem_tests.py
sgdxbc/PyREM
e162efd5f95d1d335fb96d77cbe047def02c340e
[ "MIT" ]
5
2016-01-20T22:34:41.000Z
2020-12-19T15:24:33.000Z
tests/pyrem_tests.py
sgdxbc/PyREM
e162efd5f95d1d335fb96d77cbe047def02c340e
[ "MIT" ]
12
2015-11-11T23:03:03.000Z
2021-09-28T17:09:53.000Z
tests/pyrem_tests.py
sgdxbc/PyREM
e162efd5f95d1d335fb96d77cbe047def02c340e
[ "MIT" ]
4
2015-12-10T05:14:30.000Z
2021-08-14T02:48:05.000Z
from pyrem.task import Task, TaskStatus class DummyTask(Task): def _start(self): pass def _wait(self): pass def _stop(self): pass class TestDummyTask(object): @classmethod def setup_class(klass): """This method is run once for each class before any tests are run"...
23.904762
78
0.625498
126
1,004
4.865079
0.325397
0.104405
0.091354
0.130506
0.383361
0.254486
0.133768
0.133768
0.133768
0.133768
0
0.001389
0.282869
1,004
41
79
24.487805
0.85
0.188247
0
0.357143
0
0
0
0
0
0
0
0
0.142857
1
0.321429
false
0.214286
0.035714
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
1
0
0
0
0
0
2
21c9e3f18e9ff9713871cd9e59f532296cc7c00f
8,500
py
Python
python/sparktk/models/classification/naive_bayes.py
aayushidwivedi01/spark-tk-old
fcf25f86498ac416cce77de0db4cf0aa503d20ac
[ "ECL-2.0", "Apache-2.0" ]
1
2017-05-17T07:09:59.000Z
2017-05-17T07:09:59.000Z
python/sparktk/models/classification/naive_bayes.py
aayushidwivedi01/spark-tk-old
fcf25f86498ac416cce77de0db4cf0aa503d20ac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
python/sparktk/models/classification/naive_bayes.py
aayushidwivedi01/spark-tk-old
fcf25f86498ac416cce77de0db4cf0aa503d20ac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# vim: set encoding=utf-8 # Copyright (c) 2016 Intel Corporation  # # 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...
36.170213
116
0.609529
1,046
8,500
4.805927
0.25239
0.013129
0.017903
0.007957
0.203302
0.156754
0.130495
0.093495
0.093495
0.077581
0
0.083073
0.283412
8,500
234
117
36.324786
0.742243
0.579765
0
0.112903
0
0
0.044314
0
0
0
0
0
0
1
0.225806
false
0
0.080645
0.064516
0.516129
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
1
0
0
2
21cb6726d5d75e89f98527599cbd57bd6acc970a
75
py
Python
custom_model_runner/datarobot_drum/drum/description.py
cartertroy/datarobot-user-models
d2c2b47e0d46a0ce8d07f1baa8d57155a829d2fc
[ "Apache-2.0" ]
null
null
null
custom_model_runner/datarobot_drum/drum/description.py
cartertroy/datarobot-user-models
d2c2b47e0d46a0ce8d07f1baa8d57155a829d2fc
[ "Apache-2.0" ]
null
null
null
custom_model_runner/datarobot_drum/drum/description.py
cartertroy/datarobot-user-models
d2c2b47e0d46a0ce8d07f1baa8d57155a829d2fc
[ "Apache-2.0" ]
null
null
null
version = "1.1.5rc1" __version__ = version project_name = "datarobot-drum"
18.75
31
0.746667
10
75
5.1
0.7
0
0
0
0
0
0
0
0
0
0
0.060606
0.12
75
3
32
25
0.712121
0
0
0
0
0
0.293333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
21e723f45f87fc926e72e1075bacd22832327764
715
py
Python
scripts/convert_0.0_to_0.1.py
codecraftingtools/hildegard
cc658ab4972dfaf67e995c797d0493a5d82a611f
[ "MIT" ]
null
null
null
scripts/convert_0.0_to_0.1.py
codecraftingtools/hildegard
cc658ab4972dfaf67e995c797d0493a5d82a611f
[ "MIT" ]
null
null
null
scripts/convert_0.0_to_0.1.py
codecraftingtools/hildegard
cc658ab4972dfaf67e995c797d0493a5d82a611f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2020 Jeffrey A. Webb import sys f = open(sys.argv[1]) for line in f: s = line.strip() if s.startswith("source:"): id = s.split(":")[-1].strip() indent = ' '*line.index("source") sys.stdout.write(f"{indent}source:\n") sys.stdout.write(f"{i...
29.791667
60
0.548252
99
715
3.959596
0.363636
0.160714
0.25
0.229592
0.581633
0.47449
0.47449
0.47449
0.326531
0.326531
0
0.014787
0.243357
715
23
61
31.086957
0.709797
0.078322
0
0.333333
0
0
0.252664
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
1
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
2
21f35dbbfba3587292969ac6f42df8409ca16d0e
223
py
Python
data/python/pattern_10/code.py
MKAbuMattar/grammind-api
ccf6e9898f50f9e4c7671abecf65029198e2dc72
[ "MIT" ]
3
2021-12-29T13:03:27.000Z
2021-12-31T20:27:17.000Z
data/python/pattern_10/code.py
MKAbuMattar/grammind-api
ccf6e9898f50f9e4c7671abecf65029198e2dc72
[ "MIT" ]
2
2022-01-15T13:08:13.000Z
2022-01-18T19:41:07.000Z
data/python/pattern_10/code.py
MKAbuMattar/grammind-api
ccf6e9898f50f9e4c7671abecf65029198e2dc72
[ "MIT" ]
null
null
null
#MAIN PROGRAM STARTS HERE: num = int(input('Enter the number of rows and columns for the square: ')) for x in range(1, num + 1): for y in range(1, num - 2 + 1): print ('{} {} '.format(x, y), end='') print()
31.857143
73
0.573991
38
223
3.368421
0.657895
0.109375
0.125
0.171875
0
0
0
0
0
0
0
0.02994
0.251121
223
7
74
31.857143
0.736527
0.112108
0
0
0
0
0.29798
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
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
2
21f45310f90a55cefdff3888526c635be854305a
373
py
Python
test/py/RunClientServer.py
KirinDave/powerset_thrift
283603cce87e6da4117af1d3c91570e7466846c2
[ "BSL-1.0" ]
1
2016-05-08T06:27:22.000Z
2016-05-08T06:27:22.000Z
test/py/RunClientServer.py
wmorgan/thrift
d9ba3d7a3e25f0f88766c344b2e937422858320b
[ "BSL-1.0" ]
null
null
null
test/py/RunClientServer.py
wmorgan/thrift
d9ba3d7a3e25f0f88766c344b2e937422858320b
[ "BSL-1.0" ]
1
2021-02-09T10:25:34.000Z
2021-02-09T10:25:34.000Z
#!/usr/bin/env python import subprocess import sys import os import signal serverproc = subprocess.Popen([sys.executable, "TestServer.py"]) try: ret = subprocess.call([sys.executable, "TestClient.py"]) if ret != 0: raise Exception("subprocess failed") finally: # fixme: should check that server di...
21.941176
64
0.707775
49
373
5.387755
0.714286
0.098485
0
0
0
0
0
0
0
0
0
0.003236
0.171582
373
16
65
23.3125
0.851133
0.168901
0
0
0
0
0.13961
0
0
0
0
0.0625
0
1
0
false
0
0.363636
0
0.363636
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
1
0
0
0
0
2
21fdcfcb45fd6e4c2b13357b9059ca59108a10c0
968
py
Python
recipes/happly/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/happly/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/happly/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
from conans import ConanFile, tools class HapplyConan(ConanFile): name = "happly" url = "https://github.com/conan-io/conan-center-index" homepage = "https://github.com/nmwsharp/happly" topics = ("conan", "happly", "ply", "3D") license = "MIT" description = "A C++ header-only parser for the PLY...
31.225806
114
0.663223
122
968
5.122951
0.557377
0.12
0.0912
0.0704
0.08
0
0
0
0
0
0
0.003881
0.201446
968
30
115
32.266667
0.804657
0
0
0
0
0
0.242769
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.043478
0.695652
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
1
0
0
2
1d0414064a76791a07370cb0449ad44c12e6bd53
556
py
Python
src/148.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
12
2016-10-19T09:03:20.000Z
2021-01-10T10:53:23.000Z
src/148.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
null
null
null
src/148.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
6
2018-09-12T03:13:58.000Z
2021-07-07T00:29:43.000Z
# We can easily verify that none of the entries in the first seven # rows of Pascal's triangle are divisible by 7: # 1 # 1 1 # 1 2 1 # 1 3 3 1 # 1 4 6 4 1 # 1 5 10 10 5 1 # 1 6 15 20 15 6 1 # Howeve...
34.75
66
0.546763
97
556
3.134021
0.453608
0.046053
0.118421
0.085526
0.256579
0
0
0
0
0
0
0.143731
0.411871
556
16
67
34.75
0.785933
0.947842
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
df0aff4197ef0ad00e311fbd3784ea4b9b5eea37
2,142
py
Python
snuba/utils/types.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
snuba/utils/types.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
snuba/utils/types.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from typing import Any, Generic, TypeVar from typing_extensions import Protocol TComparable = TypeVar("TComparable", contravariant=True) class Comparable(Protocol[TComparable]): """ Defines the protocol for comparable objects. Objects that satisfy this protocol are ass...
31.5
86
0.723156
267
2,142
5.674157
0.498127
0.035644
0.110891
0.10231
0.217822
0.217822
0.134653
0
0
0
0
0.000588
0.206349
2,142
67
87
31.970149
0.890588
0.460317
0
0.413793
0
0
0.01107
0
0
0
0
0
0
1
0.241379
false
0
0.103448
0
0.586207
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
1
0
0
2
df0edbdfa3781bf2e4a9e3ef7d2addd8064bef5a
830
py
Python
scripts/pyqtgraph-develop/pyqtgraph/pixmaps/__init__.py
kuldeepaman/tf-pose
8050912c52a7b4f3c8a2656f267d47ba21d093f6
[ "Apache-2.0" ]
null
null
null
scripts/pyqtgraph-develop/pyqtgraph/pixmaps/__init__.py
kuldeepaman/tf-pose
8050912c52a7b4f3c8a2656f267d47ba21d093f6
[ "Apache-2.0" ]
null
null
null
scripts/pyqtgraph-develop/pyqtgraph/pixmaps/__init__.py
kuldeepaman/tf-pose
8050912c52a7b4f3c8a2656f267d47ba21d093f6
[ "Apache-2.0" ]
null
null
null
""" Allows easy loading of pixmaps used in UI elements. Provides support for frozen environments as well. """ import os, sys, pickle from ..functions import makeQImage from ..Qt import QtGui from ..python2_3 import basestring if sys.version_info[0] == 2: from . import pixmapData_2 as pixmapData else: ...
29.642857
74
0.687952
107
830
5.299065
0.570093
0.10582
0.121693
0
0
0
0
0
0
0
0
0.009231
0.216867
830
27
75
30.740741
0.863077
0.275904
0
0
0
0
0.007313
0
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.533333
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
1
0
0
2
df193d81eacd388f5ab18d96aacd2c5b1b7b5976
548
py
Python
sarikasama/0012/0012.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
sarikasama/0012/0012.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
sarikasama/0012/0012.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
#!/usr/bin/env python3 #filter sensitive words in user's input def replace_sensitive_words(input_word): s_words = [] with open('filtered_words','r') as f: line = f.readline() while line != '': s_words.append(line.strip()) line = f.readline() for word in s_words: ...
27.4
55
0.600365
71
548
4.309859
0.43662
0.205882
0.137255
0.169935
0.196078
0
0
0
0
0
0
0.002513
0.273723
548
19
56
28.842105
0.766332
0.107664
0
0.133333
0
0
0.059548
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.066667
0
0
0
null
1
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
2
df1b5b5a58e2e52b261ca94c9d20882cbf00caf2
1,172
py
Python
moceansdk/modules/command/mc_object/tg_request_contact.py
d3no/mocean-sdk-python
cbc215a0eb8aa26c04afb940eab6482f23150c75
[ "MIT" ]
2
2019-10-31T02:37:43.000Z
2021-07-25T02:45:27.000Z
moceansdk/modules/command/mc_object/tg_request_contact.py
d3no/mocean-sdk-python
cbc215a0eb8aa26c04afb940eab6482f23150c75
[ "MIT" ]
18
2019-05-30T01:09:34.000Z
2022-01-04T07:31:47.000Z
moceansdk/modules/command/mc_object/tg_request_contact.py
d3no/mocean-sdk-python
cbc215a0eb8aa26c04afb940eab6482f23150c75
[ "MIT" ]
4
2019-04-19T08:34:47.000Z
2021-07-21T02:02:07.000Z
from builtins import super from moceansdk.modules.command.mc_object import AbstractMc class TgRequestContact(AbstractMc): def __init__(self, param=None): super().__init__(param) self.set_button_text('Share button') def action(self): return 'send-telegram' def required_key(self):...
29.3
65
0.610068
138
1,172
4.804348
0.282609
0.180995
0.054299
0.072398
0.153846
0
0
0
0
0
0
0
0.238908
1,172
39
66
30.051282
0.743274
0
0
0.133333
0
0
0.151877
0
0
0
0
0
0
1
0.233333
false
0
0.066667
0.066667
0.533333
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
1
0
0
2
df1f060044c4759d5a15d50dfadd88be86823530
688
py
Python
pyoat/__init__.py
berkanlafci/pyoat
b0cee99adde3c14c5d94f26f6e893a0b2e1fcae2
[ "MIT" ]
5
2022-03-07T16:30:58.000Z
2022-03-28T13:42:01.000Z
pyoat/__init__.py
berkanlafci/pyoat
b0cee99adde3c14c5d94f26f6e893a0b2e1fcae2
[ "MIT" ]
1
2022-03-28T13:41:42.000Z
2022-03-28T13:41:42.000Z
pyoat/__init__.py
berkanlafci/pyoat
b0cee99adde3c14c5d94f26f6e893a0b2e1fcae2
[ "MIT" ]
null
null
null
#----- # Description : Import classes/functions from subfolders # Date : February 2021 # Author : Berkan Lafci # E-mail : lafciberkan@gmail.com #----- # package version __version__ = "1.0.0" # oa recon codes from pyoat.reconstruction import cpuBP, cpuMB, modelOA # data readers from pyoat.rea...
25.481481
93
0.767442
78
688
6.717949
0.589744
0.137405
0.080153
0.114504
0
0
0
0
0
0
0
0.013865
0.161337
688
27
94
25.481481
0.894281
0.356105
0
0
0
0
0.011574
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
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
1
0
0
2
df2344b9d30d0dc68153136f3c88de8e8dd0db2a
370
py
Python
Dataset/Leetcode/valid/35/31.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/35/31.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/35/31.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, nums: List[int], target: int) -> int: l, r = 0, len(nums)-1 # 找到第一个大于或等于target的位置 while l<r: m = (l+r) // 2 if nums[m] >= target: r = m else: l = m + 1 if nums[r] >= target: ...
20.555556
55
0.381081
45
370
3.133333
0.466667
0.042553
0
0
0
0
0
0
0
0
0
0.027174
0.502703
370
17
56
21.764706
0.73913
0.051351
0
0.153846
0
0
0
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
1
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
2
df2add4292563c4782461ccc1a9f4bd18f1826e0
293
py
Python
ex012.py
sml07/Meus-Estudos-Python
8f06ec8ad170674cd0cc5cf792b5647dbb894a1c
[ "MIT" ]
null
null
null
ex012.py
sml07/Meus-Estudos-Python
8f06ec8ad170674cd0cc5cf792b5647dbb894a1c
[ "MIT" ]
null
null
null
ex012.py
sml07/Meus-Estudos-Python
8f06ec8ad170674cd0cc5cf792b5647dbb894a1c
[ "MIT" ]
null
null
null
#Faça um algoritimo que leia o preço de um produto e mostre o seu novo preço com 5% de desconto. price = float(input("Digite o preço do produto: ")) sale = price - (price * 0.05) print("O valor bruto do produto é: {:.2f}R$.".format(price)) print("Com o desconto de 5%: {:.2f}R$".format(sale))
48.833333
96
0.682594
54
293
3.703704
0.574074
0.06
0.09
0
0
0
0
0
0
0
0
0.028571
0.163823
293
6
97
48.833333
0.787755
0.324232
0
0
0
0
0.474747
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
2
df2c143e3b261adc27b58c068491f0de1cd09b82
514
py
Python
tests/r/test_bcdeter.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_bcdeter.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_bcdeter.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.bcdeter import bcdeter def test_bcdeter(): """Test module bcdeter.py by downloading bcdeter.csv and testing shape of extracted data has 95...
21.416667
43
0.752918
72
514
5.097222
0.569444
0.081744
0.13079
0
0
0
0
0
0
0
0
0.014252
0.180934
514
23
44
22.347826
0.857482
0.215953
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
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
0
1
0
1
0
0
2
df3ca98f6de6dd3416b0ed3855860078017dafec
163,982
py
Python
tests/examples/minlplib/arki0019.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/arki0019.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/arki0019.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# NLP written by GAMS Convert at 04/21/18 13:51:02 # # Equation counts # Total E G L N X C B # 3 2 0 1 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
97.260973
120
0.592053
24,204
163,982
4.011155
0.176872
0.053674
0.073543
0.105061
0.335682
0.272768
0.215036
0.214954
0.214954
0.214954
0
0.528833
0.234587
163,982
1,685
121
97.318694
0.244674
0.004135
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.000602
0
0.000602
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
df4589c5936fa29d3d24eba4e44f5da8d49bf94e
714
py
Python
pizza_store/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
2
2021-07-10T15:47:45.000Z
2021-12-13T18:09:30.000Z
pizza_store/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
pizza_store/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
import datetime import uuid from pizza_store.enums.role import Role from pydantic import BaseModel class UserBase(BaseModel): username: str email: str class UserCreate(UserBase): """User register model""" password: str class UserIn(BaseModel): """User login model.""" username: str p...
13.730769
39
0.683473
86
714
5.604651
0.465116
0.06639
0.06639
0
0
0
0
0
0
0
0
0
0.235294
714
51
40
14
0.882784
0.051821
0
0.137931
0
0
0
0
0
0
0
0
0
1
0
false
0.137931
0.137931
0
0.931034
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
1
0
0
2
df526964a362846faf5e5acce4b5cfd42b2a61de
562
py
Python
tests/test_scriptfields.py
ttimasdf/pyes
e5dd8bfde7ca72b9bdf52f31ee7dbbf9681891ac
[ "BSD-3-Clause" ]
175
2015-01-04T00:41:48.000Z
2022-01-12T08:42:28.000Z
tests/test_scriptfields.py
yoloseem/pyes
d146d7cbe8a883b7b6a821e4c41acb16d2a5e3d0
[ "BSD-3-Clause" ]
35
2015-01-23T16:17:33.000Z
2021-05-17T12:12:29.000Z
tests/test_scriptfields.py
yoloseem/pyes
d146d7cbe8a883b7b6a821e4c41acb16d2a5e3d0
[ "BSD-3-Clause" ]
69
2015-01-10T17:28:26.000Z
2021-10-13T06:55:56.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import import unittest from pyes import scriptfields class ScriptFieldsTest(unittest.TestCase): def test_scriptfieldserror_imported(self): self.assertTrue(hasattr(scriptfields, 'ScriptFieldsError')) def test_ignore_failure(self): fields =...
33.058824
98
0.729537
60
562
6.466667
0.583333
0.100515
0
0
0
0
0
0
0
0
0
0.002105
0.154804
562
16
99
35.125
0.814737
0.037367
0
0
0
0
0.135436
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
df5bcc25e0eb5cf59dcd57c576a359b2d756670b
1,308
py
Python
.ipynb_checkpoints/get-checkpoint.py
Ferruolo/delphi
369d74053ff211f7114b01d51621a388693a0dc7
[ "MIT" ]
null
null
null
.ipynb_checkpoints/get-checkpoint.py
Ferruolo/delphi
369d74053ff211f7114b01d51621a388693a0dc7
[ "MIT" ]
null
null
null
.ipynb_checkpoints/get-checkpoint.py
Ferruolo/delphi
369d74053ff211f7114b01d51621a388693a0dc7
[ "MIT" ]
null
null
null
import requests import io import dask from bs4 import BeautifulSoup as BS import nltk import pandas import numpy as np def News(ticker): B = BS(requests.get(f"https://www.wsj.com/market-data/quotes/{ticker}", headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ...
39.636364
250
0.714832
194
1,308
4.731959
0.5
0.035948
0.039216
0.055556
0.326797
0.305011
0.305011
0.305011
0.305011
0.305011
0
0.033043
0.120795
1,308
33
251
39.636364
0.765217
0
0
0
0
0.142857
0.419725
0
0
0
0
0
0
1
0.190476
false
0
0.333333
0.095238
0.714286
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
1
0
0
2
df6ab267b27cf156ebd687d010ea932b0b451fd7
1,520
py
Python
kfdata/tests/test_attribute.py
kylef-archive/KFData.py
685d58255c9f8518834e395d94d3b75d3dd3eceb
[ "BSD-3-Clause" ]
1
2015-11-08T13:23:39.000Z
2015-11-08T13:23:39.000Z
kfdata/tests/test_attribute.py
kylef/KFData.py
685d58255c9f8518834e395d94d3b75d3dd3eceb
[ "BSD-3-Clause" ]
null
null
null
kfdata/tests/test_attribute.py
kylef/KFData.py
685d58255c9f8518834e395d94d3b75d3dd3eceb
[ "BSD-3-Clause" ]
null
null
null
import unittest from kfdata.attributes import Attribute, NumberAttribute, BooleanAttribute class AttributeTests(unittest.TestCase): def setUp(self): self.attribute = Attribute(name='firstName', is_indexed=True, is_optional=False) def test_creation(self): self.assertEqual(self.attribute.name,...
35.348837
88
0.718421
167
1,520
6.407186
0.257485
0.133645
0.11215
0.072897
0.356075
0.185047
0.185047
0.185047
0.185047
0.185047
0
0.005582
0.175
1,520
42
89
36.190476
0.847687
0
0
0.064516
0
0
0.052008
0
0
0
0
0
0.419355
1
0.258065
false
0
0.064516
0
0.419355
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
1
0
0
0
0
0
0
0
2
df6fa3edddb6528b81a9ef12ac57b8e80546f328
1,454
py
Python
db.py
L1mPeX/Casino-Bot
b08be7be75854cc2e386906a9ef8ee3ab768ae78
[ "MIT" ]
2
2020-11-21T17:33:32.000Z
2021-08-17T16:52:57.000Z
db.py
L1mPeX/Casino-Bot
b08be7be75854cc2e386906a9ef8ee3ab768ae78
[ "MIT" ]
null
null
null
db.py
L1mPeX/Casino-Bot
b08be7be75854cc2e386906a9ef8ee3ab768ae78
[ "MIT" ]
null
null
null
#!/usr/bin/python3.6 import sqlite3 def make_connect(): conn = sqlite3.connect("bot.db") cursor = conn.cursor() return conn, cursor def create_tables(): conn, cursor = make_connect() try: cursor.execute("CREATE TABLE users(user_id INTEGER, bal FLOAT, count_games INTEGER, sum_games FLOAT, ref...
32.311111
178
0.658184
187
1,454
4.983957
0.294118
0.096567
0.154506
0.212446
0.47103
0.396996
0.396996
0.396996
0.124464
0.124464
0
0.00367
0.250344
1,454
44
179
33.045455
0.851376
0.013067
0
0.627907
0
0.046512
0.495816
0
0
0
0
0
0
1
0.046512
false
0.209302
0.023256
0
0.093023
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
1
0
0
0
0
0
2
df7edd38a1a100de662fe567b387d768f816c859
1,354
py
Python
tests/test_distgit/test_convert_source_url_to_https.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
tests/test_distgit/test_convert_source_url_to_https.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
tests/test_distgit/test_convert_source_url_to_https.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, print_function, unicode_literals import unittest from doozerlib import distgit class TestDistgitConvertSourceURLToHTTPS(unittest.TestCase): def test_conversion_from_ssh_source(self): source = "git@github.com:myorg/myproject.git" actual = distgit.convert_so...
31.488372
72
0.728951
159
1,354
5.867925
0.264151
0.068596
0.145766
0.14791
0.720257
0.720257
0.695606
0.607717
0.607717
0.607717
0
0
0.17356
1,354
42
73
32.238095
0.83378
0
0
0.423077
0
0
0.215657
0.025111
0
0
0
0
0.153846
1
0.153846
false
0
0.115385
0
0.307692
0.038462
0
0
0
null
0
0
0
0
1
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
2