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
0aca3c33617f765c2f35263c47515aabc6d1137f
1,806
py
Python
envisage/developer/ui/developer_ui_plugin.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
null
null
null
envisage/developer/ui/developer_ui_plugin.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
null
null
null
envisage/developer/ui/developer_ui_plugin.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
null
null
null
""" The developer UI plugin. """ # Enthought library imports. from envisage.api import Plugin from traits.api import List class DeveloperUIPlugin(Plugin): """ The developer UI plugin. This plugin contains the UI part of the tools that (hopefully) help developers to inspect and debug a running Envisage ...
25.43662
79
0.566445
151
1,806
6.735099
0.443709
0.054081
0.027532
0.039331
0.060964
0
0
0
0
0
0
0
0.247508
1,806
70
80
25.8
0.748344
0.301772
0
0.222222
0
0
0.094949
0.082828
0
0
0
0
0
1
0.074074
false
0
0.148148
0
0.592593
0
0
0
0
null
0
0
0
0
0
0
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
0acf71d21600e98b9a72dad0436a3974196aa00a
40,236
py
Python
src/python/director/visualization.py
debaraj-barua/director
9766469a2976719d2cb38e194d9415dd6ebd0164
[ "BSD-3-Clause" ]
null
null
null
src/python/director/visualization.py
debaraj-barua/director
9766469a2976719d2cb38e194d9415dd6ebd0164
[ "BSD-3-Clause" ]
null
null
null
src/python/director/visualization.py
debaraj-barua/director
9766469a2976719d2cb38e194d9415dd6ebd0164
[ "BSD-3-Clause" ]
2
2018-07-05T10:46:04.000Z
2021-06-18T11:37:28.000Z
import director.objectmodel as om import director.applogic as app from shallowCopy import shallowCopy import director.vtkAll as vtk from director import transformUtils from director import callbacks from director import frameupdater from director.fieldcontainer import FieldContainer from PythonQt import QtCore, QtGui i...
32.370072
171
0.650114
3,950
40,236
6.589114
0.175949
0.020171
0.02386
0.005187
0.242709
0.179237
0.160833
0.148039
0.122258
0.098321
0
0.011402
0.243613
40,236
1,242
172
32.396135
0.843793
0.015359
0
0.267654
0
0
0.039835
0.001761
0
0
0
0
0.014806
0
null
null
0.02164
0.015945
null
null
0.002278
0
0
0
null
0
0
0
0
0
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
0ad09ddca04f23743f29cd3a27ab71beab45f6bc
506
py
Python
setup.py
AEW2015/pypci
317e1ad1fe1fddf937fe19d7dead37b8533953d7
[ "MIT" ]
2
2020-04-20T15:12:06.000Z
2020-06-04T08:04:39.000Z
setup.py
AEW2015/pypci
317e1ad1fe1fddf937fe19d7dead37b8533953d7
[ "MIT" ]
null
null
null
setup.py
AEW2015/pypci
317e1ad1fe1fddf937fe19d7dead37b8533953d7
[ "MIT" ]
2
2020-07-08T10:05:27.000Z
2021-02-27T14:59:11.000Z
import setuptools setuptools.setup( name = 'pypci', version = __import__('pypci').__version__, description = 'PCI driver for python', url = 'https://github.com/ars096/pypci', author = 'Atsushi Nishimura', author_email = 'ars096@gmail.com', license = 'MIT', keywords = '', packages =...
23
49
0.58498
47
506
6.085106
0.723404
0.083916
0
0
0
0
0
0
0
0
0
0.018767
0.262846
506
21
50
24.095238
0.747989
0
0
0.105263
0
0
0.360396
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
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
0ad16b19937b4eba68acde52cc19331c28b09b30
987
py
Python
LeetCode/443-string-compression.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
LeetCode/443-string-compression.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
LeetCode/443-string-compression.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
############################################################################################### # 遍历一遍,可以叫做双指针,分别指向读和写的位置 ########### # 时间复杂度:O(n) # 空间复杂度:O(1) ############################################################################################### class Solution: def compress(self, chars: List[str]) ...
32.9
96
0.257345
84
987
2.988095
0.380952
0.031873
0.023904
0.103586
0.111554
0
0
0
0
0
0
0.029963
0.458967
987
30
97
32.9
0.440075
0.045593
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ad264e9e0f268f9ef109220efb2ef8052bf65aa
1,809
py
Python
core/forms.py
ivancrneto/temwifi
091d5114281dca15d2e68b191852b5c5bcb00ce5
[ "MIT" ]
null
null
null
core/forms.py
ivancrneto/temwifi
091d5114281dca15d2e68b191852b5c5bcb00ce5
[ "MIT" ]
null
null
null
core/forms.py
ivancrneto/temwifi
091d5114281dca15d2e68b191852b5c5bcb00ce5
[ "MIT" ]
null
null
null
from django import forms from django.utils.translation import ugettext_lazy as _ from core.models import ( InternetRating, Place, Rating ) class PlaceTypeSearchForm(forms.ModelForm): class Meta: fields = ('place_type',) model = Place def __init__(self, *args, **kwargs): ...
23.493506
79
0.555556
192
1,809
5.026042
0.338542
0.068394
0.078756
0.095337
0.206218
0.176166
0.149223
0.072539
0
0
0
0
0.357103
1,809
76
80
23.802632
0.829751
0
0
0.218182
0
0
0.185738
0
0
0
0
0
0
1
0.036364
false
0.109091
0.054545
0
0.254545
0
0
0
0
null
0
0
0
0
0
0
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
0ad3ca34cae6c5b9daa9086a351cf48b085d84e3
2,037
py
Python
2018/day3/solution1.py
om-henners/advent_of_code
2c11272e05d7d1dcc5a96c9026d0f799f6443fa7
[ "Apache-2.0" ]
null
null
null
2018/day3/solution1.py
om-henners/advent_of_code
2c11272e05d7d1dcc5a96c9026d0f799f6443fa7
[ "Apache-2.0" ]
null
null
null
2018/day3/solution1.py
om-henners/advent_of_code
2c11272e05d7d1dcc5a96c9026d0f799f6443fa7
[ "Apache-2.0" ]
null
null
null
""" The whole piece of fabric they're working on is a very large square - at least 1000 inches on each side. Each Elf has made a claim about which area of fabric would be ideal for Santa's suit. All claims have an ID and consist of a single rectangle with edges parallel to the edges of the fabric. Each claim's rectang...
29.1
79
0.665194
346
2,037
3.910405
0.413295
0.033259
0.026608
0.044346
0.195861
0.124169
0.053215
0
0
0
0
0.046313
0.194404
2,037
69
80
29.521739
0.778184
0.815415
0
0
0
0.111111
0.1875
0.059783
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ad5f0aa11b08d573519decdbd64ac01ddd82598
3,082
py
Python
golem/cli/messages.py
thanhlelgg/golem
5245c880d00d40c57581a7397a606359fb37cd59
[ "MIT" ]
null
null
null
golem/cli/messages.py
thanhlelgg/golem
5245c880d00d40c57581a7397a606359fb37cd59
[ "MIT" ]
null
null
null
golem/cli/messages.py
thanhlelgg/golem
5245c880d00d40c57581a7397a606359fb37cd59
[ "MIT" ]
null
null
null
USAGE_MSG = """ Usage: golem golem run <project> <test|suite|dir> [-b -t -e] golem gui [-p] golem createproject <project> golem createtest <project> <test> golem createsuite <project> <suite> golem createuser <username> <password> [-a -p -r] Usage: golem run Run tests or suites positional arguments...
25.683333
59
0.609994
387
3,082
4.819121
0.204134
0.053619
0.055764
0.077212
0.480429
0.430027
0.430027
0.366756
0.366756
0.330295
0
0.004701
0.309864
3,082
119
60
25.89916
0.87212
0
0
0.430233
0
0
0.92827
0
0
0
0
0
0
1
0
false
0.034884
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ad841792fc43725b64bb6c5fb1adf282dba4906
1,583
py
Python
planning/GamesTests/menu/mysql/connector/version.py
ChristsY12Robots/Robots
306f000f85b41731a9e1249847434858319e5415
[ "MIT" ]
null
null
null
planning/GamesTests/menu/mysql/connector/version.py
ChristsY12Robots/Robots
306f000f85b41731a9e1249847434858319e5415
[ "MIT" ]
null
null
null
planning/GamesTests/menu/mysql/connector/version.py
ChristsY12Robots/Robots
306f000f85b41731a9e1249847434858319e5415
[ "MIT" ]
1
2020-07-22T12:02:03.000Z
2020-07-22T12:02:03.000Z
# MySQL Connector/Python - MySQL driver written in Python. # Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. # MySQL Connector/Python is licensed under the terms of the GPLv2 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most # MySQL Connectors. There are special exceptio...
40.589744
78
0.744788
250
1,583
4.704
0.528
0.047619
0.05102
0.048469
0.119898
0.047619
0
0
0
0
0
0.03003
0.15856
1,583
38
79
41.657895
0.852853
0.802906
0
0
0
0
0.228873
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ad90648b847719c957238419fdba31fdc5e864c
1,360
py
Python
src/client.py
decached/2pc
32fd96fa01c6408af1d9afb4bf90c102a545236e
[ "MIT" ]
5
2017-06-27T16:32:33.000Z
2021-01-17T14:34:37.000Z
src/client.py
decached/2pc
32fd96fa01c6408af1d9afb4bf90c102a545236e
[ "MIT" ]
null
null
null
src/client.py
decached/2pc
32fd96fa01c6408af1d9afb4bf90c102a545236e
[ "MIT" ]
1
2021-03-23T14:15:58.000Z
2021-03-23T14:15:58.000Z
#!/usr/bin/env python import argparse import glob import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/lib/gen-py') sys.path.insert(0, glob.glob('/home/akash/clones/thrift/lib/py/build/lib.*')[1]) from tpc import Coordinator from tpc.ttypes import RFile import connection class FSClie...
30.222222
89
0.683088
173
1,360
5.248555
0.416185
0.039648
0.07489
0.046256
0
0
0
0
0
0
0
0.001779
0.173529
1,360
44
90
30.909091
0.80605
0.014706
0
0
0
0
0.129948
0.03286
0
0
0
0
0
0
null
null
0
0.21875
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0ade31e5a05c14ecd9ea6c93b36e608f0ce2ef1d
810
py
Python
publicbanking/migrations/0008_auto_20180720_1715.py
AntonNiko/bank-project
0fffcd63010d0e65951be6a128108acf8e62da3d
[ "MIT" ]
null
null
null
publicbanking/migrations/0008_auto_20180720_1715.py
AntonNiko/bank-project
0fffcd63010d0e65951be6a128108acf8e62da3d
[ "MIT" ]
null
null
null
publicbanking/migrations/0008_auto_20180720_1715.py
AntonNiko/bank-project
0fffcd63010d0e65951be6a128108acf8e62da3d
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-21 00:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('publicbanking', '0007_auto_20180719_0113'), ] operations = [ migrations.AlterField( model_name=...
32.4
149
0.67284
84
810
6.333333
0.47619
0.169173
0.078947
0.12406
0.507519
0.507519
0.507519
0.300752
0.300752
0.300752
0
0.048742
0.214815
810
24
150
33.75
0.787736
0.055556
0
0.333333
1
0
0.238532
0.145478
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ade6028d3ee06ffd1583f66840b801d9f7c43c4
14,523
py
Python
watertap/property_models/activated_sludge/tests/test_asm1_integration.py
avdudchenko/watertap
ac8d59e015688ff175a8087d2d52272e4f1fe84f
[ "BSD-3-Clause-LBNL" ]
4
2021-11-06T01:13:22.000Z
2022-02-08T21:16:38.000Z
watertap/property_models/activated_sludge/tests/test_asm1_integration.py
avdudchenko/watertap
ac8d59e015688ff175a8087d2d52272e4f1fe84f
[ "BSD-3-Clause-LBNL" ]
233
2021-10-13T12:53:44.000Z
2022-03-31T21:59:50.000Z
watertap/property_models/activated_sludge/tests/test_asm1_integration.py
avdudchenko/watertap
ac8d59e015688ff175a8087d2d52272e4f1fe84f
[ "BSD-3-Clause-LBNL" ]
12
2021-11-01T19:11:03.000Z
2022-03-08T22:20:58.000Z
################################################################################# # The Institute for the Design of Advanced Energy Systems Integrated Platform # Framework (IDAES IP) was produced under the DOE Institute for the # Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021 # by the softwar...
40.454039
88
0.632652
2,523
14,523
3.523583
0.1304
0.049606
0.125984
0.134983
0.724072
0.707874
0.691789
0.66198
0.650394
0.58324
0
0.074734
0.184604
14,523
358
89
40.567039
0.675984
0.093645
0
0.11
0
0
0.037163
0
0
0
0
0
0.28
1
0.003333
false
0
0.036667
0
0.04
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
0ade705c68d08a3c1eac10aed94abecd6e58ba80
12,615
py
Python
anytree/node.py
JamesQFreeman/Pod
d288ccefa8d26d3d303d8b6dcc39171afa6199eb
[ "MIT" ]
2
2017-10-27T15:35:25.000Z
2022-03-02T03:11:26.000Z
anytree/node.py
KelSolaar/anytree
56725db44f5cabb1ebcaf4f8e9bb3786e0e80002
[ "Apache-2.0" ]
2
2017-09-17T04:52:06.000Z
2017-10-26T18:02:05.000Z
anytree/node.py
JamesQFreeman/Pod
d288ccefa8d26d3d303d8b6dcc39171afa6199eb
[ "MIT" ]
2
2017-10-04T16:08:00.000Z
2021-06-15T01:30:29.000Z
# -*- coding: utf-8 -*- """ Node Classes. * :any:`Node`: a simple tree node * :any:`NodeMixin`: extends any python class to a tree node. """ from __future__ import print_function from .iterators import PreOrderIter import warnings class NodeMixin(object): separator = "/" u""" The :any:`NodeMixin` clas...
27.543668
104
0.513912
1,414
12,615
4.521216
0.148515
0.047083
0.051619
0.028469
0.302831
0.202565
0.154231
0.144377
0.106366
0.106366
0
0.011645
0.339675
12,615
457
105
27.603939
0.7509
0.369877
0
0.263473
0
0
0.04649
0
0
0
0
0
0.02994
1
0.191617
false
0.05988
0.017964
0
0.359281
0.005988
0
0
0
null
0
0
0
0
0
0
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
0ae1c9b7f469b5b2807f6a3649661855e8f3aa08
1,043
py
Python
wagtail/test/modeladmintest/migrations/0004_venuepage.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
1
2022-02-09T05:25:30.000Z
2022-02-09T05:25:30.000Z
wagtail/test/modeladmintest/migrations/0004_venuepage.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
wagtail/test/modeladmintest/migrations/0004_venuepage.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-07 11:22 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("modeladmintest", "0003_publisher"), ] operations = [ migrations.CreateModel( ...
28.189189
68
0.452541
80
1,043
5.8125
0.725
0.051613
0.060215
0.094624
0
0
0
0
0
0
0
0.039249
0.438159
1,043
36
69
28.972222
0.754266
0.064238
0
0.1
1
0
0.102775
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ae5dae701962ac29454d3d7cad5a9f574e2e2d2
2,232
py
Python
thesis/9 - Semantic Change/4 - Delete Invalid.py
lucasrettenmeier/word-embedding-stability
d7a93201a6b2fd85cbf52681227829323edb9ef4
[ "MIT" ]
1
2020-10-06T20:33:20.000Z
2020-10-06T20:33:20.000Z
thesis/9 - Semantic Change/4 - Delete Invalid.py
lucasrettenmeier/word-embedding-stability
d7a93201a6b2fd85cbf52681227829323edb9ef4
[ "MIT" ]
null
null
null
thesis/9 - Semantic Change/4 - Delete Invalid.py
lucasrettenmeier/word-embedding-stability
d7a93201a6b2fd85cbf52681227829323edb9ef4
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------------------------------------------- # Packages & Settings #------------------------------------------------------------------------------------------------------------------- # General packages import time import sys import os import date...
29.368421
116
0.488351
227
2,232
4.682819
0.431718
0.039511
0.056444
0.062088
0.301035
0.265287
0.169332
0.169332
0.169332
0.169332
0
0.00768
0.125
2,232
75
117
29.76
0.53661
0.361559
0
0.347826
0
0
0.150355
0.098582
0
0
0
0
0
1
0
false
0
0.347826
0
0.347826
0.021739
0
0
0
null
0
0
0
0
0
0
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
0ae6653945b5fbc621a604e08a679125bb844620
294
py
Python
Python32/jogo teste.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
null
null
null
Python32/jogo teste.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
null
null
null
Python32/jogo teste.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
1
2020-11-04T08:36:28.000Z
2020-11-04T08:36:28.000Z
print("Bem vindo ao jogo ") chute=0 while chute != 42: g = input("digite um numero: ") chute=int(g) if chute == 42: print("você venceu!!!!!") else: if chute >42: print("valor alto") else: print("valor baixo") print("fim de jogo")
21
35
0.510204
39
294
3.846154
0.615385
0.14
0.12
0.186667
0
0
0
0
0
0
0
0.035897
0.336735
294
13
36
22.615385
0.733333
0
0
0.153846
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.384615
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
0ae8a3ae96f8609b26561f191b37046f2458d364
3,774
py
Python
devstack/tests/test_localconf_set_local.py
openstack/devstack-tools
2225eade022f828b609daa4a5ad8f2d82a5b1f26
[ "Apache-2.0" ]
9
2017-03-24T10:07:42.000Z
2019-01-28T21:59:51.000Z
devstack/tests/test_localconf_set_local.py
openstack/devstack-tools
2225eade022f828b609daa4a5ad8f2d82a5b1f26
[ "Apache-2.0" ]
null
null
null
devstack/tests/test_localconf_set_local.py
openstack/devstack-tools
2225eade022f828b609daa4a5ad8f2d82a5b1f26
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 IBM # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
23.735849
75
0.664812
529
3,774
4.595463
0.275992
0.052653
0.034554
0.046072
0.654875
0.649938
0.589881
0.589881
0.560263
0.560263
0
0.015693
0.206412
3,774
158
76
23.886076
0.795993
0.188924
0
0.727273
0
0
0.377135
0.153745
0
0
0
0
0.041322
1
0.057851
false
0
0.024793
0
0.099174
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
0aea5198d54baf5383a262f143634ffaa1a29519
1,247
py
Python
flaskshop/api/checkout.py
maquinuz/flask-shop
78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30
[ "BSD-3-Clause" ]
141
2018-08-14T09:38:30.000Z
2022-03-24T14:17:14.000Z
flaskshop/api/checkout.py
maquinuz/flask-shop
78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30
[ "BSD-3-Clause" ]
65
2019-06-20T06:10:04.000Z
2022-01-29T07:10:06.000Z
flaskshop/api/checkout.py
maquinuz/flask-shop
78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30
[ "BSD-3-Clause" ]
65
2019-03-18T13:55:34.000Z
2022-03-23T05:55:27.000Z
from flask_restplus import Namespace, Resource, fields from flask_login import current_user api = Namespace("checkout", description="Checkout related operations") cart = api.model( "CartLine", { "id": fields.Integer(required=True, description="The checkout cartline id"), "quantity": fields.In...
31.974359
84
0.634322
135
1,247
5.785185
0.377778
0.12548
0.138284
0.169014
0.230474
0.230474
0
0
0
0
0
0
0.241379
1,247
38
85
32.815789
0.825581
0.022454
0
0.15625
0
0
0.277824
0.037923
0
0
0
0
0
1
0.03125
false
0
0.0625
0
0.15625
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
0aec3d83ab2643d92de19e4eddd54380413fc4a2
349
py
Python
CaveOfSpongeBob/apps/blog/context_processors.py
MengZumeng/CaveOfSpongeBob
2f5003416658b01aa870796c23b88fedb956ff2f
[ "MIT" ]
null
null
null
CaveOfSpongeBob/apps/blog/context_processors.py
MengZumeng/CaveOfSpongeBob
2f5003416658b01aa870796c23b88fedb956ff2f
[ "MIT" ]
null
null
null
CaveOfSpongeBob/apps/blog/context_processors.py
MengZumeng/CaveOfSpongeBob
2f5003416658b01aa870796c23b88fedb956ff2f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf import settings # 自定义上下文管理器 def settings_info(request): return { 'site_end_title':settings.SITE_END_TITLE, 'site_description':settings.SITE_DESCRIPTION, 'site_keywords':settings.SITE_KEYWORDS, 'my_github': settings.MY_GITHUB, 'my_cs...
21.8125
53
0.670487
41
349
5.390244
0.512195
0.162896
0.108597
0
0
0
0
0
0
0
0
0.003636
0.212034
349
15
54
23.266667
0.8
0.088825
0
0
0
0
0.188498
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0af63c06fe2ae724b8f4a14d8ad000eea2c3c24a
2,751
py
Python
oldplugins/mailman.py
sonicrules1234/sonicbot
07a22d08bf86ed33dc715a800957aee3b45f3dde
[ "BSD-3-Clause" ]
1
2019-06-27T08:45:23.000Z
2019-06-27T08:45:23.000Z
oldplugins/mailman.py
sonicrules1234/sonicbot
07a22d08bf86ed33dc715a800957aee3b45f3dde
[ "BSD-3-Clause" ]
null
null
null
oldplugins/mailman.py
sonicrules1234/sonicbot
07a22d08bf86ed33dc715a800957aee3b45f3dde
[ "BSD-3-Clause" ]
null
null
null
import shelve, time, random, string, hashlib arguments = ["self", "info", "args"] minlevel = 4 helpstring = "mailman <command> <message/nick>" def main(connection, info, args) : """Manages sonicmail""" mail = shelve.open("mail.db", writeback=True) if args[1] == "delete" : if mail.has_key(a...
58.531915
239
0.548528
300
2,751
5.003333
0.34
0.102598
0.07928
0.111925
0.352432
0.255829
0.127915
0.101266
0.063957
0
0
0.009831
0.223555
2,751
46
240
59.804348
0.692884
0.00618
0
0.181818
0
0.022727
0.238628
0
0
0
0
0
0
1
0.022727
false
0.136364
0.022727
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
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
0af81284ae5a6b89f186a0515ed6f43825b6034c
845
py
Python
network_test.py
miyosuda/dendritic_bp
fd831b6ad9ae1993a14ba970408b80abfd45f0b1
[ "Apache-2.0" ]
2
2019-10-06T01:52:52.000Z
2021-06-24T12:31:36.000Z
network_test.py
miyosuda/dendritic_bp
fd831b6ad9ae1993a14ba970408b80abfd45f0b1
[ "Apache-2.0" ]
null
null
null
network_test.py
miyosuda/dendritic_bp
fd831b6ad9ae1993a14ba970408b80abfd45f0b1
[ "Apache-2.0" ]
1
2021-06-17T10:14:48.000Z
2021-06-17T10:14:48.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import unittest from network import TargetNetwork, Network class TargetNetworkTest(unittest.TestCase): def test_init(self): np.random.seed(seed=0) ...
23.472222
76
0.661538
98
845
5.336735
0.469388
0.124283
0.091778
0.061185
0.179732
0.179732
0.179732
0.179732
0.179732
0
0
0.013953
0.236686
845
35
77
24.142857
0.796899
0.024852
0
0
0
0
0.012442
0
0
0
0
0
0.117647
1
0.058824
false
0
0.352941
0
0.470588
0.117647
0
0
0
null
0
0
0
0
0
0
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
0af9a8ea3564446ba55fbbdecfd91e554b1f6fdf
24,317
py
Python
dev/mathematica/get_ldmx_acceptance_to_share/pc.py
jmlazaro25/vissig
370262b0546959bd2936cfd1ffa16de5b85a3dee
[ "MIT" ]
null
null
null
dev/mathematica/get_ldmx_acceptance_to_share/pc.py
jmlazaro25/vissig
370262b0546959bd2936cfd1ffa16de5b85a3dee
[ "MIT" ]
null
null
null
dev/mathematica/get_ldmx_acceptance_to_share/pc.py
jmlazaro25/vissig
370262b0546959bd2936cfd1ffa16de5b85a3dee
[ "MIT" ]
null
null
null
from __future__ import division import itertools import xml.etree.ElementTree as ET import math import StringIO import os import re import shutil import logging class InvalidParamCard(Exception): """ a class for invalid param_card """ pass class Parameter (object): """A class for a param_card parameter"...
36.132244
117
0.504709
2,774
24,317
4.326244
0.131218
0.021998
0.007499
0.008166
0.241063
0.184485
0.157904
0.135572
0.124406
0.117574
0
0.004161
0.37739
24,317
672
118
36.186012
0.788507
0.054406
0
0.304255
0
0
0.057992
0.003667
0
0
0
0
0.008511
0
null
null
0.006383
0.019149
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
0afef3457ee0e7f406abe9ac1dc719f671970355
209
py
Python
qrcode.py
sulphatet/Python
557a684f91aedcddbade3758793738225e1a4eb4
[ "MIT" ]
28,321
2015-01-03T15:36:19.000Z
2022-03-31T10:11:54.000Z
qrcode.py
sulphatet/Python
557a684f91aedcddbade3758793738225e1a4eb4
[ "MIT" ]
544
2015-01-19T14:28:09.000Z
2022-03-29T04:05:21.000Z
qrcode.py
sulphatet/Python
557a684f91aedcddbade3758793738225e1a4eb4
[ "MIT" ]
13,366
2015-01-03T15:45:14.000Z
2022-03-31T11:50:26.000Z
#importing Required Modules import qrcode #QR Code Generator query = input("Enter Content: ") #Enter Content code = qrcode.make(str(query)) #Making the QR code code.save("qrcode.png") #Saving the QR code file
29.857143
50
0.755981
32
209
4.9375
0.625
0.113924
0.113924
0
0
0
0
0
0
0
0
0
0.133971
209
7
51
29.857143
0.872928
0.464115
0
0
0
0
0.231481
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
e4066e4150600dff33e0479221ea718d8e980e47
1,295
py
Python
setup.py
gdiepen/livy-submit
c7c3653f810a581f4f51330b8faefb3d11137c26
[ "MIT" ]
7
2019-10-10T15:04:03.000Z
2022-02-25T08:35:05.000Z
setup.py
gdiepen/livy-submit
c7c3653f810a581f4f51330b8faefb3d11137c26
[ "MIT" ]
3
2020-07-28T20:20:36.000Z
2021-05-24T09:02:47.000Z
setup.py
gdiepen/livy-submit
c7c3653f810a581f4f51330b8faefb3d11137c26
[ "MIT" ]
4
2019-12-23T16:57:27.000Z
2021-05-23T07:10:06.000Z
from setuptools import setup, find_packages import os setup( # Needed to silence warnings (and to be a worthwhile package) name='Livy-Submit', url='https://github.com/gdiepen/livy-submit', author='Guido Diepen', author_email='site-github@guidodiepen.nl', # Needed to actually package something ...
35.972222
119
0.643243
146
1,295
5.60274
0.684932
0.0489
0.091687
0.095355
0
0
0
0
0
0
0
0.009128
0.23861
1,295
35
120
37
0.820487
0.146718
0
0
0
0
0.519563
0.045496
0
0
0
0
0
1
0
true
0
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
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
e407cd1f5a64effafbf081b2989fecfe075e0f17
2,412
py
Python
Images/Toggle Image Lock.py
schriftgestalt/Mekka-Scripts
d745ae8ffc1cf9f7f13907ad749566dc05306307
[ "Apache-2.0" ]
null
null
null
Images/Toggle Image Lock.py
schriftgestalt/Mekka-Scripts
d745ae8ffc1cf9f7f13907ad749566dc05306307
[ "Apache-2.0" ]
null
null
null
Images/Toggle Image Lock.py
schriftgestalt/Mekka-Scripts
d745ae8ffc1cf9f7f13907ad749566dc05306307
[ "Apache-2.0" ]
null
null
null
#MenuTitle: Toggle Image Lock # -*- coding: utf-8 -*- __doc__=""" Floating Window for toggling the locked status of selected glyphs. """ import vanilla class ToggleImageLock( object ): def __init__( self ): # Window 'self.w': windowWidth = 250 windowHeight = 60 windowWidthResize = 500 # user can resize wid...
38.285714
143
0.717247
288
2,412
5.986111
0.4375
0.040603
0.034803
0.039443
0.141531
0.109049
0.060325
0
0
0
0
0.02406
0.172886
2,412
63
144
38.285714
0.839098
0.211857
0
0.043478
0
0
0.114058
0.02122
0
0
0
0
0
0
null
null
0
0.021739
null
null
0.065217
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7c0f237365bede0754962f345a0e6c650c3b6769
26,964
py
Python
pyleecan/Classes/Lamination.py
Kelos-Zhu/pyleecan
368f8379688e31a6c26d2c1cd426f21dfbceff2a
[ "Apache-2.0" ]
null
null
null
pyleecan/Classes/Lamination.py
Kelos-Zhu/pyleecan
368f8379688e31a6c26d2c1cd426f21dfbceff2a
[ "Apache-2.0" ]
null
null
null
pyleecan/Classes/Lamination.py
Kelos-Zhu/pyleecan
368f8379688e31a6c26d2c1cd426f21dfbceff2a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """File generated according to Generator/ClassesRef/Machine/Lamination.csv WARNING! All changes made in this file will be lost! """ from os import linesep from logging import getLogger from ._check import check_var, raise_ from ..Functions.get_logger import get_logger from ..Functions.save impo...
33.125307
148
0.575174
3,165
26,964
4.6594
0.081517
0.031125
0.065098
0.02848
0.416695
0.31681
0.260663
0.186614
0.169797
0.156371
0
0.006047
0.337672
26,964
813
149
33.166052
0.819699
0.138778
0
0.253566
1
0
0.089879
0.001961
0
0
0
0
0.004754
1
0.044374
false
0
0.14897
0
0.259905
0
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
7c12e197b87e950bd4c803cdebf3e879c0789a59
684
py
Python
Exercicios Colecoes Python/exercicio 29 - secao 07 - p1.py
cristinamais/exercicios_python
8a09b0b68ffaa62d13afb952998e890a79667c7e
[ "MIT" ]
null
null
null
Exercicios Colecoes Python/exercicio 29 - secao 07 - p1.py
cristinamais/exercicios_python
8a09b0b68ffaa62d13afb952998e890a79667c7e
[ "MIT" ]
null
null
null
Exercicios Colecoes Python/exercicio 29 - secao 07 - p1.py
cristinamais/exercicios_python
8a09b0b68ffaa62d13afb952998e890a79667c7e
[ "MIT" ]
null
null
null
""" Faca um programa que receba 6 numeros inteiros e mostre: - Os numeros pares digitados; -A soma dos numeros pares digitados; -Os numeros impares digitados; -A quantidade de numeros impares digitados; """ x = [] soma = 0 quant = 0 for z in range(6): x.append(int(input('Digite um numero: '))) print('Numeros pa...
20.727273
60
0.624269
106
684
4.028302
0.377358
0.112412
0.196721
0.070258
0.30445
0.30445
0
0
0
0
0
0.01711
0.230994
684
32
61
21.375
0.794677
0.290936
0
0
0
0
0.383966
0
0
0
0
0
0
1
0
false
0
0
0
0
0.352941
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
7c1747c34a37217165cb036e1c96972d1fa4419c
1,420
py
Python
jupiter/command/recurring_task_unsuspend.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
15
2019-05-05T14:34:58.000Z
2022-02-25T09:57:28.000Z
jupiter/command/recurring_task_unsuspend.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
3
2020-02-22T16:09:39.000Z
2021-12-18T21:33:06.000Z
jupiter/command/recurring_task_unsuspend.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
null
null
null
"""UseCase for unsuspending of a recurring task.""" import logging from argparse import Namespace, ArgumentParser from typing import Final import jupiter.command.command as command from jupiter.framework.base.entity_id import EntityId from jupiter.use_cases.recurring_tasks.suspend import RecurringTaskSuspendUseCase L...
34.634146
81
0.697887
162
1,420
5.975309
0.407407
0.061983
0.043388
0.03719
0
0
0
0
0
0
0
0
0.202113
1,420
40
82
35.5
0.854369
0.18169
0
0.086957
0
0
0.087034
0.021314
0
0
0
0
0
1
0.217391
false
0
0.26087
0
0.652174
0
0
0
0
null
0
0
0
0
0
0
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
7c1b2edaa9546f4018783011a935ea448025550b
3,037
py
Python
src/xml_processing/generate_chunk_files.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
null
null
null
src/xml_processing/generate_chunk_files.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
39
2021-10-18T17:02:49.000Z
2022-03-28T20:56:24.000Z
src/xml_processing/generate_chunk_files.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
1
2021-10-21T00:11:18.000Z
2021-10-21T00:11:18.000Z
# takes pmids_not_found from get_pubmed_xml.py, and pmids_by_mods from parse_dqm_json.py, and # generates a set sorted by MODs of pmids that were not found in pubmed. # # python generate_chunk_files.py from os import environ, path, makedirs import logging import logging.config import re from datetime import datetime...
32.655914
94
0.621995
415
3,037
4.178313
0.296386
0.036332
0.057093
0.067474
0.2203
0.211073
0.211073
0.197809
0.134948
0.134948
0
0.012762
0.277577
3,037
92
95
33.01087
0.777575
0.14916
0
0.107143
1
0
0.07194
0.008744
0
0
0
0
0
1
0.017857
false
0
0.107143
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
7c1d75964b2c44cafefc66e2912d90b95111818d
807
py
Python
blog/migrations/0004_blogcategory.py
Tobi-De/wgblog
13d4eb12ad337bfd882fdfe071d9ab34772902b3
[ "MIT" ]
null
null
null
blog/migrations/0004_blogcategory.py
Tobi-De/wgblog
13d4eb12ad337bfd882fdfe071d9ab34772902b3
[ "MIT" ]
null
null
null
blog/migrations/0004_blogcategory.py
Tobi-De/wgblog
13d4eb12ad337bfd882fdfe071d9ab34772902b3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.9 on 2020-08-18 10:02 from django.db import migrations, models import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('blog', '0003_blogauthororderable'), ] operations = [ migrations.CreateModel( name='BlogCatego...
29.888889
120
0.577447
78
807
5.846154
0.666667
0.070175
0.078947
0.105263
0
0
0
0
0
0
0
0.038462
0.291202
807
26
121
31.038462
0.758741
0.055762
0
0
1
0
0.134211
0.031579
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
7c1f00ea4c9bd204b9e5c80f31a03568482b88c2
2,427
py
Python
metrics/structured/templates.py
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
metrics/structured/templates.py
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
metrics/structured/templates.py
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Templates for generating event classes for structured metrics.""" HEADER_FILE_TEMPLATE = """\ // Generated from gen_events.py...
21.477876
94
0.71405
282
2,427
5.98227
0.336879
0.058684
0.06639
0.042679
0.371666
0.346177
0.346177
0.285714
0.213397
0.163604
0
0.009018
0.13185
2,427
112
95
21.669643
0.791647
0.100536
0
0.457143
0
0.014286
0.877645
0.24103
0
0
0
0
0
1
0
false
0
0
0
0.014286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c1fba06ba3d670e5c30d11eab76ce0e79c12bc4
1,622
py
Python
app.py
katevnuk/sqlalchemy-challenge
b7e1c9c812c0762681dc3e259e73d2085d1f626e
[ "ADSL" ]
null
null
null
app.py
katevnuk/sqlalchemy-challenge
b7e1c9c812c0762681dc3e259e73d2085d1f626e
[ "ADSL" ]
null
null
null
app.py
katevnuk/sqlalchemy-challenge
b7e1c9c812c0762681dc3e259e73d2085d1f626e
[ "ADSL" ]
null
null
null
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "from matplotlib import style\n", "style.use('fivethirtyeight')\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "code", "execution_count":...
18.860465
67
0.536991
161
1,622
5.273292
0.434783
0.056537
0.084806
0.14841
0.183746
0
0
0
0
0
0
0.011457
0.246609
1,622
85
68
19.082353
0.683306
0
0
0.270588
0
0
0.550555
0.032059
0
0
0
0
0
1
0
true
0
0.105882
0
0.105882
0
0
0
0
null
0
0
0
0
0
0
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
7c299cc73bd44fbe1c2b02e7566b3e460c901722
909
py
Python
automatization_of_data_mining_project/predictions_error_calculator/classes/calculator_validator/calculator_validator_impl.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
automatization_of_data_mining_project/predictions_error_calculator/classes/calculator_validator/calculator_validator_impl.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
automatization_of_data_mining_project/predictions_error_calculator/classes/calculator_validator/calculator_validator_impl.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
from predictions_error_calculator.classes.calculator_validator.calculator_validator import CalculatorValidator from predictions_error_calculator.exceptions.predictions_error_calculator_exceptions import WrongInputFormatError, \ NonIterableObjectError class CalculatorValidatorImpl(CalculatorValidator): def val...
45.45
116
0.793179
96
909
7.177083
0.3125
0.121916
0.152395
0.195936
0.211901
0.206096
0.110305
0
0
0
0
0
0.160616
909
19
117
47.842105
0.903014
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c2d8c6960b5494deb6c71e34b7d6c506f3195e3
2,136
py
Python
Perforce/Callbacks.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
13
2017-03-31T21:52:19.000Z
2021-09-06T23:15:30.000Z
Perforce/Callbacks.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-08T02:27:43.000Z
2017-05-10T03:20:11.000Z
Perforce/Callbacks.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-05T14:03:03.000Z
2020-05-25T10:25:04.000Z
import maya.OpenMaya as api import maya.cmds as cmds import os import Utils contactrootenv = "CONTACTROOT" referenceCallback = None saveCallback = None def validateSubmit(): print "Validating submission" return 0 def cleanupCallbacks(): if referenceCallback: api.MCommandMessage.removeCallback(re...
28.48
109
0.70927
196
2,136
7.729592
0.387755
0.042244
0.042244
0.027723
0.044884
0
0
0
0
0
0
0.004084
0.197566
2,136
74
110
28.864865
0.879813
0.06133
0
0.038462
0
0
0.078961
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7c31bb102df213e36d9e1002517e1ce925eda9b1
828
py
Python
leet/singleNonDuplicate.py
nishantml/Data-Structure-And-Algorithms
1f75bdbddb5fa4bccba762515460c73280cde65d
[ "MIT" ]
null
null
null
leet/singleNonDuplicate.py
nishantml/Data-Structure-And-Algorithms
1f75bdbddb5fa4bccba762515460c73280cde65d
[ "MIT" ]
null
null
null
leet/singleNonDuplicate.py
nishantml/Data-Structure-And-Algorithms
1f75bdbddb5fa4bccba762515460c73280cde65d
[ "MIT" ]
1
2020-08-25T19:05:19.000Z
2020-08-25T19:05:19.000Z
""" 540. Single Element in a Sorted Array You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once. Find this single element that appears only once. Follow up: Your solution should run in O(log n) time and O(1) space. Exam...
21.230769
199
0.618357
140
828
3.657143
0.5
0.058594
0.046875
0.039063
0.042969
0
0
0
0
0
0
0.071545
0.257246
828
38
200
21.789474
0.760976
0.61715
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7c33ed75ae510cd11beec16f7479f7d0cd22e0be
9,110
py
Python
pcfg.py
nitin7/WordBreak
009d33e2ade773b84ce3870d7159c5c89aee7ded
[ "Apache-2.0" ]
null
null
null
pcfg.py
nitin7/WordBreak
009d33e2ade773b84ce3870d7159c5c89aee7ded
[ "Apache-2.0" ]
null
null
null
pcfg.py
nitin7/WordBreak
009d33e2ade773b84ce3870d7159c5c89aee7ded
[ "Apache-2.0" ]
null
null
null
from PyDictionary import PyDictionary dictionary = PyDictionary() #Given a word return set of all possible POS tags from lexicon def word_to_pos_lexicon(word): #If found in lexicon return its POS tag f = open('lexicon', 'r') possible_pos = set() for line in f: l = line.split() if word =...
44.009662
109
0.538529
1,096
9,110
4.374088
0.226277
0.046725
0.037547
0.021277
0.273467
0.220275
0.198373
0.166875
0.121402
0.121402
0
0.039111
0.382547
9,110
206
110
44.223301
0.813156
0.318332
0
0.241935
0
0
0.0607
0
0
0
0
0.004854
0
0
null
null
0
0.008065
null
null
0.185484
0
0
0
null
0
0
0
0
0
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
7c345554ff206199780dc0632ba9ed320c242c8e
3,405
py
Python
main.py
xhypetheoriginal/project_1
3ca7bbc66f27c4a868fb511abc470818b93ab742
[ "Apache-2.0" ]
null
null
null
main.py
xhypetheoriginal/project_1
3ca7bbc66f27c4a868fb511abc470818b93ab742
[ "Apache-2.0" ]
null
null
null
main.py
xhypetheoriginal/project_1
3ca7bbc66f27c4a868fb511abc470818b93ab742
[ "Apache-2.0" ]
null
null
null
import webbrowser def greet(bot_name, birth_year): print('Hello! My name is ' + bot_name + '.') print('I was created in ' + birth_year + ' by ofek szmulevitz.') def remind_name(): print('Please, remind me your name.') name = input() print('What a great name you have, ' + name + '!') def guess_...
25.601504
104
0.528341
482
3,405
3.715768
0.259336
0.067002
0.030151
0.050251
0.44947
0.439419
0.439419
0.439419
0.439419
0.439419
0
0.013385
0.319824
3,405
132
105
25.795455
0.759931
0
0
0.284404
0
0.009174
0.389721
0
0
0
0
0
0
1
0.082569
false
0
0.009174
0
0.091743
0.40367
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7c368417214a3f333aaedb02126eb10ac8905017
1,391
py
Python
apogee/factors/discrete/operations/arithmetic.py
markdouthwaite/apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
4
2019-01-02T06:08:28.000Z
2019-11-11T08:58:01.000Z
apogee/factors/discrete/operations/arithmetic.py
markdouthwaite/Apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
3
2019-10-17T11:56:53.000Z
2020-05-17T16:04:45.000Z
apogee/factors/discrete/operations/arithmetic.py
markdouthwaite/apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
null
null
null
""" The MIT License Copyright (c) 2017-2020 Mark Douthwaite """ import warnings from typing import Tuple, Callable import numpy as np import apogee.core as ap try: from .fast import factor_arithmetic except ImportError as e: warnings.warn("Failed to load accelerated arithmetic operations. Using defaults."...
27.27451
86
0.61179
208
1,391
3.985577
0.384615
0.119421
0.106152
0.173703
0.209891
0.209891
0.137515
0.098914
0.098914
0
0
0.024248
0.258807
1,391
50
87
27.82
0.779825
0.093458
0
0
0
0
0.051958
0
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.258065
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
7c4418d881f40c608ded8f897fa6060c156defcb
17,578
py
Python
babel_python/test/testgeneral_redis.py
threathunterX/python_lib
e2d4052de04c82cb7bccd08042f28db824cab442
[ "Apache-2.0" ]
2
2019-03-17T04:03:08.000Z
2019-05-01T09:42:23.000Z
babel_python/test/testgeneral_redis.py
threathunterX/python_lib
e2d4052de04c82cb7bccd08042f28db824cab442
[ "Apache-2.0" ]
null
null
null
babel_python/test/testgeneral_redis.py
threathunterX/python_lib
e2d4052de04c82cb7bccd08042f28db824cab442
[ "Apache-2.0" ]
4
2019-06-24T05:47:24.000Z
2020-09-29T05:00:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from threathunter_common.redis.redisctx import RedisCtx import pytest from babel_python.serviceclient import ServiceClient from babel_python.servicemeta import ServiceMeta from babel_python.serviceserver import ServiceServer from babel_python.unsafeserviceclient import Unsa...
44.388889
144
0.599556
1,828
17,578
5.580963
0.100109
0.078318
0.074103
0.093315
0.759557
0.675456
0.633405
0.579396
0.560576
0.550382
0
0.021852
0.289282
17,578
396
145
44.388889
0.794765
0.077199
0
0.493333
0
0
0.184105
0.056795
0
0
0
0
0.096667
0
null
null
0
0.026667
null
null
0.046667
0
0
0
null
0
0
0
0
0
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
7c4a09161e68ab763a512145d2c2b06e6024d5f9
663
py
Python
test/test_vizio.py
tetradsensors/tetrad-viz-toolkit
908bed14e676143c4a0b1812d90aed6501479653
[ "MIT" ]
null
null
null
test/test_vizio.py
tetradsensors/tetrad-viz-toolkit
908bed14e676143c4a0b1812d90aed6501479653
[ "MIT" ]
null
null
null
test/test_vizio.py
tetradsensors/tetrad-viz-toolkit
908bed14e676143c4a0b1812d90aed6501479653
[ "MIT" ]
null
null
null
from storage import read_region_snapshot, _round_15min import datetime from dateutil.parser import parse def test_read_region_snapshot(): read_region_snapshot('slc_ut', '2021-09-01T00:00:00Z') def test__round_15min(): ts = parse('2021-01-31T23:59:01Z') ret = _round_15min(ts) assert ret == parse('202...
21.387097
58
0.693816
99
663
4.282828
0.40404
0.141509
0.169811
0.113208
0.254717
0.169811
0.169811
0.169811
0.169811
0
0
0.149635
0.173454
663
30
59
22.1
0.624088
0.07089
0
0.117647
0
0
0.27451
0
0
0
0
0
0.117647
1
0.176471
false
0.117647
0.176471
0
0.352941
0.117647
0
0
0
null
0
0
0
0
0
0
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
7c4a9b45a6cb81f1912d35a9d83be2d29ebdf83d
444
py
Python
qtl/core.py
broadinstitute/pyqtl
98cdc6eb67b58937e4a19cc30e822a816fce6c25
[ "BSD-3-Clause" ]
13
2019-10-03T14:55:18.000Z
2021-12-15T03:22:59.000Z
qtl/core.py
broadinstitute/pyqtl
98cdc6eb67b58937e4a19cc30e822a816fce6c25
[ "BSD-3-Clause" ]
2
2021-03-23T08:05:07.000Z
2021-06-02T22:12:11.000Z
qtl/core.py
broadinstitute/pyqtl
98cdc6eb67b58937e4a19cc30e822a816fce6c25
[ "BSD-3-Clause" ]
1
2021-04-24T16:27:41.000Z
2021-04-24T16:27:41.000Z
import subprocess import os def check_dependency(name): """""" e = subprocess.call('which '+name, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) if e!=0: raise RuntimeError('External dependency \''+name+'\' not installed') def refresh_gcs_token(): """""" t = subprocess...
27.75
104
0.693694
55
444
5.490909
0.654545
0.092715
0
0
0
0
0
0
0
0
0
0.002674
0.157658
444
15
105
29.6
0.804813
0
0
0
0
0
0.259259
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
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
7c4d963b26f5e8aff4c2bf8e08c3f39953453743
10,999
py
Python
control/webapp/member.py
CHTJonas/control-panel
65c2f3577b48f003058196596ef117fe1b986bce
[ "MIT" ]
null
null
null
control/webapp/member.py
CHTJonas/control-panel
65c2f3577b48f003058196596ef117fe1b986bce
[ "MIT" ]
null
null
null
control/webapp/member.py
CHTJonas/control-panel
65c2f3577b48f003058196596ef117fe1b986bce
[ "MIT" ]
null
null
null
from urllib.parse import urlparse from flask import Blueprint, render_template, request, redirect, url_for from werkzeug.exceptions import NotFound, Forbidden from .utils import srcf_db_sess as sess from .utils import parse_domain_name, create_job_maybe_email_and_redirect, find_member from . import utils, inspect_ser...
39.996364
135
0.630148
1,282
10,999
5.25975
0.164587
0.034703
0.035592
0.045084
0.55109
0.479312
0.421029
0.357853
0.32404
0.250779
0
0.000597
0.23884
10,999
274
136
40.142336
0.804826
0.001727
0
0.391111
0
0.004444
0.182365
0.059938
0
0
0
0
0
1
0.053333
false
0.071111
0.048889
0
0.226667
0.008889
0
0
0
null
0
0
0
0
0
0
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
7c4e7972067ca78d2da8a33e67339a53448db04b
9,975
py
Python
jina/executors/indexers/__init__.py
sdsd0101/jina
1a835d9015c627a2cbcdc58ee3d127962ada1bc9
[ "Apache-2.0" ]
null
null
null
jina/executors/indexers/__init__.py
sdsd0101/jina
1a835d9015c627a2cbcdc58ee3d127962ada1bc9
[ "Apache-2.0" ]
null
null
null
jina/executors/indexers/__init__.py
sdsd0101/jina
1a835d9015c627a2cbcdc58ee3d127962ada1bc9
[ "Apache-2.0" ]
null
null
null
__copyright__ = "Copyright (c) 2020 Jina AI Limited. All rights reserved." __license__ = "Apache-2.0" import os from typing import Tuple, Union, List, Iterator, Optional, Any import numpy as np from .. import BaseExecutor from ..compound import CompoundExecutor from ...helper import call_obj_fn, cached_property, get...
34.756098
119
0.597494
1,192
9,975
4.901846
0.25755
0.041075
0.032346
0.016259
0.290262
0.237378
0.211706
0.193565
0.170632
0.170632
0
0.002178
0.309474
9,975
286
120
34.877622
0.846109
0.532231
0
0.287356
0
0
0.142893
0.009777
0
0
0
0
0
1
0.241379
false
0
0.068966
0.011494
0.436782
0
0
0
0
null
0
0
0
0
0
0
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
7c4f31bdf19d737093ba25f630120c97fc8587df
319
py
Python
home/migrations/0007_auto_20190415_1658.py
pnoll1/patricknoll.com
d2e25b6a8d4f362db4ee837d38eeff7066b600e6
[ "CC0-1.0" ]
null
null
null
home/migrations/0007_auto_20190415_1658.py
pnoll1/patricknoll.com
d2e25b6a8d4f362db4ee837d38eeff7066b600e6
[ "CC0-1.0" ]
9
2019-06-03T02:06:31.000Z
2020-03-24T12:32:04.000Z
home/migrations/0007_auto_20190415_1658.py
pnoll1/patricknoll.com
d2e25b6a8d4f362db4ee837d38eeff7066b600e6
[ "CC0-1.0" ]
null
null
null
# Generated by Django 2.2 on 2019-04-15 23:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('home', '0006_auto_20190415_1639'), ] operations = [ migrations.AlterModelTable( name='post', table='posts', ), ]
17.722222
45
0.583072
33
319
5.545455
0.848485
0
0
0
0
0
0
0
0
0
0
0.135135
0.304075
319
17
46
18.764706
0.689189
0.134796
0
0
1
0
0.131387
0.083942
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c50bbbd220d5f947077b64b6d8897519ae7d3fc
2,589
py
Python
item/migrations/0001_initial.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
11
2021-09-17T07:44:05.000Z
2022-02-06T08:33:30.000Z
item/migrations/0001_initial.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
1
2021-10-09T07:37:14.000Z
2021-10-09T07:37:14.000Z
item/migrations/0001_initial.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
3
2021-09-27T14:12:13.000Z
2021-10-18T12:21:37.000Z
# Generated by Django 3.2 on 2021-08-28 20:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('service', '0001_initial'), ] operations = [ migrations.CreateModel( name='Ite...
48.849057
170
0.600232
262
2,589
5.744275
0.30916
0.146179
0.069767
0.058472
0.418605
0.418605
0.418605
0.418605
0.418605
0.386711
0
0.010886
0.254925
2,589
52
171
49.788462
0.769311
0.016609
0
0.355556
1
0
0.178066
0.009041
0
0
0
0
0
1
0
false
0
0.044444
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c50d615e747012d85d31dd08e9ae38292ad46fd
13,671
py
Python
externals/binaryen/scripts/test/shared.py
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
externals/binaryen/scripts/test/shared.py
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
externals/binaryen/scripts/test/shared.py
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
import argparse import difflib import os import shutil import subprocess import sys import urllib2 usage_str = ("usage: 'python check.py [options]'\n\n" "Runs the Binaryen test suite.") parser = argparse.ArgumentParser(description=usage_str) parser.add_argument( '--torture', dest='tortur...
33.425428
80
0.659937
1,837
13,671
4.772455
0.203048
0.028744
0.025094
0.032965
0.326337
0.273184
0.201095
0.150907
0.101175
0.075739
0
0.002847
0.203643
13,671
408
81
33.507353
0.802425
0.043303
0
0.236923
0
0
0.274006
0.013119
0
0
0
0
0.012308
0
null
null
0.015385
0.024615
null
null
0.052308
0
0
0
null
0
0
0
0
0
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
7c52c3e1ee5cf015934f2c3dacd641b7bb26c108
3,505
py
Python
MainMenu.py
adamwlos/Hoppers
a0f2c32ee6cab7e5e09771037cbf963ad989dcb3
[ "MIT" ]
null
null
null
MainMenu.py
adamwlos/Hoppers
a0f2c32ee6cab7e5e09771037cbf963ad989dcb3
[ "MIT" ]
null
null
null
MainMenu.py
adamwlos/Hoppers
a0f2c32ee6cab7e5e09771037cbf963ad989dcb3
[ "MIT" ]
1
2019-12-20T07:29:48.000Z
2019-12-20T07:29:48.000Z
import pygame class MainMenu: """ THe MainMenu class generates a menu before the user can play the game. This menu contains buttons that allow the user to select the game mode they want to play on. They can either choose to play versus a human or computer player. """ WINDOW = (50...
39.829545
79
0.57689
461
3,505
4.32538
0.288503
0.065196
0.060682
0.036108
0.325476
0.325476
0.254263
0.194082
0.194082
0.194082
0
0.045151
0.317546
3,505
87
80
40.287356
0.788462
0.254779
0
0.156863
1
0
0.036565
0
0
0
0
0
0
1
0.117647
false
0
0.019608
0
0.313725
0
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
7c55b8eaf877fb257fd8775f5389713b144fc982
689
py
Python
NaiveBayes/sklearn_nb.py
DragonYong/Sep-Dragon
674df34a992b449669116c5322596ffc19a21030
[ "MIT" ]
null
null
null
NaiveBayes/sklearn_nb.py
DragonYong/Sep-Dragon
674df34a992b449669116c5322596ffc19a21030
[ "MIT" ]
1
2020-09-10T04:05:06.000Z
2020-09-10T04:05:06.000Z
NaiveBayes/sklearn_nb.py
DragonYong/Sep-Dragon
674df34a992b449669116c5322596ffc19a21030
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2020/9/10-07:22 # @Author : TuringEmmy # @Email : yonglonggeng@163.com # @WeChat : csy_lgy # @File : sklearn_nb.py # @Project : Sep-Dragon # ************************************************* from sklearn.datasets import load_iris from sklearn.model_selection import trai...
36.263158
88
0.651669
107
689
3.962617
0.579439
0.07783
0.066038
0
0
0
0
0
0
0
0
0.032423
0.149492
689
18
89
38.277778
0.691126
0.325109
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
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
7c5c6c0d82bb17e542f91a3f027536266a4361c6
1,873
py
Python
queue_services/entity-filer/tests/unit/filing_processors/test_registrars_order.py
rarmitag/lear
7f45dbbf47f5e2fe1e64380791fbd80a9daa80a8
[ "Apache-2.0" ]
1
2020-03-23T21:42:35.000Z
2020-03-23T21:42:35.000Z
queue_services/entity-filer/tests/unit/filing_processors/test_registrars_order.py
rarmitag/lear
7f45dbbf47f5e2fe1e64380791fbd80a9daa80a8
[ "Apache-2.0" ]
null
null
null
queue_services/entity-filer/tests/unit/filing_processors/test_registrars_order.py
rarmitag/lear
7f45dbbf47f5e2fe1e64380791fbd80a9daa80a8
[ "Apache-2.0" ]
null
null
null
# Copyright © 2021 Province of British Columbia # # 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...
40.717391
107
0.764549
252
1,873
5.52381
0.5
0.043103
0.045259
0.071121
0
0
0
0
0
0
0
0.011194
0.141484
1,873
45
108
41.622222
0.853856
0.339028
0
0
0
0
0.124558
0
0
0
0.003534
0
0.157895
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c5cea648fbdd8518690fc9c83269be218b67c7d
715
py
Python
sanic_jwt/__init__.py
Gdeon1337/sanic-jwt
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
[ "MIT" ]
1
2019-09-03T11:07:01.000Z
2019-09-03T11:07:01.000Z
sanic_jwt/__init__.py
Gdeon1337/sanic-jwt
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
[ "MIT" ]
null
null
null
sanic_jwt/__init__.py
Gdeon1337/sanic-jwt
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
[ "MIT" ]
null
null
null
__version__ = "1.2.1" __author__ = "Adam Hopkins" __credits__ = "Richard Kuesters" import logging from .authentication import Authentication from .claim import Claim from .configuration import Configuration from .decorators import inject_user from .decorators import protected from .decorators import scoped from .endp...
21.666667
61
0.753846
71
715
7.28169
0.422535
0.081238
0.116054
0.131528
0.139265
0
0
0
0
0
0
0.004983
0.158042
715
32
62
22.34375
0.853821
0
0
0
0
0
0.184615
0
0
0
0
0
0
1
0
false
0
0.407407
0
0.407407
0
0
0
0
null
0
0
0
0
0
0
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
7c5f0144887fff63acf0e9e4a042e4a911ae7530
17,186
py
Python
datadrivenpdes/turing/equations.py
lucianodrozda/data-driven-pdes-google
199c714f410af998f07315ac62c9a0a933de1113
[ "Apache-2.0" ]
4
2021-11-15T13:08:49.000Z
2022-03-11T15:11:51.000Z
datadrivenpdes/turing/equations.py
luciano-drozda/data-driven-pdes-google
199c714f410af998f07315ac62c9a0a933de1113
[ "Apache-2.0" ]
null
null
null
datadrivenpdes/turing/equations.py
luciano-drozda/data-driven-pdes-google
199c714f410af998f07315ac62c9a0a933de1113
[ "Apache-2.0" ]
null
null
null
"""Reaction-diffusion (aka Turing) equations.""" import enum import functools import operator from typing import Any, Dict, Tuple, Union import numpy as np from scipy.ndimage import gaussian_filter import xarray as xr from matplotlib import pyplot as plt from datadrivenpdes.core import equations from datadrivenpdes.co...
41.412048
83
0.319097
1,275
17,186
4.086275
0.191373
0.005758
0.037428
0.029175
0.414395
0.383493
0.36142
0.332822
0.332822
0.326296
0
0.006097
0.12196
17,186
414
84
41.512077
0.339165
0.541138
0
0.362832
0
0
0.023916
0
0
0
0
0
0
1
0.132743
false
0
0.061947
0.084071
0.340708
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c5f09ea25ec589251e8355f051f72d43aeabcd5
2,551
py
Python
voka/two_sample.py
IceCubeOpenSource/voka
e2143ab3c1b4c18b9a760436769cf19994490a7e
[ "MIT" ]
null
null
null
voka/two_sample.py
IceCubeOpenSource/voka
e2143ab3c1b4c18b9a760436769cf19994490a7e
[ "MIT" ]
null
null
null
voka/two_sample.py
IceCubeOpenSource/voka
e2143ab3c1b4c18b9a760436769cf19994490a7e
[ "MIT" ]
1
2020-02-20T16:23:20.000Z
2020-02-20T16:23:20.000Z
import numpy import scipy.stats def traditional(sample1, sample2): # hiccup #1 (AD) ValueError: anderson_ksamp needs more than one distinct observation # hiccup #2 (ES) numpy.linalg.LinAlgError: SVD did not converge # hiccup #3 (TT) Ttest_indResult(statistic=nan, pvalue=nan) # hiccup #4 (MW) ValueErr...
28.032967
111
0.566445
254
2,551
5.653543
0.338583
0.069638
0.068942
0.156685
0.326602
0.288997
0.244429
0.191504
0.191504
0.191504
0
0.017331
0.321443
2,551
90
112
28.344444
0.812247
0.24461
0
0.476923
0
0
0.123166
0
0
0
0
0
0
1
0.015385
false
0.076923
0.030769
0
0.061538
0
0
0
0
null
0
0
0
0
0
0
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
7c64e58b332f915e78850afb63d2cfca9bde2be0
24,120
py
Python
arep/Validators/action.py
aalireza/arep
95f0ec6282c4f5d12462d2a64e82d6777f51bf06
[ "BSD-3-Clause" ]
1
2022-01-14T00:15:26.000Z
2022-01-14T00:15:26.000Z
arep/Validators/action.py
aalireza/arep
95f0ec6282c4f5d12462d2a64e82d6777f51bf06
[ "BSD-3-Clause" ]
null
null
null
arep/Validators/action.py
aalireza/arep
95f0ec6282c4f5d12462d2a64e82d6777f51bf06
[ "BSD-3-Clause" ]
null
null
null
from arep.utils import (comparison_evaluator, ast_operation_symbols) from arep.Validators.forms import ValidationForm, ValidatorForm from arep.Validators.kind import Classes import ast """ The validations for Grepping of all Action constraint types are in this file. - Every constraint type is an object with the creat...
31.778656
79
0.544196
2,393
24,120
5.319265
0.101546
0.047136
0.030167
0.037709
0.602797
0.53382
0.46233
0.43397
0.400896
0.282112
0
0.000995
0.375207
24,120
758
80
31.82058
0.843663
0.008955
0
0.451342
0
0
0.003191
0
0
0
0
0
0.006711
1
0.162752
false
0.003356
0.018456
0.110738
0.47651
0
0
0
0
null
0
0
0
0
0
0
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
7c66268eb78ad69fe3787bc1777675e36d8da87b
4,402
py
Python
WebBrickLibs/coherence/upnp/devices/media_server_client.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
WebBrickLibs/coherence/upnp/devices/media_server_client.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
WebBrickLibs/coherence/upnp/devices/media_server_client.py
AndyThirtover/wb_gateway
69f9c870369085f4440033201e2fb263a463a523
[ "BSD-3-Clause" ]
null
null
null
# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php # Copyright 2006, Frank Scholz <coherence@beebits.net> from coherence.upnp.services.clients import get_service_client from coherence import log import coherence.extern.louie as louie class MediaServerClient(log.Loggable): logCa...
43.584158
128
0.636075
484
4,402
5.64876
0.272727
0.032187
0.058522
0.049744
0.305413
0.229334
0.147403
0.147403
0.147403
0.147403
0
0.004645
0.26647
4,402
100
129
44.02
0.842056
0.101999
0
0.081081
0
0
0.220779
0.092946
0
0
0
0
0
0
null
null
0
0.040541
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
7c67569d9b7168c3b34fcf384d46bf4e0f39e3d8
25,602
py
Python
datatable.py
ertugguney/il-istatistikleri
32fd73c5b931fde440b99aa749149f7b1e9e380e
[ "MIT" ]
null
null
null
datatable.py
ertugguney/il-istatistikleri
32fd73c5b931fde440b99aa749149f7b1e9e380e
[ "MIT" ]
null
null
null
datatable.py
ertugguney/il-istatistikleri
32fd73c5b931fde440b99aa749149f7b1e9e380e
[ "MIT" ]
null
null
null
import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import dash_bootstrap_components as dbc import pandas as pd import numpy as np import plotly.graph_objects as go from sklearn.linear_model import LinearRegression from sklearn.preprocessing import Polynomial...
68.090426
6,051
0.638427
3,169
25,602
5.110445
0.221837
0.019265
0.023711
0.025563
0.45761
0.373819
0.30565
0.179747
0.136524
0.102933
0
0.018084
0.224592
25,602
376
6,052
68.090426
0.797149
0.001719
0
0.29097
0
0.020067
0.552804
0.015221
0
0
0
0
0
1
0.026756
false
0
0.040134
0.020067
0.09699
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c6d2987d4cc331fa399aa61084124256e8e8cf9
3,829
py
Python
modules/webalizer.py
terminalmage/salt-contrib
cc13cb4a9d7798870e779bca7cb0d7ceaa1abf6d
[ "Apache-2.0" ]
null
null
null
modules/webalizer.py
terminalmage/salt-contrib
cc13cb4a9d7798870e779bca7cb0d7ceaa1abf6d
[ "Apache-2.0" ]
null
null
null
modules/webalizer.py
terminalmage/salt-contrib
cc13cb4a9d7798870e779bca7cb0d7ceaa1abf6d
[ "Apache-2.0" ]
null
null
null
''' A module for managing webalizer web statistics :maintainer: Brent Lambert <brent@enpraxis.net> :maturity: new :platform: RedHat, Debian Families :depends: webalizer cron Assumes that the appropriate web server configuration and access controls have already been configured. Will generate a script for updating we...
25.026144
84
0.61217
460
3,829
4.984783
0.380435
0.0314
0.041867
0.026167
0.1413
0.089839
0.037505
0.037505
0
0
0
0.00367
0.288326
3,829
152
85
25.190789
0.837798
0.054845
0
0.098361
0
0
0.138393
0.049554
0
0
0
0
0
0
null
null
0
0.04918
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
7c6f32e093a81e27c13b798dbf542db134e56e87
2,692
py
Python
popper/generate.py
AbhijeetKrishnan/Popper
046da7cd63a764f59ee7ed4e75cabeabc6012256
[ "MIT" ]
66
2021-04-21T09:09:36.000Z
2022-03-24T17:06:50.000Z
popper/generate.py
AbhijeetKrishnan/Popper
046da7cd63a764f59ee7ed4e75cabeabc6012256
[ "MIT" ]
27
2021-04-22T06:57:25.000Z
2022-03-07T16:28:11.000Z
popper/generate.py
AbhijeetKrishnan/Popper
046da7cd63a764f59ee7ed4e75cabeabc6012256
[ "MIT" ]
17
2021-05-04T23:57:09.000Z
2022-03-27T18:27:36.000Z
from . core import Literal from collections import defaultdict def gen_args(args): return tuple(chr(ord('A') + arg.number) for arg in args) def generate_program(model): before = defaultdict(set) min_clause = defaultdict(lambda: 0) directions = defaultdict(lambda: defaultdict(lambda: '?')) clau...
38.457143
83
0.616642
336
2,692
4.699405
0.193452
0.131729
0.044332
0.035465
0.349588
0.281824
0.240025
0.149462
0.110196
0.110196
0
0.010797
0.277489
2,692
70
84
38.457143
0.801028
0
0
0.137931
1
0
0.039361
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0.017241
0.103448
0
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
7c77191f1266740a7f995e5660aebb2fd434686b
736
py
Python
setup.py
UQ-RCC/pitschi-xapi
b889bd2970fadf582ab41ecb9e711809a38ae8bf
[ "Apache-2.0" ]
null
null
null
setup.py
UQ-RCC/pitschi-xapi
b889bd2970fadf582ab41ecb9e711809a38ae8bf
[ "Apache-2.0" ]
null
null
null
setup.py
UQ-RCC/pitschi-xapi
b889bd2970fadf582ab41ecb9e711809a38ae8bf
[ "Apache-2.0" ]
null
null
null
import os from setuptools import setup, find_packages setup( name='pitschixapi', version='0.1', description='External api for pitschi', author='Hoang Anh Nguyen', author_email='uqhngu36@uq.edu.au', url='https://github.com/UQ-RCC/pitschi-xapi', packages=find_packages(exclude=["test*"]), ...
26.285714
49
0.540761
90
736
4.344444
0.688889
0.061381
0
0
0
0
0
0
0
0
0
0.062147
0.278533
736
27
50
27.259259
0.6742
0.063859
0
0
0
0
0.39562
0.09927
0
0
0
0
0
1
0
true
0
0.086957
0
0.086957
0
0
0
0
null
0
0
0
0
0
0
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
7c7b721eb2499d5ae8b05e58fcad4e98a4b50e6a
1,012
py
Python
tests/test_menu.py
fkooman/python-eduvpn
f6f2384bd544c2e45c2b930783a28d87475b56f0
[ "Apache-2.0" ]
null
null
null
tests/test_menu.py
fkooman/python-eduvpn
f6f2384bd544c2e45c2b930783a28d87475b56f0
[ "Apache-2.0" ]
null
null
null
tests/test_menu.py
fkooman/python-eduvpn
f6f2384bd544c2e45c2b930783a28d87475b56f0
[ "Apache-2.0" ]
null
null
null
from eduvpn.menu import menu, input_int, profile_choice, search, provider_choice, write_to_nm_choice from unittest import TestCase, mock class TestMenu(TestCase): def test_menu(self): menu(institutes=[], orgs=[], search_term="test") def test_input_int(self): with mock.patch('builtins.input', ...
33.733333
100
0.652174
125
1,012
4.992
0.328
0.067308
0.043269
0.072115
0.282051
0.282051
0.230769
0.11859
0
0
0
0.005038
0.215415
1,012
29
101
34.896552
0.780856
0
0
0.090909
0
0
0.096838
0
0
0
0
0
0.045455
1
0.272727
false
0
0.090909
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7c7ba862d9d7e0cf2456ce12cf7ddb869e86ce5c
525
py
Python
hth/music/migrations/0013_video_priority.py
roperi/myband
ec1955626fe6997484fd92ed02127b6899cd7062
[ "MIT" ]
1
2016-04-12T17:38:26.000Z
2016-04-12T17:38:26.000Z
hth/music/migrations/0013_video_priority.py
bhrutledge/jahhills.com
74fe94a214f1ed5681bd45159315f0b68daf5a33
[ "MIT" ]
92
2015-04-03T10:04:55.000Z
2021-07-17T11:13:52.000Z
hth/music/migrations/0013_video_priority.py
roperi/myband
ec1955626fe6997484fd92ed02127b6899cd7062
[ "MIT" ]
1
2021-01-26T18:02:49.000Z
2021-01-26T18:02:49.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.27 on 2020-01-25 11:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('music', '0012_auto_20160704_1559'), ] operations = [ migrations.AddField( ...
25
126
0.64
60
525
5.433333
0.816667
0.02454
0
0
0
0
0
0
0
0
0
0.085427
0.241905
525
20
127
26.25
0.733668
0.131429
0
0
1
0
0.18543
0.050773
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
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
7c7deb89077dd89254489dcd3faa547984a27add
624
py
Python
caas_ext/flows/purchase_flow.py
othercodes/connect-eaas-cat-as-a-service
d8bc5ac58656a5973e59f846c3311b6c409e10af
[ "Apache-2.0" ]
1
2022-02-16T10:13:26.000Z
2022-02-16T10:13:26.000Z
caas_ext/flows/purchase_flow.py
othercodes/connect-eaas-cat-as-a-service
d8bc5ac58656a5973e59f846c3311b6c409e10af
[ "Apache-2.0" ]
null
null
null
caas_ext/flows/purchase_flow.py
othercodes/connect-eaas-cat-as-a-service
d8bc5ac58656a5973e59f846c3311b6c409e10af
[ "Apache-2.0" ]
null
null
null
from connect.eaas.extension import ProcessingResponse from connect.toolkit.requests import RequestBuilder from caas_ext.connect.sources import ConnectOrderSource from caas_ext.flows import Flow from cats_as_a_service.orders.domain.services import order_builder class PurchaseFlow(Flow): def process(self, request:...
32.842105
79
0.775641
71
624
6.71831
0.605634
0.046122
0.046122
0
0
0
0
0
0
0
0
0
0.153846
624
18
80
34.666667
0.903409
0.078526
0
0
0
0
0.08726
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.727273
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
1
0
0
0
0
1
7c80a7e728830f4cb80b7a977c0a8bbe0778e6ed
699
py
Python
geoq/agents/urls.py
kaydoh/geoq
6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0
[ "MIT" ]
471
2015-01-05T15:16:26.000Z
2022-03-28T05:06:11.000Z
geoq/agents/urls.py
kaydoh/geoq
6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0
[ "MIT" ]
109
2015-01-06T20:00:58.000Z
2022-03-11T23:17:53.000Z
geoq/agents/urls.py
kaydoh/geoq
6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0
[ "MIT" ]
100
2015-01-05T15:16:39.000Z
2021-12-01T12:13:13.000Z
# -*- coding: utf-8 -*- # This technical data was produced for the U. S. Government under Contract No. W15P7T-13-C-F600, and # is subject to the Rights in Technical Data-Noncommercial Items clause at DFARS 252.227-7013 (FEB 2012) from django.contrib.auth.decorators import login_required from django.conf.urls import ur...
36.789474
104
0.731044
95
699
5.336842
0.694737
0.023669
0.063116
0
0
0
0
0
0
0
0
0.038206
0.13877
699
18
105
38.833333
0.803987
0.319027
0
0
0
0
0.17161
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
7c81afd20a969d8c86891d8d49146328f88d9fb4
1,835
py
Python
src/locality/settings.py
mwcbrent/django-locality
4120e03ee96a93b3006d87c10d9c8aa1bae97867
[ "Apache-2.0", "MIT" ]
6
2016-12-12T01:12:58.000Z
2021-07-06T01:05:41.000Z
src/locality/settings.py
mwcbrent/django-locality
4120e03ee96a93b3006d87c10d9c8aa1bae97867
[ "Apache-2.0", "MIT" ]
3
2019-11-13T19:48:35.000Z
2020-04-23T21:26:29.000Z
src/locality/settings.py
mwcbrent/django-locality
4120e03ee96a93b3006d87c10d9c8aa1bae97867
[ "Apache-2.0", "MIT" ]
5
2017-02-06T12:38:51.000Z
2021-12-01T20:10:02.000Z
DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = () MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/locality.db' } } TIME_ZONE = "UTC" LANGUAGE_CODE = "en-us" SITE_ID = 1 USE_I18N = True USE_L10N = True MEDIA_ROOT = '' MEDIA_URL = '' STATIC_ROOT = '' STATIC_URL = '...
21.337209
65
0.662125
185
1,835
6.421622
0.52973
0.142256
0.080808
0.078283
0.047138
0
0
0
0
0
0
0.014037
0.184741
1,835
85
66
21.588235
0.78008
0
0
0.029412
0
0.014706
0.544959
0.412534
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c826244cd7099fa09edddf0f934c749b0439f07
25,058
py
Python
A3C/worker.py
Xin-Ye-1/HIEM
6764f579eef6ec92dd85a005af27419f630df7da
[ "Apache-2.0" ]
2
2021-04-12T02:41:00.000Z
2021-05-15T02:18:15.000Z
A3C/worker.py
Xin-Ye-1/HIEM
6764f579eef6ec92dd85a005af27419f630df7da
[ "Apache-2.0" ]
null
null
null
A3C/worker.py
Xin-Ye-1/HIEM
6764f579eef6ec92dd85a005af27419f630df7da
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys sys.path.append('..') from utils.helper import * from utils.offline_feature import * import time from replay_buffer import * import json import tensorflow.contrib.slim as slim flags = tf.app.flags FLAGS = flags.FLAGS id2class = json.load(open(os.path.join(cfg['codeDir'], 'Environment...
43.054983
130
0.486591
2,527
25,058
4.561931
0.111991
0.027065
0.034698
0.011103
0.448473
0.387925
0.330239
0.292418
0.264747
0.251214
0
0.012855
0.425692
25,058
581
131
43.129088
0.788201
0.054514
0
0.301149
0
0.002299
0.025974
0.003976
0
0
0
0
0
0
null
null
0
0.016092
null
null
0.029885
0
0
0
null
0
0
0
0
0
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
7c87bfc9d3c98ff013627241e1bfc4c17b179a02
1,832
py
Python
remove_sn_url.example.py
Yasukazu/YCommander
fed500d0e0283e7c15550737e58b2ecfca2e23e7
[ "MIT" ]
1
2020-08-30T17:37:34.000Z
2020-08-30T17:37:34.000Z
remove_sn_url.example.py
Yasukazu/Commander
fed500d0e0283e7c15550737e58b2ecfca2e23e7
[ "MIT" ]
null
null
null
remove_sn_url.example.py
Yasukazu/Commander
fed500d0e0283e7c15550737e58b2ecfca2e23e7
[ "MIT" ]
null
null
null
# Remove "http://sn" login_url import logging # logger.basicConfig(filename=f"{__name__}.log") logger = logging.getLogger(__name__) sHandler = logging.StreamHandler() sHandler.setLevel(logging.INFO) logger.addHandler(sHandler) logfilenode = __file__.rsplit('.')[0] handler = logging.FileHandler(f"{logfilenode}.log") han...
32.140351
74
0.642467
221
1,832
5.167421
0.41629
0.017513
0.049912
0
0
0
0
0
0
0
0
0.005018
0.238537
1,832
57
75
32.140351
0.81362
0.115175
0
0.156863
0
0
0.126394
0
0
0
0
0
0
1
0
false
0.098039
0.117647
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
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
7c881ce91a6c0d855d7d5c2da2e14699f3827713
25,237
py
Python
plugins/modules/oci_data_science_job.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_data_science_job.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_data_science_job.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
38.064857
158
0.592345
2,691
25,237
5.321813
0.122631
0.020529
0.032051
0.039592
0.715732
0.66797
0.598352
0.563648
0.52231
0.492284
0
0.009396
0.329477
25,237
662
159
38.122357
0.836899
0.017474
0
0.580431
0
0.033168
0.710781
0.120279
0
0
0
0
0
1
0.021559
false
0.004975
0.013267
0.011609
0.058043
0.001658
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c889166096f454c6ff40795441848a1a15c68ea
533
py
Python
apps/baliza/test/test_logging.py
wisrovi/Server-Hospital-Smart-Bracelet
03b71f03da7450a14cb1c45e51c3ae9401058dc8
[ "MIT" ]
null
null
null
apps/baliza/test/test_logging.py
wisrovi/Server-Hospital-Smart-Bracelet
03b71f03da7450a14cb1c45e51c3ae9401058dc8
[ "MIT" ]
4
2021-03-19T10:58:51.000Z
2021-06-10T20:07:14.000Z
apps/baliza/test/test_logging.py
wisrovi/Server-Hospital-Smart-Bracelet
03b71f03da7450a14cb1c45e51c3ae9401058dc8
[ "MIT" ]
null
null
null
from apps.Util_apps.LogProject import logging from apps.Util_apps.Decoradores import execute_in_thread, count_elapsed_time @count_elapsed_time @execute_in_thread() def mis_mensajes(value): logging.debug('Esto es un mensaje debug {}'.format(value)) logging.info('Esto es un mensaje info {}'.format(value)) l...
33.3125
76
0.752345
77
533
5.051948
0.363636
0.154242
0.102828
0.192802
0
0
0
0
0
0
0
0.004301
0.12758
533
15
77
35.533333
0.832258
0
0
0
0
0
0.260788
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
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
7c8aa705e685d09ff7c81ceced13afa418f2c0eb
57,123
py
Python
kivy/tests/test_adapters.py
CharaD7/kivy
85065fe6633f5ac831c193dc84e3f636b789cc3a
[ "MIT" ]
2
2021-05-16T09:46:14.000Z
2021-11-17T11:23:15.000Z
kivy/tests/test_adapters.py
CharaD7/kivy
85065fe6633f5ac831c193dc84e3f636b789cc3a
[ "MIT" ]
1
2016-11-11T13:45:42.000Z
2016-11-11T13:45:42.000Z
kivy/tests/test_adapters.py
CharaD7/kivy
85065fe6633f5ac831c193dc84e3f636b789cc3a
[ "MIT" ]
2
2017-03-09T14:27:03.000Z
2019-05-03T08:36:02.000Z
''' Adapter tests ============= ''' import unittest from kivy.uix.selectableview import SelectableView from kivy.uix.listview import ListItemButton from kivy.uix.listview import ListItemLabel from kivy.uix.listview import CompositeListItem from kivy.uix.label import Label from kivy.adapters.models import SelectableD...
40.058205
80
0.561175
6,073
57,123
5.003623
0.071299
0.055024
0.022115
0.038701
0.766018
0.724718
0.685161
0.648995
0.600454
0.571034
0
0.023605
0.334751
57,123
1,425
81
40.086316
0.776032
0.039861
0
0.619183
0
0
0.100206
0.003067
0
0
0
0.000702
0.188034
1
0.052232
false
0.004748
0.018044
0.00095
0.087369
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
7c8b77b370cc7b7bdc05748975ff01b62bc51ee2
2,695
py
Python
codes/gerenciador_de_senhas.py
AlberVini/random-codes
35ee775907049363cf0c9d0033fef3bdadc1ec83
[ "MIT" ]
null
null
null
codes/gerenciador_de_senhas.py
AlberVini/random-codes
35ee775907049363cf0c9d0033fef3bdadc1ec83
[ "MIT" ]
null
null
null
codes/gerenciador_de_senhas.py
AlberVini/random-codes
35ee775907049363cf0c9d0033fef3bdadc1ec83
[ "MIT" ]
null
null
null
import sqlite3 master_pass = '12345' acess_primary = input('Digite a senha: ') if acess_primary != master_pass: print('Acesso negado!') exit() conn = sqlite3.connect('password.db') cursor = conn.cursor() cursor.execute(''' CREATE TABLE if not exists users ( tipo TEXT NOT NULL, usuario T...
25.424528
92
0.551763
308
2,695
4.756494
0.386364
0.045051
0.032765
0.043003
0.055973
0.055973
0.055973
0.055973
0.055973
0.055973
0
0.015326
0.322078
2,695
105
93
25.666667
0.786535
0
0
0.164706
0
0
0.364378
0
0
0
0
0
0
1
0.070588
false
0.141176
0.011765
0
0.082353
0.258824
0
0
0
null
0
0
0
0
0
0
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
7c8ebb86fbc766442cc5b52f741a0b0cd5a099a9
201
py
Python
Darlington/phase2/TUPLE/day 53 solution/qtn9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/TUPLE/day 53 solution/qtn9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/TUPLE/day 53 solution/qtn9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to convert a list of tuples into a dictionary. #create a list l = [("x", 1), ("x", 2), ("x", 3), ("y", 1), ("y", 2), ("z", 1)] d = {} for a, b in l: d.setdefault(a, []).append(b) print (d)
28.714286
64
0.507463
39
201
2.615385
0.615385
0.098039
0
0
0
0
0
0
0
0
0
0.037736
0.208955
201
7
65
28.714286
0.603774
0.333333
0
0
0
0
0.045113
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
7c96d16263ca5d84b64d21f820a5173b31c4c7ea
2,776
py
Python
streak-podium/app/views.py
supermitch/streak-podium
3b4aba92f6b138548afe87c204d507cd2211c2ef
[ "MIT" ]
1
2015-08-17T16:57:57.000Z
2015-08-17T16:57:57.000Z
streak-podium/app/views.py
supermitch/streak-podium
3b4aba92f6b138548afe87c204d507cd2211c2ef
[ "MIT" ]
1
2015-08-29T04:58:43.000Z
2015-09-10T04:22:13.000Z
streak-podium/app/views.py
supermitch/streak-podium
3b4aba92f6b138548afe87c204d507cd2211c2ef
[ "MIT" ]
null
null
null
import logging import os.path import random from string import ascii_letters, digits import requests from flask import render_template, request, redirect, url_for from config import config from app import app, fetch, utils @app.route('/') def index(): N = 20 state = ''.join(random.SystemRandom().choice(asc...
31.191011
91
0.557637
301
2,776
5.033223
0.315615
0.046205
0.052805
0.066007
0.147855
0.147855
0.147855
0.10165
0.075248
0.075248
0
0.008971
0.317363
2,776
88
92
31.545455
0.790501
0.038184
0
0.147059
0
0
0.109568
0
0
0
0
0.011364
0
1
0.073529
false
0
0.117647
0.029412
0.294118
0.117647
0
0
0
null
0
0
0
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
7c9859491bec420f3353494260a01413f0d42483
10,228
py
Python
yankisrc.py
ianweller/yankisrc
ea55bb257306edd50ed53b7f069e0bc7bbb367fb
[ "WTFPL" ]
1
2016-10-13T16:21:39.000Z
2016-10-13T16:21:39.000Z
yankisrc.py
ianweller/yankisrc
ea55bb257306edd50ed53b7f069e0bc7bbb367fb
[ "WTFPL" ]
null
null
null
yankisrc.py
ianweller/yankisrc
ea55bb257306edd50ed53b7f069e0bc7bbb367fb
[ "WTFPL" ]
null
null
null
# (c) 2012 Ian Weller # This program is free software. It comes without any warranty, to the extent # permitted by applicable law. You can redistribute it and/or modify it under # the terms of the Do What The Fuck You Want To Public License, Version 2, as # published by Sam Hocevar. See COPYING for more details. impor...
35.637631
103
0.601291
1,317
10,228
4.552771
0.258922
0.011007
0.012008
0.010674
0.166611
0.138092
0.110073
0.088059
0.06004
0.06004
0
0.014538
0.246774
10,228
286
104
35.762238
0.763759
0.05612
0
0.117117
0
0.009009
0.188941
0.024823
0
0
0
0
0
0
null
null
0.013514
0.063063
null
null
0.063063
0
0
0
null
0
0
0
0
0
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
7c989620bbe286d14241233d0b2aacd4db335803
462
py
Python
python_for_beginners/nested_loops/building.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
python_for_beginners/nested_loops/building.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
python_for_beginners/nested_loops/building.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
floor_number = int(input()) room_number = int(input()) for floor in range(floor_number, 0, -1): if floor == floor_number: result = [f'L{floor}{room}' for room in range(room_number)] print(' '.join(result)) continue if floor % 2 == 0: result = [f'O{floor}{room}' for ...
25.666667
68
0.571429
65
462
3.953846
0.323077
0.155642
0.140078
0.18677
0.501946
0.501946
0.501946
0.501946
0.373541
0.373541
0
0.01194
0.274892
462
17
69
27.176471
0.755224
0
0
0.166667
0
0
0.098876
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c9ac19b8fae6c73c19668ebcb8bcc57aea96f05
1,193
py
Python
tests/benchmark/freq_items/test.py
eubr-bigsea/Compss-Python
09ab7c474c8badc9932de3e1148f62ffba16b0b2
[ "Apache-2.0" ]
3
2017-08-22T11:32:02.000Z
2021-08-09T09:35:51.000Z
tests/benchmark/freq_items/test.py
eubr-bigsea/Compss-Python
09ab7c474c8badc9932de3e1148f62ffba16b0b2
[ "Apache-2.0" ]
null
null
null
tests/benchmark/freq_items/test.py
eubr-bigsea/Compss-Python
09ab7c474c8badc9932de3e1148f62ffba16b0b2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from pycompss.api.task import task from ddf_library.ddf import DDF, generate_info import pandas as pd import numpy as np import time import sys @task(returns=2) def generate_partition(size, col_name): df = pd.DataFrame(np.random.randint(1, 10000, size=size), ...
22.092593
61
0.620285
184
1,193
3.820652
0.375
0.069701
0.042674
0.064011
0
0
0
0
0
0
0
0.030601
0.233026
1,193
53
62
22.509434
0.737705
0.031852
0
0
1
0
0.028621
0
0
0
0
0
0
1
0.057143
false
0
0.2
0
0.314286
0.114286
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
7c9b7e49a784f1a989e1163bcfe3ac99cc5712ca
22,410
py
Python
unexpected_decisions/xpomcp_rocksample.py
GiuMaz/XPOMCP
ba109f390ddc3c6224f7f41b20839866d6a232d8
[ "MIT" ]
null
null
null
unexpected_decisions/xpomcp_rocksample.py
GiuMaz/XPOMCP
ba109f390ddc3c6224f7f41b20839866d6a232d8
[ "MIT" ]
null
null
null
unexpected_decisions/xpomcp_rocksample.py
GiuMaz/XPOMCP
ba109f390ddc3c6224f7f41b20839866d6a232d8
[ "MIT" ]
null
null
null
import sys, csv, os import math, random import z3 import xml.etree.ElementTree as ET ####### # XES # ####### xes_ns = { 'xes': 'rttp://www.w3.org/2001/XMLSchema' } def node_from_key(root, key): for atr in root: if 'key' in atr.attrib and atr.attrib['key'] == key: return atr return None de...
35.015625
347
0.511156
2,762
22,410
4.060101
0.097755
0.060638
0.045211
0.009988
0.718566
0.666132
0.645087
0.630462
0.618869
0.611735
0
0.02494
0.354083
22,410
639
348
35.070423
0.749775
0.255734
0
0.435262
0
0.002755
0.051676
0.001976
0
0
0
0
0
1
0.044077
false
0
0.011019
0.00551
0.104683
0.038567
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
7c9b9be7f57d87324d47feb4c1ad2ccbfa77f847
6,526
py
Python
tournament_test.py
JasonAnx/UdacityIntroDBsFinalProject
e2a4117ad18632ee80bae9a09efdab38b8a0fd91
[ "MIT" ]
null
null
null
tournament_test.py
JasonAnx/UdacityIntroDBsFinalProject
e2a4117ad18632ee80bae9a09efdab38b8a0fd91
[ "MIT" ]
null
null
null
tournament_test.py
JasonAnx/UdacityIntroDBsFinalProject
e2a4117ad18632ee80bae9a09efdab38b8a0fd91
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Test cases for tournament.py # These tests are not exhaustive, but they should cover the majority of cases. # # If you do add any of the extra credit options, be sure to add/modify these test cases # as appropriate to account for your module's added functionality. from tournament import * de...
41.833333
135
0.640821
756
6,526
5.515873
0.284392
0.064748
0.033573
0.015348
0.245803
0.217026
0.153717
0.1247
0.1247
0.114628
0
0.027932
0.253907
6,526
155
136
42.103226
0.828507
0.042446
0
0.32
0
0
0.338419
0
0
0
0
0
0
0
null
null
0.008
0.008
null
null
0.072
0
0
0
null
0
0
0
0
0
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
7ca13f61f95cc3e15fbb1998fb0b291fa97d4091
11,373
py
Python
tests/test_template_funcs.py
joeblodgett/Snowfakery
31d026efb55fb840915da046d9e997b3c35de640
[ "BSD-3-Clause" ]
null
null
null
tests/test_template_funcs.py
joeblodgett/Snowfakery
31d026efb55fb840915da046d9e997b3c35de640
[ "BSD-3-Clause" ]
null
null
null
tests/test_template_funcs.py
joeblodgett/Snowfakery
31d026efb55fb840915da046d9e997b3c35de640
[ "BSD-3-Clause" ]
null
null
null
from io import StringIO from unittest import mock from snowfakery.data_generator import generate from snowfakery.data_gen_exceptions import DataGenError import pytest write_row_path = "snowfakery.output_streams.DebugOutputStream.write_row" def row_values(write_row_mock, index, value): return write_row_mock.moc...
30.821138
106
0.468918
1,154
11,373
4.400347
0.147314
0.103978
0.059078
0.070303
0.67113
0.632729
0.60063
0.491532
0.390705
0.349941
0
0.030056
0.406137
11,373
368
107
30.904891
0.721794
0.001319
0
0.643713
1
0.002994
0.483709
0.03901
0
0
0
0.002717
0.07485
1
0.07485
false
0
0.01497
0.002994
0.095808
0
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
7ca76193316a065ddb3e2ae43fca5b10a78ca1c3
2,548
py
Python
src/robot.py
TechnoJays/robot2018
9b5e355d79642e9b5998031872ec0ee2f1a6f08d
[ "MIT" ]
null
null
null
src/robot.py
TechnoJays/robot2018
9b5e355d79642e9b5998031872ec0ee2f1a6f08d
[ "MIT" ]
17
2018-02-15T21:55:35.000Z
2018-02-27T22:51:13.000Z
src/robot.py
TechnoJays/robot2018
9b5e355d79642e9b5998031872ec0ee2f1a6f08d
[ "MIT" ]
1
2018-02-10T18:43:44.000Z
2018-02-10T18:43:44.000Z
from wpilib import command import wpilib from commands.autonomous import StartingPosition, CrossLine, AutoPlaceCube, FieldConfig from commands.do_nothing import DoNothing from oi import OI from subsystems.drivetrain import Drivetrain from subsystems.elevator import Elevator from subsystems.arm import Arm from subsyste...
31.073171
92
0.669545
270
2,548
6.196296
0.351852
0.101614
0.087866
0.043036
0.169755
0.075314
0.075314
0
0
0
0
0.001044
0.24843
2,548
81
93
31.45679
0.872585
0.313972
0
0.043478
0
0
0.004742
0
0
0
0
0
0
1
0.173913
false
0.021739
0.217391
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
7cb355c84a6192d003dce0abb44b14e039377f3b
1,953
py
Python
src/sample_predictions.py
jhgoebbert/BSTIM-Covid19
b927b1ab60ff915b988ff32b78189a0e61cceb45
[ "MIT" ]
null
null
null
src/sample_predictions.py
jhgoebbert/BSTIM-Covid19
b927b1ab60ff915b988ff32b78189a0e61cceb45
[ "MIT" ]
null
null
null
src/sample_predictions.py
jhgoebbert/BSTIM-Covid19
b927b1ab60ff915b988ff32b78189a0e61cceb45
[ "MIT" ]
null
null
null
import pymc3 as pm import pandas as pd import matplotlib import numpy as np import pickle as pkl import datetime import os from BaseModel import BaseModel from matplotlib.gridspec import SubplotSpec, GridSpec, GridSpecFromSubplotSpec import matplotlib.patheffects as PathEffects import gc import isoweek from collections...
29.590909
89
0.725038
264
1,953
5.155303
0.397727
0.040411
0.041146
0.026451
0.033799
0.033799
0
0
0
0
0
0.0075
0.180748
1,953
65
90
30.046154
0.843125
0.015361
0
0
0
0
0.105784
0.058885
0
0
0
0
0
1
0
false
0
0.372549
0
0.372549
0.039216
0
0
0
null
0
0
0
0
0
0
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
7cb5afaed88c35055186ce16cdc5ddc5eef25878
2,107
py
Python
eosetl/service/eos_service.py
sushrutkhandelwal/eos-etl
d34cc3bea90177fbb41f6cec82c9edc954e5686a
[ "MIT" ]
6
2019-02-11T10:28:09.000Z
2022-02-02T08:06:23.000Z
eosetl/service/eos_service.py
sushrutkhandelwal/eos-etl
d34cc3bea90177fbb41f6cec82c9edc954e5686a
[ "MIT" ]
9
2019-02-25T11:03:21.000Z
2019-12-02T21:08:51.000Z
eosetl/service/eos_service.py
sushrutkhandelwal/eos-etl
d34cc3bea90177fbb41f6cec82c9edc954e5686a
[ "MIT" ]
6
2019-06-18T04:59:49.000Z
2022-02-02T08:06:06.000Z
# MIT License # # Copyright (c) 2018 Evgeny Medvedev, evge.medvedev@gmail.com, Vasiliy Bondarenko vabondarenko@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction,...
42.14
104
0.760797
298
2,107
5.238255
0.45302
0.056374
0.025625
0.034593
0
0
0
0
0
0
0
0.002884
0.177029
2,107
49
105
43
0.897347
0.538681
0
0
0
0
0.027368
0.027368
0
0
0
0
0
1
0.25
false
0
0.15
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7cb5fa7eeef13bdc9e0877eb5e6dd4a2d048e3e3
4,576
py
Python
ion/agents/platform/launcher.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
3
2016-09-20T09:50:06.000Z
2018-08-10T01:41:38.000Z
ion/agents/platform/launcher.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
null
null
null
ion/agents/platform/launcher.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
2
2016-03-16T22:25:49.000Z
2016-11-26T14:54:21.000Z
#!/usr/bin/env python """ @package ion.agents.platform.launcher @file ion/agents/platform/launcher.py @author Carlos Rueda @brief Helper for launching platform and instrument agent processes. """ __author__ = 'Carlos Rueda' from pyon.public import log from ion.services.cei.process_dispatcher_service import P...
36.031496
93
0.643357
532
4,576
5.289474
0.210526
0.093817
0.042644
0.042644
0.549041
0.549041
0.530561
0.519545
0.481876
0.410092
0
0
0.277535
4,576
126
94
36.31746
0.85118
0.004371
0
0.253968
0
0
0.177055
0.02168
0
0
0
0
0
0
null
null
0
0.095238
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
7cb6601b2c749f2f12c69f5ffc09588983a8b2c8
597
py
Python
var/spack/repos/builtin/packages/pslib/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
2
2020-10-15T01:08:42.000Z
2021-10-18T01:28:18.000Z
var/spack/repos/builtin/packages/pslib/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
2
2019-07-30T10:12:28.000Z
2019-12-17T09:02:27.000Z
var/spack/repos/builtin/packages/pslib/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
5
2019-07-30T09:42:14.000Z
2021-01-25T05:39:20.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Pslib(AutotoolsPackage): """C-library to create PostScript files on the fly.""" homep...
31.421053
95
0.730318
78
597
5.564103
0.74359
0.013825
0.020737
0.036866
0
0
0
0
0
0
0
0.133072
0.144054
597
18
96
33.166667
0.716243
0.39866
0
0
0
0.142857
0.522857
0.182857
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7cb8609583787da178cff839acd8505595377a8c
10,899
py
Python
test/python/transpiler/test_consolidate_blocks.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
11
2019-06-27T09:53:29.000Z
2021-03-02T04:40:30.000Z
test/python/transpiler/test_consolidate_blocks.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
12
2018-09-21T12:02:18.000Z
2018-09-25T09:14:59.000Z
test/python/transpiler/test_consolidate_blocks.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
4
2019-08-05T15:35:33.000Z
2020-09-18T18:55:02.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
35.158065
86
0.575924
1,460
10,899
4.39726
0.206164
0.034268
0.02648
0.016355
0.469159
0.41838
0.367757
0.35405
0.338474
0.319626
0
0.037028
0.276447
10,899
309
87
35.271845
0.729267
0.307459
0
0.565476
0
0
0.013107
0
0
0
0
0
0.107143
1
0.071429
false
0.255952
0.077381
0
0.154762
0
0
0
0
null
0
0
0
0
0
0
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
7cc341529484d276f9a50602de30e3844beea055
304
py
Python
classeAluno.py
Buenomaurilio/EstruturaDeDados
f4943b43c411f044924fb43cd7deb1414a466c95
[ "Apache-2.0" ]
null
null
null
classeAluno.py
Buenomaurilio/EstruturaDeDados
f4943b43c411f044924fb43cd7deb1414a466c95
[ "Apache-2.0" ]
null
null
null
classeAluno.py
Buenomaurilio/EstruturaDeDados
f4943b43c411f044924fb43cd7deb1414a466c95
[ "Apache-2.0" ]
null
null
null
class Aluno(): def __init__(self): self.nome = "Pinguim" self.rg = 1234567891011 self.curso = "missanga" def printa(self): print("nome = ",self.nome) print("rg = ",self.rg) print("curso = ",self.curso) Aluno = Aluno() Aluno.printa()
19
36
0.523026
33
304
4.69697
0.393939
0.103226
0
0
0
0
0
0
0
0
0
0.063415
0.325658
304
16
37
19
0.692683
0
0
0
0
0
0.114754
0
0
0
0
0
0
1
0.181818
false
0
0
0
0.272727
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7cc59f58bb89e2925281100999ad03c2811700eb
537
py
Python
rm_build_temp_tags.py
adrianogil/UnityBuildScripts
9d2ce4d2bea6471f90b17d292fae2ba1850ac056
[ "MIT" ]
null
null
null
rm_build_temp_tags.py
adrianogil/UnityBuildScripts
9d2ce4d2bea6471f90b17d292fae2ba1850ac056
[ "MIT" ]
null
null
null
rm_build_temp_tags.py
adrianogil/UnityBuildScripts
9d2ce4d2bea6471f90b17d292fae2ba1850ac056
[ "MIT" ]
null
null
null
import fire import subprocess class RemoveBuildTempTag(object): """ Remove Temp Tags generated by Unity Build """ def build(self): get_tags_cmd = 'git tag -l' tags = subprocess.check_output(get_tags_cmd, shell=True) tags = tags.split('\n') for i in range(len(tags)): if 'temp-unity-build-'...
28.263158
81
0.646182
76
537
4.328947
0.5
0.045593
0.06079
0
0
0
0
0
0
0
0
0
0.221601
537
18
82
29.833333
0.787081
0.07635
0
0
1
0
0.139344
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cc5aec42bc84a63346195191ccfbf4c7c5a59e3
435
py
Python
oanda/config.py
FOREXfunguru/API
0ae85109440b3a1a0ad2579e85755ac046419d9a
[ "Apache-2.0" ]
2
2020-11-26T00:29:52.000Z
2021-11-29T23:54:11.000Z
oanda/config.py
FOREXfunguru/API
0ae85109440b3a1a0ad2579e85755ac046419d9a
[ "Apache-2.0" ]
null
null
null
oanda/config.py
FOREXfunguru/API
0ae85109440b3a1a0ad2579e85755ac046419d9a
[ "Apache-2.0" ]
null
null
null
''' @date: 22/11/2020 @author: Ernesto Lowy @email: ernestolowy@gmail.com ''' from configparser import ConfigParser import os DEFAULT_CONFIG_FILE = 'settings.ini' def get_config_file(): return os.environ.get('CONFIG_FILE', DEFAULT_CONFIG_FILE) CONFIG_FILE = get_config_file() def create_config(config_file=None): ...
21.75
61
0.76092
60
435
5.266667
0.483333
0.28481
0.123418
0
0
0
0
0
0
0
0
0.02122
0.133333
435
20
62
21.75
0.816976
0.158621
0
0
0
0
0.064067
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.090909
0.545455
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cc7fab0d1b94c85a768a537056ba2dc216438b9
1,611
py
Python
setup.py
Sydney-Informatics-Hub/Weed-ID-Interchange
d27891c2148de54d03727f688f8b6c6c414ec09b
[ "MIT" ]
14
2021-11-29T12:16:59.000Z
2022-03-20T00:26:10.000Z
setup.py
Sydney-Informatics-Hub/Weed-ID-Interchange
d27891c2148de54d03727f688f8b6c6c414ec09b
[ "MIT" ]
282
2020-07-10T00:52:21.000Z
2021-03-01T06:58:05.000Z
setup.py
Sydney-Informatics-Hub/Weed-ID-Interchange
d27891c2148de54d03727f688f8b6c6c414ec09b
[ "MIT" ]
2
2020-10-07T06:12:39.000Z
2021-02-02T05:21:32.000Z
from setuptools import setup, find_packages with open("README.md") as readme_file: readme = readme_file.read() # FIXME: Convert to ReST requirements = [ "exifread", "humanfriendly", "jsonschema", "lxml", "pandas", "pillow", "pyyaml", "tqdm", "numpy", "pycocotools", ...
26.85
79
0.5928
156
1,611
6.019231
0.660256
0.121406
0.159744
0.110756
0
0
0
0
0
0
0
0.016736
0.258225
1,611
59
80
27.305085
0.769038
0.027312
0
0
0
0
0.476343
0.03133
0
0
0
0.016949
0
1
0
false
0
0.018519
0
0.018519
0
0
0
0
null
0
0
0
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
7cca200511266eaca15ddaeb0bb56b5502c72f1e
600
py
Python
assignment3/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-famsagor
582371d9d51b95e6c14342983219b1b9ba83fd25
[ "MIT" ]
null
null
null
assignment3/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-famsagor
582371d9d51b95e6c14342983219b1b9ba83fd25
[ "MIT" ]
null
null
null
assignment3/reducer.py
IITDU-BSSE06/ads-demystifying-the-logs-famsagor
582371d9d51b95e6c14342983219b1b9ba83fd25
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys maximum=0 totalSales = 0 oldKey = None pathName="" fileName="" for line in sys.stdin: data_mapped = line.strip().split("\t") if len(data_mapped) != 2: continue thisKey, fullPath = data_mapped if oldKey and oldKey != thisKey: #print ol...
18.75
43
0.571667
64
600
5.3125
0.46875
0.088235
0.1
0
0
0
0
0
0
0
0
0.012469
0.331667
600
31
44
19.354839
0.835411
0.076667
0
0.095238
0
0
0.007678
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
7ccbb7d283d8507e767f47a5757d6a713410d098
4,308
py
Python
idfy_rest_client/models/jwt_payload.py
dealflowteam/Idfy
fa3918a6c54ea0eedb9146578645b7eb1755b642
[ "MIT" ]
null
null
null
idfy_rest_client/models/jwt_payload.py
dealflowteam/Idfy
fa3918a6c54ea0eedb9146578645b7eb1755b642
[ "MIT" ]
null
null
null
idfy_rest_client/models/jwt_payload.py
dealflowteam/Idfy
fa3918a6c54ea0eedb9146578645b7eb1755b642
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ idfy_rest_client.models.jwt_payload This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io ) """ from idfy_rest_client.api_helper import APIHelper import idfy_rest_client.models.signature_error import idfy_rest_client.models.sign_success c...
36.201681
162
0.605153
453
4,308
5.578366
0.267108
0.050653
0.050653
0.039573
0.102097
0.051444
0
0
0
0
0
0.005123
0.320334
4,308
118
163
36.508475
0.857924
0.310353
0
0
1
0
0.103257
0
0
0
0
0.008475
0
1
0.031746
false
0
0.047619
0
0.142857
0
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
7ccddcd95e3ac99fd6e15f6394c7a8dd2c0e8030
9,745
py
Python
spark/model/gaussian_model.py
qubole/uchit
d44962d15cdfc64a3eab7dc0ff4f0922303a56fc
[ "Apache-2.0" ]
20
2019-08-28T02:56:24.000Z
2019-08-31T17:04:05.000Z
spark/model/gaussian_model.py
qubole/uchit
d44962d15cdfc64a3eab7dc0ff4f0922303a56fc
[ "Apache-2.0" ]
1
2019-08-29T14:47:32.000Z
2019-08-29T14:47:32.000Z
spark/model/gaussian_model.py
qubole/uchit
d44962d15cdfc64a3eab7dc0ff4f0922303a56fc
[ "Apache-2.0" ]
2
2019-08-28T07:05:20.000Z
2022-03-31T06:04:31.000Z
import math import numpy as np import sys from collections import OrderedDict from scipy.stats import norm from sklearn.linear_model import LinearRegression from spark.config.config import Config from spark.discretizer.lhs_discrete_sampler import LhsDiscreteSampler from spark.discretizer.normalizer import ConfigNorma...
48.725
124
0.657363
1,263
9,745
4.794933
0.166271
0.075297
0.047061
0.061922
0.377147
0.265026
0.225727
0.163474
0.130945
0.10568
0
0.011599
0.248025
9,745
199
125
48.969849
0.81482
0.096665
0
0.109589
0
0
0.016922
0
0
0
0
0.01005
0
1
0.109589
false
0
0.068493
0.020548
0.273973
0
0
0
0
null
0
0
0
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
7ccf7b4ce21177add3fba03d73a58338c143d4b5
1,803
py
Python
redisy/redis_list.py
yytdfc/redisy
5347c4c8769df59a597e47a2952c42f52c3beaf1
[ "MIT" ]
1
2018-07-09T09:54:16.000Z
2018-07-09T09:54:16.000Z
redisy/redis_list.py
yytdfc/redisy
5347c4c8769df59a597e47a2952c42f52c3beaf1
[ "MIT" ]
null
null
null
redisy/redis_list.py
yytdfc/redisy
5347c4c8769df59a597e47a2952c42f52c3beaf1
[ "MIT" ]
null
null
null
class RedisList: def __init__(self, redis, key, converter, content=None): self.key_ = key self.redis_ = redis self.converter_ = converter if content: self.reset(content) def __len__(self): return self.redis_.llen(self.key_) def __getitem__(self, index):...
31.631579
79
0.590128
231
1,803
4.294372
0.229437
0.108871
0.084677
0.080645
0.41129
0.260081
0.21371
0.143145
0.143145
0.143145
0
0.003975
0.302274
1,803
56
80
32.196429
0.784579
0
0
0.222222
0
0
0.012764
0
0
0
0
0
0
1
0.244444
false
0
0
0.088889
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7cd08f1c8fbe6ef344b77f0668d6b9a3a2340cdd
3,658
py
Python
warehouse_cloud/cloud/migrations/0001_initial.py
2021-SE-Lab-Mindstorm-Project/Smart-Warehouse-Cloud
9fe6d67a3daddb46b29e4280bfc4aa774ebd0d29
[ "Apache-2.0" ]
null
null
null
warehouse_cloud/cloud/migrations/0001_initial.py
2021-SE-Lab-Mindstorm-Project/Smart-Warehouse-Cloud
9fe6d67a3daddb46b29e4280bfc4aa774ebd0d29
[ "Apache-2.0" ]
null
null
null
warehouse_cloud/cloud/migrations/0001_initial.py
2021-SE-Lab-Mindstorm-Project/Smart-Warehouse-Cloud
9fe6d67a3daddb46b29e4280bfc4aa774ebd0d29
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-20 20:03 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Inventory', fields=[ ('id',...
46.897436
119
0.526244
327
3,658
5.804281
0.293578
0.070074
0.079031
0.082192
0.500527
0.484721
0.437302
0.437302
0.437302
0.371971
0
0.02395
0.303718
3,658
77
120
47.506494
0.721241
0.012302
0
0.485714
1
0
0.14982
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.085714
0
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
7cdf91b5a751ac4431908b97c0337317097502e6
6,621
py
Python
skimage/viewer/canvastools/linetool.py
RKDSOne/scikit-image
baa67eafcace9cde1b94ad2d467e2f2e0468e759
[ "BSD-3-Clause" ]
1
2020-12-27T18:42:22.000Z
2020-12-27T18:42:22.000Z
skimage/viewer/canvastools/linetool.py
RKDSOne/scikit-image
baa67eafcace9cde1b94ad2d467e2f2e0468e759
[ "BSD-3-Clause" ]
null
null
null
skimage/viewer/canvastools/linetool.py
RKDSOne/scikit-image
baa67eafcace9cde1b94ad2d467e2f2e0468e759
[ "BSD-3-Clause" ]
2
2015-12-29T17:04:26.000Z
2020-10-17T15:47:30.000Z
import numpy as np try: from matplotlib import lines except ImportError: print("Could not import matplotlib -- skimage.viewer not available.") from base import CanvasToolBase, ToolHandles __all__ = ['LineTool', 'ThickLineTool'] class LineTool(CanvasToolBase): """Widget for line selection in a plot. ...
31.831731
79
0.600362
848
6,621
4.46816
0.207547
0.028504
0.040644
0.055424
0.462391
0.414621
0.380575
0.335709
0.319873
0.319873
0
0.008632
0.300106
6,621
207
80
31.985507
0.80902
0.003625
0
0.158333
0
0
0.044637
0
0
0
0
0
0
0
null
null
0.008333
0.058333
null
null
0.016667
0
0
0
null
0
0
0
0
0
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
7ce44114cc26d73b200d4ffa8614c11c53278c36
1,510
py
Python
PyMC2/tests/test_database.py
rsumner31/pymc3-23
539c0fc04c196679a1cdcbf4bc2dbea4dee10080
[ "Apache-2.0" ]
1
2019-03-01T02:47:20.000Z
2019-03-01T02:47:20.000Z
PyMC2/tests/test_database.py
rsumner31/pymc3-23
539c0fc04c196679a1cdcbf4bc2dbea4dee10080
[ "Apache-2.0" ]
1
2019-08-17T06:58:38.000Z
2019-08-17T06:58:38.000Z
PyMC2/tests/test_database.py
rsumner31/pymc3-23
539c0fc04c196679a1cdcbf4bc2dbea4dee10080
[ "Apache-2.0" ]
null
null
null
""" Test database backends """ from numpy.testing import * from PyMC2 import Model, database from PyMC2.examples import DisasterModel class test_no_trace(NumpyTestCase): def check(self): M = Model(DisasterModel, db='no_trace') M.sample(1000,500,2, verbose=False) try: assert_eq...
28.490566
53
0.622517
195
1,510
4.697436
0.271795
0.068777
0.16048
0.191048
0.616812
0.616812
0.591703
0.55786
0.25655
0.218341
0
0.057391
0.238411
1,510
52
54
29.038462
0.73913
0.01457
0
0.341463
0
0
0.032432
0
0
0
0
0
0.097561
1
0.170732
false
0.02439
0.073171
0
0.414634
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
7ce4564f6cff1bb5afdd7b9c843f3cbb55c677d3
28,438
py
Python
python-new-trunk/sfapi2/sflib/sfUtil_win32.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-new-trunk/sfapi2/sflib/sfUtil_win32.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-new-trunk/sfapi2/sflib/sfUtil_win32.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
""" SSH support for win32 development to spoof accessing server based Linux resources. """ import os, sys import types import traceback from binascii import hexlify from vyperlogix.misc import ObjectTypeName _iv = __name__[len(__name__)-8:] if (sys.platform == 'win32'): _using_paramiko = True ...
37.967957
208
0.594346
3,368
28,438
4.791865
0.129751
0.050747
0.033707
0.022306
0.411302
0.306772
0.27511
0.242766
0.229506
0.22393
0
0.011032
0.31152
28,438
748
209
38.018717
0.813269
0.045116
0
0.299803
0
0.001972
0.050237
0.001989
0
0
0
0
0
0
null
null
0.029586
0.027613
null
null
0.039448
0
0
0
null
0
0
0
0
0
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
7ce6cae298b72b5f5e0aad2db9caf9b23f42798c
5,259
py
Python
prototype-update-v1.py
alexpeters1208/prototype-deephaven-ai
1094e583f9257216c40da53ebc7e4596c181f97d
[ "Apache-2.0" ]
null
null
null
prototype-update-v1.py
alexpeters1208/prototype-deephaven-ai
1094e583f9257216c40da53ebc7e4596c181f97d
[ "Apache-2.0" ]
null
null
null
prototype-update-v1.py
alexpeters1208/prototype-deephaven-ai
1094e583f9257216c40da53ebc7e4596c181f97d
[ "Apache-2.0" ]
null
null
null
# This example demonstrates prototype of the update model that Ryan, Alex, and Chip discussed. ################################################################################################################################ # Everything here would be part of a DH library ##############################################...
31.118343
175
0.570641
652
5,259
4.478528
0.276074
0.052055
0.031164
0.021918
0.188014
0.084589
0.022603
0
0
0
0
0.006029
0.243012
5,259
168
176
31.303571
0.727455
0.184065
0
0.137255
0
0
0.077905
0.015687
0
0
0
0.005952
0
1
0.215686
false
0
0.029412
0.029412
0.411765
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7ce745d36f22714c08f460d5d93f774a0ef2bbac
22,978
py
Python
mindwave/pyeeg.py
timgates42/python-mindwave
f8c27d97483770a3c1fdb8efc1a555b9852c228d
[ "BSD-2-Clause" ]
null
null
null
mindwave/pyeeg.py
timgates42/python-mindwave
f8c27d97483770a3c1fdb8efc1a555b9852c228d
[ "BSD-2-Clause" ]
null
null
null
mindwave/pyeeg.py
timgates42/python-mindwave
f8c27d97483770a3c1fdb8efc1a555b9852c228d
[ "BSD-2-Clause" ]
null
null
null
"""Copyleft 2010 Forrest Sheng Bao http://fsbao.net PyEEG, a Python module to extract EEG features, v 0.02_r2 Project homepage: http://pyeeg.org **Data structure** PyEEG only uses standard Python and numpy data structures, so you need to import numpy before using it. For numpy, please visit http://numpy.scipy.org ...
26.687573
86
0.643267
4,139
22,978
3.535637
0.136023
0.005057
0.014282
0.009772
0.4877
0.449433
0.405426
0.386976
0.364425
0.350007
0
0.024894
0.227304
22,978
860
87
26.718605
0.799324
0.052006
0
0.222857
0
0
0.02796
0
0
0
0
0
0
0
null
null
0
0.022857
null
null
0.022857
0
0
0
null
0
0
0
0
0
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
7cecd0a95dd441066cc4f9fb798b65bea4626bf4
559
py
Python
tests/test_web.py
taras-stx/pytest-tips-tricks
beec4d284a3ff9796c92426ca499fea5bc4eb18f
[ "CC0-1.0" ]
1
2022-03-13T18:07:33.000Z
2022-03-13T18:07:33.000Z
tests/test_web.py
taras-stx/pytest-tips-tricks
beec4d284a3ff9796c92426ca499fea5bc4eb18f
[ "CC0-1.0" ]
null
null
null
tests/test_web.py
taras-stx/pytest-tips-tricks
beec4d284a3ff9796c92426ca499fea5bc4eb18f
[ "CC0-1.0" ]
4
2021-11-29T07:42:13.000Z
2022-02-20T04:39:12.000Z
import pytest import json from web import app as flask_app @pytest.fixture def app(): yield flask_app @pytest.fixture def client(app): return app.test_client() def test_index(app, client): result = client.get("/") assert result.status_code == 200 assert {"hello": "bob"} == json.loads(result.get_...
25.409091
111
0.67263
82
559
4.45122
0.426829
0.043836
0.076712
0.115068
0.608219
0.345205
0.175342
0.175342
0
0
0
0.025586
0.161002
559
22
111
25.409091
0.752665
0
0
0.235294
0
0
0.082143
0
0
0
0
0
0.235294
1
0.235294
false
0
0.176471
0.058824
0.470588
0
0
0
0
null
0
0
0
0
0
0
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
7cf8c0871887186e4ef65d555221b813805bdb39
1,408
py
Python
bot.py
AndrewMcNeill/GianaBot
368eaa59f79adcf3c3ff10559caa044e37f171d6
[ "MIT" ]
null
null
null
bot.py
AndrewMcNeill/GianaBot
368eaa59f79adcf3c3ff10559caa044e37f171d6
[ "MIT" ]
null
null
null
bot.py
AndrewMcNeill/GianaBot
368eaa59f79adcf3c3ff10559caa044e37f171d6
[ "MIT" ]
null
null
null
from Welcome import WelcomeCog from MinimumMessages import MinimumMessagesCog from SupporterRoles import SupporterRolesCog from ReactionRoles import ReactionRolesCog import discord from discord.ext import commands, tasks import asyncio from discord.abc import GuildChannel from discord.guild import Guild from discord.m...
22.349206
57
0.788352
199
1,408
5.452261
0.341709
0.050691
0.03318
0.051613
0.199078
0.182488
0.082949
0.082949
0.082949
0
0
0
0.115767
1,408
63
58
22.349206
0.871486
0.007102
0
0.069767
0
0
0.083751
0.030064
0
0
0
0
0
1
0
false
0
0.348837
0
0.348837
0.069767
0
0
0
null
0
0
0
0
0
0
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
7cfbe2147f6a407d59d3b744a51f0d051ef2be05
5,050
py
Python
server/app/api/auth_v1_api.py
brulejr/flask-vue-crud
be4a1281184be7330c76e3d1dd3e936c8e07a7fe
[ "MIT" ]
null
null
null
server/app/api/auth_v1_api.py
brulejr/flask-vue-crud
be4a1281184be7330c76e3d1dd3e936c8e07a7fe
[ "MIT" ]
null
null
null
server/app/api/auth_v1_api.py
brulejr/flask-vue-crud
be4a1281184be7330c76e3d1dd3e936c8e07a7fe
[ "MIT" ]
null
null
null
from flask import current_app, request from flask_restplus import Resource, fields import hashlib import re from werkzeug.security import check_password_hash from . import api, auth_v1_ns from app.services import auth_service register_model = api.model('Register', { 'username': fields.String(required=True), ...
39.147287
115
0.647129
615
5,050
5.050407
0.24065
0.036703
0.048938
0.029298
0.451384
0.310045
0.248551
0.189633
0.189633
0.162589
0
0.021349
0.239406
5,050
128
116
39.453125
0.787295
0.069307
0
0.224719
0
0.022472
0.140457
0.020465
0
0
0
0
0
1
0.044944
false
0.123596
0.078652
0
0.224719
0
0
0
0
null
0
0
0
0
0
0
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
7cfe1fe82f757cb6e2723d2d2c982d540f64ae0a
646
py
Python
Tuples and Sets/07. Battle of Names.py
milenpenev/Python_Advanced
2f32012dd682fa9541bbf5fa155f6bdbcfa946de
[ "MIT" ]
null
null
null
Tuples and Sets/07. Battle of Names.py
milenpenev/Python_Advanced
2f32012dd682fa9541bbf5fa155f6bdbcfa946de
[ "MIT" ]
null
null
null
Tuples and Sets/07. Battle of Names.py
milenpenev/Python_Advanced
2f32012dd682fa9541bbf5fa155f6bdbcfa946de
[ "MIT" ]
null
null
null
n = int(input()) even_ones = set() odd_ones = set() index = 0 sum_of_chars = 0 for _ in range(n): name = input() index += 1 for char in name: sum_of_chars += int(ord(char)) sum_of_chars //= index if sum_of_chars % 2 == 0: even_ones.add(sum_of_chars) else: odd_ones.add(s...
23.071429
53
0.647059
108
646
3.574074
0.296296
0.165803
0.181347
0.132124
0.264249
0.176166
0.176166
0.176166
0.176166
0
0
0.011905
0.219814
646
28
54
23.071429
0.753968
0
0
0.086957
0
0
0.003091
0
0
0
0
0
0
1
0
false
0
0
0
0
0.043478
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