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
8a0ead4871ddc6b047237522f5f34d4d48742f52
11,790
py
Python
train/train.py
TontonTremblay/pixel-nerf
349b5f3f173cd76def05b6de8aa52c69a4f0c7fa
[ "BSD-2-Clause" ]
null
null
null
train/train.py
TontonTremblay/pixel-nerf
349b5f3f173cd76def05b6de8aa52c69a4f0c7fa
[ "BSD-2-Clause" ]
null
null
null
train/train.py
TontonTremblay/pixel-nerf
349b5f3f173cd76def05b6de8aa52c69a4f0c7fa
[ "BSD-2-Clause" ]
null
null
null
# Training to a set of multiple objects (e.g. ShapeNet or DTU) # tensorboard logs available in logs/<expname> import sys import os sys.path.insert( 0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")) ) import warnings import trainlib from model import make_model, loss from render import NeRF...
33.976945
112
0.566073
1,605
11,790
3.917134
0.160748
0.007317
0.024495
0.017815
0.271831
0.193415
0.129633
0.112931
0.072213
0.072213
0
0.015012
0.310687
11,790
346
113
34.075145
0.758583
0.048176
0
0.190813
0
0.003534
0.063796
0
0
0
0
0
0
1
0.028269
false
0
0.042403
0.003534
0.09894
0.038869
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a10a1ae5c36176cfdd1c3ad55656efe8325a99f
20,351
py
Python
napari/_qt/dialogs/qt_plugin_dialog.py
kne42/napari
d61d0be0ef8ea622dd3d6acd270c0529816c11ec
[ "BSD-3-Clause" ]
null
null
null
napari/_qt/dialogs/qt_plugin_dialog.py
kne42/napari
d61d0be0ef8ea622dd3d6acd270c0529816c11ec
[ "BSD-3-Clause" ]
null
null
null
napari/_qt/dialogs/qt_plugin_dialog.py
kne42/napari
d61d0be0ef8ea622dd3d6acd270c0529816c11ec
[ "BSD-3-Clause" ]
null
null
null
import os import sys from pathlib import Path from typing import Sequence from napari_plugin_engine.dist import standard_metadata from napari_plugin_engine.exceptions import PluginError from qtpy.QtCore import QEvent, QProcess, QProcessEnvironment, QSize, Qt, Slot from qtpy.QtGui import QFont, QMovie from qtpy.QtWidge...
37.617375
79
0.640214
2,146
20,351
5.852283
0.184529
0.01911
0.016641
0.013536
0.243411
0.157656
0.139502
0.092284
0.092284
0.077076
0
0.006986
0.26151
20,351
540
80
37.687037
0.828665
0.030121
0
0.15914
0
0
0.028813
0.001268
0
0
0
0.001852
0
1
0.053763
false
0
0.047312
0
0.11828
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
8a112375ff4d16de8957c825f7c7971fdb15e0cc
1,179
py
Python
hata/discord/webhook/utils.py
WizzyBots/hata
f6991afc0bebf7dad932888a536f4d010f8663c7
[ "0BSD" ]
1
2022-03-02T03:59:57.000Z
2022-03-02T03:59:57.000Z
hata/discord/webhook/utils.py
m0nk3ybraindead/hata
f87ed3d7009eeae31d6ea158772efd33775c7b1c
[ "0BSD" ]
1
2022-02-08T16:54:39.000Z
2022-02-08T16:54:39.000Z
hata/discord/webhook/utils.py
WizzyBots/hata
f6991afc0bebf7dad932888a536f4d010f8663c7
[ "0BSD" ]
null
null
null
__all__ = ('create_partial_webhook_from_id', ) from scarletio import export from ..core import USERS from .preinstanced import WebhookType from .webhook import Webhook @export def create_partial_webhook_from_id(webhook_id, token, *, type_=WebhookType.bot, channel_id=0): """ Creates a partial webhook from t...
27.418605
115
0.653096
141
1,179
5.269504
0.340426
0.072678
0.072678
0.064603
0.15074
0.080754
0
0
0
0
0
0.003394
0.250212
1,179
42
116
28.071429
0.837104
0.454623
0
0
0
0
0.053286
0.053286
0
0
0
0
0
1
0.0625
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a1292fe9e365e4f3b12243aeeeb62b3fcd34222
1,067
py
Python
MIT/600.1x - Introduction to Computer Science and Programming Using Python/Unit 4/Problem Set 4/get_word_score.py
henriqueumeda/-Python-study
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
MIT/600.1x - Introduction to Computer Science and Programming Using Python/Unit 4/Problem Set 4/get_word_score.py
henriqueumeda/-Python-study
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
MIT/600.1x - Introduction to Computer Science and Programming Using Python/Unit 4/Problem Set 4/get_word_score.py
henriqueumeda/-Python-study
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
SCRABBLE_LETTER_VALUES = { 'a': 1, 'b': 3, 'c': 3, 'd': 2, 'e': 1, 'f': 4, 'g': 2, 'h': 4, 'i': 1, 'j': 8, 'k': 5, 'l': 1, 'm': 3, 'n': 1, 'o': 1, 'p': 3, 'q': 10, 'r': 1, 's': 1, 't': 1, 'u': 1, 'v': 4, 'w': 4, 'x': 8, 'y': 4, 'z': 10 } def getWordScore(word, n): """ Returns the score for a word. Assu...
35.566667
115
0.585754
191
1,067
3.209424
0.439791
0.057096
0.097879
0.039152
0.052202
0
0
0
0
0
0
0.050569
0.258669
1,067
29
116
36.793103
0.724399
0.469541
0
0
0
0
0.063707
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a14e512e0f7f79c5bcbfd4af00b8cc29f035958
6,376
py
Python
qscatv2/make_seasonal_images.py
tmilliman/sir_to_netcdf
d4641cdc5a9e92a55c0edb2dc6cd8c0e2da6f1fa
[ "MIT" ]
null
null
null
qscatv2/make_seasonal_images.py
tmilliman/sir_to_netcdf
d4641cdc5a9e92a55c0edb2dc6cd8c0e2da6f1fa
[ "MIT" ]
null
null
null
qscatv2/make_seasonal_images.py
tmilliman/sir_to_netcdf
d4641cdc5a9e92a55c0edb2dc6cd8c0e2da6f1fa
[ "MIT" ]
null
null
null
#!/usr/bin/env python # script to make seasonal means and stddev images of 4-day sig0 # values. import os import sys import glob import numpy as np import sirpy2 as sp2 import argparse from osgeo import gdal DATADIR = "./" NODATA_VALUE = -9999.0 Q2M = { "JAS": list(range(7, 10)), "OND": list(range(10, 13)),...
27.601732
86
0.592848
821
6,376
4.47503
0.297199
0.016331
0.019053
0.020686
0.264017
0.264017
0.246598
0.246598
0.236255
0.236255
0
0.016043
0.266782
6,376
230
87
27.721739
0.76984
0.073557
0
0.225989
0
0
0.13425
0.008316
0
0
0
0
0
1
0.00565
false
0
0.039548
0
0.050847
0.124294
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a15ab57e7398ab067062419a83d15fd9bf34d36
434
py
Python
ex062.py
noahbarros/Python-Exercises
fafda898473bc984280e201ed11d8ad76cc8624a
[ "MIT" ]
1
2021-07-13T21:41:00.000Z
2021-07-13T21:41:00.000Z
ex062.py
noahbarros/Python-Exercises
fafda898473bc984280e201ed11d8ad76cc8624a
[ "MIT" ]
null
null
null
ex062.py
noahbarros/Python-Exercises
fafda898473bc984280e201ed11d8ad76cc8624a
[ "MIT" ]
null
null
null
primeiro = int(input('Digite o priemiro termo da PA: ')) razão = int(input('Digite a razão da PA: ')) termo = primeiro cont = 1 total = 0 mais = 10 while mais != 0: total += mais while cont <= total: print(f'{termo} ', end='') termo += razão cont += 1 print('Pausa') mais = int(in...
27.125
66
0.612903
63
434
4.222222
0.507937
0.090226
0.105263
0
0
0
0
0
0
0
0
0.018405
0.248848
434
15
67
28.933333
0.797546
0
0
0
0
0
0.368664
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
8a16b528f332e28d501ffe602ae57113af02e27c
3,720
py
Python
arxml_data_extractor/handler/object_handler.py
Brokdar/ArxmlDataExtractor
2853112cbd4d001418b11ccb99f1db268347dfab
[ "MIT" ]
16
2020-08-16T09:13:35.000Z
2022-03-17T13:39:26.000Z
arxml_data_extractor/handler/object_handler.py
Brokdar/ArxmlDataExtractor
2853112cbd4d001418b11ccb99f1db268347dfab
[ "MIT" ]
null
null
null
arxml_data_extractor/handler/object_handler.py
Brokdar/ArxmlDataExtractor
2853112cbd4d001418b11ccb99f1db268347dfab
[ "MIT" ]
2
2020-10-14T10:54:37.000Z
2021-07-06T01:30:44.000Z
from lxml.etree import Element, QName from typing import Union, List, Any from tqdm import tqdm import logging from arxml_data_extractor.handler import value_handler from arxml_data_extractor.handler.path_handler import PathHandler from arxml_data_extractor.asr.asr_parser import AsrParser from arxml_data_extra...
42.272727
125
0.595968
418
3,720
5.143541
0.232057
0.04186
0.036279
0.061395
0.294419
0.223721
0.093023
0.052093
0.052093
0.052093
0
0.003868
0.305108
3,720
87
126
42.758621
0.827853
0.012366
0
0.164384
0
0.013699
0.146444
0.013947
0
0
0
0
0
1
0.054795
false
0
0.136986
0
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
8a19876a956cc7df8eee4ce39d6fc5531c4cfc7c
3,401
py
Python
src/api/datamanage/pro/lifecycle/data_trace/data_set_create.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
84
2021-06-30T06:20:23.000Z
2022-03-22T03:05:49.000Z
src/api/datamanage/pro/lifecycle/data_trace/data_set_create.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
7
2021-06-30T06:21:16.000Z
2022-03-29T07:36:13.000Z
src/api/datamanage/pro/lifecycle/data_trace/data_set_create.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
40
2021-06-30T06:21:26.000Z
2022-03-29T12:42:26.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
44.168831
118
0.728021
448
3,401
5.296875
0.426339
0.046355
0.03287
0.047198
0.139064
0.086389
0.086389
0.069954
0.069954
0
0
0.004278
0.175243
3,401
76
119
44.75
0.841711
0.438695
0
0
0
0
0.173518
0.050187
0
0
0
0
0
1
0.02439
false
0
0.121951
0
0.170732
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
8a1cd65b30b7bbba4f6241ea55e68759c3f56fc4
15,868
py
Python
splash/render_options.py
tashidexiaoL/splashnew
2bbb886bae8fa88c30a4460f41ca940c4b010287
[ "BSD-3-Clause" ]
3,612
2015-01-04T07:22:20.000Z
2022-03-31T07:12:19.000Z
splash/render_options.py
tashidexiaoL/splashnew
2bbb886bae8fa88c30a4460f41ca940c4b010287
[ "BSD-3-Clause" ]
983
2015-01-01T17:54:49.000Z
2022-03-29T05:05:53.000Z
splash/render_options.py
tashidexiaoL/splashnew
2bbb886bae8fa88c30a4460f41ca940c4b010287
[ "BSD-3-Clause" ]
570
2015-01-06T17:48:46.000Z
2022-03-31T12:35:32.000Z
# -*- coding: utf-8 -*- import os import json from splash import defaults from splash.utils import to_bytes, path_join_secure from splash.errors import BadOption class RenderOptions(object): """ Options that control how to render a response. """ _REQUIRED = object() def __init__(self, data, max...
35.578475
91
0.568188
1,870
15,868
4.616043
0.137968
0.056766
0.035681
0.031511
0.225788
0.171455
0.124421
0.109824
0.083874
0.062095
0
0.004408
0.328019
15,868
445
92
35.658427
0.805121
0.043484
0
0.171598
0
0.002959
0.126687
0.004387
0
0
0
0
0.002959
1
0.136095
false
0.005917
0.014793
0.056213
0.301775
0.002959
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a1d8b11d101fed7641300b2c4ef25ddc8a61c8b
362
py
Python
syntax/func.py
sangumee/Opentutorials-Webn-Python
9f813f8f342ea99ffee6e31f363f175fa023c489
[ "MIT" ]
null
null
null
syntax/func.py
sangumee/Opentutorials-Webn-Python
9f813f8f342ea99ffee6e31f363f175fa023c489
[ "MIT" ]
null
null
null
syntax/func.py
sangumee/Opentutorials-Webn-Python
9f813f8f342ea99ffee6e31f363f175fa023c489
[ "MIT" ]
null
null
null
# code.... a = 1 b = 2 c = 3 s = a+b+c r = s/3 print(r) # code.... ''' def average(): a=1 b=2 c=3 s=a+b+c r=s/3 print(r) average() ''' ''' #input #parameter #argument def average(a,b,c): s=a+b+c r=s/3 print(r) average(10,20,30) ''' def average(a, b, c): s = a+b+c r = s/3 ...
9.05
26
0.466851
75
362
2.253333
0.253333
0.071006
0.106509
0.094675
0.579882
0.579882
0.579882
0.579882
0.579882
0.579882
0
0.087649
0.30663
362
39
27
9.282051
0.585657
0.046961
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a1dc389d59f49c155580d9fe0bb5e5e94a7281e
1,718
py
Python
tools/evolution/codingSnps_filter.py
ramezrawas/galaxy-1
c03748dd49c060a68d07bce56eae33e0ba154414
[ "CC-BY-3.0" ]
1
2019-11-03T11:45:43.000Z
2019-11-03T11:45:43.000Z
tools/evolution/codingSnps_filter.py
ramezrawas/galaxy-1
c03748dd49c060a68d07bce56eae33e0ba154414
[ "CC-BY-3.0" ]
7
2016-12-07T22:19:37.000Z
2019-01-30T15:04:26.000Z
tools/evolution/codingSnps_filter.py
ramezrawas/galaxy-1
c03748dd49c060a68d07bce56eae33e0ba154414
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python # runs after the job (and after the default post-filter) from galaxy.tools.parameters import DataToolParameter # Older py compatibility try: set() except: from sets import Set as set def validate_input( trans, error_map, param_values, page_param_map ): dbkeys = set() data_param_...
40.904762
117
0.586147
212
1,718
4.613208
0.448113
0.056237
0.071575
0.0409
0.071575
0.071575
0.071575
0.071575
0.071575
0
0
0.002648
0.340512
1,718
41
118
41.902439
0.860547
0.082072
0
0.181818
0
0
0.173028
0
0
0
0
0
0
1
0.030303
false
0
0.060606
0
0.090909
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
8a1e3dc4bc93e35762cbfc644a38e3db21861cda
5,290
py
Python
qa/rpc-tests/listtransactions.py
DeftNerd/bitcoinclassic
afff0155e0dd528145818c43f259743f54966d95
[ "MIT" ]
8
2016-03-31T18:47:31.000Z
2021-09-30T05:42:32.000Z
qa/rpc-tests/listtransactions.py
DeftNerd/bitcoinclassic
afff0155e0dd528145818c43f259743f54966d95
[ "MIT" ]
1
2017-10-06T08:55:30.000Z
2017-10-06T08:55:30.000Z
qa/rpc-tests/listtransactions.py
DeftNerd/bitcoinclassic
afff0155e0dd528145818c43f259743f54966d95
[ "MIT" ]
2
2020-02-03T03:38:10.000Z
2021-09-30T05:42:36.000Z
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # Exercise the listtransactions API from test_framework.test_framework import BitcoinTestFramework from ...
48.53211
105
0.542722
551
5,290
5.098004
0.221416
0.099324
0.091136
0.1068
0.562478
0.489142
0.484514
0.41189
0.407974
0.407974
0
0.032606
0.298488
5,290
108
106
48.981481
0.724333
0.095841
0
0.349398
0
0
0.136211
0
0
0
0
0
0.036145
1
0.024096
false
0
0.036145
0
0.072289
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
8a1ef1c625b2d34cef5abbf769654ee6310e0334
25,352
py
Python
salt/modules/mount.py
aletourneau/salt
d7013a2f64eb4b79592220d76274bc5dde609e08
[ "Apache-2.0" ]
null
null
null
salt/modules/mount.py
aletourneau/salt
d7013a2f64eb4b79592220d76274bc5dde609e08
[ "Apache-2.0" ]
null
null
null
salt/modules/mount.py
aletourneau/salt
d7013a2f64eb4b79592220d76274bc5dde609e08
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Salt module to manage unix mounts and the fstab file ''' from __future__ import absolute_import # Import python libs import os import re import logging # Import salt libs import salt.utils from salt._compat import string_types from salt.utils import which as _which from salt.exceptions imp...
30.109264
92
0.473651
2,712
25,352
4.317847
0.115782
0.016909
0.013664
0.023057
0.610845
0.568488
0.541332
0.514774
0.486422
0.454142
0
0.011916
0.407463
25,352
841
93
30.145065
0.767608
0.141093
0
0.617486
0
0.001821
0.086969
0.002358
0
0
0
0
0
1
0.041894
false
0.010929
0.014572
0
0.134791
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
8a2004bf04417c6b520430e6ac9ec351a3c37f83
9,312
py
Python
wxpy/bot.py
daimajia/wxpy
2b56fb67b9ccb072538fd778a27a8fef8d9c93e6
[ "MIT" ]
34
2017-03-01T06:32:04.000Z
2021-11-16T12:48:46.000Z
wxpy/bot.py
daimajia/wxpy
2b56fb67b9ccb072538fd778a27a8fef8d9c93e6
[ "MIT" ]
null
null
null
wxpy/bot.py
daimajia/wxpy
2b56fb67b9ccb072538fd778a27a8fef8d9c93e6
[ "MIT" ]
17
2017-03-01T08:41:22.000Z
2021-09-16T06:25:43.000Z
import traceback from pprint import pformat from threading import Thread import itchat import logging from wxpy.chat import Chat from wxpy.chats import Chats from wxpy.friend import Friend from wxpy.group import Group from wxpy.message import MessageConfigs, Messages, Message, MessageConfig from wxpy.mp import MP fro...
27.22807
94
0.560997
975
9,312
5.190769
0.284103
0.030034
0.027663
0.012448
0.113812
0.058091
0.036752
0.020549
0.020549
0.020549
0
0.001475
0.344609
9,312
341
95
27.307918
0.82779
0.166774
0
0.162921
0
0
0.033395
0.003821
0
0
0
0.002933
0
1
0.146067
false
0
0.08427
0.02809
0.359551
0.005618
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a206c0ba5cec93f4c2890bee22ea35305190260
1,477
py
Python
readthedocs/settings/proxito/base.py
rffontenelle/readthedocs.org
a7a9072215551156b9ddc22280cc085944eaa4b0
[ "MIT" ]
null
null
null
readthedocs/settings/proxito/base.py
rffontenelle/readthedocs.org
a7a9072215551156b9ddc22280cc085944eaa4b0
[ "MIT" ]
null
null
null
readthedocs/settings/proxito/base.py
rffontenelle/readthedocs.org
a7a9072215551156b9ddc22280cc085944eaa4b0
[ "MIT" ]
null
null
null
""" Base settings for Proxito Some of these settings will eventually be backported into the main settings file, but currently we have them to be able to run the site with the old middleware for a staged rollout of the proxito code. """ class CommunityProxitoSettingsMixin: ROOT_URLCONF = 'readthedocs.proxito.url...
31.425532
81
0.65606
177
1,477
5.40678
0.627119
0.025078
0.037618
0
0
0
0
0
0
0
0
0.00466
0.273527
1,477
46
82
32.108696
0.887232
0.330399
0
0.076923
0
0
0.237705
0.184426
0
0
0
0
0
1
0.076923
false
0
0
0
0.346154
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
8a20872ac762ad5db9d06e05df401ef72a6b24c6
69,998
py
Python
model_selection/tests/test_search.py
jessica-tu/jupyter
917e02bc29e0fa06bd8adb25fe5388ac381ec829
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
model_selection/tests/test_search.py
jessica-tu/jupyter
917e02bc29e0fa06bd8adb25fe5388ac381ec829
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
model_selection/tests/test_search.py
jessica-tu/jupyter
917e02bc29e0fa06bd8adb25fe5388ac381ec829
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
"""Test the search module""" from collections.abc import Iterable, Sized from io import StringIO from itertools import chain, product from functools import partial import pickle import sys from types import GeneratorType import re import numpy as np import scipy.sparse as sp import pytest from sklearn.utils.fixes im...
38.18767
79
0.629904
9,397
69,998
4.462594
0.087581
0.029617
0.008346
0.007082
0.466627
0.388291
0.342792
0.298581
0.273471
0.249696
0
0.022237
0.258622
69,998
1,832
80
38.208515
0.785837
0.151319
0
0.311344
0
0
0.085834
0.00207
0
0
0
0.001092
0.152856
1
0.085278
false
0.001609
0.051488
0.012872
0.168946
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
8a20fc9b93bd3fc7e19c79190d5875b049bc7526
4,136
py
Python
build/lib/FinMesh/usgov/__init__.py
johnjdailey/FinMesh
64048b02bfec1a24de840877b38e82f4fa813d22
[ "MIT" ]
1
2020-08-14T16:09:54.000Z
2020-08-14T16:09:54.000Z
build/lib/FinMesh/usgov/__init__.py
johnjdailey/FinMesh
64048b02bfec1a24de840877b38e82f4fa813d22
[ "MIT" ]
null
null
null
build/lib/FinMesh/usgov/__init__.py
johnjdailey/FinMesh
64048b02bfec1a24de840877b38e82f4fa813d22
[ "MIT" ]
null
null
null
import os import requests import xmltodict import csv import json # # # # # # # # # # # FRED DATA BELOW # # # # # # # # # # # FRED_BASE_URL = 'https://api.stlouisfed.org/fred/' GEOFRED_BASE_URL = 'https://api.stlouisfed.org/geofred/' def append_fred_token(url): token = os.getenv('FRED_TOKEN') return f'{url}&...
44
259
0.676499
573
4,136
4.663176
0.228621
0.02994
0.053518
0.061752
0.242141
0.203219
0.158308
0.147081
0.119386
0.119386
0
0.013392
0.169487
4,136
93
260
44.473118
0.764483
0.138781
0
0.176471
0
0.014706
0.3033
0.122525
0
0
0
0
0
1
0.073529
false
0
0.073529
0
0.220588
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
8a22e67655b4062b0aecbc7e8062db32e1383d10
1,268
py
Python
settings.py
Cradac/mattermost-octane-integration
6a3cb4d2e0854cbf190f66467b604e6e4344a907
[ "MIT" ]
null
null
null
settings.py
Cradac/mattermost-octane-integration
6a3cb4d2e0854cbf190f66467b604e6e4344a907
[ "MIT" ]
null
null
null
settings.py
Cradac/mattermost-octane-integration
6a3cb4d2e0854cbf190f66467b604e6e4344a907
[ "MIT" ]
null
null
null
''' This is the Settings File for the Mattermost-Octane Bridge. You can change various variables here to customize and set up the client. ''' '''----------------------Mattermost Webhook Configuration----------------------''' #URL of the webhook from mattermost. To create one go to `Main Menu -> Integrations -> Incom...
34.27027
138
0.706625
184
1,268
4.831522
0.554348
0.008999
0.022497
0
0
0
0
0
0
0
0
0.027726
0.146688
1,268
36
139
35.222222
0.7939
0.656151
0
0
0
0
0.407843
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a23e2e394242f4eca447da628bb8ac3e7fe2807
6,323
py
Python
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
null
null
null
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
1
2021-08-28T15:48:14.000Z
2021-08-28T15:48:14.000Z
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
null
null
null
# -*- encoding:utf-8 -*- # @Time : 2021/1/3 15:15 # @Author : gfjiang import os.path as osp import mmcv import numpy as np import cvtools import matplotlib.pyplot as plt import cv2.cv2 as cv from functools import partial import torch import math from cvtools.utils.path import add_prefix_filename_suffix from mmdet....
36.33908
107
0.591966
857
6,323
4.148191
0.305718
0.015752
0.011252
0.006751
0.076512
0.076512
0.076512
0.076512
0.058509
0.046695
0
0.029509
0.281828
6,323
173
108
36.549133
0.753358
0.071643
0
0.055944
0
0
0.069285
0.050077
0
0
0
0
0
1
0.062937
false
0
0.083916
0
0.181818
0.013986
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a248f7412b4e5841bfb0f9c54b8c6e82ae3813b
19,715
py
Python
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
44
2017-10-23T19:17:20.000Z
2021-09-06T17:01:49.000Z
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
7
2017-09-05T09:51:16.000Z
2020-05-17T11:23:27.000Z
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
18
2017-11-18T11:55:58.000Z
2021-04-11T14:23:12.000Z
# -*- coding: utf-8 -*- """ tradingAPI.low_level ~~~~~~~~~~~~~~ This module provides the low level functions with the service. """ import time import re from datetime import datetime from pyvirtualdisplay import Display from bs4 import BeautifulSoup from splinter import Browser from .glob import Glob from .links imp...
37.058271
79
0.526401
2,198
19,715
4.626934
0.150136
0.024779
0.022714
0.014749
0.24061
0.17414
0.143461
0.122911
0.094592
0.087316
0
0.006413
0.359371
19,715
531
80
37.12806
0.798812
0.073447
0
0.252404
0
0
0.109171
0.011754
0
0
0
0
0
1
0.108173
false
0.004808
0.028846
0.002404
0.259615
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
8a258262e455109304caf1e67879b046459ff1bf
5,066
py
Python
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
null
null
null
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
1
2021-07-22T01:25:14.000Z
2021-07-22T17:29:09.000Z
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
null
null
null
import json import logging import os import inspect import urllib import urllib.request from urllib.error import HTTPError # logger logger = logging.getLogger() logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL']) logger.setLevel(logger_level) # validate access def validate_access(event, context): logg...
41.867769
161
0.66443
640
5,066
5.004688
0.171875
0.062441
0.088979
0.04808
0.637527
0.563222
0.552295
0.532313
0.502966
0.472682
0
0.005969
0.206277
5,066
121
162
41.867769
0.790599
0.09317
0
0.442105
0
0
0.257811
0.046756
0
0
0
0
0
1
0.052632
false
0
0.073684
0
0.210526
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
8a267a4563f9753a8ce7cda07a22ac19aca67d1a
10,157
py
Python
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
import math import torch import torch.nn as nn from models.neural import MultiHeadedAttention, PositionwiseFeedForward from models.rnn import LayerNormLSTM class Classifier(nn.Module): def __init__(self, hidden_size): super(Classifier, self).__init__() self.linear1 = nn.Linear(hidden_size, 1) ...
39.065385
123
0.632962
1,389
10,157
4.362851
0.115191
0.022772
0.018152
0.024752
0.592409
0.513201
0.483663
0.478053
0.45066
0.40132
0
0.020443
0.243871
10,157
259
124
39.216216
0.76862
0.07837
0
0.360825
0
0
0.001824
0
0
0
0
0
0.010309
1
0.103093
false
0
0.025773
0.005155
0.231959
0.005155
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a27086b8164b7eb22322aad33d91e3b2ba51e9e
974
py
Python
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
6,342
2015-01-01T07:40:30.000Z
2022-03-31T04:18:30.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,198
2015-01-02T15:17:45.000Z
2022-03-28T10:20:43.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,928
2015-01-01T10:44:13.000Z
2022-03-31T03:20:16.000Z
import requests from allauth.socialaccount.providers.oauth2.views import ( OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView, ) from .provider import DropboxOAuth2Provider class DropboxOAuth2Adapter(OAuth2Adapter): provider_id = DropboxOAuth2Provider.id access_token_url = "https://api.dropbox.c...
32.466667
86
0.737166
101
974
6.910891
0.564356
0.034384
0.031519
0.051576
0.060172
0
0
0
0
0
0
0.018337
0.160164
974
29
87
33.586207
0.834963
0
0
0
0
0
0.158111
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a27be0083c13f36f7583420125751ea6216ec63
1,599
py
Python
source/conf.py
Tatsh/upkeep
7fa99ff54104e3dec15d611eb174910337cf1870
[ "MIT" ]
3
2019-04-24T10:17:00.000Z
2020-03-11T06:18:42.000Z
source/conf.py
Tatsh/pezu
d5264b61a7113783ea29388180c16126cf185bdd
[ "MIT" ]
4
2020-04-27T19:56:29.000Z
2021-02-11T05:44:22.000Z
source/conf.py
Tatsh/pezu
d5264b61a7113783ea29388180c16126cf185bdd
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # pylint: disable=redefined-builtin,invalid-name """See https://www.sphinx-doc.org/en/master/usage/configuration.html""" from typing import Sequence import os import sys # region Path setup sys.path.insert(0, os.path.abspath('..')) # endregion # region Project information project = 'Upk...
33.3125
77
0.760475
232
1,599
5.189655
0.568966
0.049834
0.018272
0.024917
0.081395
0
0
0
0
0
0
0.005848
0.144465
1,599
47
78
34.021277
0.874269
0.700438
0
0
0
0
0.274554
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a29601d340f52437bc81f042a9b4102018cde77
19,710
py
Python
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
import os import platform import shutil import sys from collections import Counter from collections import defaultdict, OrderedDict from os.path import join from typing import List, Dict, Set from CppHeaderParser import CppHeaderParser from CppHeaderParser.CppHeaderParser import CppMethod import generators.dependency...
40.22449
117
0.640589
2,351
19,710
5.065079
0.118673
0.040309
0.02956
0.012849
0.251512
0.183994
0.153594
0.1195
0.080114
0.05744
0
0.002155
0.270167
19,710
489
118
40.306748
0.825652
0.030999
0
0.157182
0
0
0.049725
0.003567
0
0
0
0
0
1
0.081301
false
0.00542
0.054201
0.00542
0.208672
0.01084
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a2b2a493d7950b9f9a43469d730e06de8f5d85d
2,372
py
Python
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
1
2022-02-01T10:10:05.000Z
2022-02-01T10:10:05.000Z
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
null
null
null
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
null
null
null
import asyncio import logging from json import loads import pytest from aiologstash2 import create_tcp_handler logging.getLogger().setLevel(logging.DEBUG) class FakeTcpServer: def __init__(self): self.data = bytearray() self.server = None self.futs = set() async def start(self): ...
23.029126
83
0.605818
291
2,372
4.831615
0.298969
0.068279
0.038407
0.044808
0.118777
0.118777
0.045519
0
0
0
0
0.01194
0.293845
2,372
102
84
23.254902
0.827463
0
0
0.186667
0
0
0.016863
0
0
0
0
0
0
1
0.04
false
0
0.066667
0.013333
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2b9f3633d27fae8143c30667678e54429c7aa8
19,973
py
Python
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
"""TcEx Framework Playbook module""" # standard library import base64 import json import re from collections import OrderedDict from collections.abc import Iterable class PlaybooksBase: """TcEx Playbook Module Base Class Args: tcex (TcEx): Instance of TcEx class. context (str): The Redis cont...
38.857977
100
0.586191
2,357
19,973
4.852355
0.134493
0.038821
0.016788
0.012591
0.496546
0.436216
0.387427
0.321063
0.270263
0.254525
0
0.007524
0.321284
19,973
513
101
38.933723
0.836161
0.313373
0
0.46831
0
0
0.129109
0.031023
0
0
0
0.001949
0
1
0.084507
false
0
0.017606
0
0.225352
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
8a2c1d2751e3ec16040b8d54e21b7960cfed3c22
31,780
py
Python
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
42.204515
136
0.685809
4,420
31,780
4.673529
0.13371
0.025948
0.032435
0.051847
0.480225
0.441884
0.397202
0.367236
0.314034
0.276855
0
0.017553
0.196916
31,780
752
137
42.260638
0.791827
0.064317
0
0.274956
0
0
0.17041
0.014636
0
0
0
0
0
1
0.019264
false
0
0.036778
0
0.078809
0.012259
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a2c56df110778d23c3bb4671a208f95d1915011
69,038
py
Python
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
29
2019-02-20T15:35:33.000Z
2022-03-22T11:10:57.000Z
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
409
2019-01-17T19:30:51.000Z
2022-03-31T16:28:45.000Z
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
456
2019-01-12T11:01:13.000Z
2022-03-30T17:06:52.000Z
import datetime import json import os import xlrd import logging from io import BytesIO from xlsxwriter.workbook import Workbook from xhtml2pdf import pisa from itertools import chain from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseRedirect, JsonResponse from django.short...
35.826674
199
0.591761
7,731
69,038
5.165438
0.071401
0.024791
0.016652
0.019282
0.622202
0.581109
0.55484
0.526794
0.509015
0.486828
0
0.005869
0.30153
69,038
1,926
200
35.845275
0.822277
0.435094
0
0.525172
0
0
0.081307
0.015799
0
0
0
0
0
1
0.042334
false
0.010297
0.026316
0.004577
0.140732
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
8a2c8b21ea65c7fbe7c24c113fc96385ffdf77cb
1,245
py
Python
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
36.617647
78
0.683534
164
1,245
5.170732
0.646341
0.070755
0.03066
0.037736
0
0
0
0
0
0
0
0.028008
0.225703
1,245
33
79
37.727273
0.85166
0.560643
0
0
0
0
0.23619
0.041905
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2d310413da9e85779ff39fa32f7bd2c4075553
8,648
py
Python
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
2
2021-06-29T21:56:15.000Z
2022-02-17T22:10:55.000Z
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
null
null
null
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # marketanalysis # ---------------- # A fast, efficient Python library for generating country, province and state # specific sets of marketmarketholidayss on the fly. It aims to make determining whether a # specific date is a holiday as fast and flexible as possible. # # Author: MichealO...
38.096916
107
0.591929
1,012
8,648
4.98419
0.172925
0.173275
0.145916
0.148295
0.569191
0.537669
0.464116
0.376289
0.327121
0.296788
0
0.115515
0.285268
8,648
227
108
38.096916
0.700534
0.074006
0
0.275281
0
0
0.011136
0
0
0
0
0
0.303371
1
0.089888
false
0
0.02809
0
0.123596
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
8a2eae99a5174fb4958d90cc6f7e9618fa70f6e1
2,414
py
Python
unsorted/linked_list.py
AlgoArt/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
1
2015-09-20T06:35:58.000Z
2015-09-20T06:35:58.000Z
unsorted/linked_list.py
algoart/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
null
null
null
unsorted/linked_list.py
algoart/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # linked_list.py - Linked list implementation in Python by Sergey 2015 """ Linked list implementation in Python """ # Standard modules import unittest import sys import os import argparse import re import random import subprocess import getpass import shutil # Additional modules ############...
22.773585
79
0.474731
238
2,414
4.668067
0.319328
0.090009
0.057606
0.054005
0.108011
0
0
0
0
0
0
0.007642
0.241094
2,414
105
80
22.990476
0.598799
0.133389
0
0
0
0
0.008238
0
0
0
0
0
0.105263
1
0.157895
false
0.017544
0.157895
0.017544
0.45614
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
8a2f2c6d37a1cc224033909e079c7c6469595c55
8,555
py
Python
examples/seismic/viscoacoustic/wavesolver.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
1
2020-01-31T10:35:49.000Z
2020-01-31T10:35:49.000Z
examples/seismic/viscoacoustic/wavesolver.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
52
2020-10-12T19:29:09.000Z
2022-03-10T14:05:22.000Z
examples/seismic/viscoacoustic/wavesolver.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
1
2020-06-02T03:31:11.000Z
2020-06-02T03:31:11.000Z
from devito import VectorTimeFunction, TimeFunction, NODE from devito.tools import memoized_meth from examples.seismic import PointSource from examples.seismic.viscoacoustic.operators import (ForwardOperator, AdjointOperator) class ViscoacousticWaveSolver(object): """ Solver object that provides operators for...
42.142857
89
0.575453
988
8,555
4.911943
0.205466
0.038945
0.029466
0.031321
0.515763
0.450237
0.409437
0.39048
0.366577
0.334844
0
0.004998
0.345178
8,555
202
90
42.351485
0.8613
0.396844
0
0.4125
0
0
0.007155
0
0
0
0
0
0
1
0.075
false
0
0.05
0.0125
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2f3c798c33272d514bf543343fc4f88d9112f6
1,483
py
Python
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
import pandas as pd import os from tqdm import tqdm from collections import defaultdict from mlxtend.preprocessing import TransactionEncoder from mlxtend.frequent_patterns import apriori dataPath = "data/static" itemSetList = [] def loadDataSet(): with open(os.path.join(dataPath, "aprioriData.csv"), 'r') as f: ...
32.23913
90
0.666891
194
1,483
4.969072
0.463918
0.082988
0.03112
0.056017
0.116183
0.116183
0.082988
0.082988
0
0
0
0.005795
0.185435
1,483
45
91
32.955556
0.792219
0
0
0
0
0
0.104518
0.014835
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.305556
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a3098e50d11c10c71215d547da0dfbd833ce050
1,205
py
Python
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
28
2020-10-29T06:57:32.000Z
2022-03-20T12:26:14.000Z
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
1
2021-03-30T18:18:17.000Z
2021-04-04T15:35:10.000Z
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
8
2020-10-28T20:11:52.000Z
2022-01-12T12:28:02.000Z
import os from tonclient.client import TonClient from tonclient.types import Abi, CallSet, Signer, ClientConfig, \ ParamsOfEncodeMessage, ParamsOfProcessMessage BASE_DIR = os.path.dirname(__file__) SAMPLES_DIR = os.path.join(BASE_DIR, 'samples') GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281...
36.515152
85
0.778423
136
1,205
6.602941
0.411765
0.053452
0.020045
0.055679
0.082405
0.082405
0
0
0
0
0
0.074144
0.126971
1,205
32
86
37.65625
0.779468
0
0
0
0
0
0.156017
0.109544
0
0
0
0
0
1
0.08
false
0
0.12
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a3176dcac3313f88ab52ef3d929182aaaba205a
12,423
py
Python
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
jstzwjr/mmdetection
1c2878eb4f4da2978dcd9a05f9d0247726680213
[ "Apache-2.0" ]
1
2020-09-21T12:13:48.000Z
2020-09-21T12:13:48.000Z
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
xiaojianying/mmdetection
a10d24d686e8714f42a9022da89124d04c0389ad
[ "Apache-2.0" ]
null
null
null
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
xiaojianying/mmdetection
a10d24d686e8714f42a9022da89124d04c0389ad
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from mmcv.cnn import ConvModule, build_upsample_layer from mmcv.ops import Conv2d from mmcv.ops.carafe import CARAFEPack from mmcv.runner import auto_fp16, force_fp32 from torch.nn.modules.utils import _pair from mmdet.core import ma...
39.189274
79
0.583353
1,634
12,423
4.205018
0.209914
0.025615
0.017465
0.016591
0.190656
0.11483
0.07699
0.056469
0.056469
0.034347
0
0.017174
0.325042
12,423
316
80
39.313291
0.802266
0.182484
0
0.108225
0
0
0.030471
0.002816
0
0
0
0.003165
0.004329
1
0.030303
false
0
0.047619
0
0.108225
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
8a3315016cdca312326db456e1d5eabcd1f0d049
14,798
py
Python
examples/machine_reading_comprehension/DuReader-robust/run_du.py
wzzju/PaddleNLP
1757a4fc2a3cd5a45f75c6482746777752b414d8
[ "Apache-2.0" ]
3
2021-09-06T11:27:49.000Z
2021-11-09T08:19:00.000Z
examples/machine_reading_comprehension/DuReader-robust/run_du.py
svs1984/PaddleNLP
9eb9e23b01d044706c789158ac6cf0d365aea848
[ "Apache-2.0" ]
null
null
null
examples/machine_reading_comprehension/DuReader-robust/run_du.py
svs1984/PaddleNLP
9eb9e23b01d044706c789158ac6cf0d365aea848
[ "Apache-2.0" ]
4
2021-08-23T07:46:06.000Z
2021-09-23T08:37:03.000Z
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # Copyright 2018 The HuggingFace Inc. team. # # 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/licen...
43.651917
120
0.648331
1,844
14,798
4.9718
0.221258
0.00709
0.01178
0.010689
0.348604
0.300175
0.280105
0.244764
0.218586
0.218586
0
0.006164
0.276456
14,798
338
121
43.781065
0.850098
0.213137
0
0.188841
0
0.004292
0.046909
0
0
0
0
0
0
1
0.030043
false
0
0.081545
0
0.128755
0.021459
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a3543c746387ad12029585c2e306e26ec984737
4,324
py
Python
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
# Credit to https://medium.com/emergent-future/simple-reinforcement-learning-with-tensorflow-part-0-q-learning-with-tables-and-neural-networks-d195264329d0 import gym import tensorflow as tf import numpy as np import matplotlib.pyplot as plt env = gym.make('FrozenLake-v0') # NEURAL NETWORK IMPLEMENTATION tf.reset_d...
30.666667
155
0.586725
649
4,324
3.861325
0.311248
0.023144
0.029928
0.036712
0.2498
0.206704
0.171588
0.171588
0.143655
0.112929
0
0.042924
0.256475
4,324
140
156
30.885714
0.736547
0.514107
0
0.075472
0
0
0.035961
0
0
0
0
0
0
1
0
false
0
0.075472
0
0.075472
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a3651a34d3b1893e6f70ebe64b9db39d329cd63
8,496
py
Python
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
null
null
null
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
null
null
null
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
1
2022-01-02T20:54:04.000Z
2022-01-02T20:54:04.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
37.263158
79
0.711982
1,031
8,496
5.412221
0.163919
0.083871
0.021505
0.037634
0.467921
0.431183
0.307168
0.251971
0.166667
0.109857
0
0.102619
0.173023
8,496
227
80
37.427313
0.691574
0.107345
0
0.035176
0
0
0.365115
0.174028
0
0
0
0
0
1
0
false
0
0.040201
0
0.040201
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
8a36ee854524bdd692e5d46cc0bfba0c999e570b
3,625
py
Python
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
39
2018-07-08T01:01:18.000Z
2022-01-03T13:48:10.000Z
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
4
2019-10-04T11:15:15.000Z
2022-02-03T00:17:47.000Z
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
19
2018-09-20T11:52:25.000Z
2022-02-02T19:21:04.000Z
#!/usr/bin/env python3 ######################################################### # Written by Carl Youngblood, carl@blockscale.net # Copyright (c) 2018 Blockscale LLC # released under the MIT license ######################################################### from flask import Flask, request, Response, json, jsonify fr...
33.564815
105
0.592552
410
3,625
5.121951
0.34878
0.05
0.035714
0.021429
0.405714
0.341905
0.285238
0.262857
0.262857
0.262857
0
0.020268
0.237793
3,625
107
106
33.878505
0.739776
0.045517
0
0.406977
0
0
0.267884
0.038911
0
0
0
0
0
1
0.034884
false
0
0.046512
0.011628
0.116279
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
8a37a73802d1db18a333fdc568416dbf6367829d
3,658
py
Python
unwind.py
0x1F9F1/binja-msvc
be2577c22c8d37fd1e2e211f80b1c9a920705bd2
[ "MIT" ]
9
2019-02-08T10:01:39.000Z
2021-04-29T12:27:34.000Z
unwind.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
1
2019-07-04T20:09:57.000Z
2019-07-12T11:10:15.000Z
unwind.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
2
2019-03-03T13:00:14.000Z
2020-05-01T05:35:04.000Z
from binaryninja import log from .utils import BinjaStruct, read_pe_header, split_bits, update_percentage # https://msdn.microsoft.com/en-us/library/ft9x1kdx.aspx RUNTIME_FUNCTION_t = BinjaStruct('<III', names = ('BeginAddress', 'EndAddress', 'UnwindData')) def read_runtime_function(view, address): runtime_funct...
31
148
0.667578
429
3,658
5.410256
0.268065
0.081861
0.037915
0.029729
0.168031
0.09651
0.028436
0
0
0
0
0.012807
0.231547
3,658
117
149
31.264957
0.812878
0.014762
0
0.103896
0
0
0.12854
0.012215
0
0
0.004164
0
0
1
0.051948
false
0
0.025974
0
0.116883
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
8a37f39c3ffc420ffcb4173ab24c22f5ec606276
2,538
py
Python
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
457
2021-03-17T00:39:33.000Z
2022-03-30T02:38:19.000Z
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
31
2021-03-17T07:35:34.000Z
2022-03-31T07:07:56.000Z
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
56
2021-03-17T05:55:09.000Z
2022-03-15T01:38:35.000Z
""" 3D visualization primitives based on Plotly. We might want to instead use a more powerful library like Open3D. Plotly however supports animations, buttons and sliders. 1) Initialize a figure with `fig = init_figure()` 2) Plot points, cameras, lines, or create a slider animation. 3) Call `fig.show()` to render the ...
32.126582
74
0.566982
392
2,538
3.622449
0.387755
0.009859
0.030986
0.008451
0.067606
0.04507
0.028169
0.028169
0.028169
0.028169
0
0.036489
0.254925
2,538
78
75
32.538462
0.714437
0.194247
0
0.092593
0
0
0.065444
0
0
0
0
0
0
1
0.074074
false
0
0.055556
0
0.148148
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
8a37f74b88dcc7ed94cf7a22b08f15fb01357b23
1,882
py
Python
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
1
2022-01-03T09:21:33.000Z
2022-01-03T09:21:33.000Z
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
null
null
null
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
null
null
null
import numpy as np GRID_SIZE = 5 def read_bingo_grid(lines: list[str]) -> list[list[int]]: return [[int(n) for n in line.split()] for line in lines] def bingo_step(grids: np.ndarray, checked_grids: np.ndarray, number: int) -> None: checked_grids[np.where(grids == number)] = True def check_victory(check_g...
34.218182
120
0.624867
292
1,882
3.815068
0.260274
0.075404
0.050269
0.037702
0.219031
0.125673
0.041293
0.041293
0
0
0
0.016552
0.229543
1,882
54
121
34.851852
0.751724
0.035069
0
0
0
0
0.016575
0
0
0
0
0
0
1
0.128205
false
0
0.025641
0.025641
0.25641
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a3aa16cb3dbe2b4a517472d48c9588e47d4f479
1,497
py
Python
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
hugovk/altair
a3c9f06790f7a8c5c7e2c98278d0f69e4630b5be
[ "BSD-3-Clause" ]
1
2022-03-13T21:42:09.000Z
2022-03-13T21:42:09.000Z
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
RoyMachineLearning/altair
74a765b373694776e63d224d99536975cc173810
[ "BSD-3-Clause" ]
null
null
null
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
RoyMachineLearning/altair
74a765b373694776e63d224d99536975cc173810
[ "BSD-3-Clause" ]
null
null
null
''' US Population Pyramid Over Time =============================== A population pyramid shows the distribution of age groups within a population. It uses a slider widget that is bound to the year to visualize the age distribution over time. ''' # category: case studies import altair as alt from altair.expr import datu...
29.352941
78
0.674683
217
1,497
4.56682
0.428571
0.020182
0.030272
0.0333
0.313824
0.25328
0.25328
0.25328
0.230071
0.230071
0
0.016393
0.144289
1,497
51
79
29.352941
0.757221
0.174349
0
0.257143
0
0
0.117168
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.085714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a3b3f3a85478c2b401e7083ce3f440c82013e30
987
py
Python
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
5
2016-01-05T12:21:35.000Z
2020-10-28T17:06:02.000Z
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
209
2015-06-12T09:39:41.000Z
2022-03-21T16:01:19.000Z
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
1
2021-04-11T06:19:23.000Z
2021-04-11T06:19:23.000Z
from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20180404_1515'), ] operations = [ migrations.CreateModel( name='Token', fields=[ ...
37.961538
147
0.591692
90
987
6.366667
0.544444
0.057592
0.099476
0.09075
0.184991
0.184991
0.184991
0.184991
0.184991
0
0
0.024965
0.269504
987
25
148
39.48
0.769764
0
0
0
0
0
0.126646
0.023303
0
0
0
0
0
1
0
false
0
0.130435
0
0.26087
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
8a3ca54d0e30bc25beb86e00254a401833904b9e
6,885
py
Python
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
30.464602
78
0.615832
899
6,885
4.579533
0.303671
0.034005
0.021861
0.009473
0.040321
0.026718
0
0
0
0
0
0.020154
0.264924
6,885
225
79
30.6
0.793321
0.260857
0
0.079365
0
0
0.054742
0
0
0
0
0
0
1
0.190476
false
0.007937
0.039683
0.007937
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a3e36ced124cb7dabea478a1f4b328edd22757f
1,344
py
Python
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
import json import urllib.request import credentials from datetime import datetime, timedelta class NewsAPI: def __init__(self, nyt_api): self.nyt_access = nyt_api def get_nyt_last_week_articles(self, topic, today): delta = timedelta(weeks = 1) last_week = today - delta begin_...
42
180
0.638393
172
1,344
4.77907
0.482558
0.097324
0.047445
0.034063
0.187348
0
0
0
0
0
0
0.006776
0.231399
1,344
32
181
42
0.788964
0
0
0.071429
0
0
0.220818
0.032714
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.321429
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
8a3e37aebc3bcbec9a89c90db3f81c339c737670
8,847
py
Python
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
41.341121
118
0.635696
957
8,847
5.630094
0.214211
0.082034
0.119896
0.057906
0.605234
0.542687
0.455085
0.397921
0.379733
0.326095
0
0.011652
0.243359
8,847
213
119
41.535211
0.793248
0.061038
0
0.221591
0
0
0.12491
0.008319
0
0
0
0
0.119318
1
0.051136
false
0
0.022727
0.005682
0.079545
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
8a40f2fa1c9f612802f1a429d750b73c73bf44c3
67,147
py
Python
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
AndrewLane/azure-cli
524491c580fc3c133f2d9859cef1c8251f4192e4
[ "MIT" ]
null
null
null
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
AndrewLane/azure-cli
524491c580fc3c133f2d9859cef1c8251f4192e4
[ "MIT" ]
3
2021-03-26T00:25:36.000Z
2022-03-29T22:03:55.000Z
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
david-driscoll/azure-cli
0dbf5e4ac2f35057bc9b8234b0a59612593552c5
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
50.486466
195
0.655949
8,089
67,147
5.163555
0.101743
0.023343
0.009696
0.01992
0.430856
0.321107
0.252681
0.188302
0.145518
0.108863
0
0.012417
0.251612
67,147
1,329
196
50.524454
0.818753
0.066555
0
0.204479
0
0.005842
0.195116
0.022917
0
0
0
0.000752
0
1
0.051607
false
0.021422
0.06037
0.000974
0.148978
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
8a41876d28109b10beeda61ce63d0fb68903a3e0
4,091
py
Python
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
import re import httplib2 from bs4 import BeautifulSoup from scraping.faqscrapperutil import stripExtra, removeDuplicates, removeBlackListedQuestions, getBlackListedQuestions, convertToJsonList, saveToMongo from scraping.Constants import ENABLE_CUSTOM_QUESTIONS_FILTER, FAQ_LINKS, COLLECTION_NAME d...
36.855856
208
0.633341
410
4,091
6.260976
0.282927
0.037398
0.027269
0.017141
0.160499
0.149591
0.112972
0.112972
0.085703
0.050643
0
0.012052
0.249572
4,091
111
209
36.855856
0.824104
0.190174
0
0.168831
0
0.012987
0.062082
0.045648
0
0
0
0
0
1
0.077922
false
0
0.064935
0
0.233766
0.051948
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a425179166f5e46f9936c55196547277fa5770b
2,600
py
Python
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
"""Terminal utilities specific to message archives. Creates colored text and helps write Messages output. """ from contextlib import contextmanager import itertools import readline FG_COLORS = dict(itertools.chain( zip(("black", "red", "green", "yellow", "blue", "mage...
23.423423
75
0.589615
313
2,600
4.814696
0.456869
0.01858
0.021234
0.029197
0
0
0
0
0
0
0
0.010177
0.281923
2,600
110
76
23.636364
0.797001
0.253462
0
0.027397
0
0
0.147541
0
0
0
0
0
0
1
0.068493
false
0
0.041096
0.027397
0.164384
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a4336dbd5d1cefd9e382961486ab2a2e96b55c6
2,714
py
Python
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
2,971
2019-10-16T23:53:16.000Z
2022-03-31T20:58:24.000Z
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
2,851
2020-01-10T16:23:44.000Z
2022-03-31T22:14:53.000Z
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
614
2020-01-14T19:18:01.000Z
2022-03-31T14:06:14.000Z
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
34.35443
105
0.687546
402
2,714
4.450249
0.358209
0.071548
0.12521
0.061487
0.226383
0.20123
0.15204
0.130799
0.082728
0.039128
0
0.038638
0.198968
2,714
78
106
34.794872
0.784269
0.26787
0
0.076923
0
0
0.083206
0
0
0
0
0
0.019231
1
0.019231
false
0
0.134615
0
0.173077
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
8a444601b18de24677a5df5024e0921fdacf4ec7
8,983
py
Python
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
1
2019-12-17T07:58:35.000Z
2019-12-17T07:58:35.000Z
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
null
null
null
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
1
2019-08-04T14:10:12.000Z
2019-08-04T14:10:12.000Z
from __future__ import absolute_import, division, print_function import os import json from glue.core import Subset DISPATCH = {} def save_page(page, page_number, label, subset): """ Convert a tab of a glue session into a D3PO page :param page: Tuple of data viewers to save :param label: Tab label ...
28.977419
121
0.627296
1,185
8,983
4.693671
0.274262
0.016181
0.015102
0.015282
0.211794
0.140777
0.101402
0.092772
0.086659
0.071197
0
0.012779
0.250807
8,983
309
122
29.071197
0.81367
0.169431
0
0.116402
0
0.031746
0.240259
0.027812
0
0
0
0
0
1
0.058201
false
0.010582
0.079365
0
0.174603
0.010582
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a44c4f1bacc53b31ee5cd71ffc633ea07de715c
5,326
py
Python
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
2
2016-04-05T16:16:43.000Z
2016-05-14T12:58:02.000Z
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
1
2017-06-04T07:36:45.000Z
2017-06-04T22:57:05.000Z
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
1
2016-04-30T20:27:35.000Z
2016-04-30T20:27:35.000Z
from __future__ import unicode_literals import codecs import logging try: from http.client import HTTPConnection, HTTPSConnection except ImportError: # pylint: disable=import-error from httplib import HTTPConnection, HTTPSConnection try: from urllib.parse import urlparse except ImportError: # py...
34.141026
97
0.608336
555
5,326
5.677477
0.324324
0.035544
0.020628
0.020946
0.14059
0.134878
0.063472
0.03491
0.03491
0.03491
0
0.00459
0.304544
5,326
155
98
34.36129
0.846112
0.139317
0
0.172727
0
0
0.034707
0
0
0
0
0
0
1
0.090909
false
0.045455
0.127273
0.009091
0.281818
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
8a45566aab7d64963906b912efac019f5bac9c8e
2,079
py
Python
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # -*- encoding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
31.5
78
0.534873
224
2,079
4.875
0.549107
0.054945
0.02381
0.029304
0
0
0
0
0
0
0
0.037281
0.341991
2,079
65
79
31.984615
0.760965
0.338143
0
0.051282
0
0
0.172593
0
0
0
0
0
0
1
0.076923
false
0
0.051282
0
0.205128
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
8a46bd296a626ee6789a10ae8ade0e121655708c
36,304
py
Python
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import collections import inspect from dataclasses import dataclass from enum import Enum from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from flytekit.common import constants as _common_constants from flytekit.common.exceptions.user import FlyteValidation...
46.663239
129
0.675518
4,486
36,304
5.289568
0.14222
0.029078
0.028825
0.01534
0.240002
0.198871
0.161069
0.12647
0.106452
0.095495
0
0.001445
0.256804
36,304
777
130
46.723295
0.878025
0.28231
0
0.256566
0
0
0.086263
0.020867
0
0
0
0.001287
0.010101
1
0.088889
false
0
0.048485
0.036364
0.270707
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
8a47b1a4041d7e6d082433e91d3935c95f8c494b
12,125
py
Python
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
4,145
2019-09-13T08:29:43.000Z
2022-03-31T18:31:44.000Z
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
2,031
2019-09-17T16:51:39.000Z
2022-03-31T23:52:41.000Z
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
1,041
2019-09-13T10:08:21.000Z
2022-03-30T06:37:38.000Z
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
35.557185
119
0.628784
1,765
12,125
4.215864
0.159207
0.056982
0.008063
0.008063
0.462438
0.42454
0.365005
0.331273
0.324284
0.280742
0
0.020388
0.25567
12,125
340
120
35.661765
0.803989
0.392825
0
0.131579
0
0.006579
0.092391
0.003576
0
0
0
0
0.039474
1
0.098684
false
0.026316
0.026316
0.006579
0.197368
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
8a48a06f40aea92943e0a0af216f5992d3ce3e19
987
py
Python
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
12
2020-05-22T08:02:27.000Z
2022-03-28T06:14:23.000Z
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
3
2021-06-08T21:33:24.000Z
2022-03-11T07:11:06.000Z
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
null
null
null
import numpy as np import math from dataset_specifications.dataset import Dataset class SwirlsSet(Dataset): def __init__(self): super().__init__() self.name = "swirls" self.n_samples = { "train": 2000, "val": 1000, "test": 1000, } self....
25.307692
78
0.563323
138
987
3.934783
0.449275
0.044199
0.022099
0
0
0
0
0
0
0
0
0.047896
0.301925
987
38
79
25.973684
0.740203
0.115502
0
0
0
0
0.020785
0
0
0
0
0
0
1
0.115385
false
0
0.115385
0
0.346154
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
8a49341d1b3481c67276f3865a9ce768c4be3a18
1,068
py
Python
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
import numpy as np from sklearn.linear_model import LogisticRegression from .models import User from .twitter import vectorize_tweet def predict_user(user1_name, user2_name, tweet_text): """ Determine and return which user is more likely to say a given Tweet. Example: predict_user('ausen', 'elonmusk'...
41.076923
72
0.699438
155
1,068
4.683871
0.458065
0.049587
0.035813
0.052342
0.146006
0.082645
0.082645
0.082645
0
0
0
0.021915
0.188202
1,068
25
73
42.72
0.815456
0.233146
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.266667
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
0
0
0
0
1
0
8a49cedf036c8174ae69a9ea00ffa4a94799bd4c
6,028
py
Python
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
# sys import os import sys import numpy as np import random import pickle import json # torch import torch import torch.nn as nn from torchvision import datasets, transforms # operation from . import tools class Feeder_UCF(torch.utils.data.Dataset): """ Feeder for skeleton-based action recognition in kinetics-sk...
35.251462
104
0.588421
806
6,028
4.167494
0.208437
0.072343
0.037511
0.003572
0.114022
0.04674
0.031259
0.019053
0.019053
0
0
0.013193
0.321002
6,028
170
105
35.458824
0.807476
0.191274
0
0.027027
0
0
0.014176
0
0
0
0
0
0.036036
1
0.072072
false
0
0.09009
0.018018
0.225225
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
8a4a2deaf316f920a36e808eb86cd1a1c9c75edd
2,260
py
Python
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
8
2020-11-04T10:32:03.000Z
2021-09-08T16:46:13.000Z
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
418
2020-11-05T12:43:26.000Z
2021-10-19T02:24:43.000Z
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
13
2020-11-18T12:37:42.000Z
2021-09-16T07:43:27.000Z
import os import subprocess import time import grpc import tests.rpc.proto.schema_registry_pb2 as pb2 import tests.rpc.proto.schema_registry_pb2_grpc as pb2_grpc from tests.common.postgres import PostgresConfig EXE = os.getenv('SCHEMA_REGISTRY_EXE') or 'schema-registry' class SchemaRegistry: def __init__(self, ...
35.873016
83
0.643805
256
2,260
5.320313
0.328125
0.154185
0.044053
0.044053
0.104258
0.104258
0.104258
0
0
0
0
0.009191
0.277876
2,260
62
84
36.451613
0.825368
0
0
0
0
0
0.164602
0.122566
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.288462
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
8a4a74e407a1faa40bc78d3ab5dcb9c6741e4b2e
1,743
py
Python
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
5
2021-11-04T14:09:24.000Z
2021-12-23T13:48:36.000Z
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
41
2021-11-03T14:27:21.000Z
2022-03-29T14:46:16.000Z
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
12
2021-11-03T17:28:31.000Z
2021-11-30T12:28:25.000Z
""" When a routing policy is set with an empty condition, it should be loaded correctly and should route all the requests to a correct backend. """ from urllib.parse import urlparse import pytest from packaging.version import Version # noqa # pylint: disable=unused-import from testsuite import TESTED_VERSION, rawobj ...
32.277778
104
0.693058
223
1,743
5.286996
0.457399
0.05598
0.071247
0.039016
0.128923
0.128923
0.071247
0
0
0
0
0.007931
0.204246
1,743
53
105
32.886792
0.842105
0.297762
0
0.071429
0
0
0.125862
0
0
0
0
0
0.071429
1
0.107143
false
0
0.178571
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a4aca2698c2e4be69222dd4573ceaef0614a5f5
2,113
py
Python
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
null
null
null
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
null
null
null
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
1
2019-09-16T02:11:41.000Z
2019-09-16T02:11:41.000Z
# Copyright (c) 2014 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
29.347222
79
0.6531
258
2,113
5.236434
0.496124
0.044412
0.047372
0.023686
0
0
0
0
0
0
0
0.005736
0.257454
2,113
71
80
29.760563
0.855322
0.317085
0
0
0
0
0.137882
0.016347
0
0
0
0
0
1
0.078947
false
0
0.105263
0.026316
0.289474
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
8a4ad309763c3cfd1dc25a625d22290970950e53
946
py
Python
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
2
2022-02-01T00:55:12.000Z
2022-03-29T22:29:09.000Z
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
import os import time from selenium.webdriver.support.select import Select from Data.parameters import Data from get_dir import pwd from reuse_func import GetData class All_records_download(): def __init__(self,driver): self.driver = driver self.filename ='' def test_download_csv(self): ...
28.666667
82
0.684989
126
946
4.904762
0.428571
0.113269
0.067961
0.101942
0.205502
0.093851
0
0
0
0
0
0.002692
0.214588
946
32
83
29.5625
0.829071
0
0
0.08
0
0
0.055085
0.029661
0
0
0
0
0
1
0.08
false
0
0.24
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
0
0
0
0
1
0
8a4baa5bb9eb37f79466bfa86485901ebe84452b
39,528
py
Python
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
import contextlib import ctypes import json import os import shutil import struct import subprocess import sys import tempfile from datetime import datetime, timedelta, timezone from enum import Enum, auto from hashlib import pbkdf2_hmac from .aes import ( aes_cbc_decrypt_bytes, aes_gcm_decrypt_and_verify_byte...
39.646941
134
0.664921
4,837
39,528
5.223279
0.143891
0.008549
0.008708
0.014407
0.426598
0.360736
0.304255
0.275519
0.227271
0.189155
0
0.00875
0.236718
39,528
996
135
39.686747
0.828643
0.121711
0
0.324622
0
0.004127
0.167538
0.023731
0
0
0.000174
0
0.001376
1
0.085282
false
0.033012
0.028886
0.01238
0.277854
0.019257
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a4c2b7fd420450ab300e48488a392b1a4cf50ef
1,205
py
Python
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
1
2017-05-17T15:12:29.000Z
2017-05-17T15:12:29.000Z
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
12
2016-01-01T14:43:44.000Z
2021-10-03T02:13:19.000Z
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
null
null
null
import os import pytest from hgtools import managers def _ensure_present(mgr): try: mgr.version() except Exception: pytest.skip() @pytest.fixture def tmpdir_as_cwd(tmpdir): with tmpdir.as_cwd(): yield tmpdir @pytest.fixture def hg_repo(tmpdir_as_cwd): mgr = managers.Mercu...
21.517857
62
0.624066
156
1,205
4.634615
0.346154
0.124481
0.091286
0.041494
0.473029
0.473029
0.240664
0.240664
0.149378
0.149378
0
0
0.209129
1,205
55
63
21.909091
0.758657
0
0
0.348837
0
0
0.165145
0
0
0
0
0
0
1
0.116279
false
0.023256
0.069767
0
0.232558
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
8a4fee7da31280c4ead726e734baac5bb3fc023e
1,227
py
Python
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
1
2019-04-29T14:57:45.000Z
2019-04-29T14:57:45.000Z
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
null
null
null
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup import os __doc__ = """ Command line tool and library wrappers around iwlist and /etc/network/interfaces. """ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() install_requires = [ 'setuptools', 'pbkdf2', ] try: im...
23.150943
70
0.625102
134
1,227
5.567164
0.649254
0.080429
0.134048
0.069705
0
0
0
0
0
0
0
0.010449
0.220049
1,227
52
71
23.596154
0.76907
0.0163
0
0
0
0
0.420398
0.06136
0
0
0
0
0
1
0.022727
false
0
0.068182
0.022727
0.113636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a5020fde45eeb5e84a7966a0bf40c59df2eeca7
2,653
py
Python
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
# Copyright © 2019 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
42.790323
115
0.724463
335
2,653
5.59403
0.447761
0.03842
0.052828
0.017076
0.025614
0
0
0
0
0
0
0.007948
0.193743
2,653
61
116
43.491803
0.867695
0.272899
0
0
0
0
0.089953
0.012625
0
0
0
0
0
1
0.027027
false
0
0.297297
0
0.405405
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
8a507bf3c4b912bd7ed181d618b52de6b0f464f2
3,749
py
Python
TWLight/applications/management/commands/send_coordinator_reminders.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
67
2017-12-14T22:27:48.000Z
2022-03-13T18:21:31.000Z
TWLight/applications/management/commands/send_coordinator_reminders.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
433
2017-03-24T22:51:23.000Z
2022-03-31T19:36:22.000Z
TWLight/applications/management/commands/send_coordinator_reminders.py
Mahuton/TWLight
90b299d07b0479f21dc90e17b8d05f5a221b0de1
[ "MIT" ]
105
2017-06-23T03:53:41.000Z
2022-03-30T17:24:29.000Z
import logging from collections import Counter from django.core.management.base import BaseCommand from django.db.models import Q from TWLight.applications.models import Application from TWLight.resources.models import Partner from TWLight.applications.signals import Reminder from TWLight.users.models import Editor l...
43.593023
98
0.584956
357
3,749
5.834734
0.389356
0.077772
0.092175
0.053769
0.238118
0.176188
0.049928
0
0
0
0
0.003288
0.351027
3,749
85
99
44.105882
0.852857
0.175247
0
0.117647
0
0
0.057811
0.035076
0
0
0
0
0
1
0.014706
false
0
0.117647
0
0.147059
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
8a509772d4b71309e020c912aabb38728c706128
15,176
py
Python
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
1
2020-12-27T21:37:35.000Z
2020-12-27T21:37:35.000Z
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
# pvtrace 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; either version 3 of the License, or # (at your option) any later version. # # pvtrace is distributed in the hope that it will be useful, # but WITHOUT...
38.035088
176
0.61136
1,832
15,176
4.985262
0.13155
0.031534
0.044345
0.031534
0.665608
0.633089
0.597613
0.576152
0.562137
0.546151
0
0.017419
0.285055
15,176
398
177
38.130653
0.824332
0.152412
0
0.630435
0
0
0.011389
0
0
0
0
0
0.003623
1
0.076087
false
0
0.021739
0
0.15942
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
8a50da9ca339ad2c3e097b9d78b1dde9a457d80b
1,037
py
Python
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
import discord import random from datetime import datetime import pandas as pd import matplotlib.pyplot as plt import csv async def plot_user_activity(client, ctx): plt.style.use('fivethirtyeight') df = pd.read_csv('innovators.csv', encoding= 'unicode_escape') author = df['author'].to_list() ...
26.589744
78
0.649952
138
1,037
4.710145
0.543478
0.150769
0.083077
0.049231
0
0
0
0
0
0
0
0.007653
0.243973
1,037
38
79
27.289474
0.821429
0.043394
0
0
0
0
0.14511
0
0
0
0
0
0
1
0
false
0
0.222222
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
8a50f54c898793f1acb00252a2b2f5ed4e326667
790
py
Python
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
61
2020-04-21T18:58:47.000Z
2022-03-26T22:41:45.000Z
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
17
2020-04-21T22:37:17.000Z
2022-03-31T22:36:03.000Z
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
6
2020-07-30T01:41:59.000Z
2022-01-19T10:13:01.000Z
#!/usr/bin/env python3 import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="fastnode2vec", version="0.0.5", author="Louis Abraham", license="MIT", author_email="louis.abraham@yahoo.fr", description="Fast ...
29.259259
83
0.694937
91
790
5.89011
0.769231
0.022388
0
0
0
0
0
0
0
0
0
0.019118
0.139241
790
26
84
30.384615
0.769118
0.026582
0
0
0
0
0.39974
0.089844
0
0
0
0
0
1
0.05
false
0
0.1
0.05
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a522d6b63aaba15a267dd005faa4b6a9a20a8c0
946
py
Python
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
22
2019-04-22T02:13:39.000Z
2021-10-01T22:03:51.000Z
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
1
2019-12-12T20:22:43.000Z
2020-08-30T17:13:00.000Z
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
25
2019-04-09T04:29:50.000Z
2021-12-22T22:17:14.000Z
#!/usr/bin/env python import pwd from ansible.module_utils.basic import AnsibleModule class User: def __init__(self, user): self.user = user # Check if user exists def check_if_user_exists(self): try: user = pwd.getpwnam(self.user) success = True ret_ms...
23.073171
59
0.599366
118
946
4.567797
0.432203
0.06679
0.061224
0.09462
0
0
0
0
0
0
0
0
0.308668
946
40
60
23.65
0.824159
0.099366
0
0
0
0
0.057783
0
0
0
0
0
0
1
0.103448
false
0
0.068966
0
0.241379
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
8a5244b8a475e9cca6ead4f4463ced1af6491956
17,945
py
Python
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
15
2015-03-12T18:14:50.000Z
2022-03-26T10:16:55.000Z
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
19
2015-03-31T20:48:08.000Z
2022-03-30T17:31:49.000Z
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
4
2015-12-16T20:53:34.000Z
2017-12-20T19:50:42.000Z
# Copyright (c) 2020, DjaoDjin inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
29.958264
80
0.51017
1,558
17,945
5.770218
0.220154
0.017019
0.015907
0.023359
0.353504
0.31535
0.298776
0.281646
0.260957
0.248943
0
0.007095
0.379549
17,945
598
81
30.008361
0.800341
0.445361
0
0.156425
0
0
0.038207
0.002839
0
0
0
0
0.011173
1
0.083799
false
0.005587
0.078212
0.03352
0.385475
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
8a5248567c33c615e0f8be2779b082966267e38c
2,740
py
Python
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
from __future__ import print_function import httplib2 import os import sys import pickle from apiclient import discovery from apiclient import errors from oauth2client import client from oauth2client import tools from oauth2client.file import Storage try: import argparse flags = argparse.ArgumentParser(parents...
30.444444
79
0.69635
341
2,740
5.469208
0.366569
0.02252
0.020375
0.02681
0.061126
0.061126
0.061126
0.061126
0.061126
0.061126
0
0.00408
0.194891
2,740
89
80
30.786517
0.841342
0.140876
0
0.114754
0
0
0.123866
0.012704
0
0
0
0
0
1
0.065574
false
0
0.196721
0
0.295082
0.098361
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a525a8a02f61d5499bb1c8bffd7e68682942e12
9,990
py
Python
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
2
2020-01-02T04:52:03.000Z
2020-03-02T04:00:08.000Z
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
8
2018-11-06T10:05:43.000Z
2021-10-09T20:26:16.000Z
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ics2entropiawiki Read an ics file with the entropia events and insert them in to the entropia homepage wiki. Example: $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini Inserts events not in the past to the "Termine" Wiki page and appends past ...
26.289474
116
0.563063
1,111
9,990
4.940594
0.244824
0.018947
0.024777
0.015303
0.102022
0.073237
0.049189
0.049189
0.035343
0.035343
0
0.006103
0.311111
9,990
379
117
26.358839
0.791485
0.155255
0
0.157258
0
0.016129
0.20402
0.026845
0
0
0
0
0
1
0.052419
false
0.024194
0.03629
0
0.133065
0.008065
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a525fbb996d5472af74df006412af4f27d25fa6
527
py
Python
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
175
2019-12-08T19:48:20.000Z
2022-03-24T07:38:08.000Z
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
40
2019-12-07T08:11:41.000Z
2020-10-09T08:11:22.000Z
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
95
2019-12-07T06:25:31.000Z
2022-03-03T20:12:45.000Z
#!/bin/python3 import math import os import random import re import sys # Complete the rotLeft function below. def rotLeft(a, d): alist = list(a) b = alist[d:]+alist[:d] return b if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') nd = input().split() n...
16.46875
49
0.548387
74
527
3.783784
0.581081
0.057143
0.064286
0
0
0
0
0
0
0
0
0.007895
0.278937
527
31
50
17
0.728947
0.094877
0
0
0
0
0.051802
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.368421
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
8a541e67401b79ca7c42ad0362d81bb514bab960
947
py
Python
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
null
null
null
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
null
null
null
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
1
2021-01-04T02:23:00.000Z
2021-01-04T02:23:00.000Z
import os import cflearn import platform import unittest from cfdata.tabular import TabularDataset num_jobs = 0 if platform.system() == "Linux" else 2 logging_folder = "__test_zoo__" class TestZoo(unittest.TestCase): @staticmethod def _test_zoo_core(model: str) -> None: x, y = TabularDataset.iris()....
27.852941
65
0.663147
125
947
4.672
0.448
0.133562
0.056507
0.054795
0.089041
0.089041
0.089041
0
0
0
0
0.002717
0.222809
947
33
66
28.69697
0.790761
0
0
0
0
0
0.06547
0
0
0
0
0
0
1
0.12
false
0
0.2
0
0.36
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
8a54334c8ec0d2c98a16bb220c95973a631adeb1
3,810
py
Python
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
19
2019-03-14T01:39:32.000Z
2022-02-03T00:36:43.000Z
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
1
2020-04-10T01:01:16.000Z
2020-04-10T01:01:16.000Z
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
5
2019-01-02T20:46:05.000Z
2020-07-08T22:47:48.000Z
# # Data Structures: Linked List Merge Sort: The Conquer Step # Python Techdegree # # Created by Dulio Denis on 3/24/19. # Copyright (c) 2019 ddApps. All rights reserved. # ------------------------------------------------ from linked_list import Node, LinkedList def merge_sort(linked_list): ''' Sorts a lin...
32.288136
81
0.630971
546
3,810
4.261905
0.254579
0.09884
0.03223
0.021917
0.226042
0.155565
0.023206
0.023206
0.023206
0
0
0.008617
0.299475
3,810
117
82
32.564103
0.863245
0.425197
0
0.288136
0
0
0
0
0
0
0
0
0
1
0.050847
false
0
0.016949
0
0.169492
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
8a5438fd129b5b6996b6b2555c75bb6bb382b7d5
5,639
py
Python
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
624
2015-01-02T21:45:28.000Z
2022-03-02T11:04:27.000Z
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
65
2015-02-06T09:47:46.000Z
2021-09-26T01:45:26.000Z
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
136
2015-01-07T04:45:41.000Z
2021-11-25T17:46:07.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2013 Ole Krause-Sparmann # 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,...
32.039773
90
0.662529
697
5,639
5.308465
0.291248
0.023784
0.025946
0.030811
0.481081
0.455135
0.432432
0.396757
0.377838
0.377838
0
0.014889
0.201986
5,639
175
91
32.222857
0.807333
0.311048
0
0.551724
0
0
0.164497
0.012739
0
0
0
0
0
1
0.011494
false
0
0.08046
0
0.091954
0.241379
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a54995b61e4b0596e764748ce12766155458309
2,551
py
Python
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
from discord.ext import commands, tasks # Bot Commands Frameworkをインポート import traceback # エラー表示のためにインポート import os import discord import r TOKEN = os.environ['DISCORD_BOT_TOKEN'] prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス # 読み込むコグの名前を格納しておく。 INITIAL_EXTENSIONS = [ 'cogs.eval', 'cogs.glchat', 'cogs...
29.321839
130
0.563701
270
2,551
5.118519
0.462963
0.036179
0.036903
0.027496
0.075253
0.054993
0.054993
0.054993
0.054993
0.054993
0
0.008065
0.319483
2,551
86
131
29.662791
0.788018
0.126617
0
0.231884
0
0
0.118951
0.009498
0
0
0
0
0
1
0.043478
false
0
0.072464
0.014493
0.15942
0.15942
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a54b71c70f57dfff2df2e65acf1f13a323c5a9e
9,468
py
Python
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
""" ================================================================= Spectral Unmixing ================================================================= Suhas Somnath, Rama K. Vasudevan, Stephen Jesse * Institute for Functional Imaging of Materials * Center for Nanophase Materials Sciences Oak Ridge National Labora...
43.036364
120
0.705218
1,320
9,468
4.943939
0.372727
0.011033
0.011033
0.009194
0.024517
0.010113
0.010113
0.010113
0.010113
0.010113
0
0.011642
0.13815
9,468
219
121
43.232877
0.788113
0.617448
0
0.059701
0
0
0.178422
0.014171
0
0
0
0
0
1
0.014925
false
0
0.223881
0
0.238806
0.104478
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a550e70bdbd276329aa52d0c840e8979d0e9e43
2,113
py
Python
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
import discord client = discord.Client() # 接続に使用するオブジェクト # 起動時 @client.event async def on_ready(): print('ログイン成功') # メッセージを監視 @client.event async def on_message(message): # 「/box」が頭についたメッセージならオウム返しする if message.content.startswith('/box'): # 文字から「/box」を抜く question = message.content[len(...
30.623188
69
0.618552
178
2,113
7.185393
0.505618
0.101642
0.070367
0.029711
0.093823
0.060985
0
0
0
0
0
0.047059
0.235684
2,113
68
70
31.073529
0.744892
0.313299
0
0.064516
0
0
0.075193
0
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
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
8a55afc76d238a2edb1a2adff77422f604912e7b
25,760
py
Python
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
from __future__ import absolute_import import types from collections import defaultdict from rpython.tool.ansi_print import AnsiLogger from rpython.tool.pairtype import pair from rpython.tool.error import (format_blocked_annotation_error, gather_error, source_lines) from rpython.flowspace...
40.312989
85
0.604891
2,915
25,760
5.160206
0.172213
0.007978
0.007978
0.00718
0.177702
0.125981
0.11428
0.102579
0.087488
0.076851
0
0.000628
0.319876
25,760
638
86
40.376176
0.857934
0.181211
0
0.237581
0
0
0.027592
0
0
0
0
0
0.038877
1
0.079914
false
0.00432
0.036717
0.00216
0.172786
0.00216
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a5657a9ba609c4b80f71648ff43f36e553c66c2
26,287
py
Python
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
37
2020-04-27T07:45:19.000Z
2021-04-05T07:27:15.000Z
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
33.316857
223
0.608666
2,966
26,287
5.234997
0.070128
0.029755
0.015586
0.022026
0.576351
0.514523
0.4516
0.39222
0.360726
0.321569
0
0.00189
0.235021
26,287
788
224
33.359137
0.770252
0.345494
0
0.498599
0
0
0.211704
0.013192
0
0
0
0
0
1
0.061625
false
0
0.002801
0
0.187675
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
8a56af27e9c2f89056b41302d904e7b48a70d0c4
1,379
py
Python
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
2
2018-03-21T17:55:57.000Z
2018-03-21T17:56:00.000Z
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
null
null
null
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
null
null
null
import abc from utils import LogMixin class Reponse(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def redis(self): """ redis connection """ return @abc.abstractmethod def fetch(self, ids): """ hydrate relevant ids with data """ return class Movies(Rep...
28.729167
94
0.57723
161
1,379
4.832298
0.403727
0.046272
0.051414
0
0
0
0
0
0
0
0
0
0.294416
1,379
47
95
29.340426
0.799589
0.092096
0
0.121212
0
0
0.073052
0.017857
0
0
0
0
0
1
0.151515
false
0
0.060606
0.030303
0.454545
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
8a58853ac66bc8f5b8cfad78774a49e43b593fba
2,786
py
Python
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
135
2016-10-21T03:31:49.000Z
2022-03-25T01:22:20.000Z
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
48
2016-12-08T12:03:13.000Z
2022-02-16T09:16:13.000Z
# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood # Copyright (c) 2009 The Hewlett-Packard Development Company # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source co...
39.8
72
0.709261
387
2,786
5.028424
0.45478
0.02518
0.028263
0.026208
0.094553
0.069887
0.069887
0.069887
0.069887
0.069887
0
0.005533
0.221464
2,786
69
73
40.376812
0.891655
0.576813
0
0
0
0
0.032174
0
0
0
0
0
0
1
0.137931
false
0
0.068966
0.034483
0.344828
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
8a5d2dc08b304db2757537f331d99b9fccf16fe7
3,064
py
Python
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-05-08T13:55:31.000Z
2020-05-08T13:55:31.000Z
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
3
2020-01-16T10:30:28.000Z
2020-01-27T11:23:49.000Z
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-01-16T09:08:14.000Z
2020-01-16T09:08:14.000Z
from graphviz import Digraph from collections import namedtuple class NetworkGraph: ''' Representation of the network connections. This class contains the entities in the network e.g. hosts or switches. And the connections between them. ''' Vertex = namedtuple('Vertexes', ['hosts', 'switc...
29.461538
92
0.582572
351
3,064
4.94302
0.225071
0.027666
0.036311
0.043804
0.162536
0.092795
0.068588
0
0
0
0
0
0.304504
3,064
103
93
29.747573
0.814172
0.320496
0
0.088889
0
0
0.083102
0
0
0
0
0
0
1
0.177778
false
0
0.044444
0
0.422222
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
8a5d6681ce10a3af268cfdb475c6d9aff87499c6
1,211
py
Python
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
null
null
null
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
5
2020-03-04T13:49:10.000Z
2020-03-20T04:06:23.000Z
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
null
null
null
from math import sqrt from skimage import data from skimage.feature import blob_dog, blob_log, blob_doh from skimage.color import rgb2gray from skimage import io import matplotlib.pyplot as plt image = io.imread("star.jpg") image_gray = rgb2gray(image) blobs_log = blob_log(image_gray, max_sigma=30, num_sigma=10, th...
28.833333
74
0.696945
195
1,211
4.169231
0.435897
0.054121
0.04428
0.062731
0.092251
0.068881
0
0
0
0
0
0.025641
0.162675
1,211
42
75
28.833333
0.776134
0.026424
0
0
0
0
0.073005
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a5e3b1295194140be07e7851df9a2e6e39cc960
529
py
Python
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
1
2021-02-16T00:59:29.000Z
2021-02-16T00:59:29.000Z
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
null
null
null
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
null
null
null
from turtle import Turtle SPEED = 10 class Ball(Turtle): def __init__(self): super().__init__() self.penup() self.color("white") self.shape("circle") self.move_speed = 0.1 self.y_bounce = 1 self.x_bounce = 1 def move(self): new_x = self.xcor() ...
20.346154
49
0.551985
76
529
3.592105
0.355263
0.054945
0.120879
0.102564
0.216117
0.139194
0
0
0
0
0
0.030641
0.321361
529
25
50
21.16
0.729805
0
0
0.105263
0
0
0.020833
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a5ec6dd61aef0b828a5fdf8e68715be0262b256
103,584
py
Python
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
1
2021-10-18T01:24:04.000Z
2021-10-18T01:24:04.000Z
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
null
null
null
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
null
null
null
# -*- coding: utf-8 -*- r""" Dirichlet characters A :class:`DirichletCharacter` is the extension of a homomorphism .. MATH:: (\ZZ/N\ZZ)^* \to R^*, for some ring `R`, to the map `\ZZ/N\ZZ \to R` obtained by sending those `x\in\ZZ/N\ZZ` with `\gcd(N,x)>1` to `0`. EXAMPLES:: sage: G = DirichletGroup(35) ...
34.562563
378
0.545557
13,353
103,584
4.161312
0.072568
0.011698
0.0406
0.017781
0.462531
0.399687
0.342728
0.303081
0.278858
0.23581
0
0.049846
0.343431
103,584
2,996
379
34.574099
0.767181
0.598046
0
0.25
0
0.002688
0.059202
0.002134
0
0
0
0
0
1
0.104839
false
0.002688
0.038978
0
0.274194
0.001344
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a5f3213a4f40ad41fa4289061fc1bfb9a560419
6,445
py
Python
src/biotite/file.py
danijoo/biotite
22072e64676e4e917236eac8493eed4c6a22cc33
[ "BSD-3-Clause" ]
208
2018-04-20T15:59:42.000Z
2022-03-22T07:47:12.000Z
src/biotite/file.py
danielmuthama/biotite
cb238a8d8d7dc82b3bcea274d7d91d5c876badcd
[ "BSD-3-Clause" ]
121
2017-11-15T14:52:07.000Z
2022-03-30T16:31:41.000Z
src/biotite/file.py
danielmuthama/biotite
cb238a8d8d7dc82b3bcea274d7d91d5c876badcd
[ "BSD-3-Clause" ]
49
2018-07-19T09:06:24.000Z
2022-03-23T17:21:34.000Z
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. __name__ = "biotite" __author__ = "Patrick Kunzmann" __all__ = ["File", "TextFile", "InvalidFileError"] import abc import io import warnings from .copyable import ...
29.162896
76
0.565244
770
6,445
4.646753
0.280519
0.020961
0.02739
0.017887
0.37479
0.316098
0.304919
0.259922
0.248183
0.226942
0
0.000472
0.342126
6,445
220
77
29.295455
0.843396
0.407758
0
0.43617
0
0
0.079086
0
0
0
0
0
0
1
0.138298
false
0.031915
0.053191
0.010638
0.308511
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
8a5fa0d5b2ac5b94aac410a26a9a516f09e6dcbd
4,918
py
Python
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
5
2021-02-10T02:41:20.000Z
2022-03-12T00:56:56.000Z
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
""" Module for sending Push Notifications """ import logging import requests from django.conf import settings from ...models import PushNotificationTranslation from ...models import Region from ...constants import push_notifications as pnt_const logger = logging.getLogger(__name__) # pylint: disable=too-few-public...
34.391608
110
0.610207
543
4,918
5.355433
0.300184
0.126547
0.048143
0.022696
0.129986
0.082531
0.021321
0
0
0
0
0.001458
0.302765
4,918
142
111
34.633803
0.846603
0.242375
0
0.117647
0
0
0.107421
0.021369
0
0
0
0
0
1
0.070588
false
0
0.070588
0
0.247059
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
8a5fbb70b61ec5fc6c7b862f0da3b78b40dc8aa0
984
py
Python
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: functional.index.create.03 # title: CREATE ASC INDEX # decription: CREATE ASC INDEX # # Dependencies: # CREATE DATABASE # CREATE TABLE # SHOW INDEX # tracker_id: # min_versions: [] # versions: 1.0 # qm...
23.428571
70
0.654472
139
984
4.374101
0.381295
0.039474
0.069079
0.039474
0
0
0
0
0
0
0
0.03836
0.231707
984
41
71
24
0.765873
0.379065
0
0
0
0
0.183502
0
0
0
0
0
0.066667
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a678b6dfe1f80688ee851169cd059181b03b309
5,922
py
Python
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
5,905
2015-01-02T17:05:36.000Z
2022-03-29T07:28:29.000Z
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
6,097
2015-01-01T21:20:25.000Z
2022-03-31T23:55:01.000Z
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
2,202
2015-01-02T18:31:25.000Z
2022-03-28T15:35:03.000Z
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2015 Thomas Voegtlin # # 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...
39.218543
418
0.700777
777
5,922
5.274131
0.365508
0.043924
0.050756
0.051
0.050756
0.015617
0.015617
0
0
0
0
0.035593
0.2077
5,922
150
419
39.48
0.837809
0.295002
0
0.141304
0
0.021739
0.224401
0.165577
0
0
0
0.006667
0.043478
1
0.032609
false
0
0.228261
0
0.293478
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
8a681bd50a01e317584f76158f59adbe05396fb6
61,870
py
Python
specs/d3d11.py
ds-hwang/apitrace
b74347ebae0d033a013c4de3efb0e9165e9cea8f
[ "MIT" ]
1
2017-06-07T15:28:36.000Z
2017-06-07T15:28:36.000Z
specs/d3d11.py
jciehl/apitrace
0e01acc36de14e9ca7c0ced258767ffb99ac96ea
[ "MIT" ]
null
null
null
specs/d3d11.py
jciehl/apitrace
0e01acc36de14e9ca7c0ced258767ffb99ac96ea
[ "MIT" ]
1
2021-05-21T18:27:29.000Z
2021-05-21T18:27:29.000Z
########################################################################## # # Copyright 2012 Jose Fonseca # All Rights Reserved. # # 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 res...
50.016168
596
0.739227
5,939
61,870
7.334063
0.159286
0.037606
0.024336
0.019101
0.440526
0.327731
0.251578
0.217508
0.207177
0.190991
0
0.058657
0.107225
61,870
1,236
597
50.056634
0.729904
0.018846
0
0.214019
0
0
0.419811
0.220379
0
0
0
0
0
1
0
false
0.000935
0.002804
0
0.002804
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
8a682a5b6be55bf5cb429b4f53cde390f56c0458
1,244
py
Python
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
from copy import deepcopy def boot(seq): index = 0 played_indices = set() acc = 0 while True: if index == len(seq): return True, acc if index in played_indices: return False, acc played_indices.add(index) line = seq[index].split() op ...
19.4375
46
0.498392
151
1,244
3.960265
0.324503
0.046823
0.025084
0.033445
0.143813
0.073579
0
0
0
0
0
0.019815
0.391479
1,244
63
47
19.746032
0.770145
0.01045
0
0.142857
0
0
0.017101
0
0
0
0
0
0
1
0.071429
false
0
0.02381
0
0.190476
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
8a685db25a2acacd77798f8f41ad85739a6b001d
3,825
py
Python
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
3
2018-07-02T06:15:36.000Z
2019-06-10T06:26:18.000Z
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
null
null
null
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
1
2018-10-19T08:07:59.000Z
2018-10-19T08:07:59.000Z
# -*- coding: utf-8 -*- """ Created on Tue Jun 26 16:34:21 2018 @author: LiHongWang """ import os import tensorflow as tf from model import fcn_vgg from model import fcn_mobile from model import fcn_resnet_v2 from data import input_data slim = tf.contrib.slim def main(): num_classes...
34.151786
99
0.539608
427
3,825
4.576112
0.412178
0.036847
0.033265
0.027636
0.156602
0.144831
0.113613
0.076766
0.0348
0
0
0.038193
0.363399
3,825
112
100
34.151786
0.764271
0.152941
0
0
0
0
0.059769
0.015424
0
0
0
0
0
1
0.017857
false
0
0.107143
0
0.125
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
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
8a69e368874ca389ea7a44e379f62b44b8a60c98
4,411
py
Python
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
4
2018-12-23T18:17:14.000Z
2020-01-05T19:13:58.000Z
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
16
2019-06-15T00:02:56.000Z
2021-03-25T23:22:38.000Z
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
4
2018-06-03T14:43:25.000Z
2019-11-24T04:05:18.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
38.692982
79
0.682838
620
4,411
4.691935
0.316129
0.037126
0.037126
0.020626
0.341354
0.314541
0.24407
0.236507
0.236507
0.236507
0
0.004148
0.234867
4,411
113
80
39.035398
0.857778
0.533893
0
0.139535
0
0
0.119209
0.019781
0
0
0
0
0
1
0.093023
false
0
0.046512
0
0.27907
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
8a6b4f25018fb455967003872eafa0810ca93675
1,995
py
Python
examples/calc.py
manatlan/htag
cf085077adf04bec8a2b059497efedb210c59936
[ "MIT" ]
1
2022-03-12T09:42:13.000Z
2022-03-12T09:42:13.000Z
examples/calc.py
manatlan/thag
0c57a103a8dbdbf9e1f09c759f1c35c1c3eff359
[ "MIT" ]
null
null
null
examples/calc.py
manatlan/thag
0c57a103a8dbdbf9e1f09c759f1c35c1c3eff359
[ "MIT" ]
null
null
null
import os,sys; sys.path.insert(0,os.path.dirname(os.path.dirname(__file__))) from htag import Tag """ This example show you how to make a "Calc App" (with physical buttons + keyboard events) There is no work for rendering the layout ;-) Can't be simpler ! """ class Calc(Tag.div): statics=[Tag.H.style(""" .myc...
28.913043
96
0.543358
246
1,995
4.341463
0.487805
0.052434
0.044944
0.039326
0.08427
0
0
0
0
0
0
0.015852
0.241103
1,995
68
97
29.338235
0.689564
0.214536
0
0.131579
0
0
0.132616
0.019355
0
0
0
0
0
1
0.131579
false
0
0.078947
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0