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
f408463fbafd0299afebe10a70bf543c07547fe8
4,541
py
Python
utils/data/dataset_catalog.py
rs9899/Parsing-R-CNN
a0c9ed8850abe740eedf8bfc6e1577cc0aa3fc7b
[ "MIT" ]
289
2018-10-25T09:42:57.000Z
2022-03-30T08:31:50.000Z
utils/data/dataset_catalog.py
qzane/Parsing-R-CNN
8c4d940dcd322bf7a8671f8b0faaabb3259bd384
[ "MIT" ]
28
2019-01-07T02:39:49.000Z
2022-01-25T08:54:36.000Z
utils/data/dataset_catalog.py
qzane/Parsing-R-CNN
8c4d940dcd322bf7a8671f8b0faaabb3259bd384
[ "MIT" ]
44
2018-12-20T07:36:46.000Z
2022-03-16T14:30:20.000Z
import os.path as osp # Root directory of project ROOT_DIR = osp.abspath(osp.join(osp.dirname(__file__), '..', '..')) # Path to data dir _DATA_DIR = osp.abspath(osp.join(ROOT_DIR, 'data')) # Required dataset entry keys _IM_DIR = 'image_directory' _ANN_FN = 'annotation_file' # Available datasets COMMON_DATASETS = { ...
31.978873
88
0.580269
544
4,541
4.338235
0.115809
0.130508
0.09322
0.10678
0.822458
0.772458
0.760169
0.752542
0.69661
0.612712
0
0.048796
0.29597
4,541
141
89
32.205674
0.689396
0.065404
0
0.43609
0
0
0.419957
0.330338
0
0
0
0
0
1
0
false
0
0.007519
0
0.007519
0
0
0
0
null
0
0
0
1
1
1
1
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
5
f408a9fe238e011fdbd51d60d3da477f1a193548
1,713
py
Python
prepareDataSet.py
Dakewe-DS1000/LapRSNet
47e630acd3f0523ee5ac698566ff45e645681b23
[ "Apache-2.0" ]
6
2019-11-14T12:12:43.000Z
2021-07-10T13:05:14.000Z
prepareDataSet.py
Dakewe-DS1000/LapRSNet
47e630acd3f0523ee5ac698566ff45e645681b23
[ "Apache-2.0" ]
null
null
null
prepareDataSet.py
Dakewe-DS1000/LapRSNet
47e630acd3f0523ee5ac698566ff45e645681b23
[ "Apache-2.0" ]
1
2021-05-18T06:41:11.000Z
2021-05-18T06:41:11.000Z
# Prepare my dataset for Digital Pathology import os import math import cv2 import pdb rootFolder = "F:\DataBase\LymphnodePathology" trainFolder = rootFolder + "\\trainDataSet" testFolder = rootFolder + "\\testDataSet" srcTrainFilePath = trainFolder + "\\20X\\" dstTrainFilePath = trainFolder + "\\5X\\" srcTestFileP...
34.959184
124
0.694688
157
1,713
7.503185
0.388535
0.010187
0.010187
0.040747
0.295416
0.295416
0.232598
0.210526
0.137521
0.137521
0
0.01444
0.191477
1,713
48
125
35.6875
0.836101
0.023351
0
0.181818
0
0
0.104129
0.017953
0
0
0
0
0
1
0
false
0
0.121212
0
0.121212
0.060606
0
0
0
null
0
0
0
0
0
0
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
f40992ff6f047f5e4c5a436cd251bdd645155f4b
424
py
Python
sample_project/sample_content/serializers.py
zentrumnawi/solid-backend
0a6ac51608d4c713903856bb9b0cbf0068aa472c
[ "MIT" ]
1
2021-01-24T11:54:01.000Z
2021-01-24T11:54:01.000Z
sample_project/sample_content/serializers.py
zentrumnawi/solid-backend
0a6ac51608d4c713903856bb9b0cbf0068aa472c
[ "MIT" ]
112
2020-04-22T10:07:03.000Z
2022-03-29T15:25:26.000Z
sample_project/sample_content/serializers.py
zentrumnawi/solid-backend
0a6ac51608d4c713903856bb9b0cbf0068aa472c
[ "MIT" ]
null
null
null
from rest_framework import serializers from solid_backend.photograph.serializers import PhotographSerializer from solid_backend.media_object.serializers import MediaObjectSerializer from .models import SampleProfile class SampleProfileSerializer(serializers.ModelSerializer): media_objects = MediaObjectSerializer...
28.266667
72
0.794811
41
424
8
0.634146
0.054878
0.097561
0
0
0
0
0
0
0
0
0.002809
0.160377
424
14
73
30.285714
0.918539
0
0
0
0
0
0.016509
0
0
0
0
0
0
1
0
false
0
0.4
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
f40b92b97d4fadcb832680913b2744036577bcf3
782
py
Python
tests/reshape_4/generate_pb.py
wchsieh/utensor_cgen
1774f0dfc0eb98b274271e7a67457dc3593b2593
[ "Apache-2.0" ]
null
null
null
tests/reshape_4/generate_pb.py
wchsieh/utensor_cgen
1774f0dfc0eb98b274271e7a67457dc3593b2593
[ "Apache-2.0" ]
null
null
null
tests/reshape_4/generate_pb.py
wchsieh/utensor_cgen
1774f0dfc0eb98b274271e7a67457dc3593b2593
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf8 -*- import os from utensor_cgen.utils import save_consts, save_graph, save_idx import numpy as np import tensorflow as tf def generate(): test_dir = os.path.dirname(__file__) graph = tf.Graph() with graph.as_default(): x = tf.constant(np.random.randn(10), dtype=tf.floa...
28.962963
64
0.673913
122
782
4.016393
0.47541
0.057143
0.04898
0
0
0
0
0
0
0
0
0.016077
0.204604
782
26
65
30.076923
0.771704
0.159847
0
0
1
0
0.06585
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.263158
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
f40be0fa2a141ea92705b94cef65862a1f2be235
2,619
py
Python
junn-predict/junn_predict/common/logging.py
modsim/junn
a40423b98c6a3739dd0b2ba02d546a5db91f9215
[ "BSD-2-Clause" ]
null
null
null
junn-predict/junn_predict/common/logging.py
modsim/junn
a40423b98c6a3739dd0b2ba02d546a5db91f9215
[ "BSD-2-Clause" ]
null
null
null
junn-predict/junn_predict/common/logging.py
modsim/junn
a40423b98c6a3739dd0b2ba02d546a5db91f9215
[ "BSD-2-Clause" ]
null
null
null
"""Logging helpers.""" import logging import sys import colorlog import tqdm class TqdmLoggingHandler(logging.StreamHandler): """TqdmLoggingHandler, outputs log messages to the console compatible with tqdm.""" def emit(self, record): # noqa: D102 message = self.format(record) tqdm.tqdm.writ...
25.930693
88
0.640321
331
2,619
4.858006
0.323263
0.033582
0.044776
0.069652
0.126244
0.070274
0
0
0
0
0
0.007179
0.255441
2,619
100
89
26.19
0.817436
0.233677
0
0.075472
0
0.018868
0.058542
0.013837
0
0
0
0
0
1
0.132075
false
0
0.075472
0
0.283019
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
f40cae84710b69af5184821f31d2608460ea3b50
2,284
py
Python
subpartcode/ultrasonic_basic_code.py
LesterYHZ/Automated-Bridge-Inspection-Robot-Project
c3f4e12f9b60a8a6b041bf2b6d0461a1bb39c726
[ "MIT" ]
1
2020-04-15T01:17:06.000Z
2020-04-15T01:17:06.000Z
subpartcode/ultrasonic_basic_code.py
LesterYHZ/Automated-Bridge-Inspection-Robot-Project
c3f4e12f9b60a8a6b041bf2b6d0461a1bb39c726
[ "MIT" ]
null
null
null
subpartcode/ultrasonic_basic_code.py
LesterYHZ/Automated-Bridge-Inspection-Robot-Project
c3f4e12f9b60a8a6b041bf2b6d0461a1bb39c726
[ "MIT" ]
1
2020-04-13T16:45:06.000Z
2020-04-13T16:45:06.000Z
#Basic Ultrasonic sensor (HC-SR04) code import RPi.GPIO as GPIO #GPIO RPI library import time # makes sure Pi waits between steps GPIO.setmode(GPIO.BCM) #sets GPIO pin numbering #GPIO.setmode(GPIO.BOARD) #Remove warnings GPIO.setwarnings(False) #Create loop variable #loop = 1 #BCM TRIG = 23 #output pin - triggers t...
26.252874
134
0.700088
348
2,284
4.525862
0.37931
0.038095
0.026667
0.024127
0
0
0
0
0
0
0
0.039713
0.206217
2,284
86
135
26.55814
0.829013
0.533275
0
0.066667
0
0
0.069472
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
f40ced5dbf4e657687527c5b0ff47c429e361805
868
py
Python
Mentorama/Modulo 3 - POO/Retangulo.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
Mentorama/Modulo 3 - POO/Retangulo.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
Mentorama/Modulo 3 - POO/Retangulo.py
MOURAIGOR/python
b267f8ef277a385e3e315e88a22390512bf1e101
[ "MIT" ]
null
null
null
class Retangulo: # Atributos def __init__(self, comprimento, altura): self.setcomprimento(comprimento) self.setAltura(altura) # Métodos def setcomprimento(self, comprimento): self.comprimento = comprimento def getcomprimento(self): return self.comprimento def se...
28
71
0.679724
94
868
6.234043
0.319149
0.153584
0.071672
0.085324
0.075085
0
0
0
0
0
0
0.002946
0.217742
868
30
72
28.933333
0.860088
0.032258
0
0
0
0
0.113636
0
0
0
0
0.033333
0
1
0.333333
false
0
0
0.190476
0.571429
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
f40f0e5d0f6c305a62e87232ab24691dc4b36cbe
4,053
py
Python
DEMs/denmark/download_dk_dem.py
PeterFogh/digital_elevation_model_use_cases
0e72cc6238ca5217a73d06dc3e8c3229024112c3
[ "MIT" ]
null
null
null
DEMs/denmark/download_dk_dem.py
PeterFogh/digital_elevation_model_use_cases
0e72cc6238ca5217a73d06dc3e8c3229024112c3
[ "MIT" ]
null
null
null
DEMs/denmark/download_dk_dem.py
PeterFogh/digital_elevation_model_use_cases
0e72cc6238ca5217a73d06dc3e8c3229024112c3
[ "MIT" ]
null
null
null
""" Fetch all files from Kortforsyningen FTP server folder. Copyright (c) 2021 Peter Fogh See also command line alternative in `download_dk_dem.sh` """ from ftplib import FTP, error_perm import os from pathlib import Path import time import operator import functools import shutil # TODO: use logging to std instead of...
32.166667
117
0.66642
540
4,053
4.818519
0.314815
0.036895
0.040354
0.034589
0.355496
0.355496
0.297079
0.283244
0.261722
0.219831
0
0.013162
0.231434
4,053
125
118
32.424
0.822151
0.400691
0
0
0
0
0.215134
0.041355
0
0
0
0.016
0
1
0.052632
false
0.017544
0.140351
0
0.263158
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f40ff4bc5a583d0c231681fd8bba22b2aa827939
3,481
py
Python
6_refin_widgets.py
jiaxinjiang2919/Refinance-Calculator
f4bb0c536b88692ef90f504fdb2d9bed85588b7c
[ "Apache-2.0" ]
14
2019-05-01T05:03:20.000Z
2022-01-08T03:18:05.000Z
6_refin_widgets.py
jiaxinjiang2919/Refinance-Calculator
f4bb0c536b88692ef90f504fdb2d9bed85588b7c
[ "Apache-2.0" ]
null
null
null
6_refin_widgets.py
jiaxinjiang2919/Refinance-Calculator
f4bb0c536b88692ef90f504fdb2d9bed85588b7c
[ "Apache-2.0" ]
8
2019-05-19T11:24:28.000Z
2022-02-16T20:19:30.000Z
# -*- coding: utf-8 -*- """ Created on Sun Mar 24 15:02:37 2019 @author: Matt Macarty """ from tkinter import * import numpy as np class LoanCalculator: def __init__(self): window = Tk() window.title("Loan Calculator") Label(window, text="Loan Amount").grid(row=1...
36.642105
118
0.578857
447
3,481
4.474273
0.263982
0.077
0.09
0.076
0.233
0.176
0.176
0.118
0.08
0
0
0.040048
0.275496
3,481
94
119
37.031915
0.752974
0.077851
0
0.034483
0
0
0.075137
0
0
0
0
0
0
1
0.051724
false
0.017241
0.034483
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f4117b390cbdb79866a23c18436a60de53454ed6
19,224
py
Python
ndctl.py
davelarsen58/pmemtool
a7acb0991cbcd683f761d4b108d018d7d2d10aeb
[ "MIT" ]
3
2021-12-17T04:26:30.000Z
2022-03-30T06:32:21.000Z
ndctl.py
davelarsen58/pmemtool
a7acb0991cbcd683f761d4b108d018d7d2d10aeb
[ "MIT" ]
9
2021-12-21T17:14:58.000Z
2022-02-12T00:45:11.000Z
ndctl.py
davelarsen58/pmemtool
a7acb0991cbcd683f761d4b108d018d7d2d10aeb
[ "MIT" ]
1
2022-01-18T23:26:02.000Z
2022-01-18T23:26:02.000Z
#!/usr/bin/python3 # # PMTOOL NDCTL Python Module # Copyright (C) David P Larsen # Released under MIT License import os import json from common import message, get_linenumber, pretty_print from common import V0, V1, V2, V3, V4, V5, D0, D1, D2, D3, D4, D5 import common as c import time DEFAULT_FSTAB_FILE = "/etc/fsta...
27.700288
120
0.5567
2,408
19,224
4.240864
0.126246
0.028202
0.052879
0.03349
0.649334
0.608598
0.54906
0.511555
0.493929
0.49011
0
0.03553
0.254786
19,224
693
121
27.74026
0.6773
0.2964
0
0.543544
0
0
0.216888
0.06067
0
0
0
0
0
1
0.06006
false
0
0.027027
0
0.132132
0.108108
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f4125249bade8003f4245ff65531e572d79b0160
653
py
Python
tb/sources/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
1
2017-11-29T11:51:12.000Z
2017-11-29T11:51:12.000Z
tb/sources/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
109
2017-11-28T20:51:59.000Z
2018-02-02T13:15:29.000Z
tb/sources/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
null
null
null
from .admin import ReviewListAdmin, SoAdminReviewIsOut, SoReviewForAdmin from .admin_commands import ( AdminCommands, AdminFilteredCommands, ReviewListByCommands, SoIgnoreReview, SoSubmitReview ) from .gerrit import ReviewOnServer, SoNewReview, SoOutReview, SoUpdateReview from .reaction import ( ReactionAlways, ...
20.40625
76
0.82389
52
653
10.307692
0.75
0.033582
0
0
0
0
0
0
0
0
0
0
0.119449
653
31
77
21.064516
0.932174
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.225806
0
0.225806
0
0
0
1
null
0
0
0
0
0
0
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
f412b42dfc85a5a206a8dd5d9f02a0078c055cdd
60,615
py
Python
sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
52.480519
147
0.640502
6,120
60,615
6.207516
0.066013
0.034746
0.029113
0.027218
0.948381
0.937326
0.929113
0.922664
0.918794
0.912345
0
0.001461
0.288394
60,615
1,154
148
52.525997
0.879283
0.647727
0
0.743119
1
0
0.115593
0.055118
0
0
0
0
0
1
0.16208
false
0.003058
0.021407
0
0.281346
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f41456d2af09359f55da03d5a94e013a18221147
3,935
py
Python
core/swift3.1.1Action/swift3runner.py
ianpartridge/incubator-openwhisk-runtime-swift
5aacba1435f46b13cbb0a70874afb4b53c1a78bc
[ "Apache-2.0" ]
2
2017-08-18T23:02:29.000Z
2018-01-20T22:44:33.000Z
core/swift3.1.1Action/swift3runner.py
ianpartridge/incubator-openwhisk-runtime-swift
5aacba1435f46b13cbb0a70874afb4b53c1a78bc
[ "Apache-2.0" ]
4
2017-02-03T17:01:33.000Z
2017-03-27T01:29:56.000Z
core/swift3.1.1Action/swift3runner.py
ianpartridge/incubator-openwhisk-runtime-swift
5aacba1435f46b13cbb0a70874afb4b53c1a78bc
[ "Apache-2.0" ]
4
2019-10-08T13:43:47.000Z
2021-11-10T15:36:35.000Z
"""Python proxy to run Swift action. /* * 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, Ve...
34.217391
104
0.636595
524
3,935
4.681298
0.389313
0.028536
0.022829
0.013045
0.044028
0.019568
0
0
0
0
0
0.006928
0.266328
3,935
114
105
34.517544
0.842743
0.357814
0
0.061538
0
0
0.128737
0.078119
0
0
0
0
0
1
0.076923
false
0.015385
0.107692
0
0.246154
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
f4166388f315b81cfe6df485234fcfe561b8ac22
251
py
Python
src/ychaos/utils/types.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
8
2021-07-21T15:37:48.000Z
2022-03-03T14:43:09.000Z
src/ychaos/utils/types.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
102
2021-07-20T16:08:29.000Z
2022-03-25T07:28:37.000Z
src/ychaos/utils/types.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
8
2021-07-20T13:37:46.000Z
2022-02-18T01:44:52.000Z
from typing import Dict, List, TypeVar, Union JsonTypeVar = TypeVar("JsonTypeVar") JsonPrimitive = Union[str, float, int, bool, None] JsonDict = Dict[str, JsonTypeVar] JsonArray = List[JsonTypeVar] Json = Union[JsonPrimitive, JsonDict, JsonArray]
22.818182
50
0.760956
29
251
6.586207
0.586207
0
0
0
0
0
0
0
0
0
0
0
0.131474
251
10
51
25.1
0.876147
0
0
0
0
0
0.043825
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
0
0
1
f416d0a9f34ba173050cd0b0ffffe6b5fee17622
6,006
py
Python
yandex_market_language/models/promo.py
stefanitsky/yandex_market_language
e17595b556fc55e183cf366227b2739c5c6178dc
[ "MIT" ]
7
2020-03-28T22:35:52.000Z
2021-09-16T10:50:10.000Z
yandex_market_language/models/promo.py
stefanitsky/yandex_market_language
e17595b556fc55e183cf366227b2739c5c6178dc
[ "MIT" ]
192
2020-03-29T12:38:53.000Z
2021-09-01T14:12:07.000Z
yandex_market_language/models/promo.py
stefanitsky/yandex_market_language
e17595b556fc55e183cf366227b2739c5c6178dc
[ "MIT" ]
6
2020-06-05T09:07:02.000Z
2021-11-28T14:37:58.000Z
import typing as t from yandex_market_language import models from yandex_market_language.models.abstract import XMLElement, XMLSubElement class Promo(models.AbstractModel): """ Docs: https://yandex.ru/support/partnermarket/elements/promo-gift.html """ MAPPING = { "start-date": "start_date", ...
27.934884
78
0.580087
693
6,006
4.784993
0.108225
0.046442
0.033173
0.033776
0.354946
0.27503
0.252714
0.240953
0.202352
0.183655
0
0.000239
0.304529
6,006
214
79
28.065421
0.793632
0.059441
0
0.178344
0
0
0.085827
0
0
0
0
0
0
1
0.101911
false
0
0.019108
0.038217
0.254777
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
f4173149ff496f494a4326e1f0ac4dc7014b0225
3,834
py
Python
src/testCmd.py
skogsbaer/check-assignments
cda8208c10644eecfe0bb988bee61098485aa6c4
[ "BSD-3-Clause" ]
null
null
null
src/testCmd.py
skogsbaer/check-assignments
cda8208c10644eecfe0bb988bee61098485aa6c4
[ "BSD-3-Clause" ]
null
null
null
src/testCmd.py
skogsbaer/check-assignments
cda8208c10644eecfe0bb988bee61098485aa6c4
[ "BSD-3-Clause" ]
1
2021-03-26T14:00:14.000Z
2021-03-26T14:00:14.000Z
import shell from dataclasses import dataclass from utils import * from ownLogging import * from typing import * from ansi import * import re import os import testHaskell import testPython import testJava @dataclass class TestArgs: dirs: List[str] assignments: List[str] # take all if empty interactive: boo...
30.919355
103
0.594158
429
3,834
5.275058
0.30303
0.034026
0.067609
0.03977
0.144057
0.107821
0.052143
0.052143
0
0
0
0.000751
0.305164
3,834
123
104
31.170732
0.848724
0.004434
0
0.140351
0
0
0.133159
0.006291
0
0
0
0
0
1
0.061404
false
0
0.096491
0
0.236842
0.096491
0
0
0
null
0
0
0
0
0
0
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
f4189a148892e47a3efe2ef760b39a4a07630dfd
14,098
py
Python
kipoi_containers/singularityhelper.py
kipoi/kipoi-containers
5978cf1563dcc1072170f28a0a956cc28aa3c406
[ "MIT" ]
null
null
null
kipoi_containers/singularityhelper.py
kipoi/kipoi-containers
5978cf1563dcc1072170f28a0a956cc28aa3c406
[ "MIT" ]
11
2021-11-30T19:30:50.000Z
2022-03-29T17:06:15.000Z
kipoi_containers/singularityhelper.py
kipoi/kipoi-containers
5978cf1563dcc1072170f28a0a956cc28aa3c406
[ "MIT" ]
null
null
null
from collections import Counter from datetime import datetime import os import requests from subprocess import Popen, PIPE from pathlib import Path import json from typing import Dict, Union, TYPE_CHECKING from kipoi_utils.external.torchvision.dataset_utils import download_url if TYPE_CHECKING: import zenodoclien...
36.148718
109
0.62633
1,589
14,098
5.319698
0.155444
0.117355
0.072874
0.024843
0.57175
0.535195
0.469301
0.415829
0.338578
0.316574
0
0.003498
0.269967
14,098
389
110
36.241645
0.81782
0.152007
0
0.453968
0
0.003175
0.251758
0.098805
0
0
0
0
0
1
0.034921
false
0.003175
0.031746
0
0.095238
0.019048
0
0
0
null
0
0
0
0
0
0
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
f418aa86180868641545c7ca6a350482c74458ed
1,152
py
Python
policy/_cache.py
garenchan/policy
fbd056c0474e62252d1fe986fe029cacde6845d8
[ "Apache-2.0" ]
5
2018-10-17T21:06:07.000Z
2021-12-31T01:33:09.000Z
policy/_cache.py
garenchan/policy
fbd056c0474e62252d1fe986fe029cacde6845d8
[ "Apache-2.0" ]
1
2018-09-07T09:00:41.000Z
2018-09-07T11:06:14.000Z
policy/_cache.py
garenchan/policy
fbd056c0474e62252d1fe986fe029cacde6845d8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ policy._cache ~~~~~~~~~~~~~~~ Cache for policy file. """ import os import logging LOG = logging.getLogger(__name__) # Global file cache CACHE = {} def read_file(filename: str, force_reload=False): """Read a file if it has been modified. :param filename: File name ...
21.735849
76
0.631944
150
1,152
4.713333
0.46
0.076379
0.067893
0.067893
0
0
0
0
0
0
0
0.002326
0.253472
1,152
52
77
22.153846
0.819767
0.327257
0
0
0
0
0.058577
0
0
0
0
0
0
1
0.090909
false
0.045455
0.090909
0
0.227273
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
f419167b819e5ee174fbe6b84ca88ef1f496b659
10,858
py
Python
contrib/opencensus-ext-django/opencensus/ext/django/middleware.py
samn/opencensus-python
d8709f141b67f7f5ba011c440b8ba8fb9cbc419a
[ "Apache-2.0" ]
null
null
null
contrib/opencensus-ext-django/opencensus/ext/django/middleware.py
samn/opencensus-python
d8709f141b67f7f5ba011c440b8ba8fb9cbc419a
[ "Apache-2.0" ]
null
null
null
contrib/opencensus-ext-django/opencensus/ext/django/middleware.py
samn/opencensus-python
d8709f141b67f7f5ba011c440b8ba8fb9cbc419a
[ "Apache-2.0" ]
null
null
null
# Copyright 2017, OpenCensus Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
36.682432
79
0.667618
1,254
10,858
5.454545
0.191388
0.041813
0.034795
0.018275
0.351462
0.264035
0.200585
0.182749
0.125292
0.11155
0
0.001995
0.261374
10,858
295
80
36.80678
0.850873
0.193314
0
0.237838
0
0
0.075052
0.025367
0
0
0
0
0
1
0.059459
false
0
0.059459
0.005405
0.189189
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
f419f2c87349548809cd06192323167246871ccd
1,322
py
Python
codeblockCar/codingPage/tests.py
ICT2x01-p2-4/ICT2x01-p2-4
6249c0a807354b33db80f367344fe14cb5512840
[ "MIT" ]
null
null
null
codeblockCar/codingPage/tests.py
ICT2x01-p2-4/ICT2x01-p2-4
6249c0a807354b33db80f367344fe14cb5512840
[ "MIT" ]
24
2021-09-29T02:46:17.000Z
2021-11-06T13:32:11.000Z
codeblockCar/codingPage/tests.py
ICT2x01-p2-4/Codeblock-car
6249c0a807354b33db80f367344fe14cb5512840
[ "MIT" ]
null
null
null
from typing import Reversible from django.test import TestCase, Client from challenge.models import Challenge from codingPage.models import Command, Log from django.core.exceptions import ValidationError from django.urls import reverse class CodingPageTest(TestCase): def setUp(self) -> None: self.client = ...
38.882353
113
0.630862
162
1,322
5.080247
0.481481
0.019441
0.025516
0.029162
0.09113
0.010936
0.010936
0.010936
0
0
0
0.024267
0.251891
1,322
33
114
40.060606
0.807887
0.088502
0
0
0
0
0.100503
0.017588
0
0
0
0
0.071429
1
0.107143
false
0
0.214286
0
0.392857
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
f41a1ce9bbfb9a3f65c33e9986100ab487ba7015
537
py
Python
app/hint/models.py
vigov5/oshougatsu2015
38cbf325675ee2c08a6965b8689fad8308eb84eb
[ "MIT" ]
null
null
null
app/hint/models.py
vigov5/oshougatsu2015
38cbf325675ee2c08a6965b8689fad8308eb84eb
[ "MIT" ]
null
null
null
app/hint/models.py
vigov5/oshougatsu2015
38cbf325675ee2c08a6965b8689fad8308eb84eb
[ "MIT" ]
null
null
null
import os import datetime from app import app, db class Hint(db.Model): __tablename__ = 'hints' id = db.Column(db.Integer, primary_key=True) description = db.Column(db.Text) is_open = db.Column(db.Boolean) problem_id = db.Column(db.Integer, db.ForeignKey('problems.id')) def __repr__(self): ...
26.85
68
0.666667
72
537
4.722222
0.458333
0.094118
0.117647
0.070588
0.111765
0
0
0
0
0
0
0
0.210428
537
20
69
26.85
0.801887
0
0
0
0
0
0.046468
0
0
0
0
0
0
1
0.133333
false
0
0.2
0.066667
0.8
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
f41ab377d1e1427d9115db2eb2f0758b5461fed9
204
py
Python
base/urls.py
almustafa-noureddin/Portfolio-website
67462c98fec65e74183ae057e8b31b5bdff1402c
[ "MIT" ]
null
null
null
base/urls.py
almustafa-noureddin/Portfolio-website
67462c98fec65e74183ae057e8b31b5bdff1402c
[ "MIT" ]
null
null
null
base/urls.py
almustafa-noureddin/Portfolio-website
67462c98fec65e74183ae057e8b31b5bdff1402c
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = "base" urlpatterns = [ path('', views.IndexView.as_view(), name="home"), path('contact/', views.ContactView.as_view(), name="contact"),]
22.666667
67
0.686275
27
204
5.074074
0.592593
0.087591
0.145985
0
0
0
0
0
0
0
0
0
0.132353
204
9
67
22.666667
0.774011
0
0
0
0
0
0.112195
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
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
1
0
0
0
0
3
f41b63806a18c6ea9b6ee2484bb3111d3bc16034
33,899
py
Python
app/main/views/templates.py
cds-snc/notification-admin
d4056798bf889ad29893667bbb67ead2f8e466e4
[ "MIT" ]
16
2019-11-05T21:35:49.000Z
2022-01-12T15:00:32.000Z
app/main/views/templates.py
cds-snc/notification-admin
d4056798bf889ad29893667bbb67ead2f8e466e4
[ "MIT" ]
509
2019-07-11T22:03:19.000Z
2022-03-30T15:19:26.000Z
app/main/views/templates.py
cds-snc/notification-admin
d4056798bf889ad29893667bbb67ead2f8e466e4
[ "MIT" ]
8
2020-02-21T20:19:29.000Z
2022-03-31T14:17:02.000Z
from datetime import datetime, timedelta from string import ascii_uppercase from dateutil.parser import parse from flask import abort, flash, jsonify, redirect, render_template, request, url_for from flask_babel import _ from flask_babel import lazy_gettext as _l from flask_login import current_user from markupsafe im...
36.927015
127
0.661081
3,925
33,899
5.355159
0.094522
0.056948
0.041867
0.038822
0.586565
0.514915
0.438127
0.400447
0.349018
0.28498
0
0.004404
0.236467
33,899
917
128
36.967285
0.807673
0.002625
0
0.397419
0
0.00129
0.187032
0.088325
0
0
0
0
0
1
0.04129
false
0.00129
0.024516
0.006452
0.138065
0.002581
0
0
0
null
0
0
0
0
0
0
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
f41c237f71cc3272ed38dd3e63b60d183d0e2aa0
7,999
py
Python
linearRegression_gradientDescent/linearRegression_gradientDescent.py
MarcelloVendruscolo/DeepLearningForImageAnalysis
0f57d63510d0f7b2729d214b3729a21a663794b5
[ "MIT" ]
null
null
null
linearRegression_gradientDescent/linearRegression_gradientDescent.py
MarcelloVendruscolo/DeepLearningForImageAnalysis
0f57d63510d0f7b2729d214b3729a21a663794b5
[ "MIT" ]
null
null
null
linearRegression_gradientDescent/linearRegression_gradientDescent.py
MarcelloVendruscolo/DeepLearningForImageAnalysis
0f57d63510d0f7b2729d214b3729a21a663794b5
[ "MIT" ]
null
null
null
import numpy as np from load_auto import load_auto import matplotlib.pyplot as plt import math def initialize_parameters(observation_dimension): # observation_dimension: number of features taken into consideration of the input # returns weights as a vector and offset as a scalar weights = np.zeros((observa...
48.478788
169
0.739717
1,042
7,999
5.446257
0.154511
0.061322
0.044405
0.022203
0.515066
0.456564
0.411806
0.332863
0.30185
0.227313
0
0.015704
0.156145
7,999
165
170
48.478788
0.825037
0.3998
0
0.202247
0
0
0.059444
0.026138
0
0
0
0
0
1
0.101124
false
0
0.044944
0.011236
0.247191
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
f41df8a9a5f75d57ee4443306eca56bc32c0d2b4
3,426
py
Python
unit_tests/test_hr_calculations.py
mdholbrook/heart_rate_sentinel_server
927b59ad6d2078bd6e3491014fdebbc610d25e63
[ "MIT" ]
null
null
null
unit_tests/test_hr_calculations.py
mdholbrook/heart_rate_sentinel_server
927b59ad6d2078bd6e3491014fdebbc610d25e63
[ "MIT" ]
null
null
null
unit_tests/test_hr_calculations.py
mdholbrook/heart_rate_sentinel_server
927b59ad6d2078bd6e3491014fdebbc610d25e63
[ "MIT" ]
null
null
null
import pytest from functions.hr_calculations import * @pytest.mark.parametrize("candidate, database, expected", [ ('jack', [{'patient_id': 'jump'}, {'patient_id': 'jack'}], 1), ('jungle', [{'patient_id': 'jungle'}, {'patient_id': 'jack'}], 0), ('bo', [{'patient_id': 'james'}, {'patient_id': 'boo'}, ...
32.018692
78
0.600117
507
3,426
3.923077
0.191322
0.058824
0.044243
0.055304
0.663147
0.566114
0.450478
0.343891
0.278532
0.278532
0
0.180065
0.197607
3,426
106
79
32.320755
0.54347
0.037361
0
0.225352
0
0
0.282847
0
0
0
0
0
0.112676
1
0.112676
false
0
0.028169
0
0.140845
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
f41e1e3571049d96370122828fa85b57484158ca
2,492
py
Python
selfdrive/boardd/tests/test_boardd_api.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
114
2020-02-24T14:18:01.000Z
2022-03-19T03:42:00.000Z
selfdrive/boardd/tests/test_boardd_api.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
15
2020-02-25T03:37:44.000Z
2021-09-08T01:51:15.000Z
selfdrive/boardd/tests/test_boardd_api.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
73
2018-12-03T19:34:42.000Z
2020-07-27T05:10:23.000Z
import random import numpy as np import selfdrive.boardd.tests.boardd_old as boardd_old import selfdrive.boardd.boardd as boardd from common.realtime import sec_since_boot from cereal import log import unittest def generate_random_can_data_list(): can_list = [] cnt = random.randint(1, 64) for j in range(cnt):...
31.948718
104
0.668539
378
2,492
4.142857
0.203704
0.07599
0.034483
0.045977
0.57599
0.501277
0.415709
0.415709
0.392082
0.392082
0
0.017051
0.199839
2,492
77
105
32.363636
0.768305
0.062199
0
0.296296
0
0
0.037355
0
0
0
0
0
0.12963
1
0.055556
false
0
0.12963
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
f41f9b1b5316c6d5a7a52a8e3e8227d25b183272
2,037
py
Python
py_types/static/parse.py
zekna/py-types
ec39da1277986f0ea44830dfb0da9d906deb13e1
[ "MIT" ]
5
2015-06-18T20:04:56.000Z
2016-03-15T15:32:44.000Z
py_types/static/parse.py
sarlianna/py-types
ec39da1277986f0ea44830dfb0da9d906deb13e1
[ "MIT" ]
1
2016-01-19T01:39:54.000Z
2016-01-27T19:17:31.000Z
py_types/static/parse.py
zekna/py-types
ec39da1277986f0ea44830dfb0da9d906deb13e1
[ "MIT" ]
null
null
null
import ast import inspect import sys import argparse from ..runtime.asserts import typecheck @typecheck def pretty_print_defs(defs: list) -> None: for d in defs: print("Function definition for {}".format(d["name"])) print("Arguments:") for arg in d["args"]: arg_type = "untyped...
29.955882
122
0.587138
242
2,037
4.772727
0.409091
0.034632
0.025974
0.039827
0
0
0
0
0
0
0
0.002837
0.307806
2,037
67
123
30.402985
0.816312
0.135002
0
0.061224
0
0
0.091168
0.014815
0
0
0
0
0.020408
1
0.081633
false
0.020408
0.102041
0
0.244898
0.163265
0
0
0
null
0
0
0
0
0
0
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
f420912bbaeaef68549b8a153f2087a527d8302c
475
py
Python
example/example/urls.py
pmaccamp/django-tastypie-swagger
d51ef3ea8e33791617edba8ed55a1be1f16e4ccc
[ "Apache-2.0" ]
2
2020-04-13T13:26:42.000Z
2021-10-30T17:56:15.000Z
example/example/urls.py
pmaccamp/django-tastypie-swagger
d51ef3ea8e33791617edba8ed55a1be1f16e4ccc
[ "Apache-2.0" ]
null
null
null
example/example/urls.py
pmaccamp/django-tastypie-swagger
d51ef3ea8e33791617edba8ed55a1be1f16e4ccc
[ "Apache-2.0" ]
5
2020-04-15T07:05:13.000Z
2021-11-01T20:36:10.000Z
from django.conf.urls import include, url from django.contrib import admin from demo.apis import api urlpatterns = [ url(r'^api/', include(api.urls)), url(r'^api/doc/', include(('tastypie_swagger.urls', 'tastypie_swagger'), namespace='demo_api_swagger'), kwargs={ "...
29.6875
76
0.6
58
475
4.775862
0.413793
0.043321
0.050542
0.166065
0
0
0
0
0
0
0
0.00554
0.24
475
15
77
31.666667
0.761773
0
0
0
0
0
0.296842
0.044211
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f420c7cad07b73b890ce9019d4a200470cb1bcbf
948
py
Python
scrapy_framework/midwares/download_midware.py
savor007/scrapy_framework
9f1266eb2d4bb7e181d1c5352b05298e77040980
[ "MIT" ]
null
null
null
scrapy_framework/midwares/download_midware.py
savor007/scrapy_framework
9f1266eb2d4bb7e181d1c5352b05298e77040980
[ "MIT" ]
null
null
null
scrapy_framework/midwares/download_midware.py
savor007/scrapy_framework
9f1266eb2d4bb7e181d1c5352b05298e77040980
[ "MIT" ]
null
null
null
from scrapy_framework.html.request import Request from scrapy_framework.html.response import Response import random def get_ua(): first_num=random.randint(55,69) third_num=random.randint(0,3200) forth_num=random.randint(0, 140) os_type = [ '(Windows NT 6.1; WOW64)', '(Windows NT 10.0; WOW64)...
28.727273
85
0.635021
124
948
4.701613
0.516129
0.046312
0.082333
0.078902
0
0
0
0
0
0
0
0.062928
0.228903
948
33
86
28.727273
0.73461
0
0
0
0
0
0.200211
0
0
0
0
0
0
1
0.125
false
0
0.125
0.041667
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f420caa0d727e8d433f67df3503f8152d7e6f2e7
2,294
py
Python
tracardi/process_engine/action/v1/pro/scheduler/plugin.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
null
null
null
tracardi/process_engine/action/v1/pro/scheduler/plugin.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
null
null
null
tracardi/process_engine/action/v1/pro/scheduler/plugin.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
null
null
null
from pydantic import BaseModel from tracardi.domain.entity import Entity from tracardi.domain.scheduler_config import SchedulerConfig from tracardi.domain.resource import ResourceCredentials from tracardi.service.storage.driver import storage from tracardi.service.plugin.runner import ActionRunner from tracardi.servic...
29.792208
117
0.610724
215
2,294
6.455814
0.446512
0.060519
0.054755
0.054035
0.092219
0.04755
0
0
0
0
0
0.003051
0.285527
2,294
76
118
30.184211
0.843807
0.009154
0
0.032258
0
0
0.111845
0.023778
0
0
0
0
0
1
0.048387
false
0
0.129032
0.032258
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
f4211dfd13f13cb0b576625ee36371455d4c829c
568
py
Python
tests/test_covid_daily.py
alvarobartt/covid-daily
cb4506a007ac206e85409a13281028f6f82441a6
[ "MIT" ]
13
2020-05-23T12:25:04.000Z
2021-12-09T04:56:06.000Z
tests/test_covid_daily.py
alvarobartt/covid-daily
cb4506a007ac206e85409a13281028f6f82441a6
[ "MIT" ]
6
2020-06-02T12:18:12.000Z
2021-06-20T07:59:11.000Z
tests/test_covid_daily.py
alvarobartt/covid-daily
cb4506a007ac206e85409a13281028f6f82441a6
[ "MIT" ]
5
2020-07-02T16:48:19.000Z
2022-03-21T01:52:17.000Z
# Copyright 2020 Alvaro Bartolome, alvarobartt @ GitHub # See LICENSE for details. import pytest import covid_daily def test_overview(): params = [ { 'as_json': True }, { 'as_json': False } ] for param in params: covid_daily.overview(as_js...
15.777778
55
0.568662
63
568
4.809524
0.555556
0.09901
0.072607
0
0
0
0
0
0
0
0
0.010363
0.320423
568
35
56
16.228571
0.774611
0.137324
0
0
0
0
0.10883
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f4214fc3ae97e545eaf80e0585a829da218ecbdc
6,132
py
Python
2021/HANFS/fence-agents/fence/agents/zvm/fence_zvmip.py
BryanWhitehurst/HPCCEA
54b7e7355b67ba3fdce2e28cc1b0e3b29d2bdefa
[ "MIT" ]
10
2019-08-12T23:00:20.000Z
2021-08-06T17:06:48.000Z
2021/HANFS/fence-agents/fence/agents/zvm/fence_zvmip.py
BryanWhitehurst/HPCCEA
54b7e7355b67ba3fdce2e28cc1b0e3b29d2bdefa
[ "MIT" ]
5
2020-06-18T23:51:58.000Z
2021-07-28T17:50:34.000Z
2021/HANFS/fence-agents/fence/agents/zvm/fence_zvmip.py
BryanWhitehurst/HPCCEA
54b7e7355b67ba3fdce2e28cc1b0e3b29d2bdefa
[ "MIT" ]
21
2019-06-10T21:03:03.000Z
2021-08-06T17:57:25.000Z
#!@PYTHON@ -tt import sys import atexit import socket import struct import logging sys.path.append("@FENCEAGENTSLIBDIR@") from fencing import * from fencing import fail, fail_usage, run_delay, EC_LOGIN_DENIED, EC_TIMED_OUT #BEGIN_VERSION_GENERATION RELEASE_VERSION="" REDHAT_COPYRIGHT="" BUILD_DATE="" #END_VERSION_GEN...
31.285714
139
0.693575
867
6,132
4.681661
0.276817
0.032028
0.039419
0.049273
0.268785
0.219266
0.138458
0.107416
0.083764
0.083764
0
0.01276
0.169276
6,132
195
140
31.446154
0.78406
0.033594
0
0.163265
0
0.013605
0.258996
0
0
0
0
0
0
1
0.047619
false
0.027211
0.047619
0.006803
0.163265
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
f4217689eb43722ace5f25924ae5b537893153d9
668
py
Python
2.5.9/test_splash/test_splash/spiders/with_splash.py
feel-easy/myspider
dcc65032015d7dbd8bea78f846fd3cac7638c332
[ "Apache-2.0" ]
1
2019-02-28T10:16:00.000Z
2019-02-28T10:16:00.000Z
2.5.9/test_splash/test_splash/spiders/with_splash.py
wasalen/myspider
dcc65032015d7dbd8bea78f846fd3cac7638c332
[ "Apache-2.0" ]
null
null
null
2.5.9/test_splash/test_splash/spiders/with_splash.py
wasalen/myspider
dcc65032015d7dbd8bea78f846fd3cac7638c332
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy from scrapy_splash import SplashRequest # 使用scrapy_splash包提供的request对象 class WithSplashSpider(scrapy.Spider): name = 'with_splash' allowed_domains = ['baidu.com'] start_urls = ['https://www.baidu.com/s?wd=13161933309'] def start_requests(self): yield Splas...
35.157895
70
0.606287
74
668
5.337838
0.689189
0.050633
0
0
0
0
0
0
0
0
0
0.030738
0.269461
668
18
71
37.111111
0.778689
0.116766
0
0
0
0
0.153846
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f421c73bcef415f2ea33d9a7d630fcbbb3f2dac1
180
py
Python
run.py
iudaichi/iu_linebot
d3f5a7b0227b175963d51d62bcd5894366bde35c
[ "MIT" ]
null
null
null
run.py
iudaichi/iu_linebot
d3f5a7b0227b175963d51d62bcd5894366bde35c
[ "MIT" ]
null
null
null
run.py
iudaichi/iu_linebot
d3f5a7b0227b175963d51d62bcd5894366bde35c
[ "MIT" ]
null
null
null
from main import app import os import uvicorn if __name__ == '__main__': port = int(os.getenv("PORT")) uvicorn.run(app, host="0.0.0.0", port=port, workers=1, reload=True)
22.5
71
0.677778
30
180
3.8
0.6
0.052632
0.052632
0
0
0
0
0
0
0
0
0.033113
0.161111
180
7
72
25.714286
0.721854
0
0
0
0
0
0.105556
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
f422b787a305cf7e7c9786d86bf5d8569355733a
5,889
py
Python
fastestimator/architecture/pytorch/unet.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
57
2019-05-21T21:29:26.000Z
2022-02-23T05:55:21.000Z
fastestimator/architecture/pytorch/unet.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
93
2019-05-23T18:36:07.000Z
2022-03-23T17:15:55.000Z
fastestimator/architecture/pytorch/unet.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
47
2019-05-09T15:41:37.000Z
2022-03-26T17:00:08.000Z
# Copyright 2019 The FastEstimator 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 appl...
43.301471
110
0.609611
779
5,889
4.450578
0.245186
0.050764
0.018171
0.022209
0.419383
0.398616
0.364869
0.345255
0.323911
0.319873
0
0.042598
0.278485
5,889
135
111
43.622222
0.773358
0.268127
0
0.302632
0
0
0.033761
0
0
0
0
0
0
1
0.092105
false
0
0.065789
0.013158
0.236842
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
f422e0910bbd8a7ecf986379f467205dc93f05c0
5,660
py
Python
generalfile/path.py
Mandera/generalfile
5e476a1c075fa072c7e52e62455feeb78b9bb298
[ "MIT" ]
null
null
null
generalfile/path.py
Mandera/generalfile
5e476a1c075fa072c7e52e62455feeb78b9bb298
[ "MIT" ]
null
null
null
generalfile/path.py
Mandera/generalfile
5e476a1c075fa072c7e52e62455feeb78b9bb298
[ "MIT" ]
null
null
null
import pathlib import os from generallibrary import VerInfo, TreeDiagram, Recycle, classproperty, deco_cache from generalfile.errors import InvalidCharacterError from generalfile.path_lock import Path_ContextManager from generalfile.path_operations import Path_Operations from generalfile.path_strings import Path_St...
28.3
137
0.649117
714
5,660
4.879552
0.221289
0.108496
0.040184
0.056257
0.276119
0.211538
0.153559
0.058266
0
0
0
0.004968
0.25318
5,660
199
138
28.442211
0.819257
0.069258
0
0.160714
0
0.008929
0.083913
0.0058
0
0
0
0.005025
0
1
0.160714
false
0
0.098214
0.071429
0.464286
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
f423a60c36497f5bf95253c92fffc3d805f3c461
11,128
py
Python
src/genui/models/models.py
Tontolda/genui
c5b7da7c5a99fc16d34878e2170145ac7c8e31c4
[ "0BSD" ]
15
2021-05-31T13:39:17.000Z
2022-03-30T12:04:14.000Z
src/genui/models/models.py
martin-sicho/genui
ea7f1272030a13e8e253a7a9b6479ac6a78552d3
[ "MIT" ]
3
2021-04-08T22:02:22.000Z
2022-03-16T09:10:20.000Z
src/genui/models/models.py
Tontolda/genui
c5b7da7c5a99fc16d34878e2170145ac7c8e31c4
[ "0BSD" ]
5
2021-03-04T11:00:54.000Z
2021-12-18T22:59:22.000Z
import os from django.db import models import uuid # Create your models here. from djcelery_model.models import TaskMixin from polymorphic.models import PolymorphicModel from genui.utils.models import NON_POLYMORPHIC_CASCADE, OverwriteStorage from genui.utils.extensions.tasks.models import TaskShortcutsMixIn, Polymo...
34.030581
190
0.668494
1,164
11,128
6.241409
0.19244
0.022299
0.021198
0.028906
0.412663
0.386373
0.322092
0.279835
0.245974
0.183758
0
0.005754
0.234723
11,128
327
191
34.030581
0.847346
0.048976
0
0.343612
0
0.017621
0.096679
0.025978
0
0
0
0.003058
0
1
0.092511
false
0.008811
0.052863
0.061674
0.599119
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
f4242dbae6b7b1f46a3706ed85d4e577d7b0d160
106,765
py
Python
projectroles/tests/test_views_api.py
bihealth/sodar_core
a6c22c4f276b64ffae6de48779a82d59a60a9333
[ "MIT" ]
11
2019-06-26T14:05:58.000Z
2020-12-05T02:20:11.000Z
projectroles/tests/test_views_api.py
bihealth/sodar_core
a6c22c4f276b64ffae6de48779a82d59a60a9333
[ "MIT" ]
11
2019-07-01T06:17:44.000Z
2021-04-20T07:19:40.000Z
projectroles/tests/test_views_api.py
bihealth/sodar_core
a6c22c4f276b64ffae6de48779a82d59a60a9333
[ "MIT" ]
4
2019-06-26T07:49:50.000Z
2020-05-19T21:58:10.000Z
"""REST API view tests for the projectroles app""" import base64 import json import pytz from django.conf import settings from django.core import mail from django.forms.models import model_to_dict from django.test import override_settings from django.urls import reverse from django.utils import timezone from knox.mod...
35.166337
93
0.607577
11,402
106,765
5.443343
0.036309
0.058004
0.036317
0.040651
0.851688
0.823105
0.791815
0.77667
0.758543
0.742077
0
0.007696
0.288025
106,765
3,035
94
35.177924
0.808798
0.111553
0
0.669526
0
0
0.100968
0.029328
0
0
0
0.000329
0.109707
1
0.063205
false
0.000903
0.008126
0.000451
0.086682
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
f4244d996a4c380f34dcf151872e78afdd5ea5e0
7,569
py
Python
src/model/model.py
kwasnydam/animal_disambiguation
1dba0a2f40ca952a3adab925ff9ef54238cf7c1c
[ "MIT" ]
null
null
null
src/model/model.py
kwasnydam/animal_disambiguation
1dba0a2f40ca952a3adab925ff9ef54238cf7c1c
[ "MIT" ]
5
2020-03-24T17:52:45.000Z
2021-08-23T20:28:40.000Z
src/model/model.py
kwasnydam/animal_disambiguation
1dba0a2f40ca952a3adab925ff9ef54238cf7c1c
[ "MIT" ]
null
null
null
"""Contains the classification model I am going to use in my problem and some utility functions. Functions build_mmdisambiguator - build the core application object with the collaborators info Classes MMDisambiguator - core class of the application """ import pickle import os import numpy as np from sklearn....
39.836842
118
0.680011
821
7,569
6.109622
0.2838
0.044856
0.018142
0.026914
0.086922
0.036683
0.023923
0.023923
0.023923
0
0
0.002451
0.245343
7,569
189
119
40.047619
0.8757
0.337561
0
0.111111
0
0
0.08535
0
0
0
0
0
0
1
0.10101
false
0.010101
0.060606
0
0.282828
0.020202
0
0
0
null
0
0
0
0
0
0
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
f425ac3324f9ff67c7cc522a90e36c4d71da699a
2,848
py
Python
v0.5.0/nvidia/submission/code/recommendation/pytorch/load.py
myelintek/results
11c38436a158c453e3011f8684570f7a55c03330
[ "Apache-2.0" ]
44
2018-11-07T18:52:33.000Z
2019-07-06T12:48:18.000Z
v0.5.0/nvidia/submission/code/recommendation/pytorch/load.py
myelintek/results
11c38436a158c453e3011f8684570f7a55c03330
[ "Apache-2.0" ]
12
2018-12-13T18:04:36.000Z
2019-06-14T20:49:33.000Z
v0.5.0/nvidia/submission/code/recommendation/pytorch/load.py
myelintek/results
11c38436a158c453e3011f8684570f7a55c03330
[ "Apache-2.0" ]
44
2018-11-09T21:04:52.000Z
2019-06-24T07:40:28.000Z
# Copyright (c) 2018, deepakn94. 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 applicable law ...
34.313253
78
0.670997
370
2,848
5.035135
0.364865
0.032206
0.061728
0.072464
0.303811
0.290929
0.271068
0.271068
0.271068
0.193773
0
0.007836
0.193469
2,848
82
79
34.731707
0.803222
0.201194
0
0.234043
0
0
0.156568
0
0
0
0
0
0
1
0.170213
false
0
0.042553
0
0.382979
0.021277
0
0
0
null
0
0
0
0
0
0
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
f42643ddcdfa49204eb89ec1d689fa4a85b4b22e
38,947
py
Python
rpython/jit/backend/llsupport/test/test_rewrite.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
1
2019-11-25T10:52:01.000Z
2019-11-25T10:52:01.000Z
rpython/jit/backend/llsupport/test/test_rewrite.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
null
null
null
rpython/jit/backend/llsupport/test/test_rewrite.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
null
null
null
from rpython.jit.backend.llsupport.descr import get_size_descr,\ get_field_descr, get_array_descr, ArrayDescr, FieldDescr,\ SizeDescr, get_interiorfield_descr from rpython.jit.backend.llsupport.gc import GcLLDescr_boehm,\ GcLLDescr_framework from rpython.jit.backend.llsupport import jitframe from rpython...
36.811909
90
0.518885
4,203
38,947
4.564835
0.091601
0.053685
0.037527
0.039612
0.687324
0.624257
0.557073
0.483425
0.457208
0.410091
0
0.048662
0.371582
38,947
1,057
91
36.846736
0.73524
0.031248
0
0.636364
0
0
0.658979
0.082488
0
0
0
0
0.001045
1
0.064786
false
0.00209
0.011494
0.003135
0.100313
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f427c8d1c78db5257b6c365066dd8f7483686e6c
10,390
py
Python
hummingbot/client/command/history_command.py
sanchaymittal/hummingbot
f8d1c19dfd0875bd12717f9c46ddbe20cc7b9a0d
[ "Apache-2.0" ]
null
null
null
hummingbot/client/command/history_command.py
sanchaymittal/hummingbot
f8d1c19dfd0875bd12717f9c46ddbe20cc7b9a0d
[ "Apache-2.0" ]
null
null
null
hummingbot/client/command/history_command.py
sanchaymittal/hummingbot
f8d1c19dfd0875bd12717f9c46ddbe20cc7b9a0d
[ "Apache-2.0" ]
null
null
null
from decimal import Decimal import pandas as pd from typing import ( Any, Dict, Set, Tuple, TYPE_CHECKING) from hummingbot.client.performance_analysis import PerformanceAnalysis from hummingbot.core.utils.exchange_rate_conversion import ExchangeRateConversion from hummingbot.market.market_base impo...
52.474747
123
0.624254
1,104
10,390
5.564312
0.171196
0.062673
0.066417
0.039394
0.278528
0.21846
0.159206
0.148462
0.105486
0.091161
0
0.002995
0.292974
10,390
197
124
52.741117
0.833243
0.062368
0
0.135802
0
0
0.099815
0.02305
0
0
0
0
0
1
0.049383
false
0
0.049383
0
0.160494
0.04321
0
0
0
null
0
0
0
0
0
0
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
f427f297c82ca0ccff892cae6ccdb0651100e3ef
3,271
py
Python
scripts/bin2asm.py
sami2316/asm2vec-pytorch
5de1351aeda61d7467b3231e48437fd8d34a970c
[ "MIT" ]
null
null
null
scripts/bin2asm.py
sami2316/asm2vec-pytorch
5de1351aeda61d7467b3231e48437fd8d34a970c
[ "MIT" ]
null
null
null
scripts/bin2asm.py
sami2316/asm2vec-pytorch
5de1351aeda61d7467b3231e48437fd8d34a970c
[ "MIT" ]
null
null
null
import re import os import click import r2pipe import hashlib from pathlib import Path import _pickle as cPickle def sha3(data): return hashlib.sha3_256(data.encode()).hexdigest() def validEXE(filename): magics = [bytes.fromhex('7f454c46')] with open(filename, 'rb') as f: header = f.read(4) ...
26.811475
123
0.566188
436
3,271
4.213303
0.33945
0.022863
0.017964
0.019597
0.068046
0.033206
0.033206
0.033206
0.033206
0.033206
0
0.013971
0.277897
3,271
121
124
27.033058
0.76376
0.059309
0
0.081395
0
0
0.175025
0.027532
0
0
0
0
0.011628
1
0.069767
false
0
0.081395
0.011628
0.244186
0.034884
0
0
0
null
0
0
0
0
0
0
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
f4283fe6df2818523658c305534af2e5905a9186
180
py
Python
6/4.py
Chyroc/homework
b1ee8e9629b4dbb6c46a550d710157702d57b00b
[ "MIT" ]
null
null
null
6/4.py
Chyroc/homework
b1ee8e9629b4dbb6c46a550d710157702d57b00b
[ "MIT" ]
1
2018-05-23T02:12:16.000Z
2018-05-23T02:12:31.000Z
6/4.py
Chyroc/homework
b1ee8e9629b4dbb6c46a550d710157702d57b00b
[ "MIT" ]
null
null
null
import re def remove_not_alpha_num(string): return re.sub('[^0-9a-zA-Z]+', '', string) if __name__ == '__main__': print(remove_not_alpha_num('a000 aa-b') == 'a000aab')
18
57
0.65
28
180
3.678571
0.785714
0.174757
0.271845
0.330097
0
0
0
0
0
0
0
0.052632
0.155556
180
9
58
20
0.625
0
0
0
0
0
0.205556
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.2
1
0
0
null
0
1
1
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
1
0
0
0
5
f4284681ecf92df1bb97ccccca1bcb0558c6d8a3
1,763
py
Python
LazyAngus/Assets/Extensions/IOSDeploy/Scripts/Editor/post_process.py
DougLazyAngus/lazyAngus
485a8d5061ab740ab055abfc7fc5b86b864a5c7e
[ "Apache-2.0" ]
null
null
null
LazyAngus/Assets/Extensions/IOSDeploy/Scripts/Editor/post_process.py
DougLazyAngus/lazyAngus
485a8d5061ab740ab055abfc7fc5b86b864a5c7e
[ "Apache-2.0" ]
null
null
null
LazyAngus/Assets/Extensions/IOSDeploy/Scripts/Editor/post_process.py
DougLazyAngus/lazyAngus
485a8d5061ab740ab055abfc7fc5b86b864a5c7e
[ "Apache-2.0" ]
null
null
null
import os from sys import argv from mod_pbxproj import XcodeProject #import appcontroller path = argv[1] frameworks = argv[2].split(' ') libraries = argv[3].split(' ') cflags = argv[4].split(' ') ldflags = argv[5].split(' ') folders = argv[6].split(' ') print('Step 1: add system frameworks ') #if...
29.383333
94
0.608622
242
1,763
4.355372
0.301653
0.066414
0.053131
0.037951
0.314991
0.297913
0.248577
0.248577
0.248577
0.16129
0
0.018954
0.251843
1,763
59
95
29.881356
0.780136
0.0346
0
0.125
0
0
0.195003
0.055454
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.125
0
0
0
null
0
0
0
0
0
0
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
f428973b7e9156b1b01843493a65c906c5b5ba52
996
py
Python
judge/migrations/0024_auto_20200705_0246.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
2
2020-04-02T19:50:03.000Z
2020-08-06T18:30:25.000Z
judge/migrations/0024_auto_20200705_0246.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
28
2020-03-19T16:29:58.000Z
2021-09-22T18:47:30.000Z
judge/migrations/0024_auto_20200705_0246.py
TheAvidDev/pnoj-site
63299e873b1fb654667545222ce2b3157e78acd9
[ "MIT" ]
2
2020-08-09T06:23:12.000Z
2020-10-13T00:13:25.000Z
# Generated by Django 3.0.8 on 2020-07-05 02:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('judge', '0023_auto_20200704_2318'), ] operations = [ migrations.AlterField( model_name='submission', name='language'...
41.5
278
0.564257
106
996
5.226415
0.528302
0.072202
0.090253
0.104693
0.501805
0.501805
0.501805
0.501805
0.501805
0.501805
0
0.086735
0.212851
996
23
279
43.304348
0.619898
0.045181
0
0.235294
1
0
0.303477
0.024236
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
f4299097184e1727c715f499e066d9e69de9e523
26,771
py
Python
src/badge_hub.py
stottlerhenke-seattle/openbadge-hub-py
d0eb1772eb1250862041cc50071252f46d4c4771
[ "MIT" ]
null
null
null
src/badge_hub.py
stottlerhenke-seattle/openbadge-hub-py
d0eb1772eb1250862041cc50071252f46d4c4771
[ "MIT" ]
null
null
null
src/badge_hub.py
stottlerhenke-seattle/openbadge-hub-py
d0eb1772eb1250862041cc50071252f46d4c4771
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import, division, print_function import os import re import shlex import subprocess import signal import csv import logging import json import time from datetime import datetime as dt from requests.exceptions import RequestException import glob import traceback i...
38.298999
121
0.614956
3,289
26,771
4.812709
0.156279
0.020216
0.018574
0.018005
0.422579
0.347084
0.281825
0.23836
0.194264
0.173669
0
0.005378
0.277651
26,771
698
122
38.353868
0.813166
0.128273
0
0.288747
0
0.010616
0.18649
0.009576
0
0
0
0.001433
0
1
0.053079
false
0.004246
0.053079
0.002123
0.144374
0.025478
0
0
0
null
0
0
0
0
0
0
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
f429caab4270145beb2ac6d0e280f42b19535df8
53
py
Python
python/compile.py
liamgam/gdkit
e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95
[ "BSD-2-Clause" ]
1
2019-01-16T05:59:53.000Z
2019-01-16T05:59:53.000Z
python/compile.py
liamgam/gdkit
e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95
[ "BSD-2-Clause" ]
null
null
null
python/compile.py
liamgam/gdkit
e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95
[ "BSD-2-Clause" ]
null
null
null
import compileall compileall.compile_dir(".",force=1)
26.5
35
0.811321
7
53
6
0.857143
0
0
0
0
0
0
0
0
0
0
0.019608
0.037736
53
2
35
26.5
0.803922
0
0
0
0
0
0.018519
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
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
1
0
1
0
0
0
0
4
f429e1e71ee50e3cb36b3bd6d0606c845af7b2a3
3,010
py
Python
saleor/product/migrations/0141_update_descritpion_fields.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/product/migrations/0141_update_descritpion_fields.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/product/migrations/0141_update_descritpion_fields.py
aminziadna/saleor
2e78fb5bcf8b83a6278af02551a104cfa555a1fb
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
# Generated by Django 3.1.5 on 2021-02-17 11:04 from django.db import migrations import saleor.core.db.fields import saleor.core.utils.editorjs def update_empty_description_field(apps, schema_editor): Category = apps.get_model("product", "Category") CategoryTranslation = apps.get_model("product", "CategoryT...
31.354167
78
0.580066
259
3,010
6.610039
0.239382
0.081776
0.049065
0.073598
0.504089
0.504089
0.504089
0.504089
0.504089
0.504089
0
0.015166
0.32093
3,010
95
79
31.684211
0.822407
0.01495
0
0.583333
1
0
0.102599
0.021937
0
0
0
0
0
1
0.011905
false
0
0.035714
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f42aede445a90e085482590f47cc1c5cb9b7e7e5
5,215
py
Python
local_search/sat_isfayer.py
arnaubena97/SatSolver-sat_isfayer
db7edc83547786deb7bf6b1c5d75b406f877ca15
[ "MIT" ]
null
null
null
local_search/sat_isfayer.py
arnaubena97/SatSolver-sat_isfayer
db7edc83547786deb7bf6b1c5d75b406f877ca15
[ "MIT" ]
null
null
null
local_search/sat_isfayer.py
arnaubena97/SatSolver-sat_isfayer
db7edc83547786deb7bf6b1c5d75b406f877ca15
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys import random def read_file(file_name): """File reader and parser the num of variables, num of clauses and put the clauses in a list""" clauses =[] with open(file_name) as all_file: for line in all_file: if line.startswith('c'): continue #ignore comment...
36.985816
100
0.607095
649
5,215
4.694915
0.217257
0.039383
0.026255
0.041024
0.09255
0.043978
0.026255
0.026255
0
0
0
0.014982
0.296069
5,215
140
101
37.25
0.815037
0.210163
0
0.032258
0
0
0.017771
0
0
0
0
0
0
1
0.129032
false
0
0.021505
0
0.247312
0.053763
0
0
0
null
0
0
0
0
0
0
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
f42c731576acb55056eef2a6a2b894f6ff9cf5c6
656
py
Python
torch/_VF.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
torch/_VF.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
torch/_VF.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
""" This makes the functions in torch._C._VariableFunctions available as torch._VF.<funcname> without mypy being able to find them. A subset of those functions are mapped to ATen functions in torch/jit/_builtins.py See https://github.com/pytorch/pytorch/issues/21478 for the reason for introducing torch._VF """ i...
21.866667
70
0.73628
91
656
5.010989
0.593407
0.048246
0.070175
0
0
0
0
0
0
0
0
0.009225
0.17378
656
29
71
22.62069
0.832103
0.471037
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.727273
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
f42c89b9ad4a67ef2088d23901ec3eee27d8dfed
1,426
py
Python
sparse_causal_model_learner_rl/annealer/threshold_projection.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
2
2020-12-11T05:26:24.000Z
2021-04-21T06:12:58.000Z
sparse_causal_model_learner_rl/annealer/threshold_projection.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
9
2020-04-30T16:29:50.000Z
2021-03-26T07:32:18.000Z
sparse_causal_model_learner_rl/annealer/threshold_projection.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
null
null
null
import gin import torch import logging from sparse_causal_model_learner_rl.metrics import find_value, find_key @gin.configurable def ProjectionThreshold(config, config_object, epoch_info, temp, adjust_every=100, metric_threshold=0.5, delta=0.5, source_metric_key=None, min_hyper=0, max_hyper=100...
32.409091
108
0.670407
180
1,426
5.022222
0.355556
0.139381
0.159292
0.076327
0.176991
0
0
0
0
0
0
0.011851
0.230715
1,426
43
109
33.162791
0.812215
0
0
0.060606
0
0
0.224873
0.080983
0
0
0
0
0.030303
1
0.030303
false
0
0.121212
0
0.212121
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
f42cd1526653837e6ebdebb62cc32ac0a5f88b7c
15,684
py
Python
numpyro/contrib/control_flow/scan.py
ucals/numpyro
566a5311d660d28a630188063c03a018165a38a9
[ "Apache-2.0" ]
2
2021-01-10T06:27:51.000Z
2021-01-10T06:27:55.000Z
numpyro/contrib/control_flow/scan.py
ucals/numpyro
566a5311d660d28a630188063c03a018165a38a9
[ "Apache-2.0" ]
null
null
null
numpyro/contrib/control_flow/scan.py
ucals/numpyro
566a5311d660d28a630188063c03a018165a38a9
[ "Apache-2.0" ]
1
2020-12-23T13:27:39.000Z
2020-12-23T13:27:39.000Z
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 from collections import OrderedDict from functools import partial from jax import lax, random, tree_flatten, tree_map, tree_multimap, tree_unflatten import jax.numpy as jnp from jax.tree_util import register_pytree_node_class from nu...
44.939828
116
0.605011
2,129
15,684
4.310005
0.196806
0.018963
0.007847
0.009154
0.221774
0.170445
0.133936
0.106037
0.092524
0.080209
0
0.009539
0.291507
15,684
348
117
45.068966
0.816235
0.389378
0
0.16
0
0
0.072103
0
0
0
0
0.002874
0.005714
1
0.057143
false
0
0.062857
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
f42d1600d0b6bc46f53578838228c289c55fcb61
342
py
Python
src/catalog/migrations/0003_remove_productattributevalue_name.py
earth-emoji/dennea
fbabd7d9ecc95898411aba238bbcca8b5e942c31
[ "BSD-3-Clause" ]
null
null
null
src/catalog/migrations/0003_remove_productattributevalue_name.py
earth-emoji/dennea
fbabd7d9ecc95898411aba238bbcca8b5e942c31
[ "BSD-3-Clause" ]
13
2019-12-09T02:38:36.000Z
2022-03-12T00:33:57.000Z
src/catalog/migrations/0003_remove_productattributevalue_name.py
earth-emoji/dennea
fbabd7d9ecc95898411aba238bbcca8b5e942c31
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-10 01:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20200610_0019'), ] operations = [ migrations.RemoveField( model_name='productattributevalue', name='na...
19
48
0.608187
35
342
5.828571
0.8
0
0
0
0
0
0
0
0
0
0
0.130612
0.283626
342
17
49
20.117647
0.702041
0.134503
0
0
1
0
0.187075
0.14966
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f42e0214aa8abe8fa4ef98083bd64acd6f94ca90
1,245
py
Python
e2xgrader/preprocessors/overwritecells.py
divindevaiah/e2xgrader
19eb4662e4eee5ddef673097517e4bd4fb469e62
[ "MIT" ]
2
2021-10-02T10:48:47.000Z
2022-03-02T14:00:48.000Z
e2xgrader/preprocessors/overwritecells.py
divindevaiah/e2xgrader
19eb4662e4eee5ddef673097517e4bd4fb469e62
[ "MIT" ]
70
2020-10-23T16:42:01.000Z
2022-03-14T16:33:54.000Z
e2xgrader/preprocessors/overwritecells.py
divindevaiah/e2xgrader
19eb4662e4eee5ddef673097517e4bd4fb469e62
[ "MIT" ]
10
2020-11-22T16:36:16.000Z
2022-03-02T15:51:24.000Z
import json from nbformat.notebooknode import NotebookNode from nbconvert.exporters.exporter import ResourcesDict from typing import Tuple from nbgrader.api import MissingEntry from nbgrader.preprocessors import OverwriteCells as NbgraderOverwriteCells from ..utils.extra_cells import is_singlechoice, is_multiplechoi...
35.571429
75
0.706024
142
1,245
6.035211
0.415493
0.049008
0.066511
0
0
0
0
0
0
0
0
0
0.219277
1,245
34
76
36.617647
0.881687
0
0
0.115385
0
0
0.053012
0
0
0
0
0
0
1
0.038462
false
0
0.269231
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
0
0
0
0
1
0
f42ea50cd75ed3588bee01251935be095b9cd852
9,261
py
Python
tools/pdf2txt.py
ehtec/pdfminer.six
5b1823f25ab998e904fc5d81687732580f23e3b9
[ "MIT" ]
null
null
null
tools/pdf2txt.py
ehtec/pdfminer.six
5b1823f25ab998e904fc5d81687732580f23e3b9
[ "MIT" ]
1
2022-01-31T22:58:07.000Z
2022-01-31T22:58:07.000Z
tools/pdf2txt.py
phantomcyber/pdfminer.six
e35a9319a6ae5d310f08f07a5edf16aadc529c1e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """A command line tool for extracting text and images from PDF and output it to plain text, html, xml or tags.""" import argparse import logging import sys from typing import Any, Container, Iterable, List, Optional import pdfminer.high_level from pdfminer.layout import LAParams from pdfminer.ut...
41.34375
85
0.632005
1,188
9,261
4.781145
0.239899
0.052289
0.035915
0.021127
0.250352
0.173415
0.129577
0.085563
0.056338
0.044366
0
0.002758
0.25602
9,261
223
86
41.529148
0.821626
0.022568
0
0.145078
0
0
0.341442
0.002322
0
0
0
0
0
1
0.020725
false
0.020725
0.036269
0
0.082902
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
f42eca67de3f090707cbdfd6324c3cd84ee5458f
2,757
py
Python
nython/nythonize.py
agungnasik57/nython
cf499fe20f86e2685671495bd941b411fa066813
[ "MIT" ]
53
2020-02-11T15:10:23.000Z
2021-10-05T12:47:14.000Z
nython/nythonize.py
agungnasik57/nython
cf499fe20f86e2685671495bd941b411fa066813
[ "MIT" ]
null
null
null
nython/nythonize.py
agungnasik57/nython
cf499fe20f86e2685671495bd941b411fa066813
[ "MIT" ]
4
2020-02-12T07:03:06.000Z
2020-08-15T14:53:39.000Z
"""Compile Nim libraries as Python Extension Modules. If you want your namespace to coexist with your pthon code, name this ponim.nim and then your import will look like `from ponim.nim import adder` and `from ponim import subtractor`. There must be a way to smooth that out in the __init__.py file somehow. Note that ...
31.689655
82
0.564382
321
2,757
4.757009
0.461059
0.047151
0.023576
0.033399
0
0
0
0
0
0
0
0.000545
0.334421
2,757
86
83
32.05814
0.831608
0.299601
0
0.035088
0
0
0.141728
0.037935
0
0
0
0
0
1
0.017544
false
0
0.140351
0
0.175439
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
f42fc38f6dae49e6659d55730c3133cb884a1c0e
3,591
py
Python
tests/contrib/test_util.py
lixinso/pyro
ca0d6417bed3882a47cb8cbb01b36f403ee903d5
[ "MIT" ]
10
2020-03-18T14:41:25.000Z
2021-07-04T08:49:57.000Z
tests/contrib/test_util.py
lixinso/pyro
ca0d6417bed3882a47cb8cbb01b36f403ee903d5
[ "MIT" ]
19
2018-10-30T13:45:31.000Z
2019-09-27T14:16:57.000Z
tests/contrib/test_util.py
lixinso/pyro
ca0d6417bed3882a47cb8cbb01b36f403ee903d5
[ "MIT" ]
5
2020-06-21T23:40:35.000Z
2021-11-09T16:18:42.000Z
from collections import OrderedDict import pytest import torch import pyro.distributions as dist from pyro.contrib.util import ( get_indices, tensor_to_dict, rmv, rvv, lexpand, rexpand, rdiag, rtril, hessian ) from tests.common import assert_equal def test_get_indices_sizes(): sizes = OrderedDict([("a", 2), ...
34.528846
95
0.588972
579
3,591
3.530225
0.158895
0.123777
0.047945
0.063601
0.55137
0.4682
0.355186
0.311644
0.23728
0.094912
0
0.050087
0.199387
3,591
103
96
34.864078
0.66087
0
0
0.1375
0
0
0.00724
0
0
0
0
0
0.2875
1
0.125
false
0
0.075
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
f43046969834dd88f5e6bf5c76a2ad1571e187a4
87
py
Python
emodul/apps.py
HarisHijazi/mojarnik-server
bee7266609cc0bca7cc6a4059086fc0ba7219a33
[ "MIT" ]
null
null
null
emodul/apps.py
HarisHijazi/mojarnik-server
bee7266609cc0bca7cc6a4059086fc0ba7219a33
[ "MIT" ]
null
null
null
emodul/apps.py
HarisHijazi/mojarnik-server
bee7266609cc0bca7cc6a4059086fc0ba7219a33
[ "MIT" ]
null
null
null
from django.apps import AppConfig class EmodulConfig(AppConfig): name = 'emodul'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
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
1
0
0
0
0
3
f4313551859e5b967cf0a91de7f015a788b3e06f
20,473
py
Python
Diffnet++/class/DataModule.py
mIXs222/diffnet
1f580332254a5113ed7b88b9b2e0aa467344e94d
[ "MIT" ]
null
null
null
Diffnet++/class/DataModule.py
mIXs222/diffnet
1f580332254a5113ed7b88b9b2e0aa467344e94d
[ "MIT" ]
null
null
null
Diffnet++/class/DataModule.py
mIXs222/diffnet
1f580332254a5113ed7b88b9b2e0aa467344e94d
[ "MIT" ]
null
null
null
from __future__ import division from collections import defaultdict import numpy as np from time import time import random import tensorflow.compat.v1 as tf tf.disable_v2_behavior() # import tensorflow as tf class DataModule(): def __init__(self, conf, filename): self.conf = conf self.data_dict = ...
43.652452
166
0.652176
2,654
20,473
4.623587
0.061417
0.037161
0.022248
0.027708
0.708092
0.588705
0.413414
0.3395
0.30788
0.259637
0
0.012846
0.247155
20,473
468
167
43.745727
0.7833
0.05583
0
0.324251
0
0
0.037377
0.02959
0
0
0
0
0
1
0.059946
false
0
0.016349
0
0.084469
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
f4315741709ca1828a0cd87b2111a7735ecd6a23
2,656
py
Python
src/models/VanillaTransformer.py
iosurodri/annotated-transformer
e5a7e27067d08c09f51b57bbf2824fbcd80ae4d9
[ "MIT" ]
null
null
null
src/models/VanillaTransformer.py
iosurodri/annotated-transformer
e5a7e27067d08c09f51b57bbf2824fbcd80ae4d9
[ "MIT" ]
null
null
null
src/models/VanillaTransformer.py
iosurodri/annotated-transformer
e5a7e27067d08c09f51b57bbf2824fbcd80ae4d9
[ "MIT" ]
null
null
null
from xmlrpc.server import MultiPathXMLRPCServer import torch.nn as nn import torch.nn.functional as F import copy from src.layers.layers import Encoder, EncoderLayer, Decoder, DecoderLayer, PositionwiseFeedForward from src.layers.preprocessing import Embeddings, PositionalEncoding from src.layers.attention import Mult...
35.413333
99
0.6875
354
2,656
4.949153
0.322034
0.037671
0.022831
0.017123
0.079338
0.018265
0
0
0
0
0
0.009542
0.210843
2,656
74
100
35.891892
0.826336
0.137425
0
0
0
0
0.064543
0
0
0
0
0
0
1
0.134615
false
0
0.134615
0.019231
0.403846
0.019231
0
0
0
null
0
0
0
0
0
0
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
f432670cd6f74e0a57b036d2bab7509d31c45355
34,716
py
Python
venv/lib/python3.8/site-packages/arch/tests/univariate/test_recursions.py
YileC928/finm-portfolio-2021
3fa1e97423fa731bce0cad3457807e1873120891
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/arch/tests/univariate/test_recursions.py
YileC928/finm-portfolio-2021
3fa1e97423fa731bce0cad3457807e1873120891
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/arch/tests/univariate/test_recursions.py
YileC928/finm-portfolio-2021
3fa1e97423fa731bce0cad3457807e1873120891
[ "MIT" ]
null
null
null
import os import timeit from typing import List import numpy as np from numpy.random import RandomState from numpy.testing import assert_allclose, assert_almost_equal import pytest from scipy.special import gamma import arch.univariate.recursions_python as recpy CYTHON_COVERAGE = os.environ.get("ARCH_CYTHON_COVERAGE...
28.857855
97
0.514863
3,856
34,716
4.474844
0.049793
0.073022
0.085135
0.076673
0.815068
0.797334
0.778673
0.759548
0.7439
0.728253
0
0.04987
0.377348
34,716
1,202
98
28.881864
0.748381
0.000115
0
0.728094
0
0.00542
0.068799
0.015673
0
0
0
0
0.088528
1
0.023487
false
0
0.015357
0
0.04065
0.006323
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
f43380760e72e46d79cbcf3d20f37e8eb8257947
3,215
py
Python
hermetrics/damerau_levenshtein.py
SoldAI/hermetrics
5e07a4f40376779015ef2f5b964d7ac060ed6e25
[ "MIT" ]
3
2020-01-18T02:37:49.000Z
2022-01-27T19:24:15.000Z
hermetrics/damerau_levenshtein.py
SoldAI/hermetrics
5e07a4f40376779015ef2f5b964d7ac060ed6e25
[ "MIT" ]
null
null
null
hermetrics/damerau_levenshtein.py
SoldAI/hermetrics
5e07a4f40376779015ef2f5b964d7ac060ed6e25
[ "MIT" ]
2
2020-01-26T20:40:19.000Z
2021-08-11T12:05:01.000Z
from .levenshtein import Levenshtein class DamerauLevenshtein(Levenshtein): def __init__(self, name='Damerau-Levenshtein'): super().__init__(name=name) def distance(self, source, target, cost=(1, 1, 1, 1)): """Damerau-Levenshtein distance with costs for deletion, insertion, substitution a...
40.696203
118
0.51353
392
3,215
3.977041
0.239796
0.063502
0.046183
0.02694
0.345093
0.311738
0.292495
0.292495
0.168056
0.127004
0
0.018339
0.389425
3,215
78
119
41.217949
0.775853
0.257543
0
0.095238
0
0
0.023305
0
0
0
0
0
0
1
0.071429
false
0
0.02381
0
0.166667
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f434676fc528e9c88694b6e2adf610fc78d5e377
13,130
py
Python
etna/analysis/outliers/hist_outliers.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
1
2021-11-11T21:18:42.000Z
2021-11-11T21:18:42.000Z
etna/analysis/outliers/hist_outliers.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
null
null
null
etna/analysis/outliers/hist_outliers.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
null
null
null
import typing from copy import deepcopy from typing import TYPE_CHECKING from typing import List import numba import numpy as np import pandas as pd if TYPE_CHECKING: from etna.datasets import TSDataset @numba.jit(nopython=True) def optimal_sse(left: int, right: int, p: np.ndarray, pp: np.ndarray) -> float: ...
39.667674
119
0.591394
1,763
13,130
4.201929
0.093023
0.111366
0.089498
0.102052
0.593413
0.49973
0.423731
0.364606
0.31844
0.225027
0
0.019022
0.291318
13,130
330
120
39.787879
0.777109
0.176999
0
0.11413
0
0
0.002311
0
0
0
0
0
0
1
0.032609
false
0
0.043478
0
0.11413
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
f43505730d577b131a0ebe06e14640a6a2175f31
2,094
py
Python
aws/securityGroup.py
emanueleleyland/sabd-project2
387b33443b87e78635d8d6c9a03faadbc90ae9da
[ "BSD-2-Clause" ]
null
null
null
aws/securityGroup.py
emanueleleyland/sabd-project2
387b33443b87e78635d8d6c9a03faadbc90ae9da
[ "BSD-2-Clause" ]
null
null
null
aws/securityGroup.py
emanueleleyland/sabd-project2
387b33443b87e78635d8d6c9a03faadbc90ae9da
[ "BSD-2-Clause" ]
null
null
null
def createKafkaSecurityGroup(ec2, vpc): sec_group_kafka = ec2.create_security_group( GroupName='kafka', Description='kafka sec group', VpcId=vpc.id) sec_group_kafka.authorize_ingress( IpPermissions=[{'IpProtocol': 'icmp', 'FromPort': -1, 'ToPort': -1, 'IpRanges': [{'CidrIp': '0.0.0.0/0'}]}, ...
53.692308
118
0.575931
247
2,094
4.736842
0.145749
0.075214
0.084615
0.075214
0.65812
0.532479
0.532479
0.532479
0.532479
0.532479
0
0.07199
0.210602
2,094
39
119
53.692308
0.635814
0
0
0.1875
0
0
0.286874
0
0
0
0
0
0
1
0.09375
false
0
0
0
0.1875
0.09375
0
0
0
null
0
0
0
0
0
0
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
f435ce04c79c1712e8cc0abcb3f67f2a72425976
134
py
Python
virtual/lib/python3.6/site-packages/django_pusher/context_processors.py
petermirithu/hooby_lab
ffd641948bc2d2539649ec747114c78b5ad105e7
[ "MIT" ]
2
2020-01-26T15:09:48.000Z
2020-05-10T05:31:05.000Z
virtual/lib/python3.6/site-packages/django_pusher/context_processors.py
petermirithu/hooby_lab
ffd641948bc2d2539649ec747114c78b5ad105e7
[ "MIT" ]
10
2020-06-06T01:10:07.000Z
2022-03-12T00:12:22.000Z
virtual/lib/python3.6/site-packages/django_pusher/context_processors.py
petermirithu/hooby_lab
ffd641948bc2d2539649ec747114c78b5ad105e7
[ "MIT" ]
null
null
null
from django.conf import settings def pusher(request): return { "PUSHER_KEY": getattr(settings, "PUSHER_KEY", ""), }
16.75
58
0.634328
15
134
5.533333
0.733333
0.216867
0
0
0
0
0
0
0
0
0
0
0.231343
134
7
59
19.142857
0.805825
0
0
0
0
0
0.149254
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
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
0
1
0
0
0
4
f43612b155ef29350dd3f083a77ca91ae4d8fa46
7,537
py
Python
inconnu/character/update/parse.py
tiltowait/inconnu
6cca5fed520899d159537701b695c94222d8dc45
[ "MIT" ]
4
2021-09-06T20:18:13.000Z
2022-02-05T17:08:44.000Z
inconnu/character/update/parse.py
tiltowait/inconnu
6cca5fed520899d159537701b695c94222d8dc45
[ "MIT" ]
7
2021-09-13T00:46:57.000Z
2022-01-11T06:38:50.000Z
inconnu/character/update/parse.py
tiltowait/inconnu
6cca5fed520899d159537701b695c94222d8dc45
[ "MIT" ]
2
2021-11-27T22:24:53.000Z
2022-03-16T21:05:00.000Z
"""character/update/parse.py - Defines an interface for updating character traits.""" # pylint: disable=too-many-arguments import re import discord from discord_ui.components import LinkButton from . import paramupdate from ..display import display from ... import common, constants from ...log import Log from ...vch...
34.573394
99
0.629959
929
7,537
4.965554
0.326157
0.03902
0.016909
0.008671
0.056362
0.056362
0.056362
0.056362
0.056362
0.035118
0
0.002405
0.227677
7,537
217
100
34.732719
0.79007
0.12432
0
0.074324
0
0.006757
0.289561
0.007243
0
0
0
0
0
1
0.027027
false
0.006757
0.054054
0
0.101351
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
f436146fcd68e0fffec8d89af9ff63a4a2a79aad
7,980
py
Python
src/models/train_search_multi_deep.py
smadha/MlTrio
a7269fc4c6d77b2f71432ab9d2ab8fe4e28234d5
[ "Apache-2.0" ]
null
null
null
src/models/train_search_multi_deep.py
smadha/MlTrio
a7269fc4c6d77b2f71432ab9d2ab8fe4e28234d5
[ "Apache-2.0" ]
null
null
null
src/models/train_search_multi_deep.py
smadha/MlTrio
a7269fc4c6d77b2f71432ab9d2ab8fe4e28234d5
[ "Apache-2.0" ]
null
null
null
''' Uses flattened features in feature directory and run a SVM on it ''' from keras.layers import Dense from keras.models import Sequential import keras.regularizers as Reg from keras.optimizers import SGD, RMSprop from keras.callbacks import EarlyStopping import cPickle as pickle import numpy as np from sklearn.model...
34.847162
213
0.663033
1,197
7,980
4.183793
0.223058
0.025559
0.014377
0.018171
0.276957
0.259784
0.244609
0.209665
0.209665
0.186502
0
0.032058
0.210401
7,980
228
214
35
0.762736
0.097118
0
0.133333
0
0
0.090192
0.02381
0
0
0
0
0
0
null
null
0
0.081481
null
null
0.118519
0
0
0
null
0
0
0
0
0
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
f43697d11efae6dda37ec02c7a022ad4d3dc4330
11,009
py
Python
formation.py
graham-kim/pygremlin-graph-visualiser
65cb4d4fb71c8dde46ff1a36a40adcbdf233448c
[ "MIT" ]
null
null
null
formation.py
graham-kim/pygremlin-graph-visualiser
65cb4d4fb71c8dde46ff1a36a40adcbdf233448c
[ "MIT" ]
39
2020-07-25T10:58:19.000Z
2020-08-28T15:02:12.000Z
formation.py
graham-kim/pygremlin-graph-visualiser
65cb4d4fb71c8dde46ff1a36a40adcbdf233448c
[ "MIT" ]
null
null
null
import sys import os sys.path.append( os.path.dirname(__file__) ) import numpy as np import typing as tp import angles from model import Node, Link, Label from spec import ArrowDraw, NodeSpec class FormationManager: def __init__(self): self._nodes = {} self._links = [] self._labels = [] ...
42.670543
121
0.592788
1,539
11,009
3.946719
0.107862
0.044452
0.019756
0.025683
0.573757
0.517781
0.482549
0.424432
0.401712
0.387224
0
0.011257
0.306022
11,009
257
122
42.836576
0.78377
0.002816
0
0.39604
0
0
0.047923
0
0
0
0
0
0
1
0.09901
false
0
0.034653
0.014851
0.217822
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
f438ca5f15375beccb9a1833b80357a7835e309b
454
py
Python
opencv_camera/parameters/utils.py
MomsFriendlyRobotCompany/opencv_camera
046d779a853ef0117c0177c03a6fd81f361a9dd3
[ "MIT" ]
6
2020-08-17T04:36:24.000Z
2022-02-22T13:54:20.000Z
opencv_camera/parameters/utils.py
MomsFriendlyRobotCompany/opencv_camera
046d779a853ef0117c0177c03a6fd81f361a9dd3
[ "MIT" ]
1
2020-12-28T20:45:17.000Z
2021-01-01T02:39:02.000Z
opencv_camera/parameters/utils.py
MomsFriendlyRobotCompany/opencv_camera
046d779a853ef0117c0177c03a6fd81f361a9dd3
[ "MIT" ]
1
2020-12-15T04:04:54.000Z
2020-12-15T04:04:54.000Z
############################################## # The MIT License (MIT) # Copyright (c) 2014 Kevin Walchko # see LICENSE for full details ############################################## # -*- coding: utf-8 -* from math import atan, pi def fov(w,f): """ Returns the FOV as in degrees, given: w...
26.705882
48
0.451542
55
454
3.727273
0.727273
0.078049
0
0
0
0
0
0
0
0
0
0.029586
0.255507
454
16
49
28.375
0.576923
0.493392
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
f439222f5a9cee3a82981ad6666b33d56810e907
3,571
py
Python
Code_Hybrid_SLIMBPR_CBF_RP3Beta.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
Code_Hybrid_SLIMBPR_CBF_RP3Beta.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
Code_Hybrid_SLIMBPR_CBF_RP3Beta.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
# This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g...
31.324561
122
0.758891
543
3,571
4.74954
0.309392
0.019
0.017449
0.021714
0.138813
0.124855
0.093059
0.072896
0.034897
0
0
0.013659
0.118454
3,571
113
123
31.60177
0.805591
0.133296
0
0
0
0
0.059308
0.048105
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f43a93adbb44a173a83f3be2da8ae94b9ee5a0d3
989
py
Python
dodge/config.py
MoyTW/7DRL2016_Rewrite
99e092dcb8797a25caa3c8a989a574efae19e4d4
[ "MIT" ]
2
2020-05-10T02:16:28.000Z
2021-04-05T21:54:10.000Z
dodge/config.py
MoyTW/7DRL2016_Rewrite
99e092dcb8797a25caa3c8a989a574efae19e4d4
[ "MIT" ]
null
null
null
dodge/config.py
MoyTW/7DRL2016_Rewrite
99e092dcb8797a25caa3c8a989a574efae19e4d4
[ "MIT" ]
null
null
null
import json class Config(object): def __init__(self, file_location): with open(file_location, 'r') as f: config = json.load(f) self.SCREEN_WIDTH = int(config["SCREEN_WIDTH"]) self.SCREEN_HEIGHT = int(config["SCREEN_HEIGHT"]) self.MAP_WIDTH = int(config["MAP_...
41.208333
66
0.605662
123
989
4.569106
0.300813
0.160142
0.099644
0.074733
0
0
0
0
0
0
0
0
0.273003
989
23
67
43
0.781641
0.026289
0
0
0
0
0.146875
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f43be3dcb74991918120ac726f26bac6d8cff63f
524
py
Python
incal_lib/create_dataframe.py
barel-mishal/InCal_lib
3aa63ebccf2ed3277fac55049c88178541cbb94b
[ "MIT" ]
null
null
null
incal_lib/create_dataframe.py
barel-mishal/InCal_lib
3aa63ebccf2ed3277fac55049c88178541cbb94b
[ "MIT" ]
null
null
null
incal_lib/create_dataframe.py
barel-mishal/InCal_lib
3aa63ebccf2ed3277fac55049c88178541cbb94b
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np def create_calr_example_df(n_rows, start_date): ''' ''' np.random.seed(20) array = np.random.rand(n_rows) cumulative = np.cumsum(array) d = { 'feature1_subject_1': array, 'feature1_subject_2': array, 'feature2_subject_1': cumulati...
24.952381
55
0.622137
71
524
4.323944
0.549296
0.04886
0
0
0
0
0
0
0
0
0
0.030928
0.259542
524
20
56
26.2
0.760309
0
0
0
0
0
0.167969
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
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
f43cde7e64305b95ccb8abd4674e469455ce57e1
4,663
py
Python
HybridSN/DataLoadAndOperate.py
lms-07/HybridSN
7580d67a5879d5b53ced75a653d4f198a8aefde2
[ "MIT" ]
null
null
null
HybridSN/DataLoadAndOperate.py
lms-07/HybridSN
7580d67a5879d5b53ced75a653d4f198a8aefde2
[ "MIT" ]
null
null
null
HybridSN/DataLoadAndOperate.py
lms-07/HybridSN
7580d67a5879d5b53ced75a653d4f198a8aefde2
[ "MIT" ]
null
null
null
import os import numpy as np import scipy.io as sio import tifffile from sklearn.decomposition import PCA from sklearn.model_selection import train_test_split #Load dataset def loadData(name,data_path): if name == 'IP': data = sio.loadmat(os.path.join(data_path, 'Indian_pines_corrected.mat'))['indian_pin...
43.579439
123
0.671885
633
4,663
4.810427
0.249605
0.055172
0.068966
0.082759
0.321839
0.298194
0.293596
0.233169
0.102463
0.0578
0
0.022763
0.180356
4,663
107
124
43.579439
0.77394
0.139181
0
0.028169
0
0
0.137525
0.046844
0
0
0
0
0
1
0.098592
false
0
0.084507
0
0.267606
0.014085
0
0
0
null
0
0
0
0
0
0
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
f43e3816708a9a04921f14baa15850bfa0137251
1,873
py
Python
alipay/aop/api/domain/AlipayOpenIotmbsDooropenresultSyncModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayOpenIotmbsDooropenresultSyncModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayOpenIotmbsDooropenresultSyncModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenIotmbsDooropenresultSyncModel(object): def __init__(self): self._dev_id = None self._door_state = None self._project_id = None @property def dev_id(self...
26.380282
71
0.584624
238
1,873
4.289916
0.176471
0.073457
0.061704
0.054848
0.265426
0.261508
0
0
0
0
0
0.000781
0.31607
1,873
70
72
26.757143
0.796253
0.022424
0
0.109091
0
0
0.079912
0
0
0
0
0
0
1
0.163636
false
0
0.036364
0.054545
0.327273
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
f43f0adac87483d74d65bc876a1b45c40eb3778c
958
py
Python
setup.py
ghost58400/marlin-binary-protocol
fb93603866ecfce84e887c159bbbb9f9d2f01f17
[ "MIT" ]
null
null
null
setup.py
ghost58400/marlin-binary-protocol
fb93603866ecfce84e887c159bbbb9f9d2f01f17
[ "MIT" ]
null
null
null
setup.py
ghost58400/marlin-binary-protocol
fb93603866ecfce84e887c159bbbb9f9d2f01f17
[ "MIT" ]
null
null
null
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="marlin_binary_protocol", version="0.0.7", author="Charles Willis", author_email="charleswillis3@users.noreply.github.com", description="Transfer files with Marlin 2.0 firmware using Marlin...
38.32
114
0.662839
119
958
5.210084
0.579832
0.096774
0.096774
0.096774
0
0
0
0
0
0
0
0.037688
0.169102
958
24
115
39.916667
0.741206
0
0
0
0
0.045455
0.535491
0.092902
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f44057beff2cbba250db617a96a21c14300e3ae1
18,028
py
Python
taut_euler_class.py
henryseg/Veering
50ebdcd5bde582726aefdd564c43e17890651282
[ "CC0-1.0" ]
2
2020-08-17T21:38:16.000Z
2021-08-29T21:38:43.000Z
taut_euler_class.py
henryseg/Veering
50ebdcd5bde582726aefdd564c43e17890651282
[ "CC0-1.0" ]
null
null
null
taut_euler_class.py
henryseg/Veering
50ebdcd5bde582726aefdd564c43e17890651282
[ "CC0-1.0" ]
null
null
null
# # taut_euler_class.py # from file_io import parse_data_file, write_data_file from taut import liberal, isosig_to_tri_angle from transverse_taut import is_transverse_taut from sage.matrix.constructor import Matrix from sage.modules.free_module_element import vector from sage.arith.misc import gcd from sage.arith.fu...
35.279843
109
0.625194
2,873
18,028
3.859729
0.194222
0.005681
0.008206
0.006944
0.147534
0.103165
0.069438
0.058797
0.054468
0.050501
0
0.012892
0.27718
18,028
510
110
35.34902
0.838078
0.684713
0
0.258929
0
0
0.022256
0.004338
0
0
0
0
0.026786
1
0.053571
false
0.008929
0.0625
0.008929
0.178571
0.026786
0
0
0
null
0
0
0
0
0
0
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
f44062d81d380655736648a227bdbe096d8db999
110
py
Python
mailing/urls.py
ananyamalik/Railway-Concession-Portal
295264ccb50bc4750bf0a749c8477384407d51ad
[ "MIT" ]
null
null
null
mailing/urls.py
ananyamalik/Railway-Concession-Portal
295264ccb50bc4750bf0a749c8477384407d51ad
[ "MIT" ]
10
2020-02-11T23:58:12.000Z
2022-03-11T23:43:58.000Z
mailing/urls.py
ananyamalik/Railway-Concession-Portal
295264ccb50bc4750bf0a749c8477384407d51ad
[ "MIT" ]
1
2019-03-26T10:43:34.000Z
2019-03-26T10:43:34.000Z
from django.urls import path from .views import ( student_list, student_add, student_profile,student_delete )
36.666667
80
0.827273
16
110
5.4375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.109091
110
2
81
55
0.887755
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
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
1
0
1
0
1
0
0
5
f4418c7fe5090cc1ad72d42e956421d4fcbc0d8c
5,253
py
Python
transformers/tests/tokenization_xlnet_test.py
deepbluesea/transformers
11a2317986aad6e9a72f542e31344cfb7c94cbab
[ "Apache-2.0" ]
270
2020-04-26T17:54:36.000Z
2022-03-24T20:47:11.000Z
transformers/tests/tokenization_xlnet_test.py
deepbluesea/transformers
11a2317986aad6e9a72f542e31344cfb7c94cbab
[ "Apache-2.0" ]
27
2020-06-03T17:34:41.000Z
2022-03-31T01:17:34.000Z
transformers/tests/tokenization_xlnet_test.py
deepbluesea/transformers
11a2317986aad6e9a72f542e31344cfb7c94cbab
[ "Apache-2.0" ]
61
2020-04-25T21:48:11.000Z
2022-03-23T02:39:10.000Z
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
49.093458
128
0.61146
682
5,253
4.543988
0.285924
0.17909
0.185866
0.010326
0.426267
0.412391
0.380768
0.349145
0.349145
0.314295
0
0.027561
0.267847
5,253
106
129
49.556604
0.776911
0.119931
0
0.208955
0
0
0.090297
0.007163
0
0
0
0
0.149254
1
0.104478
false
0
0.074627
0.014925
0.238806
0.014925
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f442619ffa1142c65bd44ce29ca3a9c6c0e0aea7
5,153
py
Python
preprocess/utils/liftOver_vcf.py
Rongtingting/xcltk
2e86207c45a1caa7f905a89e1c121c3c203eab2d
[ "Apache-2.0" ]
null
null
null
preprocess/utils/liftOver_vcf.py
Rongtingting/xcltk
2e86207c45a1caa7f905a89e1c121c3c203eab2d
[ "Apache-2.0" ]
null
null
null
preprocess/utils/liftOver_vcf.py
Rongtingting/xcltk
2e86207c45a1caa7f905a89e1c121c3c203eab2d
[ "Apache-2.0" ]
2
2021-01-26T02:07:32.000Z
2021-02-03T03:56:55.000Z
# forked from https://github.com/single-cell-genetics/cellSNP ## A python wrap of UCSC liftOver function for vcf file ## UCSC liftOver binary and hg19 to hg38 chain file: ## https://genome.ucsc.edu/cgi-bin/hgLiftOver ## http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/liftOver ## http://hgdownload.soe.ucsc.edu/gol...
33.901316
83
0.581603
702
5,153
4.05698
0.229345
0.036868
0.015449
0.016854
0.305126
0.298455
0.254565
0.194874
0.153441
0.153441
0
0.013856
0.271686
5,153
151
84
34.125828
0.745004
0.09509
0
0.285714
0
0
0.135991
0.0125
0
0
0
0
0
1
0.02521
false
0
0.05042
0
0.10084
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f442ad3274e1d03978bf00cca2923623d11978bb
8,842
py
Python
pomodorr/frames/tests/test_consumers.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
null
null
null
pomodorr/frames/tests/test_consumers.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
15
2020-04-11T18:30:57.000Z
2020-07-05T09:37:43.000Z
pomodorr/frames/tests/test_consumers.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
null
null
null
import json import pytest from channels.db import database_sync_to_async from channels.testing import WebsocketCommunicator from pytest_lazyfixture import lazy_fixture from pomodorr.frames import statuses from pomodorr.frames.models import DateFrame from pomodorr.frames.routing import frames_application from pomodorr...
39.123894
120
0.774259
1,078
8,842
5.959184
0.1141
0.113792
0.036426
0.029577
0.808842
0.767746
0.739415
0.724938
0.689446
0.651308
0
0.005914
0.139448
8,842
225
121
39.297778
0.838349
0.016625
0
0.576687
0
0
0.100679
0.039926
0
0
0
0
0.233129
1
0
false
0
0.055215
0
0.055215
0
0
0
0
null
0
0
0
1
1
1
1
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
5
f4430a5ed7a70794aa650554ee2233f1a76e4ce7
1,362
py
Python
Bot/db_aps.py
FaHoLo/Fish_shop
b08018223705bca169dab9f39ec5a55f62822f0b
[ "MIT" ]
null
null
null
Bot/db_aps.py
FaHoLo/Fish_shop
b08018223705bca169dab9f39ec5a55f62822f0b
[ "MIT" ]
null
null
null
Bot/db_aps.py
FaHoLo/Fish_shop
b08018223705bca169dab9f39ec5a55f62822f0b
[ "MIT" ]
null
null
null
import logging import os import redis import moltin_aps _database = None db_logger = logging.getLogger('db_logger') async def get_database_connection(): global _database if _database is None: database_password = os.getenv('DB_PASSWORD') database_host = os.getenv('DB_HOST') databas...
29.608696
99
0.737885
195
1,362
4.866667
0.230769
0.136986
0.088514
0.056902
0.202318
0.202318
0.202318
0.202318
0.202318
0.202318
0
0.001759
0.165198
1,362
45
100
30.266667
0.827617
0
0
0.09375
0
0
0.146109
0
0
0
0
0
0
1
0.09375
false
0.0625
0.125
0
0.28125
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
f4431b68372b44ad4517e0ab87e6c368a124ad83
142
py
Python
backend/server/tables/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
1
2021-03-03T13:54:15.000Z
2021-03-03T13:54:15.000Z
backend/server/tables/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
null
null
null
backend/server/tables/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
1
2021-03-03T13:59:48.000Z
2021-03-03T13:59:48.000Z
from .lime_bike_feed import LimeBikeFeed from .lime_bike_trips import LimeBikeTrips from .lime_bike_trips_analyze import LimeBikeTripsAnalyze
35.5
57
0.894366
19
142
6.315789
0.526316
0.2
0.3
0.283333
0
0
0
0
0
0
0
0
0.084507
142
3
58
47.333333
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
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
f444f9703d175494884baaba0472ab27a4d9a8a1
75,692
py
Python
sapmon/payload/provider/sapnetweaver.py
gummadirajesh/AzureMonitorForSAPSolutions
9f8e9dbd38141b5de4782d40556c4368f6ad8d0b
[ "MIT" ]
null
null
null
sapmon/payload/provider/sapnetweaver.py
gummadirajesh/AzureMonitorForSAPSolutions
9f8e9dbd38141b5de4782d40556c4368f6ad8d0b
[ "MIT" ]
null
null
null
sapmon/payload/provider/sapnetweaver.py
gummadirajesh/AzureMonitorForSAPSolutions
9f8e9dbd38141b5de4782d40556c4368f6ad8d0b
[ "MIT" ]
null
null
null
# Python modules import json import logging from datetime import datetime, timedelta, timezone from time import time from typing import Any, Callable import re import requests from requests import Session from threading import Lock # SOAP Client modules from zeep import Client from zeep import helpers from zeep.transp...
51.702186
175
0.624716
7,994
75,692
5.884538
0.113585
0.024659
0.022321
0.023915
0.472885
0.437597
0.409473
0.377734
0.359367
0.337961
0
0.001804
0.304458
75,692
1,463
176
51.737526
0.891713
0.182675
0
0.383051
0
0.00678
0.157579
0.003127
0
0
0
0.001367
0
1
0.051977
false
0.022599
0.024859
0.00904
0.159322
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
f4458a3941886161e8e7b509e9445b16e1094e76
24
py
Python
docker_squash/version.py
pombredanne/docker-scripts
ecee9f921b22cd44943197635875572185dd015d
[ "MIT" ]
513
2016-04-04T21:44:14.000Z
2022-03-27T06:18:26.000Z
docker_squash/version.py
pombredanne/docker-scripts
ecee9f921b22cd44943197635875572185dd015d
[ "MIT" ]
106
2016-04-01T11:53:20.000Z
2022-03-31T00:35:31.000Z
docker_squash/version.py
pombredanne/docker-scripts
ecee9f921b22cd44943197635875572185dd015d
[ "MIT" ]
75
2016-05-11T01:08:47.000Z
2022-03-25T01:20:06.000Z
version = "1.0.10.dev0"
12
23
0.625
5
24
3
1
0
0
0
0
0
0
0
0
0
0
0.238095
0.125
24
1
24
24
0.47619
0
0
0
0
0
0.458333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f4480752faba119871fef4e77c8c713728e07b1e
3,294
py
Python
example_usage/example_list_errors.py
oceanprotocol/plecos
ae532df8539e5c327cca57fbc1ea1b1193916cd1
[ "Apache-2.0" ]
1
2019-03-15T14:43:38.000Z
2019-03-15T14:43:38.000Z
example_usage/example_list_errors.py
oceanprotocol/plecos
ae532df8539e5c327cca57fbc1ea1b1193916cd1
[ "Apache-2.0" ]
26
2019-06-04T08:49:42.000Z
2022-02-07T02:06:42.000Z
example_usage/example_list_errors.py
oceanprotocol/Plecos
25b9a3f1698ab2c65ca82ac69ecd1f461c55a581
[ "Apache-2.0" ]
1
2019-03-12T18:31:55.000Z
2019-03-12T18:31:55.000Z
from pathlib import Path import plecos import json print(plecos.__version__) #%% path_to_json_local = Path("~/ocn/plecos/plecos/samples/sample_metadata_local.json").expanduser() path_to_json_remote = Path("~/ocn/plecos/plecos/samples/sample_metadata_remote.json").expanduser() path_to_broken_json = Path("~/ocn/plecos/pl...
26.564516
120
0.649059
423
3,294
4.79669
0.260047
0.038443
0.047314
0.056185
0.573682
0.490882
0.414983
0.322326
0.322326
0.322326
0
0.017081
0.182453
3,294
124
121
26.564516
0.736354
0.090164
0
0.206522
0
0.054348
0.43388
0.1078
0
0
0
0
0
1
0
false
0
0.032609
0
0.032609
0.097826
0
0
0
null
0
0
0
0
0
0
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
f448729d42d0a606df0321be7509a9b2530f28d6
2,180
py
Python
pangloss/backend.py
CLRafaelR/pangloss
920c509381a8d7831471fc3f22a07e58b53b8c0e
[ "MIT" ]
null
null
null
pangloss/backend.py
CLRafaelR/pangloss
920c509381a8d7831471fc3f22a07e58b53b8c0e
[ "MIT" ]
1
2020-06-11T21:08:30.000Z
2020-09-20T03:36:06.000Z
pangloss/backend.py
CLRafaelR/pangloss
920c509381a8d7831471fc3f22a07e58b53b8c0e
[ "MIT" ]
1
2021-03-11T21:11:34.000Z
2021-03-11T21:11:34.000Z
import re import panflute as pf from functools import partial from pangloss.util import smallcapify, break_plain # regular expression for label formats label_re = re.compile(r'\{#ex:(\w+)\}') gb4e_fmt_labelled = """ \\ex\\label{{ex:{label}}} \\gll {} \\\\ {} \\\\ \\trans {} """ gb4e_fmt = """ \\ex \\gll {} \\\\ {}...
23.44086
78
0.601835
281
2,180
4.608541
0.41637
0.034749
0.054054
0.046332
0.271815
0.23166
0.23166
0.23166
0.23166
0.176062
0
0.008679
0.260092
2,180
92
79
23.695652
0.794172
0.27156
0
0.357143
0
0
0.145669
0.016404
0
0
0
0
0
1
0.035714
false
0
0.071429
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
f4496e9806f5e5781ad656efc22821170a6cd22c
3,702
py
Python
tests/unit/discovery/test_py_spec.py
xavfernandez/virtualenv
dd37c7d2af8a21026f4d4b7f43142e4e1e0faf86
[ "MIT" ]
1
2020-02-25T15:08:59.000Z
2020-02-25T15:08:59.000Z
tests/unit/discovery/test_py_spec.py
xavfernandez/virtualenv
dd37c7d2af8a21026f4d4b7f43142e4e1e0faf86
[ "MIT" ]
null
null
null
tests/unit/discovery/test_py_spec.py
xavfernandez/virtualenv
dd37c7d2af8a21026f4d4b7f43142e4e1e0faf86
[ "MIT" ]
null
null
null
from __future__ import absolute_import, unicode_literals import itertools import os import sys from copy import copy import pytest from virtualenv.discovery.py_spec import PythonSpec def test_bad_py_spec(): text = "python2.3.4.5" spec = PythonSpec.from_string_spec(text) assert text in repr(spec) as...
31.913793
117
0.679633
541
3,702
4.399261
0.18854
0.094118
0.134454
0.161345
0.620588
0.506303
0.382773
0.287815
0.272269
0.227731
0
0.016521
0.198811
3,702
115
118
32.191304
0.785907
0.009454
0
0.232558
0
0
0.044748
0
0
0
0
0
0.197674
1
0.139535
false
0
0.081395
0
0.244186
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f44a0eaa8a605413b612c82d10265dde71bd9d5d
2,251
py
Python
plugins/module_utils/definitions/trigger_image_activation.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
plugins/module_utils/definitions/trigger_image_activation.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
plugins/module_utils/definitions/trigger_image_activation.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
from __future__ import (absolute_import, division, print_function) __metaclass__ = type import json module_definition = json.loads( """{ "family": "software_image_management_swim", "name": "trigger_image_activation", "operations": { "post": [ "trigger_software_image_activation" ...
29.618421
66
0.330964
107
2,251
6.691589
0.420561
0.127095
0.118715
0.125698
0.24581
0.092179
0
0
0
0
0
0
0.554865
2,251
75
67
30.013333
0.714571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
f44ab2c0f0cd8c386e07e21d67f94743e0fb707b
3,966
py
Python
minecraft_launcher_lib/fabric.py
bopchik/Simple-minecraft-mod-launcher
52e4e8ec351b0bac7eb4fe707f21de8da14b9ac9
[ "BSD-2-Clause" ]
1
2021-06-17T18:19:41.000Z
2021-06-17T18:19:41.000Z
minecraft_launcher_lib/fabric.py
bopchik/Simple-minecraft-mod-launcher
52e4e8ec351b0bac7eb4fe707f21de8da14b9ac9
[ "BSD-2-Clause" ]
null
null
null
minecraft_launcher_lib/fabric.py
bopchik/Simple-minecraft-mod-launcher
52e4e8ec351b0bac7eb4fe707f21de8da14b9ac9
[ "BSD-2-Clause" ]
3
2021-06-17T18:19:44.000Z
2021-06-17T22:18:34.000Z
from .helper import download_file, get_user_agent from .install import install_minecraft_version from typing import List, Dict, Union from xml.dom import minidom import subprocess import requests import tempfile import random import os def get_all_minecraft_versions() -> List[Dict[str,Union[str,bool]]]: """ Re...
39.66
152
0.739536
504
3,966
5.579365
0.236111
0.085349
0.01707
0.032717
0.29623
0.243599
0.184566
0.121622
0.034851
0.034851
0
0.004189
0.157337
3,966
99
153
40.060606
0.837223
0.199697
0
0.090909
0
0.036364
0.166007
0.033003
0
0
0
0
0
1
0.163636
false
0
0.163636
0
0.490909
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
f44b19520f8c0f088d9bcd431d1e1bf360a73146
2,354
py
Python
Strand Sort.py
Nishkarsh-Tripathi/Sorting-algorithms-
cda25f1a8e7fb5e25e59e69e78f000421b0e4eb0
[ "Apache-2.0" ]
5
2020-03-29T16:26:18.000Z
2020-11-23T15:37:23.000Z
Strand Sort.py
Nishkarsh-Tripathi/Sorting-algorithms
cda25f1a8e7fb5e25e59e69e78f000421b0e4eb0
[ "Apache-2.0" ]
null
null
null
Strand Sort.py
Nishkarsh-Tripathi/Sorting-algorithms
cda25f1a8e7fb5e25e59e69e78f000421b0e4eb0
[ "Apache-2.0" ]
null
null
null
# STRAND SORT # It is a recursive comparison based sorting technique which sorts in increasing order. # It works by repeatedly pulling sorted sub-lists out of the list to be sorted and merging them # with a result array. # Algorithm: # Create a empty strand (list) and append the first element to it popping it from th...
26.449438
101
0.657179
363
2,354
4.239669
0.341598
0.045484
0.025341
0.02729
0.059779
0
0
0
0
0
0
0.015808
0.274427
2,354
88
102
26.75
0.885246
0.64486
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.115385
false
0
0
0
0.230769
0.038462
0
0
0
null
0
0
0
0
0
0
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
f44cdd7cc2616d5398119b8bf5c750adca9d4192
10,915
py
Python
gamestonk_terminal/cryptocurrency/overview/pycoingecko_model.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
null
null
null
gamestonk_terminal/cryptocurrency/overview/pycoingecko_model.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
null
null
null
gamestonk_terminal/cryptocurrency/overview/pycoingecko_model.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
null
null
null
"""CoinGecko model""" __docformat__ = "numpy" # pylint: disable=C0301, E1101 import logging import re from typing import Any, List import numpy as np import pandas as pd from pycoingecko import CoinGeckoAPI from gamestonk_terminal.cryptocurrency.dataframe_helpers import ( create_df_index, long_number_format...
25.034404
316
0.624462
1,293
10,915
5.027842
0.188708
0.033226
0.023689
0.027996
0.522074
0.457776
0.393632
0.307953
0.228273
0.200892
0
0.00954
0.241319
10,915
435
317
25.091954
0.77551
0.202657
0
0.362963
0
0.003704
0.216583
0.062515
0
0
0
0.004598
0
1
0.048148
false
0.003704
0.033333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f44d14e6df3a58dd087e5855ff51ca5785dc0dff
20,399
py
Python
docker/messein/board-import-app/app.py
sourceperl/tk-dashboard
015ececc670902b02284749ac59f354db4304e48
[ "MIT" ]
null
null
null
docker/messein/board-import-app/app.py
sourceperl/tk-dashboard
015ececc670902b02284749ac59f354db4304e48
[ "MIT" ]
null
null
null
docker/messein/board-import-app/app.py
sourceperl/tk-dashboard
015ececc670902b02284749ac59f354db4304e48
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from configparser import ConfigParser from datetime import datetime import urllib.parse import hashlib import io import json import logging import os import re import time from xml.dom import minidom import feedparser import requests import schedule import PIL.Image import PIL.ImageDraw import P...
40.076621
110
0.622776
2,883
20,399
4.182102
0.172043
0.014929
0.016422
0.01551
0.424733
0.359045
0.306793
0.278427
0.2562
0.255122
0
0.018981
0.256189
20,399
508
111
40.155512
0.775654
0.143242
0
0.276353
0
0.005698
0.165217
0.039403
0
0
0.000691
0
0
1
0.037037
false
0.02849
0.079772
0
0.125356
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
f44d3d2bcc982ad4f8edfb7eb180227db0f5fa05
19,687
py
Python
fsleyes_widgets/widgetlist.py
pauldmccarthy/fsleyes-widgets
cb27899a0f665efe3f1c6ca1f89349507e004378
[ "Apache-2.0" ]
1
2018-11-04T11:18:46.000Z
2018-11-04T11:18:46.000Z
fsleyes_widgets/widgetlist.py
pauldmccarthy/fsleyes-widgets
cb27899a0f665efe3f1c6ca1f89349507e004378
[ "Apache-2.0" ]
2
2018-09-24T15:01:56.000Z
2020-01-20T10:39:37.000Z
fsleyes_widgets/widgetlist.py
pauldmccarthy/fsleyes-widgets
cb27899a0f665efe3f1c6ca1f89349507e004378
[ "Apache-2.0" ]
1
2017-12-09T09:02:07.000Z
2017-12-09T09:02:07.000Z
#!/usr/bin/env python # # widgetlist.py - A widget which displays a list of groupable widgets. # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # """This module provides the :class:`WidgetList` class, which displays a list of widgets. """ import wx import wx.lib.newevent as wxevent import wx.lib.scrolledpanel...
31.05205
79
0.584701
2,105
19,687
5.349169
0.193824
0.015986
0.016874
0.010657
0.16119
0.105861
0.050977
0.007993
0
0
0
0.003105
0.329354
19,687
633
80
31.101106
0.849731
0.29268
0
0.243986
0
0
0.00689
0
0
0
0
0
0
1
0.103093
false
0
0.013746
0
0.164948
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
f44da748e4ab13e359126b052ffbda6e65cd72ff
1,441
py
Python
setup.py
TransactPRO/gw3-python-client
77a9395c13f75467385227461b57ce85f4730ce5
[ "MIT" ]
1
2018-03-13T00:10:05.000Z
2018-03-13T00:10:05.000Z
setup.py
TransactPRO/gw3-python-client
77a9395c13f75467385227461b57ce85f4730ce5
[ "MIT" ]
1
2020-08-05T08:25:14.000Z
2020-08-05T08:25:14.000Z
setup.py
TransactPRO/gw3-python-client
77a9395c13f75467385227461b57ce85f4730ce5
[ "MIT" ]
null
null
null
#!/usr/bin/env python import setuptools MAINTAINER_NAME = 'Transact Pro' MAINTAINER_EMAIL = 'support@transactpro.lv' URL_GIT = 'https://github.com/TransactPRO/gw3-python-client' try: import pypandoc LONG_DESCRIPTION = pypandoc.convert('README.md', 'rst') except (IOError, ImportError, OSError, RuntimeError):...
28.82
75
0.693963
153
1,441
6.437909
0.555556
0.076142
0.126904
0.105584
0
0
0
0
0
0
0
0.01598
0.174879
1,441
49
76
29.408163
0.812447
0.013879
0
0
0
0
0.492958
0.047183
0
0
0
0
0
1
0
false
0
0.073171
0
0.073171
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
f44db94e38c8e52a26896847a590eaee7cd80693
2,359
py
Python
social_auth_mitxpro/backends_test.py
mitodl/social-auth-mitxpro
8cae8bbe900b25f724b24f783d06de7b853a1366
[ "BSD-3-Clause" ]
null
null
null
social_auth_mitxpro/backends_test.py
mitodl/social-auth-mitxpro
8cae8bbe900b25f724b24f783d06de7b853a1366
[ "BSD-3-Clause" ]
37
2019-03-06T17:43:26.000Z
2022-03-21T05:18:10.000Z
social_auth_mitxpro/backends_test.py
mitodl/social-auth-mitxpro
8cae8bbe900b25f724b24f783d06de7b853a1366
[ "BSD-3-Clause" ]
null
null
null
"""Tests for our backend""" from urllib.parse import urljoin import pytest from social_auth_mitxpro.backends import MITxProOAuth2 # pylint: disable=redefined-outer-name @pytest.fixture def strategy(mocker): """Mock strategy""" return mocker.Mock() @pytest.fixture def backend(strategy): """MITxProOAu...
29.4875
86
0.680797
271
2,359
5.730627
0.321033
0.042498
0.048938
0.04443
0.265937
0.245976
0.204765
0.204765
0.094012
0.065679
0
0.009799
0.178042
2,359
79
87
29.860759
0.791129
0.133531
0
0.166667
0
0
0.166833
0
0
0
0
0
0.166667
1
0.145833
false
0
0.0625
0
0.270833
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
f450452cbcef41209866e35540c53f785f67820d
1,183
py
Python
Scripts/simulation/careers/detective/detective_crime_scene.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/careers/detective/detective_crime_scene.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/careers/detective/detective_crime_scene.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\careers\detective\detective_crime_scene.py # Compiled at: 2015-02-08 03:00:54 # Size of source mod 2...
42.25
107
0.72612
168
1,183
4.797619
0.547619
0.074442
0.052109
0.066998
0.054591
0
0
0
0
0
0
0.067677
0.163145
1,183
28
108
42.25
0.746465
0.27388
0
0
0
0
0.078546
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0
0.411765
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
f450583ef2fc87d70603f2a691c77577371d8626
11,640
py
Python
classifier/interpretation_exp.py
methylgrammarlab/proj_scwgbs
287196898796eb617fef273bfaf9e978a57047dc
[ "MIT" ]
null
null
null
classifier/interpretation_exp.py
methylgrammarlab/proj_scwgbs
287196898796eb617fef273bfaf9e978a57047dc
[ "MIT" ]
null
null
null
classifier/interpretation_exp.py
methylgrammarlab/proj_scwgbs
287196898796eb617fef273bfaf9e978a57047dc
[ "MIT" ]
null
null
null
""" Code adapted from https://github.com/ohlerlab/DeepRiPe with changes Extract information and graphs from the Integrated gradients output """ import argparse import os import sys import matplotlib.pyplot as plt import numpy as np import seaborn as sns from classifier.plotseqlogo import seqlogo_fig from commons imp...
36.489028
109
0.617526
1,796
11,640
3.797327
0.126392
0.087977
0.018768
0.025806
0.720381
0.681525
0.658798
0.630645
0.611877
0.579619
0
0.026148
0.260739
11,640
318
110
36.603774
0.766415
0.171134
0
0.526829
0
0
0.088491
0.028402
0
0
0
0
0
1
0.04878
false
0
0.058537
0
0.112195
0.009756
0
0
0
null
0
0
0
0
0
0
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
f452f54dd600820476b6e9842531fd00913972e2
3,921
py
Python
scripts/pythonutils/autorepr.py
shulinye/dotfiles
a342512c33ca102d03921cc653ee4605d0cf9617
[ "MIT" ]
2
2015-01-16T22:07:10.000Z
2015-11-09T06:45:44.000Z
scripts/pythonutils/autorepr.py
shulinye/dotfiles
a342512c33ca102d03921cc653ee4605d0cf9617
[ "MIT" ]
4
2015-07-08T19:13:47.000Z
2015-08-31T16:04:36.000Z
scripts/pythonutils/autorepr.py
shulinye/dotfiles
a342512c33ca102d03921cc653ee4605d0cf9617
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from collections import OrderedDict from functools import partial from ordered_set import OrderedSet import inspect import itertools import types from .utils import walk_getattr __all__ = ['autoinit', 'autorepr', 'TotalCompareByKey'] def autoinit(obj=None, *args, params=None, **kwargs): """T...
40.42268
116
0.602907
479
3,921
4.578288
0.294363
0.029184
0.01368
0.02736
0.327405
0.305062
0.283174
0.262654
0.262654
0.236206
0
0.002056
0.255802
3,921
96
117
40.84375
0.749486
0.129814
0
0.298701
0
0
0.157253
0.007432
0
0
0
0
0
1
0.051948
false
0.025974
0.090909
0
0.220779
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
f4537a07a1d5765ef6c894d899d3fcdd3ed64dab
10,051
py
Python
v1.0.0.test/toontown/estate/DistributedGardenPlotAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v1.0.0.test/toontown/estate/DistributedGardenPlotAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v1.0.0.test/toontown/estate/DistributedGardenPlotAI.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from direct.directnotify import DirectNotifyGlobal from toontown.estate import GardenGlobals from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI FLOWER_X_OFFSETS = ( None, (0, ), (-1.5, 1.5), (-3.4, 0, 3.5)) class DistributedGardenPlotAI(DistributedLawnDecorAI): notify = DirectNotifyGlobal.d...
49.029268
195
0.639936
1,047
10,051
6.034384
0.159503
0.045584
0.059196
0.07265
0.537195
0.52485
0.490503
0.455049
0.440962
0.433523
0
0.00927
0.259477
10,051
205
196
49.029268
0.839581
0
0
0.485876
0
0
0.090828
0.013331
0
0
0
0
0
1
0.107345
false
0
0.016949
0.011299
0.310734
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