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
17553a498d4907cf69fd13bc2a596ad111d2d7ca
219
py
Python
cupcake/config/__init__.py
billyeatcookies/cupcake
2f2d1d5f8a1a454e50283547cf433cc82d1825d6
[ "MIT" ]
3
2022-03-29T12:55:24.000Z
2022-03-30T17:06:11.000Z
cupcake/config/__init__.py
billyeatcookies/Cupcake
2f2d1d5f8a1a454e50283547cf433cc82d1825d6
[ "MIT" ]
null
null
null
cupcake/config/__init__.py
billyeatcookies/Cupcake
2f2d1d5f8a1a454e50283547cf433cc82d1825d6
[ "MIT" ]
null
null
null
from tkinter import font class Config: def __init__(self, master, *args, **kwargs): self.master = master self.font = font.Font( family="Consolas", size=11, weight="normal")
21.9
48
0.579909
25
219
4.92
0.72
0.162602
0
0
0
0
0
0
0
0
0
0.013072
0.30137
219
9
49
24.333333
0.79085
0
0
0
0
0
0.063927
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
0
0
0
0
0
2
175675d7610b11f7f5a72c44eb62e7eb639038db
1,372
py
Python
plugins/operators/vivareal_operator.py
lucaspfigueiredo/elt-pipeline
71537f5c2bd2e6502ea44c8dab44cc4ba8919e7f
[ "MIT" ]
2
2022-03-29T23:48:35.000Z
2022-03-30T02:10:34.000Z
plugins/operators/vivareal_operator.py
lucaspfigueiredo/elt-pipeline
71537f5c2bd2e6502ea44c8dab44cc4ba8919e7f
[ "MIT" ]
null
null
null
plugins/operators/vivareal_operator.py
lucaspfigueiredo/elt-pipeline
71537f5c2bd2e6502ea44c8dab44cc4ba8919e7f
[ "MIT" ]
null
null
null
import json import logging from hooks.vivareal_hook import VivarealHook from airflow.utils.decorators import apply_defaults from airflow.models.baseoperator import BaseOperator from airflow.providers.amazon.aws.hooks.s3 import S3Hook logger = logging.getLogger(__name__) logging.basicConfig(level=logging.INFO) class...
31.181818
80
0.625364
164
1,372
4.926829
0.45122
0.086634
0.089109
0.059406
0.086634
0
0
0
0
0
0
0.018109
0.27551
1,372
44
81
31.181818
0.794769
0
0
0
0
0
0.093955
0.015295
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1757cb3adbb9ba3e3de2859b8f9845a3c7c5f97a
12,676
py
Python
utils/yolo.py
Cuda-Chen/fish-yolo-grabcut
359da92815d49a7d238fe8de7bd51e5de68f0d40
[ "MIT" ]
7
2020-01-20T00:33:29.000Z
2022-01-01T04:36:06.000Z
utils/yolo.py
ZurMaD/fish-yolo-grabcut
c2570691143df36d528d2b3c115bf2bc29cddfd6
[ "MIT" ]
1
2020-01-09T09:18:29.000Z
2020-01-16T13:22:43.000Z
utils/yolo.py
Cuda-Chen/fish-yolo-grabcut
359da92815d49a7d238fe8de7bd51e5de68f0d40
[ "MIT" ]
5
2020-06-20T01:50:10.000Z
2020-12-24T09:13:10.000Z
#!/usr/bin/python import numpy as np import argparse import time import cv2 as cv import os def runYOLODetection(args): # load my fish class labels that my YOLO model was trained on labelsPath = os.path.sep.join([args["yolo"], "fish.names"]) #labelsPath = os.path.sep.join([args["yolo"], "coco.names"]) ...
40.758842
77
0.620227
1,637
12,676
4.787416
0.161271
0.013398
0.017226
0.024882
0.857343
0.857343
0.847263
0.842925
0.842925
0.842925
0
0.018249
0.269407
12,676
310
78
40.890323
0.827988
0.415273
0
0.726667
0
0
0.085159
0
0
0
0
0
0
1
0.02
false
0
0.033333
0
0.073333
0.06
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
1757edeb0108328d5bcd4183eaebb8af3d8998c6
1,619
py
Python
Machine Learning A-Z/Part 1 - Data Preprocessing/data_preprocessing_template.py
SenonLi/LearnPython
0d37ed625c623a79daa9c4407751050e683fa3ed
[ "Apache-2.0" ]
null
null
null
Machine Learning A-Z/Part 1 - Data Preprocessing/data_preprocessing_template.py
SenonLi/LearnPython
0d37ed625c623a79daa9c4407751050e683fa3ed
[ "Apache-2.0" ]
null
null
null
Machine Learning A-Z/Part 1 - Data Preprocessing/data_preprocessing_template.py
SenonLi/LearnPython
0d37ed625c623a79daa9c4407751050e683fa3ed
[ "Apache-2.0" ]
null
null
null
# Data Preprocessing # Importing the libraries import numpy as np # numpy is the library that contains mathematical tools import matplotlib.pyplot as plt # help plot charts import pandas as pd # import data sets and manage data sets # 1. Importing the dataset df = pd.read_csv('Dat...
43.756757
118
0.732551
261
1,619
4.417625
0.43295
0.041631
0.023417
0.026019
0
0
0
0
0
0
0
0.011287
0.179123
1,619
37
119
43.756757
0.856283
0.714639
0
0
0
0
0.02765
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1758ea53434e4693152e9c5c19753c1eb492d79b
13,073
py
Python
Artie/internals/rl/environment.py
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
1
2018-04-28T16:55:05.000Z
2018-04-28T16:55:05.000Z
Artie/internals/rl/environment.py
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
Artie/internals/rl/environment.py
MaxStrange/ArtieInfant
1edbb171a5405d2971227f2d2d83acb523c70034
[ "MIT" ]
null
null
null
""" This module provides the observations and rewards for testing and for training the RL agent to vocalize. """ import collections import logging import math import numpy as np import random import output.voice.synthesizer as synth # pylint: disable=locally-disabled, import-error import warnings Step = collections.n...
47.365942
146
0.599556
1,633
13,073
4.682792
0.219228
0.018831
0.019877
0.025108
0.197986
0.178632
0.145417
0.134432
0.134432
0.125016
0
0.008052
0.315995
13,073
275
147
47.538182
0.847126
0.448864
0
0.139706
0
0
0.051155
0.005115
0
0
0
0
0.044118
1
0.102941
false
0
0.051471
0.007353
0.227941
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
175a3b4d2739554618c982905727d9731a509a3f
934
py
Python
boot.py
Ca11MeE/easy_frame
c3ec3069e3f61d1c01e5bd7ebbdf28e953a8ffa8
[ "Apache-2.0" ]
null
null
null
boot.py
Ca11MeE/easy_frame
c3ec3069e3f61d1c01e5bd7ebbdf28e953a8ffa8
[ "Apache-2.0" ]
null
null
null
boot.py
Ca11MeE/easy_frame
c3ec3069e3f61d1c01e5bd7ebbdf28e953a8ffa8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from flask import Flask import mysql,os,re from mysql import Pool import properties # 定义WEB容器(同时防止json以ascii解码返回) app=Flask(__name__) app.config['JSON_AS_ASCII'] = False # 处理各模块中的自动注入以及组装各蓝图 # dir_path中为蓝图模块路径,例如需要引入的蓝图都在routes文件夹中,则传入参数'/routes' def map_apps(dir_path): path=os.getcwd()+dir_path ...
22.780488
96
0.639186
117
934
4.846154
0.555556
0.049383
0.038801
0
0
0
0
0
0
0
0
0.002729
0.215203
934
40
97
23.35
0.770805
0.165953
0
0
0
0
0.063472
0
0
0
0
0
0
1
0.074074
false
0.037037
0.185185
0.037037
0.296296
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
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
175af7185594f72ab16004503b17449a4a18cdad
3,213
py
Python
chemprop/train/evaluate.py
wangdingyan/hybridUQ
c141a4bec0e716a12444f7e9ab0d7c975df93184
[ "MIT" ]
6
2021-10-01T10:17:29.000Z
2021-12-29T04:37:10.000Z
chemprop/train/evaluate.py
wangdingyan/hybridUQ
c141a4bec0e716a12444f7e9ab0d7c975df93184
[ "MIT" ]
null
null
null
chemprop/train/evaluate.py
wangdingyan/hybridUQ
c141a4bec0e716a12444f7e9ab0d7c975df93184
[ "MIT" ]
1
2021-09-21T17:39:03.000Z
2021-09-21T17:39:03.000Z
from collections import defaultdict import logging from typing import Dict, List from .predict import predict from chemprop.data import MoleculeDataLoader, StandardScaler from chemprop.utils.metrics import get_metric_func from chemprop.models import MoleculeModel, PB_MoleculeModel def evaluate_predictions(preds ...
37.360465
114
0.545907
362
3,213
4.707182
0.218232
0.042254
0.038732
0.035211
0.304577
0.28169
0.192488
0.192488
0.146714
0.062207
0
0.005408
0.366947
3,213
85
115
37.8
0.83235
0.008092
0
0.253521
0
0
0.0427
0
0
0
0
0
0
1
0.028169
false
0
0.098592
0
0.169014
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
175b67f79dbb7ac7d6310e3500fdb5ac9365371c
1,326
py
Python
packages/w3af/w3af/plugins/tests/infrastructure/test_detect_transparent_proxy.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/plugins/tests/infrastructure/test_detect_transparent_proxy.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/plugins/tests/infrastructure/test_detect_transparent_proxy.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
""" test_detect_transparent_proxy.py Copyright 2012 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distribute...
32.341463
86
0.717195
190
1,326
4.926316
0.621053
0.051282
0.041667
0.060897
0.087607
0.059829
0
0
0
0
0
0.020814
0.202866
1,326
41
87
32.341463
0.864711
0.58371
0
0
0
0
0.165138
0.044037
0
0
0
0.02439
0.066667
1
0.066667
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
175dc9a3ede195f91638565c928e9e3207f1f8ca
1,026
py
Python
python/prototype-python2/test-libchewing-contrib/userphrase_enumerate.py
samwhelp/demo-libchewing
13ce445cf1b71e42e765d1500d63234f88700835
[ "MIT" ]
null
null
null
python/prototype-python2/test-libchewing-contrib/userphrase_enumerate.py
samwhelp/demo-libchewing
13ce445cf1b71e42e765d1500d63234f88700835
[ "MIT" ]
null
null
null
python/prototype-python2/test-libchewing-contrib/userphrase_enumerate.py
samwhelp/demo-libchewing
13ce445cf1b71e42e765d1500d63234f88700835
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import chewing import ctypes chewing._libchewing.chewing_userphrase_has_next.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint)] chewing._libchewing.chewing_userphrase_get.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_uint, ...
30.176471
138
0.770955
154
1,026
4.896104
0.331169
0.092838
0.087533
0.090186
0.366048
0.270557
0.209549
0.148541
0.148541
0.148541
0
0.015907
0.080897
1,026
33
139
31.090909
0.783669
0.236842
0
0
0
0
0.028497
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
17609d169bbc79d752bdaa535b186028a8ee38c2
1,752
py
Python
sports/excel.py
liliangbin/spider
05080e862f204ce139249f07787de43781e39887
[ "Apache-2.0" ]
null
null
null
sports/excel.py
liliangbin/spider
05080e862f204ce139249f07787de43781e39887
[ "Apache-2.0" ]
null
null
null
sports/excel.py
liliangbin/spider
05080e862f204ce139249f07787de43781e39887
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import xlrd import MySQLdb import datetime xlsfile = r'li.xlsx' book = xlrd.open_workbook(xlsfile) # 获取sheet的数量 count = len(book.sheets()) sheet = book.sheets()[0] # 设置连接数据库 database = MySQLdb.connect(host="yb.upc.edu.cn", port=3306, user="yibantest", passwd="yibantest", ...
23.675676
240
0.671233
241
1,752
4.809129
0.373444
0.100949
0.112166
0.034513
0.262295
0.240725
0.185505
0.185505
0.185505
0.185505
0
0.019417
0.176941
1,752
73
241
24
0.784327
0.030822
0
0
0
0.02381
0.216312
0.073877
0
0
0
0
0
0
null
null
0.095238
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
1761cb53f94a10c32873088a40b0c2dc8567f7e7
18,276
py
Python
lib/rule_engine/types.py
rwspielman/rule-engine
1d84d5599fe5ab34bc8d6fc00bbe00f847352428
[ "BSD-3-Clause" ]
149
2018-04-04T12:47:38.000Z
2022-03-25T07:25:55.000Z
lib/rule_engine/types.py
rwspielman/rule-engine
1d84d5599fe5ab34bc8d6fc00bbe00f847352428
[ "BSD-3-Clause" ]
26
2020-01-06T17:29:26.000Z
2022-03-25T07:01:49.000Z
lib/rule_engine/types.py
rwspielman/rule-engine
1d84d5599fe5ab34bc8d6fc00bbe00f847352428
[ "BSD-3-Clause" ]
24
2020-02-15T22:58:30.000Z
2022-03-22T02:15:26.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # rule_engine/types.py # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
35.695313
129
0.749343
2,717
18,276
4.832536
0.13986
0.049353
0.033663
0.016451
0.444021
0.402209
0.3508
0.301447
0.263823
0.224752
0
0.003788
0.162289
18,276
511
130
35.765166
0.853821
0.376012
0
0.328571
0
0
0.087252
0.002526
0
0
0
0
0
1
0.125
false
0.007143
0.021429
0.053571
0.442857
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
17620bdfb4cf67a633f129cfa555700c6171ac09
125
py
Python
number2text/main.py
rgreinho/number2text
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
[ "MIT" ]
null
null
null
number2text/main.py
rgreinho/number2text
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
[ "MIT" ]
null
null
null
number2text/main.py
rgreinho/number2text
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
[ "MIT" ]
null
null
null
"""Convert a number to its text representation.""" from number2text.cli.cli import cli if __name__ == '__main__': cli()
20.833333
50
0.704
17
125
4.705882
0.823529
0
0
0
0
0
0
0
0
0
0
0.009615
0.168
125
5
51
25
0.759615
0.352
0
0
0
0
0.106667
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
17623540444eb9269b6276c7ee4a47d541023c28
2,437
py
Python
data_pr_downloader.py
froi/data-pr
07b386457f1868573181928cc8caecc970e7b44f
[ "MIT" ]
6
2018-01-09T14:58:42.000Z
2019-09-17T19:52:03.000Z
data_pr_downloader.py
froi/data-pr
07b386457f1868573181928cc8caecc970e7b44f
[ "MIT" ]
40
2019-08-21T12:05:26.000Z
2021-07-14T10:39:27.000Z
data_pr_downloader.py
froi/data-pr
07b386457f1868573181928cc8caecc970e7b44f
[ "MIT" ]
1
2018-01-09T21:23:53.000Z
2018-01-09T21:23:53.000Z
from datetime import datetime import json import logging from mimetypes import guess_extension import os import requests from slugify import slugify FORMAT = '%(asctime)-15s - %(message)s' logging.basicConfig(format=FORMAT) logger = logging.getLogger('data_pr') BASE_DATA_DIR = 'data_files' DATA_PR_CATALOG_PATH = f'{B...
34.814286
87
0.685679
329
2,437
4.778116
0.270517
0.072519
0.107506
0.035623
0.23028
0.117048
0.117048
0.09542
0.049618
0
0
0.002572
0.202298
2,437
69
88
35.318841
0.80607
0
0
0.113208
0
0
0.264259
0.080837
0
0
0
0
0
1
0.056604
false
0
0.132075
0
0.188679
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
1764184768f6f8663aaf405c83cd769d6fb4865b
1,735
py
Python
CodeBERT/preprocess_data.py
code-backdoor/code-backdoor
1eeb3d79aa8a54c8f08e8d0156b569de5edd974e
[ "MIT" ]
null
null
null
CodeBERT/preprocess_data.py
code-backdoor/code-backdoor
1eeb3d79aa8a54c8f08e8d0156b569de5edd974e
[ "MIT" ]
null
null
null
CodeBERT/preprocess_data.py
code-backdoor/code-backdoor
1eeb3d79aa8a54c8f08e8d0156b569de5edd974e
[ "MIT" ]
null
null
null
import gzip import glob import os import json import numpy as np from more_itertools import chunked DATA_DIR = '/mnt/wanyao/zsj/codesearchnet' DEST_DIR = '/mnt/wanyao/zsj/CodeBERT/data/codesearch/train_valid' def format_str(string): for char in ['\r\n', '\r', '\n']: string = string.replace(char, ' ') ...
33.365385
110
0.616138
236
1,735
4.360169
0.419492
0.03207
0.034985
0.029155
0.029155
0
0
0
0
0
0
0.005251
0.2317
1,735
51
111
34.019608
0.766692
0.035159
0
0
0
0
0.136962
0.048445
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.261905
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1767751b5d41cd4c05b86fd5734231e3fe189e78
201
py
Python
code-pool/max-min2.py
ColorOfLight/kaist-musynth
98bf12cfac0722e15db2e9a8e01275b002e7bdf3
[ "MIT" ]
1
2021-09-06T03:09:40.000Z
2021-09-06T03:09:40.000Z
code-pool/max-min2.py
ColorOfLight/kaist-musynth
98bf12cfac0722e15db2e9a8e01275b002e7bdf3
[ "MIT" ]
null
null
null
code-pool/max-min2.py
ColorOfLight/kaist-musynth
98bf12cfac0722e15db2e9a8e01275b002e7bdf3
[ "MIT" ]
null
null
null
n=int(input()) k=int(input()) a=[] m=0 for i in range(n): a.append(int(input())) a.sort(reverse=True) m=a[0]-a[k-1] for i in range(n-k+1): if a[i]-a[i+k-1] < m: m=a[i]-a[i+k-1] print(m)
16.75
26
0.527363
52
201
2.038462
0.346154
0.075472
0.169811
0.207547
0.339623
0.113208
0
0
0
0
0
0.036364
0.179104
201
12
27
16.75
0.606061
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
17690a767660c008e60f5e5fe1a87037ce7c37c2
28,559
py
Python
bruhat/huffman.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
3
2020-04-07T13:21:30.000Z
2020-07-15T02:07:20.000Z
bruhat/huffman.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
null
null
null
bruhat/huffman.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ https://golem.ph.utexas.edu/category/2019/03/how_much_work_can_it_be_to_add.html#c055688 see also entropy.py """ import sys from functools import reduce from operator import add from math import log, log2 from random import shuffle, choice, randint, seed #import numpy #from matplotlib import...
26.105119
101
0.482755
4,274
28,559
3.178287
0.091951
0.008245
0.007951
0.010306
0.421084
0.340621
0.307126
0.283495
0.242933
0.207082
0
0.026142
0.357085
28,559
1,093
102
26.129003
0.713687
0.096607
0
0.362176
0
0.001236
0.02954
0
0
0
0
0
0.098888
1
0.075402
false
0.002472
0.013597
0.013597
0.190358
0.02225
0
0
0
null
0
0
0
0
0
0
0
0
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
176cfc7beca4767a39789010087bddac4d12b45d
1,759
py
Python
p384_Shuffle_an_Array.py
bzhou26/leetcode_sol
82506521e2cc412f96cd1dfc3c8c3ab635f67f73
[ "MIT" ]
null
null
null
p384_Shuffle_an_Array.py
bzhou26/leetcode_sol
82506521e2cc412f96cd1dfc3c8c3ab635f67f73
[ "MIT" ]
null
null
null
p384_Shuffle_an_Array.py
bzhou26/leetcode_sol
82506521e2cc412f96cd1dfc3c8c3ab635f67f73
[ "MIT" ]
null
null
null
''' - Leetcode problem: 384 - Difficulty: Medium - Brief problem description: Shuffle a set of numbers without duplicates. Example: // Init an array with set 1, 2, and 3. int[] nums = {1,2,3}; Solution solution = new Solution(nums); // Shuffle the array [1,2,3] and return its result. Any permutation of [1,2,3] mu...
23.77027
114
0.533258
229
1,759
4.069869
0.366812
0.060086
0.016094
0.035408
0.093348
0.06867
0.06867
0.06867
0.06867
0.06867
0
0.026247
0.350199
1,759
74
115
23.77027
0.789151
0.45992
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
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
176fd12839e770c97951f5799e322a7e99606c06
10,613
py
Python
github_update_dara.py
9bstudios/mecco_dara
9c460a10e6bf4c3485e602ecbacdeacefaa9154f
[ "MIT" ]
10
2018-06-04T13:18:23.000Z
2020-06-14T10:09:57.000Z
github_update_dara.py
9bstudios/mecco_dara
9c460a10e6bf4c3485e602ecbacdeacefaa9154f
[ "MIT" ]
null
null
null
github_update_dara.py
9bstudios/mecco_dara
9c460a10e6bf4c3485e602ecbacdeacefaa9154f
[ "MIT" ]
1
2018-10-26T05:44:25.000Z
2018-10-26T05:44:25.000Z
# python import sys, traceback import requests, pprint, os, zipfile, shutil, glob, xml.etree.ElementTree, getpass import json from os.path import expanduser #from git import Repo BASE_URL = "https://api.github.com/repos/pixelfondue/%s/releases/latest" BASE_PATH = os.path.dirname(os.path.realpath(__file__)) print "bas...
34.016026
95
0.647508
1,377
10,613
4.744372
0.151779
0.048676
0.050513
0.030002
0.617021
0.605694
0.583652
0.572478
0.572478
0.572478
0
0.001115
0.239518
10,613
311
96
34.125402
0.808326
0.064072
0
0.526087
0
0
0.111515
0
0
0
0
0
0
0
null
null
0.052174
0.017391
null
null
0.091304
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
17710ad793bc93dd8874daa574ca41c7a810cdf1
1,210
py
Python
nestor/datasets/base.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
16
2018-07-06T16:36:56.000Z
2021-12-13T03:02:02.000Z
nestor/datasets/base.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
46
2018-08-06T15:51:35.000Z
2021-08-02T21:00:51.000Z
nestor/datasets/base.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
7
2020-04-27T18:56:24.000Z
2021-08-14T02:44:40.000Z
from pathlib import Path import pandas as pd def load_excavators(cleaned=False): """ Helper function to load excavator toy dataset. Hodkiewicz, M., and Ho, M. (2016) "Cleaning historical maintenance work order data for reliability analysis" in Journal of Quality in Maintenance Engineering, Vol 22...
35.588235
175
0.676033
155
1,210
5.193548
0.63871
0.037267
0.042236
0.052174
0.077019
0
0
0
0
0
0
0.022629
0.233058
1,210
33
176
36.666667
0.844828
0.631405
0
0
0
0
0.127321
0.058355
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
177194c329dea268086e33e7d66d605e4b6732f1
2,094
py
Python
server/test/test_server.py
byee123/battleships
0cd527217c8727f7b3274d8a661cbf8d49aa4276
[ "MIT" ]
2
2020-11-02T08:04:06.000Z
2020-11-25T12:20:45.000Z
server/test/test_server.py
byee123/battleships
0cd527217c8727f7b3274d8a661cbf8d49aa4276
[ "MIT" ]
17
2020-11-02T04:30:17.000Z
2020-12-07T00:35:34.000Z
server/test/test_server.py
byee123/battleships
0cd527217c8727f7b3274d8a661cbf8d49aa4276
[ "MIT" ]
14
2020-10-05T08:15:59.000Z
2020-11-28T10:31:40.000Z
import unittest from game import Game import server REDIS_HOST = '192.168.20.50' class TestServer(unittest.TestCase): """Please note that the tests in this suite only work if a Redis host is available (see REDIS_HOST above). """ def test_redis_connection(self): """Test that the Battleship ser...
33.238095
70
0.617479
263
2,094
4.787072
0.292776
0.04448
0.028594
0.035743
0.554408
0.554408
0.554408
0.527403
0.467037
0.405083
0
0.014199
0.293696
2,094
62
71
33.774194
0.837052
0.189112
0
0.388889
0
0
0.021753
0
0
0
0
0
0.305556
1
0.083333
false
0
0.083333
0
0.194444
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
1772a508f28a639e2e47a3e3c85f76e1e18b4977
12,643
py
Python
src/tenants/management/commands/update_lastseen.py
litedesk/litedesk-webserver-provision
1576b9d3e5e2e64d1136d276767c2710cfb1938f
[ "Apache-2.0" ]
1
2016-01-18T08:19:22.000Z
2016-01-18T08:19:22.000Z
src/tenants/management/commands/update_lastseen.py
litedesk/litedesk-webserver-provision
1576b9d3e5e2e64d1136d276767c2710cfb1938f
[ "Apache-2.0" ]
null
null
null
src/tenants/management/commands/update_lastseen.py
litedesk/litedesk-webserver-provision
1576b9d3e5e2e64d1136d276767c2710cfb1938f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014, Deutsche Telekom AG - Laboratories (T-Labs) # # 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...
45.315412
91
0.536423
1,206
12,643
5.454395
0.237148
0.027364
0.041046
0.029188
0.331864
0.277896
0.232289
0.144117
0.106415
0.060201
0
0.005046
0.373013
12,643
278
92
45.478417
0.824776
0.081547
0
0.263393
0
0
0.111169
0.003884
0
0
0
0
0.008929
1
0.008929
false
0
0.053571
0
0.084821
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
17738680820320743984fa3e2770dfc03df31cc2
83
py
Python
Chapter 05/Chap05_Example5.47.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 05/Chap05_Example5.47.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 05/Chap05_Example5.47.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
#games module from Football.goalkeeper import name_goalkeeper name_goalkeeper()
20.75
48
0.831325
10
83
6.7
0.7
0.41791
0
0
0
0
0
0
0
0
0
0
0.120482
83
3
49
27.666667
0.917808
0.144578
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
1773d93609383bcbb4fab691a8762940ea340e8e
1,470
py
Python
pset6/dna/dna.py
vipsum/cs50
b3aa05ae470faea657343644a4073814825ceb83
[ "MIT" ]
null
null
null
pset6/dna/dna.py
vipsum/cs50
b3aa05ae470faea657343644a4073814825ceb83
[ "MIT" ]
null
null
null
pset6/dna/dna.py
vipsum/cs50
b3aa05ae470faea657343644a4073814825ceb83
[ "MIT" ]
null
null
null
import csv import sys # error checking if len(sys.argv) != 3: print("ERROR. Usage: Usage: python dna.py data.csv sequence.txt") sys.exit(1) #opening csv file and sequence texts csvFile = open(sys.argv[1]) DNAsequence = open(sys.argv[2]).read() # reading csv file onto a dictionary csvReader = csv.DictReader(csvF...
34.186047
94
0.687075
188
1,470
5.37234
0.494681
0.020792
0.021782
0
0
0
0
0
0
0
0
0.010408
0.215646
1,470
42
95
35
0.865568
0.253742
0
0.057143
0
0
0.069789
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
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
1777e634f97948573907da1787803d38c27f6c8f
311
py
Python
script_utils/read_file.py
img-caption-mania/img_caption_dl_textAnalytic
444385d928687673b5286ebb0a9b598de019916f
[ "Apache-2.0" ]
null
null
null
script_utils/read_file.py
img-caption-mania/img_caption_dl_textAnalytic
444385d928687673b5286ebb0a9b598de019916f
[ "Apache-2.0" ]
null
null
null
script_utils/read_file.py
img-caption-mania/img_caption_dl_textAnalytic
444385d928687673b5286ebb0a9b598de019916f
[ "Apache-2.0" ]
2
2020-06-30T20:53:09.000Z
2021-09-30T10:29:45.000Z
import os, sys, re, natsort ls = [this for this in os.listdir(os.getcwd() + '/' + str(sys.argv[1]))] # ls = ls.sort(key=lambda f: int(re.sub('\D', '', f))) ls = natsort.natsorted(ls,reverse=False) with open(os.getcwd() + '/' + str(sys.argv[2]), 'w') as f: for item in ls: f.write("%s\n" % item)
25.916667
72
0.569132
55
311
3.218182
0.6
0.090395
0.124294
0.158192
0.20339
0
0
0
0
0
0
0.007937
0.189711
311
11
73
28.272727
0.694444
0.167203
0
0
0
0
0.027344
0
0
0
0
0
0
1
0
false
0
0.166667
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
177931d9295fee1cf93668dbfec3ca5bb4baf4e5
1,281
py
Python
utils.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
utils.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
utils.py
sc2h6o/DT
d1cde39c778d827efeb89c1b1d4d54d13214b51f
[ "MIT" ]
null
null
null
import numpy as np import cv2 import random def int_(x): if x==int(x): return int(x) else: return int(x+1) def rdint(x): return int(round(x)) def IoU(box1, box2): x1 = max(box1[0], box2[0]) y1 = max(box1[1], box2[1]) x2 = min(box1[0]+box1[2], box2[0]+box2[2]) y2 = min(box1[1]+box1[3], box2[1]+box2[3]) i...
20.333333
72
0.54879
274
1,281
2.558394
0.167883
0.10271
0.021398
0.028531
0.356633
0.333809
0.333809
0.333809
0.28388
0.28388
0
0.084325
0.213115
1,281
62
73
20.66129
0.611111
0
0
0.296296
0
0
0
0
0
0
0
0
0
1
0.12963
false
0
0.055556
0.018519
0.351852
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
177a3ca237d5d4bf472566aa5ce8d9bf5f80f77a
31
py
Python
SSM/evaluations/__init__.py
taufikxu/FD-ScoreMatching
9df0789bb98bb798b3de57072f63ee4b2f19947f
[ "MIT" ]
12
2020-05-23T10:02:12.000Z
2021-03-25T19:54:00.000Z
SSM/evaluations/__init__.py
taufikxu/FD-ScoreMatching
9df0789bb98bb798b3de57072f63ee4b2f19947f
[ "MIT" ]
6
2021-03-19T15:30:28.000Z
2022-03-12T00:51:16.000Z
SSM/evaluations/__init__.py
taufikxu/FD-ScoreMatching
9df0789bb98bb798b3de57072f63ee4b2f19947f
[ "MIT" ]
4
2020-11-04T03:52:45.000Z
2021-12-28T16:07:08.000Z
__all__ = ['ais', 'fid', 'hmc']
31
31
0.516129
4
31
3
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.444444
0
0
0
0
0
0.28125
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
0
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
4
177b2b2fc328442186cfa83ce8437c5a552fcc24
1,651
py
Python
models/conv_lstm.py
i1idan/schizophrenia-diagnosis-eeg-signals
50e51c16c6df0a61b5e62223c404039d659c9d48
[ "MIT" ]
5
2021-12-24T18:20:16.000Z
2022-01-27T19:45:28.000Z
models/conv_lstm.py
i1idan/schizophrenia-diagnosis-eeg-signals
50e51c16c6df0a61b5e62223c404039d659c9d48
[ "MIT" ]
null
null
null
models/conv_lstm.py
i1idan/schizophrenia-diagnosis-eeg-signals
50e51c16c6df0a61b5e62223c404039d659c9d48
[ "MIT" ]
1
2021-12-24T18:19:23.000Z
2021-12-24T18:19:23.000Z
from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.layers import Flatten from tensorflow.keras.layers import Dropout from tensorflow.keras.layers import LSTM, Conv1D, GRU from tensorflow.keras.layers import TimeDistributed from tensorflow.keras.layers import M...
39.309524
89
0.643852
193
1,651
5.352332
0.310881
0.085189
0.147144
0.145208
0.575992
0.301065
0.301065
0.260407
0.260407
0.260407
0
0.02476
0.241672
1,651
41
90
40.268293
0.800319
0
0
0.114286
0
0
0.037553
0
0
0
0
0
0
1
0.057143
false
0
0.228571
0
0.342857
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
177c08e0f1aa8faf34025ae8c1b40c9f8d1f633f
2,112
py
Python
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/gpu_predictor.py
zhangyimi/Research
866f91d9774a38d205d6e9a3b1ee6293748261b3
[ "Apache-2.0" ]
1,319
2020-02-14T10:42:07.000Z
2022-03-31T15:42:18.000Z
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/gpu_predictor.py
green9989/Research
94519a72e7936c77f62a31709634b72c09aabf74
[ "Apache-2.0" ]
192
2020-02-14T02:53:34.000Z
2022-03-31T02:25:48.000Z
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/gpu_predictor.py
green9989/Research
94519a72e7936c77f62a31709634b72c09aabf74
[ "Apache-2.0" ]
720
2020-02-14T02:12:38.000Z
2022-03-31T12:21:15.000Z
############################################################################# # # Copyright (c) 2019 Baidu.com, Inc. All Rights Reserved # ############################################################################ """ Specify the brief gpu_predictor.py Author: map(wushilei@baidu.com) Date: 2019/07/21 20:09:58...
32
85
0.650095
249
2,112
5.293173
0.405622
0.034143
0.039454
0.069803
0.311836
0.254173
0.254173
0.224583
0.224583
0.14264
0
0.011203
0.19697
2,112
65
86
32.492308
0.76592
0.289299
0
0
0
0
0.055339
0.018706
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.433333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
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
177e76b8a5ad62be0cc716aa96929143804c2c31
77
py
Python
src/fdk_organization_bff/sparql/__init__.py
Informasjonsforvaltning/organization-page-bffe
473dc9606649f864618f4f8bfc4a6a2a035f06d7
[ "Apache-2.0" ]
null
null
null
src/fdk_organization_bff/sparql/__init__.py
Informasjonsforvaltning/organization-page-bffe
473dc9606649f864618f4f8bfc4a6a2a035f06d7
[ "Apache-2.0" ]
47
2020-05-14T07:54:48.000Z
2022-03-29T22:17:08.000Z
src/fdk_organization_bff/sparql/__init__.py
Informasjonsforvaltning/organization-page-bffe
473dc9606649f864618f4f8bfc4a6a2a035f06d7
[ "Apache-2.0" ]
null
null
null
"""SPARQL package. Modules: dataset_queries dataservice_queries """
11
23
0.701299
7
77
7.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.194805
77
6
24
12.833333
0.83871
0.896104
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
177e8c1d5af7739ef2b33bcff39f04682a94721f
2,368
py
Python
Python/CoviDetect/covid_detect/sub_app/views.py
Idhant-6/HAcktoberfest-2021-With-Python
ae6f8b5aadeca5a7329fe8e8d7de3f5069e687a1
[ "MIT" ]
14
2021-10-01T16:53:27.000Z
2021-10-17T13:15:44.000Z
Python/CoviDetect/covid_detect/sub_app/views.py
Idhant-6/HAcktoberfest-2021-With-Python
ae6f8b5aadeca5a7329fe8e8d7de3f5069e687a1
[ "MIT" ]
37
2021-10-01T17:14:52.000Z
2021-10-21T17:26:14.000Z
Python/CoviDetect/covid_detect/sub_app/views.py
Idhant-6/Hacktoberfest-2021
ae6f8b5aadeca5a7329fe8e8d7de3f5069e687a1
[ "MIT" ]
38
2021-10-01T16:59:16.000Z
2021-10-30T16:05:31.000Z
from django.http import request from django.shortcuts import render,HttpResponse import cv2 import numpy as np import base64 import joblib from numpy.core.defchararray import join import sklearn import pywt def w2d(img, mode='haar', level=1): imArray = img #Datatype conversions #convert to grayscale ...
27.858824
101
0.669341
319
2,368
4.796238
0.38558
0.015686
0.037255
0.019608
0.035294
0.035294
0
0
0
0
0
0.046635
0.203125
2,368
84
102
28.190476
0.764176
0.082348
0
0
0
0
0.084142
0
0
0
0
0
0
1
0.084746
false
0
0.152542
0.016949
0.322034
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
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
17801b23c209f52e4859df74018bcf887604f24c
5,060
py
Python
tube_dl/formats.py
hahv/tube_dl
4641c48d74c1881ddd6785784a3884bdea2ca674
[ "MIT" ]
17
2020-12-04T16:37:22.000Z
2022-02-26T10:19:02.000Z
tube_dl/formats.py
hahv/tube_dl
4641c48d74c1881ddd6785784a3884bdea2ca674
[ "MIT" ]
11
2020-12-13T01:41:33.000Z
2022-02-19T12:58:50.000Z
tube_dl/formats.py
hahv/tube_dl
4641c48d74c1881ddd6785784a3884bdea2ca674
[ "MIT" ]
10
2020-12-26T04:47:18.000Z
2022-02-10T09:49:19.000Z
import string import os import requests from tube_dl.extras import Output headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36', 'referer': 'https: //youtube.com'} class Format: def __init__(self, category, description, t...
37.481481
254
0.562055
619
5,060
4.470113
0.273021
0.054933
0.043007
0.045537
0.090351
0.017347
0
0
0
0
0
0.012261
0.33913
5,060
134
255
37.761194
0.815191
0.112451
0
0.136364
0
0.018182
0.14263
0.041497
0
0
0
0
0
1
0.090909
false
0
0.036364
0.036364
0.209091
0.009091
0
0
0
null
0
0
0
0
0
0
0
0
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
17810377c3837f4b8580799808c6d976e9b3f30b
619
py
Python
hopperpw/hopperpw/urls.py
teddywest32/hopper.pw
ff80ded3d34a5f33a5770d5e69405a66ff649a62
[ "BSD-3-Clause" ]
81
2015-01-03T20:35:52.000Z
2021-01-05T22:33:15.000Z
hopperpw/hopperpw/urls.py
teddywest32/hopper.pw
ff80ded3d34a5f33a5770d5e69405a66ff649a62
[ "BSD-3-Clause" ]
9
2015-02-04T15:14:12.000Z
2021-09-19T22:49:27.000Z
hopperpw/hopperpw/urls.py
teddywest32/hopper.pw
ff80ded3d34a5f33a5770d5e69405a66ff649a62
[ "BSD-3-Clause" ]
34
2015-01-01T06:19:23.000Z
2021-11-23T11:35:26.000Z
# coding=utf-8 from django.conf import settings from django.conf.urls import patterns, include, url from django.conf.urls.static import static from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', url(r'^allauth/', include('allauth.urls')), url(r'^accounts/', include('accounts....
28.136364
67
0.701131
80
619
5.3125
0.3375
0.047059
0.098824
0.084706
0
0
0
0
0
0
0
0.00189
0.145396
619
21
68
29.47619
0.801512
0.019386
0
0
0
0
0.119008
0
0
0
0
0
0
1
0
false
0
0.294118
0
0.294118
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
1781e7376d613c7a6c0f2a03c05f305b2a11aef7
372
py
Python
Utilidades/Constantes.py
SergioCMDev/Busines-Inteligence-applied-to-tourism
61834a46fce22453e94b7bbdf8d4ecdcf128285a
[ "Apache-2.0" ]
null
null
null
Utilidades/Constantes.py
SergioCMDev/Busines-Inteligence-applied-to-tourism
61834a46fce22453e94b7bbdf8d4ecdcf128285a
[ "Apache-2.0" ]
null
null
null
Utilidades/Constantes.py
SergioCMDev/Busines-Inteligence-applied-to-tourism
61834a46fce22453e94b7bbdf8d4ecdcf128285a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jun 27 19:10:03 2017 @author: Sergio Cristauro Manzano """ class Constantes: Meses = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'] DB_Name = 'DatabaseTFG' IP_BD = '127.0.0.1' UsuarioBD =...
28.615385
131
0.642473
45
372
5.266667
0.955556
0
0
0
0
0
0
0
0
0
0
0.080386
0.163978
372
13
132
28.615385
0.681672
0.25
0
0
0
0
0.371324
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
17829f70617771fbf2d26fae550ff76307f210c4
1,520
py
Python
tests/test_jwt_vc.py
BasileiosKal/py-verifier
6614bdc515f823245762c0250de429a27c39e203
[ "MIT" ]
null
null
null
tests/test_jwt_vc.py
BasileiosKal/py-verifier
6614bdc515f823245762c0250de429a27c39e203
[ "MIT" ]
null
null
null
tests/test_jwt_vc.py
BasileiosKal/py-verifier
6614bdc515f823245762c0250de429a27c39e203
[ "MIT" ]
2
2022-01-17T11:08:27.000Z
2022-01-28T09:50:10.000Z
import pytest import requests import json from issuer import Issuer class TestJWT: def test_valid_authorization_get(self): token = Issuer().issue_valid_vc() headers = {'Authorization':'Bearer ' + token, 'Accept': 'application/json'} response = requests.get("http://localhost:9000/secure...
40
119
0.657237
172
1,520
5.662791
0.255814
0.055441
0.061602
0.082136
0.795688
0.76386
0.73614
0.73614
0.693018
0.693018
0
0.023121
0.203289
1,520
37
120
41.081081
0.781173
0
0
0.5
0
0
0.222515
0
0
0
0
0
0.133333
1
0.133333
false
0
0.133333
0
0.3
0.133333
0
0
0
null
0
0
0
0
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
4
1782c1e0fd348b9a66a92236ad156329c06af117
695
py
Python
exercicios/ex041.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex041.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex041.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
# Classificando Atletas from datetime import date from time import sleep n = str(input('\033[1;30mDigite o seu nome completo: ')).strip().title() a = int(input('Digite o seu ano de nascimento: ')) anoatual = date.today().year i = anoatual - a print('') sleep(1.75) print('ANALISANDO...') sleep(2) print('') print('=-=' *...
25.740741
72
0.638849
108
695
4.111111
0.527778
0.063063
0.101351
0
0
0
0
0
0
0
0
0.110357
0.152518
695
26
73
26.730769
0.643464
0.030216
0
0.08
0
0
0.409226
0
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0.48
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
178374b80192e344de3181d10c48f542eee0cc58
1,828
py
Python
export_name_list.py
brandyn-gilbert/DAT-281-CAPSTONE
d86dd62eab164e6845dee63954cacc0324a449bc
[ "MIT" ]
null
null
null
export_name_list.py
brandyn-gilbert/DAT-281-CAPSTONE
d86dd62eab164e6845dee63954cacc0324a449bc
[ "MIT" ]
null
null
null
export_name_list.py
brandyn-gilbert/DAT-281-CAPSTONE
d86dd62eab164e6845dee63954cacc0324a449bc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Apr 12, 2021 Developed for UIF to more easily handle the growing number of alumni they have, and to track interactions with said alumni. Final Project for CCAC DAT-281 @author: BKG """ import os import sqlite3 from sqlite3 import Error import pandas as pd def main(locat...
24.702703
83
0.609409
230
1,828
4.695652
0.530435
0.02963
0.018519
0.02963
0.064815
0.064815
0.064815
0
0
0
0
0.010895
0.297046
1,828
73
84
25.041096
0.829572
0.379103
0
0
0
0
0.372249
0.021053
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.21875
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
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
1786459a46918397c8fdf54d4d007c6b15470cab
2,537
py
Python
base_app/treasurehunt/models.py
aadityajo/ecell-oth-django
8006cb0793bfdf084b78df5514852665adba5588
[ "MIT" ]
1
2021-07-07T19:44:49.000Z
2021-07-07T19:44:49.000Z
base_app/treasurehunt/models.py
aadityajo/ecell-oth-django
8006cb0793bfdf084b78df5514852665adba5588
[ "MIT" ]
null
null
null
base_app/treasurehunt/models.py
aadityajo/ecell-oth-django
8006cb0793bfdf084b78df5514852665adba5588
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.models import BaseUserManager from django import forms from django.core import validators from datetime import date # Create your models here. class Us...
28.505618
71
0.698069
314
2,537
5.522293
0.366242
0.034602
0.027682
0.036332
0.196078
0.128604
0.033449
0
0
0
0
0.007035
0.215609
2,537
89
72
28.505618
0.864322
0.171068
0
0.27451
0
0
0.019836
0
0
0
0
0
0
1
0.156863
false
0.078431
0.137255
0.078431
0.803922
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
178891f94229c492f6f9626a23fde3974ba0c8f5
2,071
py
Python
old/Graph.py
csdevto/tradingbot
b024236f0d2801380e7f86aa1660c44060728eb1
[ "MIT" ]
null
null
null
old/Graph.py
csdevto/tradingbot
b024236f0d2801380e7f86aa1660c44060728eb1
[ "MIT" ]
null
null
null
old/Graph.py
csdevto/tradingbot
b024236f0d2801380e7f86aa1660c44060728eb1
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt #Data Source import yfinance as yf import time, datetime, math from datetime import datetime import sqlite3 #Interval required 5 minutes con = sqlite3.connect("DB/stocks.db") #con.row_factory = sqlite3.Row stock = 'UBER' data = pd.read_sql_query("...
31.861538
172
0.652342
320
2,071
4.1875
0.378125
0.080597
0.058209
0.053731
0.250746
0.214925
0.146269
0.104478
0
0
0
0.050434
0.109609
2,071
64
173
32.359375
0.676247
0.139546
0
0.064516
0
0
0.222464
0
0
0
0
0
0
1
0
false
0
0.225806
0
0.225806
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
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
1788e3eb4a66dc8651ec9cedf05fde603a74872c
107
py
Python
enthought/block_canvas/class_tools/search_package.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/block_canvas/class_tools/search_package.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/block_canvas/class_tools/search_package.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from blockcanvas.class_tools.search_package import *
26.75
52
0.859813
14
107
6.071429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.102804
107
3
53
35.666667
0.885417
0.11215
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
178b7dd958ef0de71b66b15ae19e8ed148d5bb53
216
py
Python
meridian/acupoints/yuji24.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
5
2015-12-14T15:14:23.000Z
2022-02-09T10:15:33.000Z
meridian/acupoints/yuji24.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
null
null
null
meridian/acupoints/yuji24.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
3
2015-11-27T05:23:49.000Z
2020-11-28T09:01:56.000Z
#!/usr/bin/python #coding=utf-8 ''' @author: sheng @license: ''' SPELL=u'yújì' CN=u'鱼际' NAME=u'yuji24' CHANNEL='lung' CHANNEL_FULLNAME='LungChannelofHand-Taiyin' SEQ='LU10' if __name__ == '__main__': pass
10.285714
43
0.671296
30
216
4.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0.026738
0.134259
216
20
44
10.8
0.700535
0.25
0
0
0
0
0.339869
0.156863
0
0
0
0
0
1
0
false
0.125
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
178b8f7b8817c326e1125ab56cb91128e6dfcebb
6,044
py
Python
stable_baselines_model_based_rl/sampler/gym_sampler.py
micheltokic/stable_baselines_model_based_rl
75bac906aeba69072878ceb15d9be459b1f436c3
[ "Apache-2.0" ]
1
2022-01-08T17:08:13.000Z
2022-01-08T17:08:13.000Z
stable_baselines_model_based_rl/sampler/gym_sampler.py
micheltokic/stable_baselines_model_based_rl
75bac906aeba69072878ceb15d9be459b1f436c3
[ "Apache-2.0" ]
5
2021-09-15T18:14:48.000Z
2021-09-19T16:17:51.000Z
stable_baselines_model_based_rl/sampler/gym_sampler.py
micheltokic/stable_baselines_model_based_rl
75bac906aeba69072878ceb15d9be459b1f436c3
[ "Apache-2.0" ]
null
null
null
import csv import datetime import os import gym from gym.spaces import space from gym.spaces.box import Box from gym.spaces.discrete import Discrete from gym.spaces.multi_discrete import MultiDiscrete from definitions import ROOT_DIR from stable_baselines_model_based_rl.utils.configuration import Configuration from s...
43.797101
99
0.695069
814
6,044
4.891892
0.237101
0.056253
0.040683
0.035158
0.276745
0.200402
0.180563
0.118533
0.024108
0.024108
0
0.006325
0.215255
6,044
137
100
44.116788
0.833228
0.209464
0
0
0
0
0.138616
0.093336
0
0
0
0.007299
0
1
0.04878
false
0
0.146341
0
0.219512
0.036585
0
0
0
null
0
0
0
0
0
0
0
0
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
178e643cf3d9baf1cd9e7a3ac1ac162854128b03
3,590
py
Python
sktime/transformations/panel/tests/test_shapelet_transform.py
Rubiel1/sktime
2fd2290fb438224f11ddf202148917eaf9b73a87
[ "BSD-3-Clause" ]
1
2021-12-22T02:45:39.000Z
2021-12-22T02:45:39.000Z
sktime/transformations/panel/tests/test_shapelet_transform.py
Rubiel1/sktime
2fd2290fb438224f11ddf202148917eaf9b73a87
[ "BSD-3-Clause" ]
null
null
null
sktime/transformations/panel/tests/test_shapelet_transform.py
Rubiel1/sktime
2fd2290fb438224f11ddf202148917eaf9b73a87
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ShapeletTransform test code.""" import numpy as np from numpy import testing from sktime.datasets import load_basic_motions, load_unit_test from sktime.transformations.panel.shapelet_transform import RandomShapeletTransform def test_st_on_unit_test(): """Test of ShapeletTransform on un...
28.267717
83
0.593593
334
3,590
6.197605
0.353293
0.04058
0.023188
0.03285
0.321739
0.3
0.258937
0.258937
0.258937
0.258937
0
0.392504
0.323677
3,590
126
84
28.492063
0.460049
0.087744
0
0.171429
0
0
0.003074
0
0
0
0
0
0.019048
1
0.019048
false
0
0.038095
0
0.057143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
178f229ede5ac1bd538446aa4396921d04e3540f
2,830
py
Python
geom.py
suke-blog/ogr2osm
294a9f3205ad976f7884eeb0abc7bcb4ef5412df
[ "MIT" ]
null
null
null
geom.py
suke-blog/ogr2osm
294a9f3205ad976f7884eeb0abc7bcb4ef5412df
[ "MIT" ]
null
null
null
geom.py
suke-blog/ogr2osm
294a9f3205ad976f7884eeb0abc7bcb4ef5412df
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2012-2013 Paul Norman # <penorman@mac.com> # Released under the MIT license: http://opensource.org/licenses/mit-license.php # Classes class Geometry(object): elementIdCounter = 0 elementIdCounterIncr = -1 geometries = [] def __init__(self): #self.id = g...
30.106383
80
0.613428
318
2,830
5.358491
0.245283
0.037559
0.032277
0.06162
0.44777
0.401995
0.334507
0.160798
0.138498
0.138498
0
0.006866
0.279505
2,830
93
81
30.430108
0.828838
0.115901
0
0.434211
0
0
0
0
0
0
0
0
0
1
0.210526
false
0.026316
0
0
0.460526
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
178f58c78858a2df3826b89f9dc2650177ddffc7
10,302
py
Python
appCore/apps/replica/api/views/pulse.py
jadedgamer/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
4
2017-04-22T11:03:01.000Z
2018-01-16T22:28:15.000Z
appCore/apps/replica/api/views/pulse.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
10
2017-04-06T19:54:42.000Z
2017-11-07T06:53:10.000Z
appCore/apps/replica/api/views/pulse.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
1
2017-12-14T12:49:40.000Z
2017-12-14T12:49:40.000Z
import hashlib from rest_framework import generics, permissions, mixins, status from rest_framework.permissions import IsAuthenticated from rest_framework.authentication import * from rest_framework.views import APIView from rest_framework.response import Response from django.shortcuts import render_to_response, rend...
35.770833
96
0.66259
1,051
10,302
6.331113
0.165557
0.067779
0.038323
0.028554
0.535167
0.504659
0.439435
0.406973
0.384881
0.36835
0
0.001655
0.237527
10,302
287
97
35.89547
0.845449
0.007474
0
0.414226
0
0
0.04768
0.005091
0
0
0
0
0
1
0.07113
false
0.004184
0.07113
0.004184
0.518828
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
179047197bf91d3e14c6131b31ca97cf1748cbbb
1,238
py
Python
palaverapi/decorators.py
cocodelabs/api.palaverapp.com
cb517a2cd1dea12fadf4f72147fecf0105cbd717
[ "BSD-3-Clause" ]
3
2016-07-03T21:19:18.000Z
2021-07-10T18:32:16.000Z
palaverapi/decorators.py
cocodelabs/api.palaverapp.com
cb517a2cd1dea12fadf4f72147fecf0105cbd717
[ "BSD-3-Clause" ]
66
2015-03-27T21:52:11.000Z
2021-09-06T17:56:59.000Z
palaverapi/decorators.py
cocodelabs/api.palaverapp.com
cb517a2cd1dea12fadf4f72147fecf0105cbd717
[ "BSD-3-Clause" ]
1
2021-07-28T19:45:31.000Z
2021-07-28T19:45:31.000Z
import json from functools import wraps from typing import Callable from urllib.parse import parse_qsl from rivr.http import Request, Response from palaverapi.responses import ProblemResponse def requires_body(func: Callable[..., Response]): @wraps(func) def wrapper(self, request: Request, *args, **kwargs) ...
34.388889
73
0.588853
131
1,238
5.503817
0.458015
0.076283
0.047157
0.055479
0.127601
0
0
0
0
0
0
0.010526
0.30937
1,238
35
74
35.371429
0.832749
0
0
0.074074
0
0
0.082391
0.026656
0
0
0
0
0
1
0.074074
false
0
0.222222
0
0.481481
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
1790c8c518d20fe2e7697039e44e0d23b4a62c91
9,489
py
Python
cli/medperf/utils.py
johnugeorge/medperf
5bc3f643064df14e9476bd4d4c1a4c0cce5337d5
[ "Apache-2.0" ]
1
2021-09-24T18:09:53.000Z
2021-09-24T18:09:53.000Z
cli/medperf/utils.py
johnugeorge/medperf
5bc3f643064df14e9476bd4d4c1a4c0cce5337d5
[ "Apache-2.0" ]
2
2021-09-27T16:14:04.000Z
2021-11-03T14:24:54.000Z
cli/medperf/utils.py
johnugeorge/medperf
5bc3f643064df14e9476bd4d4c1a4c0cce5337d5
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from pexpect import spawn import logging from typing import List, Tuple from datetime import datetime import hashlib import os from shutil import rmtree import tarfile import yaml from pathlib import Path from colorama import Fore, Style import re import medperf.config as config from...
30.316294
89
0.644957
1,310
9,489
4.543511
0.238168
0.016129
0.034274
0.014113
0.123656
0.044187
0.030578
0.02453
0.02453
0
0
0.005355
0.252187
9,489
312
90
30.413462
0.833427
0.252503
0
0.045198
0
0
0.108885
0.011345
0
0
0
0
0
1
0.101695
false
0
0.084746
0
0.254237
0.039548
0
0
0
null
0
0
0
0
0
0
0
0
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
1791323b17a576d78ae9d6ff260342ba69a97bc9
919
py
Python
tests/test_half_wildcard.py
oqwa/gwh
9399a9b0fd5815e81d68a4d52215c273f9c0d49b
[ "MIT" ]
null
null
null
tests/test_half_wildcard.py
oqwa/gwh
9399a9b0fd5815e81d68a4d52215c273f9c0d49b
[ "MIT" ]
null
null
null
tests/test_half_wildcard.py
oqwa/gwh
9399a9b0fd5815e81d68a4d52215c273f9c0d49b
[ "MIT" ]
null
null
null
from gwh import * from tests.utils import * app = GitWebhook() app.add_handler(lambda: None, repository=KNOWN_REPO) app.add_handler(lambda: None, type=KNOWN_TYPE) def test_bitbucket(): check_bitbucket_webhook(app, KNOWN_TYPE, KNOWN_REPO, "master", hit_expected=True) check_bitbucket_webhook(app, UNKNOWN_T...
43.761905
90
0.771491
127
919
5.220472
0.212598
0.120664
0.156863
0.253394
0.838612
0.769231
0.731523
0.731523
0.731523
0.731523
0
0
0.124048
919
20
91
45.95
0.823602
0
0
0
0
0
0.052231
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
1
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
7
17935aaebc6842fbcfb1d8f850ae573d75c68bf6
1,873
py
Python
analytics_pipeline-master/log_generator.py
danielvdao/etl_ideas
18062c92e6441eae5b316e9cc8f0f2d085636a42
[ "MIT" ]
null
null
null
analytics_pipeline-master/log_generator.py
danielvdao/etl_ideas
18062c92e6441eae5b316e9cc8f0f2d085636a42
[ "MIT" ]
1
2017-10-17T02:58:33.000Z
2017-10-17T02:58:33.000Z
analytics_pipeline-master/log_generator.py
danielvdao/etl_ideas
18062c92e6441eae5b316e9cc8f0f2d085636a42
[ "MIT" ]
null
null
null
from faker import Faker from datetime import datetime import random import time LINE = """\ {remote_addr} - - [{time_local} +0000] "{request_type} {request_path} HTTP/1.1" {status} {body_bytes_sent} "{http_referer}" "{http_user_agent}"\ """ LOG_FILE_A = "log_a.txt" LOG_FILE_B = "log_b.txt" LOG_MAX = 100 def generate...
24.973333
144
0.639616
274
1,873
3.974453
0.266423
0.15427
0.064279
0.089991
0.241506
0.10101
0.049587
0.049587
0
0
0
0.021862
0.242926
1,873
74
145
25.310811
0.746121
0
0
0
0
0.017857
0.110102
0
0
0
0
0
0
1
0.053571
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
17952b6df72029d76f72e43b7c53730bd3ee7420
150
py
Python
vetores_matrizes/exemplo_bb.py
andersonmarques/programacao_2_ufra
94a22559eed817a429309d8da338431416608c0c
[ "MIT" ]
null
null
null
vetores_matrizes/exemplo_bb.py
andersonmarques/programacao_2_ufra
94a22559eed817a429309d8da338431416608c0c
[ "MIT" ]
null
null
null
vetores_matrizes/exemplo_bb.py
andersonmarques/programacao_2_ufra
94a22559eed817a429309d8da338431416608c0c
[ "MIT" ]
null
null
null
import numpy as np valor_aplicado = np.array([5000, 6000, 7000, 8000]) juros = np.array([1, 2, 3, 4]) saida = valor_aplicado * juros print(saida)
15
51
0.68
25
150
4
0.72
0.26
0
0
0
0
0
0
0
0
0
0.16129
0.173333
150
9
52
16.666667
0.645161
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
17952da6143d5a1227f4338f74ceef2025244a03
260
py
Python
pyamg/classical/__init__.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
pyamg/classical/__init__.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
pyamg/classical/__init__.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
"""Classical AMG""" from __future__ import absolute_import from .classical import * from .split import * from .interpolate import * from .cr import * __all__ = [s for s in dir() if not s.startswith('_')] from numpy.testing import Tester test = Tester().test
21.666667
53
0.730769
37
260
4.864865
0.567568
0.222222
0
0
0
0
0
0
0
0
0
0
0.157692
260
11
54
23.636364
0.821918
0.05
0
0
0
0
0.004149
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
17957d92994d6b6b24057eeb1c8fb73bd1d0a786
2,027
py
Python
scripts/visualization/style.py
bo1929/basty
3ef84578e0154509346fdc2c0c56261448d78276
[ "MIT" ]
5
2021-12-10T17:43:52.000Z
2022-03-01T22:19:36.000Z
scripts/visualization/style.py
bo1929/basty
3ef84578e0154509346fdc2c0c56261448d78276
[ "MIT" ]
null
null
null
scripts/visualization/style.py
bo1929/basty
3ef84578e0154509346fdc2c0c56261448d78276
[ "MIT" ]
null
null
null
MAX_LIMIT = 9999 class StyleEmbedding: colorscheme = "tableau20" filled = True sizeDefault = 7 sizeMin = 5 sizeMax = 25 opacityDefault = 0.05 opacityMin = 0.05 opacityMax = 0.5 tickMinStep = 5 def get_embedding_style(): return { "config": { ...
29.808824
78
0.391712
126
2,027
6.214286
0.515873
0.07152
0.043423
0.086845
0.219668
0.219668
0.219668
0
0
0
0
0.053898
0.48742
2,027
67
79
30.253731
0.699711
0.02812
0
0.586207
0
0
0.226857
0
0
0
0
0
0
1
0.034483
false
0
0
0.034483
0.275862
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
179a63e2713ef678248c5a0480244a33d8023a8f
1,955
py
Python
scripts/parse_aggregated_responses.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
56
2018-08-27T15:48:37.000Z
2021-12-25T11:01:23.000Z
scripts/parse_aggregated_responses.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
37
2018-08-16T17:00:21.000Z
2022-02-09T23:55:36.000Z
scripts/parse_aggregated_responses.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
7
2018-10-09T14:48:01.000Z
2020-06-06T12:03:15.000Z
#!/usr/bin/env python # coding: utf8 '''Script to parse aggregated annotation responses into a CSV file of labels. Example ------- $ ./scripts/parse_aggregated_responses.py \ "path/to/dir/*.csv" \ openmic-2018-aggregated-labels.csv ''' from __future__ import print_function import argparse import glob import ...
29.621212
88
0.703325
270
1,955
4.866667
0.444444
0.063927
0.028919
0.030441
0.074581
0
0
0
0
0
0
0.009265
0.171867
1,955
65
89
30.076923
0.802347
0.117647
0
0
0
0
0.188668
0.041472
0
0
0
0
0
1
0.078947
false
0
0.184211
0
0.342105
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
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
179adee8737327e1461212148f441c448d335da8
5,303
py
Python
tests/test_looseserver/client/test_abstract_client.py
KillAChicken/loose-server
082402f1fec94faea20343142b0c306dc5f86026
[ "MIT" ]
3
2019-04-21T13:10:34.000Z
2019-10-08T05:20:04.000Z
tests/test_looseserver/client/test_abstract_client.py
KillAChicken/loose-server
082402f1fec94faea20343142b0c306dc5f86026
[ "MIT" ]
null
null
null
tests/test_looseserver/client/test_abstract_client.py
KillAChicken/loose-server
082402f1fec94faea20343142b0c306dc5f86026
[ "MIT" ]
null
null
null
"""Test cases for abstract looseserver client.""" import uuid from urllib.parse import urljoin from looseserver.client.abstract import AbstractClient def test_create_rule(client_rule_factory, client_response_factory, registered_rule): """Check request data that client uses to create a rule. 1. Create a sub...
36.321918
100
0.686027
671
5,303
5.169896
0.128167
0.039781
0.049005
0.080715
0.712886
0.688095
0.688095
0.631306
0.602191
0.567599
0
0.006109
0.228361
5,303
145
101
36.572414
0.841642
0.215727
0
0.52439
0
0
0.084948
0
0
0
0
0
0.195122
1
0.134146
false
0.012195
0.036585
0
0.280488
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
179ae6f54ba09f051bfa483edda5d5eea6d22097
5,683
py
Python
mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/tests/functional/api/test_merge_requests.py
giuseppe-zappia/sagemaker-custom-project-templates
a160cf250dcabf8a9a14682e28d0a39df18e3a5c
[ "MIT-0" ]
22
2021-08-24T13:43:55.000Z
2022-03-25T06:18:19.000Z
mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/tests/functional/api/test_merge_requests.py
giuseppe-zappia/sagemaker-custom-project-templates
a160cf250dcabf8a9a14682e28d0a39df18e3a5c
[ "MIT-0" ]
3
2021-09-09T00:40:56.000Z
2022-01-26T10:53:30.000Z
mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/tests/functional/api/test_merge_requests.py
giuseppe-zappia/sagemaker-custom-project-templates
a160cf250dcabf8a9a14682e28d0a39df18e3a5c
[ "MIT-0" ]
15
2021-08-19T23:53:24.000Z
2022-03-28T22:26:04.000Z
import time import pytest import gitlab import gitlab.v4.objects def test_merge_requests(project): project.files.create( { "file_path": "README.rst", "branch": "master", "content": "Initial content", "commit_message": "Initial commit", } ) ...
28.70202
86
0.682562
730
5,683
5.120548
0.217808
0.077047
0.035313
0.050829
0.498395
0.407437
0.324505
0.23114
0.23114
0.204922
0
0.012531
0.21362
5,683
197
87
28.847716
0.823898
0.115256
0
0.419847
0
0
0.139731
0.004417
0
0
0
0
0.129771
1
0.083969
false
0
0.030534
0
0.114504
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
179d043db725bce8f3b6948c83cd4e08552dd537
687
py
Python
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2022-01-08T12:30:44.000Z
2022-01-08T12:30:44.000Z
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2021-04-26T22:41:56.000Z
2021-04-26T22:41:56.000Z
import numpy as np nd1 = np.array([[1, 2], [3, 4]]) # reshape nd1.reshape(4) nd1.reshape(2, 2) nd1.reshape((2, 2)) nd1.reshape((2, 2), order="C") nd1.reshape(4, order="C") # resize nd1.resize() nd1.resize(4) nd1.resize(2, 2) nd1.resize((2, 2)) nd1.resize((2, 2), refcheck=True) nd1.resize(4, refc...
14.3125
34
0.576419
114
687
3.473684
0.219298
0.030303
0.080808
0.090909
0.229798
0.229798
0.174242
0.174242
0
0
0
0.113924
0.195051
687
47
35
14.617021
0.60217
0.080058
0
0
0
0
0.006932
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
179d9ebc77da5b1737344a934257dda6f2f13fc3
3,128
py
Python
survae/nn/layers/autoregressive/utils.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
262
2020-07-05T20:57:44.000Z
2022-03-28T02:24:43.000Z
survae/nn/layers/autoregressive/utils.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
17
2020-08-15T05:43:34.000Z
2022-01-31T12:24:21.000Z
survae/nn/layers/autoregressive/utils.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
35
2020-08-24T06:55:37.000Z
2022-02-11T05:17:58.000Z
import torch def mask_conv2d_spatial(mask_type, height, width): """ Creates a mask for Conv2d such that it becomes autoregressive in the spatial dimensions. Input: mask_type: str Either 'A' or 'B'. 'A' for first layer of network, 'B' for all others. height: int ...
34
108
0.611573
434
3,128
4.276498
0.177419
0.053879
0.054957
0.061422
0.726293
0.688039
0.634159
0.578125
0.578125
0.559267
0
0.019964
0.295396
3,128
91
109
34.373626
0.822142
0.563619
0
0.2
0
0
0.001747
0
0
0
0
0
0
1
0.12
false
0
0.04
0
0.28
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
17a08dd6f2f3775ec7b362537d3a435fcbde0fb3
2,130
py
Python
powerberry-app/src/services/config.py
Steckdoose4711/powerberry
15c722ff66f0db5c00ddfb71ccc2c75d69b78d39
[ "MIT" ]
null
null
null
powerberry-app/src/services/config.py
Steckdoose4711/powerberry
15c722ff66f0db5c00ddfb71ccc2c75d69b78d39
[ "MIT" ]
20
2022-03-11T19:44:31.000Z
2022-03-21T19:13:46.000Z
powerberry-app/src/services/config.py
Steckdoose4711/powerberry
15c722ff66f0db5c00ddfb71ccc2c75d69b78d39
[ "MIT" ]
null
null
null
import json import os import pathlib import sys from loguru import logger as log class Config: """Retrieves configuration from environment variables or files or fails fast otherwise""" def __init__(self): self.keys = {} # read configuration file first self.from_env("CONFIG_PATH", ca...
33.28125
93
0.622066
280
2,130
4.567857
0.325
0.037529
0.025801
0.032838
0.300235
0.156372
0.123534
0.123534
0.068804
0.068804
0
0.007712
0.269484
2,130
63
94
33.809524
0.814267
0.106103
0
0.088889
0
0
0.153887
0.011105
0
0
0
0
0.022222
1
0.133333
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
17a28a397f9005910dd939fda6263ae0e3d223e7
1,256
py
Python
tests/unit/operator/test_operator_utils.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
19
2021-12-12T13:27:54.000Z
2022-03-26T13:21:08.000Z
tests/unit/operator/test_operator_utils.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
22
2021-12-09T17:37:15.000Z
2022-03-15T20:47:43.000Z
tests/unit/operator/test_operator_utils.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
7
2021-12-13T06:48:04.000Z
2022-03-01T17:21:13.000Z
import os from pathlib import Path from types import SimpleNamespace import pytest import bentoctl.operator.utils as operator_utils # import bentoctl.operator.utils.git # from bentoctl.operator import utils as operator_utils def test_get_bentoctl_home(tmp_path): os.environ["BENTOCTL_HOME"] = str(tmp_path) ...
27.911111
81
0.735669
170
1,256
5.105882
0.282353
0.104839
0.034562
0.062212
0.152074
0.087558
0.087558
0.087558
0.087558
0
0
0
0.163217
1,256
44
82
28.545455
0.82588
0.070064
0
0.068966
0
0
0.08927
0
0
0
0
0
0.137931
1
0.206897
false
0
0.172414
0.034483
0.448276
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
17a2dcce962acf6079243f734b05c4cedd810650
3,445
py
Python
test/parser/test_tail_parser.py
BigDataBoutique/bogi
cc247df8d18ef00ebba7986a57fefbb2ad82a1e6
[ "Apache-2.0" ]
null
null
null
test/parser/test_tail_parser.py
BigDataBoutique/bogi
cc247df8d18ef00ebba7986a57fefbb2ad82a1e6
[ "Apache-2.0" ]
null
null
null
test/parser/test_tail_parser.py
BigDataBoutique/bogi
cc247df8d18ef00ebba7986a57fefbb2ad82a1e6
[ "Apache-2.0" ]
null
null
null
import unittest from test.utils import dedent from bogi.parser.tail import TailParser from bogi.parser.tail_transformer import MessageBody, ContentLine, InputFileRef, MultipartField, Header, ResponseHandler, ResponseReference class TailParserTests(unittest.TestCase): def test_content_lines(self): body = ...
31.898148
139
0.576488
325
3,445
5.993846
0.243077
0.036961
0.053388
0.098563
0.525667
0.510267
0.440452
0.402464
0.351129
0.318275
0
0.00639
0.273149
3,445
107
140
32.196262
0.771566
0
0
0.383721
0
0
0.266183
0.035994
0
0
0
0
0.093023
1
0.093023
false
0
0.046512
0
0.151163
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
17a30d472fcfbe0abfef5d81ffe2790797697496
3,830
py
Python
openbox-tmux-pipe-menu.py
pawel-slowik/openbox-tmux-pipe-menu
cda64994a893c76ba1af1eb1de9fe72d1ec79c04
[ "MIT" ]
null
null
null
openbox-tmux-pipe-menu.py
pawel-slowik/openbox-tmux-pipe-menu
cda64994a893c76ba1af1eb1de9fe72d1ec79c04
[ "MIT" ]
null
null
null
openbox-tmux-pipe-menu.py
pawel-slowik/openbox-tmux-pipe-menu
cda64994a893c76ba1af1eb1de9fe72d1ec79c04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import subprocess import re import xml.etree.ElementTree as et import datetime as dt import pipes import os import configparser import sys from typing import Iterable, Optional, Dict class TmuxError(Exception): pass class TmuxCommandError(TmuxError): pass class TmuxParseError(TmuxE...
27.956204
81
0.637859
473
3,830
5.052854
0.350951
0.01046
0.012552
0.021339
0.083682
0.083682
0.060251
0.032636
0
0
0
0.002733
0.23577
3,830
136
82
28.161765
0.813803
0.051175
0
0.15534
0
0.009709
0.135374
0.02509
0
0
0
0
0
1
0.087379
false
0.048544
0.087379
0.009709
0.339806
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
17a347bd5164cd6a7614cc6077d50a8c68cb0c7e
1,109
py
Python
test_lib.py
DrakenWan/deeplearninglibrary
0fb7d76f9220d1479c6ddadc2e6165590ab000eb
[ "Apache-2.0" ]
null
null
null
test_lib.py
DrakenWan/deeplearninglibrary
0fb7d76f9220d1479c6ddadc2e6165590ab000eb
[ "Apache-2.0" ]
null
null
null
test_lib.py
DrakenWan/deeplearninglibrary
0fb7d76f9220d1479c6ddadc2e6165590ab000eb
[ "Apache-2.0" ]
null
null
null
""" Tutorial reference: https://www.kdnuggets.com/2020/09/implementing-deep-learning-library-scratch-python.html Original Library: https://github.com/parmeet/dll_numpy Author: DrakenWan 2020 """ import core as DL import utilities import numpy as np if __name__ == "__main__": batch_size ...
39.607143
113
0.67899
142
1,109
5.105634
0.556338
0.041379
0.041379
0.044138
0
0
0
0
0
0
0
0.036322
0.205591
1,109
28
114
39.607143
0.786606
0.167719
0
0
0
0
0.030787
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
17a5d125164fb471bd39e2c070263178e5c5d91d
13,454
py
Python
spyne/decorator.py
DXist/spyne
f185e44c0cf3c71c99471133a44c17f4a47ab46e
[ "BSD-3-Clause" ]
1
2021-06-07T16:19:41.000Z
2021-06-07T16:19:41.000Z
spyne/decorator.py
lemanyk/spyne
12bea0be357ceebec1cf877270ce240424357c7b
[ "BSD-3-Clause" ]
null
null
null
spyne/decorator.py
lemanyk/spyne
12bea0be357ceebec1cf877270ce240424357c7b
[ "BSD-3-Clause" ]
null
null
null
# # spyne - Copyright (C) Spyne contributors. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This libra...
41.143731
99
0.634235
1,709
13,454
4.7244
0.21065
0.051276
0.028982
0.010528
0.212906
0.139708
0.09512
0.07456
0.07456
0.07456
0
0.002607
0.287127
13,454
326
100
41.269939
0.839224
0.066374
0
0.143678
0
0
0.122444
0.0026
0
0
0
0.003067
0.017241
0
null
null
0.011494
0.063218
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bd587bc3d2baa172c3072e8e32527093a3a9f149
2,547
py
Python
src/routes/dataNetwork.py
spaezsuarez/view-data-app
6482b73eb39048e5dbdf133d4ccf29cc357dcb6f
[ "MIT" ]
1
2021-05-28T17:01:17.000Z
2021-05-28T17:01:17.000Z
src/routes/dataNetwork.py
spaezsuarez/view-data-app
6482b73eb39048e5dbdf133d4ccf29cc357dcb6f
[ "MIT" ]
null
null
null
src/routes/dataNetwork.py
spaezsuarez/view-data-app
6482b73eb39048e5dbdf133d4ccf29cc357dcb6f
[ "MIT" ]
null
null
null
from . import dataRoute from flask import render_template, request from utils import dataManagment import dateutil import datetime @dataRoute.route('/head', methods=['POST']) def create_head(): number = request.form['number'] df = dataManagment.data_frame_head(number) return render_template('data.html', t...
39.796875
82
0.725167
316
2,547
5.693038
0.199367
0.061145
0.070039
0.106726
0.480267
0.45025
0.413563
0.372429
0.372429
0.314619
0
0
0.122104
2,547
64
83
39.796875
0.804562
0.003141
0
0.230769
0
0
0.126872
0.008274
0
0
0
0
0
1
0.153846
false
0
0.096154
0
0.403846
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
bd594ed7d37726ea78538d30996e4d5ae12daca1
144
py
Python
blackjack/cmake/storage/file/__init__.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
1
2017-05-26T00:18:26.000Z
2017-05-26T00:18:26.000Z
blackjack/cmake/storage/file/__init__.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
null
null
null
blackjack/cmake/storage/file/__init__.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
null
null
null
# File Storage related class's from .CacheFile import CacheFile from .ScriptBlock import ScriptBlock from .ToolchainFile import ToolchainFile
24
40
0.833333
18
144
6.722222
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.125
144
5
41
28.8
0.952381
0.194444
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
1
null
null
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
1
0
0
0
1
0
0
0
0
4
bd59fe6a6c4d96a34287a8a86a0f7f63819a3a16
1,177
py
Python
python/phonenumbers/shortdata/region_MY.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
2,424
2015-01-05T05:34:45.000Z
2022-03-28T22:37:53.000Z
python/phonenumbers/shortdata/region_MY.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
166
2015-01-30T23:59:18.000Z
2022-03-14T21:08:42.000Z
python/phonenumbers/shortdata/region_MY.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
345
2015-01-02T00:33:27.000Z
2022-03-26T13:06:57.000Z
"""Auto-generated file, do not edit by hand. MY metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_MY = PhoneMetadata(id='MY', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[1369]\\d{2,4}', possible_length=(3, 4,...
98.083333
358
0.705183
188
1,177
4.239362
0.446809
0.173149
0.218319
0.271016
0.271016
0.183187
0.183187
0.183187
0.183187
0.183187
0
0.152803
0.060323
1,177
11
359
107
0.567812
0.04503
0
0
1
0.111111
0.297853
0.245975
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bd5a208ee269d3bfedf85a940f895d881be68074
1,151
py
Python
Chapter 4/05 - Real-life example - lazily evaluated attributes/lazy_class_attribute.py
moseskim/Expert-Python-Programming-Fourth-Edition
5160f974deb2365597b7be9cc032f24bfa13471a
[ "MIT" ]
null
null
null
Chapter 4/05 - Real-life example - lazily evaluated attributes/lazy_class_attribute.py
moseskim/Expert-Python-Programming-Fourth-Edition
5160f974deb2365597b7be9cc032f24bfa13471a
[ "MIT" ]
null
null
null
Chapter 4/05 - Real-life example - lazily evaluated attributes/lazy_class_attribute.py
moseskim/Expert-Python-Programming-Fourth-Edition
5160f974deb2365597b7be9cc032f24bfa13471a
[ "MIT" ]
null
null
null
import OpenGL.GL as gl from OpenGL.GL import shaders class lazy_class_attribute(object): def __init__(self, function): self.fget = function def __get__(self, obj, cls): value = self.fget(obj or cls) # note: 인스턴스가 아닌 클래스 객체에 저장한다. # 클래스-레벨 또는 인스턴스-레벨 접근과 관계없다. set...
26.767442
77
0.592528
135
1,151
4.844444
0.518519
0.036697
0.055046
0.055046
0
0
0
0
0
0
0
0.017789
0.316247
1,151
42
78
27.404762
0.813215
0.112945
0
0.193548
0
0
0.312315
0
0
0
0
0
0
1
0.096774
false
0
0.064516
0
0.354839
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd5a5f01afeebbef48ab0545bb48413999a63520
6,134
py
Python
main.py
Lulzx/gittools
b4a1a4d7169a10af10079a3903b9108843e97385
[ "MIT" ]
4
2020-10-22T03:58:56.000Z
2021-10-29T20:45:49.000Z
main.py
Lulzx/gittools
b4a1a4d7169a10af10079a3903b9108843e97385
[ "MIT" ]
null
null
null
main.py
Lulzx/gittools
b4a1a4d7169a10af10079a3903b9108843e97385
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging import os import sys import time from itertools import islice from uuid import uuid4 import emojis from github import Github from telegram import InlineKeyboardButton, InlineKeyboardMarkup from telegram import InlineQueryResultArticle, ParseMode from teleg...
31.45641
104
0.630747
745
6,134
5.044295
0.237584
0.022352
0.020756
0.034593
0.37041
0.32677
0.251464
0.234433
0.234433
0.204896
0
0.005352
0.238507
6,134
194
105
31.618557
0.795761
0.053962
0
0.293333
0
0
0.12364
0.013642
0
0
0
0
0
1
0.073333
false
0
0.08
0
0.186667
0.006667
0
0
0
null
0
0
0
0
0
0
0
0
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
bd5a9dc0a73172358dd3bd333a0ffa43e3db9416
440
py
Python
app/app.py
tsmit58/flask-celery-microservice
b961b9b8fdffc11b7b8f7eb8883ec635aabdfb44
[ "MIT" ]
41
2021-03-10T15:35:19.000Z
2022-03-03T20:04:52.000Z
app/app.py
tsmit58/flask-celery-microservice
b961b9b8fdffc11b7b8f7eb8883ec635aabdfb44
[ "MIT" ]
1
2021-08-09T13:22:21.000Z
2021-08-10T08:36:39.000Z
app/app.py
tsmit58/flask-celery-microservice
b961b9b8fdffc11b7b8f7eb8883ec635aabdfb44
[ "MIT" ]
16
2021-03-28T23:36:22.000Z
2022-03-31T01:55:00.000Z
from flask import Flask from celery import Celery import os app = Flask(__name__) app.config['CELERY_BROKER_URL'] = os.getenv("CELERY_BROKER_URL") app.config['RESULT_BACKEND'] = os.getenv("CELERY_RESULT_BACKEND") app.config['SECRET_KEY'] = os.getenv("SECRET_KEY") celery = Celery(app.import_name, backe...
31.428571
65
0.725
61
440
4.95082
0.278689
0.178808
0.149007
0.139073
0.15894
0
0
0
0
0
0
0
0.140909
440
13
66
33.846154
0.798942
0
0
0
0
0
0.272727
0.047727
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bd5b5440ec10bb3d894d2f6fb7dcd6426ce92c37
4,132
py
Python
SnakeGame.py
captainpolar/snakegame
018638875309f0b17a6dbbd5c3ff4f536058b844
[ "MIT" ]
1
2021-03-29T17:15:09.000Z
2021-03-29T17:15:09.000Z
SnakeGame.py
captainpolar/snakegame
018638875309f0b17a6dbbd5c3ff4f536058b844
[ "MIT" ]
null
null
null
SnakeGame.py
captainpolar/snakegame
018638875309f0b17a6dbbd5c3ff4f536058b844
[ "MIT" ]
null
null
null
import pygame import random pygame.init() white = (255, 255, 255) black = (0, 0, 0) yellow = (255, 255, 102) red = (250, 0, 0) # Other nice red color: 213, 50, 80 green = (152, 251, 152) blue = (30, 144, 255) # other nice combo: 50, 151, 213 dis_width = 800 dis_height = 600 dis = pygame.display.set...
29.304965
104
0.526864
519
4,132
4.021195
0.235067
0.071874
0.053666
0.057499
0.444178
0.390513
0.336847
0.276473
0.276473
0.276473
0
0.056967
0.371249
4,132
140
105
29.514286
0.746343
0.090997
0
0.276596
0
0
0.02418
0
0
0
0
0
0
1
0.042553
false
0
0.021277
0
0.06383
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
bd5c8afbbd833cee9c288bc0007055dc079f69d8
3,335
py
Python
MpSA-TRIP/BarcodeGenomeLibMain.py
wiw/pyMPFA
a72aa196859031b2194fb51f204a1ab938193aaa
[ "Unlicense" ]
null
null
null
MpSA-TRIP/BarcodeGenomeLibMain.py
wiw/pyMPFA
a72aa196859031b2194fb51f204a1ab938193aaa
[ "Unlicense" ]
null
null
null
MpSA-TRIP/BarcodeGenomeLibMain.py
wiw/pyMPFA
a72aa196859031b2194fb51f204a1ab938193aaa
[ "Unlicense" ]
null
null
null
#C:\Python27\python.exe #!/usr/bin/env python # encoding: utf-8 import os # import subprocess import SupportFunc as supp import ReadIndexesFunc as rind import CollectBcMutFunc as colb import WriteFunc as wrt import param import picks from TripMain_0_2 import Pdump def main(): supp.setup_logging() for name in ...
60.636364
261
0.661469
401
3,335
5.418953
0.366584
0.044179
0.041417
0.055223
0.198343
0.146802
0.059365
0.043258
0.043258
0.043258
0
0.004459
0.193103
3,335
55
262
60.636364
0.803047
0.297151
0
0
0
0
0.166309
0.031801
0
0
0
0
0
1
0.029412
false
0
0.235294
0
0.264706
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
bd5ce6155a750a874aeaeebfe810ee41acfd3156
589
py
Python
udb_py/udb_storage.py
akaterra/udb.py
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
[ "MIT" ]
2
2020-01-04T12:04:58.000Z
2020-02-15T16:32:12.000Z
udb_py/udb_storage.py
akaterra/udb.py
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
[ "MIT" ]
null
null
null
udb_py/udb_storage.py
akaterra/udb.py
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
[ "MIT" ]
null
null
null
class UdbStorage(object): def is_available(self): raise NotImplementedError def is_capture_events(self): return False def drop(self): raise NotImplementedError def load(self): raise NotImplementedError def save(self, indexes, revision, data): raise NotImpl...
21.035714
45
0.650255
66
589
5.69697
0.409091
0.319149
0.359043
0.24734
0
0
0
0
0
0
0
0
0.280136
589
27
46
21.814815
0.886792
0
0
0.421053
0
0
0
0
0
0
0
0
0
1
0.473684
false
0
0
0.210526
0.736842
0
0
0
0
null
1
1
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
1
0
0
0
1
1
0
0
6
bd5d9ea17d4a9ae541c6e6916ed6741c75882ac1
12,036
py
Python
polyart/_input.py
IsaacTFM/pygrr-polyart
7a8219cd93b5691ddca89b4fb46a4af7bc1e3456
[ "Apache-2.0" ]
4
2021-11-21T18:35:54.000Z
2021-12-14T02:02:37.000Z
polyart/_input.py
IsaacTFM/pygrr-polyart
7a8219cd93b5691ddca89b4fb46a4af7bc1e3456
[ "Apache-2.0" ]
3
2021-11-21T18:37:56.000Z
2021-11-21T19:15:21.000Z
polyart/_input.py
IsaacTFM/pygrr-polyart
7a8219cd93b5691ddca89b4fb46a4af7bc1e3456
[ "Apache-2.0" ]
1
2021-11-21T18:39:52.000Z
2021-11-21T18:39:52.000Z
""" This file handles the input of PolyArt. """ # if this is the origin file (not imported) if __name__ == "__main__": # print the documentation print(__doc__) # add sysmessages module location to path from sys import path path.append('..') # run sysmessages import common.sysmessages # im...
27.990698
149
0.534064
1,456
12,036
4.337912
0.141484
0.056998
0.078531
0.040374
0.59943
0.522324
0.456935
0.456935
0.447435
0.433819
0
0.015282
0.325856
12,036
429
150
28.055944
0.763125
0.359172
0
0.522843
0
0
0.021991
0
0
0
0
0
0
1
0.060914
false
0.045685
0.020305
0
0.126904
0.005076
0
0
0
null
0
0
0
0
0
0
0
0
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
bd5f550b799363cf152de68256f97f876bf2f1f2
1,486
py
Python
biodada/alphabets.py
simomarsili/biodada
642fb440d8a66a0413deb69c8623ea3b61d41678
[ "BSD-3-Clause" ]
null
null
null
biodada/alphabets.py
simomarsili/biodada
642fb440d8a66a0413deb69c8623ea3b61d41678
[ "BSD-3-Clause" ]
null
null
null
biodada/alphabets.py
simomarsili/biodada
642fb440d8a66a0413deb69c8623ea3b61d41678
[ "BSD-3-Clause" ]
null
null
null
"""Alphabet-related methods.""" import logging import numpy ALPHABETS = { 'protein': '-ACDEFGHIKLMNPQRSTVWY', 'dna': '-ACGT', 'rna': '-ACGU', 'protein_u': '-ACDEFGHIKLMNPQRSTVWYBZX', 'dna_u': '-ACGTRYMKWSBDHVN', 'rna_u': '-ACGURYMKWSBDHVN', } logger = logging.getLogger(__name__) def check_al...
28.576923
78
0.647376
179
1,486
5.273743
0.413408
0.067797
0.033898
0.057203
0
0
0
0
0
0
0
0.003445
0.218708
1,486
51
79
29.137255
0.809647
0.126514
0
0
0
0
0.129209
0.035239
0
0
0
0
0
1
0.111111
false
0
0.138889
0.027778
0.361111
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
bd62a6bcee335bdbb5aaa3e5bf955b75d241b748
1,813
py
Python
server/app.py
osteele/tidal-memories
afcd3c8900814577374bfd847ba05c12ca88f397
[ "MIT" ]
1
2018-07-24T20:19:52.000Z
2018-07-24T20:19:52.000Z
server/app.py
osteele/tidal-memories
afcd3c8900814577374bfd847ba05c12ca88f397
[ "MIT" ]
2
2021-03-09T09:59:44.000Z
2021-05-09T17:29:22.000Z
server/app.py
osteele/tidal-memories
afcd3c8900814577374bfd847ba05c12ca88f397
[ "MIT" ]
null
null
null
import os import gevent import redis from flask import Flask, render_template, send_from_directory from flask_cors import CORS from flask_restplus import Api from flask_sockets import Sockets from geventwebsocket.exceptions import WebSocketError from .image_resource import api as images_api from .thumbnails import SM...
26.661765
77
0.629344
219
1,813
5.013699
0.342466
0.03643
0.043716
0.034608
0.045537
0
0
0
0
0
0
0.001499
0.264203
1,813
67
78
27.059701
0.821589
0.040816
0
0.042553
0
0
0.106567
0.022465
0
0
0
0
0
1
0.106383
false
0
0.212766
0.042553
0.382979
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
bd63313f347912b5d918aa4c501b628907905f8a
3,045
py
Python
batch_rl/multi_head/atari_helpers.py
alhamzah/batch_rl
7f8d9ea0ba330cc0642515dcc44c2ad687c3a927
[ "Apache-2.0" ]
null
null
null
batch_rl/multi_head/atari_helpers.py
alhamzah/batch_rl
7f8d9ea0ba330cc0642515dcc44c2ad687c3a927
[ "Apache-2.0" ]
null
null
null
batch_rl/multi_head/atari_helpers.py
alhamzah/batch_rl
7f8d9ea0ba330cc0642515dcc44c2ad687c3a927
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 The Google Research 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 applicab...
40.6
80
0.674877
435
3,045
4.597701
0.413793
0.0385
0.039
0.052
0.1095
0.0675
0.0675
0.0675
0
0
0
0.019815
0.221018
3,045
74
81
41.148649
0.823356
0.430213
0
0.085714
0
0
0.037304
0.013839
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.171429
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
bd63927a981ce679de4270308c480c8f49ea21fc
2,358
py
Python
data/gary/heart.py
isabellewei/deephealth
a226788561996e698b5f52b4b83683dcb3563ea5
[ "MIT" ]
null
null
null
data/gary/heart.py
isabellewei/deephealth
a226788561996e698b5f52b4b83683dcb3563ea5
[ "MIT" ]
null
null
null
data/gary/heart.py
isabellewei/deephealth
a226788561996e698b5f52b4b83683dcb3563ea5
[ "MIT" ]
null
null
null
from time import time from sklearn.preprocessing import StandardScaler from sklearn import model_selection from sklearn.model_selection import train_test_split, KFold, cross_val_score from sklearn.metrics import classification_report,confusion_matrix,accuracy_score from sklearn.tree import DecisionTreeClassifier ...
34.173913
109
0.787956
339
2,358
5.250737
0.315634
0.036517
0.076404
0.02809
0.329213
0.307865
0.247191
0.223596
0.2
0.2
0
0.027936
0.104326
2,358
68
110
34.676471
0.814867
0
0
0.150943
0
0
0.017935
0
0
0
0
0
0
1
0
false
0
0.245283
0
0.245283
0.226415
0
0
0
null
0
0
0
0
0
0
0
0
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
bd65948e949b532e6c9472a99e61a788ccedd640
870
py
Python
third_party/infra_libs/ts_mon/common/test/stubs.py
sglass68/chromite
fa56d880e5970e63b8372895c5d43fe6edd8324a
[ "BSD-3-Clause" ]
null
null
null
third_party/infra_libs/ts_mon/common/test/stubs.py
sglass68/chromite
fa56d880e5970e63b8372895c5d43fe6edd8324a
[ "BSD-3-Clause" ]
null
null
null
third_party/infra_libs/ts_mon/common/test/stubs.py
sglass68/chromite
fa56d880e5970e63b8372895c5d43fe6edd8324a
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import mock from infra_libs.ts_mon.common import interface from infra_libs.ts_mon.common import metric_store from infra_libs.ts_mon.common import monitors f...
26.363636
72
0.754023
128
870
4.960938
0.492188
0.056693
0.08189
0.094488
0.289764
0.289764
0.188976
0
0
0
0
0.005563
0.173563
870
32
73
27.1875
0.877608
0.236782
0
0
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.263158
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
bd664ca13e3a2c2338580dff837587436ec24e4f
3,925
py
Python
fitsmap/utils.py
ryanhausen/fitsmap
07c1fcd44e2d2efed24607f3e866611a1be395d8
[ "MIT" ]
19
2021-06-24T13:57:59.000Z
2022-02-02T04:45:23.000Z
fitsmap/utils.py
ryanhausen/fitsmap
07c1fcd44e2d2efed24607f3e866611a1be395d8
[ "MIT" ]
38
2019-12-17T18:21:43.000Z
2022-03-12T00:16:38.000Z
fitsmap/utils.py
ryanhausen/fitsmap
07c1fcd44e2d2efed24607f3e866611a1be395d8
[ "MIT" ]
1
2021-06-24T10:53:15.000Z
2021-06-24T10:53:15.000Z
# MIT License # Copyright 2021 Ryan Hausen and contributers # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # use, copy, modif...
28.035714
87
0.654777
569
3,925
4.400703
0.376098
0.032348
0.026358
0.028754
0.119808
0.104633
0.104633
0.104633
0.079073
0.079073
0
0.009447
0.244841
3,925
139
88
28.23741
0.835358
0.423185
0
0.028986
0
0
0.052315
0
0
0
0
0
0
1
0.115942
false
0
0.130435
0
0.478261
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
bd66ac3284bd0acf65bf00b9b9956f03b31e1d35
5,819
py
Python
bibterm2dict/tresemo.py
madskinner/bibterm2dict
93039125fb4eaf5640bf4c91d676607dd98bb974
[ "MIT" ]
null
null
null
bibterm2dict/tresemo.py
madskinner/bibterm2dict
93039125fb4eaf5640bf4c91d676607dd98bb974
[ "MIT" ]
null
null
null
bibterm2dict/tresemo.py
madskinner/bibterm2dict
93039125fb4eaf5640bf4c91d676607dd98bb974
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Dec 29 10:49:22 2017 @author: marks """ # File: tree.py # References: # http://hg.python.org/cpython/file/4e32c450f438/Lib/tkinter/ttk.py # http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_treeview.htm#M79 # http://svn.python.org/projects/python/branches/pep-0384/Demo/tkinter...
39.053691
98
0.554906
698
5,819
4.545845
0.34957
0.050425
0.017649
0.009455
0.054207
0.054207
0.043492
0.027104
0.027104
0
0
0.013748
0.337515
5,819
149
99
39.053691
0.809339
0.218938
0
0
0
0
0.139432
0
0
0
0
0
0
1
0.096386
false
0
0.048193
0
0.204819
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
bd68af29a64b3d9ad5ee5bf60f1893c99d3b0c76
5,803
py
Python
test/cnnl/op_test/test_multiline_views_graph.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
20
2022-03-01T11:40:51.000Z
2022-03-30T08:17:47.000Z
test/cnnl/op_test/test_multiline_views_graph.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
test/cnnl/op_test/test_multiline_views_graph.py
Cambricon/catch
2625da389f25a67066d20fb6b0c38250ef98f8ab
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function import sys import os import copy import unittest import logging import random # from unittest.main import main import torch from torch import nn import torch_mlu.core.mlu_model as ct cur_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(cur_dir + "/../../") from ...
33.350575
75
0.507496
806
5,803
3.465261
0.157568
0.029359
0.012889
0.046545
0.552095
0.465807
0.427855
0.420695
0.308271
0.270319
0
0.070468
0.359297
5,803
173
76
33.543353
0.680742
0.055489
0
0.323944
0
0
0.002752
0
0
0
0
0
0.014085
1
0.028169
false
0
0.077465
0
0.126761
0.007042
0
0
0
null
0
0
0
0
0
0
0
0
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
bd6b7673d05c7f722ed130c0970699fe0e657a21
180
py
Python
src/polls/polls/project/admin.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
null
null
null
src/polls/polls/project/admin.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
6
2021-03-19T08:45:06.000Z
2021-09-22T19:19:21.000Z
src/polls/polls/project/admin.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Users) admin.site.register(ShoppingList) admin.site.register(ShoppingItem)
22.5
33
0.811111
24
180
6.083333
0.541667
0.184932
0.349315
0
0
0
0
0
0
0
0
0
0.094444
180
7
34
25.714286
0.895706
0.144444
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
bd6c528a553f5578be66448336398952d4309fa6
645
py
Python
easy/53.Maximum_Subarray.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
2
2018-03-04T23:29:49.000Z
2019-04-23T01:13:12.000Z
easy/53.Maximum_Subarray.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
null
null
null
easy/53.Maximum_Subarray.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
1
2018-03-05T09:58:59.000Z
2018-03-05T09:58:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Question: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. Example: given the array [-2,1,-3,4,-1,2,1,-5,4], the contiguous subarray [4,-1,2,1] has the largest sum = 6. ''' class Solution: def maxSubArra...
23.035714
105
0.56124
96
645
3.6875
0.541667
0.067797
0.076271
0.090395
0
0
0
0
0
0
0
0.040359
0.308527
645
28
106
23.035714
0.753363
0.516279
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd6d10559ed324300c492ea76a3b5dca3a2078f7
3,153
py
Python
tests/test_docstring.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
8
2019-10-07T22:49:20.000Z
2021-12-30T22:31:28.000Z
tests/test_docstring.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
5
2019-09-17T21:03:38.000Z
2020-07-23T04:47:21.000Z
tests/test_docstring.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
null
null
null
"""Unit tests for Docstring.""" import docconvert class TestDocstring(object): def test_element_ordering(self): docstring = docconvert.parser.Docstring() docstring.add_element(("raw", "Docstring.")) docstring.add_return(kind="int") docstring.add_raises(kind="ValueError") d...
43.791667
75
0.631779
329
3,153
5.890578
0.161094
0.162539
0.065015
0.074819
0.468524
0.163055
0.128999
0
0
0
0
0.010914
0.21535
3,153
71
76
44.408451
0.772433
0.007929
0
0.079365
0
0
0.136451
0
0
0
0
0
0.396825
1
0.079365
false
0
0.015873
0
0.111111
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
bd6de39ebf958030d5c9ef03e542a73527be7547
4,890
py
Python
preprocess.py
EMBEDDIA/morphological-comment-filtering
450ecbdaf2672ea09a39476db91c210657ff9c6f
[ "MIT" ]
1
2020-12-01T17:56:11.000Z
2020-12-01T17:56:11.000Z
preprocess.py
matejklemen/morphological-comment-filtering
450ecbdaf2672ea09a39476db91c210657ff9c6f
[ "MIT" ]
null
null
null
preprocess.py
matejklemen/morphological-comment-filtering
450ecbdaf2672ea09a39476db91c210657ff9c6f
[ "MIT" ]
null
null
null
""" The following script is used to preprocess text once and cache it to a csv file. Currently, this means obtaining the UPOS tags and universal features + renaming columns to a common format. This is done because it's quite a long process and we do not want to do it every time we make a change. """ import pa...
41.092437
160
0.660941
657
4,890
4.765601
0.347032
0.022996
0.032577
0.013414
0.069626
0.069626
0.035771
0.019802
0
0
0
0.002163
0.243558
4,890
118
161
41.440678
0.844282
0.218405
0
0
0
0.012346
0.169536
0.02755
0
0
0
0
0
1
0.024691
false
0
0.111111
0
0.160494
0.024691
0
0
0
null
0
0
0
0
0
0
0
0
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
bd6ded5eb81a42427f646f06cfec5c9cfc641f63
4,685
py
Python
util/callbacks.py
TobiasKoopmann/cobert
279fc6ce938a81afa2b8f14e4cb20b13f842ff48
[ "Apache-2.0" ]
null
null
null
util/callbacks.py
TobiasKoopmann/cobert
279fc6ce938a81afa2b8f14e4cb20b13f842ff48
[ "Apache-2.0" ]
null
null
null
util/callbacks.py
TobiasKoopmann/cobert
279fc6ce938a81afa2b8f14e4cb20b13f842ff48
[ "Apache-2.0" ]
null
null
null
import os import abc import json import numpy as np class Callback(abc.ABC): def __init__(self): pass @abc.abstractmethod def __call__(self, predictions, labels): pass class Evaluation(Callback): def __init__(self, ks=(1, 5, 10), ignore_index: int = -100, n_samples_file: str = None)...
40.387931
144
0.526147
558
4,685
4.259857
0.207885
0.082457
0.020194
0.033656
0.397139
0.288599
0.266723
0.266723
0.178376
0.152293
0
0.01542
0.349413
4,685
115
145
40.73913
0.764436
0.029669
0
0.313131
0
0.010101
0.044053
0.012996
0
0
0
0
0
1
0.10101
false
0.020202
0.040404
0.010101
0.191919
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
bd6e02dadbfb92bc2040067fe4f4629a0b88329a
4,436
py
Python
titanic.py
techwizAJ/Titanic-comepetition-kaggle
39a3d8d97a4401b0e12eefd7fbb07dde92147328
[ "Apache-2.0" ]
null
null
null
titanic.py
techwizAJ/Titanic-comepetition-kaggle
39a3d8d97a4401b0e12eefd7fbb07dde92147328
[ "Apache-2.0" ]
null
null
null
titanic.py
techwizAJ/Titanic-comepetition-kaggle
39a3d8d97a4401b0e12eefd7fbb07dde92147328
[ "Apache-2.0" ]
null
null
null
""" # -*- coding: utf-8 -*- @author: techwiz Created on Sun May 27 14:47:20 2018 """ import pandas as pd train_set = pd.read_csv("train.csv") test_set = pd.read_csv("test.csv") """ Exploratory Data Analysis """ train_set['Sex'].value_counts() train_set['Age'].value_counts() train_set['Embarked'].value_counts() trai...
31.685714
119
0.772543
682
4,436
4.812317
0.234604
0.085314
0.040219
0.034126
0.557892
0.478976
0.379951
0.305911
0.288239
0.288239
0
0.017751
0.085663
4,436
140
120
31.685714
0.79142
0.085437
0
0.042553
0
0
0.125638
0.010725
0
0
0
0
0
1
0
false
0.042553
0.085106
0
0.085106
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
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
bd70054eb143582225de2963fca43fb0a5b2f887
1,301
py
Python
scripts/sort-files/sort_files.py
toddnguyen47/saved-games
ca30e369c72f819b2bd87f2ade450bd6aa058f41
[ "MIT" ]
null
null
null
scripts/sort-files/sort_files.py
toddnguyen47/saved-games
ca30e369c72f819b2bd87f2ade450bd6aa058f41
[ "MIT" ]
null
null
null
scripts/sort-files/sort_files.py
toddnguyen47/saved-games
ca30e369c72f819b2bd87f2ade450bd6aa058f41
[ "MIT" ]
null
null
null
import os import heapq import json class SortFiles: def __init__(self): self._spell_dir = self._read_json() self._heap = [] def execute(self): self._heap = [] with os.scandir(self._spell_dir) as iter: for entry in iter: if entry.is_dir(): ...
27.680851
79
0.487317
138
1,301
4.297101
0.384058
0.067454
0.040472
0.043845
0
0
0
0
0
0
0
0.009847
0.297463
1,301
46
80
28.282609
0.63895
0.013067
0
0.060606
0
0
0.039753
0
0
0
0
0
0
1
0.151515
false
0
0.090909
0
0.333333
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd73565d0ceeda144968932421c907e81fac964f
914
py
Python
durak/migrations/0014_gamerequest_squashed_0015_auto_20200920_0353.py
maximpertsov/durak-server
0b3b2edd94f4b180bcc242e2a9b5e1b0c2766b54
[ "MIT" ]
null
null
null
durak/migrations/0014_gamerequest_squashed_0015_auto_20200920_0353.py
maximpertsov/durak-server
0b3b2edd94f4b180bcc242e2a9b5e1b0c2766b54
[ "MIT" ]
4
2021-03-30T14:34:20.000Z
2021-09-22T19:41:16.000Z
durak/migrations/0014_gamerequest_squashed_0015_auto_20200920_0353.py
maximpertsov/durak-server
0b3b2edd94f4b180bcc242e2a9b5e1b0c2766b54
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-09-20 20:04 from django.conf import settings import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER...
35.153846
116
0.655361
99
914
5.929293
0.59596
0.040886
0.07155
0.091993
0.109029
0
0
0
0
0
0
0.043601
0.222101
914
25
117
36.56
0.781997
0.049234
0
0
1
0
0.096886
0.026528
0
0
0
0
0
1
0
false
0
0.2
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd7412e497e9ca995fe87668255ac1e986b4ec36
4,585
py
Python
rlo/src/ray_main.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
31
2021-09-09T16:09:55.000Z
2022-02-20T02:15:19.000Z
rlo/src/ray_main.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
40
2021-08-06T14:30:08.000Z
2022-01-19T08:49:52.000Z
rlo/src/ray_main.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
5
2021-08-06T11:20:31.000Z
2022-01-07T19:39:40.000Z
# fmt: off import cProfile import os import ray from rlo import analytics from rlo.config_utils import config_for_repetition, kwargs_from_config from rlo.factory import seed_from_config, simul_search_curriculum_from_config, get_train_and_eval_exprs from rlo.flags import make_config_for_scenario, make_parser, check_sav...
59.545455
143
0.721047
672
4,585
4.669643
0.364583
0.022307
0.02167
0.020395
0.210644
0.119822
0.090504
0.0529
0.03123
0.03123
0
0.002428
0.191494
4,585
76
144
60.328947
0.844079
0.325409
0
0
0
0
0.135047
0.024081
0
0
0
0
0.044444
1
0.022222
false
0.022222
0.2
0
0.222222
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
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
bd776a6674d87758862d2b05706f184ab21ca00d
3,490
py
Python
monero/wordlists/wordlist.py
massanchik/monero-python
5699c26f6ba0a64f50ac065ebe0419daf01fd993
[ "BSD-3-Clause" ]
130
2019-03-22T01:50:38.000Z
2022-03-30T11:34:12.000Z
monero/wordlists/wordlist.py
massanchik/monero-python
5699c26f6ba0a64f50ac065ebe0419daf01fd993
[ "BSD-3-Clause" ]
64
2019-03-12T10:32:36.000Z
2022-03-31T12:38:20.000Z
monero/wordlists/wordlist.py
massanchik/monero-python
5699c26f6ba0a64f50ac065ebe0419daf01fd993
[ "BSD-3-Clause" ]
55
2019-03-22T01:50:50.000Z
2022-03-28T02:38:04.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging from binascii import crc32 from six import with_metaclass WORDLISTS = {} _log = logging.getLogger(__name__) class WordlistType(type): def __new__(cls, name, bases, attrs): if bases: if 'language_name' not in attrs: ...
31.160714
103
0.565616
446
3,490
4.29148
0.269058
0.027168
0.034483
0.029258
0.150993
0.094566
0.028213
0
0
0
0
0.030528
0.305444
3,490
111
104
31.441441
0.759076
0.105158
0
0.068493
0
0
0.107062
0.028311
0
0
0.009762
0
0
1
0.09589
false
0
0.041096
0.013699
0.273973
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd77eafe9931dd68ca30b83439707d22832787c1
11,174
py
Python
aliexp.py
winsonluk/Alizon
02ef84d0dbfb0e444257f57865de9a3c42af8229
[ "MIT" ]
24
2017-01-14T12:42:23.000Z
2021-11-15T15:29:48.000Z
aliexp.py
winsonluk/Alizon
02ef84d0dbfb0e444257f57865de9a3c42af8229
[ "MIT" ]
null
null
null
aliexp.py
winsonluk/Alizon
02ef84d0dbfb0e444257f57865de9a3c42af8229
[ "MIT" ]
7
2017-04-01T14:23:44.000Z
2020-04-24T18:46:36.000Z
from aliexpress_api_client import AliExpress import PIL from PIL import Image, ImageChops import urllib2 as urllib import io from itertools import izip from libImgComp import comp_imgs def comp_images(i1, i2): maxsize = (500, 500) i1.resize(maxsize) i2.resize(maxsize) i1 = i1.convert('RGB') i2 =...
27.387255
168
0.561929
1,527
11,174
3.88998
0.158481
0.040741
0.019697
0.016667
0.327609
0.299158
0.268182
0.23771
0.197643
0.161616
0
0.02273
0.287364
11,174
407
169
27.454545
0.72322
0.098711
0
0.231076
0
0
0.065068
0.0038
0
0
0
0
0
0
null
null
0
0.031873
null
null
0.123506
0
0
0
null
0
0
0
0
0
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
bd785257d7f6edb7876cb221a65ea0464f85372a
224
py
Python
entreprise/views.py
Kgermando/es
d3175832604552c79eef96fabd8e1675d04cf4a1
[ "Apache-2.0" ]
null
null
null
entreprise/views.py
Kgermando/es
d3175832604552c79eef96fabd8e1675d04cf4a1
[ "Apache-2.0" ]
null
null
null
entreprise/views.py
Kgermando/es
d3175832604552c79eef96fabd8e1675d04cf4a1
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render # Create your views here. def entreprise_home(request): template_name = 'pages/entreprise/entreprise_home.html' context = None return render(request, template_name, context)
24.888889
59
0.767857
28
224
6
0.714286
0.166667
0.22619
0
0
0
0
0
0
0
0
0
0.15625
224
8
60
28
0.888889
0.102679
0
0
0
0
0.18593
0.18593
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
bd786333da1270439f5a0534168a3541f4ceff6c
111
py
Python
virtual/Lib/site-packages/pylint/test/input/func_noerror_yield_return_mix.py
JamesKimari/pitch-one
aac9007716bf2e3b6446588a06508fac068f3d20
[ "MIT" ]
35
2016-09-22T22:53:14.000Z
2020-02-13T15:12:21.000Z
virtual/lib/python3.6/site-packages/pylint/test/input/func_noerror_yield_return_mix.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
32
2018-05-01T05:24:43.000Z
2022-03-11T23:20:39.000Z
virtual/lib/python3.6/site-packages/pylint/test/input/func_noerror_yield_return_mix.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
""" module doc """ __revision__ = None def somegen(): """this kind of mix is OK""" yield 1 return
13.875
32
0.576577
15
111
4
1
0
0
0
0
0
0
0
0
0
0
0.0125
0.279279
111
7
33
15.857143
0.7375
0.297297
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
3
bd78a71bbe18cc4f93cb82249b13ad78a464f21f
3,165
py
Python
BlenderScripts/process_mesh.py
razluta-unity/BlenderProcessUnity
d1d20f8b1910132c63cd73570c783a55c05fafe2
[ "MIT" ]
2
2020-11-24T06:10:44.000Z
2021-09-13T11:57:22.000Z
BlenderScripts/process_mesh.py
razluta-unity/BlenderProcessUnity
d1d20f8b1910132c63cd73570c783a55c05fafe2
[ "MIT" ]
null
null
null
BlenderScripts/process_mesh.py
razluta-unity/BlenderProcessUnity
d1d20f8b1910132c63cd73570c783a55c05fafe2
[ "MIT" ]
2
2020-12-03T07:48:48.000Z
2021-06-09T20:18:26.000Z
import os import argparse import bpy # Constants FBX_EXTENSION = ".fbx" BLENDER_ACTION_SELECT = "SELECT" BLENDER_TYPE_MESH = "MESH" BLENDER_MODIFIER_BEVEL = "BEVEL" def get_args(): """ A method to obtain the arguments that came with the triggered Python file - from the .bat file. :rtype: object :return: An objec...
29.579439
101
0.766193
469
3,165
4.921109
0.294243
0.062392
0.019497
0.023397
0.063258
0.044194
0.044194
0.044194
0.044194
0.044194
0
0.000748
0.155134
3,165
106
102
29.858491
0.862378
0.278041
0
0.177419
0
0
0.09942
0
0
0
0
0
0
1
0.048387
false
0
0.112903
0
0.193548
0.145161
0
0
0
null
0
0
0
0
0
0
0
0
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
bd7b119eee1a2e5fb5a816c1b163b600e074a836
55
py
Python
django_inlinecss/tests/__init__.py
briefmnews/django-inlinecss
2d4d3cfb543147debea502598bc1fadce5ec11b1
[ "MIT" ]
null
null
null
django_inlinecss/tests/__init__.py
briefmnews/django-inlinecss
2d4d3cfb543147debea502598bc1fadce5ec11b1
[ "MIT" ]
null
null
null
django_inlinecss/tests/__init__.py
briefmnews/django-inlinecss
2d4d3cfb543147debea502598bc1fadce5ec11b1
[ "MIT" ]
null
null
null
from django_inlinecss.tests.test_templatetags import *
27.5
54
0.872727
7
55
6.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.901961
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
bd7ba5bd647118022f742f767d54083d1e57c29a
12,562
py
Python
experiment_launcher.py
alekdimi/arms
f83a32caa8283789c61b59f53832149410be765b
[ "MIT" ]
2
2021-06-15T09:41:45.000Z
2021-09-08T18:30:44.000Z
experiment_launcher.py
alekdimi/arms
f83a32caa8283789c61b59f53832149410be765b
[ "MIT" ]
null
null
null
experiment_launcher.py
alekdimi/arms
f83a32caa8283789c61b59f53832149410be765b
[ "MIT" ]
null
null
null
import os from absl import app, flags import dataset import networks import tensorflow as tf import tensorflow_probability as tfp tfd = tfp.distributions layers = tf.keras.layers flags.DEFINE_enum('dataset', 'static_mnist', ['static_mnist', 'dynamic_mnist', 'fashion_mnist', 'omniglot'], 'Dataset to use.') flags.DEF...
38.891641
134
0.729979
1,751
12,562
4.915477
0.16562
0.036598
0.017892
0.013942
0.373766
0.314744
0.302428
0.282793
0.244685
0.225514
0
0.012976
0.165658
12,562
322
135
39.012422
0.808224
0.007881
0
0.266917
0
0
0.123354
0
0
0
0
0
0
1
0.022556
false
0
0.022556
0.003759
0.06391
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
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
bd7bd354d1693ae42a8a899d55fa9d11d8bad927
1,916
py
Python
tests/test_wikipron/test_languagecodes.py
Alireza-Sampour/wikipron
ac821c5d0a7d70e7e700f45f9d01b2dfb4ecae9d
[ "Apache-2.0" ]
null
null
null
tests/test_wikipron/test_languagecodes.py
Alireza-Sampour/wikipron
ac821c5d0a7d70e7e700f45f9d01b2dfb4ecae9d
[ "Apache-2.0" ]
null
null
null
tests/test_wikipron/test_languagecodes.py
Alireza-Sampour/wikipron
ac821c5d0a7d70e7e700f45f9d01b2dfb4ecae9d
[ "Apache-2.0" ]
null
null
null
import warnings import iso639 import pytest import wikipron from data.src.codes import _get_language_categories, _get_language_sizes from wikipron.languagecodes import LANGUAGE_CODES from . import can_connect_to_wiktionary # We handle languages with at least this number of pronunciation entries. _MIN_LANGUAGE_SIZE ...
35.481481
76
0.674322
230
1,916
5.421739
0.408696
0.044106
0.033681
0.035285
0
0
0
0
0
0
0
0.017458
0.25261
1,916
53
77
36.150943
0.853352
0.252088
0
0.2
0
0
0.123755
0.015647
0
0
0
0
0.028571
1
0.057143
false
0
0.2
0
0.257143
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
bd7c730835fa8f5d468d87e8c955c89982fc78f9
59
py
Python
python/test.py
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
2
2020-05-11T13:43:27.000Z
2020-07-31T11:57:19.000Z
python/test.py
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
2
2020-09-27T02:35:38.000Z
2021-03-08T08:33:02.000Z
python/test.py
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
1
2020-05-11T13:44:04.000Z
2020-05-11T13:44:04.000Z
import sys def plen(): print(len(sys.argv)) plen()
6.555556
24
0.59322
9
59
3.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.237288
59
8
25
7.375
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0.25
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
1
1
0
0
0
0
0
0
4
bd7ca3778c63b42f6055e223a59905b275b8c2fc
1,281
py
Python
ethosu/vela/test/test_model_reader.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
1
2021-12-01T17:16:14.000Z
2021-12-01T17:16:14.000Z
ethosu/vela/test/test_model_reader.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
null
null
null
ethosu/vela/test/test_model_reader.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 Arm Limited or its affiliates. All rights reserved. # # SPDX-License-Identifier: Apache-2.0 # # 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 # # www.apache.org/licenses/LICE...
37.676471
89
0.779859
190
1,281
5.142105
0.536842
0.061412
0.026612
0.032753
0.051177
0.051177
0
0
0
0
0
0.009217
0.153005
1,281
33
90
38.818182
0.891244
0.606557
0
0
0
0
0.076446
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bd7e89a9c152d6c5a11c4d9af7357acb6500801c
2,947
py
Python
libs/DegradationModels.py
prasunroy/cnn-on-degraded-images
85bb4c62a024e3766da3c4d2556e01c6e12e416a
[ "MIT" ]
15
2018-10-01T20:54:13.000Z
2021-10-09T10:40:21.000Z
libs/DegradationModels.py
prasunroy/cnn-on-degraded-images
85bb4c62a024e3766da3c4d2556e01c6e12e416a
[ "MIT" ]
1
2020-04-13T23:58:23.000Z
2020-05-15T11:54:16.000Z
libs/DegradationModels.py
prasunroy/cnn-on-degraded-images
85bb4c62a024e3766da3c4d2556e01c6e12e416a
[ "MIT" ]
4
2018-11-22T09:44:29.000Z
2019-09-17T23:37:40.000Z
# -*- coding: utf-8 -*- """ Degradation models. Created on Thu May 24 11:00:00 2018 Author: Prasun Roy | CVPRU-ISICAL (http://www.isical.ac.in/~cvpr) GitHub: https://github.com/prasunroy/cnn-on-degraded-images """ # imports import cv2 import numpy import random # apply a degradation model on an image def imdegrade...
30.697917
74
0.554462
387
2,947
4.178295
0.343669
0.037106
0.032158
0.034632
0.284477
0.284477
0.239951
0.223871
0.223871
0.223871
0
0.044888
0.319647
2,947
95
75
31.021053
0.761596
0.214455
0
0.169492
0
0
0.044464
0
0
0
0
0
0
1
0.016949
false
0
0.050847
0
0.084746
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