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
1d1ac581b59a0c2d9ffa10dc5dad9768f58e2cab
3,376
py
Python
packages/grid/apps/domain/src/main/core/infrastructure/providers/azure/utils.py
exityan/PySyft
35166c487a5be57f9ad28929ed88a8ba6bdd5aeb
[ "Apache-2.0" ]
425
2019-09-22T06:14:53.000Z
2022-03-30T02:17:34.000Z
packages/grid/apps/domain/src/main/core/infrastructure/providers/azure/utils.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
352
2019-09-17T15:32:51.000Z
2022-03-12T01:07:35.000Z
packages/grid/apps/domain/src/main/core/infrastructure/providers/azure/utils.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
208
2019-09-18T18:32:10.000Z
2022-03-24T01:10:11.000Z
# stdlib import json import subprocess # third party from PyInquirer import prompt import click # grid relative from ...utils import Config from ...utils import styles class AZ: def locations_list(self): proc = subprocess.Popen( "az account list-locations", shell=True, ...
25.575758
115
0.512737
307
3,376
5.498371
0.299674
0.049763
0.060427
0.052133
0.387441
0.162322
0.162322
0.162322
0.103081
0.103081
0
0.047329
0.367891
3,376
131
116
25.770992
0.743674
0.044135
0
0.271028
0
0.009346
0.252651
0.05864
0
0
0
0
0
1
0.028037
false
0.037383
0.056075
0
0.121495
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
0
0
1
0
1d1ad5700c7e709bb9104f588aba454d223ca272
8,930
py
Python
sparv/core/preload.py
spraakbanken/sparv-pipeline
7293d42c577afdaf01ce8a936743f8b83d6eb962
[ "MIT" ]
17
2018-09-21T07:01:45.000Z
2022-02-24T23:26:49.000Z
sparv/core/preload.py
spraakbanken/sparv-pipeline
7293d42c577afdaf01ce8a936743f8b83d6eb962
[ "MIT" ]
146
2018-11-13T19:13:25.000Z
2022-03-31T09:57:56.000Z
sparv/core/preload.py
spraakbanken/sparv-pipeline
7293d42c577afdaf01ce8a936743f8b83d6eb962
[ "MIT" ]
5
2019-02-14T00:50:38.000Z
2021-03-29T15:37:41.000Z
"""Sparv preloader.""" import logging import multiprocessing import pickle import socket import struct import time from contextlib import contextmanager from pathlib import Path from typing import Dict, Iterator from rich.logging import RichHandler from sparv.core import config, log_handler from sparv.core.console im...
30.168919
119
0.643673
1,078
8,930
5.21243
0.24397
0.030254
0.017441
0.016017
0.077772
0.068873
0.059975
0.045738
0.038619
0
0
0.002734
0.262822
8,930
295
120
30.271186
0.850828
0.133259
0
0.188119
0
0.009901
0.107115
0.00327
0
0
0
0
0
1
0.059406
false
0
0.069307
0
0.217822
0.004951
0
0
0
null
0
0
0
0
0
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
1
0
1d1c5756061b18bbb1b7b5e25656572631739d00
1,273
py
Python
setup.py
gawainguo/Flask-AC
6b7c7ebe7721b1208d7596999ce29852a7e1879c
[ "MIT" ]
3
2018-11-09T09:06:01.000Z
2018-11-11T15:38:45.000Z
setup.py
gawainguo/Flask-AC
6b7c7ebe7721b1208d7596999ce29852a7e1879c
[ "MIT" ]
1
2018-11-11T15:39:04.000Z
2018-11-15T02:31:32.000Z
setup.py
gawainguo/Flask-AC
6b7c7ebe7721b1208d7596999ce29852a7e1879c
[ "MIT" ]
null
null
null
""" Flask-ac -------- Flask-ac provide role based access control(rbac) for Flask. This plugin implement tree-like permission structure for access control. Flask-ac is not implement persistent storage of user, roles and permissions, instead using self-defined loaders to load data from anywhere you want. """ from se...
25.979592
76
0.666143
148
1,273
5.621622
0.722973
0.042067
0.045673
0.072115
0
0
0
0
0
0
0
0.002994
0.212883
1,273
48
77
26.520833
0.827345
0.236449
0
0
0
0
0.401869
0.022845
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
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
0
0
1
0
1d2070f0787262f30a6d4117b7ff46c3f54c3405
887
py
Python
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class TransportContext(object): """ The System.Net.TransportContext class provides additional context about the underlying transport layer. """ def ZZZ(self): """hardcoded/mock instance of the class""" return TransportContext() instance=ZZZ() """hardcoded/returns an instance of the class""" def GetChann...
40.318182
186
0.740699
95
887
6.915789
0.526316
0.063927
0.039574
0.054795
0
0
0
0
0
0
0
0
0.172492
887
21
187
42.238095
0.895095
0.666291
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0
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
1
0
0
1
0
0
3
1d223111cfbe4ff9cf61540962d513bd338f369e
269
py
Python
Desafios/Desafio 14.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
Desafios/Desafio 14.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
Desafios/Desafio 14.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
print('=== Desafio 15 ===') print('Aluguel de carro') d = int(input('Por quantos dias o carro foi alugado? ')) k = float(input('Qual a quantidade de quilometros percorridos?')) rd = float(d*60) rk = float(k*0,15) r = float(rd + rk) print(f'Você tem a pagar R${r}')
20.692308
65
0.64684
47
269
3.702128
0.659574
0
0
0
0
0
0
0
0
0
0
0.03125
0.167286
269
12
66
22.416667
0.745536
0
0
0
0
0
0.516729
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d22a169803d6261276634a269c2a3746b0505a5
3,387
py
Python
lib/utils/views/tables.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
null
null
null
lib/utils/views/tables.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
2
2015-03-13T19:37:21.000Z
2018-06-20T23:06:41.000Z
lib/utils/views/tables.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from django.core.exceptions import ImproperlyConfigured from django.utils.translation import ugettext as _ from django_tables2.views import SingleTableMixin as BaseSingleTableMixin from .list import ListView from .utils import TableActions from ..html.icons.base import Icon from ..tables.util...
33.87
88
0.588131
371
3,387
5.150943
0.301887
0.040293
0.026688
0.031397
0.094715
0.094715
0.094715
0.094715
0.094715
0.072214
0
0.002537
0.301742
3,387
100
89
33.87
0.805497
0.0062
0
0.106667
0
0
0.076369
0
0
0
0
0
0
0
null
null
0
0.093333
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
1d23c85ef9eae66890a2576e320e829e63ded9b4
1,825
py
Python
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
import os import sys def usage(): print "%s script.b" % sys.argv[0] sys.exit(127) class Machine: def __init__(self, filename): self.filename = filename self.code = [] self.codePos = 0 self.tape = [] self.tapePos = 0 try: with open(filename, ...
28.515625
81
0.465205
216
1,825
3.875
0.268519
0.170848
0.143369
0.204301
0.307049
0.182796
0.182796
0.182796
0.182796
0.182796
0
0.028004
0.393425
1,825
63
82
28.968254
0.728094
0
0
0.12
0
0
0.015342
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.04
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
1
0
0
0
0
0
0
0
0
2
1d2415810e07270813c6afdcc29d272aef24020d
668
py
Python
ITcoach/DataAnalysis-master/day01/code/page30.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
ITcoach/DataAnalysis-master/day01/code/page30.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
ITcoach/DataAnalysis-master/day01/code/page30.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
# coding=utf-8 from matplotlib import pyplot as plt from matplotlib import font_manager my_font = font_manager.FontProperties(fname="/System/Library/Fonts/PingFang.ttc") y_1 = [1,0,1,1,2,4,3,2,3,4,4,5,6,5,4,3,3,1,1,1] y_2 = [1,0,3,1,2,2,3,3,2,1 ,2,1,1,1,1,1,1,1,1,1] x = range(11,31) #设置图形大小 plt.figure(figsize=(20,8...
21.548387
81
0.687126
142
668
3.140845
0.471831
0.053812
0.053812
0.053812
0.020179
0.020179
0.020179
0.020179
0
0
0
0.109477
0.083832
668
30
82
22.266667
0.619281
0.085329
0
0
0
0
0.112769
0.056385
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d25121bf6642b18ea19ea2d54bd4ec3807ae0af
3,830
py
Python
AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/MeshSurfaceTagEmitter_DependentOnMeshComponent.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/MeshSurfaceTagEmitter_DependentOnMeshComponent.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/MeshSurfaceTagEmitter_DependentOnMeshComponent.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
""" Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. SPDX-License-Identifier: Apache-2.0 OR MIT """ import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) import azlmbr.bus as bus impo...
39.484536
155
0.692689
493
3,830
5.231237
0.314402
0.041877
0.048856
0.073284
0.355564
0.320667
0.295463
0.237301
0.237301
0.176813
0
0.012676
0.237859
3,830
96
156
39.895833
0.870846
0.311227
0
0.04
0
0
0.158276
0.028594
0
0
0
0
0
1
0.06
false
0
0.18
0.02
0.28
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d2637ad7aaffc1418a08aa5a97b02603673de42
554
py
Python
blog/qiniu.py
yqh231/heroku_site
0d50b27a384901b5315f99f339a5e0dfb6df2b76
[ "Apache-2.0" ]
2
2017-05-02T10:18:16.000Z
2019-04-19T10:07:45.000Z
blog/qiniu.py
yqh231/heroku_site
0d50b27a384901b5315f99f339a5e0dfb6df2b76
[ "Apache-2.0" ]
null
null
null
blog/qiniu.py
yqh231/heroku_site
0d50b27a384901b5315f99f339a5e0dfb6df2b76
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from hashlib import sha1 import hmac import base64 import datetime import time import os def getToken(): AK = os.environ.get('AK') or ''#七牛Access Key,推荐写入环境变量 SK = os.environ.get('SK') or '' #七牛Secret Key,推荐写入环境变量 dl=int(time.mktime(datetime.datetime.now().timetuple()))+21600 s=...
27.7
70
0.66065
76
554
4.789474
0.539474
0.049451
0.065934
0
0
0
0
0
0
0
0
0.038961
0.166065
554
19
71
29.157895
0.748918
0.151625
0
0
0
0
0.08172
0.068817
0
0
0
0
0
1
0.0625
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
1d26647d4723f5235618279993d3fbddff95048d
2,600
py
Python
autohoot/einsum_ops/basic_ops.py
LinjianMa/AutoHOOT
5f9b790afb15cf4ae97cd0929a1db65d7c0347b3
[ "Apache-2.0" ]
13
2020-11-16T03:35:50.000Z
2022-03-02T05:20:16.000Z
autohoot/einsum_ops/basic_ops.py
LinjianMa/AutoHOOT
5f9b790afb15cf4ae97cd0929a1db65d7c0347b3
[ "Apache-2.0" ]
19
2020-10-02T00:52:08.000Z
2021-09-10T19:34:29.000Z
autohoot/einsum_ops/basic_ops.py
LinjianMa/AutoHOOT
5f9b790afb15cf4ae97cd0929a1db65d7c0347b3
[ "Apache-2.0" ]
1
2020-10-10T18:26:00.000Z
2020-10-10T18:26:00.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.666667
97
0.657692
400
2,600
4.1325
0.335
0.042347
0.039322
0.024198
0.259528
0.200847
0.15729
0.15729
0.107683
0.047187
0
0.014134
0.238077
2,600
74
98
35.135135
0.820293
0.375
0
0.111111
0
0
0.025381
0
0
0
0
0
0.083333
1
0.083333
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d267fee47b590f18e86beb01585b978947578b2
1,992
py
Python
pyconde/accounts/urls.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
5
2015-01-02T14:33:14.000Z
2021-08-03T10:19:07.000Z
pyconde/accounts/urls.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
null
null
null
pyconde/accounts/urls.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
3
2015-08-30T09:45:03.000Z
2017-04-08T12:15:22.000Z
from django.conf.urls import patterns, url from . import forms from . import views urlpatterns = patterns('django.contrib.auth.views', url(r'^login/$', 'login', {'template_name': 'userprofiles/login.html', 'authentication_form': forms.AuthenticationForm}, name='auth_login'), url(r'^p...
46.325581
102
0.678213
229
1,992
5.681223
0.279476
0.043044
0.046118
0.073789
0.093774
0
0
0
0
0
0
0.002347
0.144578
1,992
42
103
47.428571
0.76115
0
0
0
0
0.025641
0.478414
0.235944
0
0
0
0
0
1
0
false
0.333333
0.076923
0
0.076923
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
1d273c127b987c5a9a4f09849a747810b4fba7f6
456
py
Python
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig from django.db.models.signals import post_save, post_delete from django.conf import settings class SyncConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'sync' def ready(self): try: from .signals import init_signals ...
26.823529
59
0.671053
53
456
5.660377
0.603774
0.1
0.093333
0
0
0
0
0
0
0
0
0
0.254386
456
16
60
28.5
0.882353
0
0
0
0
0
0.166667
0.063596
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.692308
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1d27e0ec2cfcb3d79fec0c7c0ef9ea9efb7b7eba
1,816
py
Python
resistorCor.py
EduFreit4s/Python
fcefb055467f2ef1d8a2ce97d2da78ed9052f982
[ "MIT" ]
null
null
null
resistorCor.py
EduFreit4s/Python
fcefb055467f2ef1d8a2ce97d2da78ed9052f982
[ "MIT" ]
null
null
null
resistorCor.py
EduFreit4s/Python
fcefb055467f2ef1d8a2ce97d2da78ed9052f982
[ "MIT" ]
null
null
null
# =================================== # = https://github.com/EduFreit4s = # =================================== # TRADUZ CÓDIGO DE CORES DE RESISTORES DE QUATRO BANDAS # OBS : SAÍDA STRING def resistorCor(cor1, cor2, cor3, cor4): def corToNumber(cor): # CONVERTE COR DO PARAMETRO PARA ...
36.32
97
0.47467
179
1,816
4.837989
0.530726
0.080831
0.04157
0.051963
0.053118
0
0
0
0
0
0
0.072552
0.370044
1,816
50
98
36.32
0.680944
0.265419
0
0.055556
0
0
0.077044
0
0
0
0
0
0
1
0.111111
false
0
0
0.027778
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d290cbaf08552e34dffc797e9f3c2b29932eb60
7,018
py
Python
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
# # def _run_admin_command(self, command, params): # # available_commands = ["cancel_job", "view_job_logs"] # # if command not in available_commands: # # raise ValueError(f"{command} not an admin command. See {available_commands} ") # # commands = {"cancel_job": self.cancel_job, "view_job_logs": sel...
38.773481
109
0.596894
802
7,018
5.002494
0.220698
0.04661
0.045862
0.020937
0.086241
0.05334
0.043868
0.043868
0.043868
0.035394
0
0.00398
0.283984
7,018
180
110
38.988889
0.794428
0.936877
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
2
1d29be1a771cd9e0590fc73466c60e3543600577
1,705
py
Python
notifications/consumers.py
utkarsh23/endorsity-club
7b3684856f9e14284d9998931b7124505376ca5a
[ "MIT" ]
null
null
null
notifications/consumers.py
utkarsh23/endorsity-club
7b3684856f9e14284d9998931b7124505376ca5a
[ "MIT" ]
null
null
null
notifications/consumers.py
utkarsh23/endorsity-club
7b3684856f9e14284d9998931b7124505376ca5a
[ "MIT" ]
null
null
null
import json from asgiref.sync import async_to_sync from channels.layers import get_channel_layer from channels.generic.websocket import WebsocketConsumer from notifications.models import Notification class NotificationConsumer(WebsocketConsumer): def connect(self): """Authenticate the user and accept ...
29.396552
81
0.619355
189
1,705
5.417989
0.386243
0.042969
0.032227
0.029297
0.117188
0.117188
0.0625
0
0
0
0
0.002479
0.290323
1,705
57
82
29.912281
0.843802
0.181232
0
0.114286
0
0
0.090501
0.046372
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.314286
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
0
0
1
0
1d2a1731e6b6041175df26b900dc8590efbb797a
1,737
py
Python
qutipy/protocols/apply_teleportation_channel.py
sumeetkhatri/QuTIPy
ca2a3344c1caa818504425496ea37278d80b1c44
[ "Apache-2.0" ]
19
2020-11-11T13:00:22.000Z
2022-03-14T11:18:04.000Z
qutipy/protocols/apply_teleportation_channel.py
sumeetkhatri/QuTIPy
ca2a3344c1caa818504425496ea37278d80b1c44
[ "Apache-2.0" ]
null
null
null
qutipy/protocols/apply_teleportation_channel.py
sumeetkhatri/QuTIPy
ca2a3344c1caa818504425496ea37278d80b1c44
[ "Apache-2.0" ]
1
2022-03-03T15:20:15.000Z
2022-03-03T15:20:15.000Z
''' This code is part of QuTIpy. (c) Copyright Sumeet Khatri, 2021 This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license in the LICENSE.txt file in the root directory of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. Any modifications or derivative wor...
33.403846
172
0.723086
306
1,737
4.022876
0.421569
0.016247
0.029245
0.029245
0.066613
0.022746
0
0
0
0
0
0.021862
0.18365
1,737
52
173
33.403846
0.844852
0.616005
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1d2aa89261445c754be61bf1b35f8ba6bb1c3e45
3,061
py
Python
ecg_client.py
jtorniainen/ecgnode
9b03025b43417d126df2829e8ee16efdafb09c10
[ "MIT" ]
null
null
null
ecg_client.py
jtorniainen/ecgnode
9b03025b43417d126df2829e8ee16efdafb09c10
[ "MIT" ]
null
null
null
ecg_client.py
jtorniainen/ecgnode
9b03025b43417d126df2829e8ee16efdafb09c10
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Jari Torniainen <jari.torniainen@ttl.fi> # Finnish Institute of Occupational Health # Copyright 2015 # # This code is released under the MIT license # http://opensource.org/licenses/mit-license.php # # Please see the file LICENSE for details import pygame import reque...
27.827273
108
0.644561
391
3,061
4.846547
0.329923
0.05066
0.047493
0.026913
0.305013
0.278628
0.237467
0.237467
0.197361
0.197361
0
0.033798
0.226723
3,061
109
109
28.082569
0.766793
0.162365
0
0.25
0
0.03125
0.112593
0.025108
0
0
0
0.009174
0
1
0.078125
false
0
0.046875
0.015625
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
0
0
0
0
0
0
0
0
0
1
0
1d2bea8c6a7f20c4476edadefe36e9e239e2343f
1,339
py
Python
tests/test_models/test_utils/test_corrblock.py
hologerry/mmflow
40caf064851bd95317424e31cc137c0007a2bece
[ "Apache-2.0" ]
481
2021-11-16T07:04:23.000Z
2022-03-31T22:21:21.000Z
tests/test_models/test_utils/test_corrblock.py
hologerry/mmflow
40caf064851bd95317424e31cc137c0007a2bece
[ "Apache-2.0" ]
72
2021-11-16T12:25:55.000Z
2022-03-28T13:10:45.000Z
tests/test_models/test_utils/test_corrblock.py
hologerry/mmflow
40caf064851bd95317424e31cc137c0007a2bece
[ "Apache-2.0" ]
48
2021-11-16T06:48:46.000Z
2022-03-30T12:46:40.000Z
# Copyright (c) OpenMMLab. All rights reserved. from math import sqrt import pytest import torch from mmflow.models.utils import CorrBlock @pytest.mark.skipif(not torch.cuda.is_available(), reason='CUDA not available') @pytest.mark.parametrize('scaled', [True, False]) def test_corr_block(scaled): feat1 = torch....
34.333333
79
0.651979
168
1,339
5.029762
0.363095
0.074556
0.085207
0.12426
0.347929
0.347929
0.19645
0.149112
0
0
0
0.031159
0.23301
1,339
38
80
35.236842
0.791626
0.066468
0
0
0
0
0.049719
0
0
0
0
0
0.16
1
0.04
false
0
0.16
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
0
0
0
0
0
0
1
0
1d2cb6f583df1d724a5c905324ae339fd9c8521c
2,154
py
Python
defaultMetafileParser.py
gaybro8777/habitat
8b42074c8897f58cbcc09886b7258a68a4ddf090
[ "Apache-2.0" ]
8
2016-04-30T15:28:12.000Z
2021-12-30T20:54:47.000Z
defaultMetafileParser.py
gaybro8777/habitat
8b42074c8897f58cbcc09886b7258a68a4ddf090
[ "Apache-2.0" ]
1
2021-12-30T21:09:56.000Z
2021-12-30T21:09:56.000Z
defaultMetafileParser.py
sitedata/habitat
8b42074c8897f58cbcc09886b7258a68a4ddf090
[ "Apache-2.0" ]
5
2016-06-09T16:41:09.000Z
2022-02-18T04:51:49.000Z
''' File: defaultMetafileParser.py Copy this file as a starting point for a custom metadata file parser and replace with customer version of parsebody (maintain signature). Author: Ken Robbins, March 2016 Copyright 2016 Novartis Institutes for BioMedical Research Licensed under the Apache License, Version 2.0...
26.925
92
0.655989
268
2,154
5.238806
0.563433
0.042735
0.014245
0.025641
0
0
0
0
0
0
0
0.015489
0.250696
2,154
79
93
27.265823
0.854399
0.560353
0
0
0
0
0.117021
0
0
0
0
0.012658
0.035714
1
0.142857
false
0.035714
0.035714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1d2d1707eb4e6d8f44377b65afc47847232dfecf
30,952
py
Python
jsrows.py
codeforamerica/sheltraustin
a07ffd4b328a9d961347a85b49c95d8bf5ec1046
[ "BSD-3-Clause" ]
null
null
null
jsrows.py
codeforamerica/sheltraustin
a07ffd4b328a9d961347a85b49c95d8bf5ec1046
[ "BSD-3-Clause" ]
1
2015-08-03T21:27:36.000Z
2015-08-03T21:27:36.000Z
jsrows.py
codeforamerica/sheltraustin
a07ffd4b328a9d961347a85b49c95d8bf5ec1046
[ "BSD-3-Clause" ]
1
2021-04-17T10:13:29.000Z
2021-04-17T10:13:29.000Z
location = {loc : [ -97.732517999999999, 30.259606000000002 ], 'mental_health': 'N', 'med_service': 'Y', 'food': 'Y', 'private': 'N', 'shelter': 'N', 'subst_abuse_service': 'N', 'med_facility': 'Y', 'title': 'Manos De Cristo: Dental Clinic', 'address': '1201 E Cesar Chavez St, Austin, TX 78702, USA'} db.austindb.inser...
162.052356
374
0.655111
3,937
30,952
5.029718
0.153924
0.058176
0.081557
0.091152
0.715483
0.710686
0.707201
0.703515
0.671245
0.669427
0
0.138404
0.115986
30,952
191
375
162.052356
0.585301
0
0
0.5
0
0
0.505008
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
1d30f23c6727904b652bf46b8809b6b193789095
22,080
py
Python
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
2
2015-02-11T23:02:13.000Z
2021-03-26T06:39:58.000Z
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
2
2015-01-19T13:40:47.000Z
2015-03-04T07:06:07.000Z
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
5
2015-01-13T14:53:04.000Z
2015-03-13T02:54:06.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed unde...
39.148936
79
0.546467
2,301
22,080
5.007823
0.112994
0.058231
0.054673
0.02994
0.744424
0.709624
0.693396
0.689491
0.675952
0.665625
0
0.012848
0.340806
22,080
563
80
39.218472
0.778839
0.023777
0
0.599558
0
0
0.134614
0.010676
0
0
0
0
0.159292
1
0.057522
false
0.004425
0.028761
0
0.09292
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1d31b977564dc71e7940278a32776b4137bb4071
870
py
Python
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
from .. import BaseApi, NamedEndpoint from .urls import ContentApiUrls class ContentApi(NamedEndpoint): """ This class wraps the Val-Content-v1 Api calls provided by the Riot API. See https://developer.riotgames.com/apis#val-content-v1 for more detailed information """ def __init__(self, bas...
29
84
0.662069
103
870
5.339806
0.592233
0.050909
0.043636
0
0
0
0
0
0
0
0
0.003082
0.254023
870
29
85
30
0.844376
0.414943
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1d3309bc274656018de222a60894266542029c04
230
py
Python
setup.py
web-sys1/SeismicSonify
9c0c3880bb403a94bb4f8ca937976e4fef849cbe
[ "MIT" ]
26
2020-06-03T17:46:16.000Z
2022-03-20T09:39:12.000Z
setup.py
web-sys1/SeismicSonify
9c0c3880bb403a94bb4f8ca937976e4fef849cbe
[ "MIT" ]
6
2021-12-01T19:32:56.000Z
2022-02-23T22:25:14.000Z
setup.py
liamtoney/sonify
28e03900fe75dfe7f93a5f0ae91fc5ad0ed1cc4e
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup from sonify import __version__ setup( name='sonify', version=__version__, packages=find_packages(), entry_points=dict(console_scripts='sonify = sonify.sonify:main'), )
20.909091
69
0.747826
27
230
5.925926
0.555556
0.15
0
0
0
0
0
0
0
0
0
0
0.152174
230
10
70
23
0.820513
0
0
0
0
0
0.143478
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1d34590963f5f38d99527dbc1562cdf57a07186c
2,811
py
Python
ve/unit/test_in.py
cmarqu/pyvsc
c7ff708256b7cdce0eccab8b7d6e2037edbdc5fa
[ "Apache-2.0" ]
null
null
null
ve/unit/test_in.py
cmarqu/pyvsc
c7ff708256b7cdce0eccab8b7d6e2037edbdc5fa
[ "Apache-2.0" ]
null
null
null
ve/unit/test_in.py
cmarqu/pyvsc
c7ff708256b7cdce0eccab8b7d6e2037edbdc5fa
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.89011
99
0.506581
381
2,811
3.624672
0.304462
0.036206
0.057929
0.063722
0.435916
0.435916
0.404055
0.404055
0.404055
0.404055
0
0.02432
0.385628
2,811
91
100
30.89011
0.775333
0.333333
0
0.8
0
0
0.011892
0
0
0
0
0
0
1
0.133333
false
0
0.088889
0
0.288889
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1d35816f874492c596c0c80e5339e40d5d0c398d
5,284
py
Python
build/lib/fab_addon_turbowidgets/widgets.py
lemeur/fab_addon_turbowidgets
9ae89cb06b236af9ec2e81e86fcc3d5ccde040fb
[ "MIT" ]
null
null
null
build/lib/fab_addon_turbowidgets/widgets.py
lemeur/fab_addon_turbowidgets
9ae89cb06b236af9ec2e81e86fcc3d5ccde040fb
[ "MIT" ]
null
null
null
build/lib/fab_addon_turbowidgets/widgets.py
lemeur/fab_addon_turbowidgets
9ae89cb06b236af9ec2e81e86fcc3d5ccde040fb
[ "MIT" ]
null
null
null
import json import logging from flask_babel import lazy_gettext as _ from markupsafe import Markup #from wtforms import widgets from wtforms.widgets import html_params, HTMLString from wtforms import SelectField from wtforms.compat import izip, text_type log = logging.getLogger(__name__) DEFAULT_JSEDITOR_CONFIG = { ...
31.640719
143
0.575511
579
5,284
4.930915
0.248705
0.039229
0.025219
0.023818
0.084764
0.084764
0.068651
0.051138
0.028722
0
0
0.005208
0.309614
5,284
166
144
31.831325
0.777412
0.009841
0
0.094203
0
0.007246
0.198808
0.042492
0
0
0
0
0
1
0.043478
false
0
0.050725
0
0.123188
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
0
0
1
0
1d36e906a5b1061cbbd34d130e802c023af6d395
3,780
py
Python
wsgi_lineprof/formatter.py
ymyzk/wsgi_lineprof
7aca9899f7d6c08747b17893b47ee8e92347ab9a
[ "MIT" ]
48
2016-10-03T14:04:38.000Z
2021-12-22T04:02:37.000Z
wsgi_lineprof/formatter.py
ymyzk/wsgi_lineprof
7aca9899f7d6c08747b17893b47ee8e92347ab9a
[ "MIT" ]
52
2016-11-30T16:13:24.000Z
2021-10-16T15:56:53.000Z
wsgi_lineprof/formatter.py
ymyzk/wsgi_lineprof
7aca9899f7d6c08747b17893b47ee8e92347ab9a
[ "MIT" ]
3
2017-05-30T03:36:44.000Z
2021-07-13T13:10:08.000Z
from abc import ABCMeta, abstractmethod import inspect import itertools import linecache from os import path from typing import Any, cast, Dict, Sequence import colorama from wsgi_lineprof.stats import LineProfilerStat, LineProfilerStats from wsgi_lineprof.types import Stream class BaseFormatter(metaclass=ABCMeta):...
35.327103
87
0.533333
422
3,780
4.689573
0.303318
0.072259
0.026276
0.042446
0.191006
0.096008
0.096008
0.096008
0.056594
0
0
0.00886
0.343122
3,780
106
88
35.660377
0.788159
0.051852
0
0.202247
0
0
0.073826
0
0
0
0
0.009434
0
1
0.067416
false
0
0.101124
0.022472
0.269663
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
0
0
1
0
1d370ce200f5d51b82bfad5cfc999bc9dd17a50f
4,611
py
Python
backup.py
0xfadead/soundcloud-backup
2132d6d21707577486d5632eca6b6194f02b7fa5
[ "MIT" ]
null
null
null
backup.py
0xfadead/soundcloud-backup
2132d6d21707577486d5632eca6b6194f02b7fa5
[ "MIT" ]
null
null
null
backup.py
0xfadead/soundcloud-backup
2132d6d21707577486d5632eca6b6194f02b7fa5
[ "MIT" ]
null
null
null
import requests import zipfile import tempfile import sys import argparse import time CLIENT_ID = 'JlZIsxg2hY5WnBgtn3jfS0UYCl0K8DOg' INFO_BASE_URL = 'https://api.soundcloud.com/resolve.json' TRACKS_BASE_URL = 'https://api.soundcloud.com/users/{:d}/tracks' LIMIT = 50 # the max track data SoundCloud will return ARCHIV...
31.367347
88
0.585556
568
4,611
4.639085
0.330986
0.039469
0.032258
0.024288
0.075901
0.075901
0.054649
0.054649
0.054649
0.054649
0
0.008896
0.292995
4,611
146
89
31.582192
0.799387
0.050748
0
0.135593
0
0
0.170101
0.007326
0
0
0
0.006849
0
1
0.050847
false
0
0.050847
0
0.194915
0.076271
0
0
0
null
0
0
0
0
0
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
1
0
1d3ab01e36180285711e2ffbcad7ba2b517d7211
5,564
py
Python
distpy/workers/strainrate2summary.py
billmcchesney1/distpy
fa49d2a910b164514057ee75fa570397b7004159
[ "MIT" ]
23
2020-02-12T13:25:22.000Z
2022-01-19T07:09:39.000Z
distpy/workers/strainrate2summary.py
billmcchesney1/distpy
fa49d2a910b164514057ee75fa570397b7004159
[ "MIT" ]
2
2020-03-09T11:24:00.000Z
2020-09-14T10:50:51.000Z
distpy/workers/strainrate2summary.py
billmcchesney1/distpy
fa49d2a910b164514057ee75fa570397b7004159
[ "MIT" ]
11
2020-03-28T16:40:39.000Z
2021-07-30T16:02:12.000Z
# (C) 2020, Schlumberger. Refer to LICENSE import numpy import datetime import scipy.signal import os import distpy.io_help.io_helpers as io_helpers import distpy.io_help.directory_services as directory_services import distpy.calc.pub_command_set as pub_command_set import distpy.calc.extra_numpy as extra_numpy import...
38.909091
143
0.640546
707
5,564
4.932108
0.291372
0.069401
0.031546
0.018354
0.208775
0.161744
0.154287
0.137081
0.137081
0.137081
0
0.009192
0.257009
5,564
142
144
39.183099
0.834301
0.183681
0
0.147368
0
0
0.086103
0.005309
0
0
0
0
0
1
0.031579
false
0
0.094737
0
0.157895
0.010526
0
0
0
null
0
0
0
0
0
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
1
0
1d3b37227fa67f63b24e1ab4a3e9bca2332dd99a
542
py
Python
backend.py
LRAbbade/postal-validator
4f705fdb766eee8e16f61a82cfef1b25f78a42a6
[ "MIT" ]
1
2019-08-13T20:48:03.000Z
2019-08-13T20:48:03.000Z
backend.py
LRAbbade/postal-validator
4f705fdb766eee8e16f61a82cfef1b25f78a42a6
[ "MIT" ]
null
null
null
backend.py
LRAbbade/postal-validator
4f705fdb766eee8e16f61a82cfef1b25f78a42a6
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, jsonify from main import Validate app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route('/validate') def validate_cep(): cep = str(request.args.get('cep')) try: res = Validate(cep) error = None...
19.357143
58
0.586716
69
542
4.391304
0.492754
0.019802
0.019802
0
0
0
0
0
0
0
0
0.010076
0.267528
542
27
59
20.074074
0.753149
0
0
0
0
0
0.095941
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.045455
0.272727
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
0
0
1
0
1d3e82a670bdb1776ae183cbe465aaa5f1d7f137
1,537
py
Python
supports/pyload/src/pyload/plugins/downloaders/ShareplaceCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
1
2020-04-02T17:03:39.000Z
2020-04-02T17:03:39.000Z
supports/pyload/src/pyload/plugins/downloaders/ShareplaceCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
supports/pyload/src/pyload/plugins/downloaders/ShareplaceCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import re import urllib.parse from ..base.simple_downloader import SimpleDownloader class ShareplaceCom(SimpleDownloader): __name__ = "ShareplaceCom" __type__ = "downloader" __version__ = "0.19" __status__ = "testing" __pyload_version__ = "0.5" __pattern__ = r"http:...
31.367347
82
0.594665
177
1,537
4.870057
0.60452
0.055684
0.013921
0.016241
0
0
0
0
0
0
0
0.012563
0.223162
1,537
48
83
32.020833
0.70938
0.013663
0
0
0
0.030303
0.309115
0.081902
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.606061
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
0
0
1
0
1d3f37cd6bdd6993696e9d21e1416800284f7f74
145
py
Python
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
1
2016-06-14T21:54:34.000Z
2016-06-14T21:54:34.000Z
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
null
null
null
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
null
null
null
from h2pubsub import Client client = Client(address='localhost', port=443) client.subscribe('/test') while True: print(client.receive())
14.5
46
0.724138
18
145
5.833333
0.777778
0.228571
0
0
0
0
0
0
0
0
0
0.032
0.137931
145
9
47
16.111111
0.808
0
0
0
0
0
0.097902
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
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
3
1d3fc716405a553729bd9e96eb9a365b1dce30fd
87
py
Python
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
1
2021-11-04T11:49:46.000Z
2021-11-04T11:49:46.000Z
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
8
2019-12-16T09:37:36.000Z
2020-07-02T06:00:30.000Z
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
null
null
null
name = input('What is your name? ') print('Hello, {}, nice to meet you!'.format(name))
29
50
0.643678
14
87
4
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
2
51
43.5
0.756757
0
0
0
0
0
0.54023
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
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
1
0
3
1d4048ca3098d4827db9662975d9206ac1e37948
3,152
py
Python
app/perm_app.py
StatML-dAI/dnn-inference
f17b6945dfff80118e25f1b39b56c3e4027b3b92
[ "MIT" ]
4
2020-12-08T18:53:31.000Z
2021-11-23T11:29:17.000Z
app/perm_app.py
statmlben/dnn-inference
fef1cbe9382141dfe5c81e84a6bd39f7a17cd736
[ "MIT" ]
null
null
null
app/perm_app.py
statmlben/dnn-inference
fef1cbe9382141dfe5c81e84a6bd39f7a17cd736
[ "MIT" ]
2
2022-02-17T15:57:42.000Z
2022-02-20T11:50:45.000Z
from __future__ import print_function import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D, MaxPooling2D from tensorflow.python.keras import backend as K import numpy as np import time from numpy import linalg ...
30.901961
115
0.695431
522
3,152
4.059387
0.377395
0.030203
0.023596
0.033034
0.117036
0.07362
0.058518
0.058518
0.03681
0
0
0.077548
0.140863
3,152
101
116
31.207921
0.704948
0.229061
0
0.0625
0
0
0.063123
0
0
0
0
0
0
1
0.015625
false
0
0.265625
0
0.296875
0.046875
0
0
0
null
0
0
0
0
0
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
1
0
1d44201cc80a01ee7dce6e56338d1f7b7bb103f3
3,144
py
Python
preprocess.py
Mblakey/MOLVAE-Tensorflow-2
55d37b9560450c1f3d83c3b0c852301bd7271659
[ "MIT" ]
null
null
null
preprocess.py
Mblakey/MOLVAE-Tensorflow-2
55d37b9560450c1f3d83c3b0c852301bd7271659
[ "MIT" ]
null
null
null
preprocess.py
Mblakey/MOLVAE-Tensorflow-2
55d37b9560450c1f3d83c3b0c852301bd7271659
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import tensorflow as tf from tensorflow import keras from tensorflow.keras.utils import to_categorical from sklearn.model_selection import train_test_split def Smiles_Tokeniser(smiles): toke_smiles = list(smiles) return toke_smiles def max_length_list(input_list): ...
34.933333
104
0.672074
462
3,144
4.337662
0.28355
0.06487
0.031437
0.0499
0.174651
0.160679
0.160679
0.098802
0.098802
0.098802
0
0.009705
0.213422
3,144
90
105
34.933333
0.800647
0.038168
0
0.181818
0
0
0.179021
0.00728
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.151515
0.348485
0
0
0
null
0
0
0
0
0
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
1
0
1d45f187ba9cc2962a4c50c91b9b536fbe900389
300
py
Python
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
null
null
null
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
1
2021-05-26T03:18:01.000Z
2021-05-26T03:18:01.000Z
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
null
null
null
from django.http import JsonResponse from django.views import View import logging logger = logging.getLogger('sample_log') class SampleLogEndPoint(View): def get(self, request): logger.info('access to SampleLogEndPoint') return JsonResponse({'status': 201, 'msg': 'success'})
23.076923
62
0.723333
35
300
6.171429
0.742857
0.092593
0
0
0
0
0
0
0
0
0
0.012
0.166667
300
12
63
25
0.852
0
0
0
0
0
0.176667
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1d4678ad04ea0836fb25388266d9121d37ee740d
2,196
py
Python
src/merge.py
mgarriott/PDFMerger
ae1167bf832cae947ac13b4625b7c50e1704da67
[ "BSD-2-Clause" ]
2
2019-05-31T17:04:33.000Z
2021-05-16T17:29:04.000Z
src/merge.py
mgarriott/PDFMerger
ae1167bf832cae947ac13b4625b7c50e1704da67
[ "BSD-2-Clause" ]
null
null
null
src/merge.py
mgarriott/PDFMerger
ae1167bf832cae947ac13b4625b7c50e1704da67
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python ''' Merge together a pdf document containing only front pages with a separate document containing only back pages and save the result into a new document. @author: Matt Garriott ''' import argparse import os from pyPdf import PdfFileReader, PdfFileWriter def merge(fppath, bppath, outputpath, no...
38.526316
115
0.674408
277
2,196
5.256318
0.400722
0.030907
0.058379
0.026786
0.142857
0.10989
0.067308
0.067308
0.067308
0.067308
0
0.000581
0.215847
2,196
56
116
39.214286
0.844948
0.088798
0
0
0
0
0.260913
0
0
0
0
0
0
1
0.026316
false
0
0.078947
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d4760116a8feed0c99ce2b394d2997de58d3e57
935
py
Python
src/MainAPP/migrations/0005_thermostats.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
null
null
null
src/MainAPP/migrations/0005_thermostats.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
9
2017-11-21T15:45:18.000Z
2022-02-11T03:37:54.000Z
src/MainAPP/migrations/0005_thermostats.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
1
2020-07-22T02:24:17.000Z
2020-07-22T02:24:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-26 10:40 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('MainAPP', '0004_auto_20180418_1544'), ] ...
33.392857
214
0.60107
96
935
5.677083
0.677083
0.044037
0.051376
0.080734
0
0
0
0
0
0
0
0.050445
0.279144
935
27
215
34.62963
0.75816
0.072727
0
0
1
0
0.219833
0.027479
0
0
0
0
0
1
0
false
0
0.15
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1d492fa174915f915fc8c814aa3a7b4fc924cfe1
3,722
py
Python
neurovault/apps/statmaps/tests/test_counter.py
abitrolly/NeuroVault
e62bc65c8e0e58bff55bb9fa7cf11193dc54d734
[ "MIT" ]
68
2015-02-07T06:09:49.000Z
2022-03-03T22:58:33.000Z
neurovault/apps/statmaps/tests/test_counter.py
abitrolly/NeuroVault
e62bc65c8e0e58bff55bb9fa7cf11193dc54d734
[ "MIT" ]
436
2015-01-01T01:01:13.000Z
2021-11-07T18:24:00.000Z
neurovault/apps/statmaps/tests/test_counter.py
abitrolly/NeuroVault
e62bc65c8e0e58bff55bb9fa7cf11193dc54d734
[ "MIT" ]
60
2015-01-10T23:31:26.000Z
2021-08-10T06:39:57.000Z
import os.path from django.contrib.auth.models import User from django.core.files.uploadedfile import SimpleUploadedFile from django.test import TestCase, Client from neurovault.apps.statmaps.forms import NIDMResultsForm from neurovault.apps.statmaps.models import Collection, StatisticMap, Comparison from neurovault....
57.261538
143
0.68834
485
3,722
5.191753
0.342268
0.050834
0.021446
0.030977
0.205322
0.205322
0.205322
0.179905
0.142971
0.142971
0
0.032481
0.222461
3,722
64
144
58.15625
0.837595
0.272434
0
0.136364
0
0
0.152392
0.053022
0
0
0
0
0.068182
0
null
null
0
0.181818
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
1d498e78b566a14f91a958cfce1f1978c77ba59a
32,045
py
Python
tests/test_ls.py
jain-aayush1123/here-location-services-python
11ad5ef8273b4f243c43bc00ebd470f725b980bc
[ "Apache-2.0" ]
16
2021-02-15T13:49:29.000Z
2022-03-29T10:34:43.000Z
tests/test_ls.py
jain-aayush1123/here-location-services-python
11ad5ef8273b4f243c43bc00ebd470f725b980bc
[ "Apache-2.0" ]
8
2021-02-27T18:40:46.000Z
2021-10-03T15:49:27.000Z
tests/test_ls.py
jain-aayush1123/here-location-services-python
11ad5ef8273b4f243c43bc00ebd470f725b980bc
[ "Apache-2.0" ]
11
2021-02-16T04:58:08.000Z
2022-02-21T20:51:55.000Z
# Copyright (C) 2019-2021 HERE Europe B.V. # SPDX-License-Identifier: Apache-2.0 import json from datetime import datetime, timedelta import pandas as pd import pytest import pytz from geojson import FeatureCollection, Point from geojson.geometry import LineString from here_location_services import LS from here_loca...
32.077077
98
0.610298
3,676
32,045
5.103917
0.132481
0.03102
0.03198
0.012259
0.726735
0.691184
0.666453
0.653129
0.601642
0.555325
0
0.091941
0.266188
32,045
998
99
32.109218
0.705932
0.021657
0
0.550905
0
0
0.087555
0.020449
0
0
0
0
0.085973
1
0.026018
false
0.003394
0.022624
0
0.048643
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
0
0
1
0
1d4a7092fa4de80605dd946265c14ef7be1cd1c6
521
py
Python
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
lista = (int(input('Digite um número: ')), int(input('Digite outro número: ')), int(input('Digite mais um número: ')), int(input('Digite o último número: '))) print(f'Você digitou os valores {lista}') print(f'O número 9 apareceu {lista.count(9)} vez(es)') if 3 in lista: print(f'O número 3...
34.733333
64
0.610365
84
521
3.785714
0.511905
0.100629
0.176101
0.188679
0.251572
0
0
0
0
0
0
0.022277
0.224568
521
14
65
37.214286
0.764851
0
0
0
0
0
0.520154
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
1
0
2
1d4aaaedaed33648bb853e2714233c79fd50b6e3
2,890
py
Python
cmsplugin_filer_video/models.py
Zeerooth/cmsplugin-filer
e1083b3abbeeaa1e09a95548936ad70432a2cf31
[ "BSD-3-Clause" ]
5
2019-12-13T10:55:36.000Z
2020-09-21T06:37:28.000Z
cmsplugin_filer_video/models.py
Zeerooth/cmsplugin-filer
e1083b3abbeeaa1e09a95548936ad70432a2cf31
[ "BSD-3-Clause" ]
1
2021-03-01T14:46:54.000Z
2021-03-01T14:46:54.000Z
cmsplugin_filer_video/models.py
Zeerooth/cmsplugin-filer
e1083b3abbeeaa1e09a95548936ad70432a2cf31
[ "BSD-3-Clause" ]
8
2020-02-25T12:40:13.000Z
2021-11-20T17:16:40.000Z
from __future__ import unicode_literals from cms.models import CMSPlugin from cmsplugin_filer_video import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from filer.fields.file import FilerFileField from filer.fields.image import FilerImageField from os.path import basena...
34.404762
196
0.651211
333
2,890
5.396396
0.333333
0.075125
0.100167
0.045075
0.115748
0.092376
0.064552
0.064552
0.064552
0.064552
0
0.005783
0.222145
2,890
83
197
34.819277
0.793594
0.00519
0
0.171429
0
0.014286
0.133658
0.008006
0
0
0
0
0
1
0.071429
false
0
0.114286
0.028571
0.514286
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
1d4ada56e05db3d12c957fcb29e86567d6fe7e9d
341
py
Python
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url from django.urls import include from api.seq import views urlpatterns = [ path('chipseq/', include('api.seq.chipseq.urls')), path('counts', views.counts, name='counts'), path('mapped', views.mapped, name='mapped'), path('type', views.data_t...
26.230769
54
0.695015
48
341
4.916667
0.375
0.127119
0.118644
0.169492
0
0
0
0
0
0
0
0
0.143695
341
12
55
28.416667
0.808219
0
0
0
0
0
0.175953
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1d4ae17041f29d8b2b01fbaeb51039292f4a9347
6,159
py
Python
tests/tags_tests.py
yoursantu/indiannewsplus
252f0367b43ec2edea636157bcf2d8a92dda6f3f
[ "MIT" ]
null
null
null
tests/tags_tests.py
yoursantu/indiannewsplus
252f0367b43ec2edea636157bcf2d8a92dda6f3f
[ "MIT" ]
null
null
null
tests/tags_tests.py
yoursantu/indiannewsplus
252f0367b43ec2edea636157bcf2d8a92dda6f3f
[ "MIT" ]
null
null
null
"""Tests for tags of the ``multilingual_news``` application.""" from django.test import TestCase from django.test.client import RequestFactory from django.utils.translation import activate from cms.api import add_plugin from mixer.backend.django import mixer from ..templatetags.multilingual_news_tags import ( get...
38.018519
79
0.639552
682
6,159
5.576246
0.193548
0.047857
0.062582
0.075204
0.61767
0.548777
0.482514
0.432027
0.185117
0.105706
0
0.005466
0.257347
6,159
161
80
38.254658
0.825973
0.055041
0
0.328244
0
0
0.205248
0.06318
0
0
0
0
0.091603
1
0.061069
false
0
0.045802
0
0.167939
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
0
0
1
0
1d4b3704523e5ede209ca40a8ab2c453344b2984
3,590
py
Python
dwave_networkx/drawing/tests/test_chimera_layout.py
mstechly/dwave_networkx
c319222ba47c83d86bd9d0de045c497d37ffd8ad
[ "Apache-2.0" ]
null
null
null
dwave_networkx/drawing/tests/test_chimera_layout.py
mstechly/dwave_networkx
c319222ba47c83d86bd9d0de045c497d37ffd8ad
[ "Apache-2.0" ]
null
null
null
dwave_networkx/drawing/tests/test_chimera_layout.py
mstechly/dwave_networkx
c319222ba47c83d86bd9d0de045c497d37ffd8ad
[ "Apache-2.0" ]
null
null
null
from __future__ import division import unittest import networkx as nx import dwave_networkx as dnx try: import matplotlib.pyplot as plt _plt = True except ImportError: _plt = False try: import numpy as np _numpy = True except ImportError: _numpy = False class TestDrawing(unittest.TestCase)...
35.544554
77
0.614763
538
3,590
3.908922
0.200743
0.104612
0.120304
0.135996
0.668093
0.633381
0.594864
0.555873
0.526391
0.475036
0
0.049498
0.251532
3,590
100
78
35.9
0.73316
0
0
0.358025
0
0
0.069081
0
0
0
0
0
0.061728
1
0.135802
false
0
0.098765
0
0.246914
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
0
0
1
0
1d4eb77e993ae5d7ecbe885fa52cf0468a55034f
6,634
py
Python
priorgen/accuracy_utils.py
joshjchayes/PriorGen
228be0b06dca29ad2ad33ae216f494eaead6161f
[ "MIT" ]
1
2021-12-09T10:29:20.000Z
2021-12-09T10:29:20.000Z
priorgen/accuracy_utils.py
joshjchayes/PriorGen
228be0b06dca29ad2ad33ae216f494eaead6161f
[ "MIT" ]
null
null
null
priorgen/accuracy_utils.py
joshjchayes/PriorGen
228be0b06dca29ad2ad33ae216f494eaead6161f
[ "MIT" ]
null
null
null
''' accuracy_utils Module for checking accuracy of retrieval ''' from scipy.optimize import fsolve from scipy.spatial import distance import numpy as np from ._scaler import Scaler class RetrievalMetricCalculator: def __init__(self, parameter_limits): ''' The RetrievalMetricCalculator generate...
39.023529
110
0.679379
789
6,634
5.56654
0.215463
0.047587
0.025501
0.027322
0.357924
0.275273
0.238616
0.238616
0.210838
0.192623
0
0.004474
0.258818
6,634
169
111
39.254438
0.888753
0.523364
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.095238
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
0
0
0
0
1
0
1d4f74536ff6515a48d3969048610b4404195d0e
715
py
Python
dumpsec.py
fengjixuchui/Diff
5a5fc56add03d9d21fad746d5f24584c5a1807a8
[ "MIT" ]
23
2018-09-19T11:46:18.000Z
2022-02-09T01:15:07.000Z
dumpsec.py
fengjixuchui/Diff
5a5fc56add03d9d21fad746d5f24584c5a1807a8
[ "MIT" ]
1
2020-05-06T01:31:06.000Z
2020-05-06T15:07:12.000Z
dumpsec.py
fengjixuchui/Diff
5a5fc56add03d9d21fad746d5f24584c5a1807a8
[ "MIT" ]
9
2018-09-19T16:07:45.000Z
2021-02-27T17:51:33.000Z
import sys try: import pefile except ImportError: print 'You have to install pefile (pip install pefile)' sys.exit() def main(): if len(sys.argv) < 2: print 'usage: dumpsec.py program.exe' return pe = pefile.PE(sys.argv[1], fast_load=True) data = pe.get_memory_mapped_image() i = 0 for secti...
28.6
107
0.67972
100
715
4.72
0.58
0.133475
0.09322
0
0
0
0
0
0
0
0
0.013468
0.169231
715
25
108
28.6
0.781145
0
0
0
0
0
0.157514
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.136364
0
0
0
null
0
0
0
0
0
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
1d518bb241852d7660d529d7b5b0b7f7be5c652f
1,708
py
Python
djangocms_responsive_image/forms.py
febsn/djangocms-responsive-image
e7ab02a8ab4119d1a60aa21e50380072b53755ff
[ "MIT" ]
2
2016-05-03T15:53:56.000Z
2017-05-19T12:05:40.000Z
djangocms_responsive_image/forms.py
febsn/djangocms-responsive-image
e7ab02a8ab4119d1a60aa21e50380072b53755ff
[ "MIT" ]
null
null
null
djangocms_responsive_image/forms.py
febsn/djangocms-responsive-image
e7ab02a8ab4119d1a60aa21e50380072b53755ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms from .models import ImagePlugin from .conf import settings class GlossaryFormBase(forms.ModelForm): glossary_fields = tuple() def __init__(self, data=None, files=None, **kwargs): # set values for glossary form ...
34.16
89
0.649297
188
1,708
5.755319
0.414894
0.051756
0.018484
0.025878
0.123845
0.123845
0.072089
0
0
0
0
0.005482
0.252342
1,708
49
90
34.857143
0.841817
0.062061
0
0.054054
0
0
0.031309
0
0
0
0
0
0
1
0.054054
false
0.027027
0.108108
0
0.486486
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
0
0
1
0
1d51a3a76cc8e751c6626a8d0cc5f4bfc08027a7
1,898
py
Python
6_API/resources/DbModels.py
misoA/DeepCalendar
50cafc1e70f125f3b6b42cd88e1e9dd071676b49
[ "MIT" ]
null
null
null
6_API/resources/DbModels.py
misoA/DeepCalendar
50cafc1e70f125f3b6b42cd88e1e9dd071676b49
[ "MIT" ]
3
2019-01-14T06:59:24.000Z
2019-01-14T07:48:38.000Z
6_API/resources/DbModels.py
misoA/DeepCalendar
50cafc1e70f125f3b6b42cd88e1e9dd071676b49
[ "MIT" ]
5
2019-01-08T05:01:26.000Z
2021-05-17T23:34:51.000Z
# -*- coding: utf-8 -*- from sqlalchemy import MetaData, Table from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() # DB Model Auto Generate engine = create_engine('mysql://{USER_NAME}:{PASSWORD}@{DB_END_POINT}:{DB_PORT}/{DB_NAME}?charset=utf8', echo=F...
35.148148
116
0.742887
217
1,898
6.133641
0.21659
0.094666
0.147258
0.150263
0.442524
0.442524
0.413974
0
0
0
0
0.001221
0.136986
1,898
53
117
35.811321
0.811355
0.023182
0
0
0
0
0.115613
0.042139
0
0
0
0
0
1
0
false
0.029412
0.088235
0
0.911765
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
1d52719ed2516a3f8bd34a155778582c73bc5fcd
1,898
py
Python
python/arrays/first_non_repeating_integers.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
null
null
null
python/arrays/first_non_repeating_integers.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
11
2020-01-09T06:53:45.000Z
2022-02-11T01:34:44.000Z
python/arrays/first_non_repeating_integers.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
1
2017-03-18T17:19:43.000Z
2017-03-18T17:19:43.000Z
def solution(A): # O(N) """ Given an array find the first non-repeating integers in the array >>> solution([3, 2, 3, 2, 5, 4, 3, 4]) 5 >>> solution([3, 2, 3, 2, '%', 5, 4, 'd', 3, 4]) 5 >>> solution([3, 2, 3, 2, 5, 4, 3, 4, 8]) 5 >>...
47.45
74
0.301897
171
1,898
3.251462
0.269006
0.057554
0.071942
0.079137
0.323741
0.276978
0.276978
0.276978
0.276978
0.276978
0
0.07152
0.58746
1,898
39
75
48.666667
0.63857
0.179136
0
0.16
0
0
0.03877
0
0
0
0
0
0
1
0.04
false
0
0.04
0
0.12
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
1d52b010fc72c96e98bed9f723780c67116e3f6a
2,741
py
Python
db/db.py
kovalev-vxx/A-Q_teleBot
2184237cc7811aa44caa31281d932a78f682aa9e
[ "MIT" ]
null
null
null
db/db.py
kovalev-vxx/A-Q_teleBot
2184237cc7811aa44caa31281d932a78f682aa9e
[ "MIT" ]
null
null
null
db/db.py
kovalev-vxx/A-Q_teleBot
2184237cc7811aa44caa31281d932a78f682aa9e
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, Boolean, create_engine from sqlalchemy.engine.base import Engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker from sqlalchemy.orm.session import Session from config import config Base = declarative_base() engine = creat...
32.630952
90
0.630427
331
2,741
5.018127
0.208459
0.061409
0.036123
0.075256
0.410596
0.397351
0.397351
0.397351
0.397351
0.344371
0
0
0.264867
2,741
84
91
32.630952
0.824318
0
0
0.416667
0
0
0.039752
0.007659
0
0
0
0
0
1
0.069444
false
0
0.083333
0
0.486111
0.013889
0
0
0
null
0
0
0
0
0
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
1
0
1d52dba3286ff40b1b601b6c256425c0907c82ca
5,760
py
Python
github_poster/loader/multiple_loader.py
Likenttt/GitHubPoster
cd1226de8ebcc0e7b1a9b9a9082ff4e8807d6710
[ "MIT" ]
null
null
null
github_poster/loader/multiple_loader.py
Likenttt/GitHubPoster
cd1226de8ebcc0e7b1a9b9a9082ff4e8807d6710
[ "MIT" ]
null
null
null
github_poster/loader/multiple_loader.py
Likenttt/GitHubPoster
cd1226de8ebcc0e7b1a9b9a9082ff4e8807d6710
[ "MIT" ]
1
2021-10-13T06:31:36.000Z
2021-10-13T06:31:36.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from collections import defaultdict from github_poster.loader.base_loader import BaseLoader class MutipleLoader(BaseLoader): def __init__(self, from_year, to_year, _type, **kwargs): super().__init__(from_year, to_year, _type) self.types = kwargs.get(...
27.042254
68
0.483333
553
5,760
4.764919
0.22604
0.088805
0.167742
0.039848
0.273245
0.139658
0.118406
0.054649
0
0
0
0.002336
0.405556
5,760
212
69
27.169811
0.767231
0.030382
0
0.342246
0
0
0.233183
0.007935
0
0
0
0
0
1
0.032086
false
0.042781
0.010695
0
0.053476
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
0
0
1
0
1d533ac704007e352566535daa013459de87cb75
2,284
py
Python
P2_image_captioning/model.py
arroqc/udacity
d531f99ac6379954ade3cb1c3b4ded1533ef6512
[ "MIT" ]
null
null
null
P2_image_captioning/model.py
arroqc/udacity
d531f99ac6379954ade3cb1c3b4ded1533ef6512
[ "MIT" ]
null
null
null
P2_image_captioning/model.py
arroqc/udacity
d531f99ac6379954ade3cb1c3b4ded1533ef6512
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torchvision.models as models class EncoderCNN(nn.Module): def __init__(self, embed_size): super(EncoderCNN, self).__init__() resnet = models.resnet50(pretrained=True) for param in resnet.parameters(): param.requires_grad_(False) ...
39.37931
125
0.580998
276
2,284
4.626812
0.398551
0.049334
0.03289
0.023493
0.115897
0.079875
0.043853
0
0
0
0
0.008344
0.317863
2,284
58
126
39.37931
0.811297
0.116462
0
0.043478
0
0.021739
0.054067
0
0
0
0
0
0
1
0.108696
false
0
0.065217
0
0.282609
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
0
0
1
0
1d55ec0c123c6896d300cdeb5803b622b9e097e9
3,070
py
Python
Labs/LinearRegression/plots.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
10
2016-10-18T19:54:25.000Z
2021-10-09T20:12:38.000Z
Labs/LinearRegression/plots.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
null
null
null
Labs/LinearRegression/plots.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
2
2017-05-14T16:07:59.000Z
2020-06-20T09:05:06.000Z
import matplotlib matplotlib.rcParams = matplotlib.rc_params_from_file('../../matplotlibrc') import numpy as np from matplotlib import pyplot as plt from sklearn import linear_model housing = np.load('housingprices.npy') challenger = np.load('challenger.npy') def raw(): plt.plot(housing[:,1], housing[:,0], 'o'...
27.909091
83
0.594137
503
3,070
3.584493
0.192843
0.016639
0.022185
0.026622
0.465336
0.465336
0.445369
0.445369
0.445369
0.445369
0
0.059379
0.171661
3,070
110
84
27.909091
0.649626
0.043648
0
0.465909
0
0
0.126708
0.008197
0
0
0
0
0
1
0.068182
false
0
0.045455
0
0.113636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d5998826a48a0c705799b042d89f7c86bfa0a68
2,983
py
Python
tests/corpora/test_dbl_bundle_text.py
johnml1135/machine.py
7bfb668b81d6af476f7ee797900e111c3027d542
[ "MIT" ]
null
null
null
tests/corpora/test_dbl_bundle_text.py
johnml1135/machine.py
7bfb668b81d6af476f7ee797900e111c3027d542
[ "MIT" ]
null
null
null
tests/corpora/test_dbl_bundle_text.py
johnml1135/machine.py
7bfb668b81d6af476f7ee797900e111c3027d542
[ "MIT" ]
null
null
null
from machine.scripture import VerseRef from tests.corpora.dbl_bundle_test_environment import DblBundleTestEnvironment def test_get_segments_nonempty_text() -> None: with DblBundleTestEnvironment() as env: text = env.corpus.get_text("MAT") segments = list(text.get_segments()) assert len(se...
43.867647
100
0.681193
397
2,983
4.979849
0.153652
0.184117
0.109256
0.133536
0.773394
0.590794
0.457764
0.295903
0.273647
0.273647
0
0.030591
0.189071
2,983
67
101
44.522388
0.786689
0
0
0.304348
0
0
0.119343
0
0
0
0
0
0.695652
1
0.065217
false
0
0.043478
0
0.108696
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
1d5c64559255b57af22709eadd89e57c13a09bc1
3,210
py
Python
funcs.py
iw4p/NimiPA
3833b38416c6603955b972a8d9524330f1a739b0
[ "MIT" ]
null
null
null
funcs.py
iw4p/NimiPA
3833b38416c6603955b972a8d9524330f1a739b0
[ "MIT" ]
null
null
null
funcs.py
iw4p/NimiPA
3833b38416c6603955b972a8d9524330f1a739b0
[ "MIT" ]
null
null
null
import zipfile import os import shutil import plistlib ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) RootDir1 = ROOT_DIR + '/Extract' # RootIcon = ROOT_DIR + '/Data/PNGs/AppIcon60x60@3x.png' appName = "" bundleID = "" version = "" buildNumber = "" # ROOT_DIR = "" # RootDir1 = ROOT_DIR + '/Extract' # def ...
30.865385
98
0.693769
308
3,210
7.146104
0.269481
0.047706
0.034075
0.012267
0.378919
0.340754
0.340754
0.291686
0.291686
0.291686
0
0.005273
0.172897
3,210
104
99
30.865385
0.823729
0.295016
0
0.113208
0
0
0.202052
0.067351
0
0
0
0
0
1
0.169811
false
0
0.075472
0
0.339623
0.075472
0
0
0
null
0
0
0
0
0
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
1
0
1d5cac5d4783cdfd5fbf54c092cbac91dd82e976
2,565
py
Python
task_mail.py
Noel-git/OSS_final
1199c5c7ce054da01c9dfb33c2035540a7693550
[ "BSD-3-Clause" ]
null
null
null
task_mail.py
Noel-git/OSS_final
1199c5c7ce054da01c9dfb33c2035540a7693550
[ "BSD-3-Clause" ]
null
null
null
task_mail.py
Noel-git/OSS_final
1199c5c7ce054da01c9dfb33c2035540a7693550
[ "BSD-3-Clause" ]
1
2022-02-13T00:46:27.000Z
2022-02-13T00:46:27.000Z
import urllib.request import re import numpy as np import os, sys, time import datetime from bs4 import BeautifulSoup import smtplib from email.mime.text import MIMEText from time import sleep import random from urllib.request import HTTPError from urllib.request import URLError def mailfunc(year,semester...
27.580645
242
0.557115
313
2,565
4.469649
0.434505
0.046462
0.017155
0.022873
0.07005
0.07005
0.040029
0
0
0
0
0.02035
0.310331
2,565
92
243
27.880435
0.770492
0
0
0.031746
0
0.015873
0.152597
0.043831
0
0
0
0
0
1
0.015873
false
0.031746
0.190476
0
0.222222
0.015873
0
0
0
null
0
0
0
0
0
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
1
0
1d5e45170b1659e845321f052e99691ec4fa47d1
94,637
py
Python
gameserver/tests.py
hammertoe/didactic-spork
8d02836f9d3a0d707eea22d480553a8fdc35a0df
[ "Apache-2.0" ]
null
null
null
gameserver/tests.py
hammertoe/didactic-spork
8d02836f9d3a0d707eea22d480553a8fdc35a0df
[ "Apache-2.0" ]
1
2017-02-14T12:00:14.000Z
2017-02-14T12:00:14.000Z
gameserver/tests.py
hammertoe/didactic-spork
8d02836f9d3a0d707eea22d480553a8fdc35a0df
[ "Apache-2.0" ]
null
null
null
import unittest from datetime import datetime, timedelta import time import dateutil import mock import transaction import flask_testing from models import Base, Edge, Node, Player, Goal, Policy, Funding, Budget from network import Network from game import Game, get_game from utils import random from wallet import Wa...
35.969973
136
0.595613
11,926
94,637
4.602801
0.046872
0.092544
0.041681
0.047729
0.809174
0.757328
0.729346
0.687993
0.665331
0.635582
0
0.058834
0.265425
94,637
2,630
137
35.98365
0.730789
0.005843
0
0.608741
0
0
0.068287
0.009179
0
0
0
0.00038
0.30911
0
null
null
0.00158
0.008425
null
null
0
0
0
0
null
0
0
0
1
1
1
0
0
1
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
5
1d5ed91a6c42e6d6c4605027a657c48bce3dbbe1
10,954
py
Python
ariadne/point_net/processor.py
t3hseus/ariadne
b4471a37741000e22281c4d6ff647d65ab9e1914
[ "MIT" ]
6
2020-08-28T22:44:07.000Z
2022-01-24T20:53:00.000Z
ariadne/point_net/processor.py
t3hseus/ariadne
b4471a37741000e22281c4d6ff647d65ab9e1914
[ "MIT" ]
1
2021-02-20T09:38:46.000Z
2021-02-20T09:38:46.000Z
ariadne/point_net/processor.py
t3hseus/ariadne
b4471a37741000e22281c4d6ff647d65ab9e1914
[ "MIT" ]
2
2021-10-04T09:25:06.000Z
2022-02-09T09:09:09.000Z
import logging import os from typing import Tuple, Iterable, Optional, List import gin import pandas as pd import numpy as np from ariadne.point_net.point.points import Points, save_points_new from ariadne.preprocessing import ( BaseTransformer, DataProcessor, DataChunk, ProcessedDataChunk, Proces...
37.006757
100
0.595855
1,294
10,954
4.809892
0.127512
0.083226
0.048201
0.047237
0.623715
0.613914
0.594473
0.594473
0.542577
0.538239
0
0.008495
0.279989
10,954
295
101
37.132203
0.780652
0.034873
0
0.535088
0
0
0.092871
0.015715
0
0
0
0
0
1
0.070175
false
0
0.039474
0.008772
0.214912
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
0
0
1
0
1d630971cba9f6e65624ec37bc4a69988cc209f0
2,972
py
Python
setup.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
1
2022-03-14T07:35:13.000Z
2022-03-14T07:35:13.000Z
setup.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
3
2022-03-24T02:30:18.000Z
2022-03-31T07:46:04.000Z
setup.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
null
null
null
from os.path import abspath, dirname, join from setuptools import find_packages, setup # Fetches the content from README.md # This will be used for the "long_description" field. with open(join(dirname(abspath(__file__)), "README.md"), encoding='utf-8') as f: README_MD = f.read() setup( # The name of your proje...
37.15
92
0.693136
441
2,972
4.628118
0.414966
0.030867
0.037727
0.046546
0.049976
0.033317
0
0
0
0
0
0.008696
0.22611
2,972
79
93
37.620253
0.878696
0.654778
0
0
0
0
0.280612
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
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
0
0
1
0
1d669e385798d178181fbbd3e80e0e9a94ed8b03
10,595
py
Python
swagger_client/models/test_merge.py
ike709/tgs4-api-pyclient
97918cfe614cc4ef06ef2485efff163417a8cd44
[ "MIT" ]
null
null
null
swagger_client/models/test_merge.py
ike709/tgs4-api-pyclient
97918cfe614cc4ef06ef2485efff163417a8cd44
[ "MIT" ]
null
null
null
swagger_client/models/test_merge.py
ike709/tgs4-api-pyclient
97918cfe614cc4ef06ef2485efff163417a8cd44
[ "MIT" ]
null
null
null
# coding: utf-8 """ TGS API A production scale tool for BYOND server management # noqa: E501 OpenAPI spec version: 9.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class TestMerge(object): """NOTE: This class is a...
29.027397
193
0.587164
1,344
10,595
4.463542
0.114583
0.070678
0.100017
0.095016
0.572262
0.496249
0.479247
0.375063
0.294716
0.153359
0
0.023547
0.322605
10,595
364
194
29.107143
0.812317
0.414535
0
0.078431
1
0
0.063688
0.004311
0
0
0
0
0
1
0.169935
false
0
0.019608
0
0.313725
0.013072
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
1d66cedab3a666243728b609aaec1e14208ec61e
2,987
py
Python
tests/test_parsvd_serial.py
mengaldo/PyParSVD
773e885355076375d596083ee3ab52c2779eef01
[ "MIT" ]
30
2021-02-25T19:25:21.000Z
2022-03-07T01:43:54.000Z
tests/test_parsvd_serial.py
mengaldo/PyParSVD
773e885355076375d596083ee3ab52c2779eef01
[ "MIT" ]
1
2021-09-12T21:26:03.000Z
2021-09-29T14:00:31.000Z
tests/test_parsvd_serial.py
mengaldo/PyParSVD
773e885355076375d596083ee3ab52c2779eef01
[ "MIT" ]
10
2021-02-25T21:33:15.000Z
2022-03-06T13:08:30.000Z
import os import sys import shutil import pytest import subprocess import xarray as xr import numpy as np # Current, parent and file paths CWD = os.getcwd() CF = os.path.realpath(__file__) CFD = os.path.dirname(CF) # Import library specific modules sys.path.append(os.path.join(CFD, "../")) sys.path.append(os.path.j...
34.732558
70
0.688316
417
2,987
4.788969
0.258993
0.035053
0.070105
0.039059
0.569855
0.52679
0.350526
0.324487
0.064096
0
0
0.213919
0.153331
2,987
85
71
35.141176
0.575722
0.057248
0
0
0
0
0.043835
0.007484
0
0
0
0
0.285714
1
0.015873
false
0
0.142857
0
0.15873
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
1d6899acaef28c3d3178f6885bc65bff3f550f05
26,957
py
Python
sarcastic_comments.py
nagi1995/sarcastic-news-headlines-classification
2fbc2c936cec946896161552fcffbe0cb71116c0
[ "Apache-2.0" ]
null
null
null
sarcastic_comments.py
nagi1995/sarcastic-news-headlines-classification
2fbc2c936cec946896161552fcffbe0cb71116c0
[ "Apache-2.0" ]
null
null
null
sarcastic_comments.py
nagi1995/sarcastic-news-headlines-classification
2fbc2c936cec946896161552fcffbe0cb71116c0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # <a href="https://colab.research.google.com/github/nagi1995/sarcastic-comment-detection/blob/main/Sarcastic_Comments.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> # In[1]: from google.colab import drive dr...
23.198795
371
0.669659
3,848
26,957
4.490385
0.14657
0.015279
0.011459
0.011575
0.656404
0.621217
0.590428
0.569825
0.557961
0.537936
0
0.034872
0.172386
26,957
1,161
372
23.218777
0.739623
0.0631
0
0.626761
0
0.003521
0.189754
0.022742
0
0
0
0
0
1
0.010563
false
0
0.056338
0.005282
0.075704
0.03169
0
0
0
null
0
0
0
0
0
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
1
0
1d699bede1bd0de3d82711a3efc8b955f53e785d
14,098
py
Python
motifscan/motif/__init__.py
shao-lab/Motifscan
eb5efbc9e450ba8e9c0e5b64a8c9c4340b765d02
[ "BSD-3-Clause" ]
14
2017-12-27T06:45:56.000Z
2021-11-05T13:13:34.000Z
motifscan/motif/__init__.py
shao-lab/Motifscan
eb5efbc9e450ba8e9c0e5b64a8c9c4340b765d02
[ "BSD-3-Clause" ]
3
2020-05-22T05:53:35.000Z
2021-01-22T07:58:27.000Z
motifscan/motif/__init__.py
shao-lab/Motifscan
eb5efbc9e450ba8e9c0e5b64a8c9c4340b765d02
[ "BSD-3-Clause" ]
1
2020-09-09T21:55:59.000Z
2020-09-09T21:55:59.000Z
""" motifscan.motif --------------- Module for motif related classes and functions. """ import logging import os import re from motifscan.config import Config from motifscan.exceptions import PfmsFileNotFoundError, \ PwmsFileNotFoundError, PfmsJasparFormatError, PwmsMotifScanFormatError from motifscan.genome imp...
35.069652
79
0.53348
1,627
14,098
4.47941
0.149355
0.015368
0.015093
0.034577
0.373628
0.305708
0.249726
0.198546
0.150659
0.114709
0
0.030327
0.370833
14,098
401
80
35.157107
0.791319
0.258122
0
0.352941
0
0
0.078856
0.015263
0
0
0
0
0
1
0.067873
false
0
0.031674
0.004525
0.135747
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
0
0
1
0
1d6a58181fb6c8b3fec6f2ed10b70a2a998af8c6
387
py
Python
ex6.py
SandarSoe/python1_exercise
17cddea4d742c10fe3bb2bc2b4429977db357a61
[ "MIT" ]
null
null
null
ex6.py
SandarSoe/python1_exercise
17cddea4d742c10fe3bb2bc2b4429977db357a61
[ "MIT" ]
null
null
null
ex6.py
SandarSoe/python1_exercise
17cddea4d742c10fe3bb2bc2b4429977db357a61
[ "MIT" ]
null
null
null
x="There are %d types of people." % 10 binary="binary" do_not="don't " y="Those who know %s and those who %s." % (binary, do_not) print (x) print (y) print ("I said: %r." %x) print ("I also said: '%s'." %y) hilarious =False joke_evaluation="Isn't that joke so funny?! %r" print (joke_evaluation % hilarious) w="This is t...
22.764706
58
0.651163
73
387
3.39726
0.589041
0.064516
0.08871
0
0
0
0
0
0
0
0
0.006231
0.170543
387
16
59
24.1875
0.766355
0
0
0
0
0
0.490909
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
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
1d6a78c132cd00cba80ae58b28faea8af5729dee
821
py
Python
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
1
2018-02-09T01:26:33.000Z
2018-02-09T01:26:33.000Z
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
null
null
null
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
null
null
null
import os import sys import unittest import Test8Case import ODBCHelper def setHe(he): Test8Case.helper = he def injectParam(param,tepar) : Test8Case.param = param Test8Case.teparam = tepar class TestSuite(unittest.TestCase): def setUp(self): self.param = Test8Case.param s...
24.878788
81
0.61754
89
821
5.696629
0.41573
0.12426
0.18146
0
0
0
0
0
0
0
0
0.018425
0.272838
821
32
82
25.65625
0.830821
0.266748
0
0
0
0
0.00846
0
0
0
0
0
0
1
0.263158
false
0
0.263158
0
0.578947
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
1d6b77d7ffda23d35dcf570e0f37a02bba8cb003
6,742
py
Python
tests/custom.py
vsoch/django-river-ml
67bea67770809e75323a68cac660f528e673f5d2
[ "Apache-2.0" ]
6
2022-02-24T10:26:06.000Z
2022-03-07T02:44:37.000Z
tests/custom.py
vsoch/django-river-ml
67bea67770809e75323a68cac660f528e673f5d2
[ "Apache-2.0" ]
null
null
null
tests/custom.py
vsoch/django-river-ml
67bea67770809e75323a68cac660f528e673f5d2
[ "Apache-2.0" ]
null
null
null
import collections import functools import random from typing import Dict, List from river import base, utils def iter_counts(X: List[List[str]]): """ Given lists of words, return vocabularies with counts. This is useful for the VariableVocabKMeans model that expects this input. Parameters -----...
31.504673
95
0.577573
900
6,742
4.278889
0.268889
0.016359
0.021813
0.034536
0.114516
0.096339
0.085692
0.074786
0.048299
0
0
0.011301
0.304361
6,742
213
96
31.652582
0.809808
0.553842
0
0.028986
0
0
0.00384
0
0
0
0
0
0
1
0.130435
false
0
0.072464
0.014493
0.304348
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
0
0
1
0
1d6b85556904e23be368445d1a45aa9c9e365db6
12,956
py
Python
doc/examples/multi_taper_spectral_estimation.py
slnovak/nitime
8182d032caf5ad9ca2f46fc428c87cb8d5dde133
[ "BSD-3-Clause" ]
1
2017-02-02T23:52:23.000Z
2017-02-02T23:52:23.000Z
doc/examples/multi_taper_spectral_estimation.py
slnovak/nitime
8182d032caf5ad9ca2f46fc428c87cb8d5dde133
[ "BSD-3-Clause" ]
null
null
null
doc/examples/multi_taper_spectral_estimation.py
slnovak/nitime
8182d032caf5ad9ca2f46fc428c87cb8d5dde133
[ "BSD-3-Clause" ]
null
null
null
""" .. _multi-taper-psd: =============================== Multi-taper spectral estimation =============================== The distribution of power in a signal, as a function of frequency, known as the power spectrum (or PSD, for power spectral density) can be estimated using variants of the discrete Fourier transfor...
31.754902
165
0.737651
2,002
12,956
4.695804
0.273227
0.011701
0.017232
0.026806
0.154877
0.118392
0.08063
0.066908
0.062121
0.049144
0
0.020972
0.175594
12,956
407
166
31.832924
0.859189
0.244288
0
0.121951
0
0
0.072591
0
0
0
0
0
0
1
0.012195
false
0
0.097561
0
0.121951
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
0
0
1
0
1d6ba565cf85ab39807e15a90e796ac2aba9b48f
16,253
py
Python
python/fixrgraph/musedev/test/test_api.py
LesleyLai/biggroum
e26de363e4bf4645dd5d90121742d3f3533f5a00
[ "Apache-2.0" ]
7
2019-02-14T17:28:29.000Z
2021-01-11T07:12:34.000Z
python/fixrgraph/musedev/test/test_api.py
LesleyLai/biggroum
e26de363e4bf4645dd5d90121742d3f3533f5a00
[ "Apache-2.0" ]
23
2018-08-19T23:06:54.000Z
2020-04-14T08:21:05.000Z
python/fixrgraph/musedev/test/test_api.py
LesleyLai/biggroum
e26de363e4bf4645dd5d90121742d3f3533f5a00
[ "Apache-2.0" ]
4
2018-06-28T18:22:55.000Z
2019-03-21T06:36:56.000Z
""" Test the creation of the index """ import sys import logging import os import json import copy import subprocess import tempfile import shutil from flask import Flask, Response from multiprocessing import Process from cStringIO import StringIO try: import unittest2 as unittest except ImportError: import...
42.883905
952
0.559035
1,576
16,253
5.630076
0.199873
0.033134
0.015778
0.025245
0.574214
0.490026
0.441339
0.405274
0.375747
0.364477
0
0.01764
0.316372
16,253
378
953
42.997355
0.780938
0.019566
0
0.280528
0
0.036304
0.248979
0.090595
0
0
0
0.002646
0.069307
1
0.056106
false
0
0.062706
0.0033
0.168317
0.006601
0
0
0
null
0
0
0
0
0
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
1
0
1d6c97ab775b3924a519a3875bbacd8525d4d56d
4,074
py
Python
camkes/parser/tests/teststage6.py
aisamanra/camkes-tool
4bcf3f22ef7e73f8755ca1b5e7165dd6a23e89f3
[ "BSD-2-Clause" ]
null
null
null
camkes/parser/tests/teststage6.py
aisamanra/camkes-tool
4bcf3f22ef7e73f8755ca1b5e7165dd6a23e89f3
[ "BSD-2-Clause" ]
null
null
null
camkes/parser/tests/teststage6.py
aisamanra/camkes-tool
4bcf3f22ef7e73f8755ca1b5e7165dd6a23e89f3
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2017, Data61 # Commonwealth Scientific and Industrial Research Organisation (CSIRO) # ABN 41 687 119 230. # # This software may be distributed and modified according to the terms of # the BSD 2-Clause license. Note that NO WARRANTY is provided. # See "LICENSE...
26.802632
73
0.556946
424
4,074
5.247642
0.334906
0.098876
0.050337
0.030562
0.426966
0.426966
0.38382
0.38382
0.357753
0.297528
0
0.023543
0.343152
4,074
151
74
26.980132
0.807922
0.089102
0
0.477064
0
0
0.293752
0
0
0
0
0
0.238532
1
0.045872
false
0
0.100917
0
0.155963
0.009174
0
0
0
null
0
0
0
0
0
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
1
0
1d6cb2fb072b36fb24704252a550de48cd21f375
551
py
Python
buttercup/main.py
GrafeasGroup/buttercup
77eef4cb7f34723b246b6b2f11af92a8d7c06cae
[ "MIT" ]
6
2020-12-03T20:29:30.000Z
2022-02-08T06:07:44.000Z
buttercup/main.py
GrafeasGroup/buttercup
77eef4cb7f34723b246b6b2f11af92a8d7c06cae
[ "MIT" ]
110
2020-07-29T07:58:28.000Z
2022-02-08T14:54:23.000Z
buttercup/main.py
GrafeasGroup/buttercup
77eef4cb7f34723b246b6b2f11af92a8d7c06cae
[ "MIT" ]
2
2021-12-07T16:22:19.000Z
2021-12-07T16:40:33.000Z
import sys from buttercup import logger from buttercup.bot import ButtercupBot EXTENSIONS = [ # The config cog has to be first! "config", "admin", "handlers", "welcome", "name_validator", "find", "search", "stats", "heatmap", "history", "ping", "rules", "leaderb...
19.678571
86
0.649728
65
551
5.415385
0.646154
0.085227
0.045455
0
0
0
0
0
0
0
0
0.004545
0.201452
551
27
87
20.407407
0.795455
0.056261
0
0
0
0
0.218147
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d6e1945cc59f4a6cbe5c9f8035ff97b4f932f73
6,245
py
Python
posts_apis/tests/tests.py
islam-kamel/CODERUSH_APIS
ac9b21ab81da65b3e2a84549a9b6ea6665afe047
[ "MIT" ]
2
2021-12-13T05:11:22.000Z
2021-12-15T04:39:34.000Z
posts_apis/tests/tests.py
islam-kamel/CODERUSH_APIS
ac9b21ab81da65b3e2a84549a9b6ea6665afe047
[ "MIT" ]
1
2021-12-15T03:04:11.000Z
2021-12-16T04:08:57.000Z
posts_apis/tests/tests.py
islam-kamel/CODERUSH_APIS
ac9b21ab81da65b3e2a84549a9b6ea6665afe047
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2021 islam kamel # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, m...
38.549383
80
0.63731
762
6,245
5.112861
0.233596
0.103953
0.11807
0.110883
0.527977
0.465092
0.430185
0.374743
0.36191
0.326489
0
0.008105
0.229464
6,245
161
81
38.78882
0.801538
0.194876
0
0.352381
0
0
0.132347
0.004398
0
0
0
0
0.27619
1
0.07619
false
0.038095
0.038095
0
0.12381
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
0
0
1
0
1d6e5306af7ec10787ad04ff1c709c25e136dd97
1,750
py
Python
bench2csv/bench2csv_sat.py
jansemat/verifire
5e178cc87d634e6b495ad77d34d05592379f624e
[ "MIT" ]
null
null
null
bench2csv/bench2csv_sat.py
jansemat/verifire
5e178cc87d634e6b495ad77d34d05592379f624e
[ "MIT" ]
null
null
null
bench2csv/bench2csv_sat.py
jansemat/verifire
5e178cc87d634e6b495ad77d34d05592379f624e
[ "MIT" ]
null
null
null
import sys import math import random # Function: main() # --- Arguments: none; takes slice.csv as command line argument # --- Return: none # --- Purpose: takes slice.csv discard slice as argument, prints out SAT firewall policy (default-deny format) # def main(): # ensure proper arguments if len(sys.argv) != 2: p...
29.661017
117
0.670286
301
1,750
3.714286
0.305648
0.064401
0.080501
0.039356
0.22898
0.22898
0.22898
0.22898
0.22898
0.22898
0
0.022712
0.169714
1,750
59
118
29.661017
0.746731
0.228
0
0.216216
0
0.027027
0.158091
0
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.108108
0.081081
0
0
0
null
0
0
0
0
0
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
1
0
1d6ee31d662f0f169c3224b1cd7e60481b985d34
765
py
Python
demo/models.py
mas3od/Arabic_char_recognizer
33c4c38c6c3776b2889c46bb0077abc0518d9099
[ "MIT" ]
null
null
null
demo/models.py
mas3od/Arabic_char_recognizer
33c4c38c6c3776b2889c46bb0077abc0518d9099
[ "MIT" ]
null
null
null
demo/models.py
mas3od/Arabic_char_recognizer
33c4c38c6c3776b2889c46bb0077abc0518d9099
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class image(models.Model): image = models.BinaryField(blank = True) target = models.IntegerField('target') class meta: ordering = ['target'] def __str__(self,): return 'an image' class Author(models.Model): """Model represen...
27.321429
67
0.667974
97
765
5.061856
0.453608
0.05499
0.069246
0.089613
0.126273
0.126273
0
0
0
0
0
0.009885
0.206536
765
27
68
28.333333
0.799012
0.126797
0
0
0
0
0.118902
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.058824
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
1d70a1af99e208123df9b6b1c5b50f5689c85198
1,079
py
Python
Python/python-tutorials/algo/hailstone.py
zhongyangynag/code-study
5410929554107a384a09d899c6fa3d16ed383d2b
[ "MIT" ]
null
null
null
Python/python-tutorials/algo/hailstone.py
zhongyangynag/code-study
5410929554107a384a09d899c6fa3d16ed383d2b
[ "MIT" ]
null
null
null
Python/python-tutorials/algo/hailstone.py
zhongyangynag/code-study
5410929554107a384a09d899c6fa3d16ed383d2b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # inst.eecs.berkeley.edu/~cs61a/sp12/hw/hw1.html # Q4. Douglas Hofstadter’s Pulitzer-prize-winning book, Gödel, Escher, Bach, poses the following mathematical puzzle. # # Pick a positive number n # If n is even, divide it by 2. # If n is odd, multipy it by 3 and add 1. # Continue this process unt...
34.806452
327
0.721038
201
1,079
3.830846
0.59204
0.015584
0.01039
0.038961
0
0
0
0
0
0
0
0.023783
0.18165
1,079
30
328
35.966667
0.848245
0.762743
0
0
0
0
0.085714
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d71d0d9ea9a6a26f4c379575e424de0468d5cd5
70
py
Python
core/outfits/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
3
2017-10-28T11:28:38.000Z
2018-09-12T09:47:00.000Z
core/outfits/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
core/outfits/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
from core.outfits import listing from core.outfits.base import Outfit
23.333333
36
0.842857
11
70
5.363636
0.636364
0.271186
0.508475
0
0
0
0
0
0
0
0
0
0.114286
70
2
37
35
0.951613
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
1
0
1
0
1
0
0
7
1d7466097245fe0f589e9cc748e16317321ada97
48
py
Python
tests/conftest.py
jonra1993/rasa-sdk
2fe9e16a54e709166c7a1eba1d46bd6228e5ea6b
[ "Apache-2.0" ]
172
2019-05-14T19:34:55.000Z
2022-03-25T04:34:20.000Z
tests/conftest.py
jonra1993/rasa-sdk
2fe9e16a54e709166c7a1eba1d46bd6228e5ea6b
[ "Apache-2.0" ]
451
2019-05-13T15:29:38.000Z
2022-03-28T09:00:52.000Z
tests/conftest.py
jonra1993/rasa-sdk
2fe9e16a54e709166c7a1eba1d46bd6228e5ea6b
[ "Apache-2.0" ]
160
2019-05-16T05:05:48.000Z
2022-03-25T04:34:24.000Z
from sanic import Sanic Sanic.test_mode = True
12
23
0.791667
8
48
4.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
3
24
16
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
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
1
0
1
0
0
0
0
5
1d7699d2066786cd54e3533e9c740d66887674d7
5,818
py
Python
qiskit/wrapper/_wrapper.py
biryani/qiskit-terra
7e2204c7f046ad324e1726ad320f0323bdd26e87
[ "Apache-2.0" ]
null
null
null
qiskit/wrapper/_wrapper.py
biryani/qiskit-terra
7e2204c7f046ad324e1726ad320f0323bdd26e87
[ "Apache-2.0" ]
null
null
null
qiskit/wrapper/_wrapper.py
biryani/qiskit-terra
7e2204c7f046ad324e1726ad320f0323bdd26e87
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018, IBM. # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. """Helper module for simplified QISKit usage.""" import logging from qiskit import transpiler from qiskit.transpiler._passm...
39.310811
94
0.664146
778
5,818
4.859897
0.271208
0.037027
0.015869
0.022216
0.602486
0.552764
0.552764
0.552764
0.523142
0.500397
0
0.007224
0.262461
5,818
147
95
39.578231
0.873922
0.58044
0
0.238095
0
0.047619
0.085927
0.085927
0
0
0
0.006803
0
1
0.119048
false
0.095238
0.095238
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1d7c7f7bfd4d9dc9e55cdc2091cf0b436100b69f
43,323
py
Python
train.py
xlDownxl/SfmLearner-Pytorch
e04becc8f16725d15cb603f4cf438a6059aa8adf
[ "MIT" ]
null
null
null
train.py
xlDownxl/SfmLearner-Pytorch
e04becc8f16725d15cb603f4cf438a6059aa8adf
[ "MIT" ]
null
null
null
train.py
xlDownxl/SfmLearner-Pytorch
e04becc8f16725d15cb603f4cf438a6059aa8adf
[ "MIT" ]
null
null
null
import argparse import time import csv from collections import OrderedDict import os import numpy as np import torch import torch.backends.cudnn as cudnn import torch.optim import torch.utils.data import custom_transforms import models from utils import tensor2array, save_checkpoint, save_path_formatter, log_output_ten...
48.083241
206
0.616116
5,457
43,323
4.651274
0.111233
0.014498
0.02813
0.012607
0.54385
0.491845
0.463439
0.430423
0.407494
0.39004
0
0.01248
0.273134
43,323
900
207
48.136667
0.793554
0.03707
0
0.414634
0
0.001355
0.142823
0.011204
0
0
0
0
0
1
0.012195
false
0
0.04336
0
0.063686
0.02168
0
0
0
null
0
0
0
0
0
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
1
0
1d7c8351f2e5f82917fe01cfc0e7ffa0119aecd0
13,038
py
Python
discrete_opt/optimization.py
claudiofahey/discrete_opt
0bd794e1f3d8552653e49df748fc90f97e6f2af8
[ "MIT" ]
null
null
null
discrete_opt/optimization.py
claudiofahey/discrete_opt
0bd794e1f3d8552653e49df748fc90f97e6f2af8
[ "MIT" ]
null
null
null
discrete_opt/optimization.py
claudiofahey/discrete_opt
0bd794e1f3d8552653e49df748fc90f97e6f2af8
[ "MIT" ]
null
null
null
import logging import itertools import numpy as np from scipy.optimize import OptimizeResult, minimize_scalar import scipy.constants from .util import find_vertex_x_of_positive_parabola def scalar_discrete_gap_filling_minimizer( fun, bracket, args=(), tol=1.0, maxfev=None, maxiter=100, callback=None, verbos...
37.465517
119
0.60224
1,759
13,038
4.346219
0.169983
0.028777
0.021975
0.034009
0.300065
0.227077
0.186658
0.155396
0.148332
0.122433
0
0.009129
0.311091
13,038
347
120
37.573487
0.842017
0.354656
0
0.244444
0
0
0.053047
0.013447
0
0
0
0
0.027778
1
0.027778
false
0
0.033333
0.005556
0.088889
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
0
0
1
0
1d7c86c05e29731b9fa25dcc67b50bb76637fb2b
600
py
Python
hello.py
Amos-lii/cgi-lab
05cc19ceb4d775e40f37f8f60e12740c35193f25
[ "Apache-2.0" ]
null
null
null
hello.py
Amos-lii/cgi-lab
05cc19ceb4d775e40f37f8f60e12740c35193f25
[ "Apache-2.0" ]
null
null
null
hello.py
Amos-lii/cgi-lab
05cc19ceb4d775e40f37f8f60e12740c35193f25
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import os,json print("Content-Type: text/html\r\n\r\n") print print("<title>Test CGI</title>") print("<p>Hello World cmput404 class!</p>") #Q1 print(os.environ) json_object = json.dumps(dict(os.environ), indent = 4) #print(json_object) #Q2 for param in os.environ.keys(): if (param=="QUERY_...
24
65
0.618333
97
600
3.773196
0.494845
0.172131
0.114754
0.065574
0.338798
0.338798
0.338798
0.338798
0.174863
0.174863
0
0.023438
0.146667
600
24
66
25
0.691406
0.163333
0
0.307692
0
0
0.308468
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.538462
0
0
0
null
0
0
0
0
0
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
1d7cc036eb1f4cee4d2d9c1c57594177d76ea02b
344
py
Python
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys from glob import glob tests=glob(os.path.join(os.path.dirname(__file__),"*.py")) #__all__ = [os.path.basename(file)[:-3] for file in files # if file!='__init__.py'] for test in tests: __import__(os.path.basename(test)[:-3], global...
26.461538
73
0.607558
51
344
3.784314
0.588235
0.124352
0.145078
0
0
0
0
0
0
0
0
0.014286
0.186047
344
12
74
28.666667
0.675
0.386628
0
0
0
0
0.020513
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
1
0
0
2
1d7e74a1b9166e627ccdb832e0e9c0dbaf7e1c61
5,240
py
Python
firm/forms.py
mstgnz/WMS
64aaa43fdd8fb682dedb792831b13d64046b385f
[ "Apache-2.0" ]
null
null
null
firm/forms.py
mstgnz/WMS
64aaa43fdd8fb682dedb792831b13d64046b385f
[ "Apache-2.0" ]
null
null
null
firm/forms.py
mstgnz/WMS
64aaa43fdd8fb682dedb792831b13d64046b385f
[ "Apache-2.0" ]
null
null
null
from django import forms from .models import Firm, Worksite, Subcontractor, Contract, Specification, Project class DateInput(forms.DateInput): input_type = 'date' # FİRMA FORM class FirmForm(forms.ModelForm): class Meta: model = Firm fields = ['tax','name','full_name','phone','fax','web',...
37.971014
183
0.579389
558
5,240
5.327957
0.195341
0.08409
0.040363
0.056509
0.639421
0.582913
0.527077
0.514968
0.500841
0.462159
0
0
0.273855
5,240
137
184
38.248175
0.780815
0.05
0
0.579439
0
0
0.14093
0
0
0
0
0
0
1
0.056075
false
0
0.018692
0
0.205607
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
0
0
1
0
1d7e9a503c69ca7ba81589b022f35d6d7e07580d
2,566
py
Python
dash_vtk/PolyData.py
rodrigomologni/dash-vtk
f036ee9e709e4367efcb86367b696c20199029a6
[ "MIT" ]
80
2021-01-15T21:55:22.000Z
2022-03-30T07:23:54.000Z
dash_vtk/PolyData.py
rodrigomologni/dash-vtk
f036ee9e709e4367efcb86367b696c20199029a6
[ "MIT" ]
51
2021-01-04T22:50:58.000Z
2022-03-13T17:45:25.000Z
dash_vtk/PolyData.py
rodrigomologni/dash-vtk
f036ee9e709e4367efcb86367b696c20199029a6
[ "MIT" ]
12
2021-01-04T22:28:48.000Z
2022-03-29T13:20:32.000Z
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class PolyData(Component): """A PolyData component. PolyData is exposing a vtkPolyData to a downstream filter It takes the following set of properties: - points: [x, y, z, x, y, z, ...], - verts: [cel...
40.730159
269
0.664069
293
2,566
5.703072
0.348123
0.076601
0.038899
0.062837
0.210652
0.114901
0.114901
0.114901
0.114901
0.114901
0
0.006385
0.206547
2,566
62
270
41.387097
0.814342
0.514419
0
0
1
0
0.1477
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
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
1d7fac852950bdea4eeed4896c20818406f39dcc
2,976
py
Python
No_0188_Best Time to Buy and Sell Stock IV/by_dynamic_programming.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
32
2020-01-05T13:37:16.000Z
2022-03-26T07:27:09.000Z
No_0188_Best Time to Buy and Sell Stock IV/by_dynamic_programming.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
null
null
null
No_0188_Best Time to Buy and Sell Stock IV/by_dynamic_programming.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
8
2020-06-18T16:17:27.000Z
2022-03-15T23:58:18.000Z
''' Description: Say you have an array for which the i-th element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most k transactions. Note: You may not engage in multiple transactions at the same time (ie, you must sell the stock before you buy again). E...
26.810811
112
0.510753
419
2,976
3.51074
0.281623
0.023793
0.024473
0.024473
0.265126
0.069341
0.010877
0.010877
0
0
0
0.032761
0.353831
2,976
111
113
26.810811
0.731149
0.426411
0
0
0
0
0.006528
0
0
0
0
0
0.064516
1
0.129032
false
0
0.064516
0
0.354839
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
0
0
1
0
1d80dd5bf8e6424636bc2fdacb0ba1747263cfe9
974
py
Python
WaveArray.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
14
2020-10-15T21:47:18.000Z
2021-12-01T06:06:51.000Z
WaveArray.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
null
null
null
WaveArray.py
vanigupta20024/Programming-Challenges
578dba33e9f6b04052a503bcb5de9b32f33494a5
[ "MIT" ]
4
2020-06-15T14:40:45.000Z
2021-06-15T06:22:03.000Z
''' Problem Description Given an array of integers A, sort the array into a wave like array and return it, In other words, arrange the elements into a sequence such that a1 >= a2 <= a3 >= a4 <= a5..... NOTE : If there are multiple answers possible, return the one that's lexicographically smallest. Input Format Fir...
22.136364
146
0.63039
170
974
3.611765
0.405882
0.019544
0.014658
0.019544
0.02443
0.019544
0.019544
0
0
0
0
0.057534
0.250513
974
43
147
22.651163
0.783562
0.055441
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
1d819dab8c685dabdccb98751766a90ed31bcfec
1,004
py
Python
examples/timer.py
thomasantony/flybywire
6feadf6a96ac6a7b7a32f04d475c8a59915fd6f0
[ "MIT" ]
136
2016-09-04T06:24:55.000Z
2021-08-25T07:49:42.000Z
examples/timer.py
thomasantony/flybywire
6feadf6a96ac6a7b7a32f04d475c8a59915fd6f0
[ "MIT" ]
2
2016-09-08T17:18:24.000Z
2017-06-23T17:01:44.000Z
examples/timer.py
thomasantony/flybywire
6feadf6a96ac6a7b7a32f04d475c8a59915fd6f0
[ "MIT" ]
9
2016-09-05T00:46:25.000Z
2021-04-09T16:52:06.000Z
from flybywire.ui import Application, Component from flybywire.dom import h from flybywire.misc import set_interval, clear_interval @Application class TimerApp(Component): def __init__(self): """Initialize the application.""" super().__init__() self.set_initial_state({'secondsElapsed': 0})...
26.421053
64
0.624502
113
1,004
5.39823
0.477876
0.12459
0.045902
0.091803
0.098361
0
0
0
0
0
0
0.004021
0.256972
1,004
37
65
27.135135
0.813673
0.188247
0
0.095238
0
0
0.10093
0
0
0
0
0
0
1
0.238095
false
0
0.142857
0
0.47619
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
1d81a396174df861ce3d129dfba4a5169ad7c8bc
3,491
py
Python
src/screen.py
JushBJJ/crapindow
0774c7149d3246b713c94f4d1f4252a2b47e9f84
[ "MIT" ]
null
null
null
src/screen.py
JushBJJ/crapindow
0774c7149d3246b713c94f4d1f4252a2b47e9f84
[ "MIT" ]
null
null
null
src/screen.py
JushBJJ/crapindow
0774c7149d3246b713c94f4d1f4252a2b47e9f84
[ "MIT" ]
null
null
null
""" Basically the whole terminal screen itself. """ import sys import os import colorama import cursor foreground_colours = { "BLACK": "\x1b[30m", "RED": "\x1b[31m", "GREEN": "\x1b[32m", "YELLOW": "\x1b[33m", "BLUE": "\x1b[34m", "MAGENTA": "\x1b[35m", "CYAN": "\x1b[36m", "WHITE": "\x...
27.928
79
0.599542
429
3,491
4.804196
0.351981
0.027171
0.017467
0.016497
0.205725
0.137797
0.059195
0.059195
0.059195
0
0
0.024672
0.280149
3,491
124
80
28.153226
0.795464
0.338585
0
0.03125
0
0
0.110638
0
0
0
0
0
0
1
0.15625
false
0
0.0625
0
0.265625
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
0
0
1
0
1d8319cb25c16d92efd3edb9186ca3c5ae307547
2,763
py
Python
DeepFilterNet/df/logger.py
cookcodes/DeepFilterNet
d36e70c8f09b0707c6718b74c25c3edaf4dce0e2
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2021-12-23T09:57:29.000Z
2022-01-17T07:01:53.000Z
DeepFilterNet/df/logger.py
Andong-Li-speech/DeepFilterNet
e651b79e48d5d25fd22a55514534c6c1e65f72fa
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
DeepFilterNet/df/logger.py
Andong-Li-speech/DeepFilterNet
e651b79e48d5d25fd22a55514534c6c1e65f72fa
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
import os import sys from typing import Dict, Optional import torch from loguru import logger from torch.types import Number from df.utils import get_branch_name, get_commit_hash, get_device, get_host _logger_initialized = False def init_logger(file: Optional[str] = None, level: str = "INFO"): global _logger_i...
31.397727
97
0.596453
385
2,763
4.12987
0.335065
0.037736
0.011321
0.010063
0.183648
0.127044
0.101887
0.067925
0.067925
0.067925
0
0.01117
0.254796
2,763
87
98
31.758621
0.761049
0.064785
0
0.119403
0
0.014925
0.218774
0.0609
0
0
0
0
0
1
0.059701
false
0
0.134328
0
0.238806
0.014925
0
0
0
null
0
0
0
0
0
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
1
0
1d8415a63afc2d8e1652325187f2c3c67556dad6
3,205
py
Python
twitch_log_renderer/cachers.py
Bloodb0ne/twitch_log_renderer
39d812b5fe5fbbd61d19218636b9e335bd1725eb
[ "Apache-2.0" ]
2
2020-10-11T03:23:37.000Z
2020-11-13T18:58:58.000Z
twitch_log_renderer/cachers.py
Bloodb0ne/twitch_log_renderer
39d812b5fe5fbbd61d19218636b9e335bd1725eb
[ "Apache-2.0" ]
2
2021-01-30T08:59:09.000Z
2021-06-26T18:04:57.000Z
twitch_log_renderer/cachers.py
Bloodb0ne/twitch_log_renderer
39d812b5fe5fbbd61d19218636b9e335bd1725eb
[ "Apache-2.0" ]
null
null
null
import re from .database import emote_database from .node_types import EmoteNode,TextNode,CheermoteNode from .providers.badges import Badges from .providers.cheermotes import Cheermotes class CheermoteCache: """Cheermote cache""" matcher = re.compile("^$") cheermotes = {} databasePath = '' def getCheermote(prefix...
29.953271
124
0.702964
420
3,205
5.319048
0.314286
0.02462
0.033572
0.03581
0.125783
0.125783
0.083259
0.083259
0.083259
0.083259
0
0.008188
0.161622
3,205
106
125
30.235849
0.823223
0.106396
0
0.12987
0
0
0.150796
0.010973
0
0
0
0
0
1
0.155844
false
0
0.064935
0.038961
0.532468
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
1d8530c0d1846c03825ab65f90bae48db4ebfd24
8,232
py
Python
src/svtk/svtk/baf/BAFpysam.py
talkowski-lab/gnomad-sv-v3-qc
db23760af7bc21a776e14f6ca1fbc213ff0ff9a1
[ "BSD-3-Clause" ]
null
null
null
src/svtk/svtk/baf/BAFpysam.py
talkowski-lab/gnomad-sv-v3-qc
db23760af7bc21a776e14f6ca1fbc213ff0ff9a1
[ "BSD-3-Clause" ]
null
null
null
src/svtk/svtk/baf/BAFpysam.py
talkowski-lab/gnomad-sv-v3-qc
db23760af7bc21a776e14f6ca1fbc213ff0ff9a1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from scipy import stats import numpy as np import os import os.path from sklearn import mixture def Deltest(F,M,E,length,crit=0.01,thres1=0.0005): # calculate the Del statistic given a FME combo in het files # if True: thres1=min(50/length,thres1) if F/length<thres1 and M/length<thres...
39.014218
145
0.539237
1,040
8,232
4.246154
0.177885
0.079484
0.02038
0.027174
0.507246
0.463089
0.417799
0.405118
0.405118
0.399004
0
0.019329
0.308673
8,232
210
146
39.2
0.756633
0.398081
0
0.174757
0
0
0.042949
0
0
0
0
0
0
1
0.067961
false
0
0.048544
0
0.271845
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
0
0
1
0
1d857b7a050e752f38249ab3964c756e0e4c6ecd
41
py
Python
accounts/admin.py
sahilr05/sitechecker
9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039
[ "MIT" ]
2
2021-02-21T09:24:54.000Z
2021-05-12T18:42:37.000Z
accounts/admin.py
sahilr05/sitechecker
9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039
[ "MIT" ]
null
null
null
accounts/admin.py
sahilr05/sitechecker
9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039
[ "MIT" ]
null
null
null
from django.contrib import admin # NOQA
20.5
40
0.780488
6
41
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
1
41
41
0.941176
0.097561
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
1
0
1
0
1
0
0
6
1d85aab94ef7a4bb481f21a9288199c706287edd
2,955
py
Python
paddlescience/geometry/geometry_discrete.py
Liu-xiandong/PaddleScience
5e667a4fe6138c22e0ff54af81d83a0b7cae4572
[ "Apache-2.0" ]
43
2021-12-12T08:53:19.000Z
2022-03-30T07:07:18.000Z
paddlescience/geometry/geometry_discrete.py
Liu-xiandong/PaddleScience
5e667a4fe6138c22e0ff54af81d83a0b7cae4572
[ "Apache-2.0" ]
13
2021-12-15T08:04:50.000Z
2022-03-25T03:39:15.000Z
paddlescience/geometry/geometry_discrete.py
Liu-xiandong/PaddleScience
5e667a4fe6138c22e0ff54af81d83a0b7cae4572
[ "Apache-2.0" ]
20
2021-12-10T06:52:31.000Z
2022-03-28T10:23:53.000Z
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
28.142857
75
0.574619
377
2,955
4.427056
0.363395
0.038346
0.031156
0.026962
0.073098
0.026363
0
0
0
0
0
0.011893
0.31709
2,955
104
76
28.413462
0.815164
0.31269
0
0
0
0
0.016606
0
0
0
0
0.019231
0
1
0.142857
false
0
0.040816
0.020408
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1d86bc38917264012599c7189b3e1f9a968ddcaa
46
py
Python
scripts/example.py
fernandascovino/FGV_Criptography
9fbc9bb5f1bd4099538be112565e4ac3fffc62c1
[ "MIT" ]
1
2018-10-03T16:17:14.000Z
2018-10-03T16:17:14.000Z
scripts/example.py
JoaoCarabetta/cities-science
ee430d75bd0abb04485926a6f30fb23992b3f598
[ "MIT" ]
null
null
null
scripts/example.py
JoaoCarabetta/cities-science
ee430d75bd0abb04485926a6f30fb23992b3f598
[ "MIT" ]
null
null
null
import scripts.other_module as om om.get_me()
15.333333
33
0.804348
9
46
3.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.108696
46
3
34
15.333333
0.853659
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
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
1
0
1
0
0
0
0
5
1d87394aa03f1901f2b10c5dd1230fa13966fdb3
602
py
Python
collapsible_garden/water_level_sensor.py
katienaha/collapsible_garden
b3f52e9083d1d9584e5da7289c1ce560f793ef18
[ "MIT" ]
null
null
null
collapsible_garden/water_level_sensor.py
katienaha/collapsible_garden
b3f52e9083d1d9584e5da7289c1ce560f793ef18
[ "MIT" ]
null
null
null
collapsible_garden/water_level_sensor.py
katienaha/collapsible_garden
b3f52e9083d1d9584e5da7289c1ce560f793ef18
[ "MIT" ]
null
null
null
# External module imports import RPi.GPIO as GPIO # Sensor that checks whether water levels have gone too low class WaterLevelSensor: # Store which pin receives info from the water level sensor def __init__(self, pin): self.pin = pin self.is_too_low = False # Check to see if the water le...
25.083333
68
0.642857
90
602
4.144444
0.477778
0.096515
0.107239
0.128686
0.091153
0
0
0
0
0
0
0
0.277409
602
23
69
26.173913
0.857471
0.302326
0
0.166667
0
0
0.029197
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d882e613aec8852e2007e1e358a346706de1051
782
py
Python
swap/__init__.py
afourmy/SWAPON
9dfc980ff4b5096f42e9fe5891873b465a98e88d
[ "MIT" ]
7
2018-03-28T10:21:22.000Z
2018-07-03T18:37:30.000Z
swap/__init__.py
afourmy/SWAPON
9dfc980ff4b5096f42e9fe5891873b465a98e88d
[ "MIT" ]
1
2018-03-28T13:32:45.000Z
2018-03-28T13:32:45.000Z
swap/__init__.py
afourmy/SWAPON
9dfc980ff4b5096f42e9fe5891873b465a98e88d
[ "MIT" ]
1
2018-03-28T13:30:23.000Z
2018-03-28T13:30:23.000Z
"""Application and database initialization.""" from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() from swap.routes import swap def configure_database(app): """Handle database initialization and shutdown.""" @app.before_first_request def initialize_database(): db.c...
24.4375
67
0.712276
93
782
5.763441
0.451613
0.050373
0.074627
0
0
0
0
0
0
0
0
0
0.176471
782
31
68
25.225806
0.832298
0.157289
0
0
0
0
0.135303
0.115086
0
0
0
0
0
1
0.2
false
0
0.15
0
0.4
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d8877106d1619c09d6a3b5167c9ba5af60e927b
1,917
py
Python
engines/vecm.py
BBVA/timecop
0ff5c679ecf62c943e0bb31f561d4f601822a781
[ "Apache-2.0" ]
79
2018-08-13T08:36:33.000Z
2022-03-27T05:20:07.000Z
engines/vecm.py
BBVA/timecop
0ff5c679ecf62c943e0bb31f561d4f601822a781
[ "Apache-2.0" ]
14
2018-10-11T10:06:55.000Z
2020-09-02T23:50:49.000Z
engines/vecm.py
BBVA/timecop
0ff5c679ecf62c943e0bb31f561d4f601822a781
[ "Apache-2.0" ]
22
2018-08-08T08:17:47.000Z
2021-08-03T11:47:03.000Z
import numpy as np from matplotlib import pyplot as plt import statsmodels.tsa.vector_ar.vecm as vecm import pandas as pd from . engine_output_creation import engine_output_creation def anomaly_vecm(list_var,num_fut=5,desv_mse=2,train=True,name='model-name'): df_var = pd.DataFrame() for i in range(len(list_var)):...
30.919355
93
0.715702
302
1,917
4.311258
0.294702
0.038402
0.067588
0.052995
0.448541
0.400922
0.400922
0.311828
0.311828
0.311828
0
0.017597
0.140323
1,917
61
94
31.42623
0.772451
0.053208
0
0.285714
0
0
0.052632
0
0
0
0
0
0
1
0.02381
false
0
0.119048
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d88ff2f19c547b52af367b081354284bd65b5d4
1,104
py
Python
tests/playlist/test_playlist_init.py
fdenivac/python-qobuz
7a70d12b80d022541af5e210f75d8943c8bd54a1
[ "MIT" ]
11
2020-04-19T00:47:47.000Z
2022-02-04T15:39:08.000Z
tests/playlist/test_playlist_init.py
fdenivac/python-qobuz
7a70d12b80d022541af5e210f75d8943c8bd54a1
[ "MIT" ]
1
2020-05-02T17:11:32.000Z
2020-05-02T17:11:32.000Z
tests/playlist/test_playlist_init.py
netsuso/python-qobuz
13a9bfeca2a23b5819f6bdaaad9edf7309ab9443
[ "MIT" ]
4
2020-04-20T16:36:21.000Z
2021-03-20T01:56:48.000Z
import pytest import qobuz import responses from tests.resources.responses import playlist_create_json from tests.resources.fixtures import playlist @pytest.fixture def app(): qobuz.api.register_app(app_id="request_from_api@qobuz.com") def get_url(playlist_id): return ( qobuz.api.API_URL + ...
25.090909
70
0.689312
137
1,104
5.284672
0.284672
0.116022
0.149171
0.044199
0
0
0
0
0
0
0
0.00344
0.210145
1,104
43
71
25.674419
0.826835
0
0
0
0
0
0.072464
0.023551
0
0
0
0
0.129032
1
0.129032
false
0
0.16129
0.032258
0.322581
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
0
0
1
0
1d8d6459cd4f63985e93d0cea74844705e5db732
1,684
py
Python
src/matches/utils.py
marlingod/djangopro
4a0b9025e622e1bbc83c4146f7ee54db46f24e8b
[ "MIT" ]
null
null
null
src/matches/utils.py
marlingod/djangopro
4a0b9025e622e1bbc83c4146f7ee54db46f24e8b
[ "MIT" ]
4
2020-06-05T17:51:24.000Z
2021-06-10T19:59:29.000Z
src/matches/utils.py
marlingod/djangopro
4a0b9025e622e1bbc83c4146f7ee54db46f24e8b
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from questions.models import UserAnswer User = get_user_model() users = User.objects.all() all_user_answers = UserAnswer.objects.all() yemalin =users[0] caden =users[1] def get_points(user_a, user_b): a_answers = UserAnswer.objects.filter(user = user_a) b_answers =...
30.071429
95
0.73753
275
1,684
4.163636
0.196364
0.069869
0.062882
0.104803
0.341485
0.341485
0.341485
0.274236
0.134498
0.134498
0
0.010646
0.163302
1,684
56
96
30.071429
0.801987
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.076923
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
1d8ed043ae4252f0d1547399b9aa09ae4c55b2e4
82
py
Python
meinheld/__init__.py
IPetrik/meinheld
1253ad7edf2febaa0b644db3953650c70bc6c234
[ "BSD-3-Clause" ]
null
null
null
meinheld/__init__.py
IPetrik/meinheld
1253ad7edf2febaa0b644db3953650c70bc6c234
[ "BSD-3-Clause" ]
null
null
null
meinheld/__init__.py
IPetrik/meinheld
1253ad7edf2febaa0b644db3953650c70bc6c234
[ "BSD-3-Clause" ]
null
null
null
from meinheld.server import * from meinheld import mlogging __version__ = '1.0.1'
20.5
29
0.780488
12
82
5
0.666667
0.4
0
0
0
0
0
0
0
0
0
0.042254
0.134146
82
3
30
27.333333
0.802817
0
0
0
0
0
0.060976
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
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
1
0
1
0
0
5