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
ac146544edd15972b05ab1abda9361c9a19fda2f
402
py
Python
test/test_list_video.py
oraclefinance/api-python-client
4804606b84135da1e8bcbcc1c7cf3eddcb7c045c
[ "Apache-2.0" ]
null
null
null
test/test_list_video.py
oraclefinance/api-python-client
4804606b84135da1e8bcbcc1c7cf3eddcb7c045c
[ "Apache-2.0" ]
null
null
null
test/test_list_video.py
oraclefinance/api-python-client
4804606b84135da1e8bcbcc1c7cf3eddcb7c045c
[ "Apache-2.0" ]
null
null
null
import onfido import os onfido.configuration.api_key['Authorization'] = 'token=' + os.environ['onfido_token'] onfido.configuration.api_key_prefix['Authorization'] = 'Token' api = onfido.DefaultApi() test_applicant_id = '65e42db1-3132-46ba-9ece-371cf1823b16' live_videos = api.list_live_videos(test_applicant_id).live_...
26.8
85
0.800995
55
402
5.563636
0.472727
0.163399
0.143791
0.163399
0
0
0
0
0
0
0
0.05914
0.074627
402
14
86
28.714286
0.763441
0
0
0
0
0
0.211443
0.089552
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
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
ac15bad6a9193b4add87713d081792e8f1e25141
412
py
Python
lib/compat.py
AlexanderMazaletskiy/jewelcraft
b40937471a8c9a823760666156600aaa424eb322
[ "MIT" ]
null
null
null
lib/compat.py
AlexanderMazaletskiy/jewelcraft
b40937471a8c9a823760666156600aaa424eb322
[ "MIT" ]
null
null
null
lib/compat.py
AlexanderMazaletskiy/jewelcraft
b40937471a8c9a823760666156600aaa424eb322
[ "MIT" ]
1
2020-06-17T07:46:45.000Z
2020-06-17T07:46:45.000Z
def gem_id_compat(ob): """Compatibility for old files from v1.5, should be removed at some point""" if ob.type == 'MESH' and 'gem' in ob.data: if 'gem' not in ob: ob['gem'] = {} for k in ('TYPE', 'type'): if k in ob.data['gem']: ob['gem']['stone'] = ob.data['gem'][k] for k in ('CUT', 'cut'): ...
21.684211
77
0.538835
74
412
2.972973
0.391892
0.163636
0.204545
0.063636
0.172727
0.172727
0.172727
0.172727
0
0
0
0.006309
0.230583
412
18
78
22.888889
0.687697
0.169903
0
0.181818
0
0
0.166667
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac1bf90031dab0e571525cade5446cb7f55ebde8
1,784
py
Python
pychron/canvas/canvas2D/scene/primitives/dumper_primitives.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
31
2016-03-07T02:38:17.000Z
2022-02-14T18:23:43.000Z
pychron/canvas/canvas2D/scene/primitives/dumper_primitives.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
1,626
2015-01-07T04:52:35.000Z
2022-03-25T19:15:59.000Z
pychron/canvas/canvas2D/scene/primitives/dumper_primitives.py
UIllinoisHALPychron/pychron
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
[ "Apache-2.0" ]
26
2015-05-23T00:10:06.000Z
2022-03-07T16:51:57.000Z
# =============================================================================== # Copyright 2015 Jake Ross # # 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...
31.298246
81
0.577354
193
1,784
5.243523
0.57513
0.059289
0.025692
0.031621
0
0
0
0
0
0
0
0.006118
0.175448
1,784
56
82
31.857143
0.681849
0.536996
0
0.090909
0
0
0.037221
0
0
0
0
0
0
1
0.136364
false
0.090909
0.136364
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
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
ac1c014a3fed327243924a717bdd26f6c2f367a6
5,113
py
Python
kubernetes/client/models/v1alpha1_admission_hook_client_config.py
dix000p/kubernetes-client-python
22e473e02883aca1058606092c86311f02f42be2
[ "Apache-2.0" ]
null
null
null
kubernetes/client/models/v1alpha1_admission_hook_client_config.py
dix000p/kubernetes-client-python
22e473e02883aca1058606092c86311f02f42be2
[ "Apache-2.0" ]
null
null
null
kubernetes/client/models/v1alpha1_admission_hook_client_config.py
dix000p/kubernetes-client-python
22e473e02883aca1058606092c86311f02f42be2
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
32.157233
241
0.597497
611
5,113
4.88707
0.245499
0.066979
0.104488
0.012056
0.464166
0.411253
0.377763
0.338245
0.286001
0.286001
0
0.016681
0.308234
5,113
158
242
32.360759
0.827537
0.367299
0
0.060606
1
0.030303
0.152869
0.06238
0
0
0
0
0
1
0.151515
false
0
0.045455
0
0.363636
0.015152
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
ac20e496727f6feb2bbacba3d2b2cfe0419065db
2,613
py
Python
dia 17 Pandas/main.py
RamonNicolas/100-Dias-com-Python
b4678b5981415b385528c5fe67c7bb02c8d2f4ca
[ "MIT" ]
null
null
null
dia 17 Pandas/main.py
RamonNicolas/100-Dias-com-Python
b4678b5981415b385528c5fe67c7bb02c8d2f4ca
[ "MIT" ]
null
null
null
dia 17 Pandas/main.py
RamonNicolas/100-Dias-com-Python
b4678b5981415b385528c5fe67c7bb02c8d2f4ca
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np data = pd.read_csv("weather.csv") temperature = [] temperature.append(data["temp"]) # print(temperature) data_dict = data.to_dict() # print(data.to_dict()) #print (data_dict['temp']) temp_list = data["temp"].to_list() # Manipulação utilizando propriedades do python s = sum(temp...
29.693182
85
0.66858
368
2,613
4.586957
0.317935
0.037915
0.01955
0.046209
0.140995
0.094787
0.03436
0.03436
0
0
0
0.009234
0.171068
2,613
88
86
29.693182
0.770083
0.440107
0
0
0
0
0.123066
0.016878
0
0
0
0.011364
0
1
0
false
0
0.097561
0
0.097561
0
0
0
0
null
0
0
0
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
ac308373e739d9ca4c9b12d1ded66777d00717ea
1,665
py
Python
Examples/AppKit/CocoaBindings/TableModelWithSearch/FilteringArrayController.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/TableModelWithSearch/FilteringArrayController.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/TableModelWithSearch/FilteringArrayController.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
# # FilteringArrayController.py # TableModelWithSearch # # Created by Bill Bumgarner on Sun Apr 04 2004. # Copyright (c) 2004 __MyCompanyName__. All rights reserved. # from Cocoa import * import re kLiteralSearch = u'Literal Search' kRegularExpressionSearch = u'Regular Expression Search' def regexForSearchString...
28.220339
76
0.672072
155
1,665
7.167742
0.464516
0.043204
0.027003
0
0
0
0
0
0
0
0
0.008026
0.251652
1,665
58
77
28.706897
0.883628
0.093694
0
0.095238
0
0
0.028667
0
0
0
0
0
0
0
null
null
0
0.047619
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
ac3853a6cbcc1057864b5950fbb6270b5494ae4f
6,889
py
Python
cnn_model.py
chensuim/text-classification-cnn-rnn
d814df0620c296b87c4d076225d2bb40519039cc
[ "MIT" ]
null
null
null
cnn_model.py
chensuim/text-classification-cnn-rnn
d814df0620c296b87c4d076225d2bb40519039cc
[ "MIT" ]
null
null
null
cnn_model.py
chensuim/text-classification-cnn-rnn
d814df0620c296b87c4d076225d2bb40519039cc
[ "MIT" ]
null
null
null
# coding: utf-8 import tensorflow as tf import numpy as np class TCNNConfig(object): """CNN配置参数""" embedding_dim = 300 # 词向量维度 seq_length = 300 # 序列长度 num_classes = 2640 # 类别数 num_filters = 128 * 16 # 卷积核数目 kernel_sizes = [2,4,7] # 卷积核尺寸 vocab_size = 5000 # 词汇表达小 hidden_dim = 4...
47.840278
210
0.646102
936
6,889
4.549145
0.244658
0.077501
0.027478
0.031235
0.282762
0.229216
0.193753
0.154298
0.12776
0.083607
0
0.029944
0.229206
6,889
143
211
48.174825
0.77194
0.331543
0
0
0
0
0.015647
0
0
0
0
0
0
0
null
null
0
0.028986
null
null
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac3a420305d0789c7f096ac92ae908e551f3783b
4,603
py
Python
test/app/api/rest/test_recipe.py
awaisali88/Python-Flask-mongo
4c7177587a90a109ea16fd8c1ec79ed15dbd35a0
[ "MIT" ]
3
2021-04-16T09:16:34.000Z
2021-07-20T19:36:20.000Z
test/app/api/rest/test_recipe.py
fsjunior/python-flask-restful-seed
1b989d17ac3a0f27cb60be43c5e81310bf8a4c53
[ "MIT" ]
10
2020-11-03T14:52:24.000Z
2021-06-28T21:25:05.000Z
test/app/api/rest/test_recipe.py
fsjunior/python-flask-restful-seed
1b989d17ac3a0f27cb60be43c5e81310bf8a4c53
[ "MIT" ]
1
2021-08-20T22:58:33.000Z
2021-08-20T22:58:33.000Z
from http import HTTPStatus import pytest from app.model.recipes import Recipe class TestRecipe: @classmethod def setup_class(cls): Recipe.drop_collection() @pytest.fixture() def new_recipe(self): return {"title": "ovo cozido", "ingredients": ["ovo", "água"], "howto": "cozinhe o ovo...
38.680672
106
0.668043
581
4,603
5.086059
0.153184
0.115059
0.097462
0.050761
0.638917
0.593232
0.535702
0.49577
0.447039
0.430795
0
0.005901
0.226809
4,603
118
107
39.008475
0.824389
0.005214
0
0.355556
0
0
0.141858
0.045464
0
0
0
0
0.533333
1
0.111111
false
0
0.033333
0.011111
0.177778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
ac3bd2cc80117b2bdd8a307546bff426a86c435a
2,850
py
Python
pythran/tests/scipy/hausdorff.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/tests/scipy/hausdorff.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/tests/scipy/hausdorff.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
# # Copyright (C) Tyler Reddy, Richard Gowers, and Max Linke, 2016 # # Distributed under the same BSD license as Scipy. # # adapted from scipy's cython version import numpy as np import numpy.random as random #pythran export directed_hausdorff(float64[:,:], float64[:,:], int) #pythran export directed_hausdorff_noshuf...
30.978261
135
0.565965
408
2,850
3.870098
0.267157
0.020266
0.022799
0.037999
0.623179
0.623179
0.623179
0.623179
0.580114
0.580114
0
0.044974
0.336842
2,850
91
136
31.318681
0.790476
0.358596
0
0.872727
0
0
0
0
0
0
0
0
0
1
0.036364
false
0
0.036364
0
0.109091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac47933fe23556fa73acfd5fba91d00687b93b22
1,902
py
Python
froide/foirequest/pdf_generator.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
froide/foirequest/pdf_generator.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
froide/foirequest/pdf_generator.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
import logging from django.conf import settings from django.template.loader import render_to_string try: import weasyprint as wp PDF_EXPORT_AVAILABLE = True except ImportError: PDF_EXPORT_AVAILABLE = False from froide.helper.text_utils import remove_closing_inclusive logger = logging.getLogger(__name_...
25.36
66
0.654574
233
1,902
5.06867
0.330472
0.035563
0.047417
0.045724
0.131245
0.068586
0
0
0
0
0
0.000708
0.257098
1,902
74
67
25.702703
0.835103
0
0
0.037736
0
0
0.053628
0.033649
0
0
0
0
0
1
0.169811
false
0
0.113208
0.037736
0.54717
0.018868
0
0
0
null
0
0
0
0
0
0
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
ac4d22bee1ba5c8689fae51540668934c0c16770
1,428
py
Python
examples/showcase/one_min_gridsearch.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
8
2015-02-02T21:42:23.000Z
2019-06-30T18:12:43.000Z
examples/showcase/one_min_gridsearch.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
4
2015-09-24T14:12:38.000Z
2021-12-08T22:42:52.000Z
examples/showcase/one_min_gridsearch.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
6
2015-02-27T12:35:33.000Z
2020-10-15T21:04:02.000Z
""" Optimzing the OneMin objective function with grid search ======================================================== The optimization stops after a global timeout of 10 seconds. """ # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement # First Party from ...
29.75
80
0.751401
160
1,428
6.4875
0.475
0.084778
0.077071
0.100193
0.071291
0.071291
0
0
0
0
0
0.004839
0.131653
1,428
47
81
30.382979
0.832258
0.136555
0
0
0
0
0.033524
0
0
0
0
0
0
1
0.071429
false
0
0.321429
0.035714
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac5118b26be0aa59203c9f7695db9a724e2b1882
468
py
Python
subscriptions/migrations/0005_auto_20200630_1200.py
Naveendata-ux/tor_redesign
e4b5135f8b4134527ad04a097bdffd9d956d9858
[ "BSD-2-Clause" ]
null
null
null
subscriptions/migrations/0005_auto_20200630_1200.py
Naveendata-ux/tor_redesign
e4b5135f8b4134527ad04a097bdffd9d956d9858
[ "BSD-2-Clause" ]
null
null
null
subscriptions/migrations/0005_auto_20200630_1200.py
Naveendata-ux/tor_redesign
e4b5135f8b4134527ad04a097bdffd9d956d9858
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.2.5 on 2020-06-30 12:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('subscriptions', '0004_auto_20200630_1157'), ] operations = [ migrations.AlterField( model_name='subscriptionplan', n...
24.631579
118
0.638889
52
468
5.653846
0.807692
0
0
0
0
0
0
0
0
0
0
0.088825
0.254274
468
18
119
26
0.753582
0.096154
0
0
1
0
0.216152
0.054632
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac52860aefa30a3f16c071d3dfeaeb339bfdb5d2
1,387
py
Python
videowatch/defunct/timer_test.py
HarvardX/js-input-samples
8e54852b3f9b5fa7071b7109f5dd37aab3f0bf5c
[ "MIT" ]
15
2015-08-05T23:46:35.000Z
2021-12-16T13:25:16.000Z
videowatch/defunct/timer_test.py
Stanford-Online/js-input-samples
0d959bd6a2064818dfad96e6284ec66235955db8
[ "MIT" ]
null
null
null
videowatch/defunct/timer_test.py
Stanford-Online/js-input-samples
0d959bd6a2064818dfad96e6284ec66235955db8
[ "MIT" ]
19
2015-04-01T17:09:45.000Z
2021-06-20T09:26:43.000Z
from __future__ import division import math video_length = 600 durations = [] watch_times = [] total_watch_time = 0 start_time = 0 end_time = 0 grade = 0 # Adding random times to test for i in range(0, 50): watch_times.append(i) for i in range(100, 150): watch_times.append(i) for i in range(400, 450): w...
21.338462
75
0.668349
228
1,387
3.885965
0.385965
0.146727
0.03386
0.062077
0.205418
0.205418
0.205418
0.126411
0
0
0
0.041306
0.249459
1,387
65
76
21.338462
0.809798
0.233598
0
0.179487
0
0
0
0
0
0
0
0
0
0
null
null
0.025641
0.051282
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
ac579e443a78d5dc6585259127d87d1509005d27
54,337
py
Python
slowfast/models/head_helper.py
coldmanck/VidHOI
523e9297202e869cfff70736336dabb35faf8d00
[ "Apache-2.0" ]
26
2021-05-26T12:17:46.000Z
2022-03-24T10:30:22.000Z
slowfast/models/head_helper.py
coldmanck/VidHOI
523e9297202e869cfff70736336dabb35faf8d00
[ "Apache-2.0" ]
4
2021-06-24T07:14:37.000Z
2022-03-31T07:51:20.000Z
slowfast/models/head_helper.py
coldmanck/VidHOI
523e9297202e869cfff70736336dabb35faf8d00
[ "Apache-2.0" ]
7
2021-05-31T14:43:13.000Z
2022-03-03T13:32:18.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """ResNe(X)t Head helper.""" import torch import torch.nn as nn from torch.nn import functional as F from typing import Dict, List, Optional, Tuple, Union from detectron2.layers import ROIAlign from detectron2.layers import...
47.747803
272
0.58647
6,935
54,337
4.364384
0.077001
0.021938
0.018634
0.019328
0.746952
0.701721
0.658209
0.617141
0.580401
0.55539
0
0.033049
0.315623
54,337
1,137
273
47.789798
0.780864
0.251854
0
0.511401
0
0
0.030735
0
0
0
0
0
0.027687
1
0.019544
false
0
0.02443
0
0.066775
0.003257
0
0
0
null
0
0
0
0
1
0
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
ac5966c99c4b31fb7abe2de6b5fad3bf466d283b
589
py
Python
doc/source/usage/tips/sample_opts2.py
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
77
2015-01-30T15:45:43.000Z
2022-03-03T02:29:37.000Z
doc/source/usage/tips/sample_opts2.py
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
37
2015-01-18T21:04:36.000Z
2021-07-09T08:24:54.000Z
doc/source/usage/tips/sample_opts2.py
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
29
2015-02-17T14:37:18.000Z
2021-11-16T07:46:26.000Z
#!/usr/bin/env python from ecto import Constant from ecto.ecto_test import Multiply import argparse from ecto.opts import cell_options parser = argparse.ArgumentParser(description='My awesome program thing.') #add our cells to the parser multiply_factory = cell_options(parser, Multiply, prefix='mult') const_factory ...
28.047619
81
0.780985
85
589
5.305882
0.588235
0.053215
0.113082
0.10643
0
0
0
0
0
0
0
0.011628
0.123939
589
20
82
29.45
0.862403
0.283531
0
0
0
0
0.08134
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac59dff838651e9f04f1c0fe8d387caff556a4f3
16,408
py
Python
src/natcap/invest/reporting/table_generator.py
tomsaleeba/invest
0af7ade80715394c5df0d39503011fac962d1749
[ "BSD-3-Clause" ]
null
null
null
src/natcap/invest/reporting/table_generator.py
tomsaleeba/invest
0af7ade80715394c5df0d39503011fac962d1749
[ "BSD-3-Clause" ]
1
2021-12-08T19:49:56.000Z
2021-12-11T01:59:55.000Z
src/natcap/invest/reporting/table_generator.py
emlys/invest
5b0391fd456df5a6afd2fdfbaed542a090f58f17
[ "BSD-3-Clause" ]
null
null
null
"""A helper module for generating html tables that are represented as Strings""" import logging LOGGER = logging.getLogger('natcap.invest.reporting.table_generator') def generate_table(table_dict, attributes=None): """Takes in a dictionary representation of a table and generates a String of the the table ...
42.840731
81
0.614578
2,277
16,408
4.293368
0.128678
0.013502
0.010741
0.011661
0.261047
0.231894
0.186068
0.168474
0.168474
0.160904
0
0.004884
0.313628
16,408
382
82
42.95288
0.863168
0.563993
0
0.146154
1
0
0.138646
0.010044
0
0
0
0
0
1
0.053846
false
0
0.007692
0
0.115385
0
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
ac5b0b9319084310c8c7d8e9f68b54f2705aa1b9
1,668
py
Python
setup.py
jtlai0921/template-remover
de963f221612f57d4982fbc779acd21302c7b817
[ "Apache-2.0" ]
4
2015-07-30T12:23:11.000Z
2019-02-08T14:59:07.000Z
setup.py
jtlai0921/template-remover
de963f221612f57d4982fbc779acd21302c7b817
[ "Apache-2.0" ]
2
2015-07-30T12:34:21.000Z
2019-02-13T09:53:24.000Z
setup.py
jtlai0921/template-remover
de963f221612f57d4982fbc779acd21302c7b817
[ "Apache-2.0" ]
2
2019-03-10T12:25:16.000Z
2020-05-29T08:02:47.000Z
# Copyright 2014 Deezer (http://www.deezer.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 law or agr...
37.066667
74
0.667866
207
1,668
5.342995
0.57971
0.05425
0.135624
0.094033
0.048825
0
0
0
0
0
0
0.020393
0.206235
1,668
44
75
37.909091
0.814955
0.339928
0
0
0
0
0.574057
0.023919
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
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
ac5ec3f15246a3e1efe9d912d2151662815f55f8
19,748
py
Python
src/ralph/dns/tests.py
pinoatrome/ralph
d46ac6a0e120ecda4dcc30296a9544ead9c09c53
[ "Apache-2.0" ]
1,668
2015-01-01T12:51:20.000Z
2022-03-29T09:05:35.000Z
src/ralph/dns/tests.py
pinoatrome/ralph
d46ac6a0e120ecda4dcc30296a9544ead9c09c53
[ "Apache-2.0" ]
2,314
2015-01-02T13:26:26.000Z
2022-03-29T04:06:03.000Z
src/ralph/dns/tests.py
pinoatrome/ralph
d46ac6a0e120ecda4dcc30296a9544ead9c09c53
[ "Apache-2.0" ]
534
2015-01-05T12:40:28.000Z
2022-03-29T21:10:12.000Z
# -*- coding: utf-8 -*- from unittest.mock import patch from django.db import transaction from django.test import override_settings, TestCase, TransactionTestCase from ralph.assets.tests.factories import ( ConfigurationClassFactory, EthernetFactory ) from ralph.data_center.models import BaseObjectCluster, Dat...
35.454219
80
0.538434
1,928
19,748
5.226141
0.116183
0.071457
0.061929
0.089023
0.729853
0.683803
0.667626
0.639242
0.621576
0.580885
0
0.009471
0.331679
19,748
556
81
35.517986
0.753978
0.013115
0
0.71068
0
0
0.189467
0.004569
0
0
0
0
0.040777
1
0.040777
false
0
0.027184
0
0.07767
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac67f74d2f0efc892151853232426d7e8cd811b4
1,263
py
Python
bad-joke-api/config.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
bad-joke-api/config.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
bad-joke-api/config.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
import os import yaml import asyncio class Config: def __init__(self, config_file, **options): self.name = config_file try: with open(self.name, 'r') as f: self._config = yaml.load(f) except FileNotFoundError: self._config = {} self.loop =...
23.388889
65
0.58274
164
1,263
4.280488
0.341463
0.156695
0.091168
0.045584
0
0
0
0
0
0
0
0.001122
0.294537
1,263
53
66
23.830189
0.786756
0
0
0.054054
0
0
0.012668
0
0
0
0
0
0
1
0.189189
false
0
0.081081
0.135135
0.432432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ac6c80323f899edd2d80bf6f3fd359e9b7c4a539
5,572
py
Python
rpython/rtyper/lltypesystem/llgroup.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
381
2018-08-18T03:37:22.000Z
2022-02-06T23:57:36.000Z
rpython/rtyper/lltypesystem/llgroup.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
16
2018-09-22T18:12:47.000Z
2022-02-22T20:03:59.000Z
rpython/rtyper/lltypesystem/llgroup.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
55
2015-08-16T02:41:30.000Z
2022-03-20T20:33:35.000Z
import weakref from rpython.rtyper.lltypesystem import lltype, llmemory, rffi from rpython.rlib.rarithmetic import LONG_BIT class GroupType(lltype.ContainerType): """A 'group' that stores static structs together in memory. On 32-bit platforms, the point is that they can be referenced by a GroupMemberOffs...
33.566265
79
0.65201
695
5,572
5.063309
0.277698
0.022734
0.029554
0.026996
0.254902
0.211424
0.196078
0.183007
0.183007
0.183007
0
0.013021
0.255743
5,572
165
80
33.769697
0.835544
0.218414
0
0.222222
0
0
0.039822
0.005153
0
0
0
0
0.12963
1
0.203704
false
0
0.046296
0.064815
0.537037
0
0
0
0
null
0
0
0
0
0
0
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
ac6f1f97339a1c6b64d79716084b8b02c05e1845
931
py
Python
keanu-python/docs/remove_underscores.py
bwplotka/keanu
3afc576380fd30f7539b34b220bd89e68529b10e
[ "MIT" ]
153
2018-04-06T13:30:31.000Z
2022-01-31T10:05:27.000Z
keanu-python/docs/remove_underscores.py
bwplotka/keanu
3afc576380fd30f7539b34b220bd89e68529b10e
[ "MIT" ]
168
2018-04-06T16:37:33.000Z
2021-09-27T21:43:54.000Z
keanu-python/docs/remove_underscores.py
bwplotka/keanu
3afc576380fd30f7539b34b220bd89e68529b10e
[ "MIT" ]
46
2018-04-10T10:46:01.000Z
2022-02-24T02:53:50.000Z
import os try: os.rename('_build/html/_static', '_build/html/static') os.rename('_build/html/_modules', '_build/html/modules') os.rename('_build/html/_sources', '_build/html/sources') except: pass root_dir = '_build/html' for directory, subdirectories, files in os.walk(root_dir): for fileName in ...
33.25
87
0.639098
103
931
5.572816
0.407767
0.109756
0.067944
0.08885
0.135889
0
0
0
0
0
0
0
0.24275
931
27
88
34.481481
0.814184
0
0
0.26087
0
0
0.267454
0
0
0
0
0
0
1
0
false
0.086957
0.043478
0
0.043478
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac70b2acbf582a4621fb12f4db24cef26bfe687d
380
py
Python
examples/competitive/bot.py
DrInfy/python-sc2
c08b06b19dee8fd973dec9a2e2383f3ab76d8e77
[ "MIT" ]
242
2019-06-26T22:03:36.000Z
2022-03-28T19:32:04.000Z
examples/competitive/bot.py
DrInfy/python-sc2
c08b06b19dee8fd973dec9a2e2383f3ab76d8e77
[ "MIT" ]
85
2019-06-08T13:22:32.000Z
2022-03-28T15:52:45.000Z
examples/competitive/bot.py
DrInfy/python-sc2
c08b06b19dee8fd973dec9a2e2383f3ab76d8e77
[ "MIT" ]
111
2019-09-13T14:37:13.000Z
2022-03-31T22:35:14.000Z
import sc2 class CompetitiveBot(sc2.BotAI): async def on_start(self): print("Game started") # Do things here before the game starts async def on_step(self, iteration): # Populate this function with whatever your bot should do! pass def on_end(self, result): print(...
23.75
66
0.639474
52
380
4.615385
0.673077
0.0625
0.083333
0
0
0
0
0
0
0
0
0.00738
0.286842
380
15
67
25.333333
0.878229
0.339474
0
0
0
0
0.093117
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.375
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
ac748c11681c6aba52b96e8c38e03b637e2790fd
923
py
Python
prediction.py
NII-Kobayashi/Linear_Regression
3875031435a16e1986865f181258130564e279cc
[ "MIT" ]
null
null
null
prediction.py
NII-Kobayashi/Linear_Regression
3875031435a16e1986865f181258130564e279cc
[ "MIT" ]
null
null
null
prediction.py
NII-Kobayashi/Linear_Regression
3875031435a16e1986865f181258130564e279cc
[ "MIT" ]
2
2019-09-06T22:44:14.000Z
2021-03-10T19:19:47.000Z
# Author: Niharika Singhal # # For license information, see LICENSE.txt """ Function for predicting the number of retweets in a future period References ---------- .. *Kobayashi and Lambiotte, ICWSM, pp. 191-200, 2016; Szabo and Huberman, Communication of the ACM 53, pp.80-88, 2010; Zhao et al., KDD, pp. 1513-1522, 2...
28.84375
159
0.658722
139
923
4.309353
0.553957
0.053422
0.080134
0.053422
0.153589
0.0601
0.0601
0
0
0
0
0.050279
0.224269
923
31
160
29.774194
0.786313
0.611051
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac754a025afe2542375edeabec4b93dedc5e3f25
11,599
py
Python
src/GUI.py
DaletWolff/RSA_uuid
b438a6618a89bd930099bea44a6009fc68f4b453
[ "Unlicense" ]
null
null
null
src/GUI.py
DaletWolff/RSA_uuid
b438a6618a89bd930099bea44a6009fc68f4b453
[ "Unlicense" ]
null
null
null
src/GUI.py
DaletWolff/RSA_uuid
b438a6618a89bd930099bea44a6009fc68f4b453
[ "Unlicense" ]
null
null
null
import tkinter import string import tkinter.filedialog import tkinter.messagebox import datetime import uuid import cifrar class Menu: def __init__(self): self.root = tkinter.Tk() self.root.geometry("500x455") self.root.title("Cifrado asimetrico") self.frame = tkinter.Frame(self.r...
59.482051
152
0.639193
1,549
11,599
4.648806
0.12266
0.048743
0.04666
0.041244
0.700597
0.642411
0.563811
0.465908
0.42258
0.381475
0
0.025081
0.226571
11,599
195
153
59.482051
0.777617
0.007587
0
0.183544
0
0
0.150639
0.010946
0
0
0
0
0
1
0.06962
false
0.139241
0.044304
0
0.126582
0
0
0
0
null
0
0
0
0
0
0
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
ac7666d7da82796e6dc7fd029aae6950b22ec0a4
6,016
py
Python
geometry/Bmat.py
ruixingw/rxcclib
73036f7a159897e490cd983a256a0a180e3060c3
[ "BSD-3-Clause" ]
1
2019-03-15T03:47:23.000Z
2019-03-15T03:47:23.000Z
geometry/Bmat.py
ruixingw/rxcclib
73036f7a159897e490cd983a256a0a180e3060c3
[ "BSD-3-Clause" ]
null
null
null
geometry/Bmat.py
ruixingw/rxcclib
73036f7a159897e490cd983a256a0a180e3060c3
[ "BSD-3-Clause" ]
2
2021-05-27T10:19:47.000Z
2021-12-02T21:34:59.000Z
#!/usr/bin/env python3 # Construct B-matrix converting Cartesian Coordinates to Internal Coordinates import numpy as np import rxcclib.geometry.molecules as rxmol import rxcclib.utils as utils class BmatrixError(Exception): pass class Bmatrix(object): def __init__(self, itnlcordL): self.mymolecule =...
36.460606
79
0.393949
598
6,016
3.939799
0.23913
0.050934
0.076401
0.01528
0.287351
0.279287
0.20034
0.134975
0.134975
0.134975
0
0.116429
0.510306
6,016
164
80
36.682927
0.683299
0.038896
0
0.267176
0
0
0.012818
0
0
0
0
0
0
1
0.022901
false
0.007634
0.022901
0
0.076336
0.007634
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac811685a4112ca79da420988706658ee9ccbde2
460
py
Python
models/iscnet/modules/__init__.py
wessam611/RfDNet
dc11207b6329a4cb110353b6209fa156805f7a75
[ "MIT" ]
3
2022-02-06T20:51:23.000Z
2022-03-18T03:38:25.000Z
models/iscnet/modules/__init__.py
wessam611/RfDNet
dc11207b6329a4cb110353b6209fa156805f7a75
[ "MIT" ]
null
null
null
models/iscnet/modules/__init__.py
wessam611/RfDNet
dc11207b6329a4cb110353b6209fa156805f7a75
[ "MIT" ]
1
2022-02-08T13:33:32.000Z
2022-02-08T13:33:32.000Z
from .network import ISCNet from .network_weakly import ISCNet_WEAK from .pointnet2backbone import Pointnet2Backbone from .proposal_module import ProposalModule from .vote_module import VotingModule from .occupancy_net import ONet from .skip_propagation import SkipPropagation from .classification_encoder import ClassEn...
46
133
0.834783
49
460
7.591837
0.44898
0.05914
0
0
0
0
0
0
0
0
0
0.007177
0.091304
460
10
133
46
0.882775
0
0
0
0
0
0.197397
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac83e71112c35af9be30949a9873adead157dd82
2,250
py
Python
connection.py
rkrishnasanka/Peripheral-Manager
e938cc037b1c961d8682f97eb1171bc809750001
[ "BSD-2-Clause" ]
null
null
null
connection.py
rkrishnasanka/Peripheral-Manager
e938cc037b1c961d8682f97eb1171bc809750001
[ "BSD-2-Clause" ]
1
2020-12-03T22:22:45.000Z
2020-12-03T22:22:45.000Z
connection.py
rkrishnasanka/Peripheral-Manager
e938cc037b1c961d8682f97eb1171bc809750001
[ "BSD-2-Clause" ]
1
2021-06-18T13:11:34.000Z
2021-06-18T13:11:34.000Z
import datetime import threading from threading import Thread import serial class Connection: def __init__(self, name:str = "", address:str = "", socketio = None, isvirtual: bool=False): self.name = name self.address = address self.isvirtual = isvirtual self.socketio_reference = ...
33.58209
96
0.592889
251
2,250
5.243028
0.366534
0.106383
0.027356
0.027356
0
0
0
0
0
0
0
0.006536
0.32
2,250
67
97
33.58209
0.853595
0.170667
0
0.12766
0
0
0.033926
0
0
0
0
0.014925
0
1
0.106383
false
0
0.085106
0
0.234043
0.06383
0
0
0
null
0
0
0
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
ac84bedfb52451542182c61aa12567b72c3ce3e2
1,471
py
Python
formulae/tests/test_terms_variable.py
tomicapretto/formulae
ab7fbc0e12d83afc7bbd9c34f6d923b34fbe9bcb
[ "MIT" ]
24
2021-02-23T15:56:20.000Z
2022-03-22T18:14:07.000Z
formulae/tests/test_terms_variable.py
bambinos/formulae
ab7fbc0e12d83afc7bbd9c34f6d923b34fbe9bcb
[ "MIT" ]
49
2021-03-09T10:24:25.000Z
2022-03-11T14:20:35.000Z
formulae/tests/test_terms_variable.py
tomicapretto/formulae
ab7fbc0e12d83afc7bbd9c34f6d923b34fbe9bcb
[ "MIT" ]
9
2021-01-25T20:23:25.000Z
2022-03-10T07:21:16.000Z
import pytest import numpy as np import pandas as pd from formulae.terms import Variable def test_variable_str(): assert str(Variable("a")) == "Variable(a, level='None')" assert str(Variable("a", "hi")) == "Variable(a, level='hi')" assert repr(Variable("a")) == str(Variable("a")) assert repr(Varia...
24.932203
66
0.623385
208
1,471
4.264423
0.259615
0.081172
0.144307
0.205186
0.390079
0.317926
0.278467
0.147689
0.147689
0.099211
0
0.014431
0.199184
1,471
58
67
25.362069
0.73854
0.029912
0
0.324324
0
0
0.06807
0
0
0
0
0
0.162162
1
0.135135
false
0
0.108108
0
0.243243
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
ac88d9ac99ca03b54d4ecf658a4d27a6a55f5bbb
1,824
py
Python
notebooks/check_r_dep.py
H-E-L-P/simstack_HELP
6fb026ff824545239ac460b073fe930ca8d69b36
[ "MIT" ]
1
2021-11-29T19:51:04.000Z
2021-11-29T19:51:04.000Z
notebooks/check_r_dep.py
H-E-L-P/simstack_HELP
6fb026ff824545239ac460b073fe930ca8d69b36
[ "MIT" ]
null
null
null
notebooks/check_r_dep.py
H-E-L-P/simstack_HELP
6fb026ff824545239ac460b073fe930ca8d69b36
[ "MIT" ]
null
null
null
import numpy as np from astropy.io import fits from matplotlib import pyplot as plt import os from astropy.coordinates import SkyCoord from astropy import units as u from astropy.coordinates import match_coordinates_sky import pyregion import pyregion._region_filter as filter import pyregion._region_filter as region_f...
26.823529
89
0.691886
306
1,824
3.973856
0.392157
0.034539
0.021382
0.046053
0.123355
0.044408
0.044408
0
0
0
0
0.064667
0.177632
1,824
67
90
27.223881
0.746
0
0
0
0
0
0.283991
0.057018
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.053571
0
0
0
null
0
0
0
0
0
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
3ba7132783b33d791645a46235c90d705a0fbff6
400
py
Python
leap_year.py
Kunal3Kumar/Assignment
80bca7da69e372016c6b0faee745d133205c4bf6
[ "MIT" ]
1
2021-08-13T10:19:32.000Z
2021-08-13T10:19:32.000Z
leap_year.py
Kunal3Kumar/Assignment
80bca7da69e372016c6b0faee745d133205c4bf6
[ "MIT" ]
null
null
null
leap_year.py
Kunal3Kumar/Assignment
80bca7da69e372016c6b0faee745d133205c4bf6
[ "MIT" ]
null
null
null
# WAP in python to check the given year is leap or not. year=int(input("Enter Year: ")) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year)) else: print("{0} is a le...
30.769231
56
0.54
66
400
3.272727
0.363636
0.111111
0.148148
0.277778
0.583333
0.583333
0.583333
0.583333
0.583333
0.564815
0
0.050542
0.3075
400
12
57
33.333333
0.729242
0.1325
0
0.636364
0
0
0.276276
0
0
0
0
0
0
1
0
false
0
0
0
0
0.363636
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
3bb17cca9becf6ad35560d8db464efc76ad71261
1,955
py
Python
froide/foirequest/models/deferred.py
rugk/froide
a09ae1b41c172bec310c0e074753a2f97f29f5f9
[ "MIT" ]
null
null
null
froide/foirequest/models/deferred.py
rugk/froide
a09ae1b41c172bec310c0e074753a2f97f29f5f9
[ "MIT" ]
null
null
null
froide/foirequest/models/deferred.py
rugk/froide
a09ae1b41c172bec310c0e074753a2f97f29f5f9
[ "MIT" ]
null
null
null
import base64 from django.db import models from django.utils.translation import gettext_lazy as _ from .request import FoiRequest class DeferredMessageManager(models.Manager): def get_publicbody_for_email(self, email): deferreds = self.get_queryset().filter( sender=email, request__isnull=Fal...
32.04918
75
0.657801
216
1,955
5.800926
0.430556
0.028731
0.028731
0.038308
0.057462
0.057462
0.057462
0
0
0
0
0.013405
0.236829
1,955
60
76
32.583333
0.826408
0
0
0
0
0
0.079284
0
0
0
0
0
0
1
0.106383
false
0
0.106383
0.06383
0.531915
0
0
0
0
null
0
0
0
0
0
0
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
3bb1ff8b1ac6a7499e7e7320cf791322b7e2ef0a
397
py
Python
applications/targets/migrations/0005_auto_20200825_2024.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
null
null
null
applications/targets/migrations/0005_auto_20200825_2024.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
4
2020-07-08T18:21:42.000Z
2021-03-22T15:21:09.000Z
applications/targets/migrations/0005_auto_20200825_2024.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
1
2020-07-29T22:11:27.000Z
2020-07-29T22:11:27.000Z
# Generated by Django 3.0.7 on 2020-08-25 20:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('targets', '0004_target_created_at'), ] operations = [ migrations.AlterField( model_name='target', name='created_at',...
20.894737
58
0.609572
44
397
5.340909
0.795455
0.076596
0
0
0
0
0
0
0
0
0
0.066434
0.279597
397
18
59
22.055556
0.755245
0.11335
0
0
1
0
0.128571
0.062857
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bb50d83dd6064b5a151b7bd30e1e1e629c3fada
555
py
Python
nba_project/users/migrations/0002_user_department.py
mayankkushal/nba
e887c0e17ffa8c4c7be703e2e0e1d182f8bfb904
[ "MIT" ]
null
null
null
nba_project/users/migrations/0002_user_department.py
mayankkushal/nba
e887c0e17ffa8c4c7be703e2e0e1d182f8bfb904
[ "MIT" ]
null
null
null
nba_project/users/migrations/0002_user_department.py
mayankkushal/nba
e887c0e17ffa8c4c7be703e2e0e1d182f8bfb904
[ "MIT" ]
1
2018-10-24T09:51:27.000Z
2018-10-24T09:51:27.000Z
# Generated by Django 2.0.9 on 2018-10-28 09:08 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('main', '__first__'), ('users', '0001_initial'), ] operations = [ migra...
24.130435
103
0.627027
61
555
5.57377
0.688525
0.070588
0.082353
0.129412
0
0
0
0
0
0
0
0.045673
0.25045
555
22
104
25.227273
0.771635
0.081081
0
0
1
0
0.116142
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.375
0
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
3bb544cbce1d6803be9179d5b8ebd06c94c46b26
3,955
py
Python
dlkit/abstract_osid/authentication/search_orders.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/authentication/search_orders.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/authentication/search_orders.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of authentication abstract base class search_orders.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' ...
36.962617
97
0.684197
434
3,955
6.087558
0.297235
0.06056
0.057532
0.03028
0.466313
0.410295
0.410295
0.271764
0.252082
0.252082
0
0
0.213148
3,955
106
98
37.311321
0.848972
0.727181
0
0.52381
0
0
0
0
0
0
0
0
0
1
0.238095
false
0.047619
0.047619
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bb5e72d4b702e2119769abf3e768eb9750d71ff
2,039
py
Python
tests/pyunity/testGui/testGui.py
rayzchen/PyUnity
8ed436eca7a84f05190c1fa275c58da5c6059926
[ "MIT" ]
null
null
null
tests/pyunity/testGui/testGui.py
rayzchen/PyUnity
8ed436eca7a84f05190c1fa275c58da5c6059926
[ "MIT" ]
null
null
null
tests/pyunity/testGui/testGui.py
rayzchen/PyUnity
8ed436eca7a84f05190c1fa275c58da5c6059926
[ "MIT" ]
null
null
null
# Copyright (c) 2020-2022 The PyUnity Team # This file is licensed under the MIT License. # See https://docs.pyunity.x10.bz/en/latest/license.html from pyunity import ( SceneManager, Gui, FontLoader, RGB, RectTransform, Button, Text, Image2D, CheckBox) from . import SceneTestCase class TestGui(SceneTestCase):...
39.980392
71
0.68563
220
2,039
6.354545
0.313636
0.038627
0.077253
0.060086
0.251073
0.075107
0
0
0
0
0
0.019745
0.230015
2,039
50
72
40.78
0.870701
0.068661
0
0.125
0
0
0.030079
0
0
0
0
0
0.525
1
0.05
false
0
0.075
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3bb8e00fe2055dc13da6ecc2325827fb6b6d9031
2,895
py
Python
code/bak/dataset_configs/alcohol.py
li-phone/Nopimal
62d03f1ac2247ab984399a485dc699fb0debd0f5
[ "MIT" ]
null
null
null
code/bak/dataset_configs/alcohol.py
li-phone/Nopimal
62d03f1ac2247ab984399a485dc699fb0debd0f5
[ "MIT" ]
null
null
null
code/bak/dataset_configs/alcohol.py
li-phone/Nopimal
62d03f1ac2247ab984399a485dc699fb0debd0f5
[ "MIT" ]
null
null
null
# global settings data_root = "../../data/winequality_dataset/" feature_save_dir = data_root + "features/" img_save_dir = data_root + "imgs/" # split chunk settings split_chunk_path = data_root + 'chunk/' raw_train_file = dict( file_path=data_root + 'raw_data/train.csv', size=3397, split_mode=['train', 'va...
35.740741
65
0.64525
379
2,895
4.738786
0.234829
0.151448
0.144766
0.18931
0.644766
0.629176
0.611359
0.575724
0.340757
0.340757
0
0.012965
0.174093
2,895
80
66
36.1875
0.738185
0.072193
0
0.366197
0
0
0.223301
0.020164
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
3bb9861e0c2567d188b5cb80e0b0502e1e4ed78a
3,120
py
Python
A6/part2_agent1.py
pshn111/CMPUT-366
fca4316aa8409e3304300f12e3dbdce8b5626d2a
[ "MIT" ]
null
null
null
A6/part2_agent1.py
pshn111/CMPUT-366
fca4316aa8409e3304300f12e3dbdce8b5626d2a
[ "MIT" ]
null
null
null
A6/part2_agent1.py
pshn111/CMPUT-366
fca4316aa8409e3304300f12e3dbdce8b5626d2a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Author: Adam White, Matthew Schlegel, Mohammad M. Ajallooeian, Sina Ghiassian Purpose: Skeleton code for Monte Carlo Exploring Starts Control Agent for use on A3 of Reinforcement learning course University of Alberta Fall 2017 """ from utils import rand_in_range, rand_un imp...
22.285714
107
0.643269
458
3,120
4.296943
0.331878
0.064024
0.032012
0.03811
0.343496
0.324187
0.300813
0.300813
0.281504
0.236789
0
0.037116
0.248718
3,120
140
108
22.285714
0.802474
0.131731
0
0.606061
0
0
0.023192
0
0
0
0
0
0
0
null
null
0
0.060606
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
3bbd57f30e104c9bff8362ae796cece8a9a38e9b
2,401
py
Python
portal/apps/cartelera/admin.py
Artis-Physis/utopia-cms
5cb8d941d0b2df53fddc566a52e9d3baee4a007e
[ "BSD-3-Clause" ]
8
2020-12-15T17:11:08.000Z
2021-12-13T22:08:33.000Z
portal/apps/cartelera/admin.py
Artis-Physis/utopia-cms
5cb8d941d0b2df53fddc566a52e9d3baee4a007e
[ "BSD-3-Clause" ]
28
2020-12-15T17:34:03.000Z
2022-02-01T04:09:10.000Z
portal/apps/cartelera/admin.py
Artis-Physis/utopia-cms
5cb8d941d0b2df53fddc566a52e9d3baee4a007e
[ "BSD-3-Clause" ]
7
2020-12-15T19:59:17.000Z
2021-11-24T16:47:06.000Z
# -*- coding: utf-8 -*- from django.contrib.admin import ModelAdmin, TabularInline, site from models import ( Cine, Pelicula, PeliculaEnCine, Teatro, ObraEnTeatro, ObraTeatro, CategoriaEvento, Evento, LiveEmbedEvent, ArchivedEvent, ) class EventoBaseAdmin(ModelAdmin): prep...
24.5
76
0.674302
207
2,401
7.705314
0.333333
0.050157
0.03511
0.040125
0.066458
0
0
0
0
0
0
0.000511
0.185339
2,401
97
77
24.752577
0.814928
0.008746
0
0.115942
0
0
0.158537
0
0
0
0
0
0
1
0
false
0
0.028986
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
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
3bc2013aaf0ca09f5658b30a77a601da331ac838
19,447
py
Python
satchmo/apps/product/tests.py
djangoplicity/satchmo
75b672dffb64fed3e55c253d51a0ce73f0747e05
[ "BSD-3-Clause" ]
null
null
null
satchmo/apps/product/tests.py
djangoplicity/satchmo
75b672dffb64fed3e55c253d51a0ce73f0747e05
[ "BSD-3-Clause" ]
null
null
null
satchmo/apps/product/tests.py
djangoplicity/satchmo
75b672dffb64fed3e55c253d51a0ce73f0747e05
[ "BSD-3-Clause" ]
null
null
null
from decimal import Decimal from django.conf import settings from django.contrib.sites.models import Site from django.core import urlresolvers from django.forms.util import ValidationError from django.http import HttpResponse from django.test import TestCase from django.utils import timezone from product.forms import P...
35.946396
124
0.612588
2,518
19,447
4.627482
0.166005
0.079815
0.035874
0.033986
0.461294
0.414435
0.336251
0.299949
0.251545
0.237556
0
0.063577
0.247802
19,447
540
125
36.012963
0.732978
0.097393
0
0.275072
0
0
0.109989
0.004894
0
0
0
0
0.246418
0
null
null
0.002865
0.045845
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
3bc5edee566691480320c0cee353924fce12a211
792
py
Python
extragear/kexi/kdb/kdb.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-09-04T09:01:03.000Z
2022-01-04T20:09:00.000Z
extragear/kexi/kdb/kdb.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-12-15T08:11:22.000Z
2020-12-29T19:11:13.000Z
extragear/kexi/kdb/kdb.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
19
2017-09-05T19:16:21.000Z
2020-10-18T12:46:06.000Z
import info class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() self.description = "A database connectivity and creation framework" def setDependencies(self): self.buildDependencies["kde/frameworks/extra-cmake-modules"] = None self.buildDep...
33
75
0.710859
77
792
7.207792
0.545455
0.086486
0.243243
0.111712
0
0
0
0
0
0
0
0.003091
0.183081
792
23
76
34.434783
0.854714
0
0
0
0
0
0.217172
0.083333
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.411765
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bc6088f2b26a237452a7ed5d90ae925e046a6e8
1,635
py
Python
dataset.py
DongSky/DORN_pytorch
4a356b75478793607ed280ec70d7b359ded79866
[ "MIT" ]
null
null
null
dataset.py
DongSky/DORN_pytorch
4a356b75478793607ed280ec70d7b359ded79866
[ "MIT" ]
1
2018-11-25T07:18:35.000Z
2018-11-25T07:18:35.000Z
dataset.py
DongSky/DORN_pytorch
4a356b75478793607ed280ec70d7b359ded79866
[ "MIT" ]
1
2018-10-21T13:51:24.000Z
2018-10-21T13:51:24.000Z
import torch from torch.utils.data import DataLoader, Dataset import torch.multiprocessing as multiprocessing import numpy as np from PIL import Image import os def depth_loader(filename): # loads depth map D from png file # and returns it as a numpy array, # for details see readme.txt depth_png = np....
33.367347
72
0.676453
237
1,635
4.447257
0.438819
0.056926
0.037002
0.030361
0.132827
0.055028
0
0
0
0
0
0.02728
0.215291
1,635
48
73
34.0625
0.794232
0
0
0
0
0
0.015262
0
0
0
0
0
0.027778
0
null
null
0
0.166667
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bc78b2e2a093e6236f843eae785c1f6cd79bd64
292
py
Python
apps/hooks.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
2
2020-08-05T06:54:21.000Z
2020-12-23T02:25:03.000Z
apps/hooks.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
null
null
null
apps/hooks.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
null
null
null
from .views import bp import config from flask import session,g from .models import CMSUser @bp.before_request def before_request(): if 'user_id' in session: user_id = session.get('user_id') user = CMSUser.query.get(user_id) if user: g.cms_user = user
24.333333
41
0.667808
44
292
4.272727
0.454545
0.12766
0.095745
0
0
0
0
0
0
0
0
0
0.246575
292
12
42
24.333333
0.854545
0
0
0
0
0
0.047782
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
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
3bc874cae93ec622fc36c14ff270caa4d7d7a366
2,307
py
Python
networklogger.py
roys/python-hdl-networklogger
c22e6565afee01cb9a562a5ef777fac69ef70915
[ "MIT" ]
1
2021-06-08T07:26:11.000Z
2021-06-08T07:26:11.000Z
networklogger.py
roys/python-hdl-networklogger
c22e6565afee01cb9a562a5ef777fac69ef70915
[ "MIT" ]
null
null
null
networklogger.py
roys/python-hdl-networklogger
c22e6565afee01cb9a562a5ef777fac69ef70915
[ "MIT" ]
1
2022-01-02T15:24:55.000Z
2022-01-02T15:24:55.000Z
import select import socket import sys import exceptions import Queue import packagehandler def write_report(contents): millis = str(int(round(time.time() * 1000))) filename = 'networklogger_report-' + millis + '.txt' file = open(filename, 'w') file.write(contents) file.close() print('Wrote report to file [%s]....
28.134146
185
0.715648
309
2,307
5.223301
0.430421
0.034077
0.037175
0.023544
0.086741
0.05824
0.05824
0.05824
0.05824
0.05824
0
0.014902
0.15648
2,307
81
186
28.481481
0.814491
0.044647
0
0.104478
0
0.014925
0.249091
0.009545
0
0
0
0
0
0
null
null
0.029851
0.119403
null
null
0.134328
0
0
0
null
0
0
0
0
0
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
3bd3531fc94c9bd9a927b134089b019049f87ce0
3,157
py
Python
AsterMeta2Shapefile/AsterMeta2Shapefile.py
europlanet-gmap/GDAL_scripts
3352d2ca8580230f2f4ce7712ddd23743ca14d59
[ "Unlicense" ]
55
2015-08-16T02:57:04.000Z
2021-09-09T18:22:45.000Z
AsterMeta2Shapefile/AsterMeta2Shapefile.py
europlanet-gmap/GDAL_scripts
3352d2ca8580230f2f4ce7712ddd23743ca14d59
[ "Unlicense" ]
14
2016-09-12T07:09:59.000Z
2022-02-22T16:43:29.000Z
AsterMeta2Shapefile/AsterMeta2Shapefile.py
europlanet-gmap/GDAL_scripts
3352d2ca8580230f2f4ce7712ddd23743ca14d59
[ "Unlicense" ]
34
2015-01-27T14:28:57.000Z
2022-02-23T13:00:46.000Z
#!/bin/env python # AsterMeta2Shapefile.py # # Feb 2013, Trent Hare, USGS, thare@usgs.gov # # Description: convert a directory of Aster "meta" file into a polygon shapefile # *.meta files can be downloaded from the Glovis website. # License: public domain try: from osgeo import osr from osgeo import ogr exce...
31.888889
81
0.593918
373
3,157
4.991957
0.383378
0.029001
0.048335
0.051557
0.06391
0
0
0
0
0
0
0.009697
0.216028
3,157
98
82
32.214286
0.742626
0.236934
0
0.126984
0
0
0.103853
0.009213
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bd405795b7f3a895e00fd69f2a761bb4152dd94
898
py
Python
ideas/reverse/arbacoin_secret_market/solve/solver.py
ctfcup/2019-task-based
3f1d76fb66471567bb33a09bab210e584f3635df
[ "MIT" ]
1
2021-12-21T07:24:22.000Z
2021-12-21T07:24:22.000Z
ideas/reverse/arbacoin_secret_market/solve/solver.py
keltecc/ctfcup-2019-taskbased
401beae15da91fcacc19eb306c077e7981fd850a
[ "MIT" ]
null
null
null
ideas/reverse/arbacoin_secret_market/solve/solver.py
keltecc/ctfcup-2019-taskbased
401beae15da91fcacc19eb306c077e7981fd850a
[ "MIT" ]
null
null
null
from crccheck.crc import Crc16 if __name__ == "__main__": # init crc as X25 crc_obj = Crc16 crc_obj._initvalue = 0xffff crc_obj._reflect_input = True crc_obj._reflect_output = True crc_obj._xor_output = 0xffff crc_obj._check_result = 0x906E # this is values after xor valids = [ 49170, 5086, 13122, 9750, 1537...
25.657143
80
0.629176
133
898
3.969925
0.466165
0.102273
0.056818
0.107955
0.151515
0.094697
0
0
0
0
0
0.116766
0.256125
898
34
81
26.411765
0.673653
0.044543
0
0
0
0
0.023392
0
0
0
0.021053
0
0
0
null
null
0
0.04
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bd47e2892ce826c67a04b4f6ebf4570eed4cdc4
823
py
Python
misaligned.py
clean-code-craft-tcq-2/test-failer-in-py-Mageshwari-Kannan
ad30517e0a66ffdd105373e735229d1ec49fb10b
[ "MIT" ]
null
null
null
misaligned.py
clean-code-craft-tcq-2/test-failer-in-py-Mageshwari-Kannan
ad30517e0a66ffdd105373e735229d1ec49fb10b
[ "MIT" ]
null
null
null
misaligned.py
clean-code-craft-tcq-2/test-failer-in-py-Mageshwari-Kannan
ad30517e0a66ffdd105373e735229d1ec49fb10b
[ "MIT" ]
1
2022-02-03T18:18:43.000Z
2022-02-03T18:18:43.000Z
major_colors = ["White", "Red", "Black", "Yellow", "Violet"] minor_colors = ["Blue", "Orange", "Green", "Brown", "Slate"] def color_mapping(): cp_rows = [] for i, major_color in enumerate(major_colors): for j, minor_color in enumerate(minor_colors): print_color_map((i * 5 + j)+1 ...
32.92
79
0.618469
117
823
4.08547
0.393162
0.087866
0.125523
0.167364
0.225941
0.225941
0.100418
0.100418
0
0
0
0.01849
0.211422
823
24
80
34.291667
0.718028
0
0
0
0
0
0.269086
0
0
0
0
0
0.1875
1
0.125
false
0
0
0
0.1875
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bd9313e837b6f1a2434dbc4cc45a8c9a1d6f3cf
1,605
py
Python
examples/scripts/10_custom_backends.py
buildfail/frontera
84f9e1034d2868447db88e865596c0fbb32e70f6
[ "BSD-3-Clause" ]
1,267
2015-04-15T04:47:12.000Z
2022-03-29T07:55:15.000Z
examples/scripts/10_custom_backends.py
buildfail/frontera
84f9e1034d2868447db88e865596c0fbb32e70f6
[ "BSD-3-Clause" ]
316
2015-04-14T21:28:26.000Z
2021-05-31T05:31:15.000Z
examples/scripts/10_custom_backends.py
buildfail/frontera
84f9e1034d2868447db88e865596c0fbb32e70f6
[ "BSD-3-Clause" ]
250
2015-04-20T07:15:10.000Z
2022-03-28T15:17:15.000Z
""" Custom backend example """ import random from frontera import FrontierManager, Settings, FrontierTester, graphs from frontera.contrib.backends.memory import MemoryBaseBackend SITE_LIST = [ [('http://google.com', [])], [('http://scrapinghub.com', [])], [('http://zynga.com', [])], [('http://microso...
22.291667
70
0.676636
171
1,605
6.175439
0.403509
0.026515
0.056818
0.064394
0.221591
0.170455
0.089015
0.089015
0.089015
0
0
0.00858
0.201246
1,605
71
71
22.605634
0.815133
0.027414
0
0.108108
0
0
0.165236
0.054363
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.108108
0
0
0
null
0
0
0
0
0
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
3bdd32203cc73ee537aa116c5348d136781902c8
369
py
Python
tests/__init__.py
JKitok/girder
317962d155fc9811d25e5f33bd3e849c4ac96645
[ "Apache-2.0" ]
395
2015-01-12T19:20:13.000Z
2022-03-30T05:40:40.000Z
tests/__init__.py
JKitok/girder
317962d155fc9811d25e5f33bd3e849c4ac96645
[ "Apache-2.0" ]
2,388
2015-01-01T20:09:19.000Z
2022-03-29T16:49:14.000Z
tests/__init__.py
JKitok/girder
317962d155fc9811d25e5f33bd3e849c4ac96645
[ "Apache-2.0" ]
177
2015-01-04T14:47:00.000Z
2022-03-25T09:01:51.000Z
# -*- coding: utf-8 -*- import unittest.mock from girder import constants, logger # Mock the logging methods so that we don't actually write logs to disk, # and so tests can potentially inspect calls to logging methods. print(constants.TerminalColor.warning('Mocking Girder log methods.')) for handler in logger.handle...
33.545455
72
0.764228
53
369
5.320755
0.754717
0.085106
0
0
0
0
0
0
0
0
0
0.003175
0.146341
369
10
73
36.9
0.892063
0.420054
0
0
0
0
0.128571
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
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
3bddf0a6ed2f4dea265a01217cdbfcdcfd9521f7
2,699
py
Python
UserGenerator.py
colebob9/scripts
8b89be503c32214549e20670da36184b1c1db7cd
[ "MIT" ]
null
null
null
UserGenerator.py
colebob9/scripts
8b89be503c32214549e20670da36184b1c1db7cd
[ "MIT" ]
null
null
null
UserGenerator.py
colebob9/scripts
8b89be503c32214549e20670da36184b1c1db7cd
[ "MIT" ]
null
null
null
""" UserGenerator v1 colebob9 Python3 For quickly generating username/passwords for websites. Mostly for throwaway accounts. """ import pyautogui import time import random import string import os # Config usernamePrefix = "GAHPLZTOHALP_" passwordLength = 15 # Number of characters to make t...
31.022989
124
0.621341
303
2,699
5.524752
0.389439
0.053763
0.008363
0.013142
0.139785
0.107527
0.051374
0.051374
0.051374
0.051374
0
0.007261
0.285661
2,699
87
125
31.022989
0.860996
0.209337
0
0.132075
0
0
0.136946
0
0
0
0
0
0
1
0
false
0.320755
0.09434
0
0.09434
0.113208
0
0
0
null
0
0
0
0
0
0
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
3bdf5b5526078fa36eede928d061c0adf7f21436
1,961
py
Python
accounts/migrations/0007_auto_20181128_1524.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
accounts/migrations/0007_auto_20181128_1524.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
accounts/migrations/0007_auto_20181128_1524.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-28 14:24 from __future__ import unicode_literals from django.db import migrations, models import image_optimizer.fields import jagdreisencheck.global_helpers class Migration(migrations.Migration): dependencies = [ ('accounts', '0006_auto_2...
45.604651
281
0.673636
209
1,961
6.066986
0.397129
0.078864
0.09858
0.114353
0.54653
0.54653
0.467666
0.421924
0.375394
0.269716
0
0.022901
0.198368
1,961
42
282
46.690476
0.783715
0.035186
0
0.4
1
0
0.206458
0.023822
0
0
0
0
0
1
0
false
0
0.114286
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3be326a8b4734a268bc252c4cac9e80ebb3069bf
2,095
py
Python
src/reputation/migrations/0003_auto_20191122_2127.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/reputation/migrations/0003_auto_20191122_2127.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/reputation/migrations/0003_auto_20191122_2127.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
# Generated by Django 2.2.7 on 2019-11-22 21:27 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), ('reputation', '0002_auto_...
55.131579
569
0.653938
216
2,095
6.064815
0.416667
0.045802
0.036641
0.033588
0.09771
0.051908
0
0
0
0
0
0.02561
0.198568
2,095
37
570
56.621622
0.754616
0.02148
0
0.064516
1
0
0.285645
0.01123
0
0
0
0
0
1
0
false
0
0.096774
0
0.193548
0
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
3becc3f7cdfdd0352707633e35381c6891c78651
7,948
py
Python
tests/query_test/test_decimal_casting.py
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
tests/query_test/test_decimal_casting.py
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
tests/query_test/test_decimal_casting.py
kexianda/impala
2e60347868d7e719d80401f9abcbe971e659502b
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
47.029586
91
0.708983
1,117
7,948
4.895255
0.246195
0.043526
0.030724
0.029444
0.328822
0.273958
0.202999
0.154718
0.098756
0.081565
0
0.013152
0.186839
7,948
168
92
47.309524
0.832895
0.334298
0
0.147368
0
0
0.106729
0
0
0
0
0.017857
0.094737
1
0.094737
false
0
0.073684
0.010526
0.252632
0
0
0
0
null
0
0
0
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
3bee7ca814f68f5bf6c73c2c102e45a220e8e22f
9,352
py
Python
4_vrf_verification/main.py
gve-sw/gve_devnet_dnac_automation_workshop
3a90f85300fdae0e85f9d78add6960669af7c5ec
[ "RSA-MD" ]
null
null
null
4_vrf_verification/main.py
gve-sw/gve_devnet_dnac_automation_workshop
3a90f85300fdae0e85f9d78add6960669af7c5ec
[ "RSA-MD" ]
null
null
null
4_vrf_verification/main.py
gve-sw/gve_devnet_dnac_automation_workshop
3a90f85300fdae0e85f9d78add6960669af7c5ec
[ "RSA-MD" ]
null
null
null
""" Copyright (c) 2022 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with the t...
35.831418
140
0.612169
1,132
9,352
4.932862
0.233216
0.016117
0.013789
0.01755
0.357629
0.296383
0.275967
0.254477
0.215437
0.160996
0
0.006409
0.282613
9,352
260
141
35.969231
0.825906
0.32068
0
0.434783
0
0.01087
0.195509
0.077844
0
0
0
0
0
0
null
null
0.021739
0.108696
null
null
0.032609
0
0
0
null
0
0
0
0
0
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
3befc7bf73eb7df9968ba7c036ab0d10c11cc960
469
py
Python
contest/migrations/0034_contesttask_order.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
1
2020-03-31T22:09:34.000Z
2020-03-31T22:09:34.000Z
contest/migrations/0034_contesttask_order.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
8
2021-03-30T14:20:10.000Z
2022-03-12T00:52:03.000Z
contest/migrations/0034_contesttask_order.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
null
null
null
# Generated by Django 2.2.9 on 2020-04-30 08:54 from django.db import migrations import management.fields class Migration(migrations.Migration): dependencies = [ ('contest', '0033_contest_participants_count'), ] operations = [ migrations.AddField( model_name='contesttask', ...
22.333333
70
0.626866
49
469
5.897959
0.77551
0.110727
0
0
0
0
0
0
0
0
0
0.058309
0.268657
469
20
71
23.45
0.784257
0.095949
0
0
1
0
0.127962
0.07346
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bf0ab5212f578c4f225284a76af16bbb792b7da
1,715
py
Python
Python/demos/d04_SimpleReconstruction.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
326
2016-07-01T10:48:09.000Z
2022-03-20T07:34:52.000Z
Python/demos/d04_SimpleReconstruction.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
311
2016-07-05T16:00:06.000Z
2022-03-30T12:14:55.000Z
Python/demos/d04_SimpleReconstruction.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
157
2016-08-08T12:13:09.000Z
2022-03-17T00:37:45.000Z
#%% Demo 4: Simple Image reconstruction # # # This demo will show how a simple image reconstruction can be performed, # by using OS-SART and FDK # # -------------------------------------------------------------------------- # -------------------------------------------------------------------------- # This file is part...
31.759259
85
0.598251
200
1,715
5.085
0.57
0.017699
0.049164
0.027532
0.078663
0
0
0
0
0
0
0.012885
0.185423
1,715
53
86
32.358491
0.715104
0.605248
0
0
0
0
0.001553
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3bf3e67d98b0eb3b4b0051976878764ff1f808b2
1,428
py
Python
UVa 334 - Identifying Concurrent Events/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 334 - Identifying Concurrent Events/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 334 - Identifying Concurrent Events/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
from numpypy import * from itertools import combinations import sys sys.stdin = open('input.txt') itertest = 1 while True: NC = int(input()) if not NC: break names = [] computations = [] for i in range(NC): line = raw_input().strip().split()[1:] computations.append(list(line...
30.382979
74
0.520308
208
1,428
3.5625
0.288462
0.075574
0.040486
0.074224
0.197031
0.097166
0.097166
0.097166
0.097166
0.097166
0
0.02444
0.312325
1,428
46
75
31.043478
0.730143
0
0
0.090909
0
0
0.088235
0
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.113636
0
0
0
null
0
0
0
0
0
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
3bf8c7e1cc088f673d2412851d13178a6a2ebc6c
1,945
py
Python
linkedin/by-job-title.py
peterorum/data-hmm
12a9b75d6b7610261dc7fc56bae709af51f29372
[ "MIT" ]
3
2015-06-24T10:59:55.000Z
2021-04-25T07:57:26.000Z
linkedin/by-job-title.py
peterorum/data-hmm
12a9b75d6b7610261dc7fc56bae709af51f29372
[ "MIT" ]
null
null
null
linkedin/by-job-title.py
peterorum/data-hmm
12a9b75d6b7610261dc7fc56bae709af51f29372
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import csv from operator import itemgetter from collections import Counter from prettytable import PrettyTable # XXX: Place your "Outlook CSV" formatted file of connections from # http://www.linkedin.com/people/export-settings at the following # location: resources/ch03-linkedin/my_connect...
29.029851
72
0.669923
271
1,945
4.778598
0.442804
0.020849
0.018533
0.023166
0.160618
0.135907
0.07722
0.07722
0.07722
0.07722
0
0.004359
0.174293
1,945
67
73
29.029851
0.801993
0.261183
0
0.093023
0
0
0.158374
0.016819
0
0
0
0
0
0
null
null
0
0.116279
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
3bf9e543ca9fba825532c5e0c2377b758a02c8df
908
py
Python
pytgcalls/methods/utilities/get_max_voice_chat.py
fadhil-riyanto/radiovc
fe02a01ce10b93775fce8c569f6062d71b07b4d4
[ "MIT" ]
null
null
null
pytgcalls/methods/utilities/get_max_voice_chat.py
fadhil-riyanto/radiovc
fe02a01ce10b93775fce8c569f6062d71b07b4d4
[ "MIT" ]
null
null
null
pytgcalls/methods/utilities/get_max_voice_chat.py
fadhil-riyanto/radiovc
fe02a01ce10b93775fce8c569f6062d71b07b4d4
[ "MIT" ]
null
null
null
import psutil from ...scaffold import Scaffold class GetMaxVoiceChat(Scaffold): @staticmethod def get_max_voice_chat(consumption=5): """Get the max number of group calls that can be started This method get an estimated number of max group calls Parameters: consumption (`...
26.705882
75
0.561674
97
908
5.164948
0.515464
0.047904
0.043912
0.05988
0.083832
0
0
0
0
0
0
0.008666
0.364537
908
33
76
27.515152
0.859619
0.579295
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3bfb993211840c6065cdd545f48216b010640712
1,918
py
Python
brainpedia/test_train_splitter.py
BlissChapman/SyntheticStatistics
4c85d89f926a1d7944d675d4f4c3d3fe77fc45c6
[ "MIT" ]
3
2018-04-28T14:14:30.000Z
2018-08-06T23:49:26.000Z
brainpedia/test_train_splitter.py
BlissChapman/SyntheticStatistics
4c85d89f926a1d7944d675d4f4c3d3fe77fc45c6
[ "MIT" ]
null
null
null
brainpedia/test_train_splitter.py
BlissChapman/SyntheticStatistics
4c85d89f926a1d7944d675d4f4c3d3fe77fc45c6
[ "MIT" ]
null
null
null
import argparse import os import random import shutil import sys parser = argparse.ArgumentParser(description="Utility script that given a folder of Brainpedia data can generate two new folders representing a random train/test split.") parser.add_argument('data_dir', help='the directory containing Brainpedia data') pa...
41.695652
170
0.792492
300
1,918
4.8
0.28
0.075
0.038194
0.055556
0.230556
0.163889
0.102778
0.056944
0
0
0
0.001771
0.116788
1,918
45
171
42.622222
0.848288
0.105839
0
0
1
0.033333
0.226901
0
0
0
0
0
0
1
0.033333
false
0
0.166667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bfc28d6705c54a45bd5eb2fd44918902d342e3c
416
py
Python
dataset/unknown/resize_all_photo.py
1Basile/some-face-recognizer
ddce1977da6f92b35aee8c203c12c0ea1d3c20de
[ "Apache-2.0" ]
null
null
null
dataset/unknown/resize_all_photo.py
1Basile/some-face-recognizer
ddce1977da6f92b35aee8c203c12c0ea1d3c20de
[ "Apache-2.0" ]
null
null
null
dataset/unknown/resize_all_photo.py
1Basile/some-face-recognizer
ddce1977da6f92b35aee8c203c12c0ea1d3c20de
[ "Apache-2.0" ]
null
null
null
from PIL import Image import os from os import listdir from os.path import isfile, join not_scaled_photo = [f for f in listdir(".") if isfile(join(".", f))] for photo in not_scaled_photo: image = Image.open(photo) if "_not_scaled" in photo: print(photo.split("_")[0]) os.rename(photo, "{}.png"....
27.733333
68
0.658654
65
416
4.061538
0.430769
0.102273
0.106061
0
0
0
0
0
0
0
0
0.023669
0.1875
416
14
69
29.714286
0.757396
0
0
0
0
0
0.050481
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ce04d26c80a4d1e3eeab9a52dde608f4de914504
16,172
py
Python
src/lib/charm/mysql_router.py
thedac/charm-mysql-router
f2e3361d6d7caafab471f0e7d1d9f179296f9fc8
[ "Apache-2.0" ]
null
null
null
src/lib/charm/mysql_router.py
thedac/charm-mysql-router
f2e3361d6d7caafab471f0e7d1d9f179296f9fc8
[ "Apache-2.0" ]
null
null
null
src/lib/charm/mysql_router.py
thedac/charm-mysql-router
f2e3361d6d7caafab471f0e7d1d9f179296f9fc8
[ "Apache-2.0" ]
1
2019-10-15T20:48:41.000Z
2019-10-15T20:48:41.000Z
# Copyright 2019 Canonicauh Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.62955
79
0.628061
1,837
16,172
5.399565
0.192161
0.025809
0.024902
0.032564
0.418389
0.370602
0.33955
0.318177
0.297409
0.27039
0
0.002105
0.29514
16,172
466
80
34.703863
0.868059
0.420171
0
0.26455
0
0
0.106061
0.022231
0
0
0
0.004292
0
1
0.116402
false
0.05291
0.042328
0.010582
0.328042
0
0
0
0
null
0
0
0
0
0
0
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
ce06e4124cd2c6eaeea1f7bd5627927252c59931
5,304
py
Python
script/youdao-3zso.py
zlz3907/z-dict
130e3d37b99b760ac820611824642b86e0f4fdfe
[ "MIT" ]
null
null
null
script/youdao-3zso.py
zlz3907/z-dict
130e3d37b99b760ac820611824642b86e0f4fdfe
[ "MIT" ]
null
null
null
script/youdao-3zso.py
zlz3907/z-dict
130e3d37b99b760ac820611824642b86e0f4fdfe
[ "MIT" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- import re; import urllib; import urllib2; import sys; import os; def write_xml_tocache(xml, path): afile = open(path, 'w'); afile.write(xml); afile.close(); def crawl_xml_incache(word): qw = fix_query_string(word.lower()); swi_path = "/home/lizhi/gnu/plugin...
33.358491
101
0.580882
666
5,304
4.474474
0.252252
0.070134
0.030537
0.039933
0.151678
0.111409
0.075839
0.075839
0.075839
0.075839
0
0.024638
0.25773
5,304
158
102
33.56962
0.732283
0.089367
0
0.129496
0
0.014388
0.117806
0.045086
0
0
0
0
0
0
null
null
0
0.035971
null
null
0.093525
0
0
0
null
0
0
0
0
0
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
ce0feea07929fc8b313482f6edc08cb1a80e754b
9,217
py
Python
tests/unit/local/lambdafn/test_zip.py
viksrivat/aws-sam-cli
079e7a927ee20b80903852f6da8029d4086c889b
[ "Apache-2.0" ]
1
2020-12-19T07:34:23.000Z
2020-12-19T07:34:23.000Z
tests/unit/local/lambdafn/test_zip.py
viksrivat/aws-sam-cli
079e7a927ee20b80903852f6da8029d4086c889b
[ "Apache-2.0" ]
1
2019-08-29T00:20:27.000Z
2019-08-29T00:20:27.000Z
tests/unit/local/lambdafn/test_zip.py
viksrivat/aws-sam-cli
079e7a927ee20b80903852f6da8029d4086c889b
[ "Apache-2.0" ]
2
2019-08-28T22:24:09.000Z
2019-08-28T23:07:00.000Z
import os import platform import shutil import stat import zipfile from contextlib import contextmanager from tempfile import NamedTemporaryFile, mkdtemp from unittest import TestCase from unittest import skipIf from mock import Mock, patch from nose_parameterized import parameterized, param from samcli.local.lambdaf...
40.425439
100
0.622328
1,049
9,217
5.121068
0.156339
0.055287
0.071482
0.086001
0.666977
0.659903
0.644639
0.644639
0.644639
0.629747
0
0.010032
0.28621
9,217
227
101
40.603524
0.806506
0.008029
0
0.59322
0
0
0.13981
0.073734
0
0
0
0
0.175141
1
0.045198
false
0
0.067797
0
0.135593
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
ce14be6f8ce6e45a088eec8312f4bec57cd5cbe8
343
py
Python
migrations.py
cltrudeau/django-yacon
d462c88cf98bf8eef50a0696b265fa28dfdb40eb
[ "MIT" ]
null
null
null
migrations.py
cltrudeau/django-yacon
d462c88cf98bf8eef50a0696b265fa28dfdb40eb
[ "MIT" ]
9
2020-02-11T23:38:20.000Z
2022-03-11T23:16:29.000Z
migrations.py
cltrudeau/django-yacon
d462c88cf98bf8eef50a0696b265fa28dfdb40eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys, django from django.conf import settings from django.core.management import call_command settings.configure(DEBUG=True, INSTALLED_APPS=( 'django.contrib.auth', 'django.contrib.contenttypes', 'awl', 'yacon', ), ) django.setup() call_command('mak...
19.055556
47
0.676385
39
343
5.871795
0.666667
0.087336
0
0
0
0
0
0
0
0
0
0
0.195335
343
17
48
20.176471
0.82971
0.058309
0
0
0
0
0.226708
0.083851
0
0
0
0
0
1
0
true
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ce18f2af0e3c1d27e2acccb174a4679cf68690fc
910
py
Python
recruitmentmanager/recruits/migrations/0004_contact.py
etallman/research-manager
ad88605397a4f39df08c9d207e14f3c0fd919d7a
[ "MIT" ]
null
null
null
recruitmentmanager/recruits/migrations/0004_contact.py
etallman/research-manager
ad88605397a4f39df08c9d207e14f3c0fd919d7a
[ "MIT" ]
4
2021-04-08T21:22:14.000Z
2021-09-22T19:19:10.000Z
recruitmentmanager/recruits/migrations/0004_contact.py
etallman/research-manager
ad88605397a4f39df08c9d207e14f3c0fd919d7a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-16 22:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('recruits', '0003_recruit_phone_number'), ] operations = [ migrations.CreateModel( name='Contact...
33.703704
115
0.596703
93
910
5.655914
0.569892
0.045627
0.108365
0.08365
0
0
0
0
0
0
0
0.028486
0.267033
910
26
116
35
0.76012
0.049451
0
0
1
0
0.170336
0.028969
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce1d5a26656dfea0baa33744ea47018ef007cf99
1,948
py
Python
rclpy/rclpy/impl/implementation_singleton.py
gbalke/rclpy
ea26f5f61e20b4b735e36d2d65d260270d5d8414
[ "Apache-2.0" ]
null
null
null
rclpy/rclpy/impl/implementation_singleton.py
gbalke/rclpy
ea26f5f61e20b4b735e36d2d65d260270d5d8414
[ "Apache-2.0" ]
null
null
null
rclpy/rclpy/impl/implementation_singleton.py
gbalke/rclpy
ea26f5f61e20b4b735e36d2d65d260270d5d8414
[ "Apache-2.0" ]
null
null
null
# Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
34.785714
89
0.752053
258
1,948
5.434109
0.457364
0.039943
0.079886
0.094864
0.191155
0
0
0
0
0
0
0.009889
0.169405
1,948
55
90
35.418182
0.856613
0.48306
0
0.105263
0
0
0.117886
0.022358
0
0
0
0
0
1
0.052632
false
0
0.421053
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
ce21b8ef255be6b4e1b85a153e3a6f710f530252
414
py
Python
src/chapter30/fft.py
Peefy/CLRS_dugu_code-master
98f00e75e1b0ebc13a7affb2604bec8501692a19
[ "Apache-2.0" ]
3
2018-01-31T03:08:50.000Z
2018-04-25T12:57:01.000Z
src/chapter30/fft.py
HideLakitu/IntroductionToAlgorithm.Python
33662f46dc346203b220d7481d1a4439feda05d2
[ "Apache-2.0" ]
null
null
null
src/chapter30/fft.py
HideLakitu/IntroductionToAlgorithm.Python
33662f46dc346203b220d7481d1a4439feda05d2
[ "Apache-2.0" ]
3
2019-03-03T04:49:53.000Z
2020-07-13T10:18:58.000Z
import numpy as np import numpy.fft as fft import matplotlib.pyplot as plt def fft_demo(): x = np.arange(-100, 100, 0.5) y = np.sin(x) + np.sin(3 * x) plt.figure() plt.plot(x, y) plt.show() plt.figure() plt.plot(fft.fftfreq(x.shape[-1]), abs(fft.fft(y))) plt.show() plt.imshow(np.si...
18.818182
55
0.584541
72
414
3.222222
0.444444
0.064655
0.103448
0.137931
0
0
0
0
0
0
0
0.031546
0.2343
414
21
56
19.714286
0.700315
0
0
0.277778
0
0
0.01937
0
0
0
0
0
0
1
0.055556
false
0.055556
0.166667
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
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
ce2a55af30a130670d27ea027ff57181c8f11439
11,044
py
Python
tests/test_importers.py
tahirs95/pepys-import
05f070e97dd2f3f84b71faa3578e03398e28ca15
[ "Apache-2.0" ]
null
null
null
tests/test_importers.py
tahirs95/pepys-import
05f070e97dd2f3f84b71faa3578e03398e28ca15
[ "Apache-2.0" ]
null
null
null
tests/test_importers.py
tahirs95/pepys-import
05f070e97dd2f3f84b71faa3578e03398e28ca15
[ "Apache-2.0" ]
null
null
null
import os import stat import shutil import unittest from contextlib import redirect_stdout from io import StringIO from datetime import datetime from unittest.mock import patch from pepys_import.file.importer import Importer from pepys_import.file.file_processor import FileProcessor from importers.replay_importer imp...
35.060317
89
0.654654
1,336
11,044
5.187126
0.147455
0.032323
0.038095
0.032323
0.645022
0.607359
0.559452
0.542713
0.518759
0.504618
0
0.008944
0.260956
11,044
314
90
35.171975
0.840113
0.123144
0
0.570732
0
0
0.060366
0.004684
0
0
0
0
0.180488
1
0.170732
false
0.02439
0.234146
0.078049
0.521951
0
0
0
0
null
0
0
0
0
0
0
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
ce2cd471a807e4667ee0d4e8473dbf8528821176
1,951
py
Python
autopilot_testing.py
gsurma/jetson
0ba6815231eaa8db7449ecf1f94efbec5a56f6a0
[ "MIT" ]
55
2020-12-03T16:10:34.000Z
2022-03-30T14:14:12.000Z
autopilot_testing.py
gsurma/jetson
0ba6815231eaa8db7449ecf1f94efbec5a56f6a0
[ "MIT" ]
1
2021-05-24T20:27:37.000Z
2021-08-21T13:05:33.000Z
autopilot_testing.py
gsurma/jetson
0ba6815231eaa8db7449ecf1f94efbec5a56f6a0
[ "MIT" ]
15
2020-12-07T17:49:16.000Z
2022-02-24T08:37:57.000Z
import torch import torchvision import numpy as np import time import cv2 import os from jetracer.nvidia_racecar import NvidiaRacecar from jetcam.csi_camera import CSICamera from torch2trt import torch2trt from torch2trt import TRTModule from autopilot_utils import preprocess_image, center_crop_square from autopilot_m...
24.08642
109
0.749359
278
1,951
5.02518
0.363309
0.038654
0.034359
0.02577
0
0
0
0
0
0
0
0.021518
0.142491
1,951
80
110
24.3875
0.813509
0.025628
0
0.035088
0
0
0.022691
0
0
0
0
0.0125
0
1
0
false
0
0.210526
0
0.210526
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ce378f400a6858839965cd0cf369d75aab75d70c
10,437
py
Python
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/play_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
null
null
null
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/play_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
null
null
null
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/play_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
1
2019-12-23T05:06:26.000Z
2019-12-23T05:06:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
45.776316
193
0.673086
1,081
10,437
6.3284
0.246994
0.073966
0.04093
0.047069
0.517907
0.43824
0.373483
0.358866
0.286508
0.274229
0
0.02462
0.167194
10,437
227
194
45.977974
0.762425
0.100412
0
0.354331
1
0
0.265094
0.031226
0
0
0
0
0
1
0.015748
false
0
0.062992
0
0.094488
0.007874
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
ce3c49617ef8371bddeaabe98b55fcd5fb4b6f95
2,510
py
Python
python/orca/src/bigdl/orca/learn/trigger.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
3
2021-07-14T01:28:47.000Z
2022-03-02T01:16:32.000Z
python/orca/src/bigdl/orca/learn/trigger.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
null
null
null
python/orca/src/bigdl/orca/learn/trigger.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.597403
91
0.688048
310
2,510
5.512903
0.412903
0.035108
0.02282
0.029842
0.376829
0.376829
0.337039
0.262142
0.262142
0.262142
0
0.004757
0.246215
2,510
76
92
33.026316
0.89852
0.521514
0
0.225806
0
0
0.071043
0
0
0
0
0
0
1
0.193548
false
0.032258
0.096774
0.064516
0.580645
0
0
0
0
null
0
0
0
0
0
0
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
ce3dbdb37bc843df3a4abf1e51383f1b53389044
6,629
py
Python
framework/evaluation_oracle.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
framework/evaluation_oracle.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
framework/evaluation_oracle.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2018 by # Marta Grobelna <marta.grobelna@rwth-aachen.de> # Petre Petrov <petrepp4@gmail.com> # Rudi Floren <rudi.floren@gmail.com> # Tobias Winkler <tobias.winkler1@rwth-aachen.de> # All rights reserved. # BSD license. # # Authors: Marta Grobelna <marta.grob...
32.336585
119
0.597224
793
6,629
4.85372
0.250946
0.057158
0.025461
0.028059
0.343985
0.275136
0.275136
0.235126
0.235126
0.211743
0
0.00198
0.314225
6,629
204
120
32.495098
0.844699
0.556796
0
0.04878
0
0
0.029742
0
0
0
0
0
0
1
0.219512
false
0
0.073171
0
0.487805
0
0
0
0
null
0
0
0
0
0
0
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
ce3f1e4a453a2bce6c28e9135aba401959493e72
6,631
py
Python
primer_screen.py
KosuriLab/DropSynth
638e23e8a279b15c930c805691b3da18cc71be89
[ "MIT" ]
15
2018-01-05T02:48:57.000Z
2021-06-27T03:55:12.000Z
primer_screen.py
KosuriLab/DropSynth
638e23e8a279b15c930c805691b3da18cc71be89
[ "MIT" ]
null
null
null
primer_screen.py
KosuriLab/DropSynth
638e23e8a279b15c930c805691b3da18cc71be89
[ "MIT" ]
4
2018-01-19T14:59:01.000Z
2021-08-03T06:58:38.000Z
from Bio import SeqIO from Bio.Restriction import * from Bio.Seq import Seq from Bio.Alphabet import generic_dna #screen primer pairs for restriction sites #asmF: BtsaI + AsmF + NdeI #asmR: KpnI + AsmR + BtsaI #ampF: AmpF+ nt.BspQI #ampR: btsaI + AmpR #read in fasta files def getFastaSeqs(filename): fastaseqs = [...
32.033816
142
0.713165
946
6,631
4.798097
0.146934
0.033928
0.04935
0.033047
0.450319
0.352941
0.335316
0.325182
0.30293
0.27495
0
0.014733
0.170864
6,631
207
143
32.033816
0.81084
0.160157
0
0.230769
0
0
0.10918
0.050154
0
0
0
0
0
1
0.007692
false
0.323077
0.030769
0
0.046154
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cbefb1d232acd58623b37c9e55a6e5ebfb33bbd6
300
py
Python
pdfstage/forms.py
jackyjingyi/dapsa
40036143e593b875522c666700c9c6322b38c498
[ "MIT" ]
3
2019-06-17T11:39:14.000Z
2019-07-02T08:45:09.000Z
pdfstage/forms.py
jackyjingyi/dapsa
40036143e593b875522c666700c9c6322b38c498
[ "MIT" ]
null
null
null
pdfstage/forms.py
jackyjingyi/dapsa
40036143e593b875522c666700c9c6322b38c498
[ "MIT" ]
null
null
null
from django import forms from pdfstage.models import Document from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout,Div,Submit,Row,Column,Field class DocumentForm(forms.ModelForm): class Meta: model = Document fields = ('description', 'document',)
23.076923
66
0.753333
37
300
6.054054
0.621622
0.089286
0.133929
0
0
0
0
0
0
0
0
0
0.17
300
12
67
25
0.899598
0
0
0
0
0
0.063545
0
0
0
0
0
0
1
0
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cbfe981de5d1a33d83fc5686f002ac1a19f91263
872
py
Python
setup.py
FNNDSC/dbg-bigfiles
53a5423400b2c013b3c88f2c3fc6ddcb4664b42a
[ "MIT" ]
null
null
null
setup.py
FNNDSC/dbg-bigfiles
53a5423400b2c013b3c88f2c3fc6ddcb4664b42a
[ "MIT" ]
null
null
null
setup.py
FNNDSC/dbg-bigfiles
53a5423400b2c013b3c88f2c3fc6ddcb4664b42a
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'bigfiles', version = '1.0.0', description = 'Create files of random data', author = 'FNNDSC', author_email = 'dev@babyMRI.org', url = 'https://github.com/FNNDSC/dbg-bigfiles', py_modules =...
32.296296
66
0.527523
78
872
5.807692
0.730769
0.099338
0.172185
0
0
0
0
0
0
0
0
0.017301
0.337156
872
26
67
33.538462
0.766436
0
0
0
0
0
0.442661
0.075688
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
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
020aa6644d8342caf7cb286a35bbc3e0b3a69002
652
py
Python
tests/iso8583/testUtils.py
starkbank/iso8583-python
7bb1c7fb95b261d404456a03ea57bbf759595fbf
[ "MIT" ]
4
2021-02-24T12:33:44.000Z
2022-02-24T04:56:50.000Z
tests/iso8583/testUtils.py
starkbank/iso8583-python
7bb1c7fb95b261d404456a03ea57bbf759595fbf
[ "MIT" ]
null
null
null
tests/iso8583/testUtils.py
starkbank/iso8583-python
7bb1c7fb95b261d404456a03ea57bbf759595fbf
[ "MIT" ]
null
null
null
from unittest import TestCase from starkbank.iso8583.utils.binary import Binary from tests.iso8583.utils.randomData import randomBits, randomHex class TestBinaryUtils(TestCase): def test_everything(self): for _ in range(1000): randomsequence = randomHex(max(randomBits(4), 1)) whil...
40.75
70
0.674847
67
652
6.537313
0.58209
0.054795
0.118721
0.164384
0.173516
0.173516
0
0
0
0
0
0.033597
0.223926
652
16
71
40.75
0.832016
0
0
0.153846
0
0
0.001531
0
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
021a34eb55e2f3d6b7df7fbc7bf5f3826f738079
1,227
py
Python
misc/jupyter_notebook/useful_modules.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
misc/jupyter_notebook/useful_modules.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
misc/jupyter_notebook/useful_modules.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
# coding: utf-8 # ## Useful modules in jupyter notebook # - This notebook includes some basic tools in notebook # ### module path, file path # - add your module path (different from where the notebook is) # - change your base path # In[1]: import os import sys # add your module path module_path = os.path.abspath(...
16.581081
85
0.687042
184
1,227
4.516304
0.505435
0.072202
0.031288
0.040915
0
0
0
0
0
0
0
0.014778
0.172779
1,227
73
86
16.808219
0.803941
0.442543
0
0
0
0
0.154446
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.15
0
0
0
null
0
0
0
0
0
0
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
022860e664dc9772a9b3767f097777291cbe70e5
224
py
Python
test/compile.py
pgolo/sic
de5f660dec40eb349e59dc1382f41028a8a34936
[ "MIT" ]
2
2020-11-10T13:49:17.000Z
2020-11-25T13:36:48.000Z
test/compile.py
pgolo/sic
de5f660dec40eb349e59dc1382f41028a8a34936
[ "MIT" ]
21
2020-06-14T06:37:15.000Z
2021-09-28T15:35:39.000Z
test/compile.py
pgolo/sic
de5f660dec40eb349e59dc1382f41028a8a34936
[ "MIT" ]
null
null
null
from distutils.core import setup from Cython.Build import cythonize src = [ 'sic/core.py', 'sic/implicit.py' ] setup(ext_modules=cythonize(src, compiler_directives={'language_level': '3'}, build_dir='cythonized'))
22.4
102
0.732143
30
224
5.333333
0.7
0.15
0
0
0
0
0
0
0
0
0
0.005102
0.125
224
9
103
24.888889
0.811224
0
0
0
0
0
0.227679
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0229960121a751ed8b335585797329bff0ad757d
832
py
Python
Number/GuessNumberHigherOrLower.py
menghanY/LeetCode-Python
85f9dc4a5b18a3b8a4a3d7b3a6eeb0e935901534
[ "MIT" ]
null
null
null
Number/GuessNumberHigherOrLower.py
menghanY/LeetCode-Python
85f9dc4a5b18a3b8a4a3d7b3a6eeb0e935901534
[ "MIT" ]
null
null
null
Number/GuessNumberHigherOrLower.py
menghanY/LeetCode-Python
85f9dc4a5b18a3b8a4a3d7b3a6eeb0e935901534
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/guess-number-higher-or-lower/ # We are playing the Guess Game. The game is as follows: # # I pick a number from 1 to n. You have to guess which number I picked. # # Every time you guess wrong, I'll tell you whether the number is higher or lower. # # You call a pre-defined API guess(int n...
30.814815
91
0.584135
125
832
3.888
0.544
0.049383
0.053498
0.045267
0
0
0
0
0
0
0
0.024691
0.31851
832
27
92
30.814815
0.832452
0.518029
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.071429
0
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
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
022b890373fa9ac157bee961ce35db05b0dfc23d
11,962
py
Python
bcmas_connector.py
splunk-soar-connectors/bcmas
176e85353c25c48787ecb61e66815fe591d24203
[ "Apache-2.0" ]
null
null
null
bcmas_connector.py
splunk-soar-connectors/bcmas
176e85353c25c48787ecb61e66815fe591d24203
[ "Apache-2.0" ]
null
null
null
bcmas_connector.py
splunk-soar-connectors/bcmas
176e85353c25c48787ecb61e66815fe591d24203
[ "Apache-2.0" ]
null
null
null
# File: bcmas_connector.py # # Copyright (c) 2017 Splunk Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
32.772603
176
0.646631
1,536
11,962
4.758464
0.171224
0.095225
0.049254
0.06321
0.453961
0.417294
0.38391
0.354631
0.304966
0.300041
0
0.004461
0.250376
11,962
364
177
32.862637
0.810639
0.07156
0
0.291866
0
0.004785
0.12843
0.004152
0
0
0
0
0
0
null
null
0.033493
0.047847
null
null
0.028708
0
0
0
null
0
0
0
0
0
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
022e75bf951c9c38c6935a5e332d18f23c9caf9a
404
py
Python
axfday/migrations/0003_auto_20190108_1702.py
chenbaian/snacksStreet
ba4f5b2dd495b638baff715b2b1c2cdccccbb996
[ "Apache-2.0" ]
null
null
null
axfday/migrations/0003_auto_20190108_1702.py
chenbaian/snacksStreet
ba4f5b2dd495b638baff715b2b1c2cdccccbb996
[ "Apache-2.0" ]
null
null
null
axfday/migrations/0003_auto_20190108_1702.py
chenbaian/snacksStreet
ba4f5b2dd495b638baff715b2b1c2cdccccbb996
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.3 on 2019-01-08 09:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('axfday', '0002_auto_20190107_1507'), ] operations = [ migrations.AlterField( model_name='goods', name='price', ...
21.263158
71
0.608911
45
404
5.333333
0.844444
0
0
0
0
0
0
0
0
0
0
0.116438
0.277228
404
18
72
22.444444
0.705479
0.111386
0
0
1
0
0.109244
0.064426
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
022faa38683679ec11b6626e0a67d6a2152ec62c
2,983
py
Python
rest/cv/migrations/0001_initial.py
cmu-lib/campi
c2c4bfbf2d5932dde1dde985d7b5c8786b9f2ab2
[ "MIT" ]
12
2020-10-09T18:12:30.000Z
2021-03-23T16:17:40.000Z
rest/cv/migrations/0001_initial.py
cmu-lib/campi
c2c4bfbf2d5932dde1dde985d7b5c8786b9f2ab2
[ "MIT" ]
1
2020-08-11T17:11:43.000Z
2020-08-11T17:29:58.000Z
rest/cv/migrations/0001_initial.py
cmu-lib/campi
c2c4bfbf2d5932dde1dde985d7b5c8786b9f2ab2
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-29 14:14 import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('photograph', '0001_initial'), ] operations = [ mi...
46.609375
157
0.599732
290
2,983
6.017241
0.334483
0.032092
0.048138
0.075645
0.416046
0.416046
0.416046
0.416046
0.416046
0.416046
0
0.00995
0.2588
2,983
63
158
47.349206
0.779285
0.015085
0
0.410714
1
0
0.180858
0.007153
0
0
0
0
0
1
0
false
0
0.053571
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
023112aff21c728e26088b70f6c90b780c4eb16c
2,752
py
Python
src/frame/j_load_mysql_conf.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
9
2017-05-14T05:12:32.000Z
2022-01-13T08:11:07.000Z
src/frame/j_load_mysql_conf.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
null
null
null
src/frame/j_load_mysql_conf.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
7
2017-08-28T08:31:43.000Z
2020-03-03T07:18:37.000Z
import json import frame_tools from job_base import job_base from singleton import singleton from mysql_manager import mysql_manager from mysql_conf_parser import mysql_conf_parser from scheduler_frame_conf_inst import scheduler_frame_conf_inst from loggingex import LOG_INFO from loggingex import LOG_DEBUG from logg...
33.975309
109
0.624637
376
2,752
4.090426
0.183511
0.111183
0.076073
0.06632
0.325748
0.193758
0.163849
0.163849
0.146294
0.094278
0
0.006871
0.206759
2,752
80
110
34.4
0.697664
0
0
0.129032
0
0
0.114099
0.065407
0
0
0
0
0
0
null
null
0
0.16129
null
null
0.112903
0
0
0
null
0
0
0
0
0
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
023c879e881d1d8173f0757d23142c39e39e9a64
711
py
Python
scripts/eo_to_ir/lib/transduce.py
dmjoy/DIVA
439e90e0659c7c7568e20e0a8e99cf81c60f9735
[ "BSD-3-Clause" ]
18
2017-12-05T00:59:08.000Z
2022-03-24T08:04:26.000Z
scripts/eo_to_ir/lib/transduce.py
dmjoy/DIVA
439e90e0659c7c7568e20e0a8e99cf81c60f9735
[ "BSD-3-Clause" ]
20
2017-12-28T16:23:34.000Z
2020-07-08T17:40:35.000Z
scripts/eo_to_ir/lib/transduce.py
Kitware/DIVA
7e73f75bd32775a95087ecd55eb59f98a26223ad
[ "BSD-3-Clause" ]
8
2017-12-28T16:11:26.000Z
2020-07-08T17:27:39.000Z
from functools import reduce def xd_map(map_func): def _map_xd(reducer): def _apply(init, x): return reducer(init, map_func(x)) return _apply return _map_xd def xd_filter(predicate): def _filter_xd(reducer): def _apply(init, x): if predicate(x): ...
17.341463
45
0.56962
93
711
4.16129
0.301075
0.05168
0.062016
0.087855
0.113695
0.113695
0
0
0
0
0
0.002132
0.340366
711
40
46
17.775
0.823028
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.035714
0.071429
0.821429
0
0
0
0
null
0
0
0
0
0
0
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
0240f2d72e5ae60dea702c8da60019e871cfe277
3,415
py
Python
src/pyconcepticon/commands/stats.py
concepticon/pyconcepticon
bd336df18545b493f59ed8c22b636ded447dede1
[ "Apache-2.0" ]
5
2019-06-04T02:17:03.000Z
2021-12-28T01:59:16.000Z
src/pyconcepticon/commands/stats.py
armendk/pyconcepticon
7764d4b0900a37a76a6cb6ff9bdc8348502fa51d
[ "Apache-2.0" ]
36
2019-02-06T11:50:21.000Z
2021-12-28T18:43:11.000Z
src/pyconcepticon/commands/stats.py
armendk/pyconcepticon
7764d4b0900a37a76a6cb6ff9bdc8348502fa51d
[ "Apache-2.0" ]
5
2019-09-18T13:34:19.000Z
2021-12-28T02:01:44.000Z
""" Generate new statistics for concepticondata/README.md. """ import operator import collections from clldutils.markup import Table from pyconcepticon.cli_util import readme def run(args): cls = args.repos.conceptlists.values() readme_conceptlists(args.repos, cls, args) readme_concept_list_meta(args.re...
35.206186
100
0.595022
457
3,415
4.389497
0.28884
0.024925
0.01994
0.025424
0.098704
0.07677
0.039382
0.017946
0.017946
0
0
0.011923
0.238653
3,415
96
101
35.572917
0.758846
0.062958
0
0.054054
1
0
0.17298
0
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.121622
0
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
02458487e0eb451b508baa74002cfad5f4b2ae80
815
py
Python
src/mhw_armor_edit/ftypes/oam_dat.py
CarlosFdez/mhw_armor_edit
5c4fd8db33d16c4ea34acd0ada000cdc5ffc626c
[ "Unlicense" ]
42
2018-09-17T05:34:31.000Z
2021-07-14T08:32:26.000Z
src/mhw_armor_edit/ftypes/oam_dat.py
spallSPELLW/mhw_armor_edit
88781d32f76a43867141ad3a287fb1a82bc654c5
[ "Unlicense" ]
20
2018-10-28T15:45:48.000Z
2020-07-27T01:43:29.000Z
src/mhw_armor_edit/ftypes/oam_dat.py
spallSPELLW/mhw_armor_edit
88781d32f76a43867141ad3a287fb1a82bc654c5
[ "Unlicense" ]
16
2018-10-05T02:20:15.000Z
2020-12-05T13:55:15.000Z
# coding: utf-8 from mhw_armor_edit import ftypes as ft from mhw_armor_edit.ftypes import Struct, StructFile # noinspection PyUnresolvedReferences class OAmDatEntry(Struct): STRUCT_SIZE = 42 id: ft.uint() set_id: ft.ushort() equip_slot: ft.ubyte() unk1: ft.ubyte() defense: ft.uint() rarity...
22.638889
52
0.655215
115
815
4.469565
0.478261
0.095331
0.087549
0.062257
0
0
0
0
0
0
0
0.020408
0.218405
815
35
53
23.285714
0.786499
0.060123
0
0
0
0
0
0
0
0
0.007864
0
0
1
0
false
0
0.068966
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
024cfa20c5a48a49c78cdac6c6fef30083084fcf
575
py
Python
mts/urls.py
folse/MTS
183f7d479d5f6f90ad1bdd6a20d7ec334476dce1
[ "MIT" ]
null
null
null
mts/urls.py
folse/MTS
183f7d479d5f6f90ad1bdd6a20d7ec334476dce1
[ "MIT" ]
null
null
null
mts/urls.py
folse/MTS
183f7d479d5f6f90ad1bdd6a20d7ec334476dce1
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include from django.contrib import admin admin.autodiscover() from django.contrib.auth.decorators import login_required from website import views urlpatterns = patterns('', # Examples: #(r'^static/(?P<path>.*)$','django.views.static.serve',), # url(r'^$', 'mts.views....
31.944444
61
0.657391
72
575
5.208333
0.458333
0.08
0.090667
0
0
0
0
0
0
0
0
0
0.126957
575
17
62
33.823529
0.747012
0.255652
0
0
0
0
0.134752
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
025ee7dd2690b1e2b22413001b0ac47235946824
5,846
py
Python
P5/src/practica5.py
Ricardoengithub/MyP2018-2
280c5acc10a81601d0c54061b141d29a80c55e07
[ "MIT" ]
null
null
null
P5/src/practica5.py
Ricardoengithub/MyP2018-2
280c5acc10a81601d0c54061b141d29a80c55e07
[ "MIT" ]
null
null
null
P5/src/practica5.py
Ricardoengithub/MyP2018-2
280c5acc10a81601d0c54061b141d29a80c55e07
[ "MIT" ]
null
null
null
m,n,field = 1,1,0 while(m!= 0 and n!=0): #Salida del programa tamaño = input("") tamaño = tamaño.split() m = int(tamaño[0]) #Obtenemos los datos del tamaño del buscaminas n = int(tamaño[1]) if(n<0 or m>100): #Verificacion de dimensiones print("dimensiones incorrectas") m = 0 ...
42.362319
146
0.387615
617
5,846
3.672609
0.165316
0.162842
0.150044
0.232568
0.601059
0.542365
0.479259
0.414387
0.333186
0.15887
0
0.06052
0.460144
5,846
137
147
42.671533
0.657478
0.191926
0
0.442748
0
0
0.020972
0
0
0
0
0
0
1
0
false
0
0
0
0
0.038168
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
026bce62cb206d3812f848d4f6386c02037d8257
783
py
Python
database/information/TABLESPACES.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/information/TABLESPACES.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/information/TABLESPACES.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
import datetime from database.database_schemas import Schemas from sqlalchemy import Column, ForeignKey, Integer, String, DateTime from sqlalchemy.dialects.mysql import BIGINT, SMALLINT, DOUBLE, TIMESTAMP, TINYINT from database.base import Base class Tablespaces(Base): """Maps to TABLESPACES table in informatio...
32.625
82
0.761175
89
783
6.47191
0.494382
0.104167
0.083333
0.086806
0
0
0
0
0
0
0
0
0.158365
783
24
83
32.625
0.874052
0.065134
0
0
0
0
0.023384
0
0
0
0
0
0
1
0
false
0
0.294118
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
027211e12607b0a82bfe1e2cfc8dcc7bb74f0c95
9,040
py
Python
bioidtracker/dataset.py
inecik/bioidtracker
b82493435ec561131c20498c629bfac953f71eb0
[ "MIT" ]
null
null
null
bioidtracker/dataset.py
inecik/bioidtracker
b82493435ec561131c20498c629bfac953f71eb0
[ "MIT" ]
15
2022-03-02T13:33:11.000Z
2022-03-28T12:28:23.000Z
bioidtracker/dataset.py
inecik/bioidtracker
b82493435ec561131c20498c629bfac953f71eb0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Kemal Inecik # k.inecik@gmail.com import logging import numpy as np import pandas as pd from bioidtracker.database_manager import DatabaseManager from bioidtracker.db import DB class Dataset: """Todo.""" def __init__(self, db_manager: DatabaseManager, narrow_search=True): ...
36.305221
119
0.589823
1,177
9,040
4.268479
0.17672
0.024881
0.046576
0.023686
0.464371
0.409037
0.337182
0.286823
0.274482
0.236863
0
0.002055
0.300221
9,040
248
120
36.451613
0.792128
0.137611
0
0.224806
0
0
0.128329
0.012281
0
0
0
0.141129
0
1
0.085271
false
0
0.03876
0
0.20155
0
0
0
0
null
0
0
0
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
027ae62d674f60a21667c886015764ec1bfca718
798
py
Python
gram/migrations/0003_auto_20200209_1203.py
trevor-ngugi/instagram-clone
50a795e6cc45f1dcdf3fc4fc7ad41088bfeb7e7d
[ "Unlicense" ]
null
null
null
gram/migrations/0003_auto_20200209_1203.py
trevor-ngugi/instagram-clone
50a795e6cc45f1dcdf3fc4fc7ad41088bfeb7e7d
[ "Unlicense" ]
5
2020-05-19T22:54:35.000Z
2022-01-13T02:13:31.000Z
gram/migrations/0003_auto_20200209_1203.py
trevor-ngugi/instagram-clone
50a795e6cc45f1dcdf3fc4fc7ad41088bfeb7e7d
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2020-02-09 09:03 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('gram', '0002_profile'), ] operations = [ ...
27.517241
111
0.621554
88
798
5.477273
0.579545
0.049793
0.058091
0.091286
0.149378
0.149378
0
0
0
0
0
0.038983
0.260652
798
28
112
28.5
0.777966
0.086466
0
0.380952
1
0
0.07438
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.285714
0
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
027b4bf6eef0fe6e2b9164bc42ce7f29b00adf1d
1,482
py
Python
tests/pymath/test_sum_between.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
tests/pymath/test_sum_between.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
tests/pymath/test_sum_between.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
import unittest from pymath.sum_between import sum_between class SumBetweenTests(unittest.TestCase): def shortDescription(self): return "Tests for {} checks if function sums the array and all numbers in between".format( sum_between.__name__ ) def test_only_accepts_a_list(self): ...
33.681818
98
0.663968
194
1,482
4.768041
0.319588
0.118919
0.099459
0.112432
0.596757
0.502703
0.47027
0.365405
0.229189
0.229189
0
0.025043
0.218623
1,482
43
99
34.465116
0.773748
0
0
0.09375
0
0
0.085695
0
0
0
0
0
0.25
1
0.28125
false
0
0.0625
0.03125
0.40625
0
0
0
0
null
0
0
0
0
0
0
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
027e58b9859e54da911404ad086711bc538d4d27
2,601
py
Python
blog/models.py
tres45/django-blog
240327795a06c5d92a72e8fd618a0e29bd20bc8d
[ "MIT" ]
null
null
null
blog/models.py
tres45/django-blog
240327795a06c5d92a72e8fd618a0e29bd20bc8d
[ "MIT" ]
5
2021-03-19T07:59:33.000Z
2021-09-22T19:14:45.000Z
blog/models.py
tres45/django-blog
240327795a06c5d92a72e8fd618a0e29bd20bc8d
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.core.validators import MinLengthValidator from django.db.models import Count try: user = User.objects.create_user(username='admin2', password='admin', is_staff=True, is_superuser=True) user.s...
32.5125
106
0.680892
321
2,601
5.373832
0.323988
0.051014
0.030145
0.044058
0.253333
0.193623
0.193623
0.193623
0.088116
0.088116
0
0.012919
0.196463
2,601
79
107
32.924051
0.81244
0.093426
0
0.226415
0
0
0.099483
0.011197
0
0
0
0
0
1
0.113208
false
0.037736
0.09434
0.056604
0.679245
0
0
0
0
null
0
0
0
0
0
0
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
0281c16b3203b03a5001213660284a753f98db63
4,605
py
Python
strokelitude/plugin.py
motmot/strokelitude
c87c0bf11f29d942c6c3f4387ad5eeb7a0bd7f58
[ "BSD-3-Clause" ]
1
2015-02-17T13:52:01.000Z
2015-02-17T13:52:01.000Z
strokelitude/plugin.py
motmot/strokelitude
c87c0bf11f29d942c6c3f4387ad5eeb7a0bd7f58
[ "BSD-3-Clause" ]
null
null
null
strokelitude/plugin.py
motmot/strokelitude
c87c0bf11f29d942c6c3f4387ad5eeb7a0bd7f58
[ "BSD-3-Clause" ]
null
null
null
import os, sys, random import multiprocessing import remote_traits import warnings try: import enthought.traits.api as traits except ImportError: # traits 4.x import traits.api as traits def mainloop(klass_proxy,klass_worker, hostname,port,obj_name,data_queue,save_data_queues, dis...
35.423077
90
0.616938
534
4,605
5.108614
0.312734
0.03629
0.030792
0.027859
0.145161
0.09934
0.061584
0.061584
0.061584
0
0
0.005013
0.30684
4,605
129
91
35.697674
0.849624
0.081868
0
0.168421
0
0
0.069685
0.007375
0
0
0
0
0
0
null
null
0
0.073684
null
null
0.042105
0
0
0
null
0
0
0
0
0
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
02837123a4af19f737f221cafb88d4bf20d50dab
84,266
py
Python
CGATPipelines/pipeline_exome.py
cdrakesmith/CGATPipelines
3c94ae4f9d87d51108255dc405c4b95af7c8b694
[ "MIT" ]
null
null
null
CGATPipelines/pipeline_exome.py
cdrakesmith/CGATPipelines
3c94ae4f9d87d51108255dc405c4b95af7c8b694
[ "MIT" ]
null
null
null
CGATPipelines/pipeline_exome.py
cdrakesmith/CGATPipelines
3c94ae4f9d87d51108255dc405c4b95af7c8b694
[ "MIT" ]
null
null
null
""" ==================== Exome pipeline ==================== The exome pipeline imports unmapped reads from one or more fastq or sra files and aligns them to the genome using BWA. Post alignment quality control is performed using Picard. The pipeline then performs local realignment around indels and base quality sc...
38.850161
1,069
0.555681
8,812
84,266
5.230708
0.129596
0.016792
0.021088
0.021847
0.406244
0.355152
0.313041
0.279609
0.257306
0.236912
0
0.009049
0.206584
84,266
2,168
1,070
38.868081
0.680367
0.18476
0
0.368056
0
0.005401
0.36439
0.131533
0
0
0
0.000461
0
1
0.087963
false
0.016975
0.013117
0.000772
0.101852
0.003858
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
028379f71e51dc249b00abcf71f13b96a523326b
1,146
py
Python
tests/test_commandline_classify_speakers.py
erayee/Montreal-Forced-Aligner
becd3b316d1999212910b4d0976e8c0405241493
[ "MIT" ]
702
2016-06-14T23:18:05.000Z
2022-03-28T07:39:54.000Z
tests/test_commandline_classify_speakers.py
erayee/Montreal-Forced-Aligner
becd3b316d1999212910b4d0976e8c0405241493
[ "MIT" ]
399
2016-06-15T17:02:58.000Z
2022-03-31T06:21:41.000Z
tests/test_commandline_classify_speakers.py
erayee/Montreal-Forced-Aligner
becd3b316d1999212910b4d0976e8c0405241493
[ "MIT" ]
175
2016-07-27T15:26:04.000Z
2022-03-22T04:05:57.000Z
import os import pytest from montreal_forced_aligner.command_line.classify_speakers import run_classify_speakers from montreal_forced_aligner.command_line.mfa import parser def test_classify(basic_corpus_dir, sick_dict_path, english_ivector_model, generated_dir, temp_dir): output_path = os.path.join(generated_di...
47.75
100
0.711169
145
1,146
5.213793
0.324138
0.126984
0.074074
0.066138
0.732804
0.732804
0.637566
0.637566
0.637566
0.534392
0
0.002092
0.165794
1,146
24
101
47.75
0.788703
0
0
0.421053
0
0
0.144725
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.315789
0
0
0
0
null
0
0
0
0
1
0
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
028a0e1753dee622a4b27ce1bd6058bb830d6f47
502
py
Python
utils.py
westhilljfung/laser_measurement_microcontroller
0d5b68dd8b7f6646f902f6458e08b374694e0870
[ "MIT" ]
1
2019-07-06T17:11:48.000Z
2019-07-06T17:11:48.000Z
utils.py
westhilljfung/laser_measurement_microcontroller
0d5b68dd8b7f6646f902f6458e08b374694e0870
[ "MIT" ]
null
null
null
utils.py
westhilljfung/laser_measurement_microcontroller
0d5b68dd8b7f6646f902f6458e08b374694e0870
[ "MIT" ]
null
null
null
"""utils.py helper functions """ import utime from machine import reset def timed_function(f, *args, **kwargs): """Time function Time a function using @timed_function decorator """ myname = str(f).split(' ')[1] def new_func(*args, **kwargs): t = utime.ticks_us() result = f(*args...
20.916667
72
0.611554
66
502
4.545455
0.575758
0.1
0.073333
0
0
0
0
0
0
0
0
0.018373
0.241036
502
23
73
21.826087
0.769029
0.177291
0
0
0
0
0.074169
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
028aed59c1b83c466c154b31fbedfe85b1f6dd96
3,239
py
Python
feed/views.py
DeanBiton/Beyond-07-team-4
53ae7af7329d1321e5b48625d05cbf2d12da05f3
[ "MIT" ]
1
2022-03-03T18:19:25.000Z
2022-03-03T18:19:25.000Z
feed/views.py
DeanBiton/Beyond-07-team-4
53ae7af7329d1321e5b48625d05cbf2d12da05f3
[ "MIT" ]
39
2022-03-07T16:19:08.000Z
2022-03-31T19:21:13.000Z
feed/views.py
DeanBiton/Beyond-07-team-4
53ae7af7329d1321e5b48625d05cbf2d12da05f3
[ "MIT" ]
5
2022-03-02T15:48:34.000Z
2022-03-03T21:27:19.000Z
from django.shortcuts import render, redirect, get_object_or_404 from .models import Post, Comment from django.views.generic import DetailView, DeleteView, CreateView from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.contrib import messages from django.urls import reverse from d...
28.412281
78
0.642174
369
3,239
5.531165
0.260163
0.037727
0.029397
0.020578
0.276335
0.22146
0.174424
0.11465
0.11465
0.11465
0
0.003738
0.256561
3,239
113
79
28.663717
0.843854
0
0
0.386364
0
0
0.066996
0
0
0
0
0
0
1
0.090909
false
0.034091
0.090909
0
0.511364
0
0
0
0
null
0
0
0
0
0
0
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
65f6838738307f24813957d961a9757fad3a156a
12,796
py
Python
python/ovs/db/idl.py
homework/openvswitch
d8971d74997c9fc5c9646259b57f31408106557f
[ "Apache-2.0" ]
9
2015-12-15T00:55:59.000Z
2019-11-22T16:17:58.000Z
python/ovs/db/idl.py
homework/openvswitch
d8971d74997c9fc5c9646259b57f31408106557f
[ "Apache-2.0" ]
1
2017-04-17T03:44:27.000Z
2018-04-13T07:48:22.000Z
python/ovs/db/idl.py
homework/openvswitch
d8971d74997c9fc5c9646259b57f31408106557f
[ "Apache-2.0" ]
19
2015-02-06T23:24:53.000Z
2021-02-05T05:20:56.000Z
# Copyright (c) 2009, 2010, 2011 Nicira Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
41.012821
79
0.570725
1,572
12,796
4.517812
0.202926
0.024078
0.014785
0.011968
0.261053
0.220783
0.191495
0.181076
0.159251
0.129823
0
0.003099
0.344248
12,796
311
80
41.144695
0.843284
0.059237
0
0.368932
0
0
0.088399
0
0
0
0
0
0
0
null
null
0.009709
0.029126
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
65f98ff0639b8bef700505a2829b8b5ff3db256b
1,227
py
Python
recon_scan/ftprecon.py
fchyla/pwk_scripts
344f2f97ab36e242effb9136878e6be1ae2f5a3c
[ "Apache-2.0" ]
15
2015-12-27T20:43:02.000Z
2021-09-21T03:02:22.000Z
recon_scan/ftprecon.py
fchyla/pwk_scripts
344f2f97ab36e242effb9136878e6be1ae2f5a3c
[ "Apache-2.0" ]
null
null
null
recon_scan/ftprecon.py
fchyla/pwk_scripts
344f2f97ab36e242effb9136878e6be1ae2f5a3c
[ "Apache-2.0" ]
12
2016-05-02T11:25:38.000Z
2020-09-13T11:50:03.000Z
#!/usr/bin/env python import subprocess import sys import os if len(sys.argv) != 4: print "Usage: ftprecon.py <ip address> <port> <directory>" sys.exit(0) ip_address = sys.argv[1].strip() port = sys.argv[2].strip() scan_results_location = sys.argv[3].strip() print "INFO: Performing nmap FTP script scan for "...
42.310345
224
0.724531
191
1,227
4.534031
0.434555
0.093533
0.08776
0.072748
0.189376
0.08545
0.08545
0
0
0
0
0.012082
0.123064
1,227
28
225
43.821429
0.792751
0.0163
0
0
0
0.086957
0.420398
0.186567
0
0
0
0
0
0
null
null
0.043478
0.130435
null
null
0.173913
0
0
0
null
0
0
0
0
0
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