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
59d1ef9ffd164e0401d456001968454f1625ebb9
5,112
py
Python
shiyanlou_cs364-b51b614ce8/python_captcha/crack.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
shiyanlou_cs364-b51b614ce8/python_captcha/crack.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
shiyanlou_cs364-b51b614ce8/python_captcha/crack.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
#_*_coding=UTF-8_*_ ''' # 1、打印颜色直方图 #_*_coding=UTF-8_*_ from PIL import Image im = Image.open("captcha.gif")#(将图片转换为8位像素模式) im.convert("P") print im.histogram()#打印颜色直方图 ''' ''' # 2、显示前10位像素的数量 #_*_coding=UTF-8_*_ from PIL import Image his = im.histogram()#打印颜色直方图 values = {} for i in range(256): values[i] =...
20.696356
190
0.562011
722
5,112
3.954294
0.199446
0.036778
0.025219
0.036427
0.589492
0.561821
0.550263
0.5331
0.5331
0.516988
0
0.043408
0.269953
5,112
246
191
20.780488
0.721597
0.020931
0
0.108108
0
0
0.039732
0
0
0
0
0
0
0
null
null
0
0.067568
null
null
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
59d52bac5f2fbfe75392ce688c4b62e1652801a8
802
py
Python
data/migrations/0105_experiment_state.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
5
2019-08-29T13:55:47.000Z
2021-11-15T08:30:33.000Z
data/migrations/0105_experiment_state.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
295
2019-08-19T12:40:29.000Z
2022-01-24T14:03:20.000Z
data/migrations/0105_experiment_state.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
7
2020-05-27T06:28:48.000Z
2021-11-17T10:00:54.000Z
# Generated by Django 3.1.1 on 2020-09-07 07:31 from django.db import migrations, models def populate_states(apps, schema_editor): Experiment = apps.get_model('data', 'Experiment') for experiment in Experiment.objects.all(): if experiment.approved: experiment.state = "Validé" e...
29.703704
174
0.633416
84
802
5.952381
0.642857
0.056
0.044
0.084
0
0
0
0
0
0
0
0.050654
0.236908
802
26
175
30.846154
0.76634
0.05611
0
0
1
0
0.197351
0.030464
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
59d692564430b169136f93f7b34d71037ea86167
1,302
py
Python
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Mass_Properties.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Mass_Properties.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Mass_Properties.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
## @ingroup Components # Mass_Properties.py # # Created: # Modified: Feb 2016, T. MacDonald # ---------------------------------------------------------------------- # Imports # ---------------------------------------------------------------------- from SUAVE.Core import Data import numpy as np # ---------------...
24.111111
94
0.389401
122
1,302
4.040984
0.401639
0.117647
0.146045
0.170385
0.184584
0.184584
0.184584
0.184584
0.170385
0.170385
0
0.042035
0.305684
1,302
54
94
24.111111
0.503319
0.462366
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
59e562d4bed77c69860451a566ebc0519a1b6804
3,588
py
Python
tests/main.py
jaeglee0416/pydatalab
ef1842571127708d494a05ee247b17bc28e33b63
[ "Apache-2.0" ]
null
null
null
tests/main.py
jaeglee0416/pydatalab
ef1842571127708d494a05ee247b17bc28e33b63
[ "Apache-2.0" ]
null
null
null
tests/main.py
jaeglee0416/pydatalab
ef1842571127708d494a05ee247b17bc28e33b63
[ "Apache-2.0" ]
1
2020-10-24T02:28:55.000Z
2020-10-24T02:28:55.000Z
# Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
33.222222
99
0.810479
478
3,588
5.817992
0.322176
0.138439
0.075153
0.06904
0.153901
0.05178
0
0
0
0
0
0.003521
0.12932
3,588
107
100
33.53271
0.886684
0.253344
0
0.024096
0
0
0.003009
0
0
0
0
0.009346
0
1
0
false
0
0.46988
0
0.46988
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ab6d53ca21171f45e85a1590e8dde0278661da36
3,733
py
Python
bobsled/tests/test_api.py
civic-eagle/bobsled
b9700f937a729713356d3532c34a6c1e847d2094
[ "MIT" ]
8
2019-10-30T18:41:52.000Z
2022-01-31T03:42:46.000Z
bobsled/tests/test_api.py
civic-eagle/bobsled
b9700f937a729713356d3532c34a6c1e847d2094
[ "MIT" ]
151
2019-07-31T19:14:19.000Z
2021-12-03T17:35:23.000Z
bobsled/tests/test_api.py
openstates/bobsled
1ff57eae2124c8eeb7cc04fc64cba1da18ed8493
[ "MIT" ]
1
2021-01-22T04:13:32.000Z
2021-01-22T04:13:32.000Z
from starlette.testclient import TestClient from ..web import app, bobsled from ..utils import hash_password from ..base import User, Run, Status def setup(): # have to get a working check_login, hack for MemoryStorage bobsled.storage.users["sample"] = User("sample", hash_password("password"), []) bobsled...
34.247706
88
0.587731
452
3,733
4.807522
0.267699
0.050621
0.018408
0.052462
0.440865
0.410953
0.410953
0.386562
0.386562
0.386562
0
0.053113
0.238414
3,733
108
89
34.564815
0.711221
0.06322
0
0.411765
0
0
0.266323
0.090493
0
0
0
0
0.152941
1
0.082353
false
0.105882
0.047059
0
0.129412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ab6d5ce4327eb08e42a9a59a20944975852619bf
433
py
Python
blockchain/migrations/0004_depositwallet_start_height.py
neonexchange/psp_template
c81fc831c1f31db00b29c4f016d073e66866f09b
[ "MIT" ]
5
2018-03-02T09:36:41.000Z
2018-05-09T15:12:53.000Z
blockchain/migrations/0004_depositwallet_start_height.py
neonexchange/psp_template
c81fc831c1f31db00b29c4f016d073e66866f09b
[ "MIT" ]
null
null
null
blockchain/migrations/0004_depositwallet_start_height.py
neonexchange/psp_template
c81fc831c1f31db00b29c4f016d073e66866f09b
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2018-01-20 03:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blockchain', '0003_auto_20180120_0344'), ] operations = [ migrations.AddField( model_name='depositwallet', name='start...
21.65
50
0.6097
44
433
5.863636
0.840909
0
0
0
0
0
0
0
0
0
0
0.100324
0.286374
433
19
51
22.789474
0.734628
0.099307
0
0
1
0
0.149485
0.059278
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab75aa78318a9e2762273640cf5cdc97c9e06333
7,246
py
Python
tests/genducers.py
StepanBakshayev/transducers-python
000624551d99b2a4a1dce2a62e7d014ebdf446e9
[ "Apache-2.0" ]
182
2015-01-04T08:35:14.000Z
2022-02-12T14:34:06.000Z
tests/genducers.py
StepanBakshayev/transducers-python
000624551d99b2a4a1dce2a62e7d014ebdf446e9
[ "Apache-2.0" ]
2
2016-07-29T18:43:00.000Z
2017-02-15T01:17:22.000Z
tests/genducers.py
StepanBakshayev/transducers-python
000624551d99b2a4a1dce2a62e7d014ebdf446e9
[ "Apache-2.0" ]
7
2015-11-23T14:09:45.000Z
2021-01-23T10:43:42.000Z
# Copyright 2014 Cognitect. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
32.061947
80
0.626691
986
7,246
4.591278
0.287018
0.048818
0.049481
0.046167
0.193506
0.164568
0.140711
0.083499
0.047493
0.047493
0
0.002754
0.298372
7,246
225
81
32.204444
0.887687
0.461082
0
0.57037
0
0
0
0
0
0
0
0.004444
0
1
0.266667
false
0
0.014815
0
0.42963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ab7608c12a6be7574922352bb9699c2ec919e2fb
639
py
Python
1110.py
wooooooogi/acmicpc
8dc40182685e93895c3fe7c09862cf2cb62f158a
[ "MIT" ]
null
null
null
1110.py
wooooooogi/acmicpc
8dc40182685e93895c3fe7c09862cf2cb62f158a
[ "MIT" ]
null
null
null
1110.py
wooooooogi/acmicpc
8dc40182685e93895c3fe7c09862cf2cb62f158a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Coded by Sungwook Kim # 2020-12-14 # IDE: Jupyter Notebook N = int(input()) def num(N): b = N while True: if b >= 10: b = b - 10 else: break return b k = -1 res = 0 trig = False while True: if trig == False: b = num(N) ...
17.27027
33
0.359937
92
639
2.5
0.391304
0.078261
0.052174
0.043478
0.13913
0.13913
0.13913
0.13913
0.13913
0.13913
0
0.07619
0.507042
639
37
34
17.27027
0.653968
0.128326
0
0.419355
0
0
0
0
0
0
0
0
0
1
0.032258
false
0
0
0
0.064516
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab7650c671dfdf865e54a61528ccc925206d182b
374
py
Python
Tokenizer.py
tamirco2003/Shunting-Yard
1de1b686155594beea83cb8c782381e03ac8a119
[ "MIT" ]
null
null
null
Tokenizer.py
tamirco2003/Shunting-Yard
1de1b686155594beea83cb8c782381e03ac8a119
[ "MIT" ]
null
null
null
Tokenizer.py
tamirco2003/Shunting-Yard
1de1b686155594beea83cb8c782381e03ac8a119
[ "MIT" ]
null
null
null
import re pattern = r"(?:\d+(?:\.\d+)?)|\+|\-|\*|\/|\^|\(|\)|[a-z]+" def to_float(s): try: return float(s) except ValueError: return s # Splits expression into strings and floats. def Tokenizer(expression): expression = expression.lower().replace(" ", "") matches = re.findall(pattern, expre...
23.375
58
0.612299
46
374
4.934783
0.630435
0.061674
0
0
0
0
0
0
0
0
0
0
0.181818
374
15
59
24.933333
0.74183
0.112299
0
0
0
0
0.139394
0.136364
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ab7ba148090b76ef43d9c75428ec32179f0ca9b2
942
py
Python
ml/sklearn/function_transformer.py
alexnakagawa/tools
b5e8c047293247c8781d44607968402f637e597e
[ "MIT" ]
null
null
null
ml/sklearn/function_transformer.py
alexnakagawa/tools
b5e8c047293247c8781d44607968402f637e597e
[ "MIT" ]
null
null
null
ml/sklearn/function_transformer.py
alexnakagawa/tools
b5e8c047293247c8781d44607968402f637e597e
[ "MIT" ]
null
null
null
''' This is an example of creating a FunctionTransformer that is friendly to scikit learn's fit() and transform() methods. Inspired from the "Machine Learning with the Experts: School Budgets" course on Datacamp.com Author: Alex Nakagawa ''' # Import FunctionTransformer from sklearn.preprocessing import FunctionTran...
32.482759
96
0.799363
138
942
5.246377
0.398551
0.099448
0.062155
0.062155
0.360497
0
0
0
0
0
0
0
0.115711
942
29
97
32.482759
0.869148
0.498938
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ab8611e4b01a71ab20f3dc018f479dbb8a380a9b
358
py
Python
Code/pkg/datasets/ptacek/processed_data/trim.py
mollha/Sarcasm-Detection
cd7213af4f092ca3f3d9e4726c3db5813ae4ef01
[ "MIT" ]
null
null
null
Code/pkg/datasets/ptacek/processed_data/trim.py
mollha/Sarcasm-Detection
cd7213af4f092ca3f3d9e4726c3db5813ae4ef01
[ "MIT" ]
null
null
null
Code/pkg/datasets/ptacek/processed_data/trim.py
mollha/Sarcasm-Detection
cd7213af4f092ca3f3d9e4726c3db5813ae4ef01
[ "MIT" ]
1
2021-12-16T10:25:02.000Z
2021-12-16T10:25:02.000Z
import pandas as pd data = pd.read_csv("OriginalData.csv", encoding="ISO-8859-1") # [:set_size] p = data[data['sarcasm_label'] == 1][:8704] n = data[data['sarcasm_label'] == 0][:8576] print(len(p)) print(len(n)) data_frame = pd.concat([p, n], axis=0) data_frame.to_csv(path_or_buf='OriginalData2.csv', index=False, ...
29.833333
102
0.689944
60
358
3.933333
0.583333
0.152542
0.127119
0.169492
0
0
0
0
0
0
0
0.052632
0.097765
358
12
102
29.833333
0.678019
0.030726
0
0
0
0
0.263006
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab88ab4e031f3b1d7a10d64b5e386173372e1ff6
5,514
py
Python
stem/migrations/0001_initial.py
bartwojcik/easygoing
eb8c5ab41bb18e4c605d7225ef142964dc765730
[ "MIT" ]
null
null
null
stem/migrations/0001_initial.py
bartwojcik/easygoing
eb8c5ab41bb18e4c605d7225ef142964dc765730
[ "MIT" ]
1
2020-06-05T17:41:45.000Z
2020-06-05T17:41:45.000Z
stem/migrations/0001_initial.py
bartwojcik/easygoing
eb8c5ab41bb18e4c605d7225ef142964dc765730
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-20 19:21 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import stem.models class Migration(migrations.Migration): initial = True dependencies =...
55.69697
154
0.606638
573
5,514
5.65445
0.260035
0.132407
0.021605
0.033951
0.459259
0.417901
0.4
0.345679
0.345679
0.345679
0
0.011108
0.249003
5,514
98
155
56.265306
0.771311
0.012332
0
0.3
1
0
0.172883
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab8be80fdbd994817cd10763c954cd9070e72427
5,153
py
Python
clnch_misc.py
Tonhoko/clnch
43c679038020b7321e861333825b9716300161e2
[ "bzip2-1.0.6" ]
30
2015-02-22T13:30:48.000Z
2021-11-05T04:04:42.000Z
clnch_misc.py
Tonhoko/clnch
43c679038020b7321e861333825b9716300161e2
[ "bzip2-1.0.6" ]
17
2017-08-10T17:42:03.000Z
2021-01-24T17:06:51.000Z
clnch_misc.py
Tonhoko/clnch
43c679038020b7321e861333825b9716300161e2
[ "bzip2-1.0.6" ]
8
2016-06-15T09:20:55.000Z
2022-01-16T10:26:08.000Z
import sys import os import shutil import datetime import ctypes import pyauto import ckit import clnch_resource from ckit.ckit_const import * ## @addtogroup misc その他雑多な機能 ## @{ #-------------------------------------------------------------------- ignore_1second = True #------------------------------------------...
27.55615
126
0.490588
557
5,153
4.319569
0.267504
0.048628
0.037822
0.023275
0.17872
0.164589
0.164589
0.128845
0.118038
0.118038
0
0.041782
0.298661
5,153
186
127
27.704301
0.623686
0.112556
0
0.248
0
0
0.018653
0
0.008
0
0
0
0
0
null
null
0.016
0.072
null
null
0.008
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ab92ca60f9e8ed20946410329dda9e6f70770acb
1,288
py
Python
iRODS/scripts/python/terminate_irods_processes.py
iychoi/cyverse-irods
0070b8677a82e763f1d940ae6537b1c8839a628a
[ "BSD-3-Clause" ]
null
null
null
iRODS/scripts/python/terminate_irods_processes.py
iychoi/cyverse-irods
0070b8677a82e763f1d940ae6537b1c8839a628a
[ "BSD-3-Clause" ]
6
2019-12-02T18:17:44.000Z
2019-12-02T18:17:57.000Z
iRODS/scripts/python/terminate_irods_processes.py
benlazarine/cyverse-irods
2bf9cfae4c3a1062ffe2af92b1f086ddc5fce025
[ "BSD-3-Clause" ]
1
2019-12-02T05:40:13.000Z
2019-12-02T05:40:13.000Z
import os import psutil # This script finds iRODS processes owned by the current user, # confirms their full_path against this installation of iRODS, # checks their executing state, then pauses and kills each one. def get_pids_executing_binary_file(binary_file_path): def get_exe(process): if psutil.versio...
33.894737
113
0.629658
161
1,288
4.819876
0.434783
0.054124
0.06701
0.07732
0.262887
0.195876
0.074742
0.074742
0.074742
0.074742
0
0.002123
0.268634
1,288
37
114
34.810811
0.821656
0.142081
0
0.2
0
0
0.066303
0
0
0
0
0
0
1
0.1
false
0.066667
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ab94c875ff38cf135d4bf06042192274f2aeb3f7
4,179
py
Python
EmpService.py
sammetaphani/Python-utilities
ec3b51f6ff6424d2cc60fd4185dd6a3a4044a6fe
[ "MIT" ]
null
null
null
EmpService.py
sammetaphani/Python-utilities
ec3b51f6ff6424d2cc60fd4185dd6a3a4044a6fe
[ "MIT" ]
null
null
null
EmpService.py
sammetaphani/Python-utilities
ec3b51f6ff6424d2cc60fd4185dd6a3a4044a6fe
[ "MIT" ]
null
null
null
''' This is a simple service class which accepts http requests and return data based on the request in JSON format. Services - 1./emp - return all rows of the csv file as a JSON array. 2./emp/column/{csv column name} It return all values of a csv column. E.g./emp/column/City will return all Cities like "Seat...
39.8
166
0.735104
552
4,179
5.552536
0.36413
0.068516
0.02447
0.032626
0.073409
0.051223
0.030016
0
0
0
0
0.017584
0.169897
4,179
105
167
39.8
0.865956
0.120364
0
0.0875
0
0
0.05011
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
aba4380ed7f6b1de19f10e9b890d4c63cdcfd6af
256
py
Python
apps/auth/__init__.py
0x90E/PyWDI
d3742927478f57a4ef6ec7bf031f7d21ef68e678
[ "MIT" ]
null
null
null
apps/auth/__init__.py
0x90E/PyWDI
d3742927478f57a4ef6ec7bf031f7d21ef68e678
[ "MIT" ]
null
null
null
apps/auth/__init__.py
0x90E/PyWDI
d3742927478f57a4ef6ec7bf031f7d21ef68e678
[ "MIT" ]
null
null
null
from flask import Blueprint from flask_restful import Api from .route import init_route def init_app(app): api_bp = Blueprint('api_auth', __name__, url_prefix="/api/auth") api = Api(api_bp) init_route(api) app.register_blueprint(api_bp)
21.333333
68
0.738281
40
256
4.375
0.4
0.085714
0
0
0
0
0
0
0
0
0
0
0.167969
256
11
69
23.272727
0.821596
0
0
0
0
0
0.066406
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
abacaa22bc08f8edef1ea20f0456da92ffca28ab
534
py
Python
app/schemas.py
wmcgee3/garden-brew-backend
37972b8335deb88b7ab9683fdccd0fc3d0e310c6
[ "MIT" ]
null
null
null
app/schemas.py
wmcgee3/garden-brew-backend
37972b8335deb88b7ab9683fdccd0fc3d0e310c6
[ "MIT" ]
null
null
null
app/schemas.py
wmcgee3/garden-brew-backend
37972b8335deb88b7ab9683fdccd0fc3d0e310c6
[ "MIT" ]
null
null
null
from typing import List, Literal from pydantic import BaseModel, Field, constr class LinkModel(BaseModel): rel: str href: constr(regex="^/.*$") # type: ignore method: Literal[ "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "T...
16.6875
55
0.571161
50
534
6.08
0.7
0
0
0
0
0
0
0
0
0
0
0
0.292135
534
31
56
17.225806
0.804233
0.022472
0
0
0
0
0.105769
0
0
0
0
0
0
1
0
true
0.045455
0.090909
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
abaceca5804ca5f65cb3a92a7b79d6df4772fc66
428
py
Python
python_kivy_app/conex.py
killdary/flisol_internet_of_things
846f8839c9b20baf779984100cf8d47742ce973d
[ "MIT" ]
null
null
null
python_kivy_app/conex.py
killdary/flisol_internet_of_things
846f8839c9b20baf779984100cf8d47742ce973d
[ "MIT" ]
null
null
null
python_kivy_app/conex.py
killdary/flisol_internet_of_things
846f8839c9b20baf779984100cf8d47742ce973d
[ "MIT" ]
null
null
null
import socket class Conexao: def __init__(self, ip, porta): self.ip = ip self.porta =porta self.tcp = socket.socket(socket.AF_INET, socket.SOCK_STREAM) dest=((self.ip,self.porta)) self.tcp.connect(dest) def enviar(self,msg): self.tcp.sendall(msg) def recebe...
21.4
68
0.591121
58
428
4.258621
0.431034
0.1417
0.089069
0.11336
0
0
0
0
0
0
0
0.013072
0.285047
428
19
69
22.526316
0.794118
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
abaeba1fa57a9372ae051bf9c882a2d48b88c165
1,974
py
Python
tests/pyposmat/engines/PyposmatIterativeSampler/test__buck__MgO/test__determine_rv_seeds.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
tests/pyposmat/engines/PyposmatIterativeSampler/test__buck__MgO/test__determine_rv_seeds.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
tests/pyposmat/engines/PyposmatIterativeSampler/test__buck__MgO/test__determine_rv_seeds.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
import pytest import os,shutil,sys import numpy as np from mpi4py import MPI from pypospack.pyposmat.data import PyposmatConfigurationFile from pypospack.pyposmat.engines import PyposmatIterativeSampler pyposmat_data_dir = 'data' config_fn = os.path.join(pyposmat_data_dir,'pyposmat.config.in') def test__determine_...
35.25
79
0.784701
278
1,974
5.161871
0.258993
0.245296
0.154007
0.10662
0.644599
0.545645
0.395122
0.395122
0.395122
0.395122
0
0.003521
0.136778
1,974
55
80
35.890909
0.838615
0.026849
0
0.414634
0
0
0.039083
0.022408
0
0
0
0
0.243902
1
0.073171
false
0
0.146341
0
0.219512
0.097561
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abbe779ae8142821b82b7674313c8eae07955afc
4,437
py
Python
poplerGUI/class_modelviewpandas.py
bibsian/lter
5e5ac08b62e031ddabad490cc59db4a945ea20f6
[ "MIT" ]
5
2016-05-02T22:56:01.000Z
2016-08-18T23:03:05.000Z
poplerGUI/class_modelviewpandas.py
bibsian/lter
5e5ac08b62e031ddabad490cc59db4a945ea20f6
[ "MIT" ]
11
2016-08-03T20:39:42.000Z
2016-10-18T22:03:38.000Z
poplerGUI/class_modelviewpandas.py
bibsian/database-development
5e5ac08b62e031ddabad490cc59db4a945ea20f6
[ "MIT" ]
null
null
null
#! /usr/bin/env python # 'http://stackoverflow.com/questions/31588584/ # pyqt-qtableview-prohibitibily-slow-when-scrolling-with-large-data-sets # /31591015#31591015' # TreeGraphModel modeified from: # http://www.yasinuludag.com/blog/?p=98 from PyQt4 import QtCore import numpy as np import pandas as pd class ...
34.395349
73
0.594546
523
4,437
4.917782
0.250478
0.059098
0.037325
0.038103
0.681182
0.681182
0.670684
0.670684
0.670684
0.670684
0
0.008826
0.31057
4,437
128
74
34.664063
0.831971
0.167681
0
0.662791
0
0
0.011448
0
0
0
0
0
0
1
0.174419
false
0.023256
0.034884
0.069767
0.44186
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abc2c58f5bda3bd25612335a74d7ce58b1454132
9,316
py
Python
src/mathstuff/fitting/fit_gui.py
cversek/python-mathstuff
97d5273978b91648bbbe9c0da3854dd2f2af9ed8
[ "MIT" ]
null
null
null
src/mathstuff/fitting/fit_gui.py
cversek/python-mathstuff
97d5273978b91648bbbe9c0da3854dd2f2af9ed8
[ "MIT" ]
null
null
null
src/mathstuff/fitting/fit_gui.py
cversek/python-mathstuff
97d5273978b91648bbbe9c0da3854dd2f2af9ed8
[ "MIT" ]
null
null
null
############################################################################### import time import numpy, pylab from enthought.traits.api import HasTraits, on_trait_change, Trait, Instance, \ Str, Int, Float, Bool, Tuple, List, Dict, \ Set, Undefined...
35.830769
181
0.454594
1,035
9,316
3.92657
0.256039
0.026575
0.005906
0.007382
0.20497
0.124508
0.110236
0.110236
0.110236
0.104823
0
0.030758
0.385788
9,316
259
182
35.969112
0.679483
0.18903
0
0.163265
0
0
0.043088
0
0
0
0
0.003861
0
0
null
null
0
0.081633
null
null
0.034014
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
abc636b682a735af787d32c7b708fa577225fab0
650
py
Python
Regionals/F/submissions/accepted/furthest_db.py
SouthPacificProgrammingContests/ICPC18
d91dca96a91b869f3922eb0c57b086919abe1b3f
[ "MIT" ]
null
null
null
Regionals/F/submissions/accepted/furthest_db.py
SouthPacificProgrammingContests/ICPC18
d91dca96a91b869f3922eb0c57b086919abe1b3f
[ "MIT" ]
null
null
null
Regionals/F/submissions/accepted/furthest_db.py
SouthPacificProgrammingContests/ICPC18
d91dca96a91b869f3922eb0c57b086919abe1b3f
[ "MIT" ]
null
null
null
[n, budget] = [int(x) for x in input().split()] pow2 = [ [ [int(x) for x in input().split() ] for _ in range(n) ] ] power = 0 while True: power += 1 pow2.append( [ [ min(budget+1, min(pow2[power-1][i][k] + pow2[power-1][k][j] for k in range(n))) for j in range(n)] for i in range(n)] ) if min(pow2[power][0]) > budg...
28.26087
137
0.58
134
650
2.783582
0.231343
0.187668
0.193029
0.147453
0.337802
0.337802
0.337802
0.230563
0.230563
0.230563
0
0.042471
0.203077
650
22
138
29.545455
0.677606
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abcc4f9e2e48b0e805eaf5b133f85909178be1f7
329
py
Python
procrastinate/contrib/django/migrations/0010_add_procrastinate_periodic_defers.py
elemoine/procrastinate
3642f13fad9e16513153c537035a3278ba436280
[ "MIT" ]
null
null
null
procrastinate/contrib/django/migrations/0010_add_procrastinate_periodic_defers.py
elemoine/procrastinate
3642f13fad9e16513153c537035a3278ba436280
[ "MIT" ]
null
null
null
procrastinate/contrib/django/migrations/0010_add_procrastinate_periodic_defers.py
elemoine/procrastinate
3642f13fad9e16513153c537035a3278ba436280
[ "MIT" ]
null
null
null
from django.db import migrations from procrastinate.schema import get_sql class Migration(migrations.Migration): dependencies = [("procrastinate", "0009_add_defer_job_function")] operations = [ migrations.RunSQL( get_sql("delta_0.11.0_003_add_procrastinate_periodic_defers.sql") ...
21.933333
77
0.708207
37
329
5.972973
0.675676
0.054299
0
0
0
0
0
0
0
0
0
0.041825
0.200608
329
14
78
23.5
0.798479
0
0
0
0
0
0.285714
0.246201
0
0
0
0
0
1
0
false
0
0.222222
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
0
0
1
0
0
1
abd990c9d1a5f46226ead18b181ad8053f7db184
3,442
py
Python
hetest/python/common/simple_condition.py
y4n9squared/HEtest
264459a8fa1480c7b65d946f88d94af1a038fbf1
[ "BSD-2-Clause" ]
6
2017-12-05T14:46:47.000Z
2021-08-09T07:23:44.000Z
hetest/python/common/simple_condition.py
CianLevy/Modified-HEtest
4f4422bba48f269e953ca0d3863f774f66ba2247
[ "BSD-2-Clause" ]
1
2018-02-22T14:55:07.000Z
2018-02-22T14:55:07.000Z
hetest/python/common/simple_condition.py
CianLevy/Modified-HEtest
4f4422bba48f269e953ca0d3863f774f66ba2247
[ "BSD-2-Clause" ]
2
2018-02-19T20:58:58.000Z
2021-06-23T05:38:53.000Z
# ***************************************************************** # Copyright (c) 2013 Massachusetts Institute of Technology # # Developed exclusively at US Government expense under US Air Force contract # FA8721-05-C-002. The rights of the United States Government to use, modify, # reproduce, release, perform, displ...
36.617021
78
0.611273
423
3,442
4.820331
0.470449
0.043158
0.035311
0.026484
0.032369
0
0
0
0
0
0
0.010438
0.276293
3,442
93
79
37.010753
0.808109
0.689425
0
0.296296
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.037037
0.037037
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
abdc371b1e07265c9ac584e5a2938a3ca40e4872
1,737
py
Python
test/generate_test_tree.py
benjaminfang/fbio
cb033df257682f41919a99202340d846a2ee9f5d
[ "MIT" ]
4
2019-01-31T07:41:41.000Z
2019-07-03T01:09:04.000Z
test/generate_test_tree.py
benjaminfang/biolib
660ee48205509522e0fbbde287a4456bcd94e448
[ "MIT" ]
null
null
null
test/generate_test_tree.py
benjaminfang/biolib
660ee48205509522e0fbbde287a4456bcd94e448
[ "MIT" ]
null
null
null
import ete3 def gen_test_tree(): a = ete3.TreeNode() a.name = 'root' a.dist = 0 b = ete3.TreeNode() b.name = 'b' b.dist = 2 c = ete3.TreeNode() c.name = 'c' c.dist = 1 a.add_child(b) a.add_child(c) d = ete3.TreeNode() d.name = 'd' d.dist = 2 e = ete3.Tre...
14.008065
38
0.484744
292
1,737
2.797945
0.136986
0.308446
0.026928
0
0
0
0
0
0
0
0
0.037852
0.345999
1,737
123
39
14.121951
0.681338
0.031088
0
0
0
0
0.014286
0
0
0
0
0
0
1
0.011494
false
0
0.011494
0
0.034483
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abde08b83ef36f70a48f3c8873676f9e0e27ec18
3,824
py
Python
scripts/extract_prophages.py
linsalrob/PhiSpy
2f62aeb0553ef5d4f86ede55c72a53a047d5fd59
[ "MIT" ]
36
2018-02-21T03:05:22.000Z
2022-02-10T11:50:15.000Z
scripts/extract_prophages.py
linsalrob/PhiSpy
2f62aeb0553ef5d4f86ede55c72a53a047d5fd59
[ "MIT" ]
45
2016-07-08T19:28:01.000Z
2022-03-28T13:33:57.000Z
scripts/extract_prophages.py
linsalrob/PhiSpy
2f62aeb0553ef5d4f86ede55c72a53a047d5fd59
[ "MIT" ]
23
2017-01-08T21:35:10.000Z
2022-01-27T07:09:45.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- import os import io import sys import re import argparse import textwrap from argparse import RawTextHelpFormatter def is_valid_file(x): if not os.path.exists(x): raise argparse.ArgumentTypeError("{0} does not exist".format(x)) return x def main(args): with open(args.i...
35.738318
148
0.631015
559
3,824
4.254025
0.230769
0.138772
0.170311
0.18587
0.389403
0.351976
0.313288
0.216989
0.179142
0.179142
0
0.008347
0.185408
3,824
106
149
36.075472
0.755056
0.048379
0
0.311828
0
0
0.075145
0
0
0
0
0
0
1
0.021505
false
0
0.075269
0
0.107527
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abde883c0db6e8331ad1a7d9e2850d1bf28d747d
2,806
py
Python
tests/querystring_test.py
refinery29/py-querystring
835f2b0a3a06fec22484ee1bc2be2bc1bc6ebab1
[ "Unlicense" ]
2
2015-03-13T19:47:48.000Z
2015-03-13T19:48:59.000Z
tests/querystring_test.py
refinery29/py-querystring
835f2b0a3a06fec22484ee1bc2be2bc1bc6ebab1
[ "Unlicense" ]
null
null
null
tests/querystring_test.py
refinery29/py-querystring
835f2b0a3a06fec22484ee1bc2be2bc1bc6ebab1
[ "Unlicense" ]
null
null
null
# encoding: utf-8 """ Copyright Refinery29, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
35.974359
76
0.690663
410
2,806
4.541463
0.35122
0.059076
0.038668
0.040279
0.341568
0.213212
0.138024
0.058002
0.058002
0.058002
0
0.002687
0.204205
2,806
77
77
36.441558
0.831169
0.380257
0
0.058824
0
0
0.059503
0.030618
0
0
0
0
0.176471
1
0.205882
false
0
0.088235
0
0.323529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
abe40b4b7959577b3ab96ca762b59f40687701d0
280
py
Python
config.py
douban/graph-index
cc60ac25edf167efb768ee9b93eaf4b9523671e5
[ "MIT" ]
88
2015-01-05T03:41:05.000Z
2021-11-16T12:40:40.000Z
config.py
huoxy/graph-index
cc60ac25edf167efb768ee9b93eaf4b9523671e5
[ "MIT" ]
2
2015-10-19T09:40:00.000Z
2017-04-18T02:57:36.000Z
config.py
Buliqioqiolibusdo/graph-index
cc60ac25edf167efb768ee9b93eaf4b9523671e5
[ "MIT" ]
27
2015-03-06T06:51:03.000Z
2021-07-02T17:27:36.000Z
graphite_url = 'http://graphite.intra.douban.com' graphite_index_url = graphite_url + '/metrics/index.json' metrics_file = 'metrics.json' diamond_cache = 'diamond.cache' debug = False listen_host = '0.0.0.0' listen_port = 8808 try: from local_config import * except: pass
23.333333
57
0.739286
41
280
4.829268
0.634146
0.030303
0.030303
0
0
0
0
0
0
0
0
0.033058
0.135714
280
11
58
25.454545
0.785124
0
0
0
0
0
0.296429
0
0
0
0
0
0
1
0
false
0.090909
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
abea6169a7ac8f1b22e3e3aa2f14b14f7fc15f0a
1,842
py
Python
conan/tools/gnu/autotools.py
FederAndInk/conan
1ba594cc8597093d6c2e60eaf7d393890548eb5f
[ "MIT" ]
null
null
null
conan/tools/gnu/autotools.py
FederAndInk/conan
1ba594cc8597093d6c2e60eaf7d393890548eb5f
[ "MIT" ]
null
null
null
conan/tools/gnu/autotools.py
FederAndInk/conan
1ba594cc8597093d6c2e60eaf7d393890548eb5f
[ "MIT" ]
null
null
null
import json import os from conan.tools import CONAN_TOOLCHAIN_ARGS_FILE from conan.tools._compilers import use_win_mingw from conan.tools.gnu.make import make_jobs_cmd_line_arg from conans.client.build import join_arguments from conans.util.files import load class Autotools(object): def __init__(self, conanfile...
36.117647
95
0.672638
244
1,842
4.82377
0.385246
0.121495
0.035684
0.037383
0.071368
0
0
0
0
0
0
0.006974
0.221498
1,842
50
96
36.84
0.813808
0.114007
0
0.057143
0
0
0.065625
0.01375
0
0
0
0.02
0
1
0.114286
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
abeca6a83478111b7cc7e44820ec5c22ed6d80c7
2,535
py
Python
papertrading/models.py
Vido/voxdocu
912f2e012af5280467fb9d83641f206e9d921145
[ "Apache-2.0" ]
7
2020-12-08T17:06:51.000Z
2022-01-11T19:35:10.000Z
papertrading/models.py
Vido/zecontinha
912f2e012af5280467fb9d83641f206e9d921145
[ "Apache-2.0" ]
2
2020-06-05T19:38:58.000Z
2020-06-13T02:30:31.000Z
papertrading/models.py
Vido/voxdocu
912f2e012af5280467fb9d83641f206e9d921145
[ "Apache-2.0" ]
6
2020-12-08T19:35:10.000Z
2021-11-19T19:22:33.000Z
from django.db import models from django.contrib.auth import get_user_model from django.contrib.postgres.fields import JSONField, ArrayField from dashboard.models import MARKET_CHOICES, Quotes from dashboard.forms import PERIODO_CHOICE class Trade(models.Model): user = models.ForeignKey(get_user_model(), ...
33.8
81
0.662722
368
2,535
4.36413
0.258152
0.049813
0.02802
0.042341
0.311955
0.263387
0.201743
0.201743
0.201743
0.201743
0
0.00611
0.225247
2,535
74
82
34.256757
0.811609
0.05286
0
0.156863
0
0
0.016863
0
0
0
0
0
0
1
0.117647
false
0
0.098039
0.039216
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
abf8585a9478360eaaf56904e0c0c71356dac517
5,539
py
Python
src/c01_understanding_functional_programming.py
jashburn8020/functional-python-programming
34dab481e48f5e95f2d4f5400156f13b232aef25
[ "Apache-2.0" ]
null
null
null
src/c01_understanding_functional_programming.py
jashburn8020/functional-python-programming
34dab481e48f5e95f2d4f5400156f13b232aef25
[ "Apache-2.0" ]
null
null
null
src/c01_understanding_functional_programming.py
jashburn8020/functional-python-programming
34dab481e48f5e95f2d4f5400156f13b232aef25
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env pytest-3 """ Understanding Functional Programming Functional programming defines a computation using expressions and evaluation; often these are encapsulated in function definitions. It de-emphasizes or avoids the complexity of state change and mutable objects. In an imperative language, such as Python...
43.273438
100
0.724318
886
5,539
4.496614
0.311512
0.016315
0.016064
0.011295
0.171436
0.080823
0.073293
0.0251
0.0251
0.014558
0
0.017082
0.217909
5,539
127
101
43.614173
0.902124
0.765481
0
0
0
0
0
0
0
0
0
0
0.24
1
0.28
false
0
0
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
abfc9223ebf066abc502c99c246b8775deaf04de
3,967
py
Python
uorg/routes/api/auth/register.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
2
2021-02-02T17:42:58.000Z
2021-02-02T17:55:15.000Z
uorg/routes/api/auth/register.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
5
2021-01-31T17:35:25.000Z
2021-02-02T17:58:41.000Z
uorg/routes/api/auth/register.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
null
null
null
import logging from datetime import datetime from flask import Blueprint from flask import request from itsdangerous import BadSignature from itsdangerous import SignatureExpired from uorg.models.user import User from uorg.static import FRONTEND_EMAIL_CONFIRMATION_URL from uorg.utils.confirm_token import confirm_toke...
37.780952
108
0.690446
490
3,967
5.428571
0.234694
0.027068
0.029323
0.031579
0.43797
0.354135
0.251128
0.251128
0.251128
0.216541
0
0.001282
0.213764
3,967
104
109
38.144231
0.851555
0
0
0.352273
0
0
0.285102
0.005294
0
0
0
0
0
1
0.034091
false
0.056818
0.170455
0
0.238636
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2801d271f6e950429c0cba3dd24afd991cedc6d8
1,484
py
Python
studies/migrations/0045_add_compensation_description.py
rhodricusack/lookit-api
6591bda6d5e408223a0428fa7da6fd86d4c01386
[ "MIT" ]
9
2018-06-26T17:15:27.000Z
2021-11-21T17:19:01.000Z
studies/migrations/0045_add_compensation_description.py
rhodricusack/lookit-api
6591bda6d5e408223a0428fa7da6fd86d4c01386
[ "MIT" ]
496
2018-02-19T19:18:24.000Z
2022-03-31T17:01:16.000Z
studies/migrations/0045_add_compensation_description.py
rhodricusack/lookit-api
6591bda6d5e408223a0428fa7da6fd86d4c01386
[ "MIT" ]
16
2018-07-06T23:35:39.000Z
2021-11-21T17:52:58.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-04 19:45 from __future__ import unicode_literals from django.db import migrations, models import project.fields.datetime_aware_jsonfield class Migration(migrations.Migration): dependencies = [("studies", "0044_unified_ember_app")] operations...
30.285714
100
0.491914
115
1,484
6.13913
0.678261
0.038244
0.05949
0.073654
0.09915
0
0
0
0
0
0
0.028058
0.399596
1,484
48
101
30.916667
0.76431
0.046496
0
0.175
1
0
0.19051
0.04745
0
0
0
0
0
1
0
false
0
0.075
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f9f9dde4ca00c20351cdd715a727db251204987b
968
py
Python
network/migrations/0012_auto_20200826_1703.py
jimthethief/network
313f66b847ca6a02f342634b9118bf7412fd9d92
[ "MIT" ]
null
null
null
network/migrations/0012_auto_20200826_1703.py
jimthethief/network
313f66b847ca6a02f342634b9118bf7412fd9d92
[ "MIT" ]
null
null
null
network/migrations/0012_auto_20200826_1703.py
jimthethief/network
313f66b847ca6a02f342634b9118bf7412fd9d92
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-08-26 17:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('network', '0011_auto_20200821_1458'), ] operations = [ migrations.AlterFie...
31.225806
132
0.636364
108
968
5.555556
0.462963
0.053333
0.07
0.11
0.43
0.353333
0.23
0.23
0.23
0.23
0
0.042408
0.244835
968
30
133
32.266667
0.778386
0.046488
0
0.333333
1
0
0.103149
0.024973
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6010f4b103a4a029ce95a926426527d1e33b688
7,004
py
Python
toolkit/cmds/report_domain_token_status.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
22
2015-01-22T12:10:50.000Z
2021-10-12T03:30:56.000Z
toolkit/cmds/report_domain_token_status.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
null
null
null
toolkit/cmds/report_domain_token_status.py
suraj-testing2/Flowers_Toilet
21c981531a505a8b74ee42c33a3f4d68ef72d7f3
[ "Apache-2.0" ]
17
2016-01-28T04:54:39.000Z
2021-10-12T03:30:49.000Z
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
41.2
80
0.68418
879
7,004
5.245734
0.265074
0.03123
0.019519
0.027326
0.415311
0.348948
0.324442
0.294079
0.294079
0.259813
0
0.004252
0.227727
7,004
169
81
41.443787
0.848216
0.12293
0
0.303922
0
0
0.102037
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.04902
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e60d0d8da9e9f18146a8a632d18cb8791a9615fe
334
py
Python
schedule/migrations/0002_delete_lessons.py
Qvineox/School148
98fcd960aa874a75dd5c3b457546a500580086fd
[ "MIT" ]
2
2020-10-27T14:50:42.000Z
2020-10-27T14:50:47.000Z
schedule/migrations/0002_delete_lessons.py
Qvineox/School148
98fcd960aa874a75dd5c3b457546a500580086fd
[ "MIT" ]
null
null
null
schedule/migrations/0002_delete_lessons.py
Qvineox/School148
98fcd960aa874a75dd5c3b457546a500580086fd
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-10-28 13:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('journal', '0006_auto_20201028_1616'), ('schedule', '0001_initial'), ] operations = [ migrations.DeleteModel( name='Lessons', ...
18.555556
47
0.595808
35
334
5.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.145833
0.281437
334
17
48
19.647059
0.666667
0.134731
0
0
1
0
0.198606
0.080139
0
0
0
0
0
1
0
false
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e611012037d282ba9fee85cda86306f4982293b8
4,264
py
Python
Peptides_against_Malaria/1_Preprocessing_and_scoring/preprocessing_functions.py
TheReconPilot/IISER-Pune-India
981bb78034c9f87864f7a5dfadee18f69577fced
[ "MIT" ]
3
2020-07-06T15:55:30.000Z
2020-12-07T09:52:03.000Z
Peptides_against_Malaria/1_Preprocessing_and_scoring/preprocessing_functions.py
kirubes27/IISER-Pune-India
981bb78034c9f87864f7a5dfadee18f69577fced
[ "MIT" ]
5
2020-10-18T13:34:30.000Z
2022-02-10T02:27:07.000Z
Peptides_against_Malaria/1_Preprocessing_and_scoring/preprocessing_functions.py
kirubes27/IISER-Pune-India
981bb78034c9f87864f7a5dfadee18f69577fced
[ "MIT" ]
4
2020-10-07T14:41:51.000Z
2020-12-07T09:56:40.000Z
''' author : Anantha S Rao date : 18 Oct, 2020 organisation : iGEM IISER Pune ''' import os import subprocess import time import pandas as pd #from chimera import runCommand as rc # The above line can be uncommented when running sturated_mutagenesis() on UCSF Chimera def saturated_mutagenesis(model_no,chain_nam...
37.078261
156
0.7106
663
4,264
4.461538
0.357466
0.018932
0.010142
0.01217
0.066261
0.025693
0.025693
0.025693
0
0
0
0.006197
0.205206
4,264
114
157
37.403509
0.866627
0.054174
0
0.052632
0
0
0.136113
0.044145
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e6111d22f1c55ba7d883ecbc6d52b31053f3ffcb
1,695
py
Python
hackdayproject/main/forms.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
1
2019-11-15T05:03:54.000Z
2019-11-15T05:03:54.000Z
hackdayproject/main/forms.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
null
null
null
hackdayproject/main/forms.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
null
null
null
import unicodedata from django import forms from django.utils.translation import ugettext, ugettext_lazy as _ from django.contrib.auth.forms \ import PasswordChangeForm, AuthenticationForm class MyPasswordChangeForm(PasswordChangeForm): old_password = forms.CharField( label=_("이전 비밀번호"), widge...
27.786885
70
0.585841
145
1,695
6.758621
0.386207
0.071429
0.081633
0.137755
0.25102
0.202041
0.202041
0.202041
0.202041
0.136735
0
0.001663
0.290265
1,695
60
71
28.25
0.812968
0
0
0.264151
0
0
0.185251
0
0
0
0
0
0
1
0.037736
false
0.301887
0.075472
0.037736
0.301887
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e613fc4f822bce4854f1b35ac1b2ce2f8531cfbe
312
py
Python
web5.py
Sanjay2000/imbd-scraper
32d24fa061321c4c1d37778a14307a8cacca162e
[ "Apache-2.0" ]
null
null
null
web5.py
Sanjay2000/imbd-scraper
32d24fa061321c4c1d37778a14307a8cacca162e
[ "Apache-2.0" ]
null
null
null
web5.py
Sanjay2000/imbd-scraper
32d24fa061321c4c1d37778a14307a8cacca162e
[ "Apache-2.0" ]
null
null
null
from pprint import pprint from web1 import scrape_top_list from web4 import get_movie_list_details def movie_detail_list(): list1=[] top_movies = scrape_top_list() for i in top_movies: link=(i["url"]) data=get_movie_list_details(link) list1.append(data) return (list1) pprint(movie_detail_list())
18.352941
39
0.769231
50
312
4.48
0.46
0.080357
0.116071
0.169643
0
0
0
0
0
0
0
0.018587
0.137821
312
16
40
19.5
0.814126
0
0
0
0
0
0.009709
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6205d95c8b0da3543a90166532ed5ca9455e23c
3,246
py
Python
flashcards/utils/string_processing.py
Maxence-Labesse/Flashcard-Interval-Learning
bb82cbcbbf5c6f49810c72b11b4d47403007d853
[ "MIT" ]
null
null
null
flashcards/utils/string_processing.py
Maxence-Labesse/Flashcard-Interval-Learning
bb82cbcbbf5c6f49810c72b11b4d47403007d853
[ "MIT" ]
null
null
null
flashcards/utils/string_processing.py
Maxence-Labesse/Flashcard-Interval-Learning
bb82cbcbbf5c6f49810c72b11b4d47403007d853
[ "MIT" ]
null
null
null
"""This modules provides strng formatting functions prepare_data_for_db insert: formatting data to be inserted in database table concat_list: concatenate list elements in a string w/wo separator to_str: transform value to str is_str: test if value is str concat_key_value: concatenate key values of ...
24.406015
76
0.611214
446
3,246
4.289238
0.215247
0.046001
0.036592
0.041819
0.319394
0.258756
0.258756
0.163095
0.138003
0.138003
0
0.012864
0.281577
3,246
132
77
24.590909
0.807461
0.620456
0
0.083333
0
0
0.017989
0
0
0
0
0
0
1
0.208333
false
0
0
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e620b6de889e157060d3f2f22bfacf3f680e5371
489
py
Python
ihome/ihome/utils/Loginmixin.py
xyuzi/ihome
ab74e4efb73c14d2b410f6c19c6b2a35f8fd720e
[ "MIT" ]
null
null
null
ihome/ihome/utils/Loginmixin.py
xyuzi/ihome
ab74e4efb73c14d2b410f6c19c6b2a35f8fd720e
[ "MIT" ]
10
2021-03-19T11:31:11.000Z
2022-02-10T10:44:16.000Z
ihome/ihome/utils/Loginmixin.py
xyuzi/ihome
ab74e4efb73c14d2b410f6c19c6b2a35f8fd720e
[ "MIT" ]
null
null
null
from django.http import JsonResponse def flag(fn): def inner(request, *args, **kwargs): if request.user.is_authenticated: return fn(request, *args, **kwargs) else: return JsonResponse({ 'errno': '4101', 'errmsg': '没有登录' }) re...
22.227273
47
0.546012
51
489
5.176471
0.588235
0.151515
0.128788
0
0
0
0
0
0
0
0
0.012158
0.327198
489
21
48
23.285714
0.790274
0
0
0
0
0
0.038855
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e62320c96ffe5d08d9d8390ed09fb780ce010de8
490
py
Python
agot_ai/Palindrome_Number.py
shifabanu/LeetCode
785c3afb32c981a8bffbde0129ad1b1b5bd26928
[ "MIT" ]
null
null
null
agot_ai/Palindrome_Number.py
shifabanu/LeetCode
785c3afb32c981a8bffbde0129ad1b1b5bd26928
[ "MIT" ]
null
null
null
agot_ai/Palindrome_Number.py
shifabanu/LeetCode
785c3afb32c981a8bffbde0129ad1b1b5bd26928
[ "MIT" ]
null
null
null
class Solution: def isPalindrome(self, x: int) -> bool: if(x<0): return False elif(x==0): return True else: reverse = 0 divi = x while(divi!=0): rem = divi%10 reverse = reverse*10 + rem ...
22.272727
43
0.34898
44
490
3.886364
0.454545
0.023392
0.093567
0
0
0
0
0
0
0
0
0.047619
0.571429
490
21
44
23.333333
0.766667
0
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e624c342cffe7e6ece88b977f91db9d3c13993d4
947
py
Python
examples.py/Basics/Color/WaveGradient.py
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
1,224
2015-01-01T22:09:23.000Z
2022-03-29T19:43:56.000Z
examples.py/Basics/Color/WaveGradient.py
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
253
2015-01-14T03:45:51.000Z
2022-02-08T01:18:19.000Z
examples.py/Basics/Color/WaveGradient.py
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
225
2015-01-13T18:38:33.000Z
2022-03-30T20:27:39.000Z
""" Wave Gradient by Ira Greenberg. Adapted to python by Jonathan Feinberg Generate a gradient along a sin() wave. """ import math amplitude = 30 fillGap = 2.5 def setup(): size(200, 200) background(200, 200, 200) noLoop() def draw(): frequency = 0 for i in range(-75, height + 75): # Res...
26.305556
75
0.582893
137
947
4.029197
0.49635
0.032609
0.038043
0.032609
0.155797
0.09058
0.09058
0.09058
0
0
0
0.068759
0.293559
947
35
76
27.057143
0.756353
0.278775
0
0
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e63db7218e1890475ea95d7bed78144c380ce5d6
12,888
py
Python
qumulo_secret_rotation_lambda.py
Qumulo/Cloud-Deployment-Samples
a1ed1850b80ec14ea7520c5829421209efce8382
[ "MIT" ]
4
2019-12-25T22:09:37.000Z
2022-02-07T19:46:03.000Z
qumulo_secret_rotation_lambda.py
Qumulo/Cloud-Deployment-Samples
a1ed1850b80ec14ea7520c5829421209efce8382
[ "MIT" ]
1
2020-07-10T22:24:53.000Z
2020-07-10T22:24:53.000Z
qumulo_secret_rotation_lambda.py
Qumulo/cloud-samples
a1ed1850b80ec14ea7520c5829421209efce8382
[ "MIT" ]
3
2020-07-10T22:05:14.000Z
2022-02-07T19:46:04.000Z
# MIT License # # Copyright (c) 2019 Qumulo # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publi...
34.645161
86
0.662477
1,560
12,888
5.398718
0.2
0.055569
0.028497
0.016623
0.350511
0.306815
0.306815
0.2744
0.244004
0.205771
0
0.001157
0.262027
12,888
371
87
34.738544
0.884344
0.411002
0
0.291429
0
0
0.235033
0.003326
0
0
0
0
0
1
0.04
false
0.051429
0.034286
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e641ceb0d5974e1c1f147c5f59e831cb8681af06
2,774
py
Python
low_level/session.py
Pythocrates/pyfluence
a75b5358b54295f93a4356cb4028a4384fe45914
[ "MIT" ]
3
2022-01-14T21:56:20.000Z
2022-01-14T21:56:24.000Z
low_level/session.py
Pythocrates/pyfluence
a75b5358b54295f93a4356cb4028a4384fe45914
[ "MIT" ]
49
2019-09-25T11:32:21.000Z
2021-07-29T07:14:11.000Z
low_level/session.py
Pythocrates/pyfluence
a75b5358b54295f93a4356cb4028a4384fe45914
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import shutil from http.cookiejar import CookiePolicy import requests class Session: class NoCookies(CookiePolicy): ''' A cookie policy blocking any cookies, thus enabling us to use request.prepare_cookies, which does not overwrite existing cookie headers. ...
37.486486
79
0.640952
333
2,774
5.051051
0.351351
0.141498
0.066587
0.042806
0.470868
0.437574
0.437574
0.437574
0.437574
0.407253
0
0.007222
0.251262
2,774
73
80
38
0.8026
0.181327
0
0.255319
0
0
0.005961
0
0
0
0
0.013699
0
1
0.191489
false
0
0.06383
0.021277
0.446809
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e64364ec24e2f15a645f61c4ec8ca6628a269da7
1,383
py
Python
portal/migrations/0003_product.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
portal/migrations/0003_product.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
portal/migrations/0003_product.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-31 14:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('portal', '0002_auto_2018...
43.21875
138
0.624006
145
1,383
5.82069
0.572414
0.028436
0.033175
0.052133
0
0
0
0
0
0
0
0.03857
0.231381
1,383
31
139
44.612903
0.755409
0.032538
0
0
1
0
0.127994
0.017216
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6548a922a5afa295987ba25ae6b508b73e58d45
336
py
Python
portfolio/portfolio/views.py
kurtrm/portfolio
215949ca598688f667f8b2805f0fb580fcd1bf7f
[ "MIT" ]
null
null
null
portfolio/portfolio/views.py
kurtrm/portfolio
215949ca598688f667f8b2805f0fb580fcd1bf7f
[ "MIT" ]
null
null
null
portfolio/portfolio/views.py
kurtrm/portfolio
215949ca598688f667f8b2805f0fb580fcd1bf7f
[ "MIT" ]
3
2017-03-20T22:05:57.000Z
2017-03-29T18:25:00.000Z
"""Class based views for model-independent information.""" from django.views.generic.base import TemplateView class HomeView(TemplateView): """View for the homepage.""" template_name = 'portfolio/home.html' class AboutView(TemplateView): """View for the about me section.""" template_name = 'portfo...
22.4
58
0.723214
40
336
6.025
0.65
0.13278
0.157676
0.182573
0
0
0
0
0
0
0
0
0.154762
336
14
59
24
0.848592
0.315476
0
0
0
0
0.182243
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e65521475bb6fdff0da0dfc409c815993de167d7
248
py
Python
aula02/exec2.py
miguelviladev/programming-fundamentals
1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b
[ "CC0-1.0" ]
6
2021-11-21T13:12:57.000Z
2022-01-13T00:39:40.000Z
aula02/exec2.py
miguelviladev/programming-fundamentals
1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b
[ "CC0-1.0" ]
null
null
null
aula02/exec2.py
miguelviladev/programming-fundamentals
1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b
[ "CC0-1.0" ]
null
null
null
# Can you do it with a conditional statement (if / if-else) instead? x1 = float(input("number? ")) x2 = float(input("number? ")) #if x1 > x2: # mx = x1 #elif x2 > x1: # mx = x2 #else: # mx = x1 print("Maximum:", x1 if x1 > x2 else x2)
16.533333
68
0.572581
41
248
3.463415
0.487805
0.140845
0.225352
0
0
0
0
0
0
0
0
0.07027
0.254032
248
14
69
17.714286
0.697297
0.516129
0
0
0
0
0.216216
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e658b2a1ceb5f227b776554e9c2c9e6b68c95c1e
685
py
Python
2_list_and_dicts.py
sgg10/curso_intermedio_python
50d4087a1951691d50c3817d59fb7d795ee6a89d
[ "MIT" ]
null
null
null
2_list_and_dicts.py
sgg10/curso_intermedio_python
50d4087a1951691d50c3817d59fb7d795ee6a89d
[ "MIT" ]
null
null
null
2_list_and_dicts.py
sgg10/curso_intermedio_python
50d4087a1951691d50c3817d59fb7d795ee6a89d
[ "MIT" ]
null
null
null
def run(): my_list = ["Hello", 1, True, 4.5] my_dict = { "firstname": "Sebastian", "lastname": "Granda" } super_list = [ { "firstname": "Valentina", "lastname": "Mora" }, { "firstname": "Sebastian", "lastname": "Granda" }, { "firstname": "Isaac", "lastname": "Hincapie" }, { "firstname": "Camilo",...
27.4
62
0.573723
83
685
4.53012
0.53012
0.095745
0.138298
0.170213
0
0
0
0
0
0
0
0.036364
0.19708
685
25
63
27.4
0.647273
0
0
0
0
0
0.374636
0.030612
0
0
0
0
0
1
0.05
false
0
0
0
0.05
0.1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e65935590b3d4fe1d0a59aa7dc5542c9d8cd32fe
1,101
py
Python
src/visitsHandler/deleteHttps.py
nawafalqari/LinksBase
23460c8956c35b216378ec5a43dfff3db800c6a6
[ "MIT" ]
5
2022-03-11T06:52:15.000Z
2022-03-13T08:34:35.000Z
src/visitsHandler/deleteHttps.py
nawafalqari/LinksBase
23460c8956c35b216378ec5a43dfff3db800c6a6
[ "MIT" ]
null
null
null
src/visitsHandler/deleteHttps.py
nawafalqari/LinksBase
23460c8956c35b216378ec5a43dfff3db800c6a6
[ "MIT" ]
null
null
null
import datetime from pymongo import MongoClient from os import getenv from dotenv import load_dotenv import calendar from json import load, dump from keepalive import run_server import datetime import calendar from threading import Thread import schedule import time load_dotenv() client = MongoClient(getenv('MONGO_U...
26.214286
76
0.552225
115
1,101
5.191304
0.469565
0.067002
0.060302
0
0
0
0
0
0
0
0
0
0.271571
1,101
42
77
26.214286
0.744389
0
0
0.171429
0
0
0.151543
0.068966
0
0
0
0
0
1
0.028571
false
0
0.342857
0
0.371429
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e65b2e3d1f3029275717731d4fbae0cfe69db977
1,262
py
Python
wecom_hrm/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
5
2021-12-17T06:44:41.000Z
2022-02-05T03:34:07.000Z
wecom_hrm/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
null
null
null
wecom_hrm/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
2
2022-02-06T13:27:56.000Z
2022-02-27T08:06:59.000Z
# -*- coding: utf-8 -*- { "name": "WeCom HRM", "author": "RStudio", "sequence": 607, "installable": True, "application": True, "auto_install": False, "category": "WeCom/WeCom", "website": "https://gitee.com/rainbowstudio/wecom", "version": "15.0.0.1", "summary": """ ...
27.434783
63
0.547544
138
1,262
4.76087
0.492754
0.073059
0.079148
0.103501
0.199391
0.13242
0.13242
0
0
0
0
0.010846
0.269414
1,262
45
64
28.044444
0.701735
0.049128
0
0.105263
0
0
0.6
0.351464
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e65c274247708dacd166836d22ca6ac63e7060d8
1,022
py
Python
astr-119-hw-2/operators.py
kcloerts/astr-119
cf60152e85c0760174e274e10e89218e163a6f11
[ "MIT" ]
null
null
null
astr-119-hw-2/operators.py
kcloerts/astr-119
cf60152e85c0760174e274e10e89218e163a6f11
[ "MIT" ]
8
2021-09-24T21:38:56.000Z
2021-12-09T02:40:34.000Z
astr-119-hw-2/operators.py
kcloerts/astr-119
cf60152e85c0760174e274e10e89218e163a6f11
[ "MIT" ]
null
null
null
#Reference for basic numerical operations and comparisons x = 9 y = 3 #Arithmetic Operators print(x+y) #Addition print(x-y) #Subtraction print(x*y) #Multiplication print(x/y) #Division print(x%y) #Modulus -- remainder after division print(x**y) #Exponentiation x = 9.191823 print(x//y) #Floor Divi...
25.55
72
0.622309
190
1,022
3.347368
0.247368
0.169811
0.143082
0.103774
0.495283
0.481132
0.45912
0.407233
0.407233
0.361635
0
0.032938
0.257339
1,022
40
73
25.55
0.805007
0.607632
0
0.366667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e6617871ff4e024a9dafe2b4b4abd91859a5489e
1,368
py
Python
models/message.py
esmilto/pi-torrent-bot
28b8a5a1f49e9e17bb87e2d6bf5ea8f4c22972e8
[ "Apache-2.0" ]
2
2019-03-26T06:06:44.000Z
2019-03-26T06:06:47.000Z
models/message.py
esmilto/pi-torrent-bot
28b8a5a1f49e9e17bb87e2d6bf5ea8f4c22972e8
[ "Apache-2.0" ]
null
null
null
models/message.py
esmilto/pi-torrent-bot
28b8a5a1f49e9e17bb87e2d6bf5ea8f4c22972e8
[ "Apache-2.0" ]
null
null
null
import urllib3 import shutil class Command: """ Provides simple ability to instantiate a child class by passing a command that specifies a class that must be instantiated. The command is stored in _COMMAND_TYPE attribute """ subclasses = {} _COMMAND_TYPE = 'base' def __init__(self): ...
25.811321
96
0.637427
171
1,368
4.836257
0.497076
0.066505
0.026602
0
0
0
0
0
0
0
0
0.007897
0.259503
1,368
52
97
26.307692
0.80849
0.125731
0
0.114286
0
0.028571
0.088737
0.038396
0
0
0
0
0
1
0.171429
false
0
0.085714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6fdc066667495200565479dd8f5a047430eaac7
1,548
py
Python
djangocms_baseplugins/column/conf.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
2
2019-04-14T01:31:22.000Z
2020-03-05T13:06:57.000Z
djangocms_baseplugins/column/conf.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
32
2017-04-04T09:28:06.000Z
2021-08-18T16:23:02.000Z
djangocms_baseplugins/column/conf.py
bnzk/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
null
null
null
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from djangocms_baseplugins.baseplugin import defaults from djangocms_baseplugins.baseplugin.utils import get_baseplugin_fieldset TRANSLATED_FIELDS = getattr( settings, 'COLUMNPLUGIN_TRANSLATED_FIELDS', []) CONTENT_FIELDS = g...
21.5
74
0.639535
131
1,548
7.21374
0.389313
0.142857
0.257143
0.143915
0
0
0
0
0
0
0
0.005038
0.23062
1,548
71
75
21.802817
0.788413
0
0
0.066667
0
0
0.271964
0.155685
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6ff60b83ee0c550d10c9fdb651ac27109f14145
3,079
py
Python
brainscore/metrics/correlation.py
BonnerLab/brain-score
8edbbfcdb8efc5112768bfa2b57746f250f3abd4
[ "MIT" ]
null
null
null
brainscore/metrics/correlation.py
BonnerLab/brain-score
8edbbfcdb8efc5112768bfa2b57746f250f3abd4
[ "MIT" ]
null
null
null
brainscore/metrics/correlation.py
BonnerLab/brain-score
8edbbfcdb8efc5112768bfa2b57746f250f3abd4
[ "MIT" ]
null
null
null
from typing import Union import torch from scipy.stats import pearsonr from brainscore.metrics.xarray_utils import XarrayCorrelation, Defaults as XarrayDefaults from brainscore.metrics.transformations import TestOnlyCrossValidation class CrossCorrelation: def __init__(self, stimulus_coord=XarrayDefaults.stimulu...
39.987013
124
0.709321
400
3,079
5.24
0.26
0.04771
0.048664
0.04771
0.389313
0.380248
0.33874
0.307252
0.307252
0.307252
0
0.004083
0.204612
3,079
76
125
40.513158
0.851776
0.186749
0
0.27451
0
0
0.045251
0
0
0
0
0.013158
0.058824
1
0.137255
false
0
0.098039
0.058824
0.372549
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
050ce8c1c236eb84d1beafe56569ace7f7605c31
1,642
py
Python
scripts/llnl_scripts/move_unused_tpl_dirs_to_graveyard.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
scripts/llnl_scripts/move_unused_tpl_dirs_to_graveyard.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
scripts/llnl_scripts/move_unused_tpl_dirs_to_graveyard.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
#!/bin/sh "exec" "python" "-u" "-B" "$0" "$@" # Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and # other Axom Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: (BSD-3-Clause) """ file: move_unused_tpl_dirs_to_graveyard.py description: Reads JSON ...
24.507463
98
0.641291
240
1,642
4.195833
0.458333
0.034757
0.019861
0.033764
0.079444
0.04568
0
0
0
0
0
0.011058
0.228989
1,642
66
99
24.878788
0.78436
0.145554
0
0
0
0
0.196667
0.036667
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.171429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
050e7dba30cb74bd3726148da1b4001f0a25f68c
1,699
py
Python
alipay/aop/api/response/AntfortuneQuotationResearchdataQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AntfortuneQuotationResearchdataQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AntfortuneQuotationResearchdataQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AntfortuneQuotationResearchdataQueryResponse(AlipayResponse): def __init__(self): super(AntfortuneQuotationResearchdataQueryResponse, self).__init__() self._result_co...
30.339286
117
0.690995
187
1,699
5.946524
0.181818
0.143885
0.05036
0.071942
0
0
0
0
0
0
0
0.000763
0.22837
1,699
55
118
30.890909
0.847445
0.02472
0
0.093023
0
0
0.060423
0
0
0
0
0
0
1
0.232558
false
0
0.046512
0.093023
0.395349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
05223b75d6ec0b7b3e27dfcfebfbd33743adcf8f
477
py
Python
src/proxy2.py
MrRezoo/design-patterns-python
8f8e2501ad8e05f1a75ce5be659d926c0ec99698
[ "MIT" ]
6
2021-03-21T08:39:34.000Z
2021-06-08T13:05:34.000Z
src/proxy2.py
MrRezoo/design-patterns-python
8f8e2501ad8e05f1a75ce5be659d926c0ec99698
[ "MIT" ]
null
null
null
src/proxy2.py
MrRezoo/design-patterns-python
8f8e2501ad8e05f1a75ce5be659d926c0ec99698
[ "MIT" ]
1
2021-12-26T16:59:19.000Z
2021-12-26T16:59:19.000Z
""" Structural pattern : Proxy Examples : 1. use in orm """ class Db: def work(self): print('you are admin so you can work with database...') class Proxy: admin_password = 'secret' def check_admin(self, password): if password == self.admin_password: d1...
17.666667
72
0.555556
60
477
4.35
0.5
0.061303
0.084291
0
0
0
0
0
0
0
0
0.015674
0.331237
477
26
73
18.346154
0.802508
0.121593
0
0
0
0
0.275949
0
0
0
0
0
0
1
0.153846
false
0.230769
0
0
0.384615
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0526b389547c404aa361d0b187499bf83b5cb7ec
9,690
py
Python
tek3kGrabData.py
jllanfranchi/pygeneric
29c0f382f725d927cb711736497b4a7da4019fe8
[ "MIT" ]
null
null
null
tek3kGrabData.py
jllanfranchi/pygeneric
29c0f382f725d927cb711736497b4a7da4019fe8
[ "MIT" ]
null
null
null
tek3kGrabData.py
jllanfranchi/pygeneric
29c0f382f725d927cb711736497b4a7da4019fe8
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import with_statement from __future__ import division import sys import os import time import numpy as np import re import time import csv import socket import argparse import matplotlib.pyplot as plt from tek3kComms import Tek3kComms def wstdout(txt): sys.stdout.write(txt)...
39.390244
80
0.549948
1,037
9,690
5.109933
0.359691
0.031704
0.015097
0.009058
0.070957
0.040762
0.016607
0.016607
0.016607
0
0
0.01133
0.335088
9,690
245
81
39.55102
0.811113
0.206811
0
0.065868
0
0
0.172454
0.006028
0.005988
0
0
0.004082
0
0
null
null
0
0.077844
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
052830ec171064665b5a65b98ff7ad8296fca7a5
477
py
Python
lib_pyston/_sysconfigdata.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
lib_pyston/_sysconfigdata.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
lib_pyston/_sysconfigdata.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
# TODO: we will have to figure out a better way of generating this file build_time_vars = { "CC": "gcc -pthread", "CXX": "g++ -pthread", "OPT": "-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes", "CFLAGS": "-fno-strict-aliasing -g -O3 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes",...
34.071429
98
0.534591
57
477
4.438596
0.736842
0.079051
0.110672
0.126482
0.29249
0.29249
0.29249
0
0
0
0
0.008772
0.283019
477
13
99
36.692308
0.730994
0.144654
0
0
0
0.090909
0.566502
0
0
0
0
0.076923
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
052eca2ad283e164c0985ad53009611d123d87d1
292
py
Python
tools/__init__.py
the-it/WS_THEbotIT
5630382e697a8b7432e0cf63a05a45fe43064caa
[ "MIT" ]
5
2019-01-21T19:59:27.000Z
2021-02-06T12:56:28.000Z
tools/__init__.py
the-it/WS_THEbotIT
5630382e697a8b7432e0cf63a05a45fe43064caa
[ "MIT" ]
697
2017-11-19T12:41:11.000Z
2022-03-31T07:35:04.000Z
tools/__init__.py
the-it/WS_THEbotIT
5630382e697a8b7432e0cf63a05a45fe43064caa
[ "MIT" ]
1
2018-02-18T23:01:13.000Z
2018-02-18T23:01:13.000Z
from pywikibot import Site, Page class ToolException(Exception): pass def fetch_text_from_wiki_site(wiki: Site, lemma: str) -> str: # pragma: no cover text: str = Page(wiki, lemma).text if not text: raise ToolException(f"The lemma {lemma} is empty.") return text
22.461538
81
0.684932
42
292
4.666667
0.619048
0.081633
0
0
0
0
0
0
0
0
0
0
0.219178
292
12
82
24.333333
0.859649
0.054795
0
0
0
0
0.09854
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0532932ba7399b436aaca09217cf0da03f71a4c4
308
py
Python
instagram/admin.py
Maxwel5/photo-app-instagram
8635346a5115dcc7e282791bd646f0a7f9dd2917
[ "MIT" ]
null
null
null
instagram/admin.py
Maxwel5/photo-app-instagram
8635346a5115dcc7e282791bd646f0a7f9dd2917
[ "MIT" ]
8
2020-06-06T00:09:24.000Z
2022-02-10T10:48:10.000Z
instagram/admin.py
Maxwel5/photo-app-instagram
8635346a5115dcc7e282791bd646f0a7f9dd2917
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Profile,Image,Instagram,Comments class ImageAdmin(admin.ModelAdmin): filter_horizontal = ('instagram') # Register your models here. admin.site.register(Profile) admin.site.register(Image) admin.site.register(Instagram) admin.site.register(Comments)
25.666667
52
0.805195
39
308
6.333333
0.487179
0.145749
0.275304
0
0
0
0
0
0
0
0
0
0.090909
308
11
53
28
0.882143
0.084416
0
0
0
0
0.032143
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
053c215ebe60e5dfa9eb2e01254cb1f271067fb8
294
py
Python
imread/tests/test_rois.py
luispedro/imread
7960b744623fe03e6d968893a539bca969715860
[ "MIT" ]
51
2015-01-09T14:07:37.000Z
2022-03-03T13:54:30.000Z
imread/tests/test_rois.py
luispedro/imread
7960b744623fe03e6d968893a539bca969715860
[ "MIT" ]
16
2015-08-09T13:40:44.000Z
2020-04-14T10:01:41.000Z
imread/tests/test_rois.py
luispedro/imread
7960b744623fe03e6d968893a539bca969715860
[ "MIT" ]
15
2015-05-22T10:41:52.000Z
2021-05-03T11:11:59.000Z
import numpy as np from imread import ijrois from . import file_path def test_rois_smoke(): rois = ijrois.read_roi_zip(file_path('rois.zip')) assert len(rois) == 4 r = ijrois.read_roi(open(file_path('0186-0099.roi'), 'rb')) assert any([np.array_equal(ri, r) for ri in rois])
24.5
63
0.690476
51
294
3.803922
0.588235
0.123711
0.134021
0
0
0
0
0
0
0
0
0.037037
0.173469
294
11
64
26.727273
0.761317
0
0
0
0
0
0.078231
0
0
0
0
0
0.25
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0540df6ceddcad1055255458605790dadee4c805
1,433
py
Python
encapsulation/exercise/pizza_calory_02/pizza.py
BoyanPeychinov/object_oriented_programming
a960721c7c17710bd7b151a9025647e953435962
[ "MIT" ]
null
null
null
encapsulation/exercise/pizza_calory_02/pizza.py
BoyanPeychinov/object_oriented_programming
a960721c7c17710bd7b151a9025647e953435962
[ "MIT" ]
null
null
null
encapsulation/exercise/pizza_calory_02/pizza.py
BoyanPeychinov/object_oriented_programming
a960721c7c17710bd7b151a9025647e953435962
[ "MIT" ]
null
null
null
class Pizza: def __init__(self, name, dough, toppings_capacity): self.__name = name self.__dough = dough self.__toppings_capacity = toppings_capacity self.__toppings = {} @property def name(self): return self.__name @name.setter def name(self, new_name): ...
26.054545
74
0.654571
165
1,433
5.351515
0.2
0.17667
0.0906
0.06342
0.178935
0.097395
0.097395
0
0
0
0
0
0.263782
1,433
54
75
26.537037
0.836967
0
0
0.097561
0
0
0.025175
0
0
0
0
0
0
1
0.268293
false
0
0
0.097561
0.414634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
05486c8d2689d7e0b093ba5e9dc91cd3bebdaebb
619
py
Python
tests/test_single_client.py
deadwind4/fast-pssh
5ccacae1da0aaa16a65bcfee6e1a08c8b89f297a
[ "MIT" ]
1
2019-11-28T13:06:47.000Z
2019-11-28T13:06:47.000Z
tests/test_single_client.py
deadwind4/fast-pssh
5ccacae1da0aaa16a65bcfee6e1a08c8b89f297a
[ "MIT" ]
null
null
null
tests/test_single_client.py
deadwind4/fast-pssh
5ccacae1da0aaa16a65bcfee6e1a08c8b89f297a
[ "MIT" ]
null
null
null
import unittest from fpssh.clients.native.single import SSHClient class SSHClientTest(unittest.TestCase): def setUp(self): self.fake_cmd = "echo foo" self.fake_res = "foo\n" self.host = "127.0.0.1" self.port = 2222 self.user = "foo" self.password = "foo" se...
23.807692
79
0.633279
81
619
4.666667
0.530864
0.084656
0.058201
0
0
0
0
0
0
0
0
0.023504
0.243942
619
25
80
24.76
0.784188
0
0
0
0
0
0.058158
0
0
0
0
0
0.058824
1
0.117647
false
0.117647
0.117647
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
0
0
0
0
0
1
0
0
0
0
0
1
054f5fe79a595f530fd096be8888f16d87d11134
538
py
Python
Curso_Em_Video_Python/ex024.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
Curso_Em_Video_Python/ex024.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
Curso_Em_Video_Python/ex024.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
# Ex: 024 - Crie um programa que leia o nome de uma cidade e diga se ela começa # ou não com o nome "SANTO". print(''' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --Seja bem-vindo! --Exercício 024 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ''') cidade = input('Em que cidade você nasceu? ').replace('-', ' ').lower().spli...
28.315789
81
0.451673
57
538
4.263158
0.754386
0.041152
0
0
0
0
0
0
0
0
0
0.015453
0.157993
538
18
82
29.888889
0.520971
0.195167
0
0.384615
0
0
0.769417
0.339806
0
0
0
0
0
1
0
false
0
0
0
0
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
055072d9d845123bbb82eded2fafe6d1d59047d0
1,824
py
Python
thing/awsiot.py
ymtomoyk/smarthome
a1fe6f797293f167bf092f7e75b48f293a68d463
[ "MIT" ]
null
null
null
thing/awsiot.py
ymtomoyk/smarthome
a1fe6f797293f167bf092f7e75b48f293a68d463
[ "MIT" ]
null
null
null
thing/awsiot.py
ymtomoyk/smarthome
a1fe6f797293f167bf092f7e75b48f293a68d463
[ "MIT" ]
null
null
null
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient import logging MQTT_PORT = 8883 class MyAWSIoTClient: def __init__ (self, args): self.args = args self.client = AWSIoTMQTTClient (args.clientId) # Configure logging logger = logging.getLogger ('AWSIoTPythonSDK.core') logger.setLevel (loggin...
33.163636
112
0.713816
193
1,824
6.621762
0.42487
0.101721
0.029734
0
0
0
0
0
0
0
0
0.013981
0.176535
1,824
54
113
33.777778
0.836884
0.094298
0
0
0
0
0.076689
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
055436f9f1460ea75cd5e6b3fb76ca9da222f721
500
py
Python
django_site/users/migrations/0013_auto_20210122_1205.py
StGrail/v.it
765cb720a16b0fff66e013b8b66a80d99168c16b
[ "MIT" ]
null
null
null
django_site/users/migrations/0013_auto_20210122_1205.py
StGrail/v.it
765cb720a16b0fff66e013b8b66a80d99168c16b
[ "MIT" ]
1
2020-12-23T19:08:20.000Z
2020-12-23T19:08:20.000Z
django_site/users/migrations/0013_auto_20210122_1205.py
StGrail/v.it
765cb720a16b0fff66e013b8b66a80d99168c16b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-22 09:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0012_auto_20210122_1203'), ] operations = [ migrations.RemoveField( model_name='rating', name='vacancy', ...
21.73913
63
0.572
49
500
5.734694
0.734694
0.064057
0.106762
0.135231
0.185053
0
0
0
0
0
0
0.089855
0.31
500
22
64
22.727273
0.724638
0.09
0
0.375
1
0
0.152318
0.050773
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
055521b3e3b2de3115ac7f3ade4b9e00fc716692
1,861
py
Python
tests/lib/hardware/node_base.py
toabctl/rookcheck
950669fa8297cf315ad0b9c308c76a5d25bc7edc
[ "Apache-2.0" ]
null
null
null
tests/lib/hardware/node_base.py
toabctl/rookcheck
950669fa8297cf315ad0b9c308c76a5d25bc7edc
[ "Apache-2.0" ]
null
null
null
tests/lib/hardware/node_base.py
toabctl/rookcheck
950669fa8297cf315ad0b9c308c76a5d25bc7edc
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 SUSE LINUX GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
34.462963
74
0.653949
242
1,861
4.842975
0.524793
0.051195
0.043515
0.027304
0.114334
0.068259
0
0
0
0
0
0.006503
0.256314
1,861
53
75
35.113208
0.840318
0.365932
0
0
0
0
0.289007
0.195922
0
0
0
0.018868
0
1
0.111111
false
0.037037
0.111111
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0556dc15c35690288780f9ed80a402d84e9ba5fa
300
py
Python
embedded/hello_lights.py
al-fontes-jr/bardolph
209bba49765c729d8f1479903593043cef274aab
[ "Apache-2.0" ]
null
null
null
embedded/hello_lights.py
al-fontes-jr/bardolph
209bba49765c729d8f1479903593043cef274aab
[ "Apache-2.0" ]
16
2020-06-15T11:04:10.000Z
2022-03-28T05:39:10.000Z
embedded/hello_lights.py
al-fontes-jr/bardolph
209bba49765c729d8f1479903593043cef274aab
[ "Apache-2.0" ]
1
2020-06-24T02:01:04.000Z
2020-06-24T02:01:04.000Z
#!/usr/bin/env python """Minimal Demo Simple example use of ls_module that just launches a script contained in a string. """ from bardolph.controller import ls_module def main(): ls_module.configure() ls_module.queue_script("on all time 5 off all") if __name__ == "__main__": main()
17.647059
74
0.716667
46
300
4.391304
0.76087
0.158416
0
0
0
0
0
0
0
0
0
0.004065
0.18
300
16
75
18.75
0.817073
0.39
0
0
0
0
0.164773
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
056b1e73a35d822f75d05aebb753f04c5daf2bdd
4,955
py
Python
materialtools/materialtesting/bending/fourpoint.py
adlhancock/Materialtools
f166f8d55ee0c1d5688881b375b0dba6ad6a8c2b
[ "MIT" ]
null
null
null
materialtools/materialtesting/bending/fourpoint.py
adlhancock/Materialtools
f166f8d55ee0c1d5688881b375b0dba6ad6a8c2b
[ "MIT" ]
null
null
null
materialtools/materialtesting/bending/fourpoint.py
adlhancock/Materialtools
f166f8d55ee0c1d5688881b375b0dba6ad6a8c2b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """materialtools.materialtesting.bending.plot Reads in a text file from the Phoenix rig (Thor) from a four point bending test and plots load v stroke todo: export in materialtools xlsx format Created on Thu Oct 26 09:41:08 2017 @author: dhancock """ import matplotlib.pyplot as plt from . im...
28.153409
75
0.534612
605
4,955
4.315702
0.299174
0.02298
0.03447
0.02298
0.440444
0.324397
0.324397
0.258905
0.231329
0.231329
0
0.022618
0.330777
4,955
176
76
28.153409
0.764777
0.029465
0
0.401961
0
0
0.083064
0
0
0
0
0.005682
0
0
null
null
0.009804
0.04902
null
null
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05765622f2cd6f543c4657edb76c75b8e1312704
504
py
Python
AquariumPro/AquariumPro/pages/views.py
Python1991/Aquarium-Pro
83034c04f55073647ea11975e4248aa7ddfc9a22
[ "MIT" ]
null
null
null
AquariumPro/AquariumPro/pages/views.py
Python1991/Aquarium-Pro
83034c04f55073647ea11975e4248aa7ddfc9a22
[ "MIT" ]
null
null
null
AquariumPro/AquariumPro/pages/views.py
Python1991/Aquarium-Pro
83034c04f55073647ea11975e4248aa7ddfc9a22
[ "MIT" ]
null
null
null
import random from django.shortcuts import render from productAquaticPlantPackages.models import ProductAquaticPlantPackage # Create your views here. def index(request): papps = ProductAquaticPlantPackage.objects.all() for papp in papps: papp.img = random.choice(random.choice(papp.productAquaticPlants.a...
42
96
0.771825
59
504
6.542373
0.59322
0.062176
0.098446
0.124352
0.170984
0.170984
0
0
0
0
0
0
0.123016
504
12
97
42
0.873303
0.045635
0
0
0
0
0.129167
0.0625
0
0
0
0
0
1
0.2
false
0
0.3
0.1
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
0
0
1
0
0
1
05797af72add0ce8937a108700265c2c4aa4c99a
16,008
py
Python
homework.py
JusesCheng/Bayes
61f5e7c621d072615f86babdb60385fb1332446e
[ "MIT" ]
null
null
null
homework.py
JusesCheng/Bayes
61f5e7c621d072615f86babdb60385fb1332446e
[ "MIT" ]
null
null
null
homework.py
JusesCheng/Bayes
61f5e7c621d072615f86babdb60385fb1332446e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'homework.ui' # # Created by: PyQt5 UI code generator 5.9 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow...
50.498423
76
0.705147
1,730
16,008
6.323121
0.072254
0.093793
0.064174
0.070208
0.489899
0.458726
0.153762
0.153762
0.153762
0.153762
0
0.042761
0.186282
16,008
316
77
50.658228
0.797021
0.011182
0
0.177632
1
0
0.079767
0
0
0
0
0
0
1
0.006579
false
0
0.003289
0
0.013158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
057aa26a6c812bd9756783c0191da5d0b39f26d5
1,398
py
Python
tests/test_wavelets.py
parallaxinnovations/pyrwt
4ee5c406ad889e3a6f6ba9fe0fddac3cc717cb9e
[ "BSD-2-Clause" ]
null
null
null
tests/test_wavelets.py
parallaxinnovations/pyrwt
4ee5c406ad889e3a6f6ba9fe0fddac3cc717cb9e
[ "BSD-2-Clause" ]
null
null
null
tests/test_wavelets.py
parallaxinnovations/pyrwt
4ee5c406ad889e3a6f6ba9fe0fddac3cc717cb9e
[ "BSD-2-Clause" ]
1
2022-01-22T04:53:07.000Z
2022-01-22T04:53:07.000Z
import numpy as np import matplotlib.pyplot as plt from scipy.misc import lena from rwt import dwt, idwt, rdwt, irdwt from rwt.wavelets import waveletCoeffs, waveletlist from numpy.testing import assert_allclose def test_dwt(): A = np.random.randn(64, 64) for wavelet in waveletlist(): ...
26.377358
74
0.502146
168
1,398
4.029762
0.357143
0.059084
0.026588
0.041359
0.564254
0.564254
0.528804
0.528804
0.528804
0.528804
0
0.036408
0.410587
1,398
53
75
26.377358
0.785194
0
0
0.536585
0
0
0.06533
0
0
0
0
0
0.073171
0
null
null
0
0.170732
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
057c398c47aea38f1bff7b7ae15e375820aec9d6
509
py
Python
users/migrations/0003_user_city.py
javaerEric/Blog
3c985aaf984478460449b8e0380f74d950407e0f
[ "Apache-2.0" ]
null
null
null
users/migrations/0003_user_city.py
javaerEric/Blog
3c985aaf984478460449b8e0380f74d950407e0f
[ "Apache-2.0" ]
null
null
null
users/migrations/0003_user_city.py
javaerEric/Blog
3c985aaf984478460449b8e0380f74d950407e0f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-09 02:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20170930_0611'), ] operations = [ migrations.AddField( ...
23.136364
80
0.614931
58
509
5.189655
0.810345
0
0
0
0
0
0
0
0
0
0
0.096257
0.265226
509
21
81
24.238095
0.708556
0.133595
0
0
1
0
0.086758
0.052511
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
05814810f48b582e3bd337bd35197ea399cb27cf
1,420
py
Python
gazepattern/eyedetector/forms.py
AriRodriguezCruz/mcfgpr
c6f83f8e68bbab0054a7ea337feab276fc0790fc
[ "MIT" ]
null
null
null
gazepattern/eyedetector/forms.py
AriRodriguezCruz/mcfgpr
c6f83f8e68bbab0054a7ea337feab276fc0790fc
[ "MIT" ]
12
2020-06-05T22:56:39.000Z
2022-02-10T10:35:13.000Z
gazepattern/eyedetector/forms.py
AriRodriguezCruz/mcfgpr
c6f83f8e68bbab0054a7ea337feab276fc0790fc
[ "MIT" ]
1
2019-10-06T23:40:45.000Z
2019-10-06T23:40:45.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals #django from django import forms #gazepattern from utils.widgets import TextWidget, QueryAsChoiceWidget from .models import Image class ImageForm(forms.Form): name = forms.CharField(required=True, max_length=30, widget=TextWidget(label="Nombre")) descri...
36.410256
123
0.759859
172
1,420
6.162791
0.377907
0.090566
0.103774
0.122642
0.353774
0.353774
0.353774
0.353774
0.353774
0.353774
0
0.011006
0.104225
1,420
38
124
37.368421
0.822327
0.146479
0
0.16
0
0
0.084647
0
0
0
0
0
0
1
0.08
false
0
0.16
0
0.64
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0581d6417c51c913ee57ddba9e71fc48a5ec41cc
2,176
py
Python
ibmsecurity/isam/web/runtime/object.py
zone-zero/ibmsecurity
7d3e38104b67e1b267e18a44845cb756a5302c3d
[ "Apache-2.0" ]
46
2017-03-21T21:08:59.000Z
2022-02-20T22:03:46.000Z
ibmsecurity/isam/web/runtime/object.py
zone-zero/ibmsecurity
7d3e38104b67e1b267e18a44845cb756a5302c3d
[ "Apache-2.0" ]
201
2017-03-21T21:25:52.000Z
2022-03-30T21:38:20.000Z
ibmsecurity/isam/web/runtime/object.py
zone-zero/ibmsecurity
7d3e38104b67e1b267e18a44845cb756a5302c3d
[ "Apache-2.0" ]
91
2017-03-22T16:25:36.000Z
2022-02-04T04:36:29.000Z
import logging logger = logging.getLogger(__name__) # *** WORK IN PROGRESS - module not done yet def get_all(isamAppliance, isamUser, object='/', admin_domain='Default'): """ Retrieve a list of objects """ ret_obj = isamAppliance.invoke_post("Retrieve a list of objects", ...
38.857143
101
0.538143
203
2,176
5.551724
0.300493
0.126886
0.056788
0.078083
0.527063
0.503993
0.503993
0.436557
0.340728
0.340728
0
0.010021
0.357996
2,176
55
102
39.563636
0.796707
0.0625
0
0.484848
0
0
0.137914
0.033601
0
0
0
0
0
1
0.090909
false
0.060606
0.060606
0
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0586676f3ef41de58493c8115a2fa8b6561a45d0
2,404
py
Python
monotone_bipartition/refine.py
mvcisback/monotone-bipartition
c92262fac14258ed25619681ebcb0f8734044d22
[ "MIT" ]
1
2017-05-17T22:47:33.000Z
2017-05-17T22:47:33.000Z
monotone_bipartition/refine.py
mvcisback/multidim-threshold
c92262fac14258ed25619681ebcb0f8734044d22
[ "MIT" ]
10
2019-04-01T17:05:14.000Z
2020-05-01T17:23:18.000Z
monotone_bipartition/refine.py
mvcisback/monotone-bipartition
c92262fac14258ed25619681ebcb0f8734044d22
[ "MIT" ]
4
2017-02-03T01:30:03.000Z
2018-04-25T22:28:23.000Z
"""Implements muli-dimensional threshold discovery via binary search.""" from itertools import product import funcy as fn import numpy as np from monotone_bipartition import rectangles as mdtr # Interval, Rec, to_rec from monotone_bipartition import search as mdts # SearchResultType, binsearch def box_edges(r): ...
32.053333
79
0.64975
362
2,404
4.185083
0.325967
0.092409
0.023762
0.029703
0.170297
0.084488
0
0
0
0
0
0.00871
0.235857
2,404
74
80
32.486486
0.816004
0.10025
0
0
0
0
0.020599
0
0
0
0
0.027027
0
1
0.12
false
0
0.1
0.02
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
1
0
0
0
0
0
0
0
0
0
0
1
0587b33879f2dc5e8a273d2bd117d9c772a992ad
6,567
py
Python
python/reachy_sdk_api/kinematics_pb2.py
marjoriePaillet/reachy-sdk-api
d2e630429928caafa7fd99e3f96989d7d2fe4367
[ "Apache-2.0" ]
1
2021-08-14T22:17:37.000Z
2021-08-14T22:17:37.000Z
python/reachy_sdk_api/kinematics_pb2.py
marjoriePaillet/reachy-sdk-api
d2e630429928caafa7fd99e3f96989d7d2fe4367
[ "Apache-2.0" ]
2
2021-03-24T13:57:45.000Z
2021-06-22T13:27:46.000Z
python/reachy_sdk_api/kinematics_pb2.py
marjoriePaillet/reachy-sdk-api
d2e630429928caafa7fd99e3f96989d7d2fe4367
[ "Apache-2.0" ]
2
2021-05-12T08:13:55.000Z
2021-09-14T09:14:25.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: kinematics.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.prot...
36.082418
429
0.752398
815
6,567
5.749693
0.170552
0.040973
0.060819
0.06338
0.647461
0.618865
0.538412
0.529876
0.529876
0.529876
0
0.035069
0.122887
6,567
181
430
36.281768
0.778472
0.064565
0
0.620915
1
0.006536
0.170636
0.126917
0
0
0
0
0
1
0
false
0
0.03268
0
0.03268
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
05886c6d2646795c19612f3c828241246b0ec949
3,657
py
Python
tests/test_classes_with_defaults.py
jtaxen/environment_variables
bd3ba9b5f9526548ce4659de9fbef1ff69c44157
[ "MIT" ]
null
null
null
tests/test_classes_with_defaults.py
jtaxen/environment_variables
bd3ba9b5f9526548ce4659de9fbef1ff69c44157
[ "MIT" ]
null
null
null
tests/test_classes_with_defaults.py
jtaxen/environment_variables
bd3ba9b5f9526548ce4659de9fbef1ff69c44157
[ "MIT" ]
null
null
null
import pytest from src.environment_variables import environment_variables @environment_variables class EnvironmentWithDefaults: DEFINED_BOOLEAN_TRUE: bool = False DEFINED_BOOLEAN_FALSE: bool = True DEFINED_STRING_VALUE: str = 'DEFAULT' DEFINED_FLOAT_VALUE: float = 12.0 DEFINED_INTEGER_VALUE: int ...
36.207921
78
0.812961
422
3,657
6.627962
0.132701
0.091527
0.139435
0.094387
0.524133
0.157311
0.07222
0
0
0
0
0.011624
0.129614
3,657
100
79
36.57
0.867107
0
0
0.057971
0
0
0.017774
0
0
0
0
0
0.463768
1
0.173913
false
0
0.028986
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
058be94c1ec20dc43ec5161f5bf7c941ae68be21
261
py
Python
python/romans.py
twirrim/kattis
7e060286ca301ecff7649872c25ec8b5139e066d
[ "Unlicense" ]
null
null
null
python/romans.py
twirrim/kattis
7e060286ca301ecff7649872c25ec8b5139e066d
[ "Unlicense" ]
null
null
null
python/romans.py
twirrim/kattis
7e060286ca301ecff7649872c25ec8b5139e066d
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 """ An attempt to solve Roaming Romans on Kattis """ MODERN_MILE_FEET = 5280.0 ROMAN_MILE_IN_FEET = 4854.0 miles = float(input().rstrip()) roman_paces = (1000 * (MODERN_MILE_FEET/ROMAN_MILE_IN_FEET)) * miles print(round(roman_paces))
21.75
68
0.739464
42
261
4.309524
0.666667
0.110497
0.154696
0.165746
0
0
0
0
0
0
0
0.065789
0.126437
261
11
69
23.727273
0.72807
0.256705
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
058dab3078677efcf6ff5a532e8add599a780886
954
py
Python
src/time_clock/forms.py
zengzhengrong/django_checktime
f7ba8b750441bc6a0c501c42356744b57aca86c9
[ "MIT" ]
null
null
null
src/time_clock/forms.py
zengzhengrong/django_checktime
f7ba8b750441bc6a0c501c42356744b57aca86c9
[ "MIT" ]
null
null
null
src/time_clock/forms.py
zengzhengrong/django_checktime
f7ba8b750441bc6a0c501c42356744b57aca86c9
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import get_user_model User = get_user_model() class CheckRequired_PwForm(forms.Form): username = forms.CharField(widget=forms.HiddenInput) password = forms.CharField(label='',widget=forms.PasswordInput(attrs={'class':'form-control','placeholder':'输入密码','type':'...
41.478261
156
0.660377
107
954
5.71028
0.504673
0.090016
0.03928
0
0
0
0
0
0
0
0
0.001339
0.216981
954
22
157
43.363636
0.8166
0.01153
0
0
0
0
0.088204
0
0
0
0
0
0
1
0.055556
false
0.222222
0.111111
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
058f982ff219c247b420ba19bba360fa4745fadf
22,607
py
Python
BiometricFeatures.py
jillianhenderson/the-angry-user-experiment
6153c9fbd23725834c94c0412bd22a3fbf8a1a6b
[ "MIT" ]
1
2020-05-21T23:28:11.000Z
2020-05-21T23:28:11.000Z
BiometricFeatures.py
jillianhenderson/the-angry-user-experiment
6153c9fbd23725834c94c0412bd22a3fbf8a1a6b
[ "MIT" ]
null
null
null
BiometricFeatures.py
jillianhenderson/the-angry-user-experiment
6153c9fbd23725834c94c0412bd22a3fbf8a1a6b
[ "MIT" ]
null
null
null
## ## BIOMETRIC FEATURES ## ## J.A.Henderson jilliana@magneticore.com ## ## Functions to calculate human factors such as mouse and keyboard dynamics ## for use in the Angry User Experiment. ## import pandas as pd import seaborn as sns import time as clk import calendar as cal import numpy as np imp...
45.395582
159
0.600699
3,372
22,607
3.996441
0.1207
0.011576
0.01024
0.019739
0.623108
0.589789
0.571089
0.561294
0.542075
0.533318
0
0.043841
0.220065
22,607
498
160
45.395582
0.720451
0.099084
0
0.44802
0
0
0.083456
0
0
0
0
0
0
0
null
null
0
0.029703
null
null
0.039604
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0596d37b18f52beceeceb4882b495956ad7ba307
8,107
py
Python
MixtureOfExperts/utils/tmvtnorm.py
cwlgadd/MixtureOfExperts
ca8ba736388e3cbd126b108c564f042d6ee50b41
[ "MIT" ]
2
2020-08-03T12:13:51.000Z
2022-01-21T10:37:06.000Z
MixtureOfExperts/utils/tmvtnorm.py
cwlgadd/MixtureOfExperts
ca8ba736388e3cbd126b108c564f042d6ee50b41
[ "MIT" ]
null
null
null
MixtureOfExperts/utils/tmvtnorm.py
cwlgadd/MixtureOfExperts
ca8ba736388e3cbd126b108c564f042d6ee50b41
[ "MIT" ]
null
null
null
from __future__ import division import numpy as np import logging logger = logging.getLogger(__name__) __all__ = ['tmvtnorm_sample', 'tmvtnorm_rpy2', 'tmvtnorm_emcee'] def importr_tryhard(packname): """ Load R package. If package cannot be loaded then install. If you have problems with this function, try mak...
43.821622
119
0.593808
949
8,107
5.030558
0.295047
0.017595
0.024089
0.013196
0.177419
0.118978
0.081693
0.058651
0.041056
0.041056
0
0.010791
0.314173
8,107
185
120
43.821622
0.847842
0.28901
0
0.205607
0
0
0.082397
0
0
0
0
0.010811
0.028037
1
0.046729
false
0
0.17757
0
0.28972
0.028037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0598166a4537289fcd0819ddc277c4dad04e6fd3
636
py
Python
src/project/migrations/0005_project_repositories.py
pinio/freyr
1f6612698c7d22f81051670ee5cac93f7c8195ac
[ "MIT" ]
1
2020-04-28T20:09:48.000Z
2020-04-28T20:09:48.000Z
src/project/migrations/0005_project_repositories.py
pinio/freyr
1f6612698c7d22f81051670ee5cac93f7c8195ac
[ "MIT" ]
5
2021-04-08T21:46:15.000Z
2022-02-10T11:56:40.000Z
src/project/migrations/0005_project_repositories.py
pinio/freyr
1f6612698c7d22f81051670ee5cac93f7c8195ac
[ "MIT" ]
1
2020-04-29T13:04:17.000Z
2020-04-29T13:04:17.000Z
# Generated by Django 2.2.12 on 2020-04-27 17:19 import django.db.models.deletion from django.db import migrations import djongo.models.fields class Migration(migrations.Migration): dependencies = [ ("project", "0004_auto_20200423_1928"), ] operations = [ migrations.AddField( ...
23.555556
60
0.59434
63
636
5.904762
0.650794
0.064516
0.075269
0.11828
0
0
0
0
0
0
0
0.072072
0.301887
636
26
61
24.461538
0.765766
0.072327
0
0.105263
1
0
0.113946
0.039116
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5524ba3ddfdf156782e01d7dda54bf4395495332
4,643
py
Python
Test.py
sujayv/LogisticRegression
729de3441b5e0ab6c59724b11ce0c21b70e8afd1
[ "MIT" ]
null
null
null
Test.py
sujayv/LogisticRegression
729de3441b5e0ab6c59724b11ce0c21b70e8afd1
[ "MIT" ]
null
null
null
Test.py
sujayv/LogisticRegression
729de3441b5e0ab6c59724b11ce0c21b70e8afd1
[ "MIT" ]
null
null
null
from LogisticRegression import LogisticRegression as LR import numpy import matplotlib.pyplot as plt from HingeLoss import HingeLoss as HL staticchoice = raw_input("Please enter your choice\n1. Use the same data set used to create the results of our report\n2. Create a new data set for classification"); #X is the num...
39.347458
165
0.710963
745
4,643
4.37047
0.237584
0.041769
0.055897
0.041769
0.617015
0.57586
0.561732
0.519963
0.400184
0.355651
0
0.041163
0.162826
4,643
117
166
39.683761
0.796501
0.261038
0
0.417722
0
0.025316
0.280856
0
0
0
0
0
0
0
null
null
0
0.050633
null
null
0.012658
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5526e93b66694d7de54a680c424a3e4c8d97cf40
2,174
py
Python
customer_pb2_grpc.py
burato42/grpc-example
26553f5cec55255a2491a2fcd9d5f8f94f2cecd3
[ "MIT" ]
1
2017-11-30T14:19:06.000Z
2017-11-30T14:19:06.000Z
customer_pb2_grpc.py
burato42/grpc-example
26553f5cec55255a2491a2fcd9d5f8f94f2cecd3
[ "MIT" ]
null
null
null
customer_pb2_grpc.py
burato42/grpc-example
26553f5cec55255a2491a2fcd9d5f8f94f2cecd3
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import customer_pb2 as customer__pb2 class CustomerStub(object): """The Customer service definition. """ def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ self.GetCustomers = ...
33.96875
79
0.73873
216
2,174
7.157407
0.319444
0.071151
0.054334
0.031048
0.410737
0.213454
0.165589
0.165589
0.165589
0.165589
0
0.005568
0.173873
2,174
63
80
34.507937
0.855234
0.138454
0
0.205128
1
0
0.108506
0.034896
0
0
0
0
0
1
0.102564
false
0
0.051282
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5529a0179197ba70d3919ad5e43fa561fc064deb
551
py
Python
backend/base/urls/order_urls.py
davidpbc/django-shop
f5a6351a09849e1e790350fc15b54afcebc8cbad
[ "MIT" ]
null
null
null
backend/base/urls/order_urls.py
davidpbc/django-shop
f5a6351a09849e1e790350fc15b54afcebc8cbad
[ "MIT" ]
null
null
null
backend/base/urls/order_urls.py
davidpbc/django-shop
f5a6351a09849e1e790350fc15b54afcebc8cbad
[ "MIT" ]
null
null
null
from django.urls import path from base.views import order_views urlpatterns = [ path('', view=order_views.getOrders, name='orders'), path('add/', view=order_views.addOrderItems, name='orders-add'), path('myorders/', view=order_views.getMyOrders, name='myorders'), path( '<str:pk>/deliver/', ...
34.4375
74
0.671506
67
551
5.41791
0.373134
0.192837
0.231405
0
0
0
0
0
0
0
0
0
0.154265
551
15
75
36.733333
0.77897
0
0
0
0
0
0.185118
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
552e0a5037e1e699c5630e072f71428594f09fba
2,996
py
Python
scrapers/rebus.py
eschanet/QMonit
83f3323fa465b3ae41f9a49f28332bdb5e748685
[ "MIT" ]
1
2020-12-05T16:59:13.000Z
2020-12-05T16:59:13.000Z
scrapers/rebus.py
eschanet/QMonit
83f3323fa465b3ae41f9a49f28332bdb5e748685
[ "MIT" ]
null
null
null
scrapers/rebus.py
eschanet/QMonit
83f3323fa465b3ae41f9a49f28332bdb5e748685
[ "MIT" ]
null
null
null
import os import json from pprint import pprint import collections from . import JSONScraper from commonHelpers.logger import logger logger = logger.getChild("mephisto") class RebusDict(dict): def __init__(self, *args, **kwargs): super(RebusDict, self).__init__(*args, **kwargs) def update(self, ob...
33.288889
88
0.519025
328
2,996
4.60061
0.280488
0.053015
0.04175
0.088138
0.325381
0.19947
0.139165
0.047714
0
0
0
0.000528
0.36749
2,996
89
89
33.662921
0.795778
0.080774
0
0.202899
0
0
0.098977
0
0
0
0
0.011236
0
1
0.072464
false
0
0.086957
0
0.289855
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
553b6b892f75697b5b727286f1e991b76e905a38
1,625
py
Python
formatting.py
yvesdubief/biofeedback
72fd116cac80f22b8ebda09d26f22e5363bd2c09
[ "MIT" ]
null
null
null
formatting.py
yvesdubief/biofeedback
72fd116cac80f22b8ebda09d26f22e5363bd2c09
[ "MIT" ]
null
null
null
formatting.py
yvesdubief/biofeedback
72fd116cac80f22b8ebda09d26f22e5363bd2c09
[ "MIT" ]
null
null
null
%matplotlib inline # plots graphs within the notebook %config InlineBackend.figure_format='svg' # not sure what this does, may be default images to svg format from IPython.display import display,Image, Latex from __future__ import division from sympy.interactive import printing printing.init_printing(use_latex='mathj...
28.017241
104
0.611077
207
1,625
4.690821
0.468599
0.045314
0.07415
0.098867
0.240989
0.240989
0.173018
0.173018
0
0
0
0.021277
0.248
1,625
57
105
28.508772
0.773322
0.080615
0
0.263158
0
0
0.150263
0.050338
0
0
0
0
0
0
null
null
0
0.210526
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
553bd81ace053bd2563f391a94bc8083f533e85b
3,150
py
Python
tests/util.py
byjg/redis-dump-load
7bbdb1eaea0a51ed4758d3ce6ca01d497a4e7429
[ "BSD-2-Clause" ]
158
2015-01-27T00:08:04.000Z
2022-02-25T01:48:38.000Z
tests/util.py
byjg/redis-dump-load
7bbdb1eaea0a51ed4758d3ce6ca01d497a4e7429
[ "BSD-2-Clause" ]
27
2015-02-04T09:06:12.000Z
2021-04-15T23:32:19.000Z
tests/util.py
byjg/redis-dump-load
7bbdb1eaea0a51ed4758d3ce6ca01d497a4e7429
[ "BSD-2-Clause" ]
56
2015-06-01T03:04:46.000Z
2022-03-03T07:30:52.000Z
import nose.plugins.skip import functools import sys try: import ijson as ijson_root have_ijson = True except ImportError: have_ijson = False py3 = sys.version_info[0] == 3 # python 2/3 compatibility if py3: # borrowed from six def b(s): '''Byte literal''' return s.encode("latin-1...
29.716981
91
0.603175
354
3,150
5.242938
0.327684
0.043103
0.034483
0.040948
0.262931
0.167026
0.143319
0.143319
0.040948
0.040948
0
0.005425
0.297778
3,150
105
92
30
0.833635
0.062857
0
0.390244
0
0
0.05434
0
0
0
0
0
0
1
0.195122
false
0
0.121951
0
0.512195
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5541730ffb4ea3f3c6d6c6449ec60bcf5b3f436c
953
py
Python
places/migrations/0004_auto_20180903_1308.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
null
null
null
places/migrations/0004_auto_20180903_1308.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
38
2019-01-22T10:50:01.000Z
2019-01-28T15:19:15.000Z
places/migrations/0004_auto_20180903_1308.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.1.1 on 2018-09-03 11:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('places', '0003_auto_20180903_1305'), ] operations = [ migrations.AddField( model_name='places', ...
28.029412
112
0.580273
95
953
5.726316
0.505263
0.066176
0.110294
0.139706
0.336397
0.244485
0.172794
0.172794
0
0
0
0.052474
0.300105
953
33
113
28.878788
0.763118
0.047219
0
0.464286
1
0
0.111479
0.025386
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55418f3a509788adea0ed7ab06ba2ce90a4806d2
974
py
Python
fases/fase_smf.py
sidneimf/pythonbirds
77a163d1ef21809fa960bf14afcabd56610e5d08
[ "MIT" ]
null
null
null
fases/fase_smf.py
sidneimf/pythonbirds
77a163d1ef21809fa960bf14afcabd56610e5d08
[ "MIT" ]
null
null
null
fases/fase_smf.py
sidneimf/pythonbirds
77a163d1ef21809fa960bf14afcabd56610e5d08
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from os import path import sys import math project_dir = path.dirname(__file__) project_dir = path.join('..') sys.path.append(project_dir) from atores import PassaroAmarelo, PassaroVermelho, Obstaculo, Porco from fase import Fase from placa_grafica_tkinter import rodar_fase from random import ...
26.324324
68
0.686858
133
974
4.781955
0.481203
0.081761
0.044025
0
0
0
0
0
0
0
0
0.073604
0.190965
974
37
69
26.324324
0.733503
0.068789
0
0
0
0
0.011074
0
0
0
0
0
0
1
0
false
0.125
0.291667
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5549c4fc564fe096795600f0664b6210413d9f6c
2,279
py
Python
icekit_events/admin_forms.py
ic-labs/icekit-events
70733bfe470f16e740d7a0a57244ecf027dae5a5
[ "MIT" ]
3
2016-08-10T06:03:59.000Z
2020-06-08T11:35:48.000Z
icekit_events/admin_forms.py
ic-labs/icekit-events
70733bfe470f16e740d7a0a57244ecf027dae5a5
[ "MIT" ]
29
2016-08-10T06:17:53.000Z
2017-06-05T05:54:08.000Z
icekit_events/admin_forms.py
ic-labs/icekit-events
70733bfe470f16e740d7a0a57244ecf027dae5a5
[ "MIT" ]
2
2016-11-24T02:04:38.000Z
2021-01-05T20:07:41.000Z
""" Admin forms for ``icekit_events`` app. """ from django import forms from . import models class BaseEventRepeatsGeneratorForm(forms.ModelForm): class Meta: fields = '__all__' model = models.EventRepeatsGenerator @property def media(self): media = super(BaseEventRepeatsGenera...
32.098592
119
0.664326
273
2,279
5.369963
0.490842
0.036835
0.038881
0.047067
0.280355
0.248977
0.208049
0.167121
0.079127
0.079127
0
0.013675
0.229925
2,279
70
120
32.557143
0.821652
0.407196
0
0.375
0
0
0.10574
0.046828
0
0
0
0.014286
0
1
0.125
false
0
0.0625
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5554509d04ff11ef8d43b7e726fdd9dc154a7305
5,197
py
Python
useis/tomography/data.py
jeanphilippemercier/uquake-useis
fb03197852e4180ad32c6308787543b2af95f798
[ "MIT" ]
null
null
null
useis/tomography/data.py
jeanphilippemercier/uquake-useis
fb03197852e4180ad32c6308787543b2af95f798
[ "MIT" ]
null
null
null
useis/tomography/data.py
jeanphilippemercier/uquake-useis
fb03197852e4180ad32c6308787543b2af95f798
[ "MIT" ]
null
null
null
# # @Author : Jean-Pascal Mercier <jean-pascal.mercier@agsis.com> # # # __doc__ = \ """ TODO : BIG DESCRIPTION OF EXCHANGE DATA """ import numpy as np import pickle import copy from functools import wraps def memoize(fct): """ This is a decorator which cache the result of a function based on the given pa...
26.78866
79
0.611507
646
5,197
4.617647
0.250774
0.04291
0.023466
0.015085
0.141804
0.109956
0.095206
0.054308
0.030841
0
0
0.002706
0.289013
5,197
193
80
26.927461
0.804601
0.131614
0
0.112069
0
0
0.02472
0
0
0
0
0.005181
0
1
0.189655
false
0.025862
0.043103
0.086207
0.508621
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
55556c43d7910a7ecfe016dc867178418f4707cd
3,608
py
Python
applications/dcase_scenes_sketch.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
applications/dcase_scenes_sketch.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
applications/dcase_scenes_sketch.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
from __future__ import print_function, absolute_import import sys import os sys.path.append(os.path.split(os.path.dirname(os.path.realpath(__file__)))[0]) import pandas as pd from dcase_framework.sketch_utils import create_model, VerySimpleGenerator, get_callbacks, get_learner_params def process_dataset_txt(txt_filen...
50.111111
120
0.589523
381
3,608
5.246719
0.291339
0.123562
0.090045
0.028514
0.373687
0.337169
0.337169
0.306153
0.262131
0.262131
0
0.012893
0.269124
3,608
71
121
50.816901
0.745165
0.103936
0
0.230769
0
0
0.142193
0.021995
0
0
0
0.014085
0
1
0.057692
false
0
0.096154
0.019231
0.173077
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5559fcb56d599881a391628d769c7f7d8cd05d0c
1,057
py
Python
pygametest.py
martinohanlon/initio
f5a9d64044d60e8fe0f3f30e91d90464c0cf2e7f
[ "MIT" ]
8
2015-07-19T06:47:34.000Z
2022-02-08T19:21:05.000Z
pygametest.py
jimmy95/initio
f5a9d64044d60e8fe0f3f30e91d90464c0cf2e7f
[ "MIT" ]
null
null
null
pygametest.py
jimmy95/initio
f5a9d64044d60e8fe0f3f30e91d90464c0cf2e7f
[ "MIT" ]
3
2016-11-17T19:18:55.000Z
2021-05-09T22:21:52.000Z
import pygame from pygame.locals import * import os, sys # set SDL to use the dummy NULL video driver, # so it doesn't need a windowing system. os.environ["SDL_VIDEODRIVER"] = "dummy" # init pygame pygame.init() # create a 1x1 pixel screen, its not used screen = pygame.display.set_mode((1, 1)) # i...
22.489362
47
0.615894
131
1,057
4.946565
0.564886
0.055556
0.060185
0
0
0
0
0
0
0
0
0.006784
0.302744
1,057
46
48
22.978261
0.872456
0.280984
0
0.095238
0
0
0.028531
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.238095
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
556371c61e6416ccd2bf935b6da43e0edfacd0dc
5,829
py
Python
server.py
ws-cards/photoRunner
139e799d90bc3977c043bca94e4c95f2633a8570
[ "MIT" ]
null
null
null
server.py
ws-cards/photoRunner
139e799d90bc3977c043bca94e4c95f2633a8570
[ "MIT" ]
null
null
null
server.py
ws-cards/photoRunner
139e799d90bc3977c043bca94e4c95f2633a8570
[ "MIT" ]
null
null
null
import numpy as np from PIL import Image from feature_extractor import FeatureExtractor from datetime import datetime from flask import Flask, request, render_template ,jsonify from pathlib import Path from flask import jsonify from io import BytesIO import base64 import re from urllib.request import urlopen import jso...
35.981481
126
0.595471
639
5,829
5.331768
0.270736
0.023481
0.012328
0.017611
0.692398
0.668036
0.668036
0.668036
0.668036
0.668036
0
0.036208
0.256133
5,829
161
127
36.204969
0.749539
0.147024
0
0.488
0
0.016
0.150314
0.009711
0
0
0
0
0
1
0.016
false
0
0.096
0
0.144
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55637d42050bf080809ff4e93576d24326b26a02
370
py
Python
django_productline/root_urlconf.py
henzk/django-productline
24ff156924c1a8c07b99cbb8a1de0a42b8d81f60
[ "MIT" ]
5
2015-06-16T17:36:33.000Z
2017-10-17T19:22:59.000Z
django_productline/root_urlconf.py
henzk/django-productline
24ff156924c1a8c07b99cbb8a1de0a42b8d81f60
[ "MIT" ]
8
2016-03-14T09:02:13.000Z
2017-11-16T16:00:31.000Z
django_productline/root_urlconf.py
henzk/django-productline
24ff156924c1a8c07b99cbb8a1de0a42b8d81f60
[ "MIT" ]
17
2015-08-04T18:45:18.000Z
2017-11-16T14:52:46.000Z
from __future__ import unicode_literals """ django-productline root urlconf urlpatterns are constructed by refining django_productline.urls.get_urls. Here, get_urls is called to get the (composed) urlpatterns. Django uses these to construct the root RegexUrlResolver. """ from django_productline import urls urlpatt...
24.666667
73
0.813514
50
370
5.78
0.54
0.176471
0.076125
0
0
0
0
0
0
0
0
0
0.124324
370
14
74
26.428571
0.891975
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
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
0
0
0
1
0
0
0
0
1
556657526ee3d1828f5d1aa1cb0c71f3d865e082
386
py
Python
src/python/data_structures/Queue.py
aerotog/ctci_must_knows
4d91c2033112c9ac7ecc19a2716d61301e028323
[ "MIT" ]
null
null
null
src/python/data_structures/Queue.py
aerotog/ctci_must_knows
4d91c2033112c9ac7ecc19a2716d61301e028323
[ "MIT" ]
null
null
null
src/python/data_structures/Queue.py
aerotog/ctci_must_knows
4d91c2033112c9ac7ecc19a2716d61301e028323
[ "MIT" ]
null
null
null
from typing import Optional from data_structures.LinkedList import LinkedList # First in, first out class Queue(LinkedList): def Enqueue(self, num: int): self.add(num) def Dequeue(self) -> Optional[int]: if self._head: front = self._head self._head = self._head.next ...
21.444444
49
0.606218
47
386
4.87234
0.574468
0.139738
0.104803
0.139738
0
0
0
0
0
0
0
0
0.313472
386
17
50
22.705882
0.864151
0.049223
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1