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
2ae5dfb215b19942bd9a30e35a3057db94d2a78f
299
py
Python
Python-codes-CeV/51-Arithmetic_P.py
engcristian/Python
726a53e9499fd5d0594572298e59e318f98e2d36
[ "MIT" ]
1
2021-02-22T03:53:23.000Z
2021-02-22T03:53:23.000Z
Python-codes-CeV/51-Arithmetic_P.py
engcristian/Python
726a53e9499fd5d0594572298e59e318f98e2d36
[ "MIT" ]
null
null
null
Python-codes-CeV/51-Arithmetic_P.py
engcristian/Python
726a53e9499fd5d0594572298e59e318f98e2d36
[ "MIT" ]
null
null
null
''' Arithmetic progression with 10 elements. ''' first_term = int(input('Type the first term of this A.P: ')) reason = int(input('Type the reason of this A.P: ')) last_term = first_term + (50-1)*reason # A.P formula for c in range (first_term, last_term + reason , reason): print(c, end=' ► ')
29.9
60
0.668896
51
299
3.843137
0.529412
0.183673
0.122449
0.153061
0
0
0
0
0
0
0
0.020325
0.177258
299
9
61
33.222222
0.772358
0.177258
0
0
0
0
0.273109
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
2aecb72c40fb43c9fc2cbc47d687dce7b40d1d6a
1,363
py
Python
ferry/nlp/fetch/fetch_evals.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
4
2020-11-12T19:37:06.000Z
2021-12-14T01:38:39.000Z
ferry/nlp/fetch/fetch_evals.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
96
2020-09-08T05:17:17.000Z
2022-03-31T23:12:51.000Z
ferry/nlp/fetch/fetch_evals.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
2
2021-03-03T23:02:40.000Z
2021-06-17T23:33:05.000Z
# pylint: skip-file import json import requests url = "http://localhost:8085/v1/graphql" def fetch_evals(term, dump=True): query = ( """ query MyQuery { courses(where: { season: {season_code: {_eq: \"""" + str(term) + """\"}}, school: {...
26.211538
76
0.487894
131
1,363
4.916031
0.618321
0.032609
0.034161
0
0
0
0
0
0
0
0
0.019277
0.391049
1,363
51
77
26.72549
0.756627
0.012472
0
0
0
0
0.600484
0.033898
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.102564
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2af450314f09ee3a74127b6e73b3040d23c048eb
2,179
py
Python
telemetry_client_bgp_sessions.py
akshshar/bigmuddy-network-telemetry-proto
26ea64cf9910e41c62270fea3b0aa318dd1a51db
[ "Apache-2.0" ]
null
null
null
telemetry_client_bgp_sessions.py
akshshar/bigmuddy-network-telemetry-proto
26ea64cf9910e41c62270fea3b0aa318dd1a51db
[ "Apache-2.0" ]
null
null
null
telemetry_client_bgp_sessions.py
akshshar/bigmuddy-network-telemetry-proto
26ea64cf9910e41c62270fea3b0aa318dd1a51db
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Standard python libs import os,sys sys.path.append("./src/genpy") import ast, pprint import pdb import yaml, json import telemetry_pb2 from mdt_grpc_dialin import mdt_grpc_dialin_pb2 from mdt_grpc_dialin import mdt_grpc_dialin_pb2_grpc import json_format import grpc # # Get the GRPC Server ...
30.263889
93
0.671409
307
2,179
4.57329
0.390879
0.062678
0.055556
0.045584
0.212963
0.158832
0.158832
0.116097
0.116097
0.116097
0
0.022485
0.224415
2,179
71
94
30.690141
0.808284
0.166131
0
0.075
0
0
0.214761
0.066038
0
0
0
0
0
0
null
null
0.025
0.225
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2af5ae6a3bb26a288651a381ee3ed2c4e61944eb
436
py
Python
Python3-functions/define_custom_exception_class.py
ipetel/code-snippets
e05bb8ef1f5d213aadba501d80b310507a1af117
[ "MIT" ]
1
2020-08-07T14:57:28.000Z
2020-08-07T14:57:28.000Z
Python3-functions/define_custom_exception_class.py
ipetel/code-snippets
e05bb8ef1f5d213aadba501d80b310507a1af117
[ "MIT" ]
null
null
null
Python3-functions/define_custom_exception_class.py
ipetel/code-snippets
e05bb8ef1f5d213aadba501d80b310507a1af117
[ "MIT" ]
1
2020-12-12T08:29:56.000Z
2020-12-12T08:29:56.000Z
''' This code is a simple example how to define custom exception class in Python ''' # custom exception class class CustomError(Exception): def __init__(self,message): self.message = message super().__init__(self.message) # use it whenever you need in your code as follows: try: ... ...
21.8
76
0.651376
57
436
4.842105
0.631579
0.119565
0.144928
0
0
0
0
0
0
0
0
0
0.233945
436
19
77
22.947368
0.826347
0.165138
0
0.181818
0
0
0.126354
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
630b1968948a312327fd4f74f6cc73dcebabe1eb
10,346
py
Python
podcats/__init__.py
moritzj29/podcats
fc2bf1656eba5e6cc5062fe2b55717ef9b24dd5b
[ "BSD-3-Clause" ]
null
null
null
podcats/__init__.py
moritzj29/podcats
fc2bf1656eba5e6cc5062fe2b55717ef9b24dd5b
[ "BSD-3-Clause" ]
null
null
null
podcats/__init__.py
moritzj29/podcats
fc2bf1656eba5e6cc5062fe2b55717ef9b24dd5b
[ "BSD-3-Clause" ]
null
null
null
""" Podcats is a podcast feed generator and a server. It generates RSS feeds for podcast episodes from local audio files and, optionally, exposes the feed and as well as the episode file via a built-in web server so that they can be imported into iTunes or another podcast client. """ import os import re import time i...
29.988406
128
0.593853
1,237
10,346
4.823767
0.226354
0.015083
0.025641
0.013407
0.187531
0.142115
0.116306
0.106251
0.060667
0.060667
0
0.005153
0.287164
10,346
344
129
30.075581
0.803932
0.078871
0
0.213768
1
0
0.121373
0.00233
0
0
0
0
0
1
0.072464
false
0.007246
0.061594
0.007246
0.206522
0.032609
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
630d031d30f4b3afe57f014af81f537273595260
2,861
py
Python
cytoskeleton_analyser/database/sqlite_alchemy_orm/containers/cell_elements.py
vsukhor/cytoskeleton-analyser
681a1f6ba1381a5fb293f2310fce5e97d400cfcb
[ "BSD-3-Clause" ]
null
null
null
cytoskeleton_analyser/database/sqlite_alchemy_orm/containers/cell_elements.py
vsukhor/cytoskeleton-analyser
681a1f6ba1381a5fb293f2310fce5e97d400cfcb
[ "BSD-3-Clause" ]
null
null
null
cytoskeleton_analyser/database/sqlite_alchemy_orm/containers/cell_elements.py
vsukhor/cytoskeleton-analyser
681a1f6ba1381a5fb293f2310fce5e97d400cfcb
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021 Valerii Sukhorukov. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and ...
35.320988
79
0.739602
356
2,861
5.94382
0.455056
0.026465
0.048204
0.085066
0.28828
0.199433
0.199433
0.114367
0.064272
0.064272
0
0.002947
0.169871
2,861
80
80
35.7625
0.888
0.735058
0
0
0
0
0.051724
0
0
0
0
0
0
1
0
false
0
0.176471
0
0.882353
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
630e334606bd98d4e81def6c3b2ffa679f3a7e67
948
py
Python
snow/views.py
cdmaok/web-sentiment
15fbe33327f9272035393d8c9991c06933163cc2
[ "Apache-2.0" ]
null
null
null
snow/views.py
cdmaok/web-sentiment
15fbe33327f9272035393d8c9991c06933163cc2
[ "Apache-2.0" ]
null
null
null
snow/views.py
cdmaok/web-sentiment
15fbe33327f9272035393d8c9991c06933163cc2
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt import json from snownlp import SnowNLP # Create your views here. @csrf_exempt def index(request): message = {} print request.method if request.method == 'GET': message = construct_message...
23.7
62
0.709916
122
948
5.467213
0.393443
0.044978
0.068966
0
0
0
0
0
0
0
0
0.011349
0.163502
948
39
63
24.307692
0.82976
0.024262
0
0.147059
0
0
0.097614
0
0
0
0
0
0
0
null
null
0
0.147059
null
null
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
1
0
0
0
0
0
0
0
0
1
630fea4816a8abd9eaf09ba98c364ef95304a04e
7,559
py
Python
branches/g3d-8.0-64ffmpeg-win/bin/ice/doxygen.py
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/bin/ice/doxygen.py
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/bin/ice/doxygen.py
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
# doxygen.py # # Doxygen Management from utils import * import glob ############################################################################## # Doxygen Management # ############################################################################## """ Called ...
40.207447
155
0.557878
756
7,559
5.510582
0.375661
0.021603
0.013202
0.019443
0.055449
0.047048
0.036486
0
0
0
0
0.006321
0.3093
7,559
187
156
40.42246
0.791611
0.259029
0
0.107843
0
0
0.125262
0.014468
0
0
0
0.005348
0
0
null
null
0
0.019608
null
null
0.009804
0
0
0
null
0
0
0
0
0
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
6310fb525d8e21534dcc57582305f77d4f195a47
1,806
py
Python
test_ocr.py
lanstonpeng/NightOwlServer
1810c631c44d53f885e79164c48a7cca61441cce
[ "MIT" ]
null
null
null
test_ocr.py
lanstonpeng/NightOwlServer
1810c631c44d53f885e79164c48a7cca61441cce
[ "MIT" ]
null
null
null
test_ocr.py
lanstonpeng/NightOwlServer
1810c631c44d53f885e79164c48a7cca61441cce
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 import urllib, urllib2 import tempfile import base64 from PIL import Image import os # 全局变量 API_URL = 'http://apis.baidu.com/apistore/idlocr/ocr' API_KEY = "0c69d1b8ec1c96561cb9ca3c037d7225" def get_image_text(img_url=None): headers = {} # download image opener = u...
26.173913
136
0.692137
230
1,806
5.247826
0.473913
0.037283
0.027341
0.057995
0.06628
0
0
0
0
0
0
0.033625
0.176633
1,806
68
137
26.558824
0.778077
0.120155
0
0
0
0
0.227215
0.041139
0
0
0
0
0
0
null
null
0
0.121951
null
null
0.02439
0
0
0
null
0
0
0
0
0
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
63181b955335972638426181671ca5d3dffa487d
385
py
Python
pyexcel_matplotlib/__init__.py
pyexcel/pyexcel-matplotlib
8771fcf3cc82164b50dc7ec0314838bf3de63e3b
[ "BSD-3-Clause" ]
null
null
null
pyexcel_matplotlib/__init__.py
pyexcel/pyexcel-matplotlib
8771fcf3cc82164b50dc7ec0314838bf3de63e3b
[ "BSD-3-Clause" ]
null
null
null
pyexcel_matplotlib/__init__.py
pyexcel/pyexcel-matplotlib
8771fcf3cc82164b50dc7ec0314838bf3de63e3b
[ "BSD-3-Clause" ]
null
null
null
""" pyexcel_matplotlib ~~~~~~~~~~~~~~~~~~~ chart drawing plugin for pyexcel :copyright: (c) 2016-2017 by Onni Software Ltd. :license: New BSD License, see LICENSE for further details """ from pyexcel.plugins import PyexcelPluginChain PyexcelPluginChain(__name__).add_a_renderer( relative_plug...
22.647059
62
0.690909
44
385
5.795455
0.840909
0
0
0
0
0
0
0
0
0
0
0.025078
0.171429
385
16
63
24.0625
0.774295
0.467532
0
0
0
0
0.118644
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
63194ee4c304415890bdeb1468d2982220dc84d9
5,749
py
Python
settings/base.py
ankit-ak/django-ecommerce-1
248127526c03c7c0f25a2df84365a0d0199b9693
[ "MIT" ]
4
2021-04-06T16:50:57.000Z
2022-03-02T00:50:44.000Z
settings/base.py
ankit-ak/django-ecommerce-1
248127526c03c7c0f25a2df84365a0d0199b9693
[ "MIT" ]
null
null
null
settings/base.py
ankit-ak/django-ecommerce-1
248127526c03c7c0f25a2df84365a0d0199b9693
[ "MIT" ]
7
2021-02-22T08:07:20.000Z
2022-03-06T10:17:28.000Z
""" Django settings for petstore project. Generated by 'django-admin startproject' using Django 2.2.10. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
28.043902
91
0.728996
646
5,749
6.283282
0.362229
0.067258
0.033506
0.036955
0.152501
0.140429
0.068983
0.056171
0.029564
0
0
0.007993
0.151331
5,749
204
92
28.181373
0.823939
0.204905
0
0
1
0
0.485563
0.37073
0
0
0
0
0
1
0
false
0.04065
0.01626
0
0.01626
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
6322146c8d971464c6f726ebdba3a3d7a2540028
6,518
py
Python
mastiff/plugins/analysis/EXE/EXE-singlestring.py
tt1379/mastiff
04d569e4fa59513572e77c74b049cad82f9b0310
[ "Apache-2.0" ]
164
2015-02-09T18:19:26.000Z
2022-02-23T09:49:18.000Z
mastiff/plugins/analysis/EXE/EXE-singlestring.py
ashishhmittal/mastiff
04d569e4fa59513572e77c74b049cad82f9b0310
[ "Apache-2.0" ]
1
2016-05-20T16:21:33.000Z
2016-05-20T16:21:33.000Z
mastiff/plugins/analysis/EXE/EXE-singlestring.py
ashishhmittal/mastiff
04d569e4fa59513572e77c74b049cad82f9b0310
[ "Apache-2.0" ]
43
2015-03-03T11:15:58.000Z
2021-10-02T02:14:57.000Z
#!/usr/bin/env python """ Copyright 2012-2013 The MASTIFF Project, All Rights Reserved. This software, having been partly or wholly developed and/or sponsored by KoreLogic, Inc., is hereby released under the terms and conditions set forth in the project's "README.LICENSE" file. For a list of all contributors...
31.640777
109
0.544799
775
6,518
4.550968
0.36
0.013609
0.021548
0.029487
0.097817
0.059541
0.046498
0
0
0
0
0.025184
0.35425
6,518
205
110
31.795122
0.812782
0.113378
0
0.186441
0
0
0.193308
0.008063
0
0
0.002419
0
0
0
null
null
0
0.059322
null
null
0.016949
0
0
0
null
0
0
0
0
0
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
6322cf5faf1311f6d38c18bbb9cc68ac52d6e045
2,874
py
Python
Libs/Scene Recognition/SceneRecognitionCNN.py
vpulab/Semantic-Guided-Scene-Attribution
1e247e48b549eb648d833050fb150f041948422d
[ "MIT" ]
3
2021-03-03T09:07:53.000Z
2021-07-19T10:44:32.000Z
Libs/Scene Recognition/SceneRecognitionCNN.py
vpulab/Semantic-Guided-Scene-Attribution
1e247e48b549eb648d833050fb150f041948422d
[ "MIT" ]
null
null
null
Libs/Scene Recognition/SceneRecognitionCNN.py
vpulab/Semantic-Guided-Scene-Attribution
1e247e48b549eb648d833050fb150f041948422d
[ "MIT" ]
1
2021-03-11T09:17:04.000Z
2021-03-11T09:17:04.000Z
import torch.nn as nn from torchvision.models import resnet class SceneRecognitionCNN(nn.Module): """ Generate Model Architecture """ def __init__(self, arch, scene_classes=1055): super(SceneRecognitionCNN, self).__init__() # --------------------------------# # Base ...
30.903226
81
0.451983
268
2,874
4.764925
0.414179
0.018794
0.021143
0.043853
0.057948
0.057948
0
0
0
0
0
0.037037
0.34238
2,874
92
82
31.23913
0.638624
0.325679
0
0
1
0
0.010011
0
0
0
0
0
0.025
1
0.075
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63243b0ed7269143b65e929fe80aa6f12a71bb2a
1,309
py
Python
raduga/aws/ec2.py
tuxpiper/raduga
e63bdd8f9d4154c0ac0a72a1182da5d137e38514
[ "MIT" ]
null
null
null
raduga/aws/ec2.py
tuxpiper/raduga
e63bdd8f9d4154c0ac0a72a1182da5d137e38514
[ "MIT" ]
null
null
null
raduga/aws/ec2.py
tuxpiper/raduga
e63bdd8f9d4154c0ac0a72a1182da5d137e38514
[ "MIT" ]
null
null
null
from time import sleep class AWSEC2(object): def __init__(self, target): self.conn = target.get_ec2_conn() def get_instance_state(self, instance_id): instance = self.conn.get_only_instances(instance_id)[0] return instance.state def stop_instance(self, instance_id): self.co...
35.378378
88
0.638655
178
1,309
4.494382
0.348315
0.08
0.055
0.0475
0.1575
0.1075
0.1075
0.1075
0.1075
0
0
0.009165
0.249809
1,309
36
89
36.361111
0.805499
0.016043
0
0.068966
0
0
0.086314
0
0
0
0
0
0
0
null
null
0
0.034483
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
6327c56d9c670d44daabc2e832ec49f09adf169e
433
py
Python
tests/ext/test_ext_plugin.py
tomekr/cement
fece8629c48bcd598fd61d8aa7457a5df4c4f831
[ "BSD-3-Clause" ]
826
2015-01-09T13:23:35.000Z
2022-03-18T01:19:40.000Z
tests/ext/test_ext_plugin.py
tomekr/cement
fece8629c48bcd598fd61d8aa7457a5df4c4f831
[ "BSD-3-Clause" ]
316
2015-01-14T10:35:22.000Z
2022-03-08T17:18:10.000Z
tests/ext/test_ext_plugin.py
tomekr/cement
fece8629c48bcd598fd61d8aa7457a5df4c4f831
[ "BSD-3-Clause" ]
112
2015-01-10T15:04:26.000Z
2022-03-16T08:11:58.000Z
from cement.ext.ext_plugin import CementPluginHandler # module tests class TestCementPluginHandler(object): def test_subclassing(self): class MyPluginHandler(CementPluginHandler): class Meta: label = 'my_plugin_handler' h = MyPluginHandler() assert h._meta.in...
22.789474
53
0.681293
44
433
6.522727
0.613636
0.062718
0.076655
0.118467
0.167247
0
0
0
0
0
0
0
0.244804
433
18
54
24.055556
0.877676
0.113164
0
0
0
0
0.105263
0
0
0
0
0
0.222222
1
0.111111
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
632d57e33c16941deaf1e4e00a7a754b488df9c5
702
py
Python
test/test_document.py
hibtc/madseq
1e218726a01a1817464f84f0ce887be3186f2c08
[ "MIT" ]
null
null
null
test/test_document.py
hibtc/madseq
1e218726a01a1817464f84f0ce887be3186f2c08
[ "MIT" ]
2
2015-05-25T00:42:49.000Z
2015-05-25T00:43:19.000Z
test/test_document.py
hibtc/madseq
1e218726a01a1817464f84f0ce887be3186f2c08
[ "MIT" ]
null
null
null
# test utilities import unittest from decimal import Decimal # tested module import madseq class Test_Document(unittest.TestCase): def test_parse_line(self): parse = madseq.Document.parse_line Element = madseq.Element self.assertEqual(list(parse(' \t ')), ['']...
22.645161
74
0.497151
69
702
4.884058
0.449275
0.133531
0.169139
0.21365
0.148368
0
0
0
0
0
0
0.021882
0.349003
702
30
75
23.4
0.715536
0.039886
0
0
0
0
0.125186
0
0
0
0
0
0.176471
1
0.058824
false
0
0.176471
0
0.294118
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
633116f53d75e450606cb590875b6e5bf2ea6638
4,917
py
Python
opensanctions/crawlers/eu_fsf.py
quantumchips/opensanctions
56f19dcfea704480e56a311d2a807c8446237457
[ "MIT" ]
102
2018-03-22T16:33:17.000Z
2021-01-20T07:39:43.000Z
opensanctions/crawlers/eu_fsf.py
quantumchips/opensanctions
56f19dcfea704480e56a311d2a807c8446237457
[ "MIT" ]
101
2021-02-12T18:26:16.000Z
2022-01-27T14:01:53.000Z
opensanctions/crawlers/eu_fsf.py
quantumchips/opensanctions
56f19dcfea704480e56a311d2a807c8446237457
[ "MIT" ]
50
2018-05-11T18:00:49.000Z
2021-01-26T12:11:20.000Z
from prefixdate import parse_parts from opensanctions import helpers as h from opensanctions.util import remove_namespace def parse_address(context, el): country = el.get("countryDescription") if country == "UNKNOWN": country = None # context.log.info("Addrr", el=el) return h.make_address( ...
40.636364
77
0.630466
553
4,917
5.54792
0.256781
0.052803
0.022816
0.029335
0.113103
0.04661
0.027053
0.027053
0
0
0
0.00078
0.218019
4,917
120
78
40.975
0.797139
0.006508
0
0.048544
0
0
0.202744
0.010444
0
0
0
0
0
1
0.029126
false
0.135922
0.029126
0
0.07767
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2d47ab385e2aad6d3b4b15b6488db399d09b39ca
3,784
py
Python
scripts/supervised/exam_real_robot_data/analysis_icm_model_real_bot.py
fredshentu/public_model_based_controller
9301699bc56aa49ba5c699f7d5be299046a8aa0c
[ "MIT" ]
null
null
null
scripts/supervised/exam_real_robot_data/analysis_icm_model_real_bot.py
fredshentu/public_model_based_controller
9301699bc56aa49ba5c699f7d5be299046a8aa0c
[ "MIT" ]
null
null
null
scripts/supervised/exam_real_robot_data/analysis_icm_model_real_bot.py
fredshentu/public_model_based_controller
9301699bc56aa49ba5c699f7d5be299046a8aa0c
[ "MIT" ]
null
null
null
""" Since the size of real robot data is huge, we first go though all data then save loss array, then sort loss array. Finally we use the indexes to find the corresponding graphs """ import time from rllab.core.serializable import Serializable from numpy.linalg import norm from numpy import mean from numpy import std i...
32.067797
92
0.700317
552
3,784
4.556159
0.353261
0.021471
0.031014
0.040557
0.170179
0.170179
0.135984
0.135984
0.074751
0.036581
0
0.036269
0.183932
3,784
118
93
32.067797
0.778174
0.037526
0
0.040816
0
0
0.054414
0
0
0
0
0
0.030612
0
null
null
0
0.153061
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
2d493273ba4aac5351552304e302799fbea8feee
740
py
Python
Mentorama/Modulo 3 - POO/Quadrado.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
Mentorama/Modulo 3 - POO/Quadrado.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
Mentorama/Modulo 3 - POO/Quadrado.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
class Quadrado: def __init__(self, lado): self.tamanho_lado = lado def mudar_valor_lado(self, novo_lado): lado = novo_lado self.tamanho_lado = novo_lado def retornar_valor_lado(self, retorno): self.tamanho_lado = retorno print(retorno) def calcular_area(self, a...
24.666667
43
0.647297
94
740
4.851064
0.244681
0.144737
0.131579
0.083333
0.131579
0.131579
0
0
0
0
0
0.006579
0.178378
740
29
44
25.517241
0.743421
0
0
0.2
0
0
0.158108
0
0
0
0
0
0
1
0.16
false
0
0
0
0.2
0.44
0
0
0
null
0
0
0
0
0
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
2d598f2e4196c937db359c1fb681b55186a150c3
2,084
py
Python
generator/request.py
WulffHunter/log_generator
47b8ab77d003494aa21b2c2ab85d1d21f7bae8fc
[ "MIT" ]
5
2021-02-12T15:52:59.000Z
2021-05-26T13:22:12.000Z
generator/request.py
WulffHunter/log_generator
47b8ab77d003494aa21b2c2ab85d1d21f7bae8fc
[ "MIT" ]
1
2021-11-03T10:10:58.000Z
2021-11-05T11:43:16.000Z
generator/request.py
WulffHunter/log_generator
47b8ab77d003494aa21b2c2ab85d1d21f7bae8fc
[ "MIT" ]
2
2021-11-07T08:12:46.000Z
2022-02-10T01:13:47.000Z
from faker import Faker import random import parameters from utils import chance_choose, chance from uri_generator import gen_path, uri_extensions, gen_uri_useable # TODO: Continue to expand this list with the proper formats for other application # layer protocols (e.g. FTP, SSH, SMTP...) protocols = ['HTTP/1.0', 'H...
24.232558
82
0.65499
267
2,084
4.93633
0.411985
0.048558
0.049317
0.021244
0.027314
0
0
0
0
0
0
0.008202
0.239443
2,084
85
83
24.517647
0.823344
0.236084
0
0.043478
0
0
0.068944
0
0
0
0
0.011765
0
1
0.108696
false
0
0.108696
0.021739
0.347826
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
2d5abdd3abf9c29ea242210df43416a2eeef80b9
787
py
Python
leetcode/binary_search.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
leetcode/binary_search.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
leetcode/binary_search.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
def binary_search(collection, lhs, rhs, value): if rhs > lhs: mid = lhs + (rhs - lhs) // 2 if collection[mid] == value: return mid if collection[mid] > value: return binary_search(collection, lhs, mid-1, value) return binary_search(collection, mid+1, rhs, v...
24.59375
74
0.537484
117
787
3.512821
0.350427
0.116788
0.214112
0.029197
0.360097
0.087591
0.087591
0.087591
0.087591
0.087591
0
0.099278
0.296061
787
32
75
24.59375
0.642599
0
0
0
0
0
0.059645
0
0
0
0
0
0.045455
1
0.136364
false
0
0
0
0.318182
0.045455
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
2d601a610adba2a9dbf87218ce0ac031d70916ca
9,070
py
Python
server/utils/server_db.py
DoctorChe/Python_DataBase_PyQT
6f65bad52edf9afa8cfce9689f7e88f87d420d9d
[ "MIT" ]
1
2019-08-07T20:08:32.000Z
2019-08-07T20:08:32.000Z
server/utils/server_db.py
DoctorChe/Python_DataBase_PyQT
6f65bad52edf9afa8cfce9689f7e88f87d420d9d
[ "MIT" ]
6
2019-08-08T11:53:09.000Z
2019-09-11T14:45:59.000Z
server/utils/server_db.py
DoctorChe/Python_DataBase_PyQT
6f65bad52edf9afa8cfce9689f7e88f87d420d9d
[ "MIT" ]
null
null
null
from contextlib import contextmanager from sqlalchemy import MetaData from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker from .config_server import SERVER_DATABASE engine = create_engine(SERVER_DATABASE) Base = declarative_base(metadat...
40.672646
115
0.634179
1,002
9,070
5.55988
0.249501
0.02154
0.022617
0.03231
0.300485
0.211452
0.167474
0.111829
0.048106
0.030874
0
0.010889
0.26086
9,070
222
116
40.855856
0.820107
0.885998
0
0
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.3
0
0.35
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
2d63bc571680f79f12326140ffc844c72f08a20c
418
py
Python
DataWorkflow/file_deletion/migrations/0005_maxlength_filename.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
null
null
null
DataWorkflow/file_deletion/migrations/0005_maxlength_filename.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
12
2019-10-25T15:01:06.000Z
2021-09-22T18:02:03.000Z
DataWorkflow/file_deletion/migrations/0005_maxlength_filename.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-25 19:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('file_deletion', '0004_maxlength_etag'), ] operations = [ migrations.AlterField( model_name='deletedfile', name='file...
22
73
0.617225
45
418
5.6
0.822222
0
0
0
0
0
0
0
0
0
0
0.071895
0.267943
418
18
74
23.222222
0.751634
0.107656
0
0
1
0
0.15903
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2d6468482d56c0366eac034ecc843d9749364fb7
1,459
py
Python
src/python/procyon/types.py
orbea/procyon
469d94427d3b6e7cc2ab93606bdf968717a49150
[ "Apache-2.0" ]
null
null
null
src/python/procyon/types.py
orbea/procyon
469d94427d3b6e7cc2ab93606bdf968717a49150
[ "Apache-2.0" ]
null
null
null
src/python/procyon/types.py
orbea/procyon
469d94427d3b6e7cc2ab93606bdf968717a49150
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2017 The Procyon Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
27.018519
82
0.669637
211
1,459
4.597156
0.563981
0.082474
0.092784
0.03299
0
0
0
0
0
0
0
0.018987
0.241947
1,459
53
83
27.528302
0.858047
0.411241
0
0
0
0
0.035587
0
0
0
0
0
0
1
0.032258
false
0
0.096774
0
0.677419
0.032258
0
0
0
null
0
0
0
0
0
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
2d6c392d23be86039709559e2b39f5d2016733c8
1,538
py
Python
voicebox_project.py
raccoonML/audiotools
9b378a7e4b136cdb5e1b7a048f8d35794880a4b0
[ "MIT" ]
null
null
null
voicebox_project.py
raccoonML/audiotools
9b378a7e4b136cdb5e1b7a048f8d35794880a4b0
[ "MIT" ]
null
null
null
voicebox_project.py
raccoonML/audiotools
9b378a7e4b136cdb5e1b7a048f8d35794880a4b0
[ "MIT" ]
null
null
null
import librosa import numpy as np import audio from hparams import hparams """ This helps implement a user interface for a vocoder. Currently this is Griffin-Lim but can be extended to different vocoders. Required elements for the vocoder UI are: self.sample_rate self.source_action self.vocode_action """ class Voice...
32.041667
91
0.692458
204
1,538
5.073529
0.392157
0.057971
0.067633
0.021256
0.150725
0.090821
0.090821
0.090821
0.090821
0
0
0
0.236021
1,538
47
92
32.723404
0.880851
0.250975
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2d7be3678b02b1a94e7d1293d4c7eaa5d0726a38
1,602
py
Python
Numbers/alarm.py
arindampradhan/Projects
5677e05ea56ffea2334d65b275e8920b14980ac2
[ "MIT" ]
10
2016-07-11T22:09:46.000Z
2021-12-22T18:59:07.000Z
Numbers/alarm.py
arindampradhan/Projects
5677e05ea56ffea2334d65b275e8920b14980ac2
[ "MIT" ]
1
2015-02-26T17:00:13.000Z
2015-02-26T17:00:13.000Z
Numbers/alarm.py
arindampradhan/Projects
5677e05ea56ffea2334d65b275e8920b14980ac2
[ "MIT" ]
41
2015-03-04T00:14:53.000Z
2022-01-19T14:16:24.000Z
""" Alarm Clock - A simple clock where it plays a sound after X number of minutes/seconds or at a particular time. Dependencies: pyglet pip install pyglet """ import time import winsound import pyglet def play(hh, mm): not_alarmed = 1 while(not_alarmed): cur_time = list(time.loc...
32.04
100
0.581773
240
1,602
3.770833
0.366667
0.046409
0.026519
0.036464
0.313812
0.227624
0.227624
0.134807
0.134807
0.134807
0
0.029466
0.322097
1,602
49
101
32.693878
0.803867
0.176654
0
0.235294
0
0
0.21043
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
2d7e4675f7508f5659dc4db59ff7f4d23a5f9db7
642
py
Python
reframe/utility/json.py
stevenvdb/reframe
be9de13dc16d2c9fb4b760e07ac986b04f8ed880
[ "BSD-3-Clause" ]
null
null
null
reframe/utility/json.py
stevenvdb/reframe
be9de13dc16d2c9fb4b760e07ac986b04f8ed880
[ "BSD-3-Clause" ]
null
null
null
reframe/utility/json.py
stevenvdb/reframe
be9de13dc16d2c9fb4b760e07ac986b04f8ed880
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016-2020 Swiss National Supercomputing Centre (CSCS/ETH Zurich) # ReFrame Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: BSD-3-Clause import json class _ReframeJsonEncoder(json.JSONEncoder): def default(self, obj): if hasattr(obj, '__rfm_json_enc...
25.68
76
0.705607
80
642
5.475
0.5625
0.068493
0.063927
0.073059
0.296804
0.196347
0
0
0
0
0
0.017078
0.179128
642
24
77
26.75
0.814042
0.286604
0
0.166667
0
0
0.055188
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2d805588965de2f3350c8e40dca405d56b0fa7da
1,271
py
Python
nginx-with-mtls-and-appserver/appserver/app.py
fshmcallister/examples
e2052778cbd531bf716131b8311e87c4ee005f07
[ "MIT" ]
6
2019-10-18T13:32:46.000Z
2020-06-20T17:45:43.000Z
nginx-with-mtls-and-appserver/appserver/app.py
fshmcallister/examples
e2052778cbd531bf716131b8311e87c4ee005f07
[ "MIT" ]
4
2019-07-18T16:05:57.000Z
2021-09-23T23:27:06.000Z
nginx-with-mtls-and-appserver/appserver/app.py
fshmcallister/examples
e2052778cbd531bf716131b8311e87c4ee005f07
[ "MIT" ]
3
2019-07-15T13:16:49.000Z
2020-01-09T09:39:33.000Z
import re from flask import Flask, request app = Flask(__name__) def generate_whitelist(): whitelist = [] with open('/whitelist.txt', 'r') as f: for line in f.readlines(): if line.strip().endswith('d.wott.local'): whitelist.append(line.strip()) return whitelist def g...
24.442308
88
0.610543
163
1,271
4.693252
0.478528
0.047059
0.039216
0.057516
0
0
0
0
0
0
0
0.003122
0.243902
1,271
51
89
24.921569
0.792924
0.177026
0
0.064516
1
0
0.173529
0.021569
0
0
0
0
0
1
0.096774
false
0
0.064516
0
0.354839
0.096774
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
2d8645dc45088fa874c2aeccbf853372bdcf387c
507
py
Python
notebook/03-udacityIntroductionToMachineLearning/projects/datasets_questions/utils/read_names.py
EmanuelFontelles/machineLearning
26e810c2dbc89c2076b312d02a957ab6f8dee7d8
[ "MIT" ]
2
2018-11-09T03:49:31.000Z
2019-06-28T17:24:04.000Z
notebook/03-udacityIntroductionToMachineLearning/projects/datasets_questions/utils/read_names.py
lucasvt01/Machine_Learning
6ee17061b77d23c966ad7700712938bfe00ef9c1
[ "MIT" ]
null
null
null
notebook/03-udacityIntroductionToMachineLearning/projects/datasets_questions/utils/read_names.py
lucasvt01/Machine_Learning
6ee17061b77d23c966ad7700712938bfe00ef9c1
[ "MIT" ]
2
2020-05-09T00:49:56.000Z
2021-08-28T07:24:46.000Z
import pandas as pd import sys from os import system sys.path.append('../final_project/') sys.path.append('../') def readNames(inputFile='new_poi_names.txt'): ''' A function to read names data from a file create by a data cache Returns: Returns a data frame that contains data from 'poi_names.txt' ...
25.35
96
0.672584
74
507
4.513514
0.608108
0.041916
0.077844
0
0
0
0
0
0
0
0
0.002445
0.193294
507
20
97
25.35
0.814181
0.376726
0
0
0
0
0.15411
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2d8781eedd833caad160a7f046c6482144d1ef2b
1,270
py
Python
launch/test/legacy/launch_counter.py
stonier/launch
e8704247708eb017c388aaf8606e9dbb6971239b
[ "Apache-2.0" ]
null
null
null
launch/test/legacy/launch_counter.py
stonier/launch
e8704247708eb017c388aaf8606e9dbb6971239b
[ "Apache-2.0" ]
null
null
null
launch/test/legacy/launch_counter.py
stonier/launch
e8704247708eb017c388aaf8606e9dbb6971239b
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
35.277778
89
0.734646
180
1,270
5.072222
0.6
0.065717
0.028478
0.035049
0
0
0
0
0
0
0
0.011374
0.169291
1,270
35
90
36.285714
0.854028
0.451969
0
0
0
0
0.057185
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2d9380bab4266fca29ab688eb70ff5eb6fd17ab1
990
py
Python
Matrix/Leetcode 909. Snakes and Ladders.py
kaizhengny/LeetCode
67d64536ab80f4966699fe7460d165f2a98d6a82
[ "MIT" ]
31
2020-06-23T00:40:04.000Z
2022-01-08T11:06:24.000Z
Matrix/Leetcode 909. Snakes and Ladders.py
kaizhengny/LeetCode
67d64536ab80f4966699fe7460d165f2a98d6a82
[ "MIT" ]
null
null
null
Matrix/Leetcode 909. Snakes and Ladders.py
kaizhengny/LeetCode
67d64536ab80f4966699fe7460d165f2a98d6a82
[ "MIT" ]
7
2020-04-30T08:46:03.000Z
2021-08-28T16:25:54.000Z
class Solution: def snakesAndLadders(self, board: List[List[int]]) -> int: n = len(board) q = collections.deque() q.append(1) visited = set() visited.add(1) step = 0 while q: size = len(q) for _ in range(size): num = q.p...
28.285714
62
0.360606
115
990
3.095652
0.330435
0.033708
0.050562
0.050562
0
0
0
0
0
0
0
0.030172
0.531313
990
35
63
28.285714
0.737069
0
0
0.060606
0
0
0
0
0
0
0
0
0
1
0.060606
false
0
0
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2d97f03499e19a5c1f5c27d7a74182ab0d44f492
4,049
py
Python
src/controllerarena/controllers/refVec.py
VerifiableRobotics/controller-arena
4506ef47404de85ec0511594740e53c27a21ef88
[ "BSD-3-Clause" ]
null
null
null
src/controllerarena/controllers/refVec.py
VerifiableRobotics/controller-arena
4506ef47404de85ec0511594740e53c27a21ef88
[ "BSD-3-Clause" ]
null
null
null
src/controllerarena/controllers/refVec.py
VerifiableRobotics/controller-arena
4506ef47404de85ec0511594740e53c27a21ef88
[ "BSD-3-Clause" ]
null
null
null
# code for python reference dipole vector field controller # these functions require stuff #from mathFuns import * from numpy import * from math import * class refVec: # define the constructor def __init__(self, q_0, controller_flag): # Initialize controller state self.phi_prev = None sel...
34.313559
147
0.568288
685
4,049
3.167883
0.236496
0.043779
0.02765
0.016129
0.119816
0.105991
0.105991
0.105991
0.073733
0.073733
0
0.026594
0.322055
4,049
117
148
34.606838
0.763934
0.388491
0
0.272727
0
0
0
0
0
0
0
0
0
0
null
null
0.015152
0.030303
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2da60021013430b40d9e59ed61bc0bac8ce56e08
416
py
Python
spotdl/get-file-name.py
Shaxadhere/spotdl
fc7d587a86b886fa4e020ac825d1748a7776de32
[ "MIT" ]
25
2019-02-21T09:31:56.000Z
2022-03-13T15:36:24.000Z
spotdl/get-file-name.py
Shaxadhere/spotdl
fc7d587a86b886fa4e020ac825d1748a7776de32
[ "MIT" ]
2
2019-09-02T20:04:44.000Z
2019-12-27T22:13:13.000Z
spotdl/get-file-name.py
Shaxadhere/spotdl
fc7d587a86b886fa4e020ac825d1748a7776de32
[ "MIT" ]
9
2019-10-01T12:44:29.000Z
2021-03-24T10:09:03.000Z
from spotdl import handle from spotdl import const from spotdl import downloader import os import sys const.args = handle.get_arguments(to_group=True) track = downloader.Downloader(raw_song=const.args.song[0]) track_title = track.refine_songname(track.content.title) track_filename = track_title + const.args.output_...
26
69
0.822115
63
416
5.238095
0.47619
0.109091
0.145455
0
0
0
0
0
0
0
0
0.002653
0.09375
416
16
70
26
0.872679
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
2da911fdfe3d966fb015f3569a027ce8ff19ecfb
976
py
Python
Prototype Pygame/arrays.py
KValexander/own_rts
6bfeadb5c5d29461471c84d883b616117cea79f5
[ "MIT" ]
null
null
null
Prototype Pygame/arrays.py
KValexander/own_rts
6bfeadb5c5d29461471c84d883b616117cea79f5
[ "MIT" ]
null
null
null
Prototype Pygame/arrays.py
KValexander/own_rts
6bfeadb5c5d29461471c84d883b616117cea79f5
[ "MIT" ]
null
null
null
# Connect files from configs import * # Arrays items = [] selectedItems = [] # Interface arrays buttons = [] surfaces = [] # Getting item def getItemById(ident): for item in items: if item.id == ident: return item # Removing item def removeItem(item): items.remove(item) # Removing items def removeItems(): ...
16.542373
42
0.71209
123
976
5.650407
0.365854
0.030216
0.038849
0.069065
0.063309
0.063309
0
0
0
0
0
0
0.172131
976
58
43
16.827586
0.860149
0.194672
0
0.121212
0
0
0.016818
0
0
0
0
0
0
1
0.242424
false
0
0.060606
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2dafc2ffcc26838e9b8053b355658613f3b90115
1,027
py
Python
3rdparty/wsgi_intercept/test/test_mechanoid.py
arda2525/fixofx
1792d94697af682ca1d4a75cfefe98465d95a288
[ "Apache-2.0" ]
50
2015-01-01T00:14:04.000Z
2020-11-26T04:44:30.000Z
3rdparty/wsgi_intercept/test/test_mechanoid.py
arda2525/fixofx
1792d94697af682ca1d4a75cfefe98465d95a288
[ "Apache-2.0" ]
3
2016-01-31T17:14:41.000Z
2017-03-01T13:36:17.000Z
3rdparty/wsgi_intercept/test/test_mechanoid.py
arda2525/fixofx
1792d94697af682ca1d4a75cfefe98465d95a288
[ "Apache-2.0" ]
15
2015-10-29T09:04:21.000Z
2022-01-19T17:33:25.000Z
#! /usr/bin/env python2.3 from wsgi_intercept.mechanoid_intercept import Browser from nose.tools import with_setup import wsgi_intercept from wsgi_intercept import test_wsgi_app ### _saved_debuglevel = None def install(port=80): _saved_debuglevel, wsgi_intercept.debuglevel = wsgi_intercept.debuglevel, 1 wsgi...
30.205882
105
0.772152
137
1,027
5.423358
0.306569
0.139973
0.074024
0.161507
0.370121
0.310902
0.236878
0.148048
0.148048
0.148048
0
0.014477
0.125609
1,027
34
106
30.205882
0.812918
0.023369
0
0.32
0
0
0.165
0.033
0
0
0
0
0.12
1
0.2
false
0
0.16
0
0.36
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
2db8d601711034292e85c17511fbcd5cd25b13fb
6,126
py
Python
locust/test/test_env.py
radhakrishnaakamat/locust
51b1d5038a2be6e2823b2576c4436f2ff9f7c7c2
[ "MIT" ]
1
2022-02-26T00:17:46.000Z
2022-02-26T00:17:46.000Z
locust/test/test_env.py
radhakrishnaakamat/locust
51b1d5038a2be6e2823b2576c4436f2ff9f7c7c2
[ "MIT" ]
1
2020-12-29T04:26:09.000Z
2020-12-29T04:26:09.000Z
locust/test/test_env.py
radhakrishnaakamat/locust
51b1d5038a2be6e2823b2576c4436f2ff9f7c7c2
[ "MIT" ]
1
2022-02-25T14:23:40.000Z
2022-02-25T14:23:40.000Z
from locust import ( constant, ) from locust.env import Environment, LoadTestShape from locust.user import ( User, task, ) from locust.user.task import TaskSet from .testcases import LocustTestCase from .fake_module1_for_env_test import MyUserWithSameName as MyUserWithSameName1 from .fake_module2_for_env_te...
30.326733
182
0.579987
639
6,126
5.322379
0.179969
0.07439
0.116436
0.087327
0.432226
0.378418
0.344016
0.329903
0.302558
0.302558
0
0.021303
0.333333
6,126
201
183
30.477612
0.811459
0.029383
0
0.466667
0
0.006667
0.082884
0.019036
0
0
0
0
0.073333
1
0.153333
false
0.086667
0.046667
0
0.313333
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
2dd0dbf3c9583810719a7c459b8980e6849b03e3
696
py
Python
buildings/gui/menu_frame.py
strk/nz-buildings
8dc8ee19d322837380bb4f016b01eccee2c1bd0a
[ "PostgreSQL", "CC-BY-4.0" ]
2
2020-02-21T00:46:31.000Z
2020-08-17T14:22:19.000Z
buildings/gui/menu_frame.py
strk/nz-buildings
8dc8ee19d322837380bb4f016b01eccee2c1bd0a
[ "PostgreSQL", "CC-BY-4.0" ]
243
2018-12-16T22:01:54.000Z
2022-01-10T20:09:24.000Z
buildings/gui/menu_frame.py
strk/nz-buildings
8dc8ee19d322837380bb4f016b01eccee2c1bd0a
[ "PostgreSQL", "CC-BY-4.0" ]
1
2020-03-24T10:35:43.000Z
2020-03-24T10:35:43.000Z
# -*- coding: utf-8 -*- import os.path from qgis.PyQt import uic from qgis.PyQt.QtWidgets import QFrame from buildings.utilities.layers import LayerRegistry # Get the path for the parent directory of this file. __location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) FORM_CLASS, _ = ui...
27.84
88
0.719828
90
696
5.277778
0.566667
0.075789
0.050526
0.050526
0
0
0
0
0
0
0
0.001698
0.153736
696
24
89
29
0.804754
0.125
0
0
0
0
0.021595
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2dd1642cbad2de85e44adff8bc936f9819e814e3
3,749
py
Python
gitver/config.py
movermeyer/gitver
77d5a4420209a4ca00349b094eeca1f13e50d8e5
[ "Apache-2.0" ]
12
2015-03-31T18:19:42.000Z
2019-08-14T10:56:00.000Z
gitver/config.py
movermeyer/gitver
77d5a4420209a4ca00349b094eeca1f13e50d8e5
[ "Apache-2.0" ]
1
2015-04-21T12:44:40.000Z
2019-07-15T07:12:15.000Z
gitver/config.py
movermeyer/gitver
77d5a4420209a4ca00349b094eeca1f13e50d8e5
[ "Apache-2.0" ]
8
2016-03-25T16:43:13.000Z
2021-11-26T10:44:57.000Z
#!/usr/bin/env python2 # coding=utf-8 """ The default per-repository configuration """ import sys import json import string from os.path import exists, dirname from gitver.defines import CFGFILE from termcolors import term, bold default_config_text = """{ # automatically generated configuration file # # ...
31.771186
148
0.654308
507
3,749
4.729783
0.400394
0.050459
0.020017
0.031276
0.174312
0.135113
0.135113
0.135113
0.100917
0.100917
0
0.003913
0.2502
3,749
117
149
32.042735
0.849164
0.145906
0
0.027397
0
0.027397
0.608571
0.099456
0
0
0
0
0
1
0.041096
false
0
0.082192
0
0.178082
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
2dd344951d9aeadc827ae7e0e3e8b87cd96497d0
3,305
py
Python
3. Others/Python_OOP_Passenger_Registration.py
PurveshMakode24/snippets
ba360b363c7b98528d6b7320dcc446a9e3febd4b
[ "MIT" ]
1
2018-12-25T21:10:02.000Z
2018-12-25T21:10:02.000Z
3. Others/Python_OOP_Passenger_Registration.py
PurveshMakode24/snippets
ba360b363c7b98528d6b7320dcc446a9e3febd4b
[ "MIT" ]
2
2019-10-01T16:07:46.000Z
2019-10-01T16:07:47.000Z
3. Others/Python_OOP_Passenger_Registration.py
PurveshMakode24/snippets
ba360b363c7b98528d6b7320dcc446a9e3febd4b
[ "MIT" ]
4
2020-09-01T02:22:44.000Z
2020-10-07T12:14:58.000Z
from random import randint import re; import json class Passenger: def __init__(self, passengerId, passengerName, email, password, address, contact): self.passengerId = passengerId self.passengerName = passengerName self.email = email self.password = password self.address = ...
30.601852
117
0.586082
344
3,305
5.569767
0.337209
0.075157
0.036534
0.044363
0.08142
0.053236
0
0
0
0
0
0.026441
0.301967
3,305
107
118
30.88785
0.804075
0
0
0.151899
0
0.012658
0.186856
0.01272
0.012658
0
0
0
0
1
0.113924
false
0.455696
0.025316
0
0.227848
0.21519
0
0
0
null
0
0
0
0
0
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
2dd39dc7304ad676d501a32885e968d0740bdaf7
1,379
py
Python
software/examples/python/03-multiplexer/main.py
esysberlin/lufo-ifez-datenkonzentrator
f803724b316e2df46e69afab91afa22c64a8d920
[ "MIT" ]
2
2019-02-04T16:04:29.000Z
2019-02-04T23:33:12.000Z
software/examples/python/03-multiplexer/main.py
esysberlin/lufo-ifez-datenkonzentrator
f803724b316e2df46e69afab91afa22c64a8d920
[ "MIT" ]
null
null
null
software/examples/python/03-multiplexer/main.py
esysberlin/lufo-ifez-datenkonzentrator
f803724b316e2df46e69afab91afa22c64a8d920
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import random from common import spi def main(): multiplexer_state = spi.parse_response(spi.query('multiplexer', 'get_outputs')) print("Current multiplexer state:") _print_state(multiplexer_state) print('') for i in range(len(multiplexer_state)): multipl...
28.729167
88
0.641769
168
1,379
4.964286
0.380952
0.172662
0.100719
0.068345
0.308153
0.20024
0.158273
0.158273
0.158273
0.158273
0
0.0161
0.189268
1,379
47
89
29.340426
0.729875
0.031182
0
0.193548
0
0
0.177661
0
0
0
0
0
0
1
0.129032
false
0
0.064516
0.032258
0.225806
0.419355
0
0
0
null
0
0
0
0
0
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
2ddb711319d2de41b35803baad0302688374879f
1,600
py
Python
plots/plottingcompare.py
HPQC-LABS/Quantum-Graph-Spectra
b897d94dd03c48ffec5735b3dc5b86f8c3ab5a8f
[ "MIT" ]
1
2020-07-29T06:42:32.000Z
2020-07-29T06:42:32.000Z
plots/plottingcompare.py
HPQC-LABS/Quantum-Graph-Spectra
b897d94dd03c48ffec5735b3dc5b86f8c3ab5a8f
[ "MIT" ]
null
null
null
plots/plottingcompare.py
HPQC-LABS/Quantum-Graph-Spectra
b897d94dd03c48ffec5735b3dc5b86f8c3ab5a8f
[ "MIT" ]
2
2021-03-29T13:40:47.000Z
2021-03-29T13:41:00.000Z
''' @author: Josh Payne Description: For creating multiple overlaid charts ''' from mpl_toolkits.axes_grid1 import host_subplot import mpl_toolkits.axisartist as AA import matplotlib.pyplot as plt import numpy as np ### Get values from performance.py, input here ### x = [4, 5, 8, 9, 16, 32, 64] lst = [(2.585895228...
30.769231
302
0.71
229
1,600
4.855895
0.510917
0.021583
0.032374
0.016187
0.017986
0
0
0
0
0
0
0.296215
0.14125
1,600
52
303
30.769231
0.5131
0.17
0
0
0
0
0.071483
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ddc43ce9995edf0340e08d59a52ccaf4be2ad42
804
py
Python
pulse2percept/datasets/__init__.py
pulse2percept/pulse2percept
67e0f2354db5ebe306b617f7f78a9ea8c02327ac
[ "BSD-3-Clause" ]
40
2019-11-01T14:09:34.000Z
2022-02-28T19:08:01.000Z
pulse2percept/datasets/__init__.py
jgranley/pulse2percept
65c11393a33d1531cd02a3e38243414bf8172e9a
[ "BSD-3-Clause" ]
277
2019-11-22T03:30:31.000Z
2022-03-28T00:11:03.000Z
pulse2percept/datasets/__init__.py
jgranley/pulse2percept
65c11393a33d1531cd02a3e38243414bf8172e9a
[ "BSD-3-Clause" ]
31
2020-01-22T06:36:36.000Z
2022-01-20T09:54:25.000Z
"""Utilities to download and import datasets. * **Dataset loaders** can be used to load small datasets that come pre-packaged with the pulse2percept software. * **Dataset fetchers** can be used to download larger datasets from a given URL and directly import them into pulse2percept. .. autosummary:: :toct...
22.333333
76
0.726368
97
804
5.804124
0.494845
0.049734
0.031972
0.039076
0
0
0
0
0
0
0
0.076923
0.191542
804
35
77
22.971429
0.789231
0.569652
0
0
0
0
0.251479
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2ddf7737c3560fadbc544f9a488716622f8551b0
7,093
py
Python
pipeline/mk_all_level1_fsf_bbr.py
lbconner/openfMRI
265d8ef013dad14fd1741d5817d00f9411d85103
[ "BSD-2-Clause" ]
33
2015-02-17T17:21:43.000Z
2021-08-23T08:27:10.000Z
pipeline/mk_all_level1_fsf_bbr.py
lbconner/openfMRI
265d8ef013dad14fd1741d5817d00f9411d85103
[ "BSD-2-Clause" ]
13
2015-01-14T15:17:09.000Z
2017-07-10T02:17:06.000Z
pipeline/mk_all_level1_fsf_bbr.py
lbconner/openfMRI
265d8ef013dad14fd1741d5817d00f9411d85103
[ "BSD-2-Clause" ]
24
2015-01-27T10:02:47.000Z
2021-03-19T20:05:35.000Z
#!/usr/bin/env python """ mk_all_level1_fsf.py - make fsf files for all subjects USAGE: python mk_all_level1_fsf_bbr.py <name of dataset> <modelnum> <basedir - default is staged> <nonlinear - default=1> <smoothing - default=0> <tasknum - default to all> """ ## Copyright 2011, Russell Poldrack. All rights reserved. ...
41.238372
172
0.661638
942
7,093
4.866242
0.312102
0.033377
0.063045
0.027269
0.234948
0.186736
0.161867
0.136126
0.119546
0.119546
0
0.009564
0.204004
7,093
171
173
41.479532
0.802338
0.287889
0
0.059406
0
0.009901
0.221209
0.011241
0.019802
0
0
0
0
0
null
null
0.009901
0.069307
null
null
0.049505
0
0
0
null
0
0
0
0
0
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
2de4ee5bc7351ca57d213412fccfba40eb972d36
1,880
py
Python
tests/python/unittest/test_arith_stmt_simplify.py
ndl/tvm
6e4c6d7a3a840ae1f7f996c856357068ba7c68ee
[ "Apache-2.0" ]
15
2019-05-02T00:06:28.000Z
2022-03-25T03:11:14.000Z
tests/python/unittest/test_arith_stmt_simplify.py
ndl/tvm
6e4c6d7a3a840ae1f7f996c856357068ba7c68ee
[ "Apache-2.0" ]
5
2019-05-13T20:44:51.000Z
2019-09-25T19:56:29.000Z
tests/python/unittest/test_arith_stmt_simplify.py
ndl/tvm
6e4c6d7a3a840ae1f7f996c856357068ba7c68ee
[ "Apache-2.0" ]
5
2019-03-06T19:54:18.000Z
2022-02-01T14:27:58.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
35.471698
62
0.685106
292
1,880
4.297945
0.386986
0.047809
0.050996
0.063745
0.337052
0.311554
0.311554
0.311554
0.311554
0.311554
0
0.014483
0.192021
1,880
52
63
36.153846
0.811718
0.4
0
0.466667
0
0
0.093609
0
0
0
0
0
0.066667
1
0.066667
false
0.066667
0.033333
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2de89c57ba2b6a38a0def3e77a44733886f67fe3
378
py
Python
Day02/part2.py
JavierRizzoA/AoC2021
948177b135f2570090cd3a13aafaa0199566248a
[ "Beerware" ]
null
null
null
Day02/part2.py
JavierRizzoA/AoC2021
948177b135f2570090cd3a13aafaa0199566248a
[ "Beerware" ]
null
null
null
Day02/part2.py
JavierRizzoA/AoC2021
948177b135f2570090cd3a13aafaa0199566248a
[ "Beerware" ]
null
null
null
x = 0 y = 0 aim = 0 with open('input') as f: for line in f: direction = line.split()[0] magnitude = int(line.split()[1]) if direction == 'forward': x += magnitude y += aim * magnitude elif direction == 'down': aim += magnitude elif directio...
23.625
40
0.481481
46
378
3.956522
0.521739
0.197802
0.175824
0.274725
0
0
0
0
0
0
0
0.021368
0.380952
378
15
41
25.2
0.75641
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
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
2dea338f874c3ce26ae59e17c28ac999a26659a9
43,498
py
Python
ec2driver.py
venumurthy/ec2-driver
65b0482af3af80e34c00c327f54487d492933b25
[ "Apache-2.0" ]
null
null
null
ec2driver.py
venumurthy/ec2-driver
65b0482af3af80e34c00c327f54487d492933b25
[ "Apache-2.0" ]
null
null
null
ec2driver.py
venumurthy/ec2-driver
65b0482af3af80e34c00c327f54487d492933b25
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2014 Thoughtworks. # # 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 # #...
43.324701
161
0.635271
5,197
43,498
5.038291
0.141235
0.040215
0.013863
0.011228
0.377253
0.322563
0.268026
0.234571
0.200619
0.173579
0
0.012589
0.273162
43,498
1,003
162
43.367896
0.8156
0.036829
0
0.224138
0
0
0.107464
0.003848
0
0
0
0.000997
0
0
null
null
0.034483
0.051724
null
null
0.001567
0
0
0
null
0
0
0
0
0
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
2df494efc476f1235a7fd4bca3824c402be41058
11,450
py
Python
project/save_FlowFile_BPFormat.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
1
2015-05-04T17:48:56.000Z
2015-05-04T17:48:56.000Z
project/save_FlowFile_BPFormat.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
null
null
null
project/save_FlowFile_BPFormat.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
1
2021-11-15T17:53:19.000Z
2021-11-15T17:53:19.000Z
from __future__ import division import numpy as np from rawADCPclass import rawADCP from datetime import datetime from datetime import timedelta import scipy.io as sio import scipy.interpolate as sip import matplotlib.pyplot as plt import seaborn def date2py(matlab_datenum): python_datetime = datetime.fromordinal(...
32.902299
94
0.599301
1,571
11,450
4.24634
0.253342
0.006596
0.008994
0.020986
0.20027
0.178084
0.10748
0.097137
0.090541
0.082147
0
0.024283
0.262707
11,450
347
95
32.997118
0.765932
0.14524
0
0.080808
0
0
0.144715
0.030865
0
0
0
0
0
0
null
null
0.010101
0.045455
null
null
0.075758
0
0
0
null
0
0
0
0
0
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
2df89db144b707f4b0822c6ae9ce1acc6ef701ad
482
py
Python
core/src/zeit/content/author/browser/interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/content/author/browser/interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/content/author/browser/interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
from zeit.cms.i18n import MessageFactory as _ import zope.formlib.interfaces import zope.interface @zope.interface.implementer(zope.formlib.interfaces.IWidgetInputError) class DuplicateAuthorWarning(Exception): def doc(self): return _( u'An author with the given name already exists. ' ...
32.133333
70
0.692946
62
482
5.354839
0.725806
0.060241
0.126506
0
0
0
0
0
0
0
0
0.005405
0.232365
482
14
71
34.428571
0.891892
0
0
0
0
0
0.246888
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2df9e5faeeb7d475c0095425ade4eae6bf0cbee6
7,009
py
Python
rif_template.py
EngRaff92/RDL_REG_GEN
1da36a247552217d009b41b035ddda742ad2aa3e
[ "MIT" ]
2
2022-01-11T19:22:16.000Z
2022-01-11T20:19:55.000Z
rif_template.py
EngRaff92/RDL_REG_GEN
1da36a247552217d009b41b035ddda742ad2aa3e
[ "MIT" ]
null
null
null
rif_template.py
EngRaff92/RDL_REG_GEN
1da36a247552217d009b41b035ddda742ad2aa3e
[ "MIT" ]
null
null
null
header = """/* Icebreaker and IceSugar RSMB5 project - RV32I for Lattice iCE40 With complete open-source toolchain flow using: -> yosys -> icarus verilog -> icestorm project Tests are written in several languages -> Systemverilog Pure Testbench (Vivado) -> UVM testbench (Vivado) -> PyUvm (Icarus) -> Formal ...
31.151111
119
0.66329
966
7,009
4.569358
0.292961
0.019937
0.020616
0.022202
0.177843
0.159493
0.112143
0.084277
0.057997
0.057997
0
0.012165
0.249394
7,009
225
120
31.151111
0.826839
0
0
0.195652
0
0
0.844223
0.049786
0
0
0
0
0.005435
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2dfac8a859dbed739d1b56982bcc545aec26ba63
9,229
py
Python
modmail/config.py
fossabot/modmail-1
ffbc3f981efb455f920e8c9f52657fbc2b802816
[ "MIT" ]
null
null
null
modmail/config.py
fossabot/modmail-1
ffbc3f981efb455f920e8c9f52657fbc2b802816
[ "MIT" ]
null
null
null
modmail/config.py
fossabot/modmail-1
ffbc3f981efb455f920e8c9f52657fbc2b802816
[ "MIT" ]
null
null
null
import asyncio import datetime import json import logging import os import sys import typing from pathlib import Path from typing import Any, Dict, Optional, Tuple import discord import toml from discord.ext.commands import BadArgument from pydantic import BaseModel from pydantic import BaseSettings as PydanticBaseSet...
29.113565
98
0.694983
1,095
9,229
5.705936
0.305936
0.025928
0.007202
0.011524
0.205186
0.147567
0.129641
0.129641
0.117798
0.100512
0
0.001672
0.222234
9,229
316
99
29.205696
0.868766
0.112146
0
0.069124
0
0
0.131504
0.007168
0
0
0
0.006329
0
1
0.018433
false
0
0.078341
0.004608
0.806452
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
2dfeb124e98b0f347e20cdfa1b942484c6bbcdf7
1,571
py
Python
asap-tools/experiments/depricated/handler/comparative.py
project-asap/Profiler
eaad7eafe3635a2d0881c13069a3ac632784fd3a
[ "Apache-2.0" ]
3
2017-04-18T17:09:29.000Z
2017-11-08T22:55:32.000Z
asap-tools/experiments/depricated/handler/comparative.py
project-asap/Profiler
eaad7eafe3635a2d0881c13069a3ac632784fd3a
[ "Apache-2.0" ]
18
2016-11-07T10:44:58.000Z
2017-04-25T12:40:24.000Z
asap-tools/experiments/depricated/handler/comparative.py
project-asap/Profiler
eaad7eafe3635a2d0881c13069a3ac632784fd3a
[ "Apache-2.0" ]
4
2015-12-09T09:09:59.000Z
2018-05-23T14:29:00.000Z
__author__ = 'cmantas' from tools import * # Kmeans mahout vs spark m_q = """select mahout_kmeans_text.documents/1000, mahout_kmeans_text.time/1000 from mahout_tfidf inner join mahout_kmeans_text ON mahout_tfidf.documents=mahout_kmeans_text.documents AND mahout_tfidf.dimensions=mahout_kmeans_text.dimensions where ...
38.317073
128
0.760025
245
1,571
4.673469
0.220408
0.061135
0.079476
0.099563
0.379039
0.358952
0.358952
0.29869
0.262009
0
0
0.074965
0.099936
1,571
40
129
39.275
0.734795
0.330363
0
0.117647
0
0.058824
0.716908
0.160386
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
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
9302285f60696162f64b949eeb7c5d5dad50cb49
37,505
py
Python
workspace/module/maya-python-2.7/LxMaya/command/maShdr.py
no7hings/Lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
2
2018-03-06T03:33:55.000Z
2019-03-26T03:25:11.000Z
workspace/module/maya-python-2.7/LxMaya/command/maShdr.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
workspace/module/maya-python-2.7/LxMaya/command/maShdr.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
# coding=utf-8 # noinspection PyUnresolvedReferences import maya.cmds as cmds from LxBasic import bscMtdCore, bscObjects, bscMethods # from LxPreset import prsConfigure, prsOutputs # from LxCore.config import appCfg # from LxCore.preset.prod import assetPr # from LxDatabase import dtbMtdCore # from LxDatabase.data imp...
36.878073
153
0.627916
2,740
37,505
8.543431
0.167883
0.008117
0.012303
0.013755
0.37413
0.306976
0.265112
0.238413
0.224614
0.191636
0
0.004075
0.29996
37,505
1,016
154
36.91437
0.887526
0.019731
0
0.371812
0
0.001342
0.041621
0.009613
0
0
0
0
0
0
null
null
0.001342
0.012081
null
null
0.001342
0
0
0
null
0
0
0
0
0
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
9302303524c2d1d2dcea444d0b37ee6e17561f6a
441
py
Python
db/Service.py
hamedsh/healthCheck
8f6b8ffffc1f1d8849a58b4966e54d30ead9556b
[ "Apache-2.0" ]
null
null
null
db/Service.py
hamedsh/healthCheck
8f6b8ffffc1f1d8849a58b4966e54d30ead9556b
[ "Apache-2.0" ]
null
null
null
db/Service.py
hamedsh/healthCheck
8f6b8ffffc1f1d8849a58b4966e54d30ead9556b
[ "Apache-2.0" ]
null
null
null
import json class Service(object): id: int = None name: str = None type: int = None type_name: str = None repeat_period: int = 5 # repeat period by second metadata = {} def __init__(self, arr: list): self.id = arr[0] self.name = arr[1] self.type = arr[2] ...
25.941176
60
0.557823
61
441
3.901639
0.47541
0.151261
0.092437
0
0
0
0
0
0
0
0
0.022951
0.30839
441
16
61
27.5625
0.757377
0.052154
0
0
0
0
0.004808
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9303234b67903102cb5d3258f289b230610a2cf6
801
py
Python
analyse_images.py
aalto-ui/SemanticCollage
61b4f241aef6c029a634f0d70a2a35799db46076
[ "MIT" ]
null
null
null
analyse_images.py
aalto-ui/SemanticCollage
61b4f241aef6c029a634f0d70a2a35799db46076
[ "MIT" ]
4
2021-06-08T21:23:18.000Z
2022-03-12T00:25:45.000Z
analyse_images.py
aalto-ui/SemanticCollage
61b4f241aef6c029a634f0d70a2a35799db46076
[ "MIT" ]
1
2021-04-21T03:41:32.000Z
2021-04-21T03:41:32.000Z
# encoding=utf8 from load_to_db import * save_list = [] import random import string def randomString(url, stringLength=20): """Generate a random string of fixed length """ Letters = string.ascii_lowercase + string.ascii_uppercase + string.digits url_split = url.split(".") format_ = url_split[-1] ...
25.83871
78
0.694132
98
801
5.561224
0.602041
0.044037
0.091743
0
0
0
0
0
0
0
0
0.009245
0.189763
801
30
79
26.7
0.830508
0.158552
0
0
1
0
0.064662
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9304861c31e91f902b6f121f6ca51fab98031cbe
3,305
py
Python
src/mod_stats_by_aircraft/background_jobs/background_job.py
FGlazov/IL2Stats_ByAircraftMod
acf66eb3f31a7e789d61a5c60d32fd30dbcedf4b
[ "MIT" ]
null
null
null
src/mod_stats_by_aircraft/background_jobs/background_job.py
FGlazov/IL2Stats_ByAircraftMod
acf66eb3f31a7e789d61a5c60d32fd30dbcedf4b
[ "MIT" ]
null
null
null
src/mod_stats_by_aircraft/background_jobs/background_job.py
FGlazov/IL2Stats_ByAircraftMod
acf66eb3f31a7e789d61a5c60d32fd30dbcedf4b
[ "MIT" ]
null
null
null
from django.core.exceptions import FieldError from django.db import ProgrammingError from stats.models import Tour, Sortie from django.db.models import Max import config RETRO_COMPUTE_FOR_LAST_TOURS = config.get_conf()['stats'].getint('retro_compute_for_last_tours') if RETRO_COMPUTE_FOR_LAST_TOURS is None: RETRO_C...
39.819277
120
0.69289
461
3,305
4.806941
0.347072
0.036101
0.033845
0.04287
0.304152
0.208484
0.187726
0.187726
0.187726
0.187726
0
0.001206
0.247504
3,305
82
121
40.304878
0.889827
0.334644
0
0.081081
0
0
0.235574
0.073766
0
0
0
0
0
1
0.189189
false
0.081081
0.135135
0
0.486486
0.054054
0
0
0
null
0
0
0
0
0
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
9306105a7d6f94715dda6856227c83b2b5fdd102
2,016
py
Python
peakinvestigator/actions/run.py
jct197/PeakInvestigator-Python-SDK
75d58d67208deff07b6e366e0b34d37570b46bf5
[ "BSD-3-Clause" ]
null
null
null
peakinvestigator/actions/run.py
jct197/PeakInvestigator-Python-SDK
75d58d67208deff07b6e366e0b34d37570b46bf5
[ "BSD-3-Clause" ]
4
2019-03-14T03:01:05.000Z
2019-10-16T20:51:03.000Z
peakinvestigator/actions/run.py
jct197/PeakInvestigator-Python-SDK
75d58d67208deff07b6e366e0b34d37570b46bf5
[ "BSD-3-Clause" ]
1
2019-01-05T03:50:02.000Z
2019-01-05T03:50:02.000Z
## -*- coding: utf-8 -*- # # Copyright (c) 2016, Veritomyx, Inc. # # This file is part of the Python SDK for PeakInvestigator # (http://veritomyx.com) and is distributed under the terms # of the BSD 3-Clause license. from .base import BaseAction class RunAction(BaseAction): """This class is used to make a RUN cal...
28
80
0.590278
221
2,016
5.244344
0.457014
0.041415
0.072476
0.043141
0
0
0
0
0
0
0
0.007954
0.313988
2,016
71
81
28.394366
0.83008
0.318948
0
0
0
0
0.075353
0
0
0
0
0
0
1
0.133333
false
0.066667
0.033333
0
0.3
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
930b6911eb3b99feb00dad0f3f43696dfc1d21e0
27,385
py
Python
test_cnlunardate.py
YuBPan/cnlunardate
c19aa9821aecadea6647ac026bf233ab9f7cff90
[ "MIT" ]
null
null
null
test_cnlunardate.py
YuBPan/cnlunardate
c19aa9821aecadea6647ac026bf233ab9f7cff90
[ "MIT" ]
1
2020-01-10T05:06:27.000Z
2020-01-10T05:06:27.000Z
test_cnlunardate.py
YuBPan/cnlunardate
c19aa9821aecadea6647ac026bf233ab9f7cff90
[ "MIT" ]
null
null
null
"""Test cnlunardate.""" import unittest import pickle from cnlunardate import cnlunardate from cnlunardate import MIN_YEAR, MAX_YEAR from datetime import timedelta pickle_loads = {pickle.loads, pickle._loads} pickle_choices = [(pickle, pickle, proto) for proto in range(pickle.HIGHEST_PROTOCOL + 1)...
38.843972
88
0.560964
3,371
27,385
4.489766
0.144764
0.114172
0.046515
0.025834
0.503601
0.429865
0.353816
0.286554
0.242484
0.203898
0
0.071671
0.320833
27,385
704
89
38.899148
0.742083
0.096695
0
0.230337
0
0.001873
0.024296
0.007423
0
0
0
0
0.419476
1
0.076779
false
0.003745
0.018727
0.013109
0.140449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
931a1eefc8b03639fa3b9346aaf0553aa1293c86
2,685
py
Python
webspider/utils/log.py
chem2099/webspider
5577878b69d85a4b75ece6701f6018767d0ee4bc
[ "MIT" ]
256
2017-06-01T10:56:41.000Z
2019-06-28T17:26:08.000Z
webspider/utils/log.py
chem2099/webspider
5577878b69d85a4b75ece6701f6018767d0ee4bc
[ "MIT" ]
14
2017-10-30T14:32:08.000Z
2019-05-27T09:49:39.000Z
webspider/utils/log.py
chem2099/webspider
5577878b69d85a4b75ece6701f6018767d0ee4bc
[ "MIT" ]
88
2017-09-01T08:06:48.000Z
2019-06-26T06:23:04.000Z
# coding: utf-8 import os import logging.config from webspider import setting LOG_FILE_PATH = os.path.join(setting.BASE_DIR, 'log', 'spider_log.txt') LOGGING_CONFIG = { 'version': 1, 'disable_existing_loggers': True, 'formatters': { 'default': { 'format': '%(asctime)s- %(module)s:%(l...
27.397959
100
0.448417
206
2,685
5.752427
0.398058
0.126582
0.144304
0.162025
0.310549
0.310549
0.310549
0.167089
0
0
0
0.002931
0.364618
2,685
97
101
27.680412
0.691676
0.007076
0
0.37931
0
0.011494
0.346241
0.048872
0
0
0
0
0
1
0.011494
false
0.011494
0.034483
0
0.045977
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
931abc49c69a201ff08a4c4d4963b916bcd4009f
53,851
py
Python
manila/tests/share/drivers/hitachi/hnas/test_driver.py
kpawar89/manila
d487c2db728cedf8357b9f4acbc0a45c21c3a83e
[ "Apache-2.0" ]
1
2020-06-17T13:20:21.000Z
2020-06-17T13:20:21.000Z
manila/tests/share/drivers/hitachi/hnas/test_driver.py
viroel/manila
fbcabd2c03985000bd9b4d4d9a4478bc0b784efa
[ "Apache-2.0" ]
null
null
null
manila/tests/share/drivers/hitachi/hnas/test_driver.py
viroel/manila
fbcabd2c03985000bd9b4d4d9a4478bc0b784efa
[ "Apache-2.0" ]
1
2021-02-23T05:52:11.000Z
2021-02-23T05:52:11.000Z
# Copyright (c) 2015 Hitachi Data Systems, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
42.236078
79
0.624705
5,941
53,851
5.31594
0.068844
0.097429
0.050092
0.04683
0.7895
0.739345
0.690868
0.650244
0.596986
0.53863
0
0.041974
0.259847
53,851
1,274
80
42.269231
0.750389
0.011977
0
0.528015
0
0
0.175578
0.06317
0
0
0
0
0.169041
1
0.058879
false
0.001899
0.008547
0
0.069326
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
931acb0aff55dcc9d21d89e7ab39172fc95002c7
2,978
py
Python
sloth/test/dummy_data.py
maurov/xraysloth
6f18ddcb02050431574693d46bcf4b89c719c40b
[ "BSD-3-Clause" ]
4
2015-07-03T09:38:58.000Z
2022-03-16T11:09:49.000Z
sloth/test/dummy_data.py
maurov/xraysloth
6f18ddcb02050431574693d46bcf4b89c719c40b
[ "BSD-3-Clause" ]
null
null
null
sloth/test/dummy_data.py
maurov/xraysloth
6f18ddcb02050431574693d46bcf4b89c719c40b
[ "BSD-3-Clause" ]
2
2017-05-22T17:14:11.000Z
2017-07-04T04:52:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Generate dummy data for tests/examples """ import numpy as np def dummy_gauss_image(x=None, y=None, xhalfrng=1.5, yhalfrng=None, xcen=0.5, ycen=0.9, xnpts=1024, ynpts=None, xsigma=0.55, ysigma=0.25, nois...
28.09434
78
0.576897
424
2,978
4.011792
0.261792
0.076426
0.029982
0.03351
0.382716
0.355085
0.332745
0.269253
0.18107
0.18107
0
0.043685
0.292814
2,978
105
79
28.361905
0.764008
0.416723
0
0.097561
1
0
0.053316
0
0
0
0
0
0
1
0.073171
false
0
0.097561
0
0.219512
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
931c579da4bce33b29c5c9ae99f9be7566e00afb
2,984
py
Python
tools/scruffy/checkers/orgs.py
paultag/pupa
137293925503496e15137540e049bf544e129971
[ "BSD-3-Clause" ]
null
null
null
tools/scruffy/checkers/orgs.py
paultag/pupa
137293925503496e15137540e049bf544e129971
[ "BSD-3-Clause" ]
null
null
null
tools/scruffy/checkers/orgs.py
paultag/pupa
137293925503496e15137540e049bf544e129971
[ "BSD-3-Clause" ]
null
null
null
from .. import Check from .common import common_checks def check(db): for org in db.organizations.find({"classification": "legislature"}): for check in common_checks(org, 'organization', 'organizations'): yield check jid = org.get('jurisdiction_id') if jid is None: ...
40.324324
76
0.464142
268
2,984
5.093284
0.238806
0.123077
0.117216
0.193407
0.506227
0.420513
0.420513
0.36044
0.36044
0.279853
0
0.00227
0.409517
2,984
73
77
40.876712
0.772418
0
0
0.380952
0
0
0.23559
0.08445
0
0
0
0
0
1
0.015873
false
0
0.047619
0
0.063492
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
931f8afd4a5774ac2d04ce2cc9a73a4ae7812abb
645
py
Python
tests/test_unit/test_graph/test_tesserae.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
tests/test_unit/test_graph/test_tesserae.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
tests/test_unit/test_graph/test_tesserae.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
from cortexpy.tesserae import Tesserae class TestTesserae: def test_mosaic_alignment_on_short_query_and_two_templates(self): # given query = "GTAGGCGAGATGACGCCAT" targets = ["GTAGGCGAGTCCCGTTTATA", "CCACAGAAGATGACGCCATT"] # when t = Tesserae() p = t.align(query, ta...
24.807692
69
0.541085
77
645
4.428571
0.519481
0.164223
0.093842
0
0
0
0
0
0
0
0
0.055046
0.324031
645
25
70
25.8
0.727064
0.023256
0
0
0
0
0.164537
0
0
0
0
0
0.5625
1
0.0625
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
932270b633249ca330baa6276f57f5c2b0d91f48
1,814
py
Python
deli_counter/http/mounts/root/routes/v1/validation_models/regions.py
sandwichcloud/deli-counter
e72ee3966f4457ffbd1d432b3516965075c7c86e
[ "MIT" ]
1
2017-10-19T09:25:29.000Z
2017-10-19T09:25:29.000Z
deli_counter/http/mounts/root/routes/v1/validation_models/regions.py
sandwichcloud/deli-counter
e72ee3966f4457ffbd1d432b3516965075c7c86e
[ "MIT" ]
null
null
null
deli_counter/http/mounts/root/routes/v1/validation_models/regions.py
sandwichcloud/deli-counter
e72ee3966f4457ffbd1d432b3516965075c7c86e
[ "MIT" ]
null
null
null
from schematics import Model from schematics.types import IntType, UUIDType, StringType, BooleanType from ingredients_db.models.region import RegionState, Region from ingredients_http.schematics.types import ArrowType, EnumType class RequestCreateRegion(Model): name = StringType(required=True, min_length=3) ...
31.275862
71
0.738699
206
1,814
6.31068
0.257282
0.12
0.101538
0.083077
0.192308
0.192308
0.192308
0.192308
0.192308
0.192308
0
0.006061
0.181367
1,814
57
72
31.824561
0.86936
0
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.02381
false
0
0.095238
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
932632d6c40f6be38b39dba6166b3aebd0e53a0b
257
py
Python
winremoteenum.py
simondotsh/WinRemoteEnum
f40cff76788709e54e7ed19157870dacfcaa0bc3
[ "MIT" ]
2
2021-11-25T14:15:12.000Z
2022-02-02T04:27:17.000Z
winremoteenum.py
simondotsh/WinRemoteEnum
f40cff76788709e54e7ed19157870dacfcaa0bc3
[ "MIT" ]
null
null
null
winremoteenum.py
simondotsh/WinRemoteEnum
f40cff76788709e54e7ed19157870dacfcaa0bc3
[ "MIT" ]
2
2021-11-03T18:11:40.000Z
2022-02-02T15:11:30.000Z
#!/usr/bin/env python3 from src.cli import Cli from src.core import Orchestrator def main(): config, args = Cli.parse_and_validate() Orchestrator.launch_modules(config, args.modules, args.targets, args.audit) if __name__ == '__main__': main()
23.363636
79
0.727626
36
257
4.888889
0.638889
0.079545
0
0
0
0
0
0
0
0
0
0.004587
0.151751
257
11
80
23.363636
0.802752
0.081712
0
0
0
0
0.033898
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
93280c05a831eacbb39a47e2e89a3ee261d3a78f
1,696
py
Python
setup.py
easyScience/easyCore
5d16d5b27803277d0c44886f94dab599f764ae0b
[ "BSD-3-Clause" ]
2
2021-11-02T10:22:45.000Z
2022-02-18T23:41:19.000Z
setup.py
easyScience/easyCore
5d16d5b27803277d0c44886f94dab599f764ae0b
[ "BSD-3-Clause" ]
114
2020-06-30T08:52:27.000Z
2022-03-30T20:47:56.000Z
setup.py
easyScience/easyCore
5d16d5b27803277d0c44886f94dab599f764ae0b
[ "BSD-3-Clause" ]
1
2022-03-04T13:01:09.000Z
2022-03-04T13:01:09.000Z
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE! # This file has been autogenerated by dephell <3 # https://github.com/dephell/dephell try: from setuptools import setup except ImportError: from distutils.core import setup import os.path readme = '' here = os.path.abspath(os.path.dirname(__file__)) readme_...
43.487179
266
0.661557
222
1,696
4.995496
0.554054
0.027051
0.037872
0.045086
0.059513
0
0
0
0
0
0
0.035111
0.126769
1,696
38
267
44.631579
0.713707
0.074292
0
0
1
0
0.533248
0.090793
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
9328e23e8d93546efc5261e03fba860e2483f556
1,505
py
Python
submit_scripts/mizuRoute/mizuRoute_wrapper.py
BrisClimate/flood-cascade
660c29275a87785153d0f107ed23104fcbcbddee
[ "MIT" ]
null
null
null
submit_scripts/mizuRoute/mizuRoute_wrapper.py
BrisClimate/flood-cascade
660c29275a87785153d0f107ed23104fcbcbddee
[ "MIT" ]
null
null
null
submit_scripts/mizuRoute/mizuRoute_wrapper.py
BrisClimate/flood-cascade
660c29275a87785153d0f107ed23104fcbcbddee
[ "MIT" ]
3
2020-11-08T16:01:47.000Z
2021-01-13T17:13:32.000Z
#!/cm/shared/languages/python-3.3.2/bin/python # submit script for submission of mizuRoute simualtions # Peter Uhe Oct 29 2019 # # call this script from 'run_mizuRoute_templated_mswep050calib.py which creates a qsub job to submit to the HPC queue # This script is actually called from 'call_pythonscript.sh' (which is n...
35
120
0.765449
220
1,505
5.15
0.504545
0.039718
0.045013
0.0609
0.150927
0.150927
0.150927
0.150927
0.150927
0.150927
0
0.010287
0.095681
1,505
42
121
35.833333
0.82219
0.419269
0
0
0
0
0.118192
0
0
0
0
0.02381
0
1
0.043478
false
0
0.086957
0
0.130435
0.26087
0
0
0
null
0
0
0
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
932fbbd3b2489556c428736a9418ed424b87b707
339
py
Python
datasets/__init__.py
radarsat1/latentspace
e651dc14ed7b4dd3f28577639a06b7160c5fca5e
[ "MIT" ]
null
null
null
datasets/__init__.py
radarsat1/latentspace
e651dc14ed7b4dd3f28577639a06b7160c5fca5e
[ "MIT" ]
null
null
null
datasets/__init__.py
radarsat1/latentspace
e651dc14ed7b4dd3f28577639a06b7160c5fca5e
[ "MIT" ]
null
null
null
__all__ = ['get_dataset'] def get_dataset(params): if params['name'] == 'multimodal_points': from datasets.multimodal_gaussian_2d import Dataset return Dataset(params) elif params['name'] == 'kicks': from datasets.kicks import Dataset return Dataset(params) assert False and...
28.25
59
0.675516
39
339
5.641026
0.538462
0.177273
0.172727
0.236364
0.290909
0
0
0
0
0
0
0.003802
0.224189
339
11
60
30.818182
0.8327
0
0
0.222222
0
0
0.16568
0
0
0
0
0
0.111111
1
0.111111
false
0
0.222222
0
0.555556
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
9333f46a3199aee3308e67cf5584433366413e92
761
py
Python
tests/test_net_sender_proxy.py
nicoddemus/aioworkers
4ab85064844dc28141833d1348989d8c891f3d7d
[ "Apache-2.0" ]
45
2017-04-26T23:50:30.000Z
2021-12-29T03:21:06.000Z
tests/test_net_sender_proxy.py
nicoddemus/aioworkers
4ab85064844dc28141833d1348989d8c891f3d7d
[ "Apache-2.0" ]
63
2017-08-01T10:35:45.000Z
2022-03-01T18:07:49.000Z
tests/test_net_sender_proxy.py
nicoddemus/aioworkers
4ab85064844dc28141833d1348989d8c891f3d7d
[ "Apache-2.0" ]
6
2017-10-19T08:21:23.000Z
2021-12-29T03:25:32.000Z
import pytest @pytest.fixture def config_yaml(): return """ local_sender: cls: aioworkers.net.sender.proxy.Facade queue: queue1 queue1: cls: aioworkers.queue.base.Queue worker: cls: aioworkers.net.sender.proxy.Worker autorun: true input: queue1 ...
20.026316
47
0.603154
86
761
5.255814
0.465116
0.143805
0.106195
0.146018
0.373894
0.19469
0.19469
0.19469
0
0
0
0.010989
0.282523
761
37
48
20.567568
0.81685
0
0
0.137931
0
0
0.624179
0.204993
0
0
0
0
0.034483
1
0.034483
false
0
0.034483
0.034483
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
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93371a58fa9ad1c5d98cbf050ae2c7e71f6f8acc
1,074
py
Python
menu.py
dadiletta/Saber
515751e7e9f0f12d97fa07606883eac73a352044
[ "MIT", "BSD-3-Clause" ]
null
null
null
menu.py
dadiletta/Saber
515751e7e9f0f12d97fa07606883eac73a352044
[ "MIT", "BSD-3-Clause" ]
null
null
null
menu.py
dadiletta/Saber
515751e7e9f0f12d97fa07606883eac73a352044
[ "MIT", "BSD-3-Clause" ]
null
null
null
import Light __author__ = 'adilettad' print("---------------") print("----Welcome----") print("------to-------") print("-----Saber-----") print("---------------") sab = Light.Saber() while True: command = raw_input('Your command:') if command == "blink": sab.demoLED() elif command == "dist" or...
22.851064
61
0.529795
109
1,074
5.174312
0.541284
0.234043
0
0
0
0
0
0
0
0
0
0.001252
0.256052
1,074
46
62
23.347826
0.704631
0.034451
0
0.054054
0
0
0.176983
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
0.162162
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
9338957c2d0434f6f713ebe7005892553e33c34d
456
py
Python
packages/migrations/0004_auto_20210416_1013.py
dandeduck/package-tracking-web
f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5
[ "MIT" ]
1
2021-02-11T22:16:51.000Z
2021-02-11T22:16:51.000Z
packages/migrations/0004_auto_20210416_1013.py
dandeduck/package-tracking-web
f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5
[ "MIT" ]
54
2021-02-11T18:52:11.000Z
2021-06-13T13:45:01.000Z
packages/migrations/0004_auto_20210416_1013.py
dandeduck/package-tracking-web
f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2021-04-16 10:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('packages', '0003_auto_20210416_1007'), ] operations = [ migrations.AlterField( model_name='address', name='street_n...
22.8
74
0.620614
47
456
5.893617
0.829787
0
0
0
0
0
0
0
0
0
0
0.099698
0.274123
456
19
75
24
0.73716
0.100877
0
0
1
0
0.125
0.056373
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
933e03200f3271fcfb99f615ab7c6f6d828aa8d2
3,150
py
Python
Excite.py
JohnDoe2576/MyPythonCodes
9d714bc9f9909af0ade4142439da518b30b7d51d
[ "MIT" ]
null
null
null
Excite.py
JohnDoe2576/MyPythonCodes
9d714bc9f9909af0ade4142439da518b30b7d51d
[ "MIT" ]
null
null
null
Excite.py
JohnDoe2576/MyPythonCodes
9d714bc9f9909af0ade4142439da518b30b7d51d
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt def aprbs(**parms): # Generate an Amplitude modulated Pseudo-Random Binary Sequence (APRBS) # # The Pseudo-Random Binary Sequence (PRBS) is extensively used as an # excitation signal for System Identification of linear systems. It is # cha...
35
94
0.634286
432
3,150
4.493056
0.319444
0.045337
0.030912
0.023184
0.046368
0.02576
0.02576
0.02576
0.02576
0
0
0.016829
0.283175
3,150
89
95
35.393258
0.842781
0.446667
0
0
1
0
0.01052
0
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.097561
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9346f4ae3f51e0598235db78c109cd4747e2c15f
1,820
py
Python
wiki-parse/node.py
mvwicky/wiki-parse
1c19e1c771b9dc96cf77fdaa4009dbd97619cc72
[ "MIT" ]
null
null
null
wiki-parse/node.py
mvwicky/wiki-parse
1c19e1c771b9dc96cf77fdaa4009dbd97619cc72
[ "MIT" ]
null
null
null
wiki-parse/node.py
mvwicky/wiki-parse
1c19e1c771b9dc96cf77fdaa4009dbd97619cc72
[ "MIT" ]
null
null
null
import os import random import sys import time from typing import ClassVar, List from urllib.parse import urlsplit import attr from bs4 import BeautifulSoup import requests # Epsilon value EPS = sys.float_info.epsilon def req(url, verbose=False): """Make a request, sleeping for a random period of time afterwar...
26.376812
76
0.626374
255
1,820
4.4
0.45098
0.013369
0.02139
0
0
0
0
0
0
0
0
0.002976
0.261538
1,820
68
77
26.764706
0.831845
0.135165
0
0.078431
0
0
0.03284
0
0
0
0
0.014706
0
1
0.117647
false
0
0.176471
0.019608
0.54902
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
1
0
0
0
0
0
0
0
0
0
0
1
934b9553c57c50df3dbe6b024a339fd09db698e0
2,395
py
Python
props/graph_representation/proposition.py
kshabahang/props
d3cc981f778185769b4dc2816aecaf66d21d0e91
[ "MIT" ]
null
null
null
props/graph_representation/proposition.py
kshabahang/props
d3cc981f778185769b4dc2816aecaf66d21d0e91
[ "MIT" ]
null
null
null
props/graph_representation/proposition.py
kshabahang/props
d3cc981f778185769b4dc2816aecaf66d21d0e91
[ "MIT" ]
null
null
null
from props.dependency_tree.definitions import subject_dependencies, ARG_LABEL,\ object_dependencies, SOURCE_LABEL, domain_label, POSSESSED_LABEL,\ POSSESSOR_LABEL class Proposition: def __init__(self,pred,args,outputType): self.pred = pred self.args = args self.outputType = ou...
33.263889
159
0.499791
264
2,395
4.42803
0.352273
0.025663
0.034217
0.042772
0.124893
0.094098
0
0
0
0
0
0.009947
0.370355
2,395
71
160
33.732394
0.765252
0.095198
0
0
0
0
0.053057
0.011117
0
0
0
0
0
0
null
null
0
0.019231
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
934e7112faa4303ecb5d8b5fd5fd635de5c0afd2
568
py
Python
openpype/hosts/hiero/plugins/publish/integrate_version_up_workfile.py
jonclothcat/OpenPype
d1208cbebc0a7f378de0062ccd653295c6399195
[ "MIT" ]
87
2021-05-07T08:40:46.000Z
2022-03-19T00:36:25.000Z
openpype/hosts/hiero/plugins/publish/integrate_version_up_workfile.py
zafrs/OpenPype
4b8e7e1ed002fc55b31307efdea70b0feaed474f
[ "MIT" ]
1,019
2021-04-26T06:22:56.000Z
2022-03-31T16:30:43.000Z
openpype/hosts/hiero/plugins/publish/integrate_version_up_workfile.py
zafrs/OpenPype
4b8e7e1ed002fc55b31307efdea70b0feaed474f
[ "MIT" ]
33
2021-04-29T12:35:54.000Z
2022-03-25T14:48:42.000Z
from pyblish import api import openpype.api as pype class IntegrateVersionUpWorkfile(api.ContextPlugin): """Save as new workfile version""" order = api.IntegratorOrder + 10.1 label = "Version-up Workfile" hosts = ["hiero"] optional = True active = True def process(self, context): ...
23.666667
58
0.653169
66
568
5.575758
0.621212
0.048913
0
0
0
0
0
0
0
0
0
0.007009
0.246479
568
23
59
24.695652
0.852804
0.049296
0
0
0
0
0.151685
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
935e6905b97081210e7bed7902277443d7f5464d
3,201
py
Python
tunacell/plotting/defs.py
HuggyHugMe/tunacell
5a7a7a58bbb557098d6638e896aa784ecc37d639
[ "MIT" ]
null
null
null
tunacell/plotting/defs.py
HuggyHugMe/tunacell
5a7a7a58bbb557098d6638e896aa784ecc37d639
[ "MIT" ]
3
2017-08-10T11:19:01.000Z
2019-08-11T11:11:00.000Z
tunacell/plotting/defs.py
HuggyHugMe/tunacell
5a7a7a58bbb557098d6638e896aa784ecc37d639
[ "MIT" ]
5
2017-08-08T22:31:24.000Z
2021-08-06T04:08:08.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ tunacell package ============ plotting/defs.py module ~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ DEFAULT_COLORS = ('red', 'blue', 'purple', 'green', 'yellowgreen', 'cyan', 'magenta', 'indigo', 'darkorange', 'pink', 'yellow') colors = DEFAULT_...
31.693069
74
0.219931
197
3,201
3.532995
0.370558
0.051724
0.060345
0.045977
0.193966
0.175287
0.152299
0.152299
0.152299
0.083333
0
0.059423
0.63199
3,201
101
75
31.693069
0.531409
0.045611
0
0.287356
0
0
0.159225
0
0
0
0
0
0
1
0.011494
false
0
0
0.011494
0.022989
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93625b79b6238b332e1234a333a23eb72571d1f2
4,034
py
Python
tordatahub/tests/create_topics.py
jasonz93/python-tordatahub
3a9a497d5a0bebf915d7e24049dd8b06099e3c04
[ "Apache-2.0" ]
null
null
null
tordatahub/tests/create_topics.py
jasonz93/python-tordatahub
3a9a497d5a0bebf915d7e24049dd8b06099e3c04
[ "Apache-2.0" ]
null
null
null
tordatahub/tests/create_topics.py
jasonz93/python-tordatahub
3a9a497d5a0bebf915d7e24049dd8b06099e3c04
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License...
45.840909
231
0.645513
491
4,034
5.150713
0.350306
0.065243
0.041518
0.031633
0.061289
0
0
0
0
0
0
0.013091
0.223599
4,034
87
232
46.367816
0.794381
0.203024
0
0.163934
0
0
0.226533
0.06602
0
0
0
0
0
0
null
null
0
0.098361
null
null
0.278689
0
0
0
null
0
0
0
0
0
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
936b0f95e7f3ca1f6eafc51508f66b72158c5fa4
1,247
py
Python
python/misc/switcharoo.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
null
null
null
python/misc/switcharoo.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
2
2022-03-10T03:49:14.000Z
2022-03-14T00:49:54.000Z
python/misc/switcharoo.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Switcharoo. Create a function that takes a string and returns a new string with its first and last characters swapped, except under three conditions: If the length of the string is less than two, return "Incompatible.". If the argument is not a string, return "Incompatible.". If the first a...
31.175
75
0.655172
181
1,247
4.381215
0.403315
0.070618
0.121059
0.15889
0.176545
0
0
0
0
0
0
0.023023
0.198877
1,247
39
76
31.974359
0.770771
0.386528
0
0
0
0
0.260292
0
0
0
0
0
0.388889
1
0.111111
false
0.055556
0
0
0.277778
0.055556
0
0
0
null
0
0
0
0
0
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
936be74b5161c4ea335dcc47745288106a326b76
244
py
Python
1/one.py
TheFrederick-git/adventofcode2021
a320f3bba2655afab1aad8bf2520ccb705b2fd1e
[ "MIT" ]
null
null
null
1/one.py
TheFrederick-git/adventofcode2021
a320f3bba2655afab1aad8bf2520ccb705b2fd1e
[ "MIT" ]
null
null
null
1/one.py
TheFrederick-git/adventofcode2021
a320f3bba2655afab1aad8bf2520ccb705b2fd1e
[ "MIT" ]
null
null
null
"""1/1 adventofcode""" with open("input.txt", "r", encoding="UTF-8") as i_file: data = list(map(int, i_file.read().splitlines())) values = ["i" if data[i] > data[i - 1] else "d" for i in range(1, len(data))] print(values.count("i"))
34.857143
78
0.598361
43
244
3.348837
0.674419
0.069444
0
0
0
0
0
0
0
0
0
0.02451
0.163934
244
6
79
40.666667
0.681373
0.065574
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
93700816a23a94674ae0ee1adf228796c45d26ba
740
py
Python
CMS/test/mocks/search_mocks.py
office-for-students/wagtail-CMS
98789c279edf48f2bbedb5415437da3317f0e12b
[ "MIT" ]
4
2019-06-04T07:18:44.000Z
2020-06-15T22:27:36.000Z
CMS/test/mocks/search_mocks.py
office-for-students/wagtail-CMS
98789c279edf48f2bbedb5415437da3317f0e12b
[ "MIT" ]
38
2019-05-09T13:14:56.000Z
2022-03-12T00:54:57.000Z
CMS/test/mocks/search_mocks.py
office-for-students/wagtail-CMS
98789c279edf48f2bbedb5415437da3317f0e12b
[ "MIT" ]
3
2019-09-26T14:32:36.000Z
2021-05-06T15:48:01.000Z
import json from requests.models import Response from http import HTTPStatus from CMS.test.mocks.search_mocks_content import content class SearchMocks: @classmethod def get_search_response_content(cls): return content; @classmethod def get_successful_search_response(cls): respon...
27.407407
89
0.714865
85
740
5.988235
0.388235
0.11002
0.100196
0.094303
0.333988
0.239686
0.239686
0.239686
0.239686
0
0
0.003425
0.210811
740
26
90
28.461538
0.868151
0
0
0.35
0
0
0.013514
0
0
0
0
0
0
1
0.15
false
0
0.2
0.05
0.55
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
9371f372d231442d071f230b9b470e2409d71503
3,157
py
Python
scripts/pughpore/passagetime-simple.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
8
2016-09-07T01:59:31.000Z
2021-03-06T12:14:31.000Z
scripts/pughpore/passagetime-simple.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
null
null
null
scripts/pughpore/passagetime-simple.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
4
2017-12-06T17:43:01.000Z
2020-05-01T05:41:14.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals # (c) 2017 Gregor Mitscha-Baude # TODO: obtain rD from actual simulation from nanopores import fields, kT, eta, qq, savefigs from numpy import exp, pi, sqrt, linspace, diff, array, dot L = 46e-9 # length of pore r = 2.0779e-9 # radius of protein trypsin...
25.877049
74
0.596136
533
3,157
3.49531
0.347092
0.004294
0.012882
0.023618
0.132045
0.10306
0.086957
0.041868
0.041868
0.041868
0
0.041146
0.214761
3,157
121
75
26.090909
0.710367
0.21191
0
0.051948
0
0
0.092314
0
0
0
0
0.008264
0
0
null
null
0
0.064935
null
null
0.116883
0
0
0
null
0
0
0
0
0
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
937335c45d766563fe6c185b76d6ad2c9b3fea7a
652
py
Python
examples/plots/plot_quaternion_integrate.py
Mateus224/pytransform3d-1
26f1d39c5fa5f5c400fdabc7e58f645c7a35bee5
[ "BSD-3-Clause" ]
null
null
null
examples/plots/plot_quaternion_integrate.py
Mateus224/pytransform3d-1
26f1d39c5fa5f5c400fdabc7e58f645c7a35bee5
[ "BSD-3-Clause" ]
null
null
null
examples/plots/plot_quaternion_integrate.py
Mateus224/pytransform3d-1
26f1d39c5fa5f5c400fdabc7e58f645c7a35bee5
[ "BSD-3-Clause" ]
null
null
null
""" ====================== Quaternion Integration ====================== Integrate angular velocities to a sequence of quaternions. """ import numpy as np import matplotlib.pyplot as plt from pytransform3d.rotations import quaternion_integrate, matrix_from_quaternion, plot_basis angular_velocities = np.empty((21, 3)...
27.166667
92
0.654908
101
652
4.108911
0.475248
0.204819
0.137349
0.038554
0
0
0
0
0
0
0
0.035651
0.139571
652
23
93
28.347826
0.7041
0.196319
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
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
937962d2ebcdc2a6b9460ca91cb7e76e7ac6b49e
1,434
py
Python
what.py
manastech/de-bee
32d4084b7d765b2766a7b8b947e896bb6f81beb9
[ "MIT" ]
1
2015-07-30T07:37:20.000Z
2015-07-30T07:37:20.000Z
what.py
manastech/de-bee
32d4084b7d765b2766a7b8b947e896bb6f81beb9
[ "MIT" ]
null
null
null
what.py
manastech/de-bee
32d4084b7d765b2766a7b8b947e896bb6f81beb9
[ "MIT" ]
null
null
null
from google.appengine.ext import webapp from wsgiref.handlers import CGIHandler from model import Membership from model import Group from model import Transaction class WhatHandler(webapp.RequestHandler): def get(self): page = self.request.get('p'); if page is None or page == '': page = 1 else:...
30.510638
93
0.535565
179
1,434
4.290503
0.435754
0.125
0.15625
0.208333
0.259115
0.144531
0.138021
0.070313
0
0
0
0.008911
0.295676
1,434
47
94
30.510638
0.751485
0
0
0
0
0.027027
0.156947
0
0
0
0
0
0
1
0.054054
false
0
0.135135
0
0.216216
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
fa7a83fe53cfeb8f0635e9e1cf133b811d5394c2
3,713
py
Python
app/auth/forms.py
blazejosojca/flask_blog
2bac2f9c8bb60db8a5073147f35b9e088c97497b
[ "MIT" ]
null
null
null
app/auth/forms.py
blazejosojca/flask_blog
2bac2f9c8bb60db8a5073147f35b9e088c97497b
[ "MIT" ]
1
2021-06-01T23:21:11.000Z
2021-06-01T23:21:11.000Z
app/auth/forms.py
blazejosojca/flask_blog
2bac2f9c8bb60db8a5073147f35b9e088c97497b
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from flask_wtf.file import FileAllowed, FileField from flask_babel import lazy_gettext as _l from wtforms import StringField, TextAreaField, SubmitField, PasswordField, BooleanField from wtforms.validators import DataRequired, Email, ValidationError, Length, EqualTo from app.models impo...
43.174419
111
0.664153
395
3,713
6.113924
0.23038
0.109317
0.062112
0.039337
0.597516
0.557764
0.491097
0.42029
0.344513
0.344513
0
0.004477
0.217883
3,713
85
112
43.682353
0.827135
0
0
0.227273
0
0
0.120926
0
0
0
0
0
0
1
0.090909
false
0.151515
0.090909
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fa81fc214c9e7372cdac762542256af383055ca7
1,232
py
Python
scrapy/arxiv1.py
SaeedPourjafar/ws_2021
6e91e70fc8f40007eb3c4d68282aa86b80b79363
[ "MIT" ]
null
null
null
scrapy/arxiv1.py
SaeedPourjafar/ws_2021
6e91e70fc8f40007eb3c4d68282aa86b80b79363
[ "MIT" ]
null
null
null
scrapy/arxiv1.py
SaeedPourjafar/ws_2021
6e91e70fc8f40007eb3c4d68282aa86b80b79363
[ "MIT" ]
null
null
null
# Please note that since the number of topics in computer science are exactly 40 and it's less than 100 # therefore we applied the limit on the second file (arxiv2.py) which has somewhere around 700-800 outputs # To run this file please put it in the spiders folder and run the code below in terminal/cmd: # scrapy ...
39.741935
139
0.650162
177
1,232
4.508475
0.644068
0.056391
0.048872
0
0
0
0
0
0
0
0
0.021186
0.233766
1,232
30
140
41.066667
0.824153
0.400162
0
0
0
0.058824
0.285714
0.145714
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.588235
0.058824
0
0
0
null
0
0
0
0
0
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
fa9523caf9ac0424eb71bc4eef12115550d20826
3,738
py
Python
scripts/gen_app_yaml.py
MatthewWilkes/mw4068-packaging
5c5d50eea89372e967994dac3bd8b06d25b4f0fa
[ "Apache-2.0" ]
null
null
null
scripts/gen_app_yaml.py
MatthewWilkes/mw4068-packaging
5c5d50eea89372e967994dac3bd8b06d25b4f0fa
[ "Apache-2.0" ]
null
null
null
scripts/gen_app_yaml.py
MatthewWilkes/mw4068-packaging
5c5d50eea89372e967994dac3bd8b06d25b4f0fa
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python2.5 # Copyright 2009 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
30.639344
96
0.697967
518
3,738
4.88417
0.378378
0.044269
0.021739
0.012648
0.04585
0.04585
0.021344
0.021344
0
0
0
0.004633
0.191546
3,738
121
97
30.892562
0.832561
0.191546
0
0.035088
0
0
0.228571
0.008571
0
0
0
0
0
0
null
null
0.017544
0.070175
null
null
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fa96f592ecf04753046dc1b36c84fb0196c05868
11,242
py
Python
gputools/transforms/transformations.py
jni/gputools
cecaa9565b9be0c716e6c11b0914bbbdfd75657c
[ "BSD-3-Clause" ]
null
null
null
gputools/transforms/transformations.py
jni/gputools
cecaa9565b9be0c716e6c11b0914bbbdfd75657c
[ "BSD-3-Clause" ]
null
null
null
gputools/transforms/transformations.py
jni/gputools
cecaa9565b9be0c716e6c11b0914bbbdfd75657c
[ "BSD-3-Clause" ]
null
null
null
""" scaling images """ from __future__ import print_function, unicode_literals, absolute_import, division import logging logger = logging.getLogger(__name__) import os import numpy as np import warnings from gputools import OCLArray, OCLImage, OCLProgram from gputools.core.ocltypes import cl_buffer_datatype_dict fr...
33.558209
147
0.610656
1,382
11,242
4.827062
0.181621
0.017988
0.020237
0.024284
0.539799
0.490781
0.460051
0.429171
0.426023
0.391096
0
0.013533
0.276997
11,242
334
148
33.658683
0.80721
0
0
0.384058
0
0.007246
0.204702
0.087934
0
0
0
0
0
0
null
null
0
0.072464
null
null
0.007246
0
0
0
null
0
0
0
0
0
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
fa97031b9abd030801b3037a4db301e08dded608
776
py
Python
index.py
genesis331/fdk-object-detection
b5859a5dea0bc87f7382022d08c3616ecd7d1b85
[ "MIT" ]
null
null
null
index.py
genesis331/fdk-object-detection
b5859a5dea0bc87f7382022d08c3616ecd7d1b85
[ "MIT" ]
null
null
null
index.py
genesis331/fdk-object-detection
b5859a5dea0bc87f7382022d08c3616ecd7d1b85
[ "MIT" ]
null
null
null
import streamlit as st from streamlit import caching import os import torch from src.core.detect import Detector from src.core.utils import utils from PIL import Image import cv2 st.title('1stDayKit Object Detection') st.write('1stDayKit is a high-level Deep Learning toolkit for solving generic tasks.') uploaded_file...
33.73913
86
0.706186
116
776
4.62931
0.551724
0.067039
0.040968
0
0
0
0
0
0
0
0
0.018779
0.176546
776
23
87
33.73913
0.821596
0
0
0
0
0
0.214929
0
0
0
0
0
0
1
0
false
0
0.380952
0
0.380952
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
fa9727363fedea573e43bf5393f3cdd76d8a0357
632
py
Python
modulo 2/d037/conversao.py
rafa-evangelista/PYTHON
761ec7e01f1617263bc023a6b82b599a936275ee
[ "MIT" ]
null
null
null
modulo 2/d037/conversao.py
rafa-evangelista/PYTHON
761ec7e01f1617263bc023a6b82b599a936275ee
[ "MIT" ]
null
null
null
modulo 2/d037/conversao.py
rafa-evangelista/PYTHON
761ec7e01f1617263bc023a6b82b599a936275ee
[ "MIT" ]
null
null
null
num = int(input('Digite um número: ')) print('''Qual será a base de conversão do número {} [1] para "binário" [2] para "octal" [3] para "hexadecimal"'''.format(num)) num1 = int(input('Escolha uma opção: ')) if num1 == 1: print('Você escolheu converter o número {} para binário. O valor é de {}.'.format( num...
33.263158
89
0.628165
95
632
4.178947
0.410526
0.09068
0.128463
0.196474
0.415617
0.415617
0.279597
0
0
0
0
0.02004
0.210443
632
18
90
35.111111
0.775551
0
0
0
0
0
0.571203
0
0
0
0
0
0
1
0
false
0
0
0
0
0.294118
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
fa9c176b0c5c5750593310639cb938dd5d20b975
1,789
py
Python
src/tester.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
src/tester.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
src/tester.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
from client import linodeClient import os linode = linodeClient(os.getcwd() + '/../.config') userInput = raw_input("What do you want to do?\n") if userInput == 'create': print(linode.createLinode('3', '1')) if userInput == 'destroy': userInput = raw_input("What do you want to destroy?\n") response = lin...
28.854839
75
0.643935
216
1,789
5.259259
0.277778
0.112676
0.048415
0.070423
0.284331
0.247359
0.206866
0.056338
0
0
0
0.003492
0.199553
1,789
61
76
29.327869
0.789804
0
0
0.265306
0
0
0.188373
0
0
0
0
0
0
0
null
null
0.040816
0.040816
null
null
0.204082
0
0
0
null
0
0
0
0
0
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
fa9cd956e95a761dad517dc12fcf1239628e18a4
6,694
py
Python
base/migrations/0002_auto_20210622_1947.py
francofgp/Syndeo
888a1001f2cbb2ff8b7247e84a2899dcbd08af80
[ "MIT" ]
3
2022-01-04T17:38:04.000Z
2022-01-05T12:45:22.000Z
base/migrations/0002_auto_20210622_1947.py
francofgp/Syndeo
888a1001f2cbb2ff8b7247e84a2899dcbd08af80
[ "MIT" ]
null
null
null
base/migrations/0002_auto_20210622_1947.py
francofgp/Syndeo
888a1001f2cbb2ff8b7247e84a2899dcbd08af80
[ "MIT" ]
null
null
null
# Generated by Django 3.2.2 on 2021-06-22 22:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0001_initial'), ] operations = [ migrations.CreateModel( ...
42.100629
155
0.582313
631
6,694
6.0729
0.174326
0.083507
0.065762
0.119781
0.722077
0.697547
0.612735
0.585073
0.479645
0.456681
0
0.007951
0.286077
6,694
158
156
42.367089
0.79389
0.006722
0
0.598684
1
0
0.124868
0.023018
0
0
0
0
0
1
0
false
0
0.019737
0
0.039474
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
faa43f92ed4419078ca8c87c5823af07d1f539bd
1,711
py
Python
test/synth_mcmc.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
1
2017-03-11T19:10:17.000Z
2017-03-11T19:10:17.000Z
test/synth_mcmc.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
null
null
null
test/synth_mcmc.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
null
null
null
# Run as script using 'python -m test.synth' import cPickle import os import scipy.io from models.model_factory import * from inference.gibbs import gibbs_sample from utils.avg_dicts import average_list_of_dicts from synth_harness import initialize_test_harness from plotting.plot_results import plot_results from popul...
32.903846
81
0.661017
247
1,711
4.336032
0.384615
0.029879
0.02521
0.024276
0
0
0
0
0
0
0
0.01875
0.251899
1,711
51
82
33.54902
0.817969
0.1128
0
0
0
0
0.05931
0
0
0
0
0
0
0
null
null
0
0.257143
null
null
0.057143
0
0
0
null
0
0
0
0
0
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
faa4586ea3fbf6fea84324823f11f12d5b8ac80d
1,297
py
Python
pysh/transforms/autoimport.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
3
2018-07-09T04:39:24.000Z
2020-11-27T05:44:56.000Z
pysh/transforms/autoimport.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
null
null
null
pysh/transforms/autoimport.py
drslump/pysh
673cdf2b5ea95dc3209cb294bb91cb2f298bb888
[ "MIT" ]
1
2018-08-02T21:57:11.000Z
2018-08-02T21:57:11.000Z
""" Every name reference is swapped for a call to ``__autoimport__``, which will check if it's part of the locals or globals, falling back to trying an import before giving up. """ from importlib import import_module from ast import NodeTransformer, copy_location, fix_missing_locations, \ AST, Call, Name, Load, St...
23.160714
72
0.652274
164
1,297
4.920732
0.463415
0.037175
0.02974
0.022305
0.034696
0.034696
0
0
0
0
0
0
0.256746
1,297
55
73
23.581818
0.837137
0.142637
0
0
0
0
0.025362
0
0
0
0
0
0
1
0.09375
false
0.03125
0.34375
0.03125
0.65625
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
faa609968ff5a4b42dcd92861e9a5c5ca3e91929
3,103
py
Python
apps/site/api/views/abstract_views.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
9
2015-05-29T22:22:20.000Z
2022-02-01T20:39:00.000Z
apps/site/api/views/abstract_views.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
143
2015-01-22T15:03:40.000Z
2020-06-27T01:55:29.000Z
apps/site/api/views/abstract_views.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
5
2015-03-16T20:51:49.000Z
2017-02-07T20:48:49.000Z
from localground.apps.lib.helpers import get_timestamp_no_milliseconds from localground.apps.site.api import filters from localground.apps.site import models from rest_framework import generics, status, exceptions from localground.apps.site.api.serializers.user_profile_serializer import \ UserProfileSerializer from...
36.081395
79
0.705769
326
3,103
6.641104
0.282209
0.055427
0.070208
0.040647
0.574134
0.538106
0.492379
0.492379
0.492379
0.492379
0
0
0.221399
3,103
85
80
36.505882
0.896109
0.090558
0
0.557377
0
0
0.018117
0
0
0
0
0
0
1
0.081967
false
0.04918
0.229508
0.016393
0.540984
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
faa7367cd6852d4396d5b354611f83726f61a9ab
690
py
Python
users/migrations/0017_auto_20190828_1311.py
dhanupandey12/Blog
fcd274b7249c255786b46cf81d6e949a903e9a53
[ "MIT" ]
null
null
null
users/migrations/0017_auto_20190828_1311.py
dhanupandey12/Blog
fcd274b7249c255786b46cf81d6e949a903e9a53
[ "MIT" ]
null
null
null
users/migrations/0017_auto_20190828_1311.py
dhanupandey12/Blog
fcd274b7249c255786b46cf81d6e949a903e9a53
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-08-28 07:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0016_friends'), ] operations = [ migrations.AlterModelOptions( name='friends', options={'verbose_name': 'Friend Lis...
25.555556
90
0.575362
63
690
6.142857
0.587302
0.113695
0.160207
0
0
0
0
0
0
0
0
0.039256
0.298551
690
26
91
26.538462
0.760331
0.065217
0
0.25
1
0
0.247278
0
0
0
0
0
0
1
0
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
faadc11e3f24c6373636e3bb5814da8ad0ad2c17
14,140
py
Python
anima/env/nukeEnv.py
tws0002/anima
73c256d1f7716a2db7933d6d8519a51333c7e5b4
[ "BSD-2-Clause" ]
null
null
null
anima/env/nukeEnv.py
tws0002/anima
73c256d1f7716a2db7933d6d8519a51333c7e5b4
[ "BSD-2-Clause" ]
null
null
null
anima/env/nukeEnv.py
tws0002/anima
73c256d1f7716a2db7933d6d8519a51333c7e5b4
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2012-2018, Anima Istanbul # # This module is part of anima-tools and is released under the BSD 2 # License: http://www.opensource.org/licenses/BSD-2-Clause import os import nuke from nukescripts import * from anima.env import empty_reference_resolution from anima.env.base import...
33.037383
111
0.585007
1,678
14,140
4.752682
0.196067
0.040125
0.024075
0.00815
0.228339
0.153103
0.081003
0.071975
0.036113
0.017053
0
0.004659
0.332108
14,140
427
112
33.114754
0.839792
0.315205
0
0.127451
0
0.004902
0.066079
0.020845
0
0
0
0.01171
0
1
0.112745
false
0.014706
0.04902
0.004902
0.254902
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
faaed7d726fb97374e33fe05e85c8cca35b6cc7d
2,015
py
Python
web/certificates/migrations/0011_doublecoutingregistration_doublecoutingregistrationinputoutput.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-03-22T18:13:12.000Z
2021-01-25T10:33:31.000Z
web/certificates/migrations/0011_doublecoutingregistration_doublecoutingregistrationinputoutput.py
MTES-MCT/carbure
2876756b760ab4866fa783bb40e61a046eebb1ab
[ "MIT" ]
20
2020-07-06T14:33:14.000Z
2022-03-15T16:54:17.000Z
web/certificates/migrations/0011_doublecoutingregistration_doublecoutingregistrationinputoutput.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-04-03T12:19:12.000Z
2021-06-15T12:20:57.000Z
# Generated by Django 3.2.4 on 2021-07-22 09:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0175_lotv2_lots_v2_year_87d135_idx'), ('certificates', '0010_auto_20210509_1038'), ] operations = [...
43.804348
144
0.60794
186
2,015
6.38172
0.451613
0.055602
0.047178
0.074136
0.432182
0.432182
0.36647
0.36647
0.27043
0.230834
0
0.031886
0.268486
2,015
45
145
44.777778
0.773406
0.022333
0
0.307692
1
0
0.292683
0.111789
0
0
0
0
0
1
0
false
0
0.051282
0
0.128205
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
fab1ae1fd23f251523f0e24d567662098132f1c5
232
py
Python
edx/problem_set_1/bob.py
spradeepv/dive-into-python
ec27d4686b7b007d21f9ba4f85d042be31ee2639
[ "MIT" ]
null
null
null
edx/problem_set_1/bob.py
spradeepv/dive-into-python
ec27d4686b7b007d21f9ba4f85d042be31ee2639
[ "MIT" ]
null
null
null
edx/problem_set_1/bob.py
spradeepv/dive-into-python
ec27d4686b7b007d21f9ba4f85d042be31ee2639
[ "MIT" ]
null
null
null
s = raw_input() find = 'bob' count = 0 index = 0 while index < len(s): index = s.find(find, index) if index == -1: break index += 2 count += 1 print "Number of times bob occurs is:", count
21.090909
45
0.521552
34
232
3.529412
0.588235
0
0
0
0
0
0
0
0
0
0
0.033333
0.353448
232
11
45
21.090909
0.766667
0
0
0
0
0
0.141631
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
fab458a70a67ab83469b992d3cb10888dc4cb5fd
6,321
py
Python
.qt_for_python/uic/installer.py
thomascswalker/bettergameexporter
4db3683a599d523e28c2f93bdcac889277130153
[ "MIT" ]
null
null
null
.qt_for_python/uic/installer.py
thomascswalker/bettergameexporter
4db3683a599d523e28c2f93bdcac889277130153
[ "MIT" ]
null
null
null
.qt_for_python/uic/installer.py
thomascswalker/bettergameexporter
4db3683a599d523e28c2f93bdcac889277130153
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'installer.ui' ## ## Created by: Qt User Interface Compiler version 5.15.1 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################...
42.422819
175
0.701946
620
6,321
7.095161
0.216129
0.109116
0.047738
0.057286
0.265515
0.134349
0.099341
0.076154
0.076154
0
0
0.025709
0.169277
6,321
148
176
42.709459
0.812036
0.035754
0
0
1
0
0.080574
0.009628
0
0
0
0
0
1
0.020408
false
0
0.030612
0
0.061224
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
fab4d1310e9ef911cecc3613e34d95dcfd6c0157
404
py
Python
paginas/migrations/0014_auto_20190206_2343.py
igor-pontes/Dolex
4d65a288fbf6cdf44628994fea3c821e8af2ea61
[ "MIT" ]
null
null
null
paginas/migrations/0014_auto_20190206_2343.py
igor-pontes/Dolex
4d65a288fbf6cdf44628994fea3c821e8af2ea61
[ "MIT" ]
4
2020-07-14T13:02:48.000Z
2021-06-10T20:27:09.000Z
paginas/migrations/0014_auto_20190206_2343.py
igor-pontes/Dolex
4d65a288fbf6cdf44628994fea3c821e8af2ea61
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-02-06 23:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paginas', '0013_auto_20190206_1739'), ] operations = [ migrations.AlterField( model_name='players_lobby', name='slot...
21.263158
63
0.608911
45
404
5.333333
0.844444
0
0
0
0
0
0
0
0
0
0
0.109589
0.277228
404
18
64
22.444444
0.712329
0.111386
0
0
1
0
0.131653
0.064426
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fab71b81531484d1696ade3aa93eda9a02495ebe
4,028
py
Python
design_patterns/factory_andri.py
andricampagnaro/documentacoes_e_testes
a12b1348dbb43ad72fe56a6287e228d6c031e36f
[ "MIT" ]
null
null
null
design_patterns/factory_andri.py
andricampagnaro/documentacoes_e_testes
a12b1348dbb43ad72fe56a6287e228d6c031e36f
[ "MIT" ]
4
2021-06-08T21:55:17.000Z
2022-01-13T02:57:49.000Z
design_patterns/factory_andri.py
andricampagnaro/documentacao_python3
a12b1348dbb43ad72fe56a6287e228d6c031e36f
[ "MIT" ]
null
null
null
# import logging # logging.basicConfig(filename='example.log',level=logging.DEBUG) # logging.debug('This message should go to the log file') # logging.info('So should this') # logging.warning('And this, too ã') class ValidaSmart(): def __init__(self): self._carrega_modulos_externos() def _carrega_mod...
33.566667
88
0.635055
430
4,028
5.62093
0.234884
0.037236
0.0753
0.069508
0.319404
0.29458
0.292925
0.22259
0.131568
0.131568
0
0.001851
0.195382
4,028
120
89
33.566667
0.743906
0.049652
0
0.235294
0
0
0.299806
0.083356
0
0
0
0
0
1
0.258824
false
0.023529
0
0.011765
0.341176
0.305882
0
0
0
null
0
0
0
0
0
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