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
df6d0d07bf48436061a0838a663ce18440a66dc5
1,675
py
Python
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
1
2017-09-07T21:14:40.000Z
2017-09-07T21:14:40.000Z
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
null
null
null
python/earthquake.py
FranzSchubert92/cw
e59bab1f942f17a17bbf05a3c87733bae6ab1ebb
[ "BSD-3-Clause" ]
null
null
null
""" You have been employed by the Japanese government to write a function that tests whether or not a building is strong enough to withstand a simulated earthquake. A building will fall if the magnitude of the earthquake is greater than the strength of the building. An earthquake takes the form of a 2D-Array. Each ...
33.5
81
0.714627
284
1,675
4.140845
0.415493
0.061224
0.012755
0.017007
0.142007
0.114796
0.065476
0.065476
0.065476
0.042517
0
0.04631
0.174925
1,675
49
82
34.183673
0.804631
0.758209
0
0
0
0
0.083544
0
0
0
0
0
0
1
0.1
false
0
0.3
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
df6d275991d90be0d5dbb0d47ae92a44046ed849
20,186
py
Python
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
1
2020-07-05T04:13:42.000Z
2020-07-05T04:13:42.000Z
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
null
null
null
src/texproject/command.py
alexrutar/texproject
ba7427ecfd7a9141bfce61ae30b2abc3ada69d2c
[ "MIT" ]
null
null
null
"""TODO: write docstring""" from __future__ import annotations from dataclasses import astuple from difflib import unified_diff from functools import update_wrapper from pathlib import Path import sys import tempfile from typing import TYPE_CHECKING import click from . import __version__, __repo__ from .base import ...
30.771341
98
0.648122
2,346
20,186
5.456948
0.193521
0.018903
0.032807
0.037182
0.244962
0.22684
0.213014
0.186924
0.16599
0.155679
0
0.000717
0.239473
20,186
655
99
30.818321
0.833181
0.208511
0
0.331224
0
0
0.112499
0.003075
0
0
0
0.001527
0
1
0.07384
false
0.012658
0.050633
0.006329
0.151899
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6daf8c05e63066bef5079673fe8edf1351a1c1
580
py
Python
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
2
2020-08-24T17:41:45.000Z
2020-08-25T16:48:52.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
3
2017-09-29T17:14:18.000Z
2019-05-20T16:13:39.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
1
2017-09-29T08:53:52.000Z
2017-09-29T08:53:52.000Z
#validate.py #A part of NonVisual Desktop Access (NVDA) #Copyright (C) 2018 NV Access Limited, Babbage B.V., Joseph Lee #This file is covered by the GNU General Public License. #See the file COPYING for more details. """ Module to provide backwards compatibility with add-ons that use the configobj validate modu...
36.25
132
0.772414
82
580
5.463415
0.731707
0.151786
0.089286
0.120536
0
0
0
0
0
0
0
0.010267
0.160345
580
15
133
38.666667
0.909651
0.625862
0
0
0
0
0.421053
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
df6e8b3f79e2738129a3ef4c27c729510c7d4429
5,237
py
Python
test/evaluate/tet_nlg_yongzhuo.py
leileixiao/Macropodus
9de38c06d332bd26e704fd4afd8f44678de7f44f
[ "MIT" ]
485
2019-12-31T16:53:28.000Z
2022-03-31T08:01:30.000Z
test/evaluate/tet_nlg_yongzhuo.py
xiankaigit/Macropodus
1d7b8f9938cb8b6d7744e9caabc3eb41c8891283
[ "MIT" ]
14
2020-03-07T04:17:47.000Z
2022-03-14T01:08:23.000Z
test/evaluate/tet_nlg_yongzhuo.py
xiankaigit/Macropodus
1d7b8f9938cb8b6d7744e9caabc3eb41c8891283
[ "MIT" ]
85
2020-01-16T05:03:07.000Z
2022-03-03T11:42:07.000Z
# !/usr/bin/python # -*- coding: utf-8 -*- # @time : 2020/5/14 21:42 # @author : Mo # @function: nlg-yongzhuo from macropodus.summarize.yongzhuo_nlg import * doc = """PageRank算法简介。" \ "是上世纪90年代末提出的一种计算网页权重的算法! " \ "当时,互联网技术突飞猛进,各种网页网站爆炸式增长。 " \ "业界急需一种相对比较准确的网页重要性计算方法。 "...
31.739394
257
0.709757
584
5,237
6.222603
0.493151
0.042928
0.052834
0.039626
0.32361
0.263071
0.239406
0.239406
0.239406
0.216291
0
0.019111
0.170708
5,237
164
258
31.932927
0.813953
0.06435
0
0.349515
0
0.058252
0.633402
0.390574
0
0
0
0
0
1
0
false
0
0.009709
0
0.009709
0.242718
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df6ec61de92486e850b6c18987f949b40c50bc09
1,240
py
Python
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
scripts/animate_life.py
acse-ogb119/MPI-Game-of-Life
b4658b46b5eccf8dd4f1d9e19d67dd1dbdff1f11
[ "MIT" ]
null
null
null
import glob from PIL import Image from functools import partial # read in metadata file entries to a list of lists print("Loading simulation metadata...") fname = "./outfiles/metadata.txt" file = open(fname, "r") metadata = [] for line in file: line = line.split() metadata.append(line) # parse metadata variab...
27.555556
80
0.640323
182
1,240
4.318681
0.478022
0.111959
0.030534
0
0
0
0
0
0
0
0
0.036
0.193548
1,240
44
81
28.181818
0.75
0.082258
0
0
0
0
0.113757
0.020282
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.121212
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6fb48dc611347e798fac2ea0a1f38ae6f5633f
2,363
py
Python
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
24
2016-04-16T09:10:15.000Z
2022-03-14T08:44:48.000Z
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
10
2020-11-29T13:01:09.000Z
2022-01-22T13:14:32.000Z
computation/turing_machine/rule.py
kigawas/computation-py
4e1dc356c03b845cae1218a244ad2f2ce2b10132
[ "MIT" ]
2
2019-09-21T15:07:41.000Z
2021-03-14T13:38:10.000Z
from dataclasses import dataclass from enum import Enum, auto from typing import List from ..exceptions import Unreachable from ..utils import detect from .tape import Tape, TMConfiguration class Direction(Enum): LEFT = auto() RIGHT = auto() @dataclass class TMRule: state: int character: str ne...
26.852273
78
0.677105
255
2,363
6.145098
0.262745
0.12508
0.122527
0.07275
0.192725
0.160817
0.079132
0.079132
0
0
0
0
0.250529
2,363
87
79
27.16092
0.884811
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.151515
false
0
0.090909
0.106061
0.621212
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
df70c9594d22d90dd33b9f0c85fed78d3076ccbf
659
py
Python
py/List.RandomiseDivide.py
mathematicalmichael/SpringNodes
3ff4034b6e57ee6efa55c963e1819f3d30a2c4ab
[ "MIT" ]
51
2015-09-25T09:30:57.000Z
2022-01-19T14:16:44.000Z
py/List.RandomiseDivide.py
sabeelcoder/SpringNodes
e21a24965474d54369e74d23c06f8c42a7b926b5
[ "MIT" ]
66
2015-09-30T02:43:32.000Z
2022-03-31T02:26:52.000Z
py/List.RandomiseDivide.py
sabeelcoder/SpringNodes
e21a24965474d54369e74d23c06f8c42a7b926b5
[ "MIT" ]
48
2015-11-19T01:34:47.000Z
2022-02-25T17:26:48.000Z
import System pf_path = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFilesX86) import sys sys.path.append('%s\IronPython 2.7\Lib' %pf_path) import random def tolist(x): if hasattr(x,'__iter__'): return x else : return [x] l1, rat, seed = IN l1 = tolist(l1) r = random.Random() r.seed(seed...
21.966667
92
0.657056
118
659
3.618644
0.398305
0.014052
0.046838
0.051522
0
0
0
0
0
0
0
0.052252
0.157815
659
30
93
21.966667
0.717117
0
0
0
0
0
0.043939
0
0
0
0
0
0
1
0.035714
false
0
0.107143
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df716ab6d3838acf70da937bdae974bac37958a0
380
py
Python
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
src/gui/menu/EditMenu.py
daavofficial/Aural
b4ef4170dcc27d87b2a08a9ae59383ea8099e024
[ "MIT" ]
null
null
null
import dearpygui.dearpygui as dpg from helpers.logger import Logger from gui.utils import SaveInit class EditMenu: def __init__(self): self.log = Logger("Aural.GUI.Menus.Edit", "gui.log") with dpg.menu(label="Edit"): dpg.add_menu_item(label="Save Window Configuration", callback=SaveIn...
31.666667
83
0.694737
50
380
5.16
0.6
0.054264
0
0
0
0
0
0
0
0
0
0
0.197368
380
12
84
31.666667
0.845902
0
0
0
0
0
0.215223
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
df722af80887b0cf34a0cea5105db11e889fcaf7
9,621
py
Python
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
4
2021-02-11T22:53:18.000Z
2021-06-11T19:42:34.000Z
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
null
null
null
pipeline/dags/scripts/covid_pandas.py
jjjchens235/covid-compared
c917a3f25738d61d48ce92478c7ef4ef7511d0f9
[ "MIT" ]
1
2021-07-07T15:47:39.000Z
2021-07-07T15:47:39.000Z
""" Using pandas library, move data from John Hopkin's github repo to AWS S3 Data source: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series """ import pandas as pd import numpy as np import re from random import randint import s3fs class CovidDF(): def __init__(s...
46.033493
206
0.640682
1,342
9,621
4.378539
0.209389
0.015657
0.013274
0.016338
0.249149
0.198094
0.161504
0.145507
0.11998
0.078795
0
0.011852
0.228251
9,621
208
207
46.254808
0.779529
0.206216
0
0.133858
0
0.007874
0.182459
0.041616
0
0
0
0
0
1
0.125984
false
0
0.03937
0
0.259843
0.03937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df7273956d579d51d9a921d58eafb733c6b73e6e
429
py
Python
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
home/migrations/0006_userdetail_image.py
sandipsandal/Just-A-Thought
97f97404b303deb2ea7bcc86d89b2b21b3715fba
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.9 on 2020-08-18 18:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_userdetail_mobile'), ] operations = [ migrations.AddField( model_name='userdetail', name='image', ...
22.578947
96
0.613054
47
429
5.489362
0.808511
0
0
0
0
0
0
0
0
0
0
0.060127
0.263403
429
18
97
23.833333
0.756329
0.104895
0
0
1
0
0.167539
0.057592
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df73052f4cad8a4635de60b8e9cbafbbb8b2051f
4,754
py
Python
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
homework3/run.py
IrohXu/NYU_Deep_Reinforcement_Learning
bb8025464b430687c7604e627eefb2908317cfa7
[ "MIT" ]
null
null
null
""" This file will run REINFORCE or PPO code with the input seed and environment. """ import gym import os import argparse import numpy as np import pandas as pd import matplotlib.pyplot as plt # Import ppo files from ppo.ppo import PPO from ppo.reinforce import REINFORCE from ppo.network import FeedForwardN...
37.433071
136
0.635044
590
4,754
4.949153
0.238983
0.057534
0.055479
0.065753
0.662329
0.643493
0.643493
0.643493
0.643493
0.641781
0
0.057302
0.243795
4,754
127
137
37.433071
0.754937
0.17459
0
0.486111
0
0
0.249599
0.089792
0
0
0
0
0
1
0.055556
false
0
0.125
0
0.180556
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df731c4155c626f7babe8aacd42d7cca8b9a0894
595
py
Python
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
cogs/utility/weather.py
austin1965/nuub_bot
08fce234730ce506273199ca9c5c2a5f6e8e925a
[ "MIT" ]
null
null
null
import discord from discord.ext import commands from helpers.getWeather import getWeather class Weather(commands.Cog): """ Weather Module """ def __init__(self, bot): self.bot = bot @commands.command(help="Get Tempurature of Specified Location") async def weather(self, ...
24.791667
101
0.642017
74
595
4.986486
0.472973
0.130081
0.070461
0
0
0
0
0
0
0
0
0
0.258824
595
23
102
25.869565
0.836735
0.023529
0
0
0
0
0.225092
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df733b3b29c36cb38e6e15504e67471f0bd74c1d
1,584
py
Python
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
python/datapro/framework/util.py
jelloslinger/2015-mlb-hackathon
7c0933302e53ee4a869f01e685d629d981f82598
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from copy import deepcopy import pytz def dict_merge(master, merge): """Recursively merge dicts (originally found at https://www.xormedia.com/recursively-merge-dictionaries-in-python/) Args: master (dict): base dictionary merge (dict): dictionary with entries to ...
41.684211
170
0.654672
243
1,584
4.238683
0.502058
0.024272
0.040777
0.023301
0.030097
0.030097
0
0
0
0
0
0.025084
0.244949
1,584
38
171
41.684211
0.83612
0.674242
0
0
0
0
0
0
0
0
0
0.026316
0
1
0.166667
false
0
0.166667
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
1
0
0
0
0
0
0
0
0
0
0
1
df740b38d28505e192ae196bb018bb75253e05d3
1,182
py
Python
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/backoffice/urls.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path, include from .views import * app_name = 'backoffice' urlpatterns = [ path('', BackofficeIndexView.as_view(), name='index'), path('product_handout/', ProductHandoutView.as_view(), name='product_handout'), path('badge_handout/', BadgeHandoutView.as_view(), name='badge_handout'...
49.25
104
0.72758
128
1,182
6.414063
0.367188
0.087698
0.146163
0.051157
0
0
0
0
0
0
0
0
0.107445
1,182
23
105
51.391304
0.778199
0
0
0
0
0
0.331922
0.03641
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df74d470fa60b60b19d913e4eb8d744dd0a7925b
1,451
py
Python
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
76
2021-12-12T08:42:20.000Z
2022-03-31T19:48:46.000Z
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
4
2022-01-04T09:58:39.000Z
2022-03-30T17:00:39.000Z
dynamicProgramming/countOfSubsetsWithSumEqualToX.py
kushvr7/High-On-DSA
d424bd48e35ebd1a588d96c1c0dcb5a9c47a0ef1
[ "MIT" ]
13
2021-12-12T14:44:41.000Z
2022-03-10T14:08:20.000Z
class Solution: # Recursion Approach def countOfSubsetsWithSumEqualToX(self, arr, X): def helper(arr, X, idx): if idx== len(arr): if X ==0: return 1 else : return 0 res = helper(arr, X-arr[idx], idx+1)+ helper(arr, X, idx+1) return res return helper(arr, X, 0) #...
25.45614
110
0.585803
243
1,451
3.497942
0.209877
0.032941
0.345882
0.051765
0.327059
0.209412
0.103529
0.082353
0.082353
0
0
0.073741
0.233632
1,451
56
111
25.910714
0.690647
0.128187
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0.212121
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df753d701a9c63bb526e1e2a53b201e6a617af51
334
py
Python
server/app/services/devices/views/__init__.py
goodfree/ActorCloud
e8db470830ea6f6f208ad43c2e56a2e8976bc468
[ "Apache-2.0" ]
173
2019-06-10T07:14:49.000Z
2022-03-31T08:42:36.000Z
server/app/services/devices/views/__init__.py
zlyz12345/ActorCloud
9c34b371c23464981323ef9865d9913bde1fe09c
[ "Apache-2.0" ]
27
2019-06-12T08:25:29.000Z
2022-02-26T11:37:15.000Z
server/app/services/devices/views/__init__.py
zlyz12345/ActorCloud
9c34b371c23464981323ef9865d9913bde1fe09c
[ "Apache-2.0" ]
67
2019-06-10T08:40:05.000Z
2022-03-09T03:43:56.000Z
from flask import Blueprint bp = Blueprint('devices', __name__) from . import emqx # noqa: E402 from . import devices # noqa: E402 from . import select_options # noqa: E402 from . import groups # noqa: E402 from . import security # noqa: E402 __all__ = [ 'bp', 'emqx', 'devices', 'groups', 'security', 'sele...
20.875
67
0.679641
42
334
5.166667
0.357143
0.230415
0.221198
0.331797
0
0
0
0
0
0
0
0.05597
0.197605
334
15
68
22.266667
0.753731
0.161677
0
0
0
0
0.175182
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0.2
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
df762fc47e8e0a8f06d11c71436c63aab26e2183
398
py
Python
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
null
null
null
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
4
2021-04-30T21:09:19.000Z
2022-03-12T00:19:12.000Z
api/app.py
singhprincejeet/in_poster
1b0e18631ebede94e679eb0aba6c8e7630a02aba
[ "MIT" ]
null
null
null
from flask import Flask, request, send_file from main_controller import MainController app = Flask(__name__) @app.route('/generate', methods=['POST']) def generate(): image_src = MainController().generate_image(request) return send_file(image_src) @app.route('/ping', methods=['GET']) def ping(): ...
23.411765
57
0.673367
52
398
4.807692
0.5
0.024
0.024
0
0
0
0
0
0
0
0
0.012158
0.173367
398
16
58
24.875
0.74772
0
0
0
1
0
0.104712
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df7ebc0c91b4ff97fcdcda3f164a6e33050dcd41
656
py
Python
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
1
2022-02-05T02:11:37.000Z
2022-02-05T02:11:37.000Z
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
null
null
null
python/hps.py
TenType/competition
1715c79c88992e4603b327f962f44eb5bffcb801
[ "MIT" ]
null
null
null
n = int(input()) cow1 = [] cow2 = [] combinations = [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]] results = [] for i in range(0, n): temp1, temp2 = map(int, input().split()) cow1.append(temp1) cow2.append(temp2) # print(cow1) # print(cow2) for j in range(0, 6): result = 0 for k in range(0, n)...
24.296296
101
0.585366
110
656
3.490909
0.3
0.015625
0.0625
0.020833
0
0
0
0
0
0
0
0.102857
0.199695
656
26
102
25.230769
0.628571
0.150915
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df7f6e381001b44fc6f3924b2ba0c8c7b78631c0
22,348
py
Python
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
2
2021-07-17T02:52:09.000Z
2021-08-31T06:39:29.000Z
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
null
null
null
registerwithkeyframes.py
susu1210/3d_object_reconstruction
e8e9674f728a21c66b9766f5367850d1a65c84c2
[ "MIT" ]
null
null
null
""" registerSegments.py --------------- Main Function for registering (aligning) colored point clouds with ICP/feature matching as well as pose graph optimizating """ # import png from PIL import Image import csv import open3d as o3d import pymeshlab import numpy as np import cv2 import os import glob from utils.ply...
39.553982
143
0.629363
2,618
22,348
5.174561
0.167685
0.02436
0.033661
0.017126
0.449472
0.398908
0.375729
0.3245
0.308039
0.281465
0
0.019779
0.273805
22,348
564
144
39.624113
0.814961
0.192724
0
0.301493
0
0
0.040479
0.006671
0
0
0
0
0
1
0.035821
false
0.002985
0.056716
0
0.125373
0.047761
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df7fa36afb82dd6a775f3e50e8df92a47b653553
236
py
Python
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
googlesearchpy/utils.py
meads2/googlesearch
63e6a5afd7f7956a78de5b1543489acbd5de428a
[ "MIT" ]
null
null
null
import pandas from uuid import uuid4 import requests import boto3 def download_file(file_url): ''' ''' pass def upload_file(file, dest): ''' ''' pass def create_file_name(filename): ''' ''' pass
10.727273
31
0.597458
28
236
4.857143
0.607143
0.117647
0
0
0
0
0
0
0
0
0
0.011834
0.283898
236
21
32
11.238095
0.792899
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.4
0
0.7
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
5
df810f766ac032bd1a8acd76c0bfff2a5f05effa
397
py
Python
303.range-sum-query-immutable.py
tsonglew/leetcode-solution
abce0c36def55a8d3bf86fca531246a29920e771
[ "Unlicense" ]
null
null
null
303.range-sum-query-immutable.py
tsonglew/leetcode-solution
abce0c36def55a8d3bf86fca531246a29920e771
[ "Unlicense" ]
null
null
null
303.range-sum-query-immutable.py
tsonglew/leetcode-solution
abce0c36def55a8d3bf86fca531246a29920e771
[ "Unlicense" ]
null
null
null
class NumArray: def __init__(self, nums: List[int]): self.nums_sum = [0]*len(nums) for i, _ in enumerate(nums): self.nums_sum[i] = self.nums_sum[i-1] + (nums[i] if i > 0 else nums[i]) def sumRange(self, left: int, right: int) -> int: return self.nums_sum[right] - self.nums_...
39.7
124
0.607053
67
397
3.41791
0.328358
0.279476
0.336245
0.196507
0.196507
0.196507
0.196507
0.196507
0
0
0
0.019737
0.234257
397
9
125
44.111111
0.733553
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
df814f4feae1e5440a9d12c36e4d1e7468d17310
874
py
Python
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
simple_saga_task_manager/__init__.py
jeremynowell/django-simple-saga-task-manager
7fe0e7773cca2550ee3a954de8e3f7c11eda65a1
[ "Apache-2.0" ]
null
null
null
import sys def inject_default_settings(name): ''' Inject application default settings into config if not already defined. ''' try: __import__('%s.settings' % name) # Import this app defaults app_settings = sys.modules['%s.settings' % name] default_settings = sys.mod...
28.193548
70
0.598398
98
874
5.142857
0.408163
0.14881
0.107143
0.099206
0.222222
0.111111
0
0
0
0
0
0
0.314645
874
30
71
29.133333
0.841402
0.208238
0
0
0
0
0.08982
0.040419
0
0
0
0
0
1
0.066667
false
0.066667
0.2
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
df820b00fafa8e7fb9f86f007a0a19a6003fd3fb
803
py
Python
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
2
2017-01-06T15:32:50.000Z
2020-04-16T20:56:02.000Z
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
null
null
null
advent-of-code/2021/day-15-part-1.py
scorphus/sparring
6e53d81f2db39df58561a7fd941d73090712ba52
[ "MIT" ]
null
null
null
import heapq with open("day-15.txt") as f: lines = [line for line in f.read().rstrip().splitlines()] graph = {} for i, row in enumerate(lines): for j, n in enumerate(row): graph[i, j] = int(n) DELTAS = ( (0, 1), (1, 0), (-1, 0), (0, -1), ) def find_lowest_risk(graph, start, end): ...
21.702703
69
0.506849
124
803
3.25
0.395161
0.059553
0.069479
0.094293
0
0
0
0
0
0
0
0.027726
0.326276
803
36
70
22.305556
0.71719
0
0
0
0
0
0.012453
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.103448
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8350f47114b38736a30f3514c9d0957c34d333
48
py
Python
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
43
2019-10-16T02:56:13.000Z
2022-01-25T02:04:51.000Z
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
6
2019-10-16T03:44:24.000Z
2021-06-19T21:59:09.000Z
bc/utils/__init__.py
rjgpinel/rlbc
55a7499e4ad10182d9a84ce3c2494231db6fd3b5
[ "MIT" ]
11
2020-03-23T01:47:46.000Z
2021-11-25T07:43:25.000Z
from .report import Report from . import videos
16
26
0.791667
7
48
5.428571
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
2
27
24
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
df8389a51571d4ddf8c97a80d51e7fea22e8bf63
770
py
Python
nxapi_plumbing/errors.py
markkuleinio/nxapi-plumbing
7b8646272e8a2cc71744fa07a7ad2fbb23a9e136
[ "Apache-2.0" ]
null
null
null
nxapi_plumbing/errors.py
markkuleinio/nxapi-plumbing
7b8646272e8a2cc71744fa07a7ad2fbb23a9e136
[ "Apache-2.0" ]
null
null
null
nxapi_plumbing/errors.py
markkuleinio/nxapi-plumbing
7b8646272e8a2cc71744fa07a7ad2fbb23a9e136
[ "Apache-2.0" ]
null
null
null
class NXAPIError(Exception): """Generic NXAPI exception.""" pass class NXAPICommandError(NXAPIError): def __init__(self, command, message): self.command = command self.message = message def __repr__(self): return 'The command "{}" gave the error "{}".'.format( sel...
18.333333
65
0.654545
77
770
6.337662
0.467532
0.07377
0.07377
0
0
0
0
0
0
0
0
0
0.235065
770
41
66
18.780488
0.828523
0.242857
0
0.263158
0
0
0.066427
0
0
0
0
0
0
1
0.105263
false
0.263158
0
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
df84a7a243315f70e25d11411c0e01399e194143
8,223
py
Python
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
1
2021-12-17T10:43:40.000Z
2021-12-17T10:43:40.000Z
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
import logging import pytest from . import dcos_version from .. import http, VERSION as SHAKEDOWN_VERSION from ..clients import dcos_url_path from ..clients.mesos import DCOSClient from distutils.version import LooseVersion logger = logging.getLogger(__name__) dcos_1_12 = pytest.mark.skipif('dcos_version_less_than(...
28.852632
86
0.665329
1,078
8,223
4.859926
0.166976
0.024814
0.039702
0.025387
0.414965
0.366864
0.313419
0.276389
0.221035
0.221035
0
0.00931
0.229357
8,223
284
87
28.954225
0.817421
0.243828
0
0.228758
0
0
0.104097
0.032978
0
0
0
0
0
1
0.222222
false
0.013072
0.045752
0.111111
0.535948
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df84b813e3c65c88ad94c8eed596c5b13b13d18b
567
py
Python
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
1
2020-11-08T07:26:22.000Z
2020-11-08T07:26:22.000Z
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
null
null
null
gesture_digit_prediction_app/hello/models.py
qiulongquan/DS_Research
864181b458e5af6f22b471d1598b7d96b3efc757
[ "Apache-2.0" ]
null
null
null
from django.db import models class Hello(models.Model): your_name = models.CharField(max_length=15) def __str__(self): return "<{0}>".format(self.your_name) class Qiu(models.Model): qiu_name = models.CharField(max_length=15) def __str__(self): return self.qiu_name class Hello1(mo...
20.25
47
0.68254
79
567
4.607595
0.367089
0.120879
0.197802
0.263736
0.434066
0.357143
0.357143
0.252747
0.252747
0.252747
0
0.030369
0.186949
567
27
48
21
0.759219
0
0
0.1875
0
0
0.022928
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0.1875
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
df84f594b338b4f46fb674c3da1a1636f8537245
766
py
Python
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
null
null
null
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
4
2020-06-06T00:12:42.000Z
2022-03-12T00:32:10.000Z
src/img_util.py
naem1023/comic-crawler
24daaea231122e5049af44153eb320f76deffde2
[ "MIT" ]
null
null
null
def delete_navi_bar(driver): """Delete navigation of page for capturing clear image. """ js_string = """ function f() { var x = document.getElementsByClassName("manga-bottom-navi"); for(var i = x.length - 1; i >= 0; i--) { x[i].parentNode.removeChild(x[i]); } } f(); ...
24.709677
64
0.574413
93
766
4.623656
0.408602
0.074419
0.074419
0.07907
0.567442
0.567442
0.567442
0.567442
0.330233
0.330233
0
0.007181
0.272846
766
31
65
24.709677
0.764811
0.177546
0
0.636364
0
0
0.678218
0.282178
0
0
0
0
0
1
0.090909
false
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df85135a7ca551c37959030d0ede868200ce2534
1,621
py
Python
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
mycleanup.py
azam-a/newdeployments
eb23fa35f2c200b9726760e70a36e95ba277478f
[ "MIT" ]
null
null
null
import re from mydeploy import ( get_file_objects, S3Util, ) from environment_config import ( AWS_CONFIG_PATH, AWS_PROFILE, CSS_BUCKET, IMAGE_BUCKET, JS_BUCKET, CSS_PREFIX, IMAGE_PREFIX, JS_PREFIX, XML_PATH ) def cleanup_main(): c = S3Util.create_connection_...
25.730159
75
0.587909
196
1,621
4.464286
0.321429
0.028571
0.032
0.036571
0.269714
0.153143
0.153143
0.08
0.08
0
0
0.008889
0.305984
1,621
62
76
26.145161
0.768889
0
0
0
0
0
0.106173
0
0
0
0
0
0
1
0.069767
false
0
0.069767
0.046512
0.186047
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df867ad23e683b9a9e6885db5e7d9658c76ccb74
4,276
py
Python
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
menu.py
ateesdalejr/gseepy
696b415b1eba9cf1e44ec3b84aff5fcabd12e26e
[ "MIT" ]
null
null
null
import sys class DirEntity: def __init__(self, type_char, user_name, selector, host, port): self.type = type_char self.user_name = user_name self.selector = selector self.host = host self.port = port def __eq__(self, other): if type(other) != type(sel...
30.326241
93
0.520814
527
4,276
3.994307
0.252372
0.072209
0.029929
0.04038
0.160095
0.142993
0.088361
0.034204
0.034204
0.034204
0
0.013658
0.366464
4,276
140
94
30.542857
0.763381
0.151544
0
0.125
0
0
0.057698
0.015184
0
0
0
0.007143
0
1
0.15625
false
0
0.010417
0.020833
0.28125
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df86d5c6b4b089e29b6cb8ffc873290fe6e91206
184
py
Python
script/idp_testdrv.py
skanct/pysaml2
0c1e26a6dd8759962857a30ebd67f63fe9e881ee
[ "Apache-2.0" ]
249
2018-03-01T09:47:04.000Z
2022-03-26T04:51:26.000Z
desktop/core/ext-py/pysaml2-4.4.0/script/idp_testdrv.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
416
2018-02-21T15:18:35.000Z
2022-03-04T16:59:36.000Z
desktop/core/ext-py/pysaml2-4.4.0/script/idp_testdrv.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
203
2018-02-21T13:53:12.000Z
2022-03-08T22:22:17.000Z
#!/usr/bin/env python __author__ = 'rohe0002' #from idp_test import saml2base from idp_test import SAML2client from idp_test.check import factory cli = SAML2client(factory) cli.run()
20.444444
34
0.793478
27
184
5.148148
0.592593
0.151079
0.23741
0.244604
0
0
0
0
0
0
0
0.04321
0.119565
184
9
35
20.444444
0.814815
0.271739
0
0
0
0
0.06015
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
df89b374617f742546d6eb7e0fd0ae663bedfddc
5,265
py
Python
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
2
2018-08-05T15:50:12.000Z
2019-01-24T05:52:02.000Z
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
null
null
null
06-learning-to-classify-text/util/data_util.py
SolangeUG/nltk-book
05051325a64836ae5c89d18f3c2145e9a6c4f0ae
[ "Apache-2.0" ]
null
null
null
import os import gzip import json import numpy import urllib.request from nltk.sentiment.util import mark_negation from nltk.corpus import stopwords, opinion_lexicon from nltk.tokenize import sent_tokenize, word_tokenize def download_data(dataset_name, directory_name): """ Download a given dataset name into a...
38.430657
100
0.677113
723
5,265
4.795297
0.24758
0.041246
0.028843
0.034612
0.24488
0.207961
0.124892
0.068936
0.068936
0.060571
0
0.00898
0.238557
5,265
136
101
38.713235
0.855824
0.318898
0
0.028571
0
0
0.082083
0
0
0
0
0
0
1
0.1
false
0
0.114286
0
0.314286
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8a5491c4a53b67677666f587efabbb177459a7
12,698
py
Python
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
mdrparser.py
tringcooler/MODRON
c0cac79d1d008ffc51d9caf44f1cd299ca586682
[ "MIT" ]
null
null
null
#! python3 # coding: utf-8 KLX_CMT = '#' KLX_NL = '\n' KW_LBL = ':' KW_SPL = '/' KW_BR1 = '(' KW_BR2 = ')' PRMTCH = lambda s, d: len(s) >= len(d) and s[:len(d)] == d class err_lexer(Exception): pass class err_syntax(Exception): pass class c_lexer: def __init__(self, raw): self.raw = raw ...
26.509395
77
0.448968
1,557
12,698
3.60501
0.127168
0.036879
0.020844
0.025655
0.409941
0.381614
0.333155
0.274185
0.229111
0.21664
0
0.007142
0.415577
12,698
478
78
26.564854
0.749225
0.001811
0
0.440476
0
0
0.079145
0.001973
0
0
0
0
0
1
0.111905
false
0.007143
0.002381
0.011905
0.197619
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8a61948b20fa7f74303bd764e0bddf4135648b
1,373
py
Python
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
965.univalued-binary-tree.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
# coding=utf-8 # # @lc app=leetcode id=965 lang=python # # [965] Univalued Binary Tree # # https://leetcode.com/problems/univalued-binary-tree/description/ # # algorithms # Easy (66.96%) # Likes: 222 # Dislikes: 36 # Total Accepted: 43.7K # Total Submissions: 65.3K # Testcase Example: '[1,1,1,1,1,null,1]' # # A ...
18.306667
85
0.595047
198
1,373
4.106061
0.459596
0.01968
0.02214
0.01968
0.071341
0.0246
0.0246
0
0
0
0
0.04829
0.276038
1,373
74
86
18.554054
0.769618
0.531682
0
0.25
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
df8a6798247986c50a85f8670d6092c7023d686b
4,501
py
Python
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
null
null
null
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
13
2018-04-03T20:34:17.000Z
2018-04-20T08:33:50.000Z
application/pca.py
AdamuKaapan/natrium
b94527b287ec2c626be2fe37208bb043aab68b48
[ "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python3 """ Standalone script for evaluating a dataset. Calculates measures of label quality and tries to spot outliers. Usage: python3 investigate.py <filename>""" import argparse import pandas as pd import numpy as np import math import matplotlib import matplotlib.pyplot as plt from mpl_toolkit...
31.041379
120
0.614974
629
4,501
4.260731
0.36725
0.043657
0.015672
0.014552
0
0
0
0
0
0
0
0.023655
0.248611
4,501
144
121
31.256944
0.768776
0.107976
0
0.116505
0
0
0.111362
0.009301
0
0
0
0
0
1
0.07767
false
0
0.07767
0.009709
0.194175
0.009709
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8ace422d0773f016abe3a66ba963ff2a2e4e02
1,571
py
Python
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
src/metrics/patterns.py
dapaulid/life
365e717f4080b1a1439767d5119dfca0a15d194b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- """ @license Copyright (c) Daniel Pauli <dapaulid@gmail.com> This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. """ #------------...
29.641509
80
0.299173
101
1,571
4.564356
0.574257
0.034707
0.045553
0.052061
0.019523
0.019523
0.019523
0.019523
0
0
0
0.008869
0.138765
1,571
52
81
30.211538
0.331855
0.718651
0
0
0
0
0.020305
0
0
0
0
0.019231
0
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
df8adf88d2253216c359a48351327728bebbd134
4,241
py
Python
seq2annotation/trainer/cli_keras_with_static_constraint.py
shfshf/seq2annotation
d4bf88a869631b43fa2974c2ffa1c5dd6a7623ed
[ "Apache-2.0" ]
90
2018-11-29T07:05:16.000Z
2021-11-22T11:32:58.000Z
seq2annotation/trainer/cli_keras_with_static_constraint.py
shfshf/seq2annotation
d4bf88a869631b43fa2974c2ffa1c5dd6a7623ed
[ "Apache-2.0" ]
50
2019-06-27T07:11:18.000Z
2022-02-10T00:01:02.000Z
seq2annotation/trainer/cli_keras_with_static_constraint.py
lanSeFangZhou/seq2annotation
a824520d46f0b3d70268fae422976a5ce1b3f4ce
[ "Apache-2.0" ]
23
2019-01-03T14:57:15.000Z
2022-03-08T07:50:33.000Z
import json import os from collections import Counter import numpy as np import tensorflow as tf from tensorflow.python.keras import models from tensorflow.python.keras.layers import Embedding, Bidirectional, LSTM from tensorflow.python.keras.models import Sequential from tensorflow.python.keras import layers from io...
32.875969
90
0.741335
614
4,241
4.806189
0.288274
0.028465
0.040325
0.033887
0.163673
0.120637
0.077262
0.048119
0
0
0
0.006175
0.159868
4,241
128
91
33.132813
0.82206
0.240981
0
0.027778
0
0
0.015649
0.009077
0
0
0
0
0
1
0.027778
false
0
0.236111
0.013889
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8b407a97a9963fd97e20231c745cbbd8f314bf
302
py
Python
src/cores/kb_solve/directions.py
snowdence/hcmus_ai_wumpus
a4f98cd294765b7094419e36a4f066a548123fe3
[ "MIT" ]
null
null
null
src/cores/kb_solve/directions.py
snowdence/hcmus_ai_wumpus
a4f98cd294765b7094419e36a4f066a548123fe3
[ "MIT" ]
null
null
null
src/cores/kb_solve/directions.py
snowdence/hcmus_ai_wumpus
a4f98cd294765b7094419e36a4f066a548123fe3
[ "MIT" ]
null
null
null
class DIRECTIONS: UP = (0, 1) # North UP South DOWN West LEFT EAST RIGHT DOWN = (0, -1) RIGHT = (1, 0) LEFT = (-1, 0) NORTH = (0, 1) SOUTH = (0, -1) EAST = (1, 0) WEST = (-1, 0) l_directions = [UP, DOWN, RIGHT, LEFT] LM_DIRECTIONS = [NORTH, SOUTH, EAST, WEST]
23.230769
59
0.513245
46
302
3.326087
0.304348
0.052288
0
0
0
0
0
0
0
0
0
0.078049
0.321192
302
12
60
25.166667
0.668293
0.13245
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
df8ded00dd28c0e6b3a11975940107dae04c01d4
100,345
py
Python
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
apfell_api_wrapper/apfell_cli.py
Dviros/Apfell
c9089afb208bff310a8e6d8389cbccd6ae633f87
[ "BSD-3-Clause" ]
null
null
null
import aiohttp import asyncio import json from typing import Dict, List, Union async def json_print(thing): print(json.dumps(thing, indent=2, default=lambda o: o.to_json())) async def json_apfell_obj(thing): return json.loads(json.dumps(thing, default=lambda o: o.to_json())) class APIToken: def __init...
36.383249
186
0.587722
11,424
100,345
4.973127
0.0323
0.029747
0.013201
0.018253
0.753578
0.659919
0.618749
0.60157
0.581997
0.561949
0
0.004742
0.316966
100,345
2,757
187
36.396445
0.824173
0.040809
0
0.700753
0
0
0.030034
0.009859
0
0
0
0
0
1
0.164232
false
0.00664
0.001771
0.075697
0.293935
0.005312
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df8ecfcf14d1349c62ad20d2cef2d653f9568c1a
1,932
py
Python
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
8
2020-05-15T13:57:54.000Z
2022-02-23T23:21:15.000Z
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
1
2020-02-28T13:42:45.000Z
2020-03-02T19:12:22.000Z
source_code/scree_plot.py
sdyinzhen/AutoBEL
213011ef8c6d2bcc16ac92a263e615f4a7033ff4
[ "MIT" ]
7
2019-10-24T09:57:25.000Z
2022-02-23T23:20:50.000Z
#Author: David Zhen Yin #Contact: yinzhen@stanford.edu #Date: September 11, 2018 import numpy as np import matplotlib.pyplot as plt def scree_plot(input_data, data_name, keep_info_prcnt, plotORnot): '''This is the PCA scree plot function, This function also report the number of PCs that preserves the assig...
55.2
128
0.669772
294
1,932
4.285714
0.44898
0.05
0.04127
0.02619
0.120635
0.084127
0
0
0
0
0
0.032092
0.193582
1,932
35
129
55.2
0.776637
0.30176
0
0
0
0
0.103156
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df8f7ab90da5fa178b8ded136f6a227273e014cb
2,281
py
Python
neoman/yubicommon/qt/__init__.py
Yubico/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
5
2015-05-14T16:26:26.000Z
2021-11-16T21:26:38.000Z
neoman/yubicommon/qt/__init__.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
2
2015-01-30T10:30:41.000Z
2015-04-16T09:31:38.000Z
neoman/yubicommon/qt/__init__.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
4
2015-05-14T16:26:30.000Z
2021-11-16T21:26:28.000Z
# Copyright (c) 2013 Yubico AB # 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 conditi...
38.661017
76
0.73345
310
2,281
5.348387
0.525806
0.024125
0.018094
0.027744
0.110977
0.082027
0.082027
0.082027
0.082027
0.082027
0
0.009863
0.199912
2,281
58
77
39.327586
0.89863
0.629987
0
0
0
0
0.098522
0
0
0
0
0
0
1
0.043478
false
0
0.391304
0
0.434783
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
df905bc351d7f12704a926c3971aa0f08d744fbd
286
py
Python
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
p7.py
rammyaiyer55/Introduction-into-Python
6c9220de4dc30e406bf76f637ad3a4818cead9f1
[ "MIT" ]
null
null
null
t=int(input("Enter the number of test cases:")) temp='' msg=input("Enter your message:") print(len(msg)) ss=list(msg) if ss%2==0: for i in range(len(ss)): if i%2==0: temp+=ss[i].upper() else: temp+=ss[i].lower() else: for i in range(len(ss)): if print(temp)
19.066667
48
0.587413
54
286
3.111111
0.5
0.119048
0.071429
0.130952
0.214286
0.214286
0.214286
0
0
0
0
0.017544
0.202797
286
15
49
19.066667
0.719298
0
0
0.266667
0
0
0.18315
0
0
0
0
0
0
0
null
null
0
0
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df911bbf31e9124090bd4e868dde32db29f1bbb5
2,395
py
Python
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
2
2021-09-01T07:25:28.000Z
2021-09-16T16:47:45.000Z
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
19
2021-09-06T14:36:44.000Z
2022-03-30T06:20:42.000Z
examples/e3_sensitivity_analysis_example.py
RWTH-EBC/AixCaliBuHA
2f01035d3c966b465dedf9243674fbb3b35ac7f0
[ "MIT" ]
null
null
null
""" Example file for the senstivity_analyzer package. The usage of modules and classes inside the senanalyzer package should be clear when looking at the examples. If not, please raise an issue. Goals of this part of the examples: 1. Learn how to execute a sensitivity analysis 2. Learn how to automatically select sens...
38.015873
89
0.699791
303
2,395
5.356436
0.39934
0.029575
0.012323
0.030807
0.034504
0
0
0
0
0
0
0.005495
0.240084
2,395
62
90
38.629032
0.886264
0.473069
0
0
0
0
0.144915
0.030508
0
0
0
0
0
1
0.04
false
0
0.08
0
0.16
0.16
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df91d1ada3f3d05c025daba9488ddff7b71f714b
1,985
py
Python
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
53
2017-04-29T16:39:13.000Z
2022-01-25T23:46:31.000Z
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
9
2017-11-22T18:22:17.000Z
2020-06-05T19:26:07.000Z
setup.py
seek-ai/esengine
5e17c5fa9b6990963e3e61e6010ce7c177c9b2c5
[ "MIT" ]
13
2017-10-27T13:44:04.000Z
2021-02-28T12:33:04.000Z
# coding: utf-8 import os import re try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = "Elasticsearch ODM...
26.824324
66
0.617632
246
1,985
4.853659
0.495935
0.008375
0.062814
0.065327
0.080402
0.080402
0
0
0
0
0
0.038015
0.218136
1,985
73
67
27.191781
0.731314
0.03728
0
0.033333
0
0
0.380503
0.039832
0
0
0
0
0
1
0.05
false
0
0.116667
0.033333
0.216667
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df91f102ccd7ef11d324316885afcaaad8f975b0
9,350
py
Python
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
oss-compliance/check-oss-licenses.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env runpipenv # Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 import os import xml.etree.ElementTree as ET import sys import csv import re import argparse import os.path NO_LICENSE = 'No license information available' ...
40.652174
135
0.673904
1,098
9,350
5.442623
0.173042
0.092035
0.057229
0.02008
0.262383
0.194444
0.150268
0.118809
0.104752
0.059906
0
0.002435
0.209305
9,350
229
136
40.829694
0.805897
0.022353
0
0.097297
0
0
0.198424
0.02167
0
0
0
0
0
1
0.081081
false
0
0.037838
0
0.210811
0.07027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df92dd7a57c9a33e613c07064ef90d83f737c5b5
142
py
Python
libreasso/communication/apps.py
codoit/libreasso
fd9f12e958be4087d3a70582677007ed7f7a6eb3
[ "MIT" ]
1
2016-12-19T17:26:00.000Z
2016-12-19T17:26:00.000Z
libreasso/communication/apps.py
codoit/libreasso
fd9f12e958be4087d3a70582677007ed7f7a6eb3
[ "MIT" ]
17
2017-01-05T15:54:03.000Z
2017-01-05T15:55:13.000Z
libreasso/communication/apps.py
codoit/libreasso
fd9f12e958be4087d3a70582677007ed7f7a6eb3
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class CommunicationConfig(AppConfig): name = 'communication'
17.75
39
0.809859
15
142
7.333333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.140845
142
7
40
20.285714
0.901639
0
0
0
0
0
0.091549
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
df95e33af5973f76af473d1aa018e47f13e911d4
4,930
py
Python
src/ctc/rpc/rpc_executors_async/rpc_state_executors_async.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
94
2022-02-15T19:34:49.000Z
2022-03-26T19:26:22.000Z
src/ctc/rpc/rpc_executors_async/rpc_state_executors_async.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-03-03T02:58:47.000Z
2022-03-11T18:41:05.000Z
src/ctc/rpc/rpc_executors_async/rpc_state_executors_async.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-02-15T17:53:07.000Z
2022-03-17T19:14:17.000Z
from __future__ import annotations import typing from ctc import evm from ctc import spec from .. import rpc_constructors from .. import rpc_digestors from .. import rpc_request async def async_eth_call( to_address: spec.Address, from_address: spec.BinaryData | None = None, gas: spec.BinaryData | None ...
31.806452
71
0.704665
585
4,930
5.622222
0.121368
0.043782
0.054728
0.06689
0.799331
0.753116
0.734266
0.734266
0.734266
0.717543
0
0
0.218256
4,930
154
72
32.012987
0.853399
0.009331
0
0.674242
0
0
0.003689
0
0
0
0
0
0
1
0
false
0
0.05303
0
0.090909
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
10bf0228693f50f71f5415fe85ef0dbd66b187d3
939
py
Python
RadioStation/Media/Media.py
m-mohiey/AutomaticRadioStation
9ec3935e08ef58302d314387bc107bd1be8a6418
[ "MIT" ]
null
null
null
RadioStation/Media/Media.py
m-mohiey/AutomaticRadioStation
9ec3935e08ef58302d314387bc107bd1be8a6418
[ "MIT" ]
null
null
null
RadioStation/Media/Media.py
m-mohiey/AutomaticRadioStation
9ec3935e08ef58302d314387bc107bd1be8a6418
[ "MIT" ]
null
null
null
import ffmpeg from datetime import timedelta class Media: def __init__(self, path): self.path = path self._metadata = ffmpeg.probe(path)['format'] @property def duration(self): return timedelta(seconds=float(self._metadata['duration'])) @property def media_type(self): ...
28.454545
245
0.650692
149
939
3.946309
0.355705
0.102041
0.040816
0.040816
0.142857
0.040816
0
0
0
0
0
0.089147
0.175719
939
33
246
28.454545
0.670543
0
0
0.166667
0
0.041667
0.287234
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.166667
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
10bf89bcb843569b19b7f60f702ee2b9ea5cd457
1,731
py
Python
cogeo_mosaic/backends/__init__.py
drnextgis/cogeo-mosaic
034d0124a2da894c2bb432b1c0cebba7f716edbd
[ "MIT" ]
null
null
null
cogeo_mosaic/backends/__init__.py
drnextgis/cogeo-mosaic
034d0124a2da894c2bb432b1c0cebba7f716edbd
[ "MIT" ]
null
null
null
cogeo_mosaic/backends/__init__.py
drnextgis/cogeo-mosaic
034d0124a2da894c2bb432b1c0cebba7f716edbd
[ "MIT" ]
null
null
null
"""cogeo_mosaic.backends.""" from typing import Any from urllib.parse import urlparse from cogeo_mosaic.backends.base import BaseBackend from cogeo_mosaic.backends.dynamodb import DynamoDBBackend from cogeo_mosaic.backends.file import FileBackend from cogeo_mosaic.backends.memory import MemoryBackend from cogeo_mosai...
31.472727
70
0.674754
202
1,731
5.737624
0.316832
0.085418
0.147541
0.158758
0.056946
0.056946
0
0
0
0
0
0.003546
0.185442
1,731
54
71
32.055556
0.81844
0.149047
0
0
0
0
0.05567
0
0
0
0
0
0
1
0.032258
false
0
0.322581
0
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
10bfed5cbc51ad7c7539fdeda3a165f6867a4380
2,791
py
Python
poetics/classes/word.py
M-R-Epstein/poetics
6331517c22ca567b9c68e2c668f670855e2ba618
[ "MIT" ]
4
2019-02-21T20:53:57.000Z
2022-03-12T16:36:02.000Z
poetics/classes/word.py
M-R-Epstein/poetics
6331517c22ca567b9c68e2c668f670855e2ba618
[ "MIT" ]
1
2019-02-19T14:37:29.000Z
2019-02-19T14:37:29.000Z
poetics/classes/word.py
M-R-Epstein/poetics
6331517c22ca567b9c68e2c668f670855e2ba618
[ "MIT" ]
null
null
null
import logging from poetics.lookups import get_pronunciations, check_onomatopoetic from poetics.classes.pronunciation import Pronunciation from poetics.stemmer import stem class Word: def __init__(self, word, user_pronunciation=None, parent=None): self.parent = parent self.token = word se...
41.656716
117
0.52741
264
2,791
5.409091
0.306818
0.061625
0.033613
0.047619
0.172269
0.172269
0.131653
0.054622
0
0
0
0.006814
0.369043
2,791
66
118
42.287879
0.804089
0.037979
0
0.172414
0
0
0.030201
0
0
0
0
0
0
1
0.051724
false
0
0.068966
0.034483
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c0870da00b35c6778a8e70ca0a44b497c66b39
2,708
py
Python
app/patterns/schools.py
Zadigo/ze_mailer
1398a84cb8e836637a2ad72aef2f6f417c00b14e
[ "MIT" ]
1
2020-06-30T21:06:02.000Z
2020-06-30T21:06:02.000Z
app/patterns/schools.py
Zadigo/ze_mailer
1398a84cb8e836637a2ad72aef2f6f417c00b14e
[ "MIT" ]
null
null
null
app/patterns/schools.py
Zadigo/ze_mailer
1398a84cb8e836637a2ad72aef2f6f417c00b14e
[ "MIT" ]
null
null
null
"""This module regroups preset patterns related to schools in order to quickly create emails using the NamesAlgorithm Description ----------- You can either subclass an already defined school or create a new school by subclass NamePatterns. For instance, improving a school would look like this: class EDHEC2(EDHE...
23.964602
78
0.638848
302
2,708
5.698676
0.44702
0.170831
0.069727
0.087159
0.196979
0.07147
0
0
0
0
0
0.003428
0.245938
2,708
112
79
24.178571
0.839373
0.550222
0
0.333333
0
0
0.16835
0
0
0
0
0
0
1
0
false
0
0.02381
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
10c08de6fd348e965adc6b4cd3b914c3ed69fd8d
821
py
Python
languages/ga/normalizer.py
borisdayma/wav2vec-toolkit
595500997cc3b71ec05995345fca888ae515b516
[ "Apache-2.0" ]
24
2021-04-02T20:54:45.000Z
2021-11-22T05:37:34.000Z
languages/ga/normalizer.py
borisdayma/wav2vec-toolkit
595500997cc3b71ec05995345fca888ae515b516
[ "Apache-2.0" ]
2
2021-04-04T03:45:38.000Z
2021-04-19T12:59:37.000Z
languages/ga/normalizer.py
borisdayma/wav2vec-toolkit
595500997cc3b71ec05995345fca888ae515b516
[ "Apache-2.0" ]
10
2021-04-02T20:57:38.000Z
2021-11-17T07:35:59.000Z
from typing import Any from wav2vec_toolkit.text_preprocessing.normalizers import NormalizerOperation def is_upper_vowel(letter): return letter in ["A", "E", "I", "O", "U", "Á", "É", "Í", "Ó", "Ú"] def irish_lower_word(word): if len(word) > 1 and word[0] in ["n", "t"] and is_upper_vowel(word[1]): r...
30.407407
87
0.634592
112
821
4.464286
0.544643
0.03
0.048
0
0
0
0
0
0
0
0
0.012214
0.202192
821
26
88
31.576923
0.751145
0
0
0
0
0
0.047503
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.055556
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
10c21646af3e0a3b43959840da1cc1ba5fb1fa68
6,077
py
Python
python/pyxbos/pyxbos/nullabletypes_pb2.py
akshephard/xboswave
e254ec307265da61a2f8d76cadc40b8d1e7f2f1a
[ "BSD-3-Clause" ]
null
null
null
python/pyxbos/pyxbos/nullabletypes_pb2.py
akshephard/xboswave
e254ec307265da61a2f8d76cadc40b8d1e7f2f1a
[ "BSD-3-Clause" ]
null
null
null
python/pyxbos/pyxbos/nullabletypes_pb2.py
akshephard/xboswave
e254ec307265da61a2f8d76cadc40b8d1e7f2f1a
[ "BSD-3-Clause" ]
1
2019-06-23T05:44:46.000Z
2019-06-23T05:44:46.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: nullabletypes.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as ...
26.889381
342
0.729636
739
6,077
5.698241
0.17456
0.037996
0.054856
0.015436
0.589884
0.556637
0.530515
0.504393
0.486345
0.417478
0
0.044873
0.138226
6,077
225
343
27.008889
0.759213
0.067961
0
0.605263
1
0.005263
0.128582
0.055713
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10c26729944d8e47d9f5c6b192937359e48e63ef
4,584
py
Python
housing_prices_kaggle/results/2020-04-29/runall.py
be2112/modeling_projects
db870ad684d31f1c95b66a782c8bbffacb55c352
[ "MIT" ]
null
null
null
housing_prices_kaggle/results/2020-04-29/runall.py
be2112/modeling_projects
db870ad684d31f1c95b66a782c8bbffacb55c352
[ "MIT" ]
null
null
null
housing_prices_kaggle/results/2020-04-29/runall.py
be2112/modeling_projects
db870ad684d31f1c95b66a782c8bbffacb55c352
[ "MIT" ]
null
null
null
# runall.py from collections import OrderedDict from sklearn.ensemble import RandomForestRegressor from sklearn.impute import SimpleImputer from sklearn.model_selection import ShuffleSplit from sklearn.pipeline import Pipeline from sklearn.pipeline import make_pipeline, FeatureUnion from sklearn.preprocessing import O...
39.86087
120
0.695462
522
4,584
5.908046
0.440613
0.028534
0.016213
0.044099
0.18677
0.179637
0.16537
0.16537
0.16537
0.16537
0
0.020708
0.167757
4,584
114
121
40.210526
0.78768
0.044721
0
0.149425
0
0
0.268711
0.015106
0
0
0
0
0
1
0
false
0
0.103448
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c276665fdc1e825769c5b7cc90dc3c42bee62b
37
py
Python
{{ cookiecutter.domain }}/custom_components/{{ cookiecutter.domain }}/const.py
Rihan9/cookiecutter-homeassistant-component
46bdd8e16d360562b0513a12f6c46df473bb4d89
[ "MIT" ]
26
2020-06-01T02:58:33.000Z
2022-03-26T00:55:06.000Z
{{ cookiecutter.domain }}/custom_components/{{ cookiecutter.domain }}/const.py
Rihan9/cookiecutter-homeassistant-component
46bdd8e16d360562b0513a12f6c46df473bb4d89
[ "MIT" ]
3
2020-09-09T13:54:59.000Z
2021-08-29T17:43:34.000Z
{{ cookiecutter.domain }}/custom_components/{{ cookiecutter.domain }}/const.py
Rihan9/cookiecutter-homeassistant-component
46bdd8e16d360562b0513a12f6c46df473bb4d89
[ "MIT" ]
14
2020-06-01T12:28:08.000Z
2022-03-20T16:07:23.000Z
DOMAIN = "{{ cookiecutter.domain }}"
18.5
36
0.648649
3
37
8
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.135135
37
1
37
37
0.75
0
0
0
0
0
0.675676
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
10c2820d996e4ee29bd411bddd15d40dc887279b
1,235
py
Python
colourz/spinners.py
alexmacniven/colour
3565f1da670bcc26858db52db6bee40c06f29f9a
[ "MIT" ]
null
null
null
colourz/spinners.py
alexmacniven/colour
3565f1da670bcc26858db52db6bee40c06f29f9a
[ "MIT" ]
2
2019-04-03T14:54:31.000Z
2020-03-24T16:27:48.000Z
colourz/spinners.py
alexmacniven/colour
3565f1da670bcc26858db52db6bee40c06f29f9a
[ "MIT" ]
1
2019-03-21T14:06:23.000Z
2019-03-21T14:06:23.000Z
import sys import threading import time class Bullets: @staticmethod def spinning_cursor(): c = [ "[- ]", "[ - ]", "[ - ]", "[ - ]", "[ -]", "[ - ]", "[ - ]", "[ - ]" ] wh...
23.301887
58
0.42915
116
1,235
4.482759
0.387931
0.086538
0.080769
0.092308
0
0
0
0
0
0
0
0.010057
0.436437
1,235
52
59
23.75
0.737069
0
0
0.288889
0
0
0.072065
0
0
0
0
0
0
1
0.111111
false
0
0.066667
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
10c2ed18dfd7bc71d142425cca4751533bd0adeb
346
py
Python
ores/tests/test_score_request.py
ureesoriano/ores
dda9db6c8737d12acbae5b0d43938d93c9e7ea8e
[ "MIT" ]
null
null
null
ores/tests/test_score_request.py
ureesoriano/ores
dda9db6c8737d12acbae5b0d43938d93c9e7ea8e
[ "MIT" ]
null
null
null
ores/tests/test_score_request.py
ureesoriano/ores
dda9db6c8737d12acbae5b0d43938d93c9e7ea8e
[ "MIT" ]
null
null
null
from ..score_request import ScoreRequest def test_score_request(): sr = ScoreRequest("foo", [1, 2, 3], ["bar", "baz"]) assert sr.context_name == "foo" assert sr.rev_ids == {1, 2, 3} assert sr.model_names == {"bar", "baz"} assert sr.precache is False assert sr.include_features is False ass...
26.615385
55
0.653179
52
346
4.192308
0.538462
0.220183
0.027523
0.12844
0
0
0
0
0
0
0
0.021898
0.208092
346
12
56
28.833333
0.773723
0
0
0
0
0
0.052023
0
0
0
0
0
0.666667
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
10c31a3d91c9d33e35570eebf1a248037271c823
613
py
Python
project/fs/fs_generalfunctions.py
cj8-cheerful-cheetas/project
5d9c7cfc2cfec5fca05997bc42d490529cd935ab
[ "MIT" ]
null
null
null
project/fs/fs_generalfunctions.py
cj8-cheerful-cheetas/project
5d9c7cfc2cfec5fca05997bc42d490529cd935ab
[ "MIT" ]
3
2021-07-17T10:52:21.000Z
2021-07-17T10:55:54.000Z
project/fs/fs_generalfunctions.py
cj8-cheerful-cheetas/project
5d9c7cfc2cfec5fca05997bc42d490529cd935ab
[ "MIT" ]
2
2021-07-17T10:54:33.000Z
2021-08-30T19:27:49.000Z
from fs.fs_exceptions import NoSuchIndex def restrictRange(min, max, keyword): def decorator(function): def check(*args, **kwargs): if min <= kwargs[keyword] < max: return function(*args, **kwargs) raise NoSuchIndex() return check return decorator "arr...
19.774194
62
0.595432
75
613
4.853333
0.373333
0.131868
0.06044
0.076923
0.164835
0.164835
0.164835
0
0
0
0
0.002273
0.282219
613
30
63
20.433333
0.825
0
0
0.1
0
0
0.021207
0
0
0
0
0
0
1
0.3
false
0
0.05
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
10c3b9550e1437e1be83b2829d5baa30281f891a
9,785
py
Python
Spatial-Transformer-PCD/sampling-based/splatnet/semseg3d/test.py
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
null
null
null
Spatial-Transformer-PCD/sampling-based/splatnet/semseg3d/test.py
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
null
null
null
Spatial-Transformer-PCD/sampling-based/splatnet/semseg3d/test.py
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
null
null
null
""" Copyright (C) 2018 NVIDIA Corporation. All rights reserved. Licensed under the CC BY-NC-SA 4.0 license (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode). """ import os import glob import argparse import time import numpy as np import caffe import splatnet.configs from splatnet.utils import modify_blob_...
41.995708
120
0.626265
1,352
9,785
4.328402
0.195266
0.044429
0.043746
0.024607
0.238893
0.178913
0.145079
0.126282
0.078606
0.064252
0
0.010211
0.249361
9,785
232
121
42.176724
0.786521
0.07256
0
0.171271
0
0
0.179931
0
0
0
0
0.00431
0.005525
1
0.01105
false
0.005525
0.066298
0
0.088398
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c432e6abf57e89ba6b4e43e6f68aa1e3b62483
3,284
py
Python
lib/metrics.py
nobodykid/dcgan_code
be7ddca6abd34cb5436b8304bf956cff8c40f3f2
[ "MIT" ]
null
null
null
lib/metrics.py
nobodykid/dcgan_code
be7ddca6abd34cb5436b8304bf956cff8c40f3f2
[ "MIT" ]
null
null
null
lib/metrics.py
nobodykid/dcgan_code
be7ddca6abd34cb5436b8304bf956cff8c40f3f2
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import theano import theano.tensor as T import gc import time from theano_utils import floatX from ops import euclidean, cosine from sklearn import metrics from sklearn.linear_model import LogisticRegression as LR def cv_reg_lr(trX, trY, vaX, vaY, Cs=[0.01, 0.05, 0.1, 0.5, 1., ...
32.84
98
0.592266
502
3,284
3.713147
0.193227
0.052575
0.045064
0.023605
0.466738
0.426502
0.406652
0.381438
0.366416
0.32779
0
0.0225
0.269184
3,284
99
99
33.171717
0.754167
0
0
0.337079
0
0
0.037759
0
0
0
0
0
0
1
0.05618
false
0
0.11236
0.011236
0.224719
0.022472
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c5726cbf6c5c23694fc1846d272d5090d75571
1,130
py
Python
hassio-google-drive-backup/backup/model/syncer.py
voxipbx/hassio-addons
ddf2f1745f4240c2905f9f9d7616a927fb8934e4
[ "MIT" ]
1
2022-01-22T18:27:04.000Z
2022-01-22T18:27:04.000Z
hassio-google-drive-backup/backup/model/syncer.py
voxipbx/hassio-addons
ddf2f1745f4240c2905f9f9d7616a927fb8934e4
[ "MIT" ]
19
2021-09-29T06:13:25.000Z
2022-03-08T06:13:49.000Z
hassio-google-drive-backup/backup/model/syncer.py
voxipbx/hassio-addons
ddf2f1745f4240c2905f9f9d7616a927fb8934e4
[ "MIT" ]
1
2021-12-12T19:31:05.000Z
2021-12-12T19:31:05.000Z
from typing import List from injector import inject, singleton from .coordinator import Coordinator from backup.time import Time from backup.worker import Worker, Trigger from backup.logger import getLogger from backup.exceptions import PleaseWait logger = getLogger(__name__) @singleton class Scyncer(Worker): ...
30.540541
81
0.621239
126
1,130
5.460317
0.468254
0.05814
0.034884
0
0
0
0
0
0
0
0
0.003793
0.3
1,130
36
82
31.388889
0.865992
0.059292
0
0
0
0
0.027333
0
0
0
0
0
0
1
0.034483
false
0.034483
0.241379
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c592d9473d66ce7243d0ca836019f719f1800a
35
py
Python
venv/lib/python3.6/tempfile.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
venv/lib/python3.6/tempfile.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
venv/lib/python3.6/tempfile.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
/anaconda/lib/python3.6/tempfile.py
35
35
0.828571
6
35
4.833333
1
0
0
0
0
0
0
0
0
0
0
0.057143
0
35
1
35
35
0.771429
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
10c684ce31863da0ee17c3411588cb6b1aa624c4
6,832
py
Python
momo/plugins/flask/search.py
shichao-an/momo
9996bc22b1d99d379633e18e94f4815e12435898
[ "BSD-2-Clause" ]
6
2018-06-08T18:49:10.000Z
2020-09-29T23:54:38.000Z
momo/plugins/flask/search.py
shichao-an/momo
9996bc22b1d99d379633e18e94f4815e12435898
[ "BSD-2-Clause" ]
3
2016-08-13T02:15:04.000Z
2016-11-02T00:05:40.000Z
momo/plugins/flask/search.py
shichao-an/momo
9996bc22b1d99d379633e18e94f4815e12435898
[ "BSD-2-Clause" ]
2
2018-06-08T18:49:12.000Z
2018-08-07T07:17:26.000Z
# search backend from momo.core import Node from momo.plugins.flask.filters import get_attr from momo.plugins.flask.utils import str_to_bool, split_by from momo.utils import txt_type, bin_type class SearchError(Exception): pass def join_terms(*args): res = [] for arg in args: res.append(arg.str...
32.688995
78
0.55079
849
6,832
4.3298
0.217903
0.044886
0.019587
0.011425
0.185256
0.134929
0.063112
0.051143
0.032644
0.032644
0
0.002062
0.361095
6,832
208
79
32.846154
0.840092
0.265954
0
0.311111
0
0
0.01637
0
0
0
0
0
0
1
0.081481
false
0.007407
0.02963
0
0.281481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c78dc6410c3747583e9c4164a76821855cd1e1
116
py
Python
Web/utils/functions.py
CabbSir/CAU_Graduate_Course_Schedule
63765875a413c2fc9a13eaeda26271325ceea2d0
[ "MIT" ]
null
null
null
Web/utils/functions.py
CabbSir/CAU_Graduate_Course_Schedule
63765875a413c2fc9a13eaeda26271325ceea2d0
[ "MIT" ]
null
null
null
Web/utils/functions.py
CabbSir/CAU_Graduate_Course_Schedule
63765875a413c2fc9a13eaeda26271325ceea2d0
[ "MIT" ]
null
null
null
from flask import request def get_real_ip(): return request.environ.get('HTTP_X_REAL_IP', request.remote_addr)
23.2
69
0.784483
19
116
4.473684
0.736842
0.141176
0
0
0
0
0
0
0
0
0
0
0.12069
116
5
69
23.2
0.833333
0
0
0
0
0
0.119658
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
10c7b4e8d153e9a166fd23f1d8c092f1c7442e90
10,877
py
Python
lakesuperior/api/resource.py
barmintor/lakesuperior
a1e534a56cf762e55273d2421edf5e4948c3159b
[ "Apache-2.0" ]
null
null
null
lakesuperior/api/resource.py
barmintor/lakesuperior
a1e534a56cf762e55273d2421edf5e4948c3159b
[ "Apache-2.0" ]
null
null
null
lakesuperior/api/resource.py
barmintor/lakesuperior
a1e534a56cf762e55273d2421edf5e4948c3159b
[ "Apache-2.0" ]
null
null
null
import logging from functools import wraps from itertools import groupby from multiprocessing import Process from threading import Lock, Thread import arrow from rdflib import Graph, Literal, URIRef from rdflib.namespace import XSD from lakesuperior.config_parser import config from lakesuperior.exceptions import ( ...
32.085546
85
0.689069
1,490
10,877
4.922819
0.227517
0.031357
0.043626
0.035446
0.312065
0.256169
0.197001
0.178732
0.16319
0.147785
0
0.007866
0.205204
10,877
338
86
32.180473
0.840486
0.357268
0
0.205128
0
0.038462
0.262698
0.049409
0
0
0
0
0
1
0.108974
false
0
0.108974
0
0.314103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10c83c58eb3b561c0d0dd30c346ea077d7b88fb9
110
py
Python
env/lib/python3.6/site-packages/openpyxl/workbook/external_link/__init__.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
34
2018-07-13T11:30:46.000Z
2022-01-05T13:48:10.000Z
env/lib/python3.6/site-packages/openpyxl/workbook/external_link/__init__.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
31
2017-01-05T06:07:28.000Z
2018-05-27T13:13:06.000Z
env/lib/python3.6/site-packages/openpyxl/workbook/external_link/__init__.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
22
2018-07-13T11:30:48.000Z
2021-09-25T13:30:08.000Z
from __future__ import absolute_import # Copyright (c) 2010-2015 openpyxl from .external import ExternalLink
22
38
0.827273
14
110
6.142857
0.785714
0
0
0
0
0
0
0
0
0
0
0.083333
0.127273
110
4
39
27.5
0.8125
0.290909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
10ca34a36e384eb81002bc0dd5ef92f09e6cd1e3
1,212
py
Python
src/data/download/utils/test_tqdm.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
1
2022-03-30T15:06:18.000Z
2022-03-30T15:06:18.000Z
src/data/download/utils/test_tqdm.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
null
null
null
src/data/download/utils/test_tqdm.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
null
null
null
import time from tqdm import tqdm from src.data.download.utils.tqdm_write import ( tqdm_print, tqdm_printer, tqdm_run_parallel, ) def func0(tqdm_name, tqdm_idx): N = 100 with tqdm(desc=tqdm_name, total=N, position=tqdm_idx, leave=False) as pbar: for i in range(N): pbar.update(...
22.867925
79
0.617162
180
1,212
3.933333
0.283333
0.101695
0.101695
0.127119
0.581921
0.514124
0.514124
0.514124
0.470339
0.470339
0
0.032151
0.255776
1,212
52
80
23.307692
0.752772
0
0
0.358974
0
0
0.044554
0
0
0
0
0
0
1
0.102564
false
0
0.076923
0
0.179487
0.205128
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10ca661d82b5269b0a8ebb7b120cf2934c9a705f
515
py
Python
src/package_controller/library/utils/pipe_commands.py
alexseitsinger/package_controller
0ee896986cfa17a96bf9fb6afff35dd97f0b1211
[ "BSD-2-Clause" ]
2
2020-11-24T14:16:38.000Z
2021-03-16T19:29:45.000Z
src/package_controller/library/utils/pipe_commands.py
alexseitsinger/package_controller
0ee896986cfa17a96bf9fb6afff35dd97f0b1211
[ "BSD-2-Clause" ]
2
2020-11-25T01:00:45.000Z
2020-11-25T01:59:58.000Z
src/package_controller/library/utils/pipe_commands.py
alexseitsinger/package_controller
0ee896986cfa17a96bf9fb6afff35dd97f0b1211
[ "BSD-2-Clause" ]
null
null
null
from subprocess import Popen, PIPE import shlex def pipe_commands(commands): first_proc = None last_proc = None for command in commands: args = shlex.split(command) if first_proc is None: first_proc = last_proc = Popen(args, stdout=PIPE, stderr=PIPE) else: l...
28.611111
85
0.660194
69
515
4.782609
0.463768
0.121212
0.078788
0.10303
0
0
0
0
0
0
0
0.002584
0.248544
515
17
86
30.294118
0.850129
0
0
0
0
0
0.009709
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10ccc2f736285f1e812a42e394e0d8d9c3d5186a
2,248
py
Python
djAidESILV/account/migrations/0001_initial.py
Kulumbaf/AidESILV
04dad828048edffdd3662b24c415edce22fd3ea3
[ "MIT" ]
null
null
null
djAidESILV/account/migrations/0001_initial.py
Kulumbaf/AidESILV
04dad828048edffdd3662b24c415edce22fd3ea3
[ "MIT" ]
null
null
null
djAidESILV/account/migrations/0001_initial.py
Kulumbaf/AidESILV
04dad828048edffdd3662b24c415edce22fd3ea3
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-05-14 22:02 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.CreateModel( name='UserProfile', fields...
49.955556
114
0.593416
233
2,248
5.575107
0.450644
0.084681
0.084681
0.096228
0.263279
0.094688
0.066205
0
0
0
0
0.027545
0.257117
2,248
44
115
51.090909
0.750299
0.020463
0
0
1
0
0.160909
0
0
0
0
0
0
1
0
false
0.027027
0.027027
0
0.135135
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10cdb0831f3d47cf768cf2a8247cb721e4071727
1,946
py
Python
fast_transformers/recurrent/attention/full_attention.py
jmercat/fast-transformers
1061f2ffa09c6d74aa252389e47f76ae827b1064
[ "MIT" ]
4
2020-09-28T01:47:19.000Z
2021-02-24T17:01:25.000Z
fast_transformers/recurrent/attention/full_attention.py
jmercat/fast-transformers
1061f2ffa09c6d74aa252389e47f76ae827b1064
[ "MIT" ]
null
null
null
fast_transformers/recurrent/attention/full_attention.py
jmercat/fast-transformers
1061f2ffa09c6d74aa252389e47f76ae827b1064
[ "MIT" ]
1
2021-06-22T01:37:58.000Z
2021-06-22T01:37:58.000Z
# # Copyright (c) 2020 Idiap Research Institute, http://www.idiap.ch/ # Written by Angelos Katharopoulos <angelos.katharopoulos@idiap.ch>, # Apoorv Vyas <avyas@idiap.ch> # """Implement the typical softmax attention as a recurrent module to speed up autoregressive inference. See fast_transformers.attention.full_attenti...
35.381818
79
0.635663
247
1,946
4.910931
0.437247
0.063479
0.037098
0.031327
0.056059
0.056059
0
0
0
0
0
0.009028
0.260021
1,946
54
80
36.037037
0.833333
0.434738
0
0
0
0
0.024738
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10cdef881dc36185566ac1966c055227805cc631
2,797
py
Python
examples/example_compute_availabilitysets.py
zikalino/AzurePythonExamples
23f9c173f0736f4e7ff66dde0402ef88da4ccc8f
[ "MIT" ]
1
2020-09-04T14:38:13.000Z
2020-09-04T14:38:13.000Z
examples/example_compute_availabilitysets.py
zikalino/AzurePythonExamples
23f9c173f0736f4e7ff66dde0402ef88da4ccc8f
[ "MIT" ]
null
null
null
examples/example_compute_availabilitysets.py
zikalino/AzurePythonExamples
23f9c173f0736f4e7ff66dde0402ef88da4ccc8f
[ "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. #-------------------------------------------------------------------------- import os f...
42.378788
153
0.507329
205
2,797
6.668293
0.370732
0.066569
0.040966
0.035113
0.162399
0.115582
0.064375
0.064375
0
0
0
0.001146
0.064355
2,797
65
154
43.030769
0.521207
0.499821
0
0
0
0
0.205669
0.055233
0
0
0
0
0
1
0
false
0
0.137931
0
0.137931
0.103448
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10ce6fec2773612267b1f7b336d29f6e43213825
361
py
Python
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
from django import template register = template.Library() def is_authenticated(session): return 'user' in session and 'is_authenticated' in session def is_admin(session): return 'user' in session and 'is_admin' in session and session['is_admin'] is True register.filter('is_authenticated', is_authenticate...
22.5625
86
0.767313
51
361
5.254902
0.333333
0.130597
0.134328
0.141791
0.231343
0.231343
0.231343
0
0
0
0
0
0.138504
361
15
87
24.066667
0.861736
0
0
0
0
0
0.177285
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
10d101f89f65a141c9c034efc1f2f95b8c832da5
409
py
Python
tinyurl/urlshortener/migrations/0003_auto_20200407_2253.py
UniversitaDellaCalabria/urlShortener
d5e9a7a5b2a8253ce72fb28ec4f95b06ed4782fc
[ "BSD-3-Clause" ]
4
2020-06-21T07:09:34.000Z
2020-09-30T10:49:59.000Z
tinyurl/urlshortener/migrations/0003_auto_20200407_2253.py
xmomix/urlShortener
fb4bbf9c3c909dfdf421e85bbdffb41fbb167f9f
[ "BSD-3-Clause" ]
2
2020-06-20T21:34:30.000Z
2020-10-21T14:06:40.000Z
tinyurl/urlshortener/migrations/0003_auto_20200407_2253.py
xmomix/urlShortener
fb4bbf9c3c909dfdf421e85bbdffb41fbb167f9f
[ "BSD-3-Clause" ]
1
2020-06-22T09:47:24.000Z
2020-06-22T09:47:24.000Z
# Generated by Django 3.0.5 on 2020-04-07 22:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('urlshortener', '0002_auto_20200405_1734'), ] operations = [ migrations.AlterModelOptions( name='urlshortener', options={'ver...
22.722222
96
0.633252
42
409
6.02381
0.785714
0.086957
0
0
0
0
0
0
0
0
0
0.100977
0.249389
409
17
97
24.058824
0.723127
0.110024
0
0
1
0
0.292818
0.063536
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10d1c25e99e7cd2d15556b2deb5cf0094ac0d49a
704
py
Python
virtualapp/migrations/0003_submission.py
Halar1312/Virtual-School
3dced5f196f4283c0840fa81f35abe85e1f55efd
[ "MIT" ]
null
null
null
virtualapp/migrations/0003_submission.py
Halar1312/Virtual-School
3dced5f196f4283c0840fa81f35abe85e1f55efd
[ "MIT" ]
null
null
null
virtualapp/migrations/0003_submission.py
Halar1312/Virtual-School
3dced5f196f4283c0840fa81f35abe85e1f55efd
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-23 17:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('virtualapp', '0002_assignment_assignmentno'), ] operations = [ migrations.CreateModel( name='Submission', fields=[ ...
27.076923
86
0.545455
60
704
6.316667
0.783333
0.094987
0.131926
0.137203
0
0
0
0
0
0
0
0.044118
0.323864
704
25
87
28.16
0.752101
0.06392
0
0
1
0
0.156773
0.042618
0
0
0
0
0
1
0
false
0
0.052632
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10d33a446c94dacba57fcaf682f107f5f0331817
903
py
Python
podium/datasets/__init__.py
TakeLab/podium
11ef32d889e483d4d77a44b61e0b5da956ee3a54
[ "BSD-3-Clause" ]
51
2021-03-19T14:14:31.000Z
2022-02-18T00:42:51.000Z
podium/datasets/__init__.py
TakeLab/podium
11ef32d889e483d4d77a44b61e0b5da956ee3a54
[ "BSD-3-Clause" ]
9
2021-03-31T15:39:28.000Z
2021-04-16T13:28:15.000Z
podium/datasets/__init__.py
TakeLab/podium
11ef32d889e483d4d77a44b61e0b5da956ee3a54
[ "BSD-3-Clause" ]
1
2021-07-26T04:54:18.000Z
2021-07-26T04:54:18.000Z
""" Package contains datasets. """ from .dataset import ( Dataset, DatasetBase, DatasetConcatView, DatasetIndexedView, DatasetSlicedView, concat, create_view, rationed_split, stratified_split, ) from .example_factory import Example, ExampleFactory, ExampleFormat from .hierarhical_da...
24.405405
89
0.739756
89
903
7.359551
0.516854
0.061069
0.070229
0
0
0
0
0
0
0
0
0
0.184939
903
36
90
25.083333
0.889946
0.028793
0
0
0
0
0.088608
0
0
0
0
0
0
1
0.034483
false
0
0.344828
0
0.37931
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
10d3bc04013d12bee2f194cf78434bf8cc7b7923
7,263
py
Python
detection.py
40i4/receiptDetection
26234b951c3fd641022901725636e7c45e4b97f0
[ "MIT" ]
null
null
null
detection.py
40i4/receiptDetection
26234b951c3fd641022901725636e7c45e4b97f0
[ "MIT" ]
1
2016-04-12T12:39:52.000Z
2016-04-12T12:39:52.000Z
detection.py
40i4/receiptDetection
26234b951c3fd641022901725636e7c45e4b97f0
[ "MIT" ]
null
null
null
# 1) find contours of the receipt # 2) if there are more than 4 vertices, find those which # are the most likely to be receipt vertices, mark and show them import cv2 import numpy as np import imutils from transform import four_point_transform from skimage.filter import threshold_adaptive font = cv2.FONT_HERSHEY_SIM...
33.781395
86
0.569324
968
7,263
4.103306
0.181818
0.055388
0.013595
0.015106
0.369839
0.312941
0.238671
0.238671
0.217523
0.204431
0
0.040115
0.330717
7,263
214
87
33.939252
0.777001
0.165221
0
0.283688
0
0
0.038277
0
0
0
0
0
0
0
null
null
0
0.035461
null
null
0.092199
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
10d3f10b652bc3b204660fb2f81053f0ef5ca483
8,549
py
Python
rwf.py
kbailey4444/rwf
276e0b58922a3014680362dc845a6f3ec594d6b4
[ "MIT" ]
1
2018-02-22T01:06:00.000Z
2018-02-22T01:06:00.000Z
rwf.py
kbailey4444/rwf
276e0b58922a3014680362dc845a6f3ec594d6b4
[ "MIT" ]
null
null
null
rwf.py
kbailey4444/rwf
276e0b58922a3014680362dc845a6f3ec594d6b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- coding: utf-8 -*- from time import time from collections import deque from threading import RLock, Thread from random import Random from httplib import HTTPConnection, responses from argparse import ArgumentParser class RWF: def __init__(self, num_threads=30, conn_timeout=1, ...
38.859091
79
0.561352
1,031
8,549
4.502425
0.226964
0.034468
0.029082
0.044593
0.182034
0.132486
0.121284
0.121284
0.090047
0.064196
0
0.016121
0.332437
8,549
219
80
39.03653
0.797267
0.094631
0
0.153005
0
0.005464
0.117053
0
0
0
0
0
0
0
null
null
0.005464
0.032787
null
null
0.005464
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
10d3f9c66b9b6f1acf358bee09f3b9bcb84cc122
1,856
py
Python
api.py
vladloh/acm-cli
136ca85cffe16c350977d5bf14e5b7a86962c477
[ "MIT" ]
null
null
null
api.py
vladloh/acm-cli
136ca85cffe16c350977d5bf14e5b7a86962c477
[ "MIT" ]
null
null
null
api.py
vladloh/acm-cli
136ca85cffe16c350977d5bf14e5b7a86962c477
[ "MIT" ]
null
null
null
import argparse from prettytable import PrettyTable from prettytable import from_html_one from worker import Worker from config import login, password, folder_path def initialize_parser(): """Initialize parser for CLI.""" parser = argparse.ArgumentParser( usage='acm [command] [parameters]', ) ...
23.2
104
0.671336
243
1,856
4.921811
0.320988
0.020067
0.062709
0.073579
0.147157
0.103679
0.058528
0.058528
0
0
0
0.002037
0.206358
1,856
79
105
23.493671
0.809912
0.022629
0
0.111111
0
0
0.123128
0
0
0
0
0
0
1
0.12963
false
0.037037
0.092593
0.018519
0.259259
0.092593
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10d6381626e93a981f19d1b84b92f648aacbca47
184
py
Python
log2/package0/module0.py
nkzmsb/howto
bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4
[ "MIT" ]
null
null
null
log2/package0/module0.py
nkzmsb/howto
bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4
[ "MIT" ]
2
2021-12-14T00:19:47.000Z
2021-12-14T00:21:53.000Z
log2/package0/module0.py
nkzmsb/howto
bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4
[ "MIT" ]
null
null
null
# 最終手段ハンドラを確認するためのモジュール import logging logger=logging.getLogger(__name__) # Note # any Handler is not added to logger def func0(): logger.error("module0 : without_handler")
16.727273
49
0.744565
22
184
6
0.818182
0
0
0
0
0
0
0
0
0
0
0.013072
0.168478
184
11
49
16.727273
0.849673
0.331522
0
0
0
0
0.208333
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
10d657ca9f52a4409a45cadb1528a0462f3303c6
1,169
py
Python
wrappers/test_nor.py
twhyntie/task-data-management
a3999886d79fcec18ed8173638bf8229a961189c
[ "MIT" ]
null
null
null
wrappers/test_nor.py
twhyntie/task-data-management
a3999886d79fcec18ed8173638bf8229a961189c
[ "MIT" ]
null
null
null
wrappers/test_nor.py
twhyntie/task-data-management
a3999886d79fcec18ed8173638bf8229a961189c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- #...the usual suspects. import os, inspect #...for the unit testing. import unittest #...for the logging. import logging as lg # The wrapper class to test. from nor import NOR class TestNOR(unittest.TestCase): def setUp(self): pass def tearDown(self)...
21.648148
77
0.582549
144
1,169
4.541667
0.5
0.045872
0.110092
0.12844
0.171254
0.088685
0
0
0
0
0
0.019715
0.218991
1,169
53
78
22.056604
0.696605
0.203593
0
0.26087
0
0
0.247008
0.15234
0
0
0
0
0.173913
1
0.130435
false
0.086957
0.173913
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
10d6a5507e243eccb67ce2f82587bb48708ae834
73
py
Python
Pandas.py
ishitha08/c103
b46d3932868d2fe6b0394a6cabf613cb5c79f083
[ "MIT" ]
null
null
null
Pandas.py
ishitha08/c103
b46d3932868d2fe6b0394a6cabf613cb5c79f083
[ "MIT" ]
null
null
null
Pandas.py
ishitha08/c103
b46d3932868d2fe6b0394a6cabf613cb5c79f083
[ "MIT" ]
null
null
null
import pandas as pd data = [1,2,3,4,5] df = pd.DataFrame(data) print(df)
18.25
23
0.671233
16
73
3.0625
0.8125
0
0
0
0
0
0
0
0
0
0
0.080645
0.150685
73
4
24
18.25
0.709677
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
10d73ff339734374bf311866fb82a76399fdcb7c
216
py
Python
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
12
2022-01-02T11:21:46.000Z
2022-03-12T20:53:40.000Z
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
142
2021-07-25T14:05:11.000Z
2022-03-26T21:12:53.000Z
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
9
2021-08-25T00:25:24.000Z
2022-03-12T20:53:41.000Z
class Behaviour: def __init__(self, unit): self.game = unit.game self.unit = unit self.complete_init() def complete_init(self): pass def process(self, dt): pass
16.615385
29
0.564815
26
216
4.461538
0.423077
0.137931
0
0
0
0
0
0
0
0
0
0
0.342593
216
12
30
18
0.816901
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.222222
0
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
10d7a4e08ece3e0ff7e6d4fe13926d33defb668e
1,506
py
Python
deprecated/obsolete/src/testavl.py
Anirban166/tstl
73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e
[ "Apache-2.0" ]
90
2015-04-07T10:26:53.000Z
2022-03-07T15:14:57.000Z
deprecated/obsolete/src/testavl.py
Anirban166/tstl
73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e
[ "Apache-2.0" ]
14
2015-10-13T16:25:59.000Z
2021-01-21T18:31:03.000Z
deprecated/obsolete/src/testavl.py
Anirban166/tstl
73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e
[ "Apache-2.0" ]
32
2015-04-07T10:41:29.000Z
2022-02-26T05:17:28.000Z
import avl import random import sys import coverage import time import numpy start = time.time() branchesHit = set() maxval = int(sys.argv[1]) testlen = int(sys.argv[2]) numtests = int(sys.argv[3]) cov = coverage.coverage(branch=True, source=["avl.py"]) cov.start() for t in xrange(0,numtests): a = avl.AVLTree...
24.688525
57
0.522576
186
1,506
4.204301
0.38172
0.023018
0.038363
0
0
0
0
0
0
0
0
0.011224
0.34927
1,506
60
58
25.1
0.786735
0
0
0
0
0
0.017264
0
0
0
0
0
0.039216
0
null
null
0
0.117647
null
null
0.078431
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
10d929632dae7a58fe9ad2a5c602cd815300085f
2,160
py
Python
tests/test_linked_tmp_dir.py
jessekrubin/pup
2cab5da7b1b39453c44be556b691db83442b0565
[ "BSD-2-Clause" ]
2
2019-03-07T09:26:36.000Z
2019-07-31T17:24:23.000Z
tests/test_linked_tmp_dir.py
jessekrubin/pup
2cab5da7b1b39453c44be556b691db83442b0565
[ "BSD-2-Clause" ]
2
2019-10-26T02:29:54.000Z
2021-06-25T15:28:12.000Z
tests/test_linked_tmp_dir.py
jessekrubin/pup
2cab5da7b1b39453c44be556b691db83442b0565
[ "BSD-2-Clause" ]
1
2019-07-31T17:24:32.000Z
2019-07-31T17:24:32.000Z
# -*- coding: utf-8 -*- import os from os import chdir from os import path from os import sep import pupy.utils from pupy import dirs_gen from pupy import files_gen PWD = path.split(path.realpath(__file__))[0] def test_mkdirs(): dirs = [("something",), ("something", "else")] expected = [path.join(*route) f...
27.341772
78
0.571296
281
2,160
4.206406
0.284698
0.047377
0.050761
0.063452
0.284264
0.270728
0.116751
0.116751
0.116751
0.116751
0
0.001972
0.295833
2,160
78
79
27.692308
0.775148
0.089815
0
0.142857
0
0
0.087468
0
0
0
0
0
0.089286
1
0.035714
false
0.017857
0.125
0
0.160714
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10db451650724fae34f4118e5abab33ead216fab
121
py
Python
scenario.py
bdgamesdev/universal
1e7f28343efc4fb52403c8143f929bb5b2026185
[ "MIT" ]
null
null
null
scenario.py
bdgamesdev/universal
1e7f28343efc4fb52403c8143f929bb5b2026185
[ "MIT" ]
null
null
null
scenario.py
bdgamesdev/universal
1e7f28343efc4fb52403c8143f929bb5b2026185
[ "MIT" ]
null
null
null
class Scenario: timeLimit = 5 type = 'orbit' def __init__(self, title, *kwargs): self.title = title
17.285714
39
0.595041
14
121
4.857143
0.785714
0.264706
0
0
0
0
0
0
0
0
0
0.011765
0.297521
121
6
40
20.166667
0.788235
0
0
0
0
0
0.041322
0
0
0
0
0
0
1
0.2
false
0
0
0
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
10db58e9449ec9ec50d75caab8c6a1198181a281
8,527
py
Python
questionnaire_core/question_types/base.py
anfema/django-questionnaire-core
82151cf14d00b5a83cb478cc07f9143fd57382c9
[ "MIT" ]
null
null
null
questionnaire_core/question_types/base.py
anfema/django-questionnaire-core
82151cf14d00b5a83cb478cc07f9143fd57382c9
[ "MIT" ]
2
2019-01-30T16:05:15.000Z
2021-06-10T14:45:57.000Z
questionnaire_core/question_types/base.py
anfema/django-questionnaire-core
82151cf14d00b5a83cb478cc07f9143fd57382c9
[ "MIT" ]
2
2019-01-17T12:09:47.000Z
2019-01-30T15:59:01.000Z
import inspect import string from django import forms from django.core.exceptions import MultipleObjectsReturned, ObjectDoesNotExist from django.template.engine import Engine from django.template.exceptions import TemplateDoesNotExist class QuestionTypeRegistry: """Registry for question type classes.""" _reg...
37.399123
114
0.659669
965
8,527
5.603109
0.180311
0.042168
0.023303
0.017755
0.216386
0.163492
0.131311
0.085815
0.051045
0.051045
0
0.000158
0.255541
8,527
227
115
37.563877
0.851607
0.196083
0
0.181818
0
0
0.095791
0.016594
0
0
0
0
0.006993
1
0.13986
false
0.006993
0.048951
0.034965
0.391608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10dbd95522cfda0f51f8b8c34cf1b090e5b9492f
3,504
py
Python
list_files/report_data.py
alepuzio/listfiles
cddc329cf773016a4703946c338a6e16d81380f5
[ "MIT" ]
null
null
null
list_files/report_data.py
alepuzio/listfiles
cddc329cf773016a4703946c338a6e16d81380f5
[ "MIT" ]
null
null
null
list_files/report_data.py
alepuzio/listfiles
cddc329cf773016a4703946c338a6e16d81380f5
[ "MIT" ]
1
2021-06-13T12:44:31.000Z
2021-06-13T12:44:31.000Z
import sys import os from tests.test_single_file import SingleFile from .rootpath import Rootpath from .report_file import RowCSV from .report_file import RowDuplicated class Report: """ @overview: this class print the report of a list of files in CSV format """ def __init__(self, new_report_name):...
28.958678
102
0.551941
393
3,504
4.819338
0.239186
0.029567
0.022175
0.021119
0.49208
0.470961
0.470961
0.470961
0.470961
0.470961
0
0.003848
0.332477
3,504
120
103
29.2
0.8059
0.202626
0
0.34375
0
0
0.109375
0.021635
0
0
0
0.008333
0
1
0.234375
false
0.015625
0.09375
0.0625
0.453125
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
10dcc329b40ad7a19895cdc5735eee49de04563d
197
py
Python
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from gazette.spiders.base.fecam import FecamGazetteSpider class ScCunhaPoraSpider(FecamGazetteSpider): name = "sc_cunha_pora" FECAM_QUERY = "cod_entidade:80" TERRITORY_ID = "4204707"
24.625
57
0.771574
22
197
6.681818
0.909091
0
0
0
0
0
0
0
0
0
0
0.053571
0.147208
197
7
58
28.142857
0.821429
0
0
0
0
0
0.177665
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
10dd825e001aa7924f28c1740803cd3a8e44f8f0
320
py
Python
pythonProject/desafio079.py
maisalobao/Python
8b8fa9796853c8f094cb1602e7e45f57905a9057
[ "MIT" ]
1
2022-03-26T08:46:36.000Z
2022-03-26T08:46:36.000Z
pythonProject/desafio079.py
maisalobao/Python
8b8fa9796853c8f094cb1602e7e45f57905a9057
[ "MIT" ]
null
null
null
pythonProject/desafio079.py
maisalobao/Python
8b8fa9796853c8f094cb1602e7e45f57905a9057
[ "MIT" ]
null
null
null
numeros = list() while True: n = (int(input('Digite um valor:'))) if n not in numeros: numeros.append(n) else: print('Valor duplicado!') escolha = str(input('Deseja continuar? [S/N]')).upper().strip()[0] if escolha in 'N': break numeros.sort() print(f'Você digitou {numeros}')
26.666667
70
0.590625
44
320
4.295455
0.681818
0
0
0
0
0
0
0
0
0
0
0.004098
0.2375
320
12
71
26.666667
0.770492
0
0
0
0
0
0.242991
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10ddae9de8ee7cd14d8dcf0dcc4990b53daa7cad
3,228
py
Python
wb/main/jobs/inference_test_image/test_image_classification_explainer.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
23
2022-03-17T12:24:09.000Z
2022-03-31T09:13:30.000Z
wb/main/jobs/inference_test_image/test_image_classification_explainer.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
18
2022-03-21T08:17:44.000Z
2022-03-30T12:42:30.000Z
wb/main/jobs/inference_test_image/test_image_classification_explainer.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
16
2022-03-17T12:24:14.000Z
2022-03-31T12:15:12.000Z
""" OpenVINO DL Workbench Test image explainer Copyright (c) 2021 Intel Corporation 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 re...
39.851852
111
0.711586
414
3,228
5.342995
0.422705
0.03255
0.03255
0.025769
0.117541
0.088608
0.056058
0
0
0
0
0.014453
0.206939
3,228
80
112
40.35
0.849609
0.187113
0
0
0
0
0.004224
0
0
0
0
0
0
1
0.085106
false
0
0.191489
0
0.361702
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10de9730706a6a2f04643d640b347ca8271e4865
170
py
Python
jp.atcoder/abc077/abc077_a/11364753.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc077/abc077_a/11364753.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc077/abc077_a/11364753.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys s = sys.stdin.read().split() def main(): ans = "YES" if s[0] == s[1][::-1] else "NO" print(ans) if __name__ == "__main__": main()
13.076923
48
0.488235
25
170
3
0.68
0
0
0
0
0
0
0
0
0
0
0.02521
0.3
170
12
49
14.166667
0.605042
0
0
0
0
0
0.082278
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10e01d950f12c52f0048a5b825e752558dafbd51
2,540
py
Python
test/ZIP/ZIPROOT.py
jcassagnol-public/scons
8eaf585a893757e68c9e4a6e25d375021fa5eab7
[ "MIT" ]
1,403
2017-11-23T14:24:01.000Z
2022-03-30T20:59:39.000Z
test/ZIP/ZIPROOT.py
jcassagnol-public/scons
8eaf585a893757e68c9e4a6e25d375021fa5eab7
[ "MIT" ]
3,708
2017-11-27T13:47:12.000Z
2022-03-29T17:21:17.000Z
test/ZIP/ZIPROOT.py
jcassagnol-public/scons
8eaf585a893757e68c9e4a6e25d375021fa5eab7
[ "MIT" ]
281
2017-12-01T23:48:38.000Z
2022-03-31T15:25:44.000Z
#!/usr/bin/env python # # MIT License # # Copyright The SCons Foundation # # 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 us...
32.987013
88
0.709843
379
2,540
4.717678
0.37467
0.049217
0.026846
0.01566
0.241611
0.231544
0.134228
0.099553
0.065996
0.065996
0
0.015799
0.152756
2,540
76
89
33.421053
0.815056
0.491339
0
0.068966
0
0.068966
0.342835
0
0
0
0
0
0
1
0
false
0.034483
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10e0c703082609535db5fb8adcd5ad5028b03e45
1,943
py
Python
tests/macro/scripts/MPI/np_point_to_point_3.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
206
2018-06-28T00:28:47.000Z
2022-03-29T05:17:03.000Z
tests/macro/scripts/MPI/np_point_to_point_3.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
670
2018-07-23T11:02:24.000Z
2022-03-30T07:28:05.000Z
tests/macro/scripts/MPI/np_point_to_point_3.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
19
2019-09-19T06:01:00.000Z
2022-03-29T05:17:06.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ from mpi4py import MPI from numpy import zeros # we need to declare these variables somehow, # since we are calling mpi subroutines if __name__ == '__main__': size = -1 rank = -1 comm = MPI.COMM_WORLD rank = comm.Get_rank() siz...
22.858824
71
0.478127
265
1,943
3.464151
0.230189
0.071895
0.065359
0.052288
0.436819
0.368192
0
0
0
0
0
0.067863
0.340196
1,943
84
72
23.130952
0.648206
0.097787
0
0.178571
0
0
0.154112
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10e1b2a4e8a21648b7214c1e5fa50745b33f9851
1,196
py
Python
tests/unit/admin/views/test_core.py
matt-land/warehouse
0acb5d94528099ed5356253457cf8dc0b4e50aad
[ "Apache-2.0" ]
2
2015-11-08T12:57:16.000Z
2020-11-19T09:43:14.000Z
tests/unit/admin/views/test_core.py
matt-land/warehouse
0acb5d94528099ed5356253457cf8dc0b4e50aad
[ "Apache-2.0" ]
11
2020-01-06T18:55:57.000Z
2022-03-11T23:27:05.000Z
tests/unit/admin/views/test_core.py
matt-land/warehouse
0acb5d94528099ed5356253457cf8dc0b4e50aad
[ "Apache-2.0" ]
1
2019-08-26T06:52:55.000Z
2019-08-26T06:52:55.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 the Li...
31.473684
74
0.710702
159
1,196
5.289308
0.566038
0.071344
0.030916
0.03805
0
0
0
0
0
0
0
0.004197
0.203177
1,196
37
75
32.324324
0.878279
0.432274
0
0
0
0
0.037481
0
0
0
0
0
0.1875
1
0.125
false
0
0.125
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
10e23c5989f6592db2996a27a31a5176cbcc0741
1,061
py
Python
Pytorch/classifier.py
sidgairo18/Pytorch-Tensorflow-Practice
fa2fb9f269a8c8f34c8fc667c41da4e9a56d6bd0
[ "WTFPL" ]
null
null
null
Pytorch/classifier.py
sidgairo18/Pytorch-Tensorflow-Practice
fa2fb9f269a8c8f34c8fc667c41da4e9a56d6bd0
[ "WTFPL" ]
null
null
null
Pytorch/classifier.py
sidgairo18/Pytorch-Tensorflow-Practice
fa2fb9f269a8c8f34c8fc667c41da4e9a56d6bd0
[ "WTFPL" ]
null
null
null
''' 1. Load and normalizeing the CIFAR10 training and test datasets using torchvision 2. Define a Convolutional Neural Network 3. Define a loss function 4. Train the network on the training data 5. Test the network on the test data ''' # Reference: Pytorch Tutorial 60 minute Blitz, Training a classifier # Link: https:...
40.807692
112
0.758718
149
1,061
5.369128
0.489933
0.015
0.01875
0.025
0.1125
0.1125
0.015
0.015
0.015
0.015
0
0.032735
0.107446
1,061
25
113
42.44
0.812038
0.346843
0
0
0
0
0.076246
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
10e2ea010aa21fce8b0f2bb0646438f5615e3cee
637
py
Python
swexpert/d2/sw_1966.py
ruslanlvivsky/python-algorithm
2b49bed33cd0e95b8a1e758008191f4392b3f667
[ "MIT" ]
3
2021-07-18T14:40:24.000Z
2021-08-14T18:08:13.000Z
swexpert/d2/sw_1966.py
jinsuSang/python-algorithm
524849a0a7e71034d329fef63c4f384930334177
[ "MIT" ]
null
null
null
swexpert/d2/sw_1966.py
jinsuSang/python-algorithm
524849a0a7e71034d329fef63c4f384930334177
[ "MIT" ]
null
null
null
test_cases = int(input().strip()) def bubble_sort(lst): nums = lst[:] swap = True for i in range(len(nums) - 1, -1, -1): if not swap: break swap = False for j in range(i): if nums[j] > nums[j + 1]: nums[j], nums[j + 1] = nums[j + 1], nums[j]...
20.548387
59
0.488226
90
637
3.388889
0.388889
0.098361
0.127869
0.098361
0.108197
0.088525
0.088525
0
0
0
0
0.019185
0.345369
637
30
60
21.233333
0.71223
0
0
0.095238
0
0
0.010989
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.095238
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10e4e75e4df7060ce2493ae06b80ee7bd8d94593
883
py
Python
dualtext_server/dualtext_api/migrations/0013_auto_20210104_0116.py
mathislucka/dualtext
70cf7734cd66e60e482e2df09a3341224687526f
[ "MIT" ]
1
2021-08-16T20:21:11.000Z
2021-08-16T20:21:11.000Z
dualtext_server/dualtext_api/migrations/0013_auto_20210104_0116.py
mathislucka/dualtext
70cf7734cd66e60e482e2df09a3341224687526f
[ "MIT" ]
null
null
null
dualtext_server/dualtext_api/migrations/0013_auto_20210104_0116.py
mathislucka/dualtext
70cf7734cd66e60e482e2df09a3341224687526f
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-01-04 01:16 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('dualtext_api', '0012_aut...
32.703704
153
0.676104
105
883
5.485714
0.438095
0.055556
0.072917
0.114583
0.489583
0.409722
0.28125
0.28125
0.28125
0.28125
0
0.044669
0.214043
883
26
154
33.961538
0.785303
0.050963
0
0.3
1
0
0.104067
0.027512
0
0
0
0
0
1
0
false
0
0.15
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10e63d47bda56a757ae0b4b4f62e29ce5cd1b921
1,166
py
Python
server/setup.py
JayYip/bert-as-service
65f7bc46467ab791f85539c5a931212cb5f1c419
[ "MIT" ]
1
2019-04-20T08:40:24.000Z
2019-04-20T08:40:24.000Z
server/setup.py
JayYip/bert-multitask-service
65f7bc46467ab791f85539c5a931212cb5f1c419
[ "MIT" ]
null
null
null
server/setup.py
JayYip/bert-multitask-service
65f7bc46467ab791f85539c5a931212cb5f1c419
[ "MIT" ]
null
null
null
from os import path import codecs from setuptools import setup, find_packages with codecs.open('README.md', 'r', 'utf8') as reader: long_description = reader.read() with codecs.open('requirements.txt', 'r', 'utf8') as reader: install_requires = list(map(lambda x: x.strip(), reader.readlines())) setup( ...
31.513514
88
0.689537
138
1,166
5.702899
0.65942
0.076239
0.035578
0.033037
0
0
0
0
0
0
0
0.00733
0.180961
1,166
36
89
32.388889
0.816754
0
0
0
0
0
0.412521
0.102058
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10e6fa85535b14df08f37fcbddf1bff0af5b97fd
1,418
py
Python
utils/get_zssr_resutls.py
geopi1/Improved_USRNet
06395641c30f3df2986cf70f7ceee6c9a5bc0aa9
[ "MIT" ]
20
2020-08-24T07:21:30.000Z
2021-07-09T04:20:06.000Z
utils/get_zssr_resutls.py
geopi1/Improved_USRNet
06395641c30f3df2986cf70f7ceee6c9a5bc0aa9
[ "MIT" ]
1
2020-10-21T08:02:18.000Z
2021-01-17T23:29:58.000Z
utils/get_zssr_resutls.py
geopi1/Improved_USRNet
06395641c30f3df2986cf70f7ceee6c9a5bc0aa9
[ "MIT" ]
3
2020-11-19T05:17:10.000Z
2021-05-04T11:01:10.000Z
import matplotlib.pyplot as plt import os import numpy as np import cv2 from skimage.metrics import structural_similarity as ssim from USRNet.utils import utils_image as util SMALL_SIZE = 24 MEDIUM_SIZE = 24 BIGGER_SIZE = 24 plt.rc('font', size=SMALL_SIZE) # controls default text sizes plt.rc('axes', titles...
35.45
96
0.74048
236
1,418
4.266949
0.402542
0.034757
0.069513
0.084409
0.164846
0.142999
0.142999
0.09136
0.09136
0.09136
0
0.009812
0.137518
1,418
39
97
36.358974
0.813573
0.131171
0
0
0
0
0.195421
0.12592
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
10e7411f57c3da0a14d3d7adf2d484d11b51d3c9
1,955
py
Python
task/session.py
ScottWales/tasks
7647c1b3cc7ee631029193d8416fd0f20de7a05d
[ "Apache-2.0" ]
null
null
null
task/session.py
ScottWales/tasks
7647c1b3cc7ee631029193d8416fd0f20de7a05d
[ "Apache-2.0" ]
null
null
null
task/session.py
ScottWales/tasks
7647c1b3cc7ee631029193d8416fd0f20de7a05d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Copyright 2015 ARC Centre of Excellence for Climate Systems Science author: Scott Wales <scott.wales@unimelb.edu.au> 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 h...
28.333333
83
0.59335
258
1,955
4.46124
0.523256
0.052129
0.022589
0.027802
0
0
0
0
0
0
0
0.007413
0.309974
1,955
68
84
28.75
0.845812
0.496675
0
0.090909
0
0
0.03796
0
0
0
0
0
0
1
0.136364
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0