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
4051063313243018e98e61263d96a0c2d94dba56
5,521
py
Python
tests/test_nn_Conv3D.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
95
2019-09-27T14:26:59.000Z
2020-12-08T01:20:28.000Z
tests/test_nn_Conv3D.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
51
2018-04-04T22:39:30.000Z
2019-08-28T20:19:14.000Z
tests/test_nn_Conv3D.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
22
2019-09-03T08:50:04.000Z
2020-12-02T11:05:42.000Z
# Copyright (c) 2021 PaddlePaddle Authors. 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 applic...
25.560185
77
0.55298
764
5,521
3.844241
0.175393
0.061287
0.044263
0.057882
0.64794
0.623425
0.623425
0.623425
0.623425
0.614573
0
0.07339
0.29415
5,521
215
78
25.67907
0.680267
0.247238
0
0.586777
0
0
0.076312
0
0
0
0
0
0
1
0.099174
false
0
0.024793
0
0.140496
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
405465fa04191f385720cb6d1e637f0305d6d4e4
2,693
py
Python
nuskybgd/env.py
bwgref/nuskybgd-py
4d243706456d8f9d40541006c5453ade42815345
[ "MIT" ]
2
2020-04-17T01:28:55.000Z
2022-03-15T12:33:59.000Z
nuskybgd/env.py
bwgref/nuskybgd-py
4d243706456d8f9d40541006c5453ade42815345
[ "MIT" ]
10
2019-12-22T00:06:52.000Z
2022-01-04T21:46:33.000Z
nuskybgd/env.py
bwgref/nuskybgd-py
4d243706456d8f9d40541006c5453ade42815345
[ "MIT" ]
3
2020-04-15T20:50:29.000Z
2022-01-04T21:31:53.000Z
# (c) 2019 Qian Wang # This file is part of nuskybgd released under MIT License. # See LICENSE file for full details. import os from . import env _PASSCHECK = False _AUX_ENV = 'NUSKYBGD_AUXIL' _AUX_DIR = '' _AUX_FILES = [ 'be.arf', 'diag.rmf', 'fcxbA.arf', 'fcxbB.arf', 'nomapbgdparams.dat', 'd...
29.271739
84
0.632752
367
2,693
4.47139
0.299728
0.053626
0.02925
0.047532
0.279098
0.25716
0.25716
0.25716
0.25716
0.25716
0
0.003009
0.259562
2,693
91
85
29.593407
0.81996
0.364649
0
0.166667
0
0
0.255671
0
0
0
0
0
0
1
0.037037
false
0.055556
0.055556
0
0.148148
0.12963
0
0
0
null
0
0
0
0
0
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
405b7ad7f431a2ba8cf63fd0e49e610b4f309e5f
6,612
py
Python
metaseq_template.py
binzume/metaseq-py
bc3dcadc6d53c0f010064cb460297352d5a688ed
[ "MIT" ]
null
null
null
metaseq_template.py
binzume/metaseq-py
bc3dcadc6d53c0f010064cb460297352d5a688ed
[ "MIT" ]
null
null
null
metaseq_template.py
binzume/metaseq-py
bc3dcadc6d53c0f010064cb460297352d5a688ed
[ "MIT" ]
null
null
null
# coding: utf-8 import re from collections import * class AttrObj(object): def __init__(self, attrs=[], line = None): self._attrs = OrderedDict(attrs) self._line = line def apply_or_def(_s, f, v, default): return f(v) if v is not None else default def attr_i(self, name, default = None): return se...
29.127753
123
0.628403
1,022
6,612
3.918787
0.180039
0.052434
0.036704
0.021973
0.383021
0.325843
0.325843
0.310861
0.295381
0.262921
0
0.018762
0.218088
6,612
226
124
29.256637
0.755899
0.327284
0
0.172414
0
0.043103
0.016972
0
0
0
0
0
0
0
null
null
0
0.017241
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
40641026c6620c86b9082bd0f30c5e5d0d03bc8c
2,028
py
Python
misc/make_test_image.py
rstebbing/shards
3f03903a37871e8fbd8338a9d5b125f02be87a2b
[ "MIT" ]
5
2017-08-15T05:49:53.000Z
2021-03-03T04:38:08.000Z
misc/make_test_image.py
rstebbing/shards
3f03903a37871e8fbd8338a9d5b125f02be87a2b
[ "MIT" ]
null
null
null
misc/make_test_image.py
rstebbing/shards
3f03903a37871e8fbd8338a9d5b125f02be87a2b
[ "MIT" ]
null
null
null
########################################## # File: make_test_image.py # # Copyright Richard Stebbing 2014. # # Distributed under the MIT License. # # (See accompany file LICENSE or copy at # # http://opensource.org/licenses/MIT) # ########################################## # Imports import a...
31.2
71
0.593688
266
2,028
4.409774
0.390977
0.068201
0.086957
0.02728
0.081841
0
0
0
0
0
0
0.015913
0.225345
2,028
64
72
31.6875
0.730745
0.11785
0
0
0
0
0.089349
0
0
0
0
0
0
0
null
null
0
0.139535
null
null
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4068550b04247c5a018c2784cd99c8d5e074c848
2,841
py
Python
list.py
Expert37/python_lesson_3
047968b5c04022b95a88fab7ff78e831a72cc48c
[ "MIT" ]
null
null
null
list.py
Expert37/python_lesson_3
047968b5c04022b95a88fab7ff78e831a72cc48c
[ "MIT" ]
null
null
null
list.py
Expert37/python_lesson_3
047968b5c04022b95a88fab7ff78e831a72cc48c
[ "MIT" ]
null
null
null
# Инициализация (генераторы) list_temp = [] # пустой список print(type(list_temp)) list_temp = [1.2, 123, 'Volvo', [1,2,3]] print(list_temp) # пройдем по элементам списка (функция el) for el in list_temp: print(el, type(el)) # list - строка разбивается на элементы, где каждый элемент представляет собой эл...
33.034884
133
0.736008
448
2,841
4.553571
0.34375
0.156373
0.054902
0.021569
0.109314
0.109314
0.109314
0.109314
0.066176
0.066176
0
0.017879
0.153467
2,841
85
134
33.423529
0.830353
0.376276
0
0.311111
0
0
0.014297
0
0
0
0
0
0
1
0
false
0
0.022222
0
0.022222
0.466667
0
0
0
null
0
0
0
0
0
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
406a3cc4c8cbcdecbf5175b0adce9d4701022bdb
3,906
py
Python
tests/test_less2sass.py
HandyCodeJob/less2sass
8432b42e7380b017cbc1cb45404d8010f9c5a7f6
[ "0BSD" ]
null
null
null
tests/test_less2sass.py
HandyCodeJob/less2sass
8432b42e7380b017cbc1cb45404d8010f9c5a7f6
[ "0BSD" ]
null
null
null
tests/test_less2sass.py
HandyCodeJob/less2sass
8432b42e7380b017cbc1cb45404d8010f9c5a7f6
[ "0BSD" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_less2sass ---------------------------------- Tests for `less2sass` module. """ import unittest from less2sass import less2sass class TestLess2sassVariables(unittest.TestCase): """ Test for how variables are represented in less and sass """ de...
24.26087
104
0.526114
381
3,906
5.293963
0.251969
0.063461
0.058999
0.083292
0.704512
0.668815
0.595935
0.549826
0.389192
0.339613
0
0.024087
0.341014
3,906
160
105
24.4125
0.759518
0.18382
0
0.63964
0
0
0.467398
0
0
0
0
0
0.054054
1
0.108108
false
0.054054
0.018018
0
0.153153
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
4073d9aca38f281ddd6d10fa196d953a440b16e0
7,276
py
Python
lesson4/train_with_numpy.py
BaiduOSS/PaddleTutorial
d71136c105b78b57c5df1fe98e19e2fd8ee65045
[ "Apache-2.0" ]
33
2018-03-18T08:56:11.000Z
2022-01-06T14:43:54.000Z
lesson4/train_with_numpy.py
weiexcelpro/DeepLearningAndPaddleTutorial
01efade3b02204042b771aeecd887e320b5e10a1
[ "Apache-2.0" ]
5
2017-12-06T12:40:59.000Z
2019-07-05T08:47:48.000Z
lesson4/train_with_numpy.py
weiexcelpro/DeepLearningAndPaddleTutorial
01efade3b02204042b771aeecd887e320b5e10a1
[ "Apache-2.0" ]
43
2017-12-06T12:51:16.000Z
2022-01-06T14:44:00.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Authors: Jiahui Liu(2505774110@qq.com) Date: 2017/11/17 17:27:06 使用python及numpy库来实现浅层神经网络识别花型图案,关键步骤如下: 1.载入数据和预处理:load_planar_dataset 2.初始化模型参数(Parameters) 3.循环: a) 计算成本(Cost) b) 计算梯度(Gradient) c) 更新参数(Gradient Descent) 4.搭建双层...
22.45679
81
0.534497
964
7,276
3.919087
0.258299
0.010058
0.005559
0.004235
0.179989
0.131816
0.082054
0.082054
0.06829
0.06829
0
0.058655
0.327515
7,276
323
82
22.526316
0.713468
0.077103
0
0.223077
0
0
0.064388
0
0
0
0
0
0.046154
0
null
null
0
0.023077
null
null
0.084615
0
0
0
null
0
0
0
0
0
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
407b80036e7236190265a28578975d5983485fa3
2,237
py
Python
Synonym.py
rmanak/search_relevance
5a95e9d04197f460fd89d58cd8088e391af9f19a
[ "MIT" ]
17
2016-05-03T15:39:08.000Z
2019-12-17T08:48:41.000Z
Synonym.py
rmanak/search_relevance
5a95e9d04197f460fd89d58cd8088e391af9f19a
[ "MIT" ]
null
null
null
Synonym.py
rmanak/search_relevance
5a95e9d04197f460fd89d58cd8088e391af9f19a
[ "MIT" ]
9
2016-04-30T18:21:59.000Z
2020-01-07T19:44:56.000Z
''' This code finds the synonyms of the words in search quesries. Returns "ForgetIt" if the search query consists of stop words only (e.g. search_query = 'or'), or no synomyms are found for the search query INPUT FILES: Hamid_data_trimmed/training_data_trimmed.csv Hamid_data_trimmed/test_data_trimmed.csv OUTPUTS: al...
28.679487
99
0.682164
297
2,237
4.983165
0.377104
0.066892
0.054054
0.025676
0.255405
0.231081
0.189189
0
0
0
0
0.010532
0.193563
2,237
77
100
29.051948
0.809867
0.063925
0
0.142857
0
0
0.203524
0.112394
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.02381
0
0
0
null
0
0
0
0
0
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
407cb9aad59b4b6efefe4eb3782ab034d8f61aa5
961
py
Python
lib/werkzeug.py
sunyuting83/linux-panel-python3-server
c5f3044e2732116a5f080ead0a7442cfd3cdda7b
[ "MIT" ]
null
null
null
lib/werkzeug.py
sunyuting83/linux-panel-python3-server
c5f3044e2732116a5f080ead0a7442cfd3cdda7b
[ "MIT" ]
null
null
null
lib/werkzeug.py
sunyuting83/linux-panel-python3-server
c5f3044e2732116a5f080ead0a7442cfd3cdda7b
[ "MIT" ]
null
null
null
class Local(object): __slots__ = ("__storage__", "__ident_func__") def __init__(self): object.__setattr__(self, "__storage__", {}) object.__setattr__(self, "__ident_func__", get_ident) def __iter__(self): return iter(self.__storage__.items()) def __call__(self, proxy): """Create a proxy for a...
26.694444
58
0.679501
111
961
4.981982
0.306306
0.097649
0.117541
0.072333
0.235081
0.235081
0.235081
0.235081
0.235081
0.235081
0
0
0.19563
961
36
59
26.694444
0.715395
0.027055
0
0.285714
0
0
0.053763
0
0
0
0
0
0
1
0.25
false
0
0
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
407d7a5cbd695d9d374108bc02098104d1dcd782
16,198
py
Python
calvin/runtime/south/storage/twistedimpl/securedht/service_discovery_ssdp.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
334
2015-06-04T15:14:28.000Z
2022-02-09T11:14:17.000Z
calvin/runtime/south/storage/twistedimpl/securedht/service_discovery_ssdp.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
89
2015-06-13T19:15:35.000Z
2019-12-03T19:23:20.000Z
calvin/runtime/south/storage/twistedimpl/securedht/service_discovery_ssdp.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
112
2015-06-06T19:16:54.000Z
2020-10-19T01:27:55.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson AB # # 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 ...
42.626316
134
0.558464
1,909
16,198
4.551074
0.17758
0.086096
0.023941
0.019337
0.412523
0.327693
0.294774
0.263582
0.237109
0.188536
0
0.015312
0.322632
16,198
379
135
42.738786
0.776522
0.110199
0
0.251852
0
0.011111
0.10764
0.012162
0
0
0
0.002639
0
0
null
null
0.007407
0.040741
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
4080f37a02983fa9fc11b62880a9b93b84e826df
765
py
Python
ProyectoFinal/administrador/urls.py
PredadorAkrid/IS-2020-2-La-Orden-De-Turing
cc292723a7bc4e4c1f848d00484f62ac75e7ad20
[ "Apache-2.0" ]
null
null
null
ProyectoFinal/administrador/urls.py
PredadorAkrid/IS-2020-2-La-Orden-De-Turing
cc292723a7bc4e4c1f848d00484f62ac75e7ad20
[ "Apache-2.0" ]
null
null
null
ProyectoFinal/administrador/urls.py
PredadorAkrid/IS-2020-2-La-Orden-De-Turing
cc292723a7bc4e4c1f848d00484f62ac75e7ad20
[ "Apache-2.0" ]
null
null
null
from django.urls import path from django.conf.urls import url, include from administrador import views from .views import * import repartidor from repartidor import views app_name = "administrador" urlpatterns = [ # temporal, no se llamarán así las vistas path("", index, name="IndexAdministrador"), # r...
34.772727
81
0.722876
112
765
4.875
0.401786
0.043956
0.051282
0.058608
0.102564
0.102564
0.102564
0.102564
0.102564
0
0
0
0.173856
765
21
82
36.428571
0.863924
0.324183
0
0
0
0
0.271484
0.105469
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
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
4081998da3fa83b369e0b5d839ef88b76ee8cdc1
8,785
py
Python
ambari-server/src/main/resources/stacks/ODP/1.0/services/OOZIE/package/scripts/oozie_service.py
zyclove/ambari
1032f0f54cb7b312b9a3b37570cd840f4e1e89d4
[ "Apache-2.0" ]
null
null
null
ambari-server/src/main/resources/stacks/ODP/1.0/services/OOZIE/package/scripts/oozie_service.py
zyclove/ambari
1032f0f54cb7b312b9a3b37570cd840f4e1e89d4
[ "Apache-2.0" ]
null
null
null
ambari-server/src/main/resources/stacks/ODP/1.0/services/OOZIE/package/scripts/oozie_service.py
zyclove/ambari
1032f0f54cb7b312b9a3b37570cd840f4e1e89d4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2 """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); yo...
45.518135
270
0.69243
1,173
8,785
4.948849
0.268542
0.037898
0.033592
0.029457
0.28286
0.194832
0.167097
0.136951
0.06615
0.03273
0
0.010105
0.211497
8,785
192
271
45.755208
0.82792
0.035174
0
0.238462
0
0.069231
0.250536
0.106836
0
0
0
0
0.007692
0
null
null
0.007692
0.123077
null
null
0.007692
0
0
0
null
0
0
0
0
0
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
40829b594a768550a1f1f706d50ba4fdf115ae62
695
py
Python
shopping/migrations/0004_imagem.py
EnzoSoares73/uai_pharma
271bdb52c0f7325057fabde4296b35d4859eaa01
[ "MIT" ]
null
null
null
shopping/migrations/0004_imagem.py
EnzoSoares73/uai_pharma
271bdb52c0f7325057fabde4296b35d4859eaa01
[ "MIT" ]
null
null
null
shopping/migrations/0004_imagem.py
EnzoSoares73/uai_pharma
271bdb52c0f7325057fabde4296b35d4859eaa01
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-28 23:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shopping', '0003_alter_produto_promocao'), ] operations = [ migrations.CreateModel( name='Image...
30.217391
117
0.617266
74
695
5.675676
0.621622
0.057143
0.066667
0.104762
0
0
0
0
0
0
0
0.036329
0.247482
695
22
118
31.590909
0.76673
0.064748
0
0
1
0
0.123457
0.041667
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
408683a42615f7fea66ca991a9bda46d4bd75a7a
3,171
py
Python
Week3/exercise2.py
tb2010/pynet
bb206d7ff0d183f62ca8549b596011de6a28b3d4
[ "MIT" ]
null
null
null
Week3/exercise2.py
tb2010/pynet
bb206d7ff0d183f62ca8549b596011de6a28b3d4
[ "MIT" ]
null
null
null
Week3/exercise2.py
tb2010/pynet
bb206d7ff0d183f62ca8549b596011de6a28b3d4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Exercise 2 Using SNMPv3 create two SVG image files. The first image file should graph the input and output octets on interface FA4 on pynet-rtr1 every five minutes for an hour. Use the pygal library to create the SVG graph file. Note, you should be doing a subtraction here (i.e. the input/...
31.39604
116
0.638284
481
3,171
3.954262
0.309771
0.047319
0.028917
0.008412
0.208202
0.128286
0.128286
0.076761
0.076761
0.076761
0
0.037815
0.249448
3,171
100
117
31.71
0.761345
0.03942
0
0
0
0
0.228135
0
0
0
0
0
0
0
null
null
0.035088
0.070175
null
null
0.070175
0
0
0
null
0
0
0
0
0
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
408cbca84a10b9cb9231774cbc836607c3c231fa
1,022
py
Python
bps/asm.py
tcprescott/python-bps
ba67afa7ac22b91f51667f414454389483ff6367
[ "WTFPL" ]
1
2021-07-03T18:01:39.000Z
2021-07-03T18:01:39.000Z
bps/asm.py
tcprescott/python-bps
ba67afa7ac22b91f51667f414454389483ff6367
[ "WTFPL" ]
null
null
null
bps/asm.py
tcprescott/python-bps
ba67afa7ac22b91f51667f414454389483ff6367
[ "WTFPL" ]
null
null
null
# This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms of the Do What The Fuck You Want # To Public License, Version 2, as published by Sam Hocevar. See # the COPYING file included with this distribution or ...
30.969697
69
0.751468
179
1,022
4.167598
0.480447
0.053619
0.042895
0.058981
0.22252
0.22252
0.22252
0.22252
0.22252
0.112601
0
0.00117
0.163405
1,022
32
70
31.9375
0.871345
0.76908
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
408eab62ec33e68827b0b0bcf28f3b575c611c54
8,479
py
Python
ConductionTracking.py
superbock/HAMR2014
7fbf77685953c3e60a7afae7f05cbe614e7717e0
[ "BSD-2-Clause" ]
1
2015-03-30T16:45:07.000Z
2015-03-30T16:45:07.000Z
ConductionTracking.py
superbock/HAMR2014
7fbf77685953c3e60a7afae7f05cbe614e7717e0
[ "BSD-2-Clause" ]
null
null
null
ConductionTracking.py
superbock/HAMR2014
7fbf77685953c3e60a7afae7f05cbe614e7717e0
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ Copyright (c) Sebastian Böck <sebastian.boeck@jku.at> Quick and dirty hack done for conduction tracking of motion features loaded from a file using the bar pointer model [1] and a DBN with fitted GMMs as in [2]. References: [1] N. Whiteley, A. T. Cemgil, and S. Godsill. ...
37.352423
79
0.621653
1,010
8,479
5.077228
0.285149
0.026521
0.025741
0.016381
0.12383
0.080538
0.054602
0.014041
0
0
0
0.009827
0.291898
8,479
226
80
37.517699
0.843937
0.073122
0
0.018349
0
0
0.142806
0.024342
0
0
0
0
0
0
null
null
0
0.055046
null
null
0.018349
0
0
0
null
0
0
0
0
0
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
4094afd9cd14b3dd8b3505ce0b878072ca7efd2b
677
py
Python
src/blog/urls.py
codingforentrepreneurs/Django-Views-Unleashed
b31b644bca0fda328b24f474c27ed8acb7c86921
[ "MIT" ]
18
2016-10-28T08:51:59.000Z
2022-02-03T05:13:08.000Z
src/blog/urls.py
codingforentrepreneurs/Django-Views-Unleashed
b31b644bca0fda328b24f474c27ed8acb7c86921
[ "MIT" ]
null
null
null
src/blog/urls.py
codingforentrepreneurs/Django-Views-Unleashed
b31b644bca0fda328b24f474c27ed8acb7c86921
[ "MIT" ]
24
2016-10-28T15:42:45.000Z
2021-08-24T12:02:22.000Z
from django.conf.urls import url from .views import ( post_model_create_view, post_model_detail_view, post_model_delete_view, post_model_list_view, post_model_update_view ) urlpatterns = [ url(r'^$', post_model_list_view, name='list'), url(r'^create/$', post_model_create_view, name='c...
30.772727
73
0.651403
100
677
4.1
0.27
0.219512
0.126829
0.05122
0.058537
0
0
0
0
0
0
0
0.14771
677
21
74
32.238095
0.710572
0.169867
0
0
0
0
0.166369
0.037567
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
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
409b39691775ff898d4f93ecb3fd2283976a051e
34,087
py
Python
examples/pxScene2d/external/libnode-v0.12.7/deps/v8/tools/ll_prof.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
2,494
2015-02-11T04:34:13.000Z
2022-03-31T14:21:47.000Z
examples/pxScene2d/external/libnode-v0.12.7/deps/v8/tools/ll_prof.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/libnode-v0.12.7/deps/v8/tools/ll_prof.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
442
2015-02-12T13:45:46.000Z
2022-03-21T05:28:05.000Z
#!/usr/bin/env python # # Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # noti...
33.649556
97
0.643588
4,566
34,087
4.599431
0.139071
0.030284
0.008571
0.012047
0.239941
0.16723
0.118185
0.086805
0.071425
0.065425
0
0.0155
0.246692
34,087
1,012
98
33.682806
0.80236
0.096694
0
0.189826
0
0.003722
0.138678
0.010453
0
0
0
0.000988
0.013648
0
null
null
0
0.014888
null
null
0.042184
0
0
0
null
0
0
0
0
0
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
40a6cfab146ea70eb9a9e47dc196522a7bab2bb6
1,041
py
Python
hackerearth/Algorithms/Minimize the value/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/Minimize the value/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/Minimize the value/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from collections import defaultdict def d...
26.025
94
0.566763
161
1,041
3.627329
0.440994
0.059932
0.056507
0.082192
0.121575
0.085616
0
0
0
0
0
0.018519
0.273775
1,041
39
95
26.692308
0.753968
0.255524
0
0
0
0
0
0
0
0
0
0.025641
0
1
0.04
false
0
0.04
0
0.08
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
1
0
0
0
0
0
0
0
0
0
0
1
40ab2eed51374d9b8255cd3fd93d761f413d1a83
552
py
Python
cacahuate/tasks.py
tracsa/cacahuate
14cb799695a4a49ca13d8037a1e15a398f5e70da
[ "MIT" ]
3
2018-05-18T01:49:13.000Z
2019-02-22T22:03:18.000Z
cacahuate/tasks.py
tracsa/cacahuate
14cb799695a4a49ca13d8037a1e15a398f5e70da
[ "MIT" ]
23
2018-04-05T22:44:53.000Z
2021-09-14T20:33:34.000Z
cacahuate/tasks.py
tracsa/pvm
14cb799695a4a49ca13d8037a1e15a398f5e70da
[ "MIT" ]
5
2018-07-06T14:07:41.000Z
2022-02-28T12:26:00.000Z
import os import logging import traceback from itacate import Config from celery import Celery from .handler import Handler LOGGER = logging.getLogger(__name__) config = Config(os.path.dirname(os.path.realpath(__file__))) config.from_object('cacahuate.settings') if os.getenv('CACAHUATE_SETTINGS'): config.from_e...
20.444444
60
0.751812
71
552
5.647887
0.535211
0.074813
0
0
0
0
0
0
0
0
0
0
0.141304
552
26
61
21.230769
0.845992
0
0
0
0
0
0.097826
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.368421
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
40ab35e6d87bfe2ebcf41a62d982b6c2de16489a
386
py
Python
python/function.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
python/function.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
python/function.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
def example(): print('basic function') z=3+9 print(z) #Function with parameter def add(a,b): c=a+b print('the result is',c) add(5,3) add(a=3,b=5) #Function with default parameters def add_new(a,b=6): print(a,b) add_new(2) def basic_window(width,height,font='TNR',bgc='w',scrollbar=True):...
15.44
65
0.647668
71
386
3.464789
0.478873
0.03252
0.121951
0
0
0
0
0
0
0
0
0.044025
0.176166
386
24
66
16.083333
0.72956
0.15285
0
0
0
0
0.098765
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.266667
0.333333
0
0
0
null
0
0
0
0
0
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
40ac1584d6f39237117d0874ea57025be191cc21
523
py
Python
kolibri/logger/migrations/0003_auto_20170531_1140.py
jonboiser/kolibri
8ea2febc1739ac772007aae4084f0226dfb4ed40
[ "MIT" ]
1
2021-03-26T03:44:24.000Z
2021-03-26T03:44:24.000Z
kolibri/logger/migrations/0003_auto_20170531_1140.py
jonboiser/kolibri
8ea2febc1739ac772007aae4084f0226dfb4ed40
[ "MIT" ]
7
2016-06-23T16:01:02.000Z
2018-12-01T22:15:13.000Z
kolibri/logger/migrations/0003_auto_20170531_1140.py
MingDai/kolibri
e4719b7d41a40e0cc9fc4150bc137017643fea62
[ "MIT" ]
1
2021-06-01T23:15:26.000Z
2021-06-01T23:15:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-05-31 18:40 from __future__ import unicode_literals import kolibri.core.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('logger', '0002_auto_20170518_1031'), ] operations = [ mig...
23.772727
77
0.655832
58
523
5.724138
0.793103
0.066265
0.10241
0
0
0
0
0
0
0
0
0.079801
0.23327
523
21
78
24.904762
0.74813
0.128107
0
0
1
0
0.152318
0.108168
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40aca7be755a9fe4ad8944044ccaa1b60b49333b
2,444
py
Python
warehouse/ingest-scripts/src/main/resources/bin/ingest/cleanup-server.py
AJDubya/datawave
8e075addfb87da32cf4edc9b87b09f10fad3579a
[ "Apache-2.0" ]
1
2019-10-18T08:58:03.000Z
2019-10-18T08:58:03.000Z
warehouse/ingest-scripts/src/main/resources/bin/ingest/cleanup-server.py
josecarlosanpedro/datawave
aea4f1dd67e679ea95935adb9020d395ac21a66c
[ "Apache-2.0" ]
null
null
null
warehouse/ingest-scripts/src/main/resources/bin/ingest/cleanup-server.py
josecarlosanpedro/datawave
aea4f1dd67e679ea95935adb9020d395ac21a66c
[ "Apache-2.0" ]
1
2020-01-17T14:10:53.000Z
2020-01-17T14:10:53.000Z
#!/usr/bin/env python import time import string import os import sys import datetime thisdir = sys.path[0] if thisdir=="": thisdir="." if not thisdir.endswith("/"): thisdir=thisdir+"/" logdir = os.getenv("LOG_DIR") if not logdir.endswith("/"): logdir=logdir+"/" print "Log dir = "+logdir archived...
35.941176
109
0.507365
257
2,444
4.81323
0.338521
0.044462
0.048504
0.042037
0.163298
0.163298
0.163298
0.108327
0.066289
0.066289
0
0.009591
0.360065
2,444
67
110
36.477612
0.78133
0.057283
0
0.140351
0
0
0.1505
0
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
40ad24ec5db413ebad6a527a61f7df5c0afcc064
662
py
Python
src/groups/migrations/0008_auto_20200803_1041.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
src/groups/migrations/0008_auto_20200803_1041.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
src/groups/migrations/0008_auto_20200803_1041.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-08-03 10:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('groups', '0007_auto_20200803_0807'), ] operations = [ migrations.RemoveField( model_name='link'...
26.48
162
0.613293
74
662
5.364865
0.621622
0.060453
0.070529
0.110831
0
0
0
0
0
0
0
0.065708
0.26435
662
24
163
27.583333
0.749487
0.067976
0
0.222222
1
0
0.125203
0.037398
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40b01faff141824cbb508965b60493ff32436943
382
py
Python
final_codes/execution_3.py
pintu1803/Fake_News_Detection_Hybrid_cnn-rnn
29b3de60fddc1efb9bb97f418cef77399f75fa11
[ "MIT" ]
null
null
null
final_codes/execution_3.py
pintu1803/Fake_News_Detection_Hybrid_cnn-rnn
29b3de60fddc1efb9bb97f418cef77399f75fa11
[ "MIT" ]
null
null
null
final_codes/execution_3.py
pintu1803/Fake_News_Detection_Hybrid_cnn-rnn
29b3de60fddc1efb9bb97f418cef77399f75fa11
[ "MIT" ]
null
null
null
#Execution-3 from fake_news_detection_final_code import * # main function. def main(): Training_Validating('fake_news_dataset',130000,400,100,12,64,'x_test_3','y_test_3','history_3','model_3') Testing('x_test_3','y_test_3','history_3','model_3') ############################################# # uti...
27.285714
110
0.615183
52
382
4
0.576923
0.096154
0.057692
0.067308
0.25
0.25
0.25
0.25
0.25
0.25
0
0.075529
0.133508
382
14
111
27.285714
0.55287
0.136126
0
0
0
0
0.330855
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
40b440eed11ba4552d6a5a8360255b9b5a2ab2f6
221
py
Python
crontab.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
10
2017-02-08T18:36:09.000Z
2021-03-31T04:22:25.000Z
crontab.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
2
2017-01-30T22:15:43.000Z
2017-09-01T21:49:29.000Z
crontab.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
8
2017-02-09T12:33:47.000Z
2021-04-03T13:34:33.000Z
# pip install python-crontab from crontab import CronTab system_cron = CronTab(tabfile='/etc/crontab', user=False) job = system_cron.new(command='new_command', user='root') job.setall('* */2 * * *') system_cron.write()
24.555556
57
0.723982
31
221
5.032258
0.612903
0.192308
0
0
0
0
0
0
0
0
0
0.005076
0.108597
221
8
58
27.625
0.786802
0.117647
0
0
0
0
0.196891
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40b7ee29d0bd11541bbffc491ac205c9f2003504
2,353
py
Python
lang/Lang.py
MarioShatterhand/fourier-transform-example
2a803fcfa26e7a7d3cb14cdc67141bfe7f2370ed
[ "MIT" ]
null
null
null
lang/Lang.py
MarioShatterhand/fourier-transform-example
2a803fcfa26e7a7d3cb14cdc67141bfe7f2370ed
[ "MIT" ]
1
2021-08-19T19:00:17.000Z
2021-08-19T19:00:17.000Z
lang/Lang.py
MarioShatterhand/fourier-transform-example
2a803fcfa26e7a7d3cb14cdc67141bfe7f2370ed
[ "MIT" ]
null
null
null
class Lang_EN: LabelFrame = "Controls" runBt = "Show result" fileBtn = "Load image" dropLab = "Choose mask" maskSlider = "Size of the mask" # options = {"Low pass Round": self.LPround(), "High pass Round": self.LPround(), "Low pass square": self.LPround(), # "High pass square": se...
37.951613
122
0.618785
250
2,353
5.816
0.34
0.090784
0.035763
0.02751
0.059147
0.059147
0.059147
0.059147
0
0
0
0.017202
0.258819
2,353
61
123
38.57377
0.816514
0.340416
0
0.08
0
0
0.447761
0
0
0
0
0
0
1
0
false
0.08
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
40bdcb6d8d705cdf194faff490d38fac0b55e6a2
491
py
Python
pdf2txt.py
pzia/bnp-pdf-parser
ff5a79431427a797816885fbca244b665af63d93
[ "MIT" ]
null
null
null
pdf2txt.py
pzia/bnp-pdf-parser
ff5a79431427a797816885fbca244b665af63d93
[ "MIT" ]
null
null
null
pdf2txt.py
pzia/bnp-pdf-parser
ff5a79431427a797816885fbca244b665af63d93
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import sys import subprocess import logging # FIXME : Debug mode def file_to_pdf(pdffname, txtfname=None): """Convert to txt using pdftotext""" if txtfname is None: txtfname = pdffname[:-3]+"txt" logging.info("[pdf->txt] Convert : %s", pdffname) ...
23.380952
65
0.643585
65
491
4.676923
0.6
0.039474
0.059211
0
0
0
0
0
0
0
0
0.012723
0.199593
491
20
66
24.55
0.760814
0.187373
0
0
0
0
0.127877
0
0
0
0
0.05
0
1
0.083333
false
0
0.25
0
0.416667
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
40bfa52d2777fd1c65ac743f7c6ccef613098629
560
py
Python
conftest.py
wmww/wayland-debug
b408905e55480f427a2abfba7aea7211fcd3e1c0
[ "MIT" ]
38
2018-12-21T19:11:42.000Z
2021-06-09T09:37:28.000Z
conftest.py
wmww/wayland-debug
b408905e55480f427a2abfba7aea7211fcd3e1c0
[ "MIT" ]
24
2018-12-21T20:14:03.000Z
2022-03-21T20:42:29.000Z
conftest.py
wmww/wayland-debug
b408905e55480f427a2abfba7aea7211fcd3e1c0
[ "MIT" ]
4
2018-12-21T19:23:04.000Z
2021-03-02T07:59:56.000Z
# If this file doesn't exist imports fail when using pytest import logging class CustomHandler(logging.NullHandler): def __init__(self): logging.NullHandler.__init__(self) self.formatter = logging.Formatter('%(levelname)s:%(name)s:%(message)s'); def handle(self, record): # According t...
35
115
0.707143
70
560
5.542857
0.7
0.092784
0
0
0
0
0
0
0
0
0
0.010823
0.175
560
15
116
37.333333
0.829004
0.289286
0
0
0
0
0.086294
0.086294
0
0
0
0
0.111111
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
40c11be8cef5c426108cae6163fb9a71f9ecc7da
4,343
py
Python
rp-2-am.py
artefactual-labs/SP-2-AM
cfe077d70e8dd2ec0cd887cb603df54faa1b166a
[ "Apache-2.0" ]
1
2021-05-20T16:18:09.000Z
2021-05-20T16:18:09.000Z
rp-2-am.py
artefactual-labs/SP-2-AM
cfe077d70e8dd2ec0cd887cb603df54faa1b166a
[ "Apache-2.0" ]
null
null
null
rp-2-am.py
artefactual-labs/SP-2-AM
cfe077d70e8dd2ec0cd887cb603df54faa1b166a
[ "Apache-2.0" ]
null
null
null
import sys import os import csv import shutil def parse_rp_exports(export_directory): """Convert a directory containing a RecordPoint CSV file and SharePoint binary files into Archivematica-ready transfer directories. """ try: export_dir = sys.argv[1] if export_dir[-1] != "/": ...
43.43
479
0.623762
533
4,343
4.962477
0.34334
0.049905
0.018147
0.024197
0.059735
0.031758
0
0
0
0
0
0.012191
0.263412
4,343
99
480
43.868687
0.81463
0.176606
0
0.192982
0
0
0.297804
0.046512
0
0
0
0.020202
0
1
0.017544
false
0
0.070175
0
0.157895
0.122807
0
0
0
null
0
0
0
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
40c924db2327a877b813be7f82929cb147a9bc8b
975
py
Python
conanfile.py
PVIII/stream
5b2f39830bfa3b81c1d368f47187896111d9843b
[ "MIT" ]
null
null
null
conanfile.py
PVIII/stream
5b2f39830bfa3b81c1d368f47187896111d9843b
[ "MIT" ]
1
2019-10-15T07:35:19.000Z
2019-10-15T07:35:19.000Z
conanfile.py
PVIII/stream
5b2f39830bfa3b81c1d368f47187896111d9843b
[ "MIT" ]
null
null
null
from conans import ConanFile, CMake, tools class LibStream(ConanFile): name = "libstream" version = "0.0.2" url = "https://github.com/PVIII/stream.git" license = "MIT" author = "Patrick WANG-FRENINGER <github@freninger.at>" description = "Combining ranges and asynchronous IO." settings = "o...
31.451613
92
0.636923
119
975
5.142857
0.630252
0.052288
0.035948
0
0
0
0
0
0
0
0
0.022193
0.214359
975
30
93
32.5
0.776762
0
0
0
0
0
0.337436
0.144615
0
0
0
0
0
1
0.115385
false
0
0.038462
0
0.653846
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
40ce6010218c60b38515594caadbc55e965b1dce
15,390
py
Python
veroviz/_getShapepoints.py
INFORMSJoC/2020.0340
9536a35b9607266ad95799cbb7e59c9451aaa6ea
[ "MIT" ]
1
2022-03-28T09:56:53.000Z
2022-03-28T09:56:53.000Z
veroviz/_getShapepoints.py
INFORMSJoC/2020.0340
9536a35b9607266ad95799cbb7e59c9451aaa6ea
[ "MIT" ]
null
null
null
veroviz/_getShapepoints.py
INFORMSJoC/2020.0340
9536a35b9607266ad95799cbb7e59c9451aaa6ea
[ "MIT" ]
1
2021-10-30T05:01:49.000Z
2021-10-30T05:01:49.000Z
# Copyright (c) 2021 Lan Peng and Chase Murray # Licensed under the MIT License. See LICENSING for details. from veroviz._common import * from veroviz._queryPgRouting import pgrGetShapepointsTimeDist from veroviz._queryMapQuest import mqGetShapepointsTimeDist from veroviz._queryOSRM import osrmGetShapepointsTimeDist ...
42.75
1,083
0.723652
1,527
15,390
7.235102
0.184676
0.023624
0.041999
0.008237
0.541999
0.492849
0.430938
0.40668
0.40668
0.40668
0
0.006904
0.153021
15,390
359
1,084
42.869081
0.84066
0.082456
0
0.520408
0
0.006803
0.220535
0.05705
0
0
0
0.002786
0
1
0.013605
false
0.006803
0.057823
0
0.088435
0.006803
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40d2bc78e9c5c6e4c0f88945f33d8eccd82f4f24
5,781
py
Python
tests/test_position.py
h0ke/jesse
02dbf2b5df3a970eed18b276d5e3bcf8fb3f9220
[ "MIT" ]
10
2020-05-24T17:31:11.000Z
2022-03-18T00:31:14.000Z
tests/test_position.py
h0ke/jesse
02dbf2b5df3a970eed18b276d5e3bcf8fb3f9220
[ "MIT" ]
1
2021-06-05T19:59:56.000Z
2021-06-05T19:59:56.000Z
tests/test_position.py
h0ke/jesse
02dbf2b5df3a970eed18b276d5e3bcf8fb3f9220
[ "MIT" ]
4
2020-07-08T19:24:45.000Z
2022-01-26T12:53:04.000Z
import jesse.services.selectors as selectors from jesse.config import config, reset_config from jesse.enums import exchanges from jesse.models import Position from jesse.store import store def set_up(): reset_config() config['app']['considering_exchanges'] = [exchanges.SANDBOX] config['env']['exchanges'][...
22.759843
93
0.608372
737
5,781
4.587517
0.12076
0.057971
0.14197
0.177462
0.680568
0.598639
0.577344
0.547175
0.517598
0.496599
0
0.048361
0.256011
5,781
253
94
22.849802
0.737735
0.020066
0
0.540984
0
0
0.137328
0.003712
0
0
0
0
0.273224
1
0.081967
false
0
0.027322
0
0.10929
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
40dbb0a693ad8ec553f500b4630879ff1b71d906
288
py
Python
example/account/get_balance.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
example/account/get_balance.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
example/account/get_balance.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
from huobi.client.account import AccountClient from huobi.constant import * # get accounts from huobi.utils import * account_client = AccountClient(api_key=g_api_key, secret_key=g_secret_key) list_obj = account_client.get_balance(account_id=g_account_id) LogInfo.output_list(list_obj)
26.181818
74
0.836806
45
288
5.022222
0.444444
0.119469
0
0
0
0
0
0
0
0
0
0
0.090278
288
10
75
28.8
0.862595
0.041667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
40e060dfc4ff45522b8b594a1bb9623a1f23049c
6,979
py
Python
etc/old/old/lib.py
ethel/code
ab32c05bb8505f0d0aa64fba675e57ef0e2b7fa1
[ "BSD-2-Clause" ]
1
2021-07-21T13:19:44.000Z
2021-07-21T13:19:44.000Z
etc/old/old/lib.py
ethel/code
ab32c05bb8505f0d0aa64fba675e57ef0e2b7fa1
[ "BSD-2-Clause" ]
1
2018-05-25T05:42:26.000Z
2018-05-25T05:42:26.000Z
etc/old/old/lib.py
ethel/code
ab32c05bb8505f0d0aa64fba675e57ef0e2b7fa1
[ "BSD-2-Clause" ]
null
null
null
from config import CONFIG import argparse import getopt import math import os import re import sys import time import traceback from random import random as r, choice as any, seed as seed from colorama import Fore, Style from contextlib import contextmanager # Globals DECIMALS = 3 PASS = FAIL = 0 # Standard Library...
22.957237
83
0.563834
1,170
6,979
3.257265
0.220513
0.016531
0.010496
0.007347
0.081081
0.053267
0.045657
0.020992
0.012595
0
0
0.013691
0.256914
6,979
303
84
23.033003
0.721172
0.071357
0
0.117391
0
0
0.050629
0.003638
0
0
0
0
0.008696
1
0.221739
false
0.021739
0.052174
0.078261
0.378261
0.065217
0
0
0
null
0
0
0
0
0
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
40e50575f90b61313b2b4ab3bf03f34b05d3d3e4
2,749
py
Python
scripts/prepare_manifest.py
soyapark-kaist/confer
835035729f3237f8a6cd9db6a35ccd8f4f646929
[ "MIT" ]
1
2018-02-26T21:20:38.000Z
2018-02-26T21:20:38.000Z
scripts/prepare_manifest.py
soyapark-kaist/confer
835035729f3237f8a6cd9db6a35ccd8f4f646929
[ "MIT" ]
null
null
null
scripts/prepare_manifest.py
soyapark-kaist/confer
835035729f3237f8a6cd9db6a35ccd8f4f646929
[ "MIT" ]
null
null
null
import sys, os, json, csv, re, difflib static_cache_manifest='''CACHE MANIFEST # version 1.0006 /team /static/css/confer.css /static/css/third-party/jquery-ui.css /static/javascript/confer.js /static/javascript/third-party/jquery.min.js /static/javascript/third-party/jquery-ui.js /static/fonts/cantoraone.woff /st...
28.05102
103
0.772645
428
2,749
4.747664
0.200935
0.186024
0.11811
0.086614
0.321358
0.287894
0.189961
0.096457
0.07874
0
0
0.003161
0.079302
2,749
98
104
28.05102
0.799684
0
0
0.02439
0
0
0.579636
0.414545
0
0
0
0
0
1
0
false
0
0.012195
0
0.012195
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40e94f48462d389b9082ec2207cdfa35f3761c63
1,241
py
Python
supriya/ugens/BufWr.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/BufWr.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/BufWr.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
import collections from supriya import CalculationRate from supriya.synthdefs import UGen class BufWr(UGen): """ A buffer-writing oscillator. :: >>> buffer_id = 23 >>> phase = supriya.ugens.Phasor.ar( ... rate=supriya.ugens.BufRateScale.kr(buffer_id), ... start=0...
22.563636
79
0.549557
127
1,241
5.15748
0.480315
0.073282
0.030534
0
0
0
0
0
0
0
0
0.011641
0.307816
1,241
54
80
22.981481
0.750873
0.465753
0
0
0
0
0.077922
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40e9ab58e54588367c4c5442ac063d9f93cc8b73
1,828
py
Python
deprecated/db_functions.py
markraemer/mH-PriSe
1555c4c7e6457c3bb5bce3b6dae9c514ed7fc3d3
[ "MIT" ]
1
2016-12-02T06:50:44.000Z
2016-12-02T06:50:44.000Z
deprecated/db_functions.py
markraemer/mH-PriSe
1555c4c7e6457c3bb5bce3b6dae9c514ed7fc3d3
[ "MIT" ]
null
null
null
deprecated/db_functions.py
markraemer/mH-PriSe
1555c4c7e6457c3bb5bce3b6dae9c514ed7fc3d3
[ "MIT" ]
null
null
null
# This script stores common database operations import sys import MySQLdb global DEBUG DEBUG = 1 global c, conn conn = MySQLdb.connect(host="localhost", \ user="root", \ passwd="Vot3Yes4Scotland", \ db='twins') # use correct db c = conn.cursor() con...
24.702703
71
0.55744
227
1,828
4.480176
0.290749
0.041298
0.047198
0.076696
0.53589
0.491642
0.491642
0.491642
0.491642
0.491642
0
0.021774
0.321663
1,828
73
72
25.041096
0.798387
0.053063
0
0.47541
0
0
0.208817
0
0
0
0
0
0
0
null
null
0.016393
0.032787
null
null
0.163934
0
0
0
null
0
0
0
0
0
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
40eda18e10c8cf6e967a2e2ae6904407fc02b25c
320
py
Python
packs/bitesize/actions/write_terraform_config.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
5
2016-10-11T11:52:53.000Z
2017-06-15T05:21:05.000Z
packs/bitesize/actions/write_terraform_config.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
25
2016-07-28T17:50:35.000Z
2017-09-25T09:26:18.000Z
packs/bitesize/actions/write_terraform_config.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
1
2017-05-05T19:12:01.000Z
2017-05-05T19:12:01.000Z
import json from st2actions.runners.pythonrunner import Action from string import split class LayerTerraformConfig(Action): def run(self, config, outfile): with open(outfile, 'w') as thefile: for k in config: thefile.write("%s = \"%s\"\n" % (k, config[k])) thefile.close() return True
20
55
0.6625
42
320
5.047619
0.714286
0
0
0
0
0
0
0
0
0
0
0.003984
0.215625
320
15
56
21.333333
0.840637
0
0
0
0
0
0.028125
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40f0638d5bcd250040b32aa96791e29dfad48323
10,908
py
Python
code/experiments_kinopoisk.py
stabgan/attention-sentiment
8fdaa41e49ec8d77237db102c6485fea880b3f33
[ "MIT" ]
47
2017-04-01T20:04:47.000Z
2021-11-23T06:01:04.000Z
code/experiments_kinopoisk.py
stabgan/attention-sentiment
8fdaa41e49ec8d77237db102c6485fea880b3f33
[ "MIT" ]
1
2018-02-20T19:12:40.000Z
2018-02-20T19:34:19.000Z
code/experiments_kinopoisk.py
stabgan/attention-sentiment
8fdaa41e49ec8d77237db102c6485fea880b3f33
[ "MIT" ]
24
2017-04-05T07:24:39.000Z
2022-02-05T15:35:50.000Z
# coding: utf-8 import logging logging.basicConfig(filename='kinopoisk_validation.log', level=logging.INFO, format='%(message)s') # In[1]: import sys import numpy as np import pandas as pd import cPickle import multiprocessing from time import clock # ### Reading tweets # In[14]: kinopoisk_train = pd.read_csv('.....
32.464286
137
0.624404
1,633
10,908
3.914881
0.200245
0.01486
0.012514
0.013296
0.299703
0.251525
0.209448
0.183638
0.137963
0.12983
0
0.027252
0.239732
10,908
335
138
32.561194
0.743639
0.123212
0
0.042781
0
0.010695
0.053331
0.011067
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.042781
0
0
0
null
0
0
0
0
0
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
40fc2b281e0c3675e9deac1381b3678a277b16c9
819
py
Python
app/textsapi/models/text.py
jkausti/flask-textsapi
9850e20bf1e1f935d7985cf75d70b81d54db8811
[ "Apache-2.0" ]
null
null
null
app/textsapi/models/text.py
jkausti/flask-textsapi
9850e20bf1e1f935d7985cf75d70b81d54db8811
[ "Apache-2.0" ]
null
null
null
app/textsapi/models/text.py
jkausti/flask-textsapi
9850e20bf1e1f935d7985cf75d70b81d54db8811
[ "Apache-2.0" ]
null
null
null
from pynamodb.models import Model from pynamodb.attributes import UnicodeAttribute, BooleanAttribute, NumberAttribute import os def table_name(): return 'textapi-{}'.format(os.getenv('BOILERPLATE_ENV', 'dev')) class Text(Model): class Meta: table_name = table_name() region = 'eu-central-1' ...
29.25
83
0.730159
87
819
6.632184
0.551724
0.046794
0.124783
0.097054
0.110919
0
0
0
0
0
0
0.001477
0.173382
819
28
84
29.25
0.850812
0
0
0
0
0
0.064634
0
0
0
0
0
0
1
0.1
false
0
0.15
0.1
0.9
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
dc02b2645aeb38b3d3e435c9bc86ceda2e0d6394
2,370
py
Python
app/main/jobs.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
1
2021-10-06T04:28:09.000Z
2021-10-06T04:28:09.000Z
app/main/jobs.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
6
2021-03-19T01:45:44.000Z
2022-03-11T23:52:09.000Z
app/main/jobs.py
jiejiang/inventory
9ce34a54812a23785504bbe62d914afde797895f
[ "Apache-2.0" ]
null
null
null
__author__ = 'jie' import time import sys import datetime import os import shutil import zipfile from flask_rq import job from .. import app, db from ..models import Job from postorder import xls_to_orders batch_order_queue = app.config['BATCH_ORDER_QUEUE'] @job(batch_order_queue) def batch_order(job_id, input_fi...
31.184211
87
0.564135
272
2,370
4.805147
0.371324
0.041316
0.030604
0.039021
0.026014
0
0
0
0
0
0
0.001264
0.332489
2,370
75
88
31.6
0.824905
0.008017
0
0.04918
0
0
0.036186
0
0
0
0
0
0
0
null
null
0
0.180328
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
dc03db736e769997c191044bcdea89af834eb74c
4,854
py
Python
DataExtractor/AmazonMovieReviewDataTransformer/dataParse.py
keshenjey/Heft
bf935ab8afd63d9f1b058b3d3707abef4a71e15c
[ "MIT" ]
3
2017-02-15T08:32:17.000Z
2017-03-23T17:13:24.000Z
DataExtractor/AmazonMovieReviewDataTransformer/dataParse.py
Keshann/Heft
bf935ab8afd63d9f1b058b3d3707abef4a71e15c
[ "MIT" ]
8
2016-06-12T04:14:38.000Z
2016-06-14T03:39:15.000Z
DataExtractor/AmazonMovieReviewDataTransformer/dataParse.py
Keshann/Heft
bf935ab8afd63d9f1b058b3d3707abef4a71e15c
[ "MIT" ]
1
2019-01-31T17:49:04.000Z
2019-01-31T17:49:04.000Z
''' Before running this program, please execute the following statements in PostgreSQL to create tables. This program is to parse the entities of the Stack Overflow network. -------------------------------------------------------------- create table movies( Mid int not null primary key, Mname text); create table revi...
32.145695
100
0.579934
586
4,854
4.779863
0.233788
0.05498
0.021421
0.019279
0.360943
0.308818
0.280971
0.271332
0.271332
0.25598
0
0.012655
0.267408
4,854
151
101
32.145695
0.775028
0.059333
0
0.410526
0
0
0.117119
0.011789
0
0
0
0
0
0
null
null
0
0.031579
null
null
0.115789
0
0
0
null
0
0
0
0
0
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
dc040f3b03b1a430fbcba4fbab872da01b68b279
493
py
Python
src/config/ecs_fargate/default.py
eshiji/troposphere-templates
2cc03261d708dbe0d70958f32b2022f5d651cc08
[ "Apache-2.0" ]
null
null
null
src/config/ecs_fargate/default.py
eshiji/troposphere-templates
2cc03261d708dbe0d70958f32b2022f5d651cc08
[ "Apache-2.0" ]
null
null
null
src/config/ecs_fargate/default.py
eshiji/troposphere-templates
2cc03261d708dbe0d70958f32b2022f5d651cc08
[ "Apache-2.0" ]
1
2020-09-14T02:01:16.000Z
2020-09-14T02:01:16.000Z
config = { 'cf_template_description': 'This template is generated with python' 'using troposphere framework to create' 'dynamic Cloudfront templates with' 'different vars according to the' 'PY...
44.818182
71
0.51927
42
493
5.952381
0.785714
0.08
0
0
0
0
0
0
0
0
0
0
0.409736
493
10
72
49.3
0.859107
0
0
0
1
0
0.557809
0.046653
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc06a7fc6d9d166dda68341cb16b28c9a5aa340a
2,884
py
Python
tests/system/action/speaker/test_create.py
r-peschke/openslides-backend
83d0dab68bb914f06a0f50cffe23fc10ca45376f
[ "MIT" ]
null
null
null
tests/system/action/speaker/test_create.py
r-peschke/openslides-backend
83d0dab68bb914f06a0f50cffe23fc10ca45376f
[ "MIT" ]
null
null
null
tests/system/action/speaker/test_create.py
r-peschke/openslides-backend
83d0dab68bb914f06a0f50cffe23fc10ca45376f
[ "MIT" ]
null
null
null
from tests.system.action.base import BaseActionTestCase class SpeakerCreateActionTest(BaseActionTestCase): def test_createx(self) -> None: self.create_model("meeting/7844", {"name": "name_asdewqasd"}) self.create_model("user/7", {"username": "test_username1"}) self.create_model( ...
36.506329
86
0.528086
300
2,884
4.786667
0.193333
0.058496
0.13649
0.066852
0.707521
0.694986
0.692897
0.692897
0.675487
0.618384
0
0.041901
0.321429
2,884
78
87
36.974359
0.691875
0
0
0.479452
0
0
0.246186
0.018724
0
0
0
0
0.178082
1
0.054795
false
0
0.013699
0
0.082192
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
dc0b6f89bd7f7bad9babda1d48aa6f5123797117
2,611
py
Python
development/tests/regression/regression_vault.py
boryana-ilieva/soepy_dev
98655bb1d7012c5554201a8dcfb728eeeaadf5bf
[ "MIT" ]
null
null
null
development/tests/regression/regression_vault.py
boryana-ilieva/soepy_dev
98655bb1d7012c5554201a8dcfb728eeeaadf5bf
[ "MIT" ]
null
null
null
development/tests/regression/regression_vault.py
boryana-ilieva/soepy_dev
98655bb1d7012c5554201a8dcfb728eeeaadf5bf
[ "MIT" ]
null
null
null
"""This module contains the process that generates our regression test battery.""" import os import json import argparse import numpy as np from soepy.python.simulate.simulate_python import simulate from soepy.python.soepy_config import TEST_RESOURCES_DIR from soepy.test.random_init import random_init from soepy.test...
23.736364
88
0.654921
340
2,611
4.861765
0.320588
0.042347
0.026618
0.022989
0.141561
0.141561
0.075015
0.075015
0.075015
0.075015
0
0.011448
0.230563
2,611
109
89
23.954128
0.811349
0.118728
0
0.166667
1
0
0.120667
0.023695
0
0
0
0
0.030303
1
0.045455
false
0
0.136364
0
0.19697
0.030303
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
dc0cbcc6d1b7eac0f2388f765d3dadaa22c1c4be
1,694
py
Python
overviewer/config.py
gtfunes/vagrant-minecraft
c4cebe648176fe32da9d587b1b398156d5142922
[ "MIT" ]
null
null
null
overviewer/config.py
gtfunes/vagrant-minecraft
c4cebe648176fe32da9d587b1b398156d5142922
[ "MIT" ]
null
null
null
overviewer/config.py
gtfunes/vagrant-minecraft
c4cebe648176fe32da9d587b1b398156d5142922
[ "MIT" ]
null
null
null
outputdir = "/map" rendermode = "smooth_lighting" world_name = "MCServer" worlds[world_name] = "/data/world" renders["North"] = { 'world': world_name, 'title': 'North', 'dimension': "overworld", 'rendermode': rendermode, 'northdirection': 'upper-left' } renders["East"] = { 'world': world_name, 'title': 'East', ...
22.586667
40
0.661747
171
1,694
6.444444
0.157895
0.098004
0.127042
0.172414
0.747731
0.46461
0.107078
0
0
0
0
0
0.119244
1,694
74
41
22.891892
0.738606
0
0
0.513514
0
0
0.525974
0.025974
0
0
0
0
0
1
0
false
0
0
0
0
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
dc0d357c8859bfecd50d99b618cf12e093d31f19
996
py
Python
Tree.py
dpetrovykh/Growing_Tree
f7d1be75f567edef2878b9121f606a35c5829ddc
[ "MIT" ]
null
null
null
Tree.py
dpetrovykh/Growing_Tree
f7d1be75f567edef2878b9121f606a35c5829ddc
[ "MIT" ]
null
null
null
Tree.py
dpetrovykh/Growing_Tree
f7d1be75f567edef2878b9121f606a35c5829ddc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 1 08:39:30 2020 @author: dpetrovykh """ '''TODO: ''' import matplotlib.pyplot as plt from Node import Leaf from Node import Limb class Tree: def __init__(self, root_node): self.root = root_node def update(self): ...
24.9
82
0.542169
133
996
3.969925
0.503759
0.075758
0.05303
0.056818
0.19697
0.19697
0.132576
0.132576
0.132576
0
0
0.022936
0.343373
996
39
83
25.538462
0.784404
0.193775
0
0.190476
0
0
0.005168
0
0
0
0
0.025641
0
1
0.142857
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
dc0f6449c99f80aa2bd4117d34b39cdf484c8f18
3,922
py
Python
model-optimizer/extensions/ops/cast_test.py
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
1
2021-04-06T03:32:12.000Z
2021-04-06T03:32:12.000Z
model-optimizer/extensions/ops/cast_test.py
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
28
2021-09-24T09:29:02.000Z
2022-03-28T13:20:46.000Z
model-optimizer/extensions/ops/cast_test.py
JOCh1958/openvino
070201feeec5550b7cf8ec5a0ffd72dc879750be
[ "Apache-2.0" ]
1
2020-08-30T11:48:03.000Z
2020-08-30T11:48:03.000Z
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import numpy as np import unittest from generator import generator, generate from extensions.ops.Cast import Cast from mo.middle.passes.convert_data_type import packed_U4, packed_I4 from mo.middle.passes.infer import partial_infer from ...
34.403509
112
0.499745
501
3,922
3.696607
0.255489
0.142549
0.019438
0.019438
0.118791
0.075594
0.075594
0.075594
0.075594
0.075594
0
0.145617
0.287353
3,922
113
113
34.707965
0.516995
0.072157
0
0.021505
1
0
0.032133
0
0
0
0
0
0.010753
1
0.010753
false
0.021505
0.086022
0
0.107527
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
dc12011717186c3b2da477fbd2a9b5306c8a9ff1
3,455
py
Python
wb/main/jobs/models/wait_model_upload_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
23
2022-03-17T12:24:09.000Z
2022-03-31T09:13:30.000Z
wb/main/jobs/models/wait_model_upload_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
18
2022-03-21T08:17:44.000Z
2022-03-30T12:42:30.000Z
wb/main/jobs/models/wait_model_upload_job.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
16
2022-03-17T12:24:14.000Z
2022-03-31T12:15:12.000Z
""" OpenVINO DL Workbench Class for waiting model upload job for model creation Copyright (c) 2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.or...
47.986111
120
0.705933
425
3,455
5.52
0.390588
0.025575
0.01705
0.032396
0.206735
0.182438
0.16965
0.16965
0.130435
0.130435
0
0.004902
0.232417
3,455
71
121
48.661972
0.879713
0.21013
0
0.170213
0
0
0.054653
0
0
0
0
0.014085
0
1
0.042553
false
0
0.234043
0
0.361702
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
dc12a01bfcde821dd1d065d77ab1e55111f6e642
1,372
py
Python
setup.py
patarapolw/password_manager
9de575ac6bbc75086fb968291cc4feb9100a5907
[ "MIT" ]
null
null
null
setup.py
patarapolw/password_manager
9de575ac6bbc75086fb968291cc4feb9100a5907
[ "MIT" ]
null
null
null
setup.py
patarapolw/password_manager
9de575ac6bbc75086fb968291cc4feb9100a5907
[ "MIT" ]
null
null
null
from setuptools import setup with open('README.md') as f: long_description = f.read() try: import pypandoc long_description = pypandoc.convert_text(long_description, 'rst', format='md') except (ImportError, OSError): pass setup( name='pypwm', version='0.2.1', descriptio...
33.463415
86
0.622449
137
1,372
6.145985
0.635037
0.106888
0.118765
0.092637
0
0
0
0
0
0
0
0.011494
0.239067
1,372
41
87
33.463415
0.795019
0.102041
0
0
0
0
0.413203
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dc1804e107b91a03dd931a39b98dd4aa57aa94df
6,135
py
Python
Interpolation_Tests.py
kellinpelrine/DynamicProgramming
2539487076b6aa60d38d4bcb5d541d5bd1d17ef8
[ "MIT" ]
1
2019-10-22T12:52:26.000Z
2019-10-22T12:52:26.000Z
Interpolation_Tests.py
kellinpelrine/DynamicProgramming
2539487076b6aa60d38d4bcb5d541d5bd1d17ef8
[ "MIT" ]
null
null
null
Interpolation_Tests.py
kellinpelrine/DynamicProgramming
2539487076b6aa60d38d4bcb5d541d5bd1d17ef8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Mar 4 21:35:14 2019 @author: Kellin """ import numpy as np from scipy import optimize as opt from scipy.interpolate import CubicSpline as spl3 from matplotlib import pyplot as plt import copy from matplotlib.backends.backend_pdf import PdfPages alpha = 0.4 b...
31.30102
152
0.622331
966
6,135
3.940994
0.197723
0.028369
0.01576
0.028894
0.696612
0.675598
0.675598
0.660888
0.651432
0.651432
0
0.050543
0.21956
6,135
196
153
31.30102
0.74457
0.089487
0
0.553957
0
0.021583
0.134909
0
0
0
0
0
0
1
0.043165
false
0
0.043165
0.028777
0.129496
0.057554
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
dc181cf73ed346b7777e0be115b2be09f2773e90
861
py
Python
rocketgram/routers/dispatcher/commonwaiters.py
rocketbots/rocketgram
e509dcfad85d47a2449caf6dd302ec8581f95bf6
[ "MIT" ]
16
2019-02-27T20:15:52.000Z
2019-08-06T10:59:41.000Z
rocketgram/routers/dispatcher/commonwaiters.py
rocketbots/rocketgram
e509dcfad85d47a2449caf6dd302ec8581f95bf6
[ "MIT" ]
1
2019-04-27T06:51:57.000Z
2019-05-31T18:09:16.000Z
rocketgram/routers/dispatcher/commonwaiters.py
rocketbots/rocketgram
e509dcfad85d47a2449caf6dd302ec8581f95bf6
[ "MIT" ]
3
2019-03-19T16:01:22.000Z
2019-04-05T15:58:12.000Z
# Copyright (C) 2015-2022 by Vd. # This file is part of Rocketgram, the modern Telegram bot framework. # Rocketgram is released under the MIT License (see LICENSE). from . import commonfilters from .waiters import make_waiter, DropWaiter from ...api import UpdateType, MessageType from ...context import context @mak...
22.076923
75
0.707317
103
861
5.815534
0.533981
0.100167
0.076795
0
0
0
0
0
0
0
0
0.011645
0.202091
861
38
76
22.657895
0.860262
0.380952
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
904b372a2f940516aa0c39592eab62ed9aa18e60
280
py
Python
magic_conch/__init__.py
quadrychance/magic-conch
84266abe931c731eb3af896b06d0d0453de5c5da
[ "MIT" ]
null
null
null
magic_conch/__init__.py
quadrychance/magic-conch
84266abe931c731eb3af896b06d0d0453de5c5da
[ "MIT" ]
null
null
null
magic_conch/__init__.py
quadrychance/magic-conch
84266abe931c731eb3af896b06d0d0453de5c5da
[ "MIT" ]
1
2021-02-22T18:09:53.000Z
2021-02-22T18:09:53.000Z
from pkg_resources import get_distribution, DistributionNotFound try: __version__ = get_distribution(__name__).version except DistributionNotFound: pass # package is not installed else: __all__ = ["get_data_filename"] from .load_data import get_data_filename
21.538462
64
0.782143
32
280
6.21875
0.65625
0.090452
0.150754
0
0
0
0
0
0
0
0
0
0.164286
280
12
65
23.333333
0.850427
0.085714
0
0
0
0
0.066929
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
904b9e1304d60d573fc4d5b4e9a2bce1cd0ce820
518
py
Python
alembic/versions/791e9b43d61e_customer_model.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
1
2022-03-20T21:46:05.000Z
2022-03-20T21:46:05.000Z
alembic/versions/791e9b43d61e_customer_model.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
null
null
null
alembic/versions/791e9b43d61e_customer_model.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
null
null
null
"""customer_model Revision ID: 791e9b43d61e Revises: f4e906862bfa Create Date: 2022-02-13 22:58:26.252209 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '791e9b43d61e' down_revision = 'f4e906862bfa' branch_labels = None depends_on = None def upgrade(): o...
19.185185
84
0.72973
70
518
5.285714
0.657143
0.027027
0.059459
0.102703
0.145946
0.145946
0
0
0
0
0
0.112867
0.144788
518
26
85
19.923077
0.722348
0.276062
0
0.166667
0
0
0.182561
0
0
0
0
0
0
1
0.166667
false
0.166667
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
0
1
0
0
0
0
0
1
9051be44700541511e5639951a0ff3c167c0d165
7,636
py
Python
course_flow/migrations/0002_auto_20200219_2139.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
null
null
null
course_flow/migrations/0002_auto_20200219_2139.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
5
2020-03-24T18:04:39.000Z
2020-10-06T06:39:19.000Z
course_flow/migrations/0002_auto_20200219_2139.py
aahilgert/CourseFlow
cbb26c694d9a1310872993dfac9ac3cd0e721e9b
[ "Apache-2.0" ]
1
2020-01-27T13:51:33.000Z
2020-01-27T13:51:33.000Z
# Generated by Django 2.2.9 on 2020-02-19 21:39 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), ("course_flow", "0001_init...
32.913793
71
0.463332
513
7,636
6.7154
0.20078
0.127721
0.099274
0.085341
0.466473
0.206676
0.197968
0.197968
0.166038
0.166038
0
0.004415
0.436354
7,636
231
72
33.056277
0.796004
0.005893
0
0.515556
1
0
0.236263
0.010278
0
0
0
0
0
1
0
false
0
0.013333
0
0.026667
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
90566ea17b3bdd3793b79eace52c1a22cb4e6cb2
3,463
py
Python
ACC_particle_experiments/analysis/ACC_particle_tracer_analysis_compute_diff.py
daanreijnders/isoneutral-dispersion
88259ba658d15611609f52e1615aff37a54e7289
[ "MIT" ]
1
2022-03-18T08:47:41.000Z
2022-03-18T08:47:41.000Z
ACC_particle_experiments/analysis/ACC_particle_tracer_analysis_compute_diff.py
daanreijnders/isoneutral-dispersion
88259ba658d15611609f52e1615aff37a54e7289
[ "MIT" ]
null
null
null
ACC_particle_experiments/analysis/ACC_particle_tracer_analysis_compute_diff.py
daanreijnders/isoneutral-dispersion
88259ba658d15611609f52e1615aff37a54e7289
[ "MIT" ]
1
2022-03-18T08:47:42.000Z
2022-03-18T08:47:42.000Z
import xarray as xr import matplotlib.pyplot as plt import numpy as np from scipy.interpolate import InterpolatedUnivariateSpline import sys sys.path.append('/nethome/4302001/diffusion-hydro-mod/tools/') import ACC_tools trajdir = '/data/oceanparcels/output_data/data_Daan/project_diffusion/trelease/' tdays = 180 expe...
60.754386
129
0.820098
495
3,463
5.19596
0.20202
0.097978
0.092535
0.077761
0.667574
0.631026
0.497278
0.343701
0.22395
0.164075
0
0.083095
0.089518
3,463
57
130
60.754386
0.732636
0
0
0.04
0
0
0.596709
0.541859
0
0
0
0
0
1
0
false
0
0.12
0
0.12
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
90568418fcdb1943f7b2628eeb06abeb3421b0b1
4,647
py
Python
gnuradio-3.7.13.4/gnuradio-runtime/python/gnuradio/gr/pubsub.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gnuradio-runtime/python/gnuradio/gr/pubsub.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gnuradio-runtime/python/gnuradio/gr/pubsub.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright 2008,2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your optio...
30.175325
76
0.654616
659
4,647
4.468892
0.280728
0.059762
0.071307
0.028523
0.227844
0.195586
0.150764
0.150764
0.150764
0.139898
0
0.006446
0.232193
4,647
153
77
30.372549
0.818946
0.292232
0
0.287356
0
0
0.090472
0
0
0
0
0
0
0
null
null
0
0.011494
null
null
0.149425
0
0
0
null
0
0
0
0
0
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
90588ccecba448005224e1b0d83c58aba8fc4481
475
py
Python
Agendamento Imobiliario/plataforma/urls.py
Drack112/PyStack-Week-Django
f3748dee66bdbc591292a9caf5f77a9625caaf0d
[ "MIT" ]
null
null
null
Agendamento Imobiliario/plataforma/urls.py
Drack112/PyStack-Week-Django
f3748dee66bdbc591292a9caf5f77a9625caaf0d
[ "MIT" ]
null
null
null
Agendamento Imobiliario/plataforma/urls.py
Drack112/PyStack-Week-Django
f3748dee66bdbc591292a9caf5f77a9625caaf0d
[ "MIT" ]
null
null
null
from django.urls import path from .views import home, imovel, agendar_visitas, agendamentos, cancelar_agendamento urlpatterns = [ path("", home, name="home"), path("imovel/<str:id>", imovel, name="imovel"), path("agendar_visitar", agendar_visitas, name="agendar_visitas"), path("agendamentos", agendame...
29.6875
84
0.682105
50
475
6.32
0.36
0.240506
0
0
0
0
0
0
0
0
0
0
0.174737
475
15
85
31.666667
0.806122
0
0
0
0
0
0.269474
0.061053
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
9061dc967965b54b00ceaa679304c0884d0869cf
5,036
py
Python
examples/python/costas_array.py
2947721120/or-tools
d1409f4f5233e52fc58f672c43477881a4d70726
[ "Apache-2.0" ]
null
null
null
examples/python/costas_array.py
2947721120/or-tools
d1409f4f5233e52fc58f672c43477881a4d70726
[ "Apache-2.0" ]
null
null
null
examples/python/costas_array.py
2947721120/or-tools
d1409f4f5233e52fc58f672c43477881a4d70726
[ "Apache-2.0" ]
null
null
null
# Copyright 2010 Hakan Kjellerstrand hakank@bonetmail.com # # 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 ...
29.109827
76
0.608419
790
5,036
3.848101
0.31519
0.041447
0.039474
0.032566
0.153289
0.108882
0.071382
0.071382
0.071382
0.063816
0
0.059822
0.263106
5,036
172
77
29.27907
0.759364
0.234313
0
0.222222
0
0
0.053713
0
0
0
0
0
0
0
null
null
0
0.031746
null
null
0.190476
0
0
0
null
0
0
0
0
0
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
90664845867ca5a7a047e5b550906c168162a07e
1,943
py
Python
tachyon/nodes.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
tachyon/nodes.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
tachyon/nodes.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
#Nodes import numpy as np class SumNode: def __init__(self, id): self.id = id; self.children = [] self.parents = [] self.weights = [] self.rank = 0 self.TRank = 0 self.alive = 1 self.flags = [] def dead_children(self, thresh=0): a = [] flags = [0...
24.594937
108
0.515183
248
1,943
3.927419
0.217742
0.067762
0.071869
0.082136
0.50308
0.475359
0.406571
0.305955
0.305955
0.271047
0
0.015055
0.350489
1,943
78
109
24.910256
0.756735
0.002573
0
0.430769
0
0
0.010853
0
0
0
0
0
0
0
null
null
0
0.015385
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
906937578d88b6c76218f122b95f2c14b66b7092
2,642
py
Python
insta/models.py
claudinemahoro/The-instagram
015c024be1f1cdd8655fe61ea31f5d3daa1705bc
[ "MIT" ]
null
null
null
insta/models.py
claudinemahoro/The-instagram
015c024be1f1cdd8655fe61ea31f5d3daa1705bc
[ "MIT" ]
null
null
null
insta/models.py
claudinemahoro/The-instagram
015c024be1f1cdd8655fe61ea31f5d3daa1705bc
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User import datetime as dt from tinymce.models import HTMLField # Create your models here. class Profile(models.Model): bio=models.TextField(max_length=100,blank=True,default="bio please...") profilepic=models.ImageField(upload_to='profile/', ...
33.871795
120
0.712718
331
2,642
5.513595
0.296073
0.06137
0.053699
0.080548
0.223014
0.116712
0.096438
0.040548
0
0
0
0.00595
0.172975
2,642
78
121
33.871795
0.829291
0.052233
0
0.233333
0
0
0.0508
0.0156
0
0
0
0
0
1
0.2
false
0
0.066667
0.066667
0.716667
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
906cb99d3aa9c18f0c3626bf5d0008a1f54b6182
1,308
py
Python
sharkstruc/handler.py
sharksmhi/sharkstruc
6d234f164817332e1589179c497bc82eddac6545
[ "MIT" ]
null
null
null
sharkstruc/handler.py
sharksmhi/sharkstruc
6d234f164817332e1589179c497bc82eddac6545
[ "MIT" ]
null
null
null
sharkstruc/handler.py
sharksmhi/sharkstruc
6d234f164817332e1589179c497bc82eddac6545
[ "MIT" ]
null
null
null
# Copyright (c) 2021 SMHI, Swedish Meteorological and Hydrological Institute # License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit). """ Created on 2021-01-05 09:38 @author: johannes """ from abc import ABC import pandas as pd class Frame(pd.DataFrame, ABC): """ Stores data from one...
29.727273
116
0.646024
167
1,308
4.94012
0.562874
0.029091
0.043636
0.046061
0
0
0
0
0
0
0
0.016097
0.240061
1,308
43
117
30.418605
0.813883
0.478593
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
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
1
0
0
0
0
0
0
0
1
9073117c98fe577ec3cc93750c4a56e94ba38a69
1,296
py
Python
mkt/api/tests/test_throttle.py
Joergen/zamboni
20a0e22b75cf986aceeb8c4d8c25abb948d97096
[ "BSD-3-Clause" ]
null
null
null
mkt/api/tests/test_throttle.py
Joergen/zamboni
20a0e22b75cf986aceeb8c4d8c25abb948d97096
[ "BSD-3-Clause" ]
null
null
null
mkt/api/tests/test_throttle.py
Joergen/zamboni
20a0e22b75cf986aceeb8c4d8c25abb948d97096
[ "BSD-3-Clause" ]
null
null
null
from django.test.client import RequestFactory from mock import patch from tastypie.exceptions import ImmediateHttpResponse from mkt.api.base import HttpTooManyRequests, MarketplaceResource from mkt.api.tests.test_oauth import BaseOAuth class ThrottleTests(object): """ Mixin to add tests that ensure API endp...
32.4
77
0.707562
138
1,296
6.536232
0.478261
0.066519
0.022173
0.042129
0.219512
0.159645
0
0
0
0
0
0
0.222222
1,296
39
78
33.230769
0.894841
0.111111
0
0.083333
0
0
0.057624
0.018617
0
0
0
0
0.041667
1
0.083333
false
0
0.208333
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
0
0
0
0
0
1
0
0
1
9079dae3dfaf0b27d88f700903906f9eac27e04a
969
py
Python
ex113/utilidades/moeda/__init__.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
ex113/utilidades/moeda/__init__.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
ex113/utilidades/moeda/__init__.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
def resumo(num, aument=0, descont=0): print('=' * 41) print(f'{"Resumo do valor":^41}') print('=' * 41) print(f'Preço Analisado: \t{moeda(num):>20}') print(f'Dobro do preço: \t{dobro(num, True):>20}') print(f'Metade do preço: \t{metade(num, True):>20}') print(f'{aument}% de aumento: \t{aumen...
28.5
74
0.619195
151
969
3.97351
0.245033
0.06
0.053333
0.126667
0.47
0.42
0.42
0.42
0.42
0.323333
0
0.034884
0.201238
969
33
75
29.363636
0.74031
0
0
0.217391
0
0
0.288958
0
0
0
0
0
0
1
0.26087
false
0
0
0.043478
0.478261
0.347826
0
0
0
null
0
0
0
0
0
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
907db9f69de3200d32ffd757cd133c74edfc712f
9,611
py
Python
tools/protk/msconvert-001e77708ec9/msconvert_wrapper.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/protk/msconvert-001e77708ec9/msconvert_wrapper.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
tools/protk/msconvert-001e77708ec9/msconvert_wrapper.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python import optparse import os import sys import tempfile import shutil import subprocess import re import logging assert sys.version_info[:2] >= (2, 6) log = logging.getLogger(__name__) working_directory = os.getcwd() tmp_stderr_name = tempfile.NamedTemporaryFile(dir=working_directory, suffix='.stde...
35.334559
150
0.649152
1,233
9,611
4.80292
0.189781
0.040865
0.040527
0.017731
0.182877
0.130868
0.094056
0.033097
0.014522
0
0
0.006189
0.226615
9,611
271
151
35.464945
0.790529
0.033919
0
0.114679
0
0
0.098061
0.005121
0
0
0
0
0.009174
0
null
null
0.013761
0.045872
null
null
0.018349
0
0
0
null
0
0
0
0
0
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
908272908adc6e213c8643ce9db08e54b5a1afc6
1,226
py
Python
tests/test_canvas.py
carnieri/raytracer
8b518c35ba6648c77d949bb60788e9aed771b1da
[ "BSD-3-Clause" ]
null
null
null
tests/test_canvas.py
carnieri/raytracer
8b518c35ba6648c77d949bb60788e9aed771b1da
[ "BSD-3-Clause" ]
null
null
null
tests/test_canvas.py
carnieri/raytracer
8b518c35ba6648c77d949bb60788e9aed771b1da
[ "BSD-3-Clause" ]
null
null
null
from raytracer.canvas import canvas from raytracer.tuple import ( tuple, point, vector, magnitude, normalize, dot, cross, Color, ) from raytracer.util import equal def test_creating_a_canvas(): c = canvas(10, 20) assert c.width == 10 assert c.height == 20 for y in range...
21.892857
53
0.572594
230
1,226
2.917391
0.252174
0.137109
0.174367
0.214605
0.232489
0.116244
0.062593
0.062593
0.062593
0.062593
0
0.132184
0.290375
1,226
55
54
22.290909
0.63908
0
0
0.12766
0
0
0.085644
0
0
0
0
0
0.170213
1
0.085106
false
0
0.06383
0
0.148936
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
90882e96e22b7c50212e9cc212e6f8412021935a
9,146
py
Python
FirstModels/myScriptsToGetStarted/CollistionBetweenBeamsPython.py
MarcoMagl/mySofaDevs
e918a21773268e1008ceb24a398fe694b99f2380
[ "MIT" ]
2
2020-05-23T12:53:22.000Z
2020-09-14T00:17:11.000Z
FirstModels/myScriptsToGetStarted/CollistionBetweenBeamsPython.py
MarcoMagl/mySofaDevs
e918a21773268e1008ceb24a398fe694b99f2380
[ "MIT" ]
1
2020-06-19T05:23:19.000Z
2020-06-19T05:23:19.000Z
FirstModels/myScriptsToGetStarted/CollistionBetweenBeamsPython.py
MarcoMagl/mySofaDevs
e918a21773268e1008ceb24a398fe694b99f2380
[ "MIT" ]
1
2020-05-07T12:44:21.000Z
2020-05-07T12:44:21.000Z
""" CollistionBetweenBeamsPython is based on the scene /Users/marco.magliulo/mySofaCodes/myScriptsToGetStarted/CollistionBetweenBeams.scn but it uses the SofaPython plugin. Further informations on the usage of the plugin can be found in sofa/applications/plugins/SofaPython/doc/SofaPython.pdf To launch the scene, typ...
52.867052
211
0.695386
1,145
9,146
5.550218
0.203493
0.020142
0.019355
0.013218
0.615106
0.599056
0.562234
0.557514
0.526672
0.502754
0
0.041689
0.192215
9,146
173
212
52.867052
0.818489
0.292259
0
0.315789
0
0.021053
0.236096
0.01639
0
0
0
0
0
0
null
null
0
0.021053
null
null
0.073684
0
0
0
null
0
0
0
0
0
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
908eb94c0ad52fd8e8c788a570d2852850a3ac1e
1,246
py
Python
marketplace/models.py
tanvirstreame/product-catalog-drf
c399d93489cdae7b50928eb58b3bda220ebc2537
[ "MIT" ]
1
2020-07-02T00:41:29.000Z
2020-07-02T00:41:29.000Z
marketplace/models.py
tanvirstreame/product-catalog-drf
c399d93489cdae7b50928eb58b3bda220ebc2537
[ "MIT" ]
5
2021-03-19T03:26:29.000Z
2022-02-10T13:41:58.000Z
marketplace/models.py
tanvirstreame/product-catalog-drf
c399d93489cdae7b50928eb58b3bda220ebc2537
[ "MIT" ]
null
null
null
''' This file should contain models ''' from django.db import models import jsonfield from django.template.defaultfilters import slugify # Create your models here. class PriceDateRange(models.Model): ''' PriceDateRange model is here. Using this models we can set price for a specific date range ''...
27.688889
97
0.665329
159
1,246
5.100629
0.471698
0.033292
0.040691
0.039457
0.146732
0
0
0
0
0
0
0.010225
0.215088
1,246
44
98
28.318182
0.819018
0.183788
0
0.1
0
0
0.035106
0
0
0
0
0
0
1
0.15
false
0
0.15
0.1
0.9
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
9097d2dd699ed8817a708fe2ed595c9546ae785b
1,444
py
Python
examples/lettuce_paddle/lettuce/flows/couette.py
PangHua/InfiniteScience
67378d2625c4d70d5b59d5e7a3f904284bfe65da
[ "Apache-2.0" ]
null
null
null
examples/lettuce_paddle/lettuce/flows/couette.py
PangHua/InfiniteScience
67378d2625c4d70d5b59d5e7a3f904284bfe65da
[ "Apache-2.0" ]
null
null
null
examples/lettuce_paddle/lettuce/flows/couette.py
PangHua/InfiniteScience
67378d2625c4d70d5b59d5e7a3f904284bfe65da
[ "Apache-2.0" ]
null
null
null
# code was heavily based on https://github.com/lettucecfd/lettuce # Users should be careful about adopting these functions in any commercial matters. # https://github.com/lettucecfd/lettuce#license """ Couette Flow """ import numpy as np from lettuce.unit import UnitConversion from lettuce.boundary import BounceBack...
33.581395
114
0.671745
184
1,444
5.173913
0.434783
0.058824
0.05042
0.05042
0.214286
0.088235
0.088235
0.088235
0.088235
0
0
0.020318
0.216066
1,444
42
115
34.380952
0.820671
0.144737
0
0.076923
0
0
0.001635
0
0
0
0
0.02381
0
1
0.192308
false
0
0.115385
0.038462
0.461538
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
90986e70bb7a861ac00181b71d23b9b5c400130e
20,074
py
Python
testing/scripts/run_android_wpt.py
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
testing/scripts/run_android_wpt.py
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
testing/scripts/run_android_wpt.py
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
#!/usr/bin/env vpython3 # Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Runs Web Platform Tests (WPT) on Android browsers. This script supports running tests on the Chromium Waterfall by mapping isolat...
37.312268
80
0.682226
2,455
20,074
5.363747
0.187373
0.022555
0.042603
0.009113
0.274909
0.210434
0.158414
0.096066
0.074499
0.074499
0
0.000891
0.217645
20,074
537
81
37.38175
0.837568
0.123045
0
0.192982
0
0
0.194609
0.043937
0.002506
0
0
0.003724
0
1
0.082707
false
0.072682
0.045113
0.007519
0.200501
0.002506
0
0
0
null
0
0
0
0
0
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
909b18e891b508dd9cf002e616d58004c6b47055
1,544
py
Python
RPS.py
Satsuei/rockPaperScissors
b7162a94dc0030e23fd51e5e82512a1c48095706
[ "MIT" ]
null
null
null
RPS.py
Satsuei/rockPaperScissors
b7162a94dc0030e23fd51e5e82512a1c48095706
[ "MIT" ]
null
null
null
RPS.py
Satsuei/rockPaperScissors
b7162a94dc0030e23fd51e5e82512a1c48095706
[ "MIT" ]
null
null
null
import random # Set variables and print both moves out moves = ["rock", "paper", "scissors"] player_move = input("Rock, Paper or Scissors...\n") computer_move = moves[random.randint(0, len(moves) - 1)] print("Player move: ", player_move.title()) print("Computer move: ", computer_move.title()) # Method for testing wi...
46.787879
83
0.653497
216
1,544
4.509259
0.24537
0.138604
0.122177
0.129363
0.581109
0.581109
0.546201
0.546201
0.546201
0.546201
0
0.006216
0.166451
1,544
32
84
48.25
0.750583
0.076425
0
0.25
0
0
0.227145
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.083333
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
90a725f9855f64de89ac62725806c31011c10f84
11,918
py
Python
cleanfreak/conf/mayacheckers.py
danbradham/cleanfreak
422a8f91c167e92781fde0fe1f220b54acc3f967
[ "MIT" ]
6
2017-01-23T09:25:06.000Z
2020-02-29T11:44:32.000Z
cleanfreak/conf/mayacheckers.py
danbradham/cleanfreak
422a8f91c167e92781fde0fe1f220b54acc3f967
[ "MIT" ]
1
2021-03-25T21:45:35.000Z
2021-03-25T21:45:35.000Z
cleanfreak/conf/mayacheckers.py
danbradham/cleanfreak
422a8f91c167e92781fde0fe1f220b54acc3f967
[ "MIT" ]
null
null
null
import re import pymel.core as pm from cleanfreak.checker import Checker class MayaSelectMixin(object): def select(self): if self.selection: pm.select(self.selection) class References(MayaSelectMixin, Checker): full_name = "References" description = "Checks for references, we want ...
30.248731
81
0.600352
1,495
11,918
4.708361
0.135786
0.110811
0.034096
0.031823
0.560165
0.490126
0.463844
0.449496
0.440119
0.428612
0
0.00539
0.28394
11,918
393
82
30.3257
0.819428
0
0
0.539855
0
0
0.182917
0.002014
0
0
0
0
0
1
0.086957
false
0.07971
0.032609
0.003623
0.485507
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
90ac3a7af0009d34e52a63d6e039509231e4cf0e
1,454
py
Python
buildscripts/aggregate_tracefiles.py
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
4
2018-02-06T01:53:12.000Z
2018-02-20T01:47:36.000Z
buildscripts/aggregate_tracefiles.py
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
null
null
null
buildscripts/aggregate_tracefiles.py
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
3
2018-02-06T01:53:18.000Z
2021-07-28T09:48:15.000Z
import subprocess import os import sys from optparse import OptionParser """ This script aggregates several tracefiles into one tracefile All but the last argument are input tracefiles or .txt files which list tracefiles. The last argument is the tracefile to which the output will be written """ def aggrega...
26.436364
85
0.588721
179
1,454
4.731844
0.458101
0.021251
0.035419
0
0
0
0
0
0
0
0
0.00789
0.302613
1,454
54
86
26.925926
0.827416
0
0
0
0
0
0.112124
0
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.028571
0
0
0
null
0
0
0
0
0
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
90afae685ea9a20b31706faff61021e0ebe60b81
1,423
py
Python
tests/test_star.py
liuyxpp/liuyxpp-gyroid
7db91cb140869760124a66239773822bc2cd4e44
[ "BSD-3-Clause" ]
2
2020-09-15T13:47:53.000Z
2021-08-18T18:28:46.000Z
tests/test_star.py
liuyxpp/liuyxpp-gyroid
7db91cb140869760124a66239773822bc2cd4e44
[ "BSD-3-Clause" ]
1
2020-11-20T09:37:42.000Z
2020-11-20T09:37:42.000Z
tests/test_star.py
liuyxpp/liuyxpp-gyroid
7db91cb140869760124a66239773822bc2cd4e44
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ test_star ========= :copyright: (c) 2012 by Yi-Xin Liu :license: BSD, see LICENSE for more details. """ import numpy as np from gyroid import UnitCell,Group,Grid,Star,Basis from gyroid.common import * def test_Star1(): b = "Bravais" uc = UnitCell(1,LAMELLAR,np.array([2.0])) ...
21.238806
50
0.58468
242
1,423
3.268595
0.293388
0.070796
0.050569
0.060683
0.418458
0.297092
0.213654
0.17952
0.11378
0.11378
0
0.094002
0.215039
1,423
66
51
21.560606
0.614145
0.183415
0
0.222222
0
0
0.044188
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
90b7e7c93ce9f86e1016898340069507d2e365dd
4,882
py
Python
ironicclient/v1/node_shell.py
citrix-openstack-build/python-ironicclient
bce795f2fe5a18173fb0bad4b40b972c0c61e385
[ "Apache-2.0" ]
null
null
null
ironicclient/v1/node_shell.py
citrix-openstack-build/python-ironicclient
bce795f2fe5a18173fb0bad4b40b972c0c61e385
[ "Apache-2.0" ]
null
null
null
ironicclient/v1/node_shell.py
citrix-openstack-build/python-ironicclient
bce795f2fe5a18173fb0bad4b40b972c0c61e385
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Red Hat, 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 # # h...
35.635036
79
0.606923
640
4,882
4.526563
0.292188
0.030376
0.01864
0.026234
0.360718
0.304453
0.27166
0.207111
0.207111
0.158095
0
0.004907
0.248669
4,882
136
80
35.897059
0.784896
0.1356
0
0.319588
0
0
0.291974
0.005416
0
0
0
0
0
0
null
null
0
0.020619
null
null
0.082474
0
0
0
null
0
0
0
0
0
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
90ba3ee42b8debfbda166b83bddeac100c9f55fa
1,489
py
Python
tractseg/libs/AugmentationGenerators.py
magreiner/TractSeg
5ac5278fc3a6d3262f9f06924dbdde01b399ccf6
[ "Apache-2.0" ]
null
null
null
tractseg/libs/AugmentationGenerators.py
magreiner/TractSeg
5ac5278fc3a6d3262f9f06924dbdde01b399ccf6
[ "Apache-2.0" ]
null
null
null
tractseg/libs/AugmentationGenerators.py
magreiner/TractSeg
5ac5278fc3a6d3262f9f06924dbdde01b399ccf6
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Division of Medical Image Computing, German Cancer Research Center (DKFZ) # # 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 #...
39.184211
142
0.709201
218
1,489
4.743119
0.591743
0.054159
0.031915
0.030948
0
0
0
0
0
0
0
0.011945
0.212895
1,489
37
143
40.243243
0.870307
0.590329
0
0
0
0
0.197208
0
0
0
0
0
0
1
0.153846
false
0.076923
0.153846
0
0.461538
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
90bc1d204fc56dc9cd0f0f80607b403cbc1c57dd
267
py
Python
CrackingCodingProblem/isUnique/isunique_1.py
santoshgawande/DS-Algorithms
eb1de229fd3336d862bd4787295f208a4424d0bb
[ "Apache-2.0" ]
null
null
null
CrackingCodingProblem/isUnique/isunique_1.py
santoshgawande/DS-Algorithms
eb1de229fd3336d862bd4787295f208a4424d0bb
[ "Apache-2.0" ]
null
null
null
CrackingCodingProblem/isUnique/isunique_1.py
santoshgawande/DS-Algorithms
eb1de229fd3336d862bd4787295f208a4424d0bb
[ "Apache-2.0" ]
null
null
null
def isunique(s): for i in range(len(s)): for j in range(len(s)): if i != j: if(s[i] == s[j]): return False return True if __name__ == "__main__": res = isunique("hsjdfhjdhjfk") print(res)
19.071429
34
0.456929
35
267
3.257143
0.514286
0.070175
0.175439
0.192982
0
0
0
0
0
0
0
0
0.404494
267
13
35
20.538462
0.716981
0
0
0
0
0
0.075188
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
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
90bcee9438634418ec2cb542cac33d8a6795891f
3,726
py
Python
resource_manage_sdk/api/datafilter/push_message_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
resource_manage_sdk/api/datafilter/push_message_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
resource_manage_sdk/api/datafilter/push_message_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: push_message.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
39.221053
331
0.769458
453
3,726
6.04415
0.289183
0.037984
0.046019
0.043828
0.30935
0.30935
0.299123
0.271366
0.243608
0.243608
0
0.033364
0.115137
3,726
94
332
39.638298
0.797088
0.06817
0
0.351351
1
0.013514
0.207792
0.172006
0
0
0
0
0
1
0
false
0
0.081081
0
0.081081
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
90c76cbfb2addb75d2b0600ab493fb75bd6562db
10,410
py
Python
happy/HappyState.py
jenniexie/happy
6ba01586e20bb3e4f92e180fd8dce3752519f7c9
[ "Apache-2.0" ]
null
null
null
happy/HappyState.py
jenniexie/happy
6ba01586e20bb3e4f92e180fd8dce3752519f7c9
[ "Apache-2.0" ]
null
null
null
happy/HappyState.py
jenniexie/happy
6ba01586e20bb3e4f92e180fd8dce3752519f7c9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright (c) 2015-2017 Nest Labs, 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/licen...
28.211382
106
0.56561
1,232
10,410
4.598214
0.229708
0.018358
0.022595
0.010591
0.218005
0.162048
0.151456
0.123919
0.117034
0.087732
0
0.005067
0.336407
10,410
368
107
28.288043
0.814997
0.075504
0
0.26383
0
0
0.078404
0
0
0
0
0
0
0
null
null
0.008511
0.042553
null
null
0.102128
0
0
0
null
0
0
0
0
0
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
90cb9e0ccc899b3821b37ad1dcaac94e774a2f62
708
py
Python
pipestash/output/redisoutput.py
jdelker/pipestash
0b9b50e02083fe3f31989c4bb161229e6d07dc67
[ "BSD-3-Clause" ]
null
null
null
pipestash/output/redisoutput.py
jdelker/pipestash
0b9b50e02083fe3f31989c4bb161229e6d07dc67
[ "BSD-3-Clause" ]
null
null
null
pipestash/output/redisoutput.py
jdelker/pipestash
0b9b50e02083fe3f31989c4bb161229e6d07dc67
[ "BSD-3-Clause" ]
null
null
null
import urllib.parse import pipestash.output import redis import json import inspect import re import time import random class RedisOutput(pipestash.output.Output): def __init__(self, config): redis_url = urllib.parse.urlparse(config.redis_url) self.redis = redis.StrictRedis(host=redis_url.hostname,...
29.5
122
0.646893
87
708
5.126437
0.471264
0.089686
0.06278
0
0
0
0
0
0
0
0
0
0.254237
708
23
123
30.782609
0.844697
0
0
0
0
0
0.002825
0
0
0
0
0
0
1
0.095238
false
0.047619
0.380952
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
90cc88fb45e3c8d2a7c5b8981ae4fd13482ddf37
1,181
py
Python
examples/modules/index.py
ventillo/cherrypy_sqlite_api
d1ca046f6451c4f56f00d565c4240a1b13a1415a
[ "MIT" ]
null
null
null
examples/modules/index.py
ventillo/cherrypy_sqlite_api
d1ca046f6451c4f56f00d565c4240a1b13a1415a
[ "MIT" ]
null
null
null
examples/modules/index.py
ventillo/cherrypy_sqlite_api
d1ca046f6451c4f56f00d565c4240a1b13a1415a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import cherrypy import json static_dir = '/templates/' # Needs to have trailing and leading slash '/' class wellcome(object): '''Base Index constructor and expose function''' @cherrypy.expose def index(self): result = '''{ "firstName": "John", "lastName":...
26.244444
73
0.403895
92
1,181
5.173913
0.76087
0.058824
0.071429
0
0
0
0
0
0
0
0
0.073209
0.456393
1,181
44
74
26.840909
0.668224
0.088908
0
0.051282
0
0
0.739944
0
0
0
0
0
0
1
0.051282
false
0
0.051282
0
0.179487
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
90ce2c62de061cd280b6a9df735c25643b73026e
2,669
py
Python
nginx/tests/common.py
mindovermiles262/integrations-core
663cdf0e172094a72e92b4704353d19b7392514a
[ "BSD-3-Clause" ]
1
2021-12-15T22:45:14.000Z
2021-12-15T22:45:14.000Z
nginx/tests/common.py
mindovermiles262/integrations-core
663cdf0e172094a72e92b4704353d19b7392514a
[ "BSD-3-Clause" ]
null
null
null
nginx/tests/common.py
mindovermiles262/integrations-core
663cdf0e172094a72e92b4704353d19b7392514a
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from datadog_checks.dev import get_docker_hostname from datadog_checks.nginx.metrics import COUNT_METRICS, METRICS_SEND_AS_COUNT CHECK_NAME = 'nginx' HERE = os.path.dirname(os.path.abspath(__f...
36.067568
108
0.726115
356
2,669
5.235955
0.317416
0.146459
0.122318
0.141631
0.289163
0.125
0.042918
0
0
0
0
0.005563
0.124391
2,669
73
109
36.561644
0.792041
0.040465
0
0
0
0
0.585843
0.481032
0
0
0
0
0
1
0
false
0.030769
0.046154
0
0.046154
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
90cec40f1343480578d2f74e2c5e971aba3b3a45
2,801
py
Python
src/DLMDL/LayerOperation/tf/static_rnn.py
KAIST-NCL/IDLE
e88aef411ba43a42487202286d743486484f5e17
[ "BSD-2-Clause" ]
7
2018-11-21T09:19:51.000Z
2022-01-27T11:55:43.000Z
src/DLMDL/LayerOperation/tf/static_rnn.py
KAIST-NCL/IDLE
e88aef411ba43a42487202286d743486484f5e17
[ "BSD-2-Clause" ]
null
null
null
src/DLMDL/LayerOperation/tf/static_rnn.py
KAIST-NCL/IDLE
e88aef411ba43a42487202286d743486484f5e17
[ "BSD-2-Clause" ]
3
2019-03-11T11:10:29.000Z
2021-04-16T16:07:17.000Z
from ..layer_operation import LayerOperation import tensorflow as tf import re class op_tf_static_rnn(LayerOperation): _attributes = """[]""" # TODO: TO BE DEPRECATED def compile_time_operation(self, learning_option, cluster): pass def run_time_operation(self, learning_option, cluster...
40.594203
115
0.577651
312
2,801
4.996795
0.362179
0.080821
0.065427
0.032072
0.118024
0.091084
0
0
0
0
0
0.007258
0.311317
2,801
68
116
41.191176
0.800933
0.189218
0
0.102564
0
0
0.085621
0.013029
0
0
0
0.029412
0
1
0.076923
false
0.025641
0.076923
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
90d360420fa30342be5b1d1a6a1d80bd846bb2d7
1,875
py
Python
edgir/name_pb2.py
lab11/PolymorphicBlocks
52e5ee332fddc9a9f583ebabfca863365e873bf7
[ "BSD-3-Clause" ]
null
null
null
edgir/name_pb2.py
lab11/PolymorphicBlocks
52e5ee332fddc9a9f583ebabfca863365e873bf7
[ "BSD-3-Clause" ]
null
null
null
edgir/name_pb2.py
lab11/PolymorphicBlocks
52e5ee332fddc9a9f583ebabfca863365e873bf7
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: edgir/name.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from g...
40.76087
409
0.797333
244
1,875
5.815574
0.377049
0.031712
0.063425
0.084567
0.236786
0.149401
0.149401
0.149401
0.149401
0.149401
0
0.053551
0.083733
1,875
45
410
41.666667
0.77241
0.175467
0
0.153846
1
0.038462
0.29661
0.223598
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
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
90d8ee506e63e2cb9d3cf52fa89d2a370a5f8394
713
py
Python
detectron2/distiller_zoo/CC.py
lijingyao20010602/Dilation-FasterRCNN
fb1f2f0ab336a65604c4d520cca61995b42fb1a6
[ "Apache-2.0" ]
1
2021-11-07T11:30:57.000Z
2021-11-07T11:30:57.000Z
detectron2/distiller_zoo/CC.py
lijingyao20010602/Dilation-FasterRCNN
fb1f2f0ab336a65604c4d520cca61995b42fb1a6
[ "Apache-2.0" ]
null
null
null
detectron2/distiller_zoo/CC.py
lijingyao20010602/Dilation-FasterRCNN
fb1f2f0ab336a65604c4d520cca61995b42fb1a6
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import torch import torch.nn as nn class Correlation(nn.Module): """Correlation Congruence for Knowledge Distillation, ICCV 2019. The authors nicely shared the code with me. I restructured their code to be compatible with my running framework. Credits go to the orig...
29.708333
80
0.677419
91
713
5.120879
0.637363
0.051502
0.012876
0.017167
0.038627
0
0
0
0
0
0
0.020036
0.230014
713
23
81
31
0.82878
0.461431
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
0.1
0
0
0
null
0
0
0
0
0
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
90dfadac8a13b3f4d4c1bc39987a1133a02c65c0
53,857
py
Python
cme/protocols/smb.py
shoxxdj/CrackMapExec
d3b88088fcb12b5293d43caa677a28afb58e866e
[ "BSD-2-Clause" ]
null
null
null
cme/protocols/smb.py
shoxxdj/CrackMapExec
d3b88088fcb12b5293d43caa677a28afb58e866e
[ "BSD-2-Clause" ]
null
null
null
cme/protocols/smb.py
shoxxdj/CrackMapExec
d3b88088fcb12b5293d43caa677a28afb58e866e
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import socket import os import re import ntpath import hashlib,binascii from io import StringIO from impacket.smbconnection import SMBConnection, SessionError from impacket.smb import SMB_DIALECT from impacket.examples.secretsdump import RemoteOperations, SAMHashes, LSASecrets, NTDSHashes from ...
46.5891
323
0.569601
5,916
53,857
5.053414
0.131677
0.025689
0.012176
0.012644
0.390487
0.323421
0.276124
0.248394
0.208757
0.182968
0
0.007407
0.320701
53,857
1,155
324
46.629437
0.809512
0.040013
0
0.330472
0
0.035408
0.135188
0.010003
0.001073
0
0.000194
0
0
1
0.046137
false
0.056867
0.041845
0.001073
0.143777
0.002146
0
0
0
null
0
0
0
0
0
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
90e1b1081a737c5c5f223dccac799f752a251ca0
1,195
py
Python
src/settings.py
libercapital/dados_publicos_cnpj_receita_federal
a02f98ebb1e5aa64539cc371d94ba78a49647214
[ "MIT" ]
7
2022-02-04T22:02:01.000Z
2022-03-08T22:55:29.000Z
src/settings.py
libercapital/dados_publicos_cnpj_receita_federal
a02f98ebb1e5aa64539cc371d94ba78a49647214
[ "MIT" ]
3
2022-02-04T22:48:01.000Z
2022-02-10T01:53:00.000Z
src/settings.py
libercapital/dados_publicos_cnpj_receita_federal
a02f98ebb1e5aa64539cc371d94ba78a49647214
[ "MIT" ]
1
2022-03-18T17:07:18.000Z
2022-03-18T17:07:18.000Z
import os from sqlalchemy import create_engine N_ROWS_CHUNKSIZE = 100_000 POSTGRES_USER = os.getenv('POSTGRES_USER') or 'postgres' POSTGRES_PASSWORD = os.getenv('POSTGRES_PASSWORD') or 'postgres' POSTGRES_HOST = os.environ.get('POSTGRES_HOST') or 'postgres' POSTGRES_PORT = os.environ.get('POSTGRES_PORT') or '...
51.956522
116
0.8
186
1,195
4.677419
0.215054
0.096552
0.128736
0.103448
0.347126
0.222989
0.163218
0.163218
0.163218
0.163218
0
0.010979
0.085356
1,195
22
117
54.318182
0.784995
0
0
0
0
0
0.449275
0.285593
0
0
0
0
0
1
0
false
0.166667
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
90e8ca2437217d91883a2a9bc006c8a9daf6ebe7
179
py
Python
draft/do_json.py
gorgeousbubble/Nightmare
b374b48877898b6193081b7a8a6d2fb571816c75
[ "Apache-2.0" ]
1
2019-10-24T15:47:18.000Z
2019-10-24T15:47:18.000Z
draft/do_json.py
gorgeousbubble/Nightmare
b374b48877898b6193081b7a8a6d2fb571816c75
[ "Apache-2.0" ]
null
null
null
draft/do_json.py
gorgeousbubble/Nightmare
b374b48877898b6193081b7a8a6d2fb571816c75
[ "Apache-2.0" ]
3
2019-10-24T15:47:25.000Z
2020-11-01T01:26:41.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import json if __name__ == '__main__': d = dict(name='Bob', age=20, score=88) j = json.dumps(d) print(d) print(j)
16.272727
42
0.564246
28
179
3.321429
0.785714
0.129032
0
0
0
0
0
0
0
0
0
0.043478
0.22905
179
10
43
17.9
0.630435
0.240223
0
0
0
0
0.08209
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
90f775a43dde74b3002bfebe9807ba07eb85e530
284
py
Python
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/m/member/member_checks_typed_annotations.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/m/member/member_checks_typed_annotations.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/m/member/member_checks_typed_annotations.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
# pylint: disable=missing-docstring,invalid-name,too-few-public-methods class A: myfield: int class B(A): pass class C: pass class D(C, B): pass a = A() print(a.myfield) b = B() print(b.myfield) d = D() print(d.myfield) c = C() print(c.myfield) # [no-member]
10.923077
71
0.619718
48
284
3.666667
0.4375
0.090909
0
0
0
0
0
0
0
0
0
0
0.211268
284
25
72
11.36
0.785714
0.285211
0
0.1875
0
0
0
0
0
0
0
0
0
1
0
false
0.1875
0
0
0.3125
0.25
0
0
0
null
0
0
0
0
0
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
90fc10086e329063c17d667acaaa669793e11f8d
11,811
py
Python
src/include/catalog/li_extras.py
wapache-org/greenplum-gpdb
79e2bd251c1d27054846f630acd52e7903854829
[ "PostgreSQL", "Apache-2.0" ]
5,535
2015-10-28T01:05:40.000Z
2022-03-30T13:46:53.000Z
src/include/catalog/li_extras.py
wapache-org/greenplum-gpdb
79e2bd251c1d27054846f630acd52e7903854829
[ "PostgreSQL", "Apache-2.0" ]
9,369
2015-10-28T07:48:01.000Z
2022-03-31T23:56:42.000Z
src/include/catalog/li_extras.py
wapache-org/greenplum-gpdb
79e2bd251c1d27054846f630acd52e7903854829
[ "PostgreSQL", "Apache-2.0" ]
1,800
2015-10-28T01:08:25.000Z
2022-03-29T13:29:36.000Z
#! /usr/local/bin/python import sys import datetime import pdb #pdb.set_trace() # Test and declaration generator for linear_interpolation # Utility def kwot(s): """Single quote a string, doubling contained quotes as needed.""" return "'" + "''".join(s.split("'")) + "'" # Following section is just fragile ...
30.130102
106
0.591906
1,527
11,811
4.461035
0.214145
0.038755
0.058133
0.036994
0.435408
0.401497
0.38579
0.344979
0.288902
0.240018
0
0.042639
0.267293
11,811
391
107
30.207161
0.744511
0.124037
0
0.349442
0
0.007435
0.17376
0.034309
0
0
0
0
0.003717
0
null
null
0
0.011152
null
null
0.003717
0
0
0
null
0
0
0
0
0
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
90fdc0cfa9830ffa50db69620d590b49601f2ca5
2,284
py
Python
Boilermake2018/Lib/site-packages/chatterbot/response_selection.py
TejPatel98/voice_your_professional_email
9cc48f7bcd6576a6962711755e5d5d485832128c
[ "CC0-1.0" ]
9
2017-11-14T07:13:19.000Z
2021-05-24T12:11:58.000Z
Boilermake2018/Lib/site-packages/chatterbot/response_selection.py
TejPatel98/voice_your_professional_email
9cc48f7bcd6576a6962711755e5d5d485832128c
[ "CC0-1.0" ]
2
2017-12-06T07:40:08.000Z
2017-12-06T07:42:43.000Z
Boilermake2018/Lib/site-packages/chatterbot/response_selection.py
TejPatel98/voice_your_professional_email
9cc48f7bcd6576a6962711755e5d5d485832128c
[ "CC0-1.0" ]
7
2017-11-15T11:11:33.000Z
2017-12-14T10:26:37.000Z
""" Response selection methods determines which response should be used in the event that multiple responses are generated within a logic adapter. """ import logging def get_most_frequent_response(input_statement, response_list): """ :param input_statement: A statement, that closely matches an input to the ch...
31.722222
87
0.721103
291
2,284
5.484536
0.243986
0.112782
0.032581
0.056391
0.553885
0.553885
0.553885
0.553885
0.467419
0.467419
0
0.001114
0.214098
2,284
71
88
32.169014
0.888022
0.495184
0
0.28
1
0
0.143407
0
0
0
0
0
0
1
0.12
false
0
0.08
0
0.32
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
90ffba2dd5556a34ee7cd6f2d64940632e4c3786
1,216
py
Python
src/arche/tools/bitbucket.py
WinterComes/arche
6be3d7a4ec66f33f7af544aa7af4ea95c35bef2e
[ "MIT" ]
52
2019-03-18T21:12:59.000Z
2022-01-24T05:49:23.000Z
src/arche/tools/bitbucket.py
WinterComes/arche
6be3d7a4ec66f33f7af544aa7af4ea95c35bef2e
[ "MIT" ]
173
2019-03-18T15:50:14.000Z
2019-12-09T18:03:07.000Z
src/arche/tools/bitbucket.py
WinterComes/arche
6be3d7a4ec66f33f7af544aa7af4ea95c35bef2e
[ "MIT" ]
21
2019-03-20T17:14:22.000Z
2022-01-30T18:33:22.000Z
import base64 import os import re from typing import Dict from urllib.request import Request NETLOC = os.getenv("BITBUCKET_NETLOC") or "bitbucket.org" API_NETLOC = os.getenv("BITBUCKET_API_NETLOC") or "api.bitbucket.org" USER = os.getenv("BITBUCKET_USER") PASS = os.getenv("BITBUCKET_PASSWORD") def prepare_request(u...
33.777778
88
0.688322
170
1,216
4.782353
0.376471
0.055351
0.083641
0.056581
0.04428
0
0
0
0
0
0
0.011742
0.159539
1,216
35
89
34.742857
0.783757
0.027138
0
0
0
0
0.316058
0.037383
0
0
0
0
0
1
0.12
false
0.24
0.2
0
0.44
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
2900a076cef378599aabb1933de6127f78cbe587
367
py
Python
jcasts/podcasts/migrations/0121_remove_podcast_podcasts_podcast_title_lower.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
13
2021-09-17T07:41:00.000Z
2022-02-10T10:00:48.000Z
jcasts/podcasts/migrations/0121_remove_podcast_podcasts_podcast_title_lower.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
167
2021-07-17T09:41:38.000Z
2021-08-31T06:03:34.000Z
jcasts/podcasts/migrations/0121_remove_podcast_podcasts_podcast_title_lower.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-01 11:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("podcasts", "0120_rename_follow_subscription_and_more"), ] operations = [ migrations.RemoveIndex( model_name="podcast", name="p...
20.388889
65
0.637602
39
367
5.769231
0.794872
0
0
0
0
0
0
0
0
0
0
0.066667
0.264305
367
17
66
21.588235
0.766667
0.117166
0
0
1
0
0.257764
0.21118
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
290b47f6150936c007369b902d07aeee398d117e
1,986
py
Python
Hard/same-bsts.py
SaumyaRai2010/algoexpert-data-structures-algorithms
bcafd8d7798661bf86c2d6234221d764c68fc19f
[ "MIT" ]
152
2021-07-15T02:56:17.000Z
2022-03-31T08:59:52.000Z
Hard/same-bsts.py
SaumyaRai2010/algoexpert-data-structures-algorithms
bcafd8d7798661bf86c2d6234221d764c68fc19f
[ "MIT" ]
2
2021-07-18T22:01:28.000Z
2022-02-17T03:55:04.000Z
Hard/same-bsts.py
SaumyaRai2010/algoexpert-data-structures-algorithms
bcafd8d7798661bf86c2d6234221d764c68fc19f
[ "MIT" ]
74
2021-07-16T11:55:30.000Z
2022-03-31T14:48:06.000Z
# SAME BSTS # O(N^2) time and space def sameBsts(arrayOne, arrayTwo): # Write your code here. if len(arrayOne) != len(arrayTwo): return False if len(arrayOne) == 0: return True if arrayOne[0] != arrayTwo[0]: return False leftSubtreeFirst = [num for num in arrayOne[1:] if num < arrayOne[0]] rightS...
33.661017
105
0.741188
233
1,986
6.317597
0.223176
0.065217
0.024457
0.029891
0.259511
0.245924
0.245924
0.245924
0.245924
0.179348
0
0.012478
0.152568
1,986
59
106
33.661017
0.862151
0.05136
0
0.297297
0
0
0.003727
0
0
0
0
0.016949
0
1
0.135135
false
0
0
0.027027
0.459459
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
290cf777b886e8c5f1613c4009b8cdd6ee691683
566
py
Python
database.py
AsciencioAlex/Matplotlib-In-Practice-Data-Visualization
4203b5ba0f3f2fd7f72c26e6fec6d32d7949fc54
[ "MIT" ]
null
null
null
database.py
AsciencioAlex/Matplotlib-In-Practice-Data-Visualization
4203b5ba0f3f2fd7f72c26e6fec6d32d7949fc54
[ "MIT" ]
null
null
null
database.py
AsciencioAlex/Matplotlib-In-Practice-Data-Visualization
4203b5ba0f3f2fd7f72c26e6fec6d32d7949fc54
[ "MIT" ]
null
null
null
import sqlite3 import sys if len(sys.argv) < 2: print "Error: You supply at least SQL Script." print "Usage: %s table.db ./sql-dump.sql" % (sys.argv[0]) sys.exit(1) script_path = sys.argv[1] if len(sys.argv) == 3: db = sys.argv[2] else: # if DB is not defined # create memory database ...
20.962963
62
0.591873
87
566
3.827586
0.54023
0.105105
0.048048
0.072072
0
0
0
0
0
0
0
0.021792
0.270318
566
26
63
21.769231
0.784504
0.075972
0
0
0
0
0.190385
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
29153351e6a9a46a11f85dd391aa6c6a370ec301
4,405
py
Python
colour/models/rgb/hanbury2003.py
rift-labs-developer/colour
15112dbe824aab0f21447e0db4a046a28a06f43a
[ "BSD-3-Clause" ]
1,380
2015-01-10T12:30:33.000Z
2022-03-30T10:19:57.000Z
colour/models/rgb/hanbury2003.py
rift-labs-developer/colour
15112dbe824aab0f21447e0db4a046a28a06f43a
[ "BSD-3-Clause" ]
638
2015-01-02T10:49:05.000Z
2022-03-29T10:16:22.000Z
colour/models/rgb/hanbury2003.py
rift-labs-developer/colour
15112dbe824aab0f21447e0db4a046a28a06f43a
[ "BSD-3-Clause" ]
250
2015-01-21T15:27:19.000Z
2022-03-30T10:23:58.000Z
# -*- coding: utf-8 -*- """ IHLS Colour Encoding ==================== Defines the :math:`IHLS` (Improved HLS) colourspace related transformations: - :func:`colour.RGB_to_IHLS` - :func:`colour.IHLS_to_RGB` References ---------- - :cite:`Hanbury2003` : Hanbury, A. (2003). A 3D-Polar Coordinate Colour Represe...
26.859756
79
0.46924
529
4,405
3.646503
0.268431
0.016589
0.020218
0.018144
0.204251
0.190772
0.181441
0.12338
0.061172
0
0
0.074096
0.221793
4,405
163
80
27.02454
0.488331
0.550511
0
0
0
0
0.136905
0.02381
0
0
0
0
0
1
0.054054
false
0
0.081081
0
0.189189
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2919a7e48001426cdfc4a14656e8b5474dc5d8da
2,391
py
Python
project_V1/core/migrations/0001_initial.py
arnabtarwani/UCD-MSc-Project
3ab9a8fc0a092a8dd03099d1d5fa55eb127ef3dc
[ "MIT" ]
1
2019-09-13T16:09:40.000Z
2019-09-13T16:09:40.000Z
project_V1/core/migrations/0001_initial.py
arnabtarwani/Buddyup-ucd-msc-project
3ab9a8fc0a092a8dd03099d1d5fa55eb127ef3dc
[ "MIT" ]
9
2020-03-24T17:39:10.000Z
2022-02-10T10:09:09.000Z
project_V1/core/migrations/0001_initial.py
arnabtarwani/UCD-MSc-Project
3ab9a8fc0a092a8dd03099d1d5fa55eb127ef3dc
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-08-09 13:00 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='notification_data', fields=[ ('id', models....
45.980769
122
0.593057
240
2,391
5.670833
0.3
0.129317
0.040411
0.066128
0.531227
0.459221
0.404849
0.296106
0.296106
0.296106
0
0.022159
0.263906
2,391
51
123
46.882353
0.751136
0.018821
0
0.409091
1
0
0.164249
0
0
0
0
0
0
1
0
false
0
0.022727
0
0.113636
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
291f8ec7fb304d153b773ef024ea7c12f7908674
1,390
py
Python
stack/next_greater_elelement.py
devBOX03/DSApractice
0f2bdf8191de6558cc27c03783b609131d55cef4
[ "MIT" ]
null
null
null
stack/next_greater_elelement.py
devBOX03/DSApractice
0f2bdf8191de6558cc27c03783b609131d55cef4
[ "MIT" ]
null
null
null
stack/next_greater_elelement.py
devBOX03/DSApractice
0f2bdf8191de6558cc27c03783b609131d55cef4
[ "MIT" ]
null
null
null
def getNextGreaterElement(array: list) -> None: if len(array) <= 0: return print(bruteForce(array)) print(optimizationUsingSpace(array)) # bruteforce def bruteForce(array: list) -> list: ''' time complexicity: O(n^2) space complexicity: O(1) ''' greater_element_list = [-1] * len...
27.8
83
0.646763
168
1,390
5.113095
0.303571
0.211874
0.154831
0.076834
0.179278
0.179278
0.179278
0.107101
0
0
0
0.022923
0.246763
1,390
49
84
28.367347
0.797517
0.127338
0
0
0
0
0.006832
0
0
0
0
0
0
1
0.103448
false
0
0
0
0.206897
0.068966
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
29220ad6c13f280b4fe6ac4105378377c58b2b27
3,124
py
Python
Assignment1/Assignment1.py
GreatEmerald/geoscripting
7133bc2275b9030f831860fd24cea53446fe3037
[ "Apache-2.0" ]
1
2016-01-27T09:48:34.000Z
2016-01-27T09:48:34.000Z
Assignment1/Assignment1.py
GreatEmerald/geoscripting
7133bc2275b9030f831860fd24cea53446fe3037
[ "Apache-2.0" ]
null
null
null
Assignment1/Assignment1.py
GreatEmerald/geoscripting
7133bc2275b9030f831860fd24cea53446fe3037
[ "Apache-2.0" ]
null
null
null
# Assignment 1 # 18 January 2016 # Team Rython - Dainius Masiliunas - Tim Weerman # Apache license 2.0 # Import packages import os,os.path import mapnik # Set working directory ####### Change this for your own system ####### # os.chdir('YOURWORKINGDIRECTORY') os.chdir('/home/tim/geoscripting/Assignment1') print os.ge...
27.165217
85
0.732714
432
3,124
5.266204
0.472222
0.013187
0.017582
0.014066
0.065055
0.065055
0.065055
0.065055
0
0
0
0.026355
0.137644
3,124
115
86
27.165217
0.818114
0.265365
0
0
0
0
0.195111
0.015111
0
0
0
0
0
0
null
null
0
0.101695
null
null
0.118644
0
0
0
null
0
0
0
0
0
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