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
e0315471bd1a35e31c6a9cdd93a2a2a27365d479
2,702
py
Python
TWLight/emails/views.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-10-24T04:49:52.000Z
2019-10-24T04:49:52.000Z
TWLight/emails/views.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-03-29T15:29:45.000Z
2019-03-29T15:57:20.000Z
TWLight/emails/views.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-09-26T14:40:27.000Z
2019-09-26T14:40:27.000Z
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from django.core.urlresolvers import reverse, reverse_lazy from django.core.mail import BadHeaderError, send_mail from django.http import HttpResponse, HttpResponseRedirect f...
43.580645
126
0.657661
315
2,702
5.530159
0.422222
0.063146
0.051665
0.036165
0.04248
0.04248
0
0
0
0
0
0
0.263879
2,702
62
127
43.580645
0.875817
0.143597
0
0.115385
0
0
0.069727
0
0
0
0
0.016129
0.038462
1
0.038462
false
0
0.211538
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e0322ebc94878f3dc7b69955feb764a97d3db29b
1,997
py
Python
frontend/config.py
lcbm/cs-data-ingestion
314525285bfefe726d86c232937b05d273e44e7f
[ "0BSD" ]
null
null
null
frontend/config.py
lcbm/cs-data-ingestion
314525285bfefe726d86c232937b05d273e44e7f
[ "0BSD" ]
null
null
null
frontend/config.py
lcbm/cs-data-ingestion
314525285bfefe726d86c232937b05d273e44e7f
[ "0BSD" ]
null
null
null
"""Flask App configuration file.""" import logging import os import dotenv import frontend.constants as constants dotenv.load_dotenv(os.path.join(constants.BASEDIR, "frontend.env")) class Base: """Configuration class used as base for all environments.""" DEBUG = False TESTING = False LOGGING_FO...
21.473118
67
0.667001
216
1,997
6.097222
0.324074
0.090357
0.066819
0.056948
0.220957
0.138952
0.138952
0.098709
0.098709
0
0
0
0.207311
1,997
92
68
21.706522
0.831965
0.322484
0
0.162162
0
0
0.233683
0.082998
0
0
0
0
0
1
0.027027
false
0
0.108108
0
0.621622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e03555c89ef682c9881524e84b3f99fb40c60411
3,916
py
Python
script/dummy/arm_control.py
amazon-picking-challenge/team_pfn
2f76524b067d816d8407f6c4fae4e6d33939c024
[ "Apache-2.0" ]
7
2016-09-04T02:07:04.000Z
2017-05-25T02:31:07.000Z
script/dummy/arm_control.py
amazon-picking-challenge/team_pfn
2f76524b067d816d8407f6c4fae4e6d33939c024
[ "Apache-2.0" ]
null
null
null
script/dummy/arm_control.py
amazon-picking-challenge/team_pfn
2f76524b067d816d8407f6c4fae4e6d33939c024
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2016 Preferred Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
39.959184
78
0.589122
457
3,916
4.842451
0.306346
0.037958
0.02892
0.059648
0.620877
0.539087
0.477632
0.442386
0.359693
0.306371
0
0.023159
0.327375
3,916
97
79
40.371134
0.817008
0.1476
0
0.422535
0
0
0.097774
0
0
0
0
0
0
0
null
null
0
0.070423
null
null
0.112676
0
0
0
null
0
0
0
0
0
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
e035deed8737a8c4ccc24d990b915152d4728210
3,115
py
Python
cogs/events.py
rompdodger/RompDodger
9c8b481d9f69e05c15f01271f6c18e09ab2723e6
[ "MIT" ]
null
null
null
cogs/events.py
rompdodger/RompDodger
9c8b481d9f69e05c15f01271f6c18e09ab2723e6
[ "MIT" ]
null
null
null
cogs/events.py
rompdodger/RompDodger
9c8b481d9f69e05c15f01271f6c18e09ab2723e6
[ "MIT" ]
null
null
null
import json import discord from utils.time import format_time from utils import utilities from discord.ext import commands from discord import Embed class Events(commands.Cog): """Event Handler for RompDodger""" def __init__(self, bot): self.bot = bot @commands.Cog.listener() async def on_command_error(self,...
39.43038
163
0.733547
452
3,115
4.964602
0.285398
0.040553
0.042335
0.053476
0.552139
0.497772
0.443405
0.382799
0.354724
0.280749
0
0.004104
0.139647
3,115
79
164
39.43038
0.833209
0.019262
0
0.432836
0
0.029851
0.258033
0.051475
0
0
0
0.012658
0
1
0.029851
false
0
0.089552
0
0.19403
0
0
0
0
null
0
0
0
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
e036f44b7fa0f2862267ed2ae2bb354dffc8bc0b
260
py
Python
setup.py
clin366/airpollutionnowcast
f9152583eebc4ad747c8d0510460334a5fb23ff9
[ "MIT" ]
null
null
null
setup.py
clin366/airpollutionnowcast
f9152583eebc4ad747c8d0510460334a5fb23ff9
[ "MIT" ]
9
2020-03-24T18:12:45.000Z
2022-02-10T00:36:57.000Z
setup.py
clin366/airpollutionnowcast
f9152583eebc4ad747c8d0510460334a5fb23ff9
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Project: Nowcasting the air pollution using online search log', author='Emory University(IR Lab)', license='MIT', )
23.636364
80
0.692308
33
260
5.393939
0.848485
0.134831
0
0
0
0
0
0
0
0
0
0.014151
0.184615
260
10
81
26
0.825472
0
0
0
0
0
0.369231
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e037cc498ab758b47d57f427145d459d775fb063
339
py
Python
problems/p0048/s48.py
ahrarmonsur/euler
4174790637806521a4ea2973abeb76c96c64a782
[ "MIT" ]
1
2017-12-19T21:18:48.000Z
2017-12-19T21:18:48.000Z
problems/p0048/s48.py
ahrarmonsur/euler
4174790637806521a4ea2973abeb76c96c64a782
[ "MIT" ]
null
null
null
problems/p0048/s48.py
ahrarmonsur/euler
4174790637806521a4ea2973abeb76c96c64a782
[ "MIT" ]
null
null
null
""" Project Euler Problem 48 Self powers Solved by Ahrar Monsur The series, 1^1 + 2^2 + 3^3 + ... + 10^10 = 10405071317. Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000. """ def main(): max_digits = 1000 sum = 0 for i in range(1, max_digits+1): sum += i**i print str(...
17.842105
74
0.575221
60
339
3.216667
0.566667
0.093264
0.103627
0.11399
0.15544
0.15544
0.15544
0.15544
0
0
0
0.184
0.262537
339
19
75
17.842105
0.588
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e03860989956f152e97aacd3a94938522a675b8e
1,042
py
Python
esercizi/areaSottesaCompareNumPy.py
gdv/python-alfabetizzazione
d87561222de8a230db11d8529c49cf1702aec326
[ "MIT" ]
null
null
null
esercizi/areaSottesaCompareNumPy.py
gdv/python-alfabetizzazione
d87561222de8a230db11d8529c49cf1702aec326
[ "MIT" ]
null
null
null
esercizi/areaSottesaCompareNumPy.py
gdv/python-alfabetizzazione
d87561222de8a230db11d8529c49cf1702aec326
[ "MIT" ]
1
2019-03-26T11:14:33.000Z
2019-03-26T11:14:33.000Z
import numpy as np import timeit def effe(x): y = -x * (x - 1.0) return y numIntervalli = input('inserire il numero di intervalli in [0.0, 1.0] ') deltaIntervallo = 1.0 / float(numIntervalli) print "larghezza intervallo", deltaIntervallo start = timeit.default_timer() xIntervalli = [] yIntervalli = [] i =...
24.809524
72
0.726488
127
1,042
5.937008
0.425197
0.013263
0.071618
0.01061
0
0
0
0
0
0
0
0.020713
0.166027
1,042
41
73
25.414634
0.846951
0.071977
0
0
0
0
0.14553
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e039c81acd8d1fcb88f92f04b6556a716666da98
12,736
py
Python
testing/regrid/testEsmfGridToMeshRegridCsrv.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
62
2018-03-30T15:46:56.000Z
2021-12-08T23:30:24.000Z
testing/regrid/testEsmfGridToMeshRegridCsrv.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
114
2018-03-21T01:12:43.000Z
2021-07-05T12:29:54.000Z
testing/regrid/testEsmfGridToMeshRegridCsrv.py
CDAT/uvcdat
5133560c0c049b5c93ee321ba0af494253b44f91
[ "BSD-3-Clause" ]
14
2018-06-06T02:42:47.000Z
2021-11-26T03:27:00.000Z
#!/usr/bin/env python # # $Id: ESMP_GridToMeshRegridCsrv.py,v 1.5 2012/04/23 23:00:14 rokuingh Exp $ #=============================================================================== # ESMP/examples/ESMP_GridToMeshRegrid.py #=============================================================================== """...
33.515789
86
0.613693
1,760
12,736
4.323864
0.163068
0.049409
0.026018
0.022076
0.377924
0.332983
0.299869
0.275033
0.236137
0.189093
0
0.051196
0.254633
12,736
379
87
33.604222
0.750448
0.160019
0
0.157895
0
0
0.024728
0
0
0
0
0
0.005848
0
null
null
0.011696
0.023392
null
null
0.02924
0
0
0
null
0
0
0
0
0
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
e03bee15bfc41f500be41ba4168c4029ea4dba20
3,770
py
Python
scripts/beautify.py
lukaschoebel/POTUSgen
7b88ba63f0ddab199937df909c5af3271a833cf3
[ "MIT" ]
null
null
null
scripts/beautify.py
lukaschoebel/POTUSgen
7b88ba63f0ddab199937df909c5af3271a833cf3
[ "MIT" ]
5
2020-03-25T08:02:45.000Z
2020-04-08T20:07:42.000Z
scripts/beautify.py
lukaschoebel/POTUSgen
7b88ba63f0ddab199937df909c5af3271a833cf3
[ "MIT" ]
null
null
null
import json import re import sys def beautify(name): ''' Loading, filtering and saving the JSON tweet file to a newly generated .txt file :type: name: String :rtype: output: .txt ''' filename = name + '.json' output_name = name + "_filtered.txt" with open(filename, "r", encoding="utf-8")...
33.963964
129
0.571088
512
3,770
4.158203
0.404297
0.022546
0.045092
0.042743
0.130108
0.107562
0.103335
0.086426
0.065759
0.065759
0
0.072727
0.270557
3,770
111
130
33.963964
0.700364
0.396286
0
0.070175
1
0
0.211026
0.105739
0
0
0
0
0
1
0.035088
false
0
0.052632
0
0.140351
0.017544
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
e0404632a7378b088279de3e94aac11c26a9e183
1,540
py
Python
monasca_persister/conf/influxdb.py
zhangjianweibj/monasca-persister
0c5d8a7c5553001f2d38227347f482201f92c8e1
[ "Apache-2.0" ]
null
null
null
monasca_persister/conf/influxdb.py
zhangjianweibj/monasca-persister
0c5d8a7c5553001f2d38227347f482201f92c8e1
[ "Apache-2.0" ]
1
2020-03-13T12:30:29.000Z
2020-03-13T12:38:16.000Z
monasca_persister/conf/influxdb.py
zhangjianweibj/monasca-persister
0c5d8a7c5553001f2d38227347f482201f92c8e1
[ "Apache-2.0" ]
null
null
null
# (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP # Copyright 2017 FUJITSU LIMITED # # 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...
32.765957
69
0.653896
190
1,540
5.221053
0.573684
0.060484
0.02621
0.032258
0
0
0
0
0
0
0
0.017544
0.25974
1,540
46
70
33.478261
0.852632
0.398701
0
0
0
0
0.225275
0
0
0
0
0
0
1
0.083333
false
0.083333
0.041667
0.041667
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e044775152d95d5fb032af9b89fee05b4ac263fe
2,630
py
Python
src/server.py
FlakM/fastai_text_serving
8262c2c1192c5e11df2e06b494ab9cf88c1dcd2a
[ "Apache-2.0" ]
null
null
null
src/server.py
FlakM/fastai_text_serving
8262c2c1192c5e11df2e06b494ab9cf88c1dcd2a
[ "Apache-2.0" ]
null
null
null
src/server.py
FlakM/fastai_text_serving
8262c2c1192c5e11df2e06b494ab9cf88c1dcd2a
[ "Apache-2.0" ]
null
null
null
import asyncio import logging import aiohttp import uvicorn from fastai.vision import * from starlette.applications import Starlette from starlette.middleware.cors import CORSMiddleware from starlette.responses import JSONResponse # put your url here here model_file_url = 'https://www.dropbox.com/s/...?raw=1' model_f...
30.941176
107
0.692776
359
2,630
4.927577
0.417827
0.071227
0.02035
0.015828
0.01922
0
0
0
0
0
0
0.009259
0.178707
2,630
84
108
31.309524
0.809722
0.030798
0
0
0
0
0.117439
0.016496
0
0
0
0
0
0
null
null
0
0.133333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e044ab975c816db8531273f338dcef5b52d8c7ce
1,061
py
Python
src/geneflow/extend/local_workflow.py
jhphan/geneflow2
a39ab97e6425ee45584cfc15b5740e94a5bf7512
[ "Apache-2.0" ]
7
2019-04-11T03:50:51.000Z
2020-03-27T15:59:04.000Z
src/geneflow/extend/local_workflow.py
jhphan/geneflow2
a39ab97e6425ee45584cfc15b5740e94a5bf7512
[ "Apache-2.0" ]
1
2019-05-06T14:18:42.000Z
2019-05-08T22:06:12.000Z
src/geneflow/extend/local_workflow.py
jhphan/geneflow2
a39ab97e6425ee45584cfc15b5740e94a5bf7512
[ "Apache-2.0" ]
6
2019-04-10T20:25:27.000Z
2021-12-16T15:59:59.000Z
"""This module contains the GeneFlow LocalWorkflow class.""" class LocalWorkflow: """ A class that represents the Local Workflow objects. """ def __init__( self, job, config, parsed_job_work_uri ): """ Instantiate LocalWorkflow class....
18.293103
60
0.524034
100
1,061
5.37
0.42
0.100559
0.072626
0.089385
0.108007
0
0
0
0
0
0
0
0.402451
1,061
57
61
18.614035
0.847003
0.410933
0
0.125
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
1
e0453a8ff093c7c5f6bb2239656a47c98c50cec7
2,849
py
Python
S12/tensornet/engine/ops/lr_scheduler.py
abishek-raju/EVA4B2
189f4062c85d91f43c1381087a9c89ff794e5428
[ "Apache-2.0" ]
4
2020-06-18T13:07:19.000Z
2022-01-07T10:51:10.000Z
S12/tensornet/engine/ops/lr_scheduler.py
abishek-raju/EVA4B2
189f4062c85d91f43c1381087a9c89ff794e5428
[ "Apache-2.0" ]
1
2021-07-31T04:34:46.000Z
2021-08-11T05:55:57.000Z
S12/tensornet/engine/ops/lr_scheduler.py
abishek-raju/EVA4B2
189f4062c85d91f43c1381087a9c89ff794e5428
[ "Apache-2.0" ]
4
2020-08-09T07:10:46.000Z
2021-01-16T14:57:23.000Z
from torch.optim.lr_scheduler import StepLR, ReduceLROnPlateau, OneCycleLR def step_lr(optimizer, step_size, gamma=0.1, last_epoch=-1): """Create LR step scheduler. Args: optimizer (torch.optim): Model optimizer. step_size (int): Frequency for changing learning rate. gamma (float): Fa...
40.7
102
0.679537
394
2,849
4.774112
0.27665
0.070175
0.041467
0.036683
0.239766
0.184476
0.127592
0.078682
0.047847
0.047847
0
0.01532
0.243945
2,849
69
103
41.289855
0.857939
0.667954
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
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
1
0
0
0
0
0
0
0
1
e04601e1749bc51e7e5f74ca383f947dc25e7da9
562
py
Python
islam_fitz/survey/migrations/0005_auto_20210712_2132.py
OmarEhab177/Islam_fitz
6ad0eb21549895a6fe537e8413022b82bc530c57
[ "MIT" ]
null
null
null
islam_fitz/survey/migrations/0005_auto_20210712_2132.py
OmarEhab177/Islam_fitz
6ad0eb21549895a6fe537e8413022b82bc530c57
[ "MIT" ]
2
2022-03-01T12:17:05.000Z
2022-03-30T12:19:55.000Z
islam_fitz/survey/migrations/0005_auto_20210712_2132.py
OmarEhab177/Islam_fitz
6ad0eb21549895a6fe537e8413022b82bc530c57
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-07-12 19:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('survey', '0004_lastpage_whatsapp_button'), ] operations = [ migrations.RemoveField( model_name='lastpage', name='wh...
23.416667
61
0.592527
56
562
5.785714
0.678571
0.08642
0.104938
0.12963
0.179012
0
0
0
0
0
0
0.058524
0.300712
562
23
62
24.434783
0.765903
0.081851
0
0.235294
1
0
0.157588
0.05642
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e048929c57d8279d48bbfdb7b6430abd2459ceab
243
py
Python
Others/code_festival/code-festival-2015-final-open/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
Others/code_festival/code-festival-2015-final-open/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
Others/code_festival/code-festival-2015-final-open/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- def main(): s, t, u = map(str, input().split()) if len(s) == 5 and len(t) == 7 and len(u) == 5: print('valid') else: print('invalid') if __name__ == '__main__': main()
16.2
52
0.440329
33
243
3
0.666667
0.121212
0
0
0
0
0
0
0
0
0
0.025157
0.345679
243
14
53
17.357143
0.597484
0.08642
0
0
0
0
0.097087
0
0
0
0
0
0
1
0.125
true
0
0
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e04d583757322341dcf56eb5852389f9fd5b2748
1,634
py
Python
mistral/tests/unit/utils/test_utils.py
shubhamdang/mistral
3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d
[ "Apache-2.0" ]
205
2015-06-21T11:51:47.000Z
2022-03-05T04:00:04.000Z
mistral/tests/unit/utils/test_utils.py
shubhamdang/mistral
3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d
[ "Apache-2.0" ]
8
2015-06-23T14:47:58.000Z
2021-01-28T06:06:44.000Z
mistral/tests/unit/utils/test_utils.py
shubhamdang/mistral
3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d
[ "Apache-2.0" ]
110
2015-06-14T03:34:38.000Z
2021-11-11T12:12:56.000Z
# Copyright 2013 - Mirantis, Inc. # Copyright 2015 - StackStorm, Inc. # Copyright 2015 - Huawei Technologies Co. Ltd # # 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:/...
29.178571
77
0.632191
200
1,634
5.04
0.53
0.059524
0.029762
0.053571
0.168651
0.168651
0.140873
0.140873
0.140873
0.140873
0
0.013865
0.293758
1,634
55
78
29.709091
0.859619
0.403305
0
0.333333
0
0
0.017727
0
0
0
0
0
0.133333
1
0.066667
false
0.166667
0.133333
0
0.366667
0
0
0
0
null
0
0
0
0
0
0
0
0
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
e04ec585b764ff6cb1ec40221ed614d384e735f8
581
py
Python
django_app_permissions/management/commands/resolve_app_groups.py
amp89/django-app-permissions
11f576d2118f5b73fdbefa0675acc3374a5a9749
[ "MIT" ]
2
2020-09-04T04:12:30.000Z
2020-10-20T00:12:01.000Z
django_app_permissions/management/commands/resolve_app_groups.py
amp89/django-app-permissions
11f576d2118f5b73fdbefa0675acc3374a5a9749
[ "MIT" ]
4
2020-09-06T22:29:18.000Z
2020-09-11T01:19:50.000Z
django_app_permissions/management/commands/resolve_app_groups.py
amp89/django-app-permissions
11f576d2118f5b73fdbefa0675acc3374a5a9749
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand, no_translations from django.contrib.auth.models import Group from django.conf import settings import sys class Command(BaseCommand): def handle(self, *args, **options): sys.stdout.write("\nResolving app groups") app_list = [app_name.lower...
32.277778
95
0.693632
79
581
4.936709
0.56962
0.089744
0.107692
0.061538
0
0
0
0
0
0
0
0
0.203098
581
18
96
32.277778
0.842333
0
0
0
0
0
0.087629
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e04f5b24d6bd2e775a7ec943b8b4d08de4e402bf
34,343
py
Python
swift/common/db.py
sunzz679/swift-2.4.0--source-read
64355268da5265440f5f7e8d280dd8cd4c2cf2a2
[ "Apache-2.0" ]
null
null
null
swift/common/db.py
sunzz679/swift-2.4.0--source-read
64355268da5265440f5f7e8d280dd8cd4c2cf2a2
[ "Apache-2.0" ]
null
null
null
swift/common/db.py
sunzz679/swift-2.4.0--source-read
64355268da5265440f5f7e8d280dd8cd4c2cf2a2
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2010-2012 OpenStack Foundation # # 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 agree...
38.032115
79
0.573945
4,027
34,343
4.742737
0.162155
0.019163
0.017802
0.01021
0.320593
0.279125
0.229279
0.209069
0.188387
0.169904
0
0.006636
0.341787
34,343
902
80
38.074279
0.838266
0.041406
0
0.375212
0
0
0.169021
0.000913
0
0
0
0
0
0
null
null
0.005093
0.03056
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e053d13d8a4cd7c86d2670f87f97133354905c98
36,370
py
Python
tests/python/gaia-ui-tests/gaiatest/gaia_test.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
1
2020-04-06T13:02:09.000Z
2020-04-06T13:02:09.000Z
tests/python/gaia-ui-tests/gaiatest/gaia_test.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
tests/python/gaia-ui-tests/gaiatest/gaia_test.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import json import os import sys import time from marionette import MarionetteTestCase from marionette.by import By fro...
41.376564
139
0.648474
4,227
36,370
5.388219
0.139815
0.087285
0.057165
0.043379
0.456401
0.395724
0.361257
0.330216
0.282446
0.226466
0
0.004811
0.251389
36,370
878
140
41.42369
0.831711
0.063761
0
0.283721
0
0.00155
0.189417
0.086549
0
0
0
0.001139
0.029457
0
null
null
0.010853
0.031008
null
null
0.004651
0
0
0
null
0
0
0
0
0
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
e053d242f75ab9ddd50217184c0c2cd558a9aad9
5,591
py
Python
library/__mozilla__/pyjamas/DOM.py
certik/pyjamas
5bb72e63e50f09743ac986f4c9690ba50c499ba9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
library/__mozilla__/pyjamas/DOM.py
certik/pyjamas
5bb72e63e50f09743ac986f4c9690ba50c499ba9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
library/__mozilla__/pyjamas/DOM.py
certik/pyjamas
5bb72e63e50f09743ac986f4c9690ba50c499ba9
[ "ECL-2.0", "Apache-2.0" ]
1
2019-08-13T20:32:25.000Z
2019-08-13T20:32:25.000Z
def buttonClick(button): JS(""" var doc = button.ownerDocument; if (doc != null) { var evt = doc.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, null, 0, 0, 0, 0, 0, false, false, false, false, 0, null); button.d...
29.119792
84
0.571275
609
5,591
5.220033
0.280788
0.033973
0.027682
0.021705
0.505505
0.485373
0.431268
0.406103
0.301353
0.287512
0
0.017414
0.301556
5,591
191
85
29.272251
0.796671
0.296548
0
0.330827
0
0.007519
0.898584
0.183784
0
0
0
0
0
1
0.06015
false
0
0
0
0.195489
0
0
0
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
e05432743bd72af1411301793f19ae278f8a6b5a
485
py
Python
apps/vendors/migrations/0090_auto_20160610_2125.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
apps/vendors/migrations/0090_auto_20160610_2125.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
apps/vendors/migrations/0090_auto_20160610_2125.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-10 21:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vendors', '0089_auto_20160602_2123'), ] operations = [ migrations.AlterField...
23.095238
86
0.626804
55
485
5.327273
0.818182
0.061433
0
0
0
0
0
0
0
0
0
0.096419
0.251546
485
20
87
24.25
0.710744
0.138144
0
0
1
0
0.110843
0.055422
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0554c3395746111d418fbf380163f0e080e4265
1,260
py
Python
pytorch_gleam/search/rerank_format.py
Supermaxman/pytorch-gleam
8b0d8dddc812e8ae120c9760fd44fe93da3f902d
[ "Apache-2.0" ]
null
null
null
pytorch_gleam/search/rerank_format.py
Supermaxman/pytorch-gleam
8b0d8dddc812e8ae120c9760fd44fe93da3f902d
[ "Apache-2.0" ]
null
null
null
pytorch_gleam/search/rerank_format.py
Supermaxman/pytorch-gleam
8b0d8dddc812e8ae120c9760fd44fe93da3f902d
[ "Apache-2.0" ]
null
null
null
import torch import argparse from collections import defaultdict import os import json def load_predictions(input_path): pred_list = [] for file_name in os.listdir(input_path): if file_name.endswith('.pt'): preds = torch.load(os.path.join(input_path, file_name)) pred_list.extend(preds) question_scores = ...
25.714286
86
0.743651
191
1,260
4.586387
0.350785
0.071918
0.041096
0.054795
0.084475
0
0
0
0
0
0
0.003683
0.138095
1,260
48
87
26.25
0.802947
0.024603
0
0
0
0
0.103589
0
0
0
0
0
0
1
0.054054
false
0.081081
0.135135
0
0.216216
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
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
e055f89145eb203a0a63bfdad54931948d02ec37
388
py
Python
des036.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
des036.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
des036.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
casa = int(input('Qual o valor da casa? ')) sal = int(input('Qual seu salario? ')) prazo = int(input('Quantos meses deseja pagar ? ')) parcela = casa/prazo margem = sal* (30/100) if parcela > margem: print('Este negocio não foi aprovado, aumente o prazo .') else: print("Negocio aprovado pois a parcela é...
38.8
111
0.664948
59
388
4.372881
0.644068
0.093023
0.093023
0
0
0
0
0
0
0
0
0.016026
0.195876
388
9
112
43.111111
0.810897
0
0
0
0
0
0.503958
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e05606e62a7f260ca58d2f3413562fa3ee898b64
1,000
py
Python
HackBitApp/migrations/0003_roadmap.py
SukhadaM/HackBit-Interview-Preparation-Portal
f4c6b0d7168a4ea4ffcf1569183b1614752d9946
[ "MIT" ]
null
null
null
HackBitApp/migrations/0003_roadmap.py
SukhadaM/HackBit-Interview-Preparation-Portal
f4c6b0d7168a4ea4ffcf1569183b1614752d9946
[ "MIT" ]
null
null
null
HackBitApp/migrations/0003_roadmap.py
SukhadaM/HackBit-Interview-Preparation-Portal
f4c6b0d7168a4ea4ffcf1569183b1614752d9946
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-27 18:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('HackBitApp', '0002_company_photo'), ] operations = [ migrations.CreateModel( name='Roadmap', fields=[ ...
34.482759
114
0.571
98
1,000
5.673469
0.581633
0.059353
0.07554
0.113309
0.241007
0.190647
0.190647
0.190647
0.190647
0
0
0.035112
0.288
1,000
28
115
35.714286
0.745787
0.045
0
0
1
0
0.210913
0.069255
0
0
0
0
0
1
0
false
0
0.045455
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0581bc2242266c4f411267aa587a7bfd0afc840
965
py
Python
main/models.py
StevenSume/EasyCMDB
c2c44c9efe2de2729659d81ef886abff242ac1c5
[ "Apache-2.0" ]
2
2019-08-23T06:04:12.000Z
2019-09-16T07:27:16.000Z
main/models.py
StevenSume/EasyCMDB
c2c44c9efe2de2729659d81ef886abff242ac1c5
[ "Apache-2.0" ]
null
null
null
main/models.py
StevenSume/EasyCMDB
c2c44c9efe2de2729659d81ef886abff242ac1c5
[ "Apache-2.0" ]
null
null
null
from .app import db class Project(db.Model): __tablename__ = 'projects' id = db.Column(db.Integer,primary_key=True,autoincrement=True) project_name = db.Column(db.String(64),unique=True,index=True) def to_dict(self): mydict = { 'id': self.id, 'project_name': self.projec...
26.805556
67
0.592746
121
965
4.446281
0.280992
0.089219
0.111524
0.066915
0.630112
0.561338
0.453532
0.33829
0.33829
0.211896
0
0.008584
0.275648
965
35
68
27.571429
0.761087
0
0
0.413793
0
0
0.070539
0
0
0
0
0
0
1
0.137931
false
0
0.034483
0.068966
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e059b01690fb071d4b03811c7664f63e0007961b
3,914
py
Python
lib_exec/StereoPipeline/libexec/asp_image_utils.py
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
20
2017-02-01T14:54:57.000Z
2022-01-25T06:34:35.000Z
lib_exec/StereoPipeline/libexec/asp_image_utils.py
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
3
2020-04-21T12:11:26.000Z
2021-01-10T07:00:51.000Z
lib_exec/StereoPipeline/libexec/asp_image_utils.py
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
10
2017-12-18T18:45:25.000Z
2021-11-22T02:43:03.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # __BEGIN_LICENSE__ # Copyright (c) 2009-2013, United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. All # rights reserved. # # The NGT platform is licensed under the Apache License, Version 2.0 (the # "Lic...
34.946429
155
0.67348
478
3,914
5.462343
0.481172
0.037534
0.02681
0.056683
0.171582
0.099579
0.099579
0.099579
0.099579
0.099579
0
0.010302
0.231221
3,914
111
156
35.261261
0.857428
0.314768
0
0.173913
0
0.021739
0.113951
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
e05d022e20ec708234ba466419ce63a57d30ac77
2,716
py
Python
PythonScripting/NumbersInPython.py
Neo-sunny/pythonProgs
a9d2359d8a09d005d0ba6f94d7d256bf91499793
[ "MIT" ]
null
null
null
PythonScripting/NumbersInPython.py
Neo-sunny/pythonProgs
a9d2359d8a09d005d0ba6f94d7d256bf91499793
[ "MIT" ]
null
null
null
PythonScripting/NumbersInPython.py
Neo-sunny/pythonProgs
a9d2359d8a09d005d0ba6f94d7d256bf91499793
[ "MIT" ]
null
null
null
""" Demonstration of numbers in Python """ # Python has an integer type called int print("int") print("---") print(0) print(1) print(-3) print(70383028364830) print("") # Python has a real number type called float print("float") print("-----") print(0.0) print(7.35) print(-43.2) print("") # Limited precision print...
17.522581
65
0.674521
387
2,716
4.728682
0.30491
0.036066
0.022951
0.032787
0.065574
0.05847
0.05847
0.05847
0.05847
0.05847
0
0.122475
0.143225
2,716
154
66
17.636364
0.663945
0.238218
0
0.120879
0
0
0.183106
0.017984
0
0
0
0
0
1
0
false
0
0
0
0
0.934066
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e05e6c4440c357c867a4c38e37f726c4d615e768
1,676
py
Python
3DBeam/source/solving_strategies/strategies/linear_solver.py
JoZimmer/Beam-Models
e701c0bae6e3035e7a07cc590da4a132b133dcff
[ "BSD-3-Clause" ]
null
null
null
3DBeam/source/solving_strategies/strategies/linear_solver.py
JoZimmer/Beam-Models
e701c0bae6e3035e7a07cc590da4a132b133dcff
[ "BSD-3-Clause" ]
null
null
null
3DBeam/source/solving_strategies/strategies/linear_solver.py
JoZimmer/Beam-Models
e701c0bae6e3035e7a07cc590da4a132b133dcff
[ "BSD-3-Clause" ]
1
2022-01-05T17:32:32.000Z
2022-01-05T17:32:32.000Z
from source.solving_strategies.strategies.solver import Solver class LinearSolver(Solver): def __init__(self, array_time, time_integration_scheme, dt, comp_model, initial_conditions, force, structure_model): super().__ini...
38.976744
80
0.590095
183
1,676
5.180328
0.404372
0.052743
0.041139
0.044304
0.390295
0.390295
0.390295
0.390295
0.305907
0.305907
0
0.00265
0.324582
1,676
42
81
39.904762
0.834806
0.318616
0
0
0
0
0.011525
0
0
0
0
0.02381
0
1
0.142857
false
0
0.047619
0
0.238095
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e05ea195ece947573587efca60ad05b204af43f6
1,095
py
Python
payment/migrations/0002_auto_20171125_0022.py
Littledelma/mofadog
5a7c6672da248e400a8a5746506a6e7b273c9510
[ "MIT" ]
null
null
null
payment/migrations/0002_auto_20171125_0022.py
Littledelma/mofadog
5a7c6672da248e400a8a5746506a6e7b273c9510
[ "MIT" ]
1
2021-06-08T03:28:08.000Z
2021-06-08T03:28:08.000Z
payment/migrations/0002_auto_20171125_0022.py
Littledelma/mofadog
5a7c6672da248e400a8a5746506a6e7b273c9510
[ "MIT" ]
1
2021-06-08T03:23:34.000Z
2021-06-08T03:23:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-24 16:22 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('payment', '0001_initial'), ] ...
33.181818
138
0.63379
127
1,095
5.307087
0.393701
0.035608
0.047478
0.059347
0.514837
0.497033
0.497033
0.430267
0.284866
0.284866
0
0.093976
0.242009
1,095
32
139
34.21875
0.718072
0.0621
0
0.36
1
0
0.113281
0
0
0
0
0
0
1
0
false
0
0.16
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e05fe1dabdb8d88cb6b7077a77b9ecb4a63a39fd
841
py
Python
src/sqlfluff/rules/L024.py
NathanHowell/sqlfluff
9eb30226d77727cd613947e144a0abe483151f18
[ "MIT" ]
3,024
2020-10-01T11:03:51.000Z
2022-03-31T16:42:00.000Z
src/sqlfluff/rules/L024.py
NathanHowell/sqlfluff
9eb30226d77727cd613947e144a0abe483151f18
[ "MIT" ]
2,395
2020-09-30T12:59:21.000Z
2022-03-31T22:05:29.000Z
src/sqlfluff/rules/L024.py
NathanHowell/sqlfluff
9eb30226d77727cd613947e144a0abe483151f18
[ "MIT" ]
246
2020-10-02T17:08:03.000Z
2022-03-30T17:43:51.000Z
"""Implementation of Rule L024.""" from sqlfluff.core.rules.doc_decorators import document_fix_compatible from sqlfluff.rules.L023 import Rule_L023 @document_fix_compatible class Rule_L024(Rule_L023): """Single whitespace expected after USING in JOIN clause. | **Anti-pattern** .. code-block:: sql ...
21.564103
70
0.652794
107
841
4.981308
0.598131
0.030019
0.078799
0.052533
0.11257
0.11257
0.11257
0.11257
0
0
0
0.023885
0.25327
841
38
71
22.131579
0.821656
0.464923
0
0
0
0
0.087533
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e06275178027bd16b4be36faab1b32af531b42cb
1,047
py
Python
flask-graphene-sqlalchemy/models.py
JovaniPink/flask-apps
de887f15261c286986cf38d234d49f7e4eb79c1a
[ "MIT" ]
null
null
null
flask-graphene-sqlalchemy/models.py
JovaniPink/flask-apps
de887f15261c286986cf38d234d49f7e4eb79c1a
[ "MIT" ]
null
null
null
flask-graphene-sqlalchemy/models.py
JovaniPink/flask-apps
de887f15261c286986cf38d234d49f7e4eb79c1a
[ "MIT" ]
null
null
null
import os from graphene_sqlalchemy import SQLAlchemyObjectType from sqlalchemy import Column, Integer, String, create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base POSTGRES_CONNECTION_STRING = ( os.environ.get("POSTGRES_CONNECTION_STRING") ...
26.175
72
0.770774
117
1,047
6.65812
0.444444
0.066752
0.092426
0.05905
0.06932
0
0
0
0
0
0
0.004479
0.147087
1,047
39
73
26.846154
0.867861
0
0
0.068966
0
0
0.088825
0.074499
0
0
0
0
0
1
0
false
0.034483
0.172414
0
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e068d2bbe0be95225acd32e5324a05a51bc85276
5,641
py
Python
pandas 9 - Statistics Information on data sets.py
PythonProgramming/Pandas-Basics-with-2.7
a6ecd5ac7c25dba83e934549903f229de89290d3
[ "MIT" ]
10
2015-07-16T05:46:10.000Z
2020-10-28T10:35:50.000Z
pandas 9 - Statistics Information on data sets.py
PythonProgramming/Pandas-Basics-with-2.7
a6ecd5ac7c25dba83e934549903f229de89290d3
[ "MIT" ]
null
null
null
pandas 9 - Statistics Information on data sets.py
PythonProgramming/Pandas-Basics-with-2.7
a6ecd5ac7c25dba83e934549903f229de89290d3
[ "MIT" ]
9
2017-01-31T18:57:25.000Z
2019-09-10T08:52:57.000Z
import pandas as pd from pandas import DataFrame df = pd.read_csv('sp500_ohlc.csv', index_col = 'Date', parse_dates=True) df['H-L'] = df.High - df.Low # Giving us count (rows), mean (avg), std (standard deviation for the entire # set), minimum for the set, maximum for the set, and some %s in that range. print( df.des...
32.606936
96
0.565148
762
5,641
4.135171
0.217848
0.162488
0.040622
0.055855
0.619486
0.603301
0.506506
0.488099
0.488099
0.488099
0
0.053617
0.29906
5,641
172
97
32.796512
0.743298
0.204928
0
0.730769
0
0
0.104508
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0.096154
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
e0712713ade0b6560e6616c234015a83c6ef39c9
696
py
Python
models/database_models/comment_model.py
RuiCoreSci/Flask-Restful
03f98a17487d407b69b853a9bf0ed20d2c5b003b
[ "MIT" ]
7
2020-05-24T02:15:46.000Z
2020-11-26T07:14:44.000Z
models/database_models/comment_model.py
RuiCoreSci/Flask-Restful
03f98a17487d407b69b853a9bf0ed20d2c5b003b
[ "MIT" ]
12
2020-05-17T10:46:29.000Z
2021-05-06T20:08:37.000Z
models/database_models/comment_model.py
RuiCoreSci/Flask-Restful
03f98a17487d407b69b853a9bf0ed20d2c5b003b
[ "MIT" ]
4
2020-05-09T07:26:09.000Z
2021-10-31T07:09:10.000Z
from sqlalchemy import Integer, Text, DateTime, func, Boolean, text from models.database_models import Base, Column class Comment(Base): __tablename__ = "comment" id = Column(Integer, primary_key=True, ) user_id = Column(Integer, nullable=False, comment="评论用户的 ID") post_id = Column(Integer, nullable...
40.941176
106
0.728448
89
696
5.550562
0.438202
0.105263
0.161943
0.093117
0.295547
0.295547
0.153846
0
0
0
0
0.001669
0.139368
696
16
107
43.5
0.823038
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.181818
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
e0776cc9711477b5d215a8a600b08e98b5af4d8a
857
py
Python
deal/linter/_extractors/returns.py
m4ta1l/deal
2a8e9bf412b8635b00a2b798dd8802375814a1c8
[ "MIT" ]
1
2020-09-05T13:54:16.000Z
2020-09-05T13:54:16.000Z
deal/linter/_extractors/returns.py
m4ta1l/deal
2a8e9bf412b8635b00a2b798dd8802375814a1c8
[ "MIT" ]
7
2020-09-05T13:54:28.000Z
2020-11-27T05:59:19.000Z
deal/linter/_extractors/returns.py
Smirenost/deal
2a8e9bf412b8635b00a2b798dd8802375814a1c8
[ "MIT" ]
null
null
null
# built-in from typing import Optional # app from .common import TOKENS, Extractor, Token, traverse from .value import UNKNOWN, get_value get_returns = Extractor() inner_extractor = Extractor() def has_returns(body: list) -> bool: for expr in traverse(body=body): if isinstance(expr, TOKENS.RETURN + TOK...
25.205882
74
0.711785
119
857
5.02521
0.319328
0.06689
0.060201
0.080268
0.41806
0.41806
0.41806
0.41806
0.41806
0.41806
0
0
0.183197
857
33
75
25.969697
0.854286
0.014002
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.136364
false
0
0.136364
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e078ffec67d1b2046e248c3ee5d65b353731cbf4
1,479
py
Python
examples/basic/wire_feedthrough.py
souviksaha97/spydrnet-physical
b07bcc152737158ea7cbebf0ef844abe49d29c5e
[ "BSD-3-Clause" ]
null
null
null
examples/basic/wire_feedthrough.py
souviksaha97/spydrnet-physical
b07bcc152737158ea7cbebf0ef844abe49d29c5e
[ "BSD-3-Clause" ]
null
null
null
examples/basic/wire_feedthrough.py
souviksaha97/spydrnet-physical
b07bcc152737158ea7cbebf0ef844abe49d29c5e
[ "BSD-3-Clause" ]
null
null
null
""" ========================================== Genrating feedthrough from single instance ========================================== This example demostrates how to generate a feedthrough wire connection for a given scalar or vector wires. **Initial Design** .. hdl-diagram:: ../../../examples/basic/_initial_design.v...
24.65
74
0.699797
194
1,479
5.087629
0.365979
0.020263
0.040527
0.069909
0.448835
0.343465
0.343465
0.237082
0.149949
0.149949
0
0.013688
0.110886
1,479
59
75
25.067797
0.736882
0.473969
0
0.333333
1
0
0.131339
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e07a13e1121d2676a50044d556f0800f60bfd2f7
2,849
py
Python
team_fundraising/text.py
namtel-hp/fundraising-website
30cb0cd2bd4505454295d11715e70712525234a3
[ "MIT" ]
5
2019-10-26T12:41:31.000Z
2022-03-13T08:30:29.000Z
team_fundraising/text.py
Maalik1/fundraising-website
a5fcd7e8a5966f299f57c22af8c739a3d6cd501a
[ "MIT" ]
9
2021-03-18T21:27:36.000Z
2022-03-11T23:42:46.000Z
team_fundraising/text.py
Maalik1/fundraising-website
a5fcd7e8a5966f299f57c22af8c739a3d6cd501a
[ "MIT" ]
2
2021-01-11T14:19:01.000Z
2022-02-18T19:18:38.000Z
class Donation_text: # Shown as a message across the top of the page on return from a donation # used in views.py:new_donation() thank_you = ( "Thank you for your donation. " "You may need to refresh this page to see the donation." ) confirmation_email_subject = ( 'Thank y...
33.916667
79
0.65251
397
2,849
4.602015
0.38539
0.019157
0.027367
0.038314
0.252326
0.219486
0.219486
0.204707
0.204707
0.204707
0
0.002921
0.279045
2,849
83
80
34.325301
0.886563
0.206739
0
0
0
0
0.577728
0.022272
0
0
0
0
0
1
0
false
0.090909
0
0
0.254545
0
0
0
0
null
0
0
0
0
0
0
0
0
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
0eb2577f85f04e68e802521ef8915750223e0174
624
py
Python
tests/wagtail_live/test_apps.py
wagtail/wagtail-live
dd769be089d457cf36db2506520028bc5f506ac3
[ "BSD-3-Clause" ]
22
2021-06-07T20:36:18.000Z
2022-03-29T01:48:58.000Z
tests/wagtail_live/test_apps.py
wagtail/wagtail-live
dd769be089d457cf36db2506520028bc5f506ac3
[ "BSD-3-Clause" ]
73
2021-05-21T16:08:44.000Z
2022-03-20T23:59:59.000Z
tests/wagtail_live/test_apps.py
wagtail/wagtail-live
dd769be089d457cf36db2506520028bc5f506ac3
[ "BSD-3-Clause" ]
11
2021-06-10T10:05:13.000Z
2022-02-12T13:31:34.000Z
from django.apps import apps from django.test import override_settings from wagtail_live.signals import live_page_update def test_live_page_update_signal_receivers(): assert len(live_page_update.receivers) == 0 @override_settings( WAGTAIL_LIVE_PUBLISHER="tests.testapp.publishers.DummyWebsocketPublisher" ) ...
27.130435
77
0.780449
80
624
5.725
0.4625
0.104803
0.183406
0.065502
0.262009
0.157205
0.157205
0
0
0
0
0.003774
0.150641
624
22
78
28.363636
0.860377
0.06891
0
0
0
0
0.103627
0.082902
0
0
0
0
0.066667
1
0.133333
false
0
0.2
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0eb6190157c1946b37b5fd1be18f551d0e559832
612
py
Python
python/Patterns/inheritance/main.py
zinderud/ysa
e34d3f4c7afab3976d86f5d27edfcd273414e496
[ "Apache-2.0" ]
null
null
null
python/Patterns/inheritance/main.py
zinderud/ysa
e34d3f4c7afab3976d86f5d27edfcd273414e496
[ "Apache-2.0" ]
1
2017-12-27T10:09:22.000Z
2017-12-27T10:22:47.000Z
python/Patterns/inheritance/main.py
zinderud/ysa
e34d3f4c7afab3976d86f5d27edfcd273414e496
[ "Apache-2.0" ]
null
null
null
class Yaratik(object): def move_left(self): print('Moving left...') def move_right(self): print('Moving left...') class Ejderha(Yaratik): def Ates_puskurtme(self): print('ates puskurtum!') class Zombie(Yaratik): def Isirmak(self): print('Isirdim simdi!') enemy =...
18
74
0.679739
76
612
5.381579
0.394737
0.08802
0.07335
0.09291
0
0
0
0
0
0
0
0
0.19281
612
33
75
18.545455
0.827935
0.222222
0
0.105263
0
0
0.120507
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.368421
0.210526
0
0
0
null
0
0
0
0
0
0
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
0eb71b68b065b14b8eebff52fa3bbffc15201b7a
1,527
py
Python
clustering/graph_utils.py
perathambkk/ml-techniques
5d6fd122322342c0b47dc65d09c4425fd73f2ea9
[ "MIT" ]
null
null
null
clustering/graph_utils.py
perathambkk/ml-techniques
5d6fd122322342c0b47dc65d09c4425fd73f2ea9
[ "MIT" ]
null
null
null
clustering/graph_utils.py
perathambkk/ml-techniques
5d6fd122322342c0b47dc65d09c4425fd73f2ea9
[ "MIT" ]
null
null
null
""" Author: Peratham Wiriyathammabhum """ import numpy as np import pandas as pd from sklearn.neighbors import NearestNeighbors def affinity_graph(X): ''' This function returns a numpy array. ''' ni, nd = X.shape A = np.zeros((ni, ni)) for i in range(ni): for j in range(i+1, ni): dist = ((X[i] - X[j])**...
21.814286
75
0.614276
268
1,527
3.466418
0.309701
0.04521
0.06028
0.064586
0.383208
0.334769
0.318622
0.318622
0.318622
0.318622
0
0.020781
0.212181
1,527
70
76
21.814286
0.750623
0.183366
0
0.4375
0
0
0.040067
0
0
0
0
0.014286
0
1
0.083333
false
0.020833
0.0625
0
0.229167
0
0
0
0
null
0
0
0
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
0ec1afd2facbda8f3febe8ca1dc7c71fb6558f04
1,993
py
Python
packages/watchmen-data-kernel/src/watchmen_data_kernel/meta/external_writer_service.py
Indexical-Metrics-Measure-Advisory/watchmen
c54ec54d9f91034a38e51fd339ba66453d2c7a6d
[ "MIT" ]
null
null
null
packages/watchmen-data-kernel/src/watchmen_data_kernel/meta/external_writer_service.py
Indexical-Metrics-Measure-Advisory/watchmen
c54ec54d9f91034a38e51fd339ba66453d2c7a6d
[ "MIT" ]
null
null
null
packages/watchmen-data-kernel/src/watchmen_data_kernel/meta/external_writer_service.py
Indexical-Metrics-Measure-Advisory/watchmen
c54ec54d9f91034a38e51fd339ba66453d2c7a6d
[ "MIT" ]
null
null
null
from typing import Optional from watchmen_auth import PrincipalService from watchmen_data_kernel.cache import CacheService from watchmen_data_kernel.common import DataKernelException from watchmen_data_kernel.external_writer import find_external_writer_create, register_external_writer_creator from watchmen_meta.common...
41.520833
110
0.831912
236
1,993
6.694915
0.275424
0.23038
0.06962
0.070886
0.210127
0.148101
0.070886
0.070886
0
0
0
0
0.104365
1,993
47
111
42.404255
0.885154
0.013046
0
0.105263
0
0
0.086514
0.053944
0
0
0
0
0
1
0.078947
false
0
0.236842
0
0.421053
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ec2983c9be55e068e1ac3a8da9a2e78b097ece9
882
py
Python
scrywarden/module.py
chasebrewsky/scrywarden
c6a5a81d14016ca58625df68594ef52dd328a0dd
[ "MIT" ]
1
2020-12-13T00:49:51.000Z
2020-12-13T00:49:51.000Z
scrywarden/module.py
chasebrewsky/scrywarden
c6a5a81d14016ca58625df68594ef52dd328a0dd
[ "MIT" ]
null
null
null
scrywarden/module.py
chasebrewsky/scrywarden
c6a5a81d14016ca58625df68594ef52dd328a0dd
[ "MIT" ]
null
null
null
from importlib import import_module from typing import Any def import_string(path: str) -> Any: """Imports a dotted path name and returns the class/attribute. Parameters ---------- path: str Dotted module path to retrieve. Returns ------- Class/attribute at the given import path....
24.5
71
0.603175
105
882
4.980952
0.428571
0.095602
0.063098
0.087954
0.091778
0
0
0
0
0
0
0.001623
0.301587
882
35
72
25.2
0.847403
0.278912
0
0.352941
0
0
0.19105
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
0ec3f460313d8f825c0daad58ff5e76ef71c5401
1,704
py
Python
Win/reg.py
QGB/QPSU
7bc214676d797f42d2d7189dc67c9377bccdf25d
[ "MIT" ]
6
2018-03-25T20:05:21.000Z
2022-03-13T17:23:05.000Z
Win/reg.py
pen9un/QPSU
76e1a3f6f6f6f78452e02f407870a5a32177b667
[ "MIT" ]
15
2018-05-14T03:30:21.000Z
2022-03-03T15:33:25.000Z
Win/reg.py
pen9un/QPSU
76e1a3f6f6f6f78452e02f407870a5a32177b667
[ "MIT" ]
1
2021-07-15T06:23:45.000Z
2021-07-15T06:23:45.000Z
#coding=utf-8 try: if __name__.startswith('qgb.Win'): from .. import py else: import py except Exception as ei: raise ei raise EnvironmentError(__name__) if py.is2(): import _winreg as winreg from _winreg import * else: import winreg from winreg import * def get(skey,name,root=HKEY_CURRENT_USER,returnTyp...
29.894737
119
0.693662
258
1,704
4.426357
0.465116
0.014011
0.028021
0.038529
0
0
0
0
0
0
0
0.02095
0.159624
1,704
56
120
30.428571
0.776536
0.245892
0
0.071429
0
0
0.209703
0.045383
0
0
0
0.017857
0
1
0.047619
false
0
0.142857
0
0.238095
0
0
0
0
null
0
0
0
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
0ec65d0e2393fe675648f46032adc3e480a8ef52
1,032
py
Python
examples/resources.py
willvousden/clint
6dc7ab1a6a162750e968463b43994447bca32544
[ "0BSD" ]
1,230
2015-01-03T05:39:25.000Z
2020-02-18T12:36:03.000Z
examples/resources.py
willvousden/clint
6dc7ab1a6a162750e968463b43994447bca32544
[ "0BSD" ]
50
2015-01-06T17:58:20.000Z
2018-03-19T13:25:22.000Z
examples/resources.py
willvousden/clint
6dc7ab1a6a162750e968463b43994447bca32544
[ "0BSD" ]
153
2015-01-03T03:56:25.000Z
2020-02-13T20:59:03.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import sys import os sys.path.insert(0, os.path.abspath('..')) from clint import resources resources.init('kennethreitz', 'clint') lorem = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...
33.290323
456
0.767442
151
1,032
5.211921
0.662252
0.081321
0.066074
0.045743
0.134689
0.134689
0
0
0
0
0
0.002222
0.127907
1,032
30
457
34.4
0.872222
0.040698
0
0
0
0.0625
0.611336
0
0
0
0
0
0.125
1
0
false
0
0.25
0
0.25
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ec932467a0e10a4a3b540d34642f573915937be
7,076
py
Python
fedora_college/modules/content/views.py
fedora-infra/fedora-college
cf310dab2e4fea02b9ac5e7f57dc53aafb4834d8
[ "BSD-3-Clause" ]
2
2015-05-16T09:54:17.000Z
2017-01-11T17:58:31.000Z
fedora_college/modules/content/views.py
fedora-infra/fedora-college
cf310dab2e4fea02b9ac5e7f57dc53aafb4834d8
[ "BSD-3-Clause" ]
null
null
null
fedora_college/modules/content/views.py
fedora-infra/fedora-college
cf310dab2e4fea02b9ac5e7f57dc53aafb4834d8
[ "BSD-3-Clause" ]
1
2020-12-07T22:14:01.000Z
2020-12-07T22:14:01.000Z
# -*- coding: utf-8 -*- import re from unicodedata import normalize from flask import Blueprint, render_template, current_app from flask import redirect, url_for, g, abort from sqlalchemy import desc from fedora_college.core.database import db from fedora_college.modules.content.forms import * # noqa from fedora_colle...
34.517073
79
0.53307
772
7,076
4.757772
0.221503
0.036755
0.045739
0.049006
0.452219
0.397767
0.329703
0.329703
0.262184
0.262184
0
0.005341
0.338468
7,076
204
80
34.686275
0.779321
0.026427
0
0.345912
0
0
0.0916
0.01832
0
0
0
0
0
0
null
null
0.006289
0.069182
null
null
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0ecb9ff079e3fe67fcf620b3218ea8892b9b9c1c
1,726
py
Python
utils/utils.py
scomup/StereoNet-ActiveStereoNet
05994cf1eec4a109e095732fe01ecb5558880ba5
[ "MIT" ]
null
null
null
utils/utils.py
scomup/StereoNet-ActiveStereoNet
05994cf1eec4a109e095732fe01ecb5558880ba5
[ "MIT" ]
null
null
null
utils/utils.py
scomup/StereoNet-ActiveStereoNet
05994cf1eec4a109e095732fe01ecb5558880ba5
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------ # Copyright (c) NKU # Licensed under the MIT License. # Written by Xuanyi Li (xuanyili.edu@gmail.com) # ------------------------------------------------------------------------------ import os import torch import torch.nn.functional as F #...
32.566038
128
0.589803
228
1,726
4.333333
0.45614
0.030364
0.036437
0.081984
0.291498
0.255061
0.255061
0.204453
0.1417
0.1417
0
0.018881
0.171495
1,726
52
129
33.192308
0.672028
0.631518
0
0.111111
0
0
0.013158
0
0
0
0
0
0
1
0.111111
false
0.055556
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0ecd026a7b7cddee19fb7d65983aadf807f4917d
657
py
Python
rblod/setup.py
TiKeil/Two-scale-RBLOD
23f17a3e4edf63ea5f208eca50ca90c19bf511a9
[ "BSD-2-Clause" ]
null
null
null
rblod/setup.py
TiKeil/Two-scale-RBLOD
23f17a3e4edf63ea5f208eca50ca90c19bf511a9
[ "BSD-2-Clause" ]
null
null
null
rblod/setup.py
TiKeil/Two-scale-RBLOD
23f17a3e4edf63ea5f208eca50ca90c19bf511a9
[ "BSD-2-Clause" ]
null
null
null
# ~~~ # This file is part of the paper: # # " An Online Efficient Two-Scale Reduced Basis Approach # for the Localized Orthogonal Decomposition " # # https://github.com/TiKeil/Two-scale-RBLOD.git # # Copyright 2019-2021 all developers. All rights reserved. # License: Licensed as BSD 2-Clause ...
26.28
89
0.648402
83
657
5.120482
0.759036
0.049412
0.047059
0
0
0
0
0
0
0
0
0.029412
0.223744
657
24
90
27.375
0.803922
0.605784
0
0
0
0
0.266393
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0ecdf401d5b3926e749aa892bfa6a87de7f72b30
8,060
py
Python
bin/euclid_fine_plot_job_array.py
ndeporzio/cosmicfish
f68f779d73f039512a958d110bb44194d0daceec
[ "MIT" ]
null
null
null
bin/euclid_fine_plot_job_array.py
ndeporzio/cosmicfish
f68f779d73f039512a958d110bb44194d0daceec
[ "MIT" ]
null
null
null
bin/euclid_fine_plot_job_array.py
ndeporzio/cosmicfish
f68f779d73f039512a958d110bb44194d0daceec
[ "MIT" ]
null
null
null
import os import shutil import numpy as np import pandas as pd ...
65.528455
116
0.262655
511
8,060
3.986301
0.448141
0.037801
0.014728
0.012764
0.028473
0.028473
0.028473
0
0
0
0
0.100917
0.675434
8,060
122
117
66.065574
0.677752
0.121216
0
0
0
0
0.048801
0
0
0
0
0
0
1
0
false
0
0.079208
0
0.079208
0.019802
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ecedb23d891d612188b09f34a36b454a3d85a93
6,674
py
Python
src/oci/apm_traces/models/query_result_row_type_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/apm_traces/models/query_result_row_type_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/apm_traces/models/query_result_row_type_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
33.878173
245
0.674408
787
6,674
5.503177
0.190597
0.068575
0.087278
0.083122
0.626414
0.532671
0.414916
0.315862
0.315862
0.287693
0
0.003669
0.264909
6,674
196
246
34.05102
0.879128
0.557537
0
0.080645
0
0
0.102352
0.052265
0
0
0
0
0
1
0.225806
false
0
0.032258
0.032258
0.419355
0
0
0
0
null
0
0
0
0
0
0
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
0ed3370d325b05dcd0ff4ac3d8d74980237e624c
1,004
py
Python
anti_cpdaily/command.py
hyx0329/nonebot_plugin_anti_cpdaily
5868626fb95876f9638aaa1edd9a2f914ea7bed1
[ "MIT" ]
2
2021-11-07T10:33:16.000Z
2021-12-20T08:25:19.000Z
anti_cpdaily/command.py
hyx0329/nonebot_plugin_anti_cpdaily
5868626fb95876f9638aaa1edd9a2f914ea7bed1
[ "MIT" ]
null
null
null
anti_cpdaily/command.py
hyx0329/nonebot_plugin_anti_cpdaily
5868626fb95876f9638aaa1edd9a2f914ea7bed1
[ "MIT" ]
null
null
null
import nonebot from nonebot import on_command from nonebot.rule import to_me from nonebot.typing import T_State from nonebot.adapters import Bot, Event from nonebot.log import logger from .config import global_config from .schedule import anti_cpdaily_check_routine cpdaily = on_command('cpdaily') scheduler = nonebot...
32.387097
124
0.76494
136
1,004
5.419118
0.441176
0.074627
0.065129
0.093623
0.126187
0
0
0
0
0
0
0.002342
0.149402
1,004
30
125
33.466667
0.860656
0.033865
0
0
0
0
0.162309
0.028322
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0ed495b3d64a671dbd7202470a06b2b18d6c7be4
155
py
Python
tests/inputs/loops/51-arrays-in-loop.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
4
2019-10-06T18:01:24.000Z
2020-07-03T05:27:35.000Z
tests/inputs/loops/51-arrays-in-loop.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
5
2021-06-07T15:50:04.000Z
2021-06-07T15:50:06.000Z
tests/inputs/loops/51-arrays-in-loop.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
null
null
null
import numpy as np from something import Top i = 0 while i < 10: a = np.ndarray((10,4)) b = np.ones((10, Top)) i += 1 del Top # show_store()
12.916667
26
0.580645
29
155
3.068966
0.689655
0.089888
0
0
0
0
0
0
0
0
0
0.080357
0.277419
155
11
27
14.090909
0.714286
0.077419
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ed9b178770e9775a60fa8ee66730cd786425565
448
py
Python
test/test_delete_group.py
ruslankl9/ironpython_training
51eaad4da24fdce60fbafee556160a9e847c08cf
[ "Apache-2.0" ]
null
null
null
test/test_delete_group.py
ruslankl9/ironpython_training
51eaad4da24fdce60fbafee556160a9e847c08cf
[ "Apache-2.0" ]
null
null
null
test/test_delete_group.py
ruslankl9/ironpython_training
51eaad4da24fdce60fbafee556160a9e847c08cf
[ "Apache-2.0" ]
null
null
null
from model.group import Group import random def test_delete_some_group(app): if len(app.group.get_group_list()) <= 1: app.group.add_new_group(Group(name='test')) old_list = app.group.get_group_list() index = random.randrange(len(old_list)) app.group.delete_group_by_index(index) new_list = ...
32
51
0.712054
73
448
4.068493
0.328767
0.13468
0.111111
0.161616
0.228956
0.161616
0
0
0
0
0
0.005376
0.169643
448
14
52
32
0.793011
0
0
0
0
0
0.008909
0
0
0
0
0
0.166667
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ed9d9ea2d863109661ee50e679a897b97a003a9
3,173
py
Python
Evaluation/batch_detection.py
gurkirt/actNet-inAct
1930bcb41553e50ddd83985a497a9d5ce4f1fcf2
[ "MIT" ]
27
2016-05-04T07:13:05.000Z
2021-12-05T04:45:45.000Z
Evaluation/batch_detection.py
gurkirt/actNet-inAct
1930bcb41553e50ddd83985a497a9d5ce4f1fcf2
[ "MIT" ]
1
2017-12-28T08:29:00.000Z
2017-12-28T08:29:00.000Z
Evaluation/batch_detection.py
gurkirt/actNet-inAct
1930bcb41553e50ddd83985a497a9d5ce4f1fcf2
[ "MIT" ]
12
2016-05-15T21:40:06.000Z
2019-11-27T09:43:55.000Z
''' Autor: Gurkirt Singh Start data: 15th May 2016 purpose: of this file is read frame level predictions and process them to produce a label per video ''' from sklearn.svm import LinearSVC from sklearn.ensemble import RandomForestClassifier import numpy as np import pickle import os import time,json import pylab as pl...
36.056818
157
0.627167
406
3,173
4.837438
0.3867
0.039715
0.038697
0.05499
0.267312
0.229633
0.217413
0.217413
0.184827
0.163951
0
0.021739
0.202647
3,173
87
158
36.471264
0.754545
0.15884
0
0.145161
0
0
0.175403
0.102419
0
0
0
0
0
0
null
null
0
0.145161
null
null
0.080645
0
0
0
null
0
0
0
0
0
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
0eda1b4f399b44a556364cedf6c955fb55a3872c
2,355
py
Python
src/decisionengine/framework/modules/tests/test_module_decorators.py
moibenko/decisionengine
4c458e0c225ec2ce1e82d56e752724983331b7d1
[ "Apache-2.0" ]
9
2018-06-11T20:06:50.000Z
2020-10-01T17:02:02.000Z
src/decisionengine/framework/modules/tests/test_module_decorators.py
moibenko/decisionengine
4c458e0c225ec2ce1e82d56e752724983331b7d1
[ "Apache-2.0" ]
551
2018-06-25T21:06:37.000Z
2022-03-31T13:47:32.000Z
src/decisionengine/framework/modules/tests/test_module_decorators.py
goodenou/decisionengine
b203e2c493cf501562accf1013c6257c348711b7
[ "Apache-2.0" ]
70
2018-06-11T20:07:01.000Z
2022-02-10T16:18:24.000Z
# SPDX-FileCopyrightText: 2017 Fermi Research Alliance, LLC # SPDX-License-Identifier: Apache-2.0 import pytest from decisionengine.framework.modules import Publisher, Source from decisionengine.framework.modules.Module import verify_products from decisionengine.framework.modules.Source import Parameter def test_mu...
31.4
113
0.656476
281
2,355
5.313167
0.327402
0.044206
0.056263
0.083724
0.379102
0.35633
0.300067
0.300067
0.300067
0.234427
0
0.005467
0.223355
2,355
74
114
31.824324
0.810826
0.03949
0
0.339623
0
0
0.220452
0.009739
0
0
0
0
0
1
0.169811
false
0.056604
0.075472
0.037736
0.377358
0
0
0
0
null
0
0
0
0
0
0
0
0
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
0edc64834d9ac7d861217e389cda5a4bf52a203f
1,129
py
Python
musicscore/musicxml/types/complextypes/backup.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
2
2020-06-22T13:33:28.000Z
2020-12-30T15:09:00.000Z
musicscore/musicxml/types/complextypes/backup.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
37
2020-02-18T12:15:00.000Z
2021-12-13T20:01:14.000Z
musicscore/musicxml/types/complextypes/backup.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
null
null
null
''' <xs:complexType name="backup"> <xs:annotation> <xs:documentation></xs:documentation> </xs:annotation> <xs:sequence> <xs:group ref="duration"/> <xs:group ref="editorial"/> </xs:sequence> </xs:complexType> ''' from musicscore.dtd.dtd import Sequence, GroupReference, Element from musicscore.musicxml...
35.28125
119
0.732507
139
1,129
5.884892
0.532374
0.06846
0.080685
0
0
0
0
0
0
0
0
0
0.170948
1,129
31
120
36.419355
0.873932
0.595217
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
0edda9355db51eae6f5202748937966f72f31878
1,362
py
Python
personal_ad/advice/converter.py
Sailer43/CSE5914Project
ebb47bff9a6101fac5173b5520e6002563da67d5
[ "MIT" ]
null
null
null
personal_ad/advice/converter.py
Sailer43/CSE5914Project
ebb47bff9a6101fac5173b5520e6002563da67d5
[ "MIT" ]
1
2019-10-15T21:48:27.000Z
2019-10-15T21:48:27.000Z
personal_ad/advice/converter.py
Sailer43/CSE5914Project
ebb47bff9a6101fac5173b5520e6002563da67d5
[ "MIT" ]
null
null
null
from ibm_watson import TextToSpeechV1, SpeechToTextV1, DetailedResponse from os import system from json import loads class Converter: k_s2t_api_key = "0pxCnJQ_r5Yy3SZDRhYS4XshrTMJyZEsuc45SbBcfGgf" k_t2s_api_key = "euoR7ZdLMOBd29wP1fNaZFJsqwKt45TUmwcVwpzbQBcA" k_s2t_url = "https://stream.watsonplatform.n...
30.954545
84
0.679883
176
1,362
4.960227
0.448864
0.036655
0.036655
0.02291
0.032073
0
0
0
0
0
0
0.033645
0.214391
1,362
43
85
31.674419
0.782243
0
0
0
0
0
0.240822
0.080029
0
0
0
0
0
1
0.125
false
0.03125
0.09375
0.03125
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
0edddd954e6572bd2613d0926da19b7e62f01353
346
py
Python
torrents/migrations/0011_auto_20190223_2345.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
9
2019-03-26T14:50:00.000Z
2020-11-10T16:44:08.000Z
torrents/migrations/0011_auto_20190223_2345.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
22
2019-03-02T23:16:13.000Z
2022-02-27T10:36:36.000Z
torrents/migrations/0011_auto_20190223_2345.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
5
2019-04-24T00:51:30.000Z
2020-11-06T18:31:49.000Z
# Generated by Django 2.1.7 on 2019-02-23 23:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('torrents', '0010_auto_20190223_0326'), ] operations = [ migrations.AlterModelOptions( name='realm', options={'ordering': ('n...
19.222222
48
0.586705
35
346
5.714286
0.828571
0
0
0
0
0
0
0
0
0
0
0.125
0.283237
346
17
49
20.352941
0.681452
0.130058
0
0
1
0
0.160535
0.076923
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
0ee18e4216ec08fa76991908f8a448c6f9b7427c
2,147
py
Python
widgets/ui_ShowResultDialog.py
JaySon-Huang/SecertPhotos
e741cc26c19a5b249d45cc70959ac6817196cb8a
[ "MIT" ]
null
null
null
widgets/ui_ShowResultDialog.py
JaySon-Huang/SecertPhotos
e741cc26c19a5b249d45cc70959ac6817196cb8a
[ "MIT" ]
3
2015-05-19T08:43:46.000Z
2015-06-10T17:55:28.000Z
widgets/ui_ShowResultDialog.py
JaySon-Huang/SecertPhotos
e741cc26c19a5b249d45cc70959ac6817196cb8a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'src/ui_ShowResultDialog.ui' # # Created: Sat May 16 17:05:43 2015 # by: PyQt5 UI code generator 5.4 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def s...
43.816327
115
0.72054
230
2,147
6.63913
0.404348
0.041257
0.057629
0.074656
0.160445
0.128356
0.128356
0.128356
0.128356
0.128356
0
0.023177
0.17606
2,147
48
116
44.729167
0.840023
0.104797
0
0
1
0
0.04441
0
0
0
0
0
0
1
0.057143
false
0
0.057143
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ee1c3866e5f2d77866339896a7b340616b1337d
414
py
Python
Python tests/dictionaries.py
Johnny-QA/Python_training
a15de68195eb155c99731db3e4ff1d9d75681752
[ "Apache-2.0" ]
null
null
null
Python tests/dictionaries.py
Johnny-QA/Python_training
a15de68195eb155c99731db3e4ff1d9d75681752
[ "Apache-2.0" ]
null
null
null
Python tests/dictionaries.py
Johnny-QA/Python_training
a15de68195eb155c99731db3e4ff1d9d75681752
[ "Apache-2.0" ]
null
null
null
my_set = {1, 3, 5} my_dict = {'name': 'Jose', 'age': 90} another_dict = {1: 15, 2: 75, 3: 150} lottery_players = [ { 'name': 'Rolf', 'numbers': (13, 45, 66, 23, 22) }, { 'name': 'John', 'numbers': (14, 56, 80, 23, 22) } ] universities = [ { 'name': 'Oxford',...
16.56
39
0.398551
46
414
3.5
0.73913
0.049689
0
0
0
0
0
0
0
0
0
0.135659
0.376812
414
25
40
16.56
0.488372
0
0
0
0
0
0.187952
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ee4cfc2dd5204b72c6c610aac6abe376e79a7c9
3,765
py
Python
3-functions/pytest-exercises/test_functions.py
BaseCampCoding/python-fundamentals
3804c07841d6604b1e5a1c15126b3301aa8ae306
[ "MIT" ]
null
null
null
3-functions/pytest-exercises/test_functions.py
BaseCampCoding/python-fundamentals
3804c07841d6604b1e5a1c15126b3301aa8ae306
[ "MIT" ]
1
2018-07-18T18:01:22.000Z
2019-06-14T15:06:28.000Z
3-functions/pytest-exercises/test_functions.py
BaseCampCoding/python-fundamentals
3804c07841d6604b1e5a1c15126b3301aa8ae306
[ "MIT" ]
null
null
null
import functions from pytest import approx from bcca.test import should_print def test_add_em_up(): assert functions.add_em_up(1, 2, 3) == 6 assert functions.add_em_up(4, 5, 6) == 15 def test_sub_sub_hubbub(): assert functions.sub_sub_hubbub(1, 2, 3) == -4 def test_square_area(): assert functions....
22.957317
74
0.733068
554
3,765
4.808664
0.263538
0.075075
0.052553
0.067568
0.266141
0.145646
0.051051
0
0
0
0
0.204895
0.153519
3,765
163
75
23.09816
0.631001
0
0
0.228814
0
0
0.288712
0
0
0
0
0
0.279661
1
0.152542
false
0
0.025424
0
0.177966
0.084746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ee6ceb6e274923689476909061cf2ae7181004e
1,555
py
Python
Thesis/load/runRiakLoads.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
Thesis/load/runRiakLoads.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
Thesis/load/runRiakLoads.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
import sys; from Thesis.load.loadBenchmark import runLoadBenchmarkAsBatch; from Thesis.cluster.RiakCluster import RiakCluster; NORMAL_BINDING = 'riak'; CONSISTENCY_BINDING = 'riak_consistency'; IPS_IN_CLUSTER = ['172.16.33.14', '172.16.33.15', '172.16.33.16', '172.16.33.17', '172.16.33.18']; def main(): if len(s...
42.027027
161
0.664309
165
1,555
6.175758
0.424242
0.061825
0.041217
0.027478
0.178606
0.178606
0.178606
0.178606
0.178606
0.178606
0
0.060317
0.189711
1,555
37
162
42.027027
0.748413
0.004502
0
0.066667
0
0.033333
0.201034
0.035553
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0eeba77c6034df540d6e02d1c1935e84c28bdcd9
10,427
py
Python
tools/archive/create_loadable_configs.py
madelinemccombe/iron-skillet
f7bb805ac5ed0f2b44e4b438f8c021eaf2f5c66b
[ "MIT" ]
null
null
null
tools/archive/create_loadable_configs.py
madelinemccombe/iron-skillet
f7bb805ac5ed0f2b44e4b438f8c021eaf2f5c66b
[ "MIT" ]
null
null
null
tools/archive/create_loadable_configs.py
madelinemccombe/iron-skillet
f7bb805ac5ed0f2b44e4b438f8c021eaf2f5c66b
[ "MIT" ]
null
null
null
# Copyright (c) 2018, Palo Alto Networks # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
38.762082
118
0.720629
1,456
10,427
5.052198
0.225962
0.019032
0.006525
0.012915
0.216966
0.169657
0.143284
0.132953
0.107123
0.107123
0
0.011043
0.201017
10,427
269
119
38.762082
0.871924
0.458905
0
0.054545
0
0
0.219135
0.03357
0
0
0
0
0
1
0.081818
false
0.118182
0.109091
0
0.272727
0.163636
0
0
0
null
0
0
0
0
0
0
0
0
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
0eed163a13b8bf28c8e3cc3018df9acf80f8ef9a
199
py
Python
app/apis/__init__.py
FabienArcellier/blueprint-webapp-flask-restx
84bc9dbe697c4b0f6667d2a2d8144a3f934a307a
[ "MIT" ]
null
null
null
app/apis/__init__.py
FabienArcellier/blueprint-webapp-flask-restx
84bc9dbe697c4b0f6667d2a2d8144a3f934a307a
[ "MIT" ]
null
null
null
app/apis/__init__.py
FabienArcellier/blueprint-webapp-flask-restx
84bc9dbe697c4b0f6667d2a2d8144a3f934a307a
[ "MIT" ]
null
null
null
from flask_restx import Api from app.apis.hello import api as hello api = Api( title='api', version='1.0', description='', prefix='/api', doc='/api' ) api.add_namespace(hello)
14.214286
39
0.633166
29
199
4.275862
0.62069
0.145161
0
0
0
0
0
0
0
0
0
0.012821
0.21608
199
13
40
15.307692
0.782051
0
0
0
0
0
0.070352
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0eed507c0a7d908570e5345420f87553a7bbdb5d
788
py
Python
main.py
poltavski/social-network-frontend
ccc3410e23e42cfc65efd811aba262ec88163481
[ "MIT" ]
null
null
null
main.py
poltavski/social-network-frontend
ccc3410e23e42cfc65efd811aba262ec88163481
[ "MIT" ]
null
null
null
main.py
poltavski/social-network-frontend
ccc3410e23e42cfc65efd811aba262ec88163481
[ "MIT" ]
null
null
null
from fastapi import FastAPI, Request, Response from fastapi.responses import HTMLResponse from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates from utils import get_page_data, process_initial import uvicorn app = FastAPI() templates = Jinja2Templates(directory="templates") app.mou...
29.185185
74
0.769036
100
788
5.89
0.44
0.074703
0.037351
0.101868
0.278438
0.278438
0.278438
0.278438
0.278438
0.278438
0
0.017316
0.120558
788
26
75
30.307692
0.832612
0.072335
0
0.117647
0
0
0.086538
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
0eed571d3bbd262c5cff9905eccfdacc18b2c6bf
4,515
py
Python
Core/Python/create_static_group.py
Ku-Al/OpenManage-Enterprise
5cc67435d7cedb091edb07311ed9dceeda43277f
[ "Apache-2.0" ]
null
null
null
Core/Python/create_static_group.py
Ku-Al/OpenManage-Enterprise
5cc67435d7cedb091edb07311ed9dceeda43277f
[ "Apache-2.0" ]
null
null
null
Core/Python/create_static_group.py
Ku-Al/OpenManage-Enterprise
5cc67435d7cedb091edb07311ed9dceeda43277f
[ "Apache-2.0" ]
null
null
null
# # Python script using OME API to create a new static group # # _author_ = Raajeev Kalyanaraman <Raajeev.Kalyanaraman@Dell.com> # _version_ = 0.1 # # Copyright (c) 2020 Dell EMC Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Lic...
44.70297
108
0.61041
519
4,515
5.181118
0.425819
0.024544
0.013388
0.013388
0.080327
0.027891
0.019338
0
0
0
0
0.009416
0.294352
4,515
100
109
45.15
0.834589
0.287265
0
0.035088
0
0
0.196922
0
0
0
0
0
0
1
0.017544
false
0.087719
0.087719
0
0.105263
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
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
0ef391d627e7c29662611237b93dc0cbb0bb55b3
1,600
py
Python
tests/nls_smoother_test.py
sisl/CEEM
6154587fe3cdb92e8b7f70eedb1262caa1553cc8
[ "MIT" ]
5
2020-06-21T16:50:42.000Z
2021-03-14T04:02:01.000Z
tests/nls_smoother_test.py
sisl/CEEM
6154587fe3cdb92e8b7f70eedb1262caa1553cc8
[ "MIT" ]
1
2021-03-13T07:46:36.000Z
2021-03-16T05:14:47.000Z
tests/nls_smoother_test.py
sisl/CEEM
6154587fe3cdb92e8b7f70eedb1262caa1553cc8
[ "MIT" ]
1
2021-03-30T12:08:20.000Z
2021-03-30T12:08:20.000Z
import torch from ceem.opt_criteria import * from ceem.systems import LorenzAttractor from ceem.dynamics import * from ceem.smoother import * from ceem import utils def test_smoother(): utils.set_rng_seed(1) torch.set_default_dtype(torch.float64) sigma = torch.tensor([10.]) rho = torch.tensor([28....
23.880597
89
0.6325
219
1,600
4.515982
0.420091
0.040445
0.042467
0.030334
0.188069
0.11729
0.11729
0.11729
0.11729
0.11729
0
0.031721
0.211875
1,600
66
90
24.242424
0.752577
0.054375
0
0.153846
0
0
0.056329
0
0
0
0
0
0.051282
1
0.025641
false
0.051282
0.153846
0
0.179487
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0ef760e6a3a5620b5876eba10c68bc7b0bb1b6c8
474
py
Python
buzzbox/restaurants/migrations/0002_restaurant_description.py
Danielvalev/kutiika
661b850163de942a137157a97d98d90553861044
[ "MIT" ]
null
null
null
buzzbox/restaurants/migrations/0002_restaurant_description.py
Danielvalev/kutiika
661b850163de942a137157a97d98d90553861044
[ "MIT" ]
null
null
null
buzzbox/restaurants/migrations/0002_restaurant_description.py
Danielvalev/kutiika
661b850163de942a137157a97d98d90553861044
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-06 10:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restaurants', '0001_initial'), ] operations = [ migrations.AddField( model_name='restaurant', name='description', ...
23.7
102
0.620253
48
474
6.020833
0.791667
0.103806
0
0
0
0
0
0
0
0
0
0.063218
0.265823
474
19
103
24.947368
0.767241
0.094937
0
0
1
0
0.154567
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
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
0ef9b198b443266a7fb573c35726d29675e45f68
2,561
py
Python
lib/py/src/Thrift.py
ahfeel/thrift
3ac3fa6fede4b2446209cfeb6fcae5900da543cc
[ "BSL-1.0" ]
3
2016-02-03T07:28:51.000Z
2017-02-28T06:20:21.000Z
lib/py/src/Thrift.py
shigin/thrift
4ca9547ffa73082fc4c3ff349dc23a1fda8dcc48
[ "BSL-1.0" ]
null
null
null
lib/py/src/Thrift.py
shigin/thrift
4ca9547ffa73082fc4c3ff349dc23a1fda8dcc48
[ "BSL-1.0" ]
8
2020-03-12T13:42:59.000Z
2021-05-27T06:34:33.000Z
# Copyright (c) 2006- Facebook # Distributed under the Thrift Software License # # See accompanying file LICENSE or visit the Thrift site at: # http://developers.facebook.com/thrift/ class TType: STOP = 0 VOID = 1 BOOL = 2 BYTE = 3 I08 = 3 DOUBLE = 4 I16 = 6 I32 = 8 I64 = 10 STR...
23.281818
62
0.635689
306
2,561
5.202614
0.398693
0.050251
0.037688
0.03392
0
0
0
0
0
0
0
0.033386
0.263178
2,561
109
63
23.495413
0.810281
0.118313
0
0.104651
0
0
0.067471
0.018767
0
0
0
0
0
1
0.069767
false
0.011628
0
0
0.511628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
0efc0f40ba7d7a4e242df39e71061af9c4be7d55
4,224
py
Python
satt/trace/logger/panic.py
jnippula/satt
aff4562b7e94f095d2e13eb10b9ac872484bb5cd
[ "Apache-2.0" ]
54
2016-11-09T13:26:40.000Z
2019-04-30T16:29:45.000Z
satt/trace/logger/panic.py
jnippula/satt
aff4562b7e94f095d2e13eb10b9ac872484bb5cd
[ "Apache-2.0" ]
2
2016-11-09T13:25:19.000Z
2017-03-27T04:09:35.000Z
satt/trace/logger/panic.py
jnippula/satt
aff4562b7e94f095d2e13eb10b9ac872484bb5cd
[ "Apache-2.0" ]
10
2016-11-28T07:55:40.000Z
2019-03-23T12:40:36.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' // Copyright (c) 2015 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...
38.054054
125
0.615057
517
4,224
4.866538
0.340426
0.033386
0.038156
0.062003
0.202305
0.127186
0.102544
0.080286
0.066773
0.066773
0
0.012728
0.274621
4,224
110
126
38.4
0.80842
0.083807
0
0.233333
0
0
0.227642
0.013759
0
0
0
0.009091
0
0
null
null
0
0.05
null
null
0.15
0
0
0
null
0
0
0
0
0
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
160368ea260cbc50567d2f17656bb9f30dc2af47
3,494
py
Python
pydbhub/httphub.py
sum3105/pydbhub
501ea2c0ec7785bc06a38961a1366c3c04d7fabd
[ "MIT" ]
18
2021-06-03T14:27:55.000Z
2022-02-25T17:55:33.000Z
pydbhub/httphub.py
sum3105/pydbhub
501ea2c0ec7785bc06a38961a1366c3c04d7fabd
[ "MIT" ]
3
2021-06-20T07:17:51.000Z
2021-12-10T15:24:19.000Z
pydbhub/httphub.py
sum3105/pydbhub
501ea2c0ec7785bc06a38961a1366c3c04d7fabd
[ "MIT" ]
5
2021-06-29T09:50:40.000Z
2021-12-31T12:10:57.000Z
import pydbhub from typing import Any, Dict, List, Tuple from json.decoder import JSONDecodeError import requests import io def send_request_json(query_url: str, data: Dict[str, Any]) -> Tuple[List[Any], str]: """ send_request_json sends a request to DBHub.io, formatting the returned result as JSON Param...
30.649123
108
0.61763
450
3,494
4.704444
0.188889
0.030704
0.028342
0.039679
0.720359
0.691545
0.675012
0.643836
0.632026
0.576287
0
0.006339
0.277619
3,494
113
109
30.920354
0.832409
0.296508
0
0.703704
0
0
0.054577
0.029049
0
0
0
0
0
1
0.055556
false
0
0.092593
0
0.425926
0
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
1608a15c941a14be0a253388b661310efd0d4787
2,834
py
Python
MultirangerTest.py
StuartLiam/DroneNavigationOnboard
11ac6a301dfc72b15e337ddf09f5ddc79265a03f
[ "MIT" ]
null
null
null
MultirangerTest.py
StuartLiam/DroneNavigationOnboard
11ac6a301dfc72b15e337ddf09f5ddc79265a03f
[ "MIT" ]
null
null
null
MultirangerTest.py
StuartLiam/DroneNavigationOnboard
11ac6a301dfc72b15e337ddf09f5ddc79265a03f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # || ____ _ __ # +------+ / __ )(_) /_______________ _____ ___ # | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \ # +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ # || || /_____/_/\__/\___/_/ \__,_/ /___/\___/ # # Copyright (C) 2...
31.488889
77
0.693013
380
2,834
4.915789
0.542105
0.019272
0.020878
0.030514
0.043897
0.029979
0
0
0
0
0
0.017156
0.218419
2,834
90
78
31.488889
0.826185
0.590332
0
0
0
0
0.026643
0
0
0
0
0
0
1
0.03125
false
0
0.34375
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
160c8a87b1d001ed3cb1d85873c9a8a8f238d3b2
6,537
py
Python
lessons/sqlite_example/database.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
6
2019-03-29T06:14:53.000Z
2021-10-15T23:42:36.000Z
lessons/sqlite_example/database.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
4
2019-09-06T10:03:40.000Z
2022-03-11T23:30:55.000Z
lessons/sqlite_example/database.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
12
2019-06-20T19:34:52.000Z
2021-10-15T23:42:39.000Z
""" in this example we want to create a user credentials database with: user_id & password logger showing connection logs, DB version, errors during fetching & executing """ import sqlite3 from lessons.sqlite_example.log import create as create_logger class Commands: create_users_table = ''' CREATE TABLE...
39.379518
137
0.621539
778
6,537
5.062982
0.203085
0.076161
0.093425
0.121858
0.488195
0.385885
0.331048
0.310485
0.133029
0.048743
0
0.02949
0.24782
6,537
165
138
39.618182
0.771609
0.420223
0
0.142857
0
0
0.162038
0
0
0
0
0
0
1
0.071429
false
0.071429
0.035714
0
0.27381
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1612dd8d2c7befa9fffd9b219b0f1e9b1d9948d5
508
py
Python
Dataset/Leetcode/train/7/93.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/7/93.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/7/93.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, x: int) -> int: def solve(x): a = list(map(int,str(x))) p = {} d=0 for ind, val in enumerate(a): p[ind] = val for i, v in p.items(): d += v*(10**i) if (2**31 - 1>= d >= -(2**...
24.190476
43
0.324803
65
508
2.538462
0.461538
0.109091
0.048485
0
0
0
0
0
0
0
0
0.054393
0.529528
508
20
44
25.4
0.635983
0
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1614bfb3f4849c9afe583c49f1da9a5698654285
2,648
py
Python
dist/weewx-4.0.0b3/bin/weewx/junk2.py
v0rts/docker-weewx
70b2f252051dfead4fcb74e74662b297831e6342
[ "Apache-2.0" ]
10
2017-01-05T17:30:48.000Z
2021-09-18T15:04:20.000Z
dist/weewx-4.0.0b3/bin/weewx/junk2.py
v0rts/docker-weewx
70b2f252051dfead4fcb74e74662b297831e6342
[ "Apache-2.0" ]
2
2019-07-21T10:48:42.000Z
2022-02-16T20:36:45.000Z
dist/weewx-4.0.0b3/bin/weewx/junk2.py
v0rts/docker-weewx
70b2f252051dfead4fcb74e74662b297831e6342
[ "Apache-2.0" ]
12
2017-01-05T18:50:30.000Z
2021-10-05T07:35:45.000Z
from __future__ import print_function import time import weeutil.weeutil import weewx.manager import weewx.xtypes archive_sqlite = {'database_name': '/home/weewx/archive/weepwr.sdb', 'driver': 'weedb.sqlite'} archive_mysql = {'database_name': 'weewx', 'user': 'weewx', 'password': 'weewx', 'driver': 'weedb.mysql'} sq...
50.923077
203
0.692976
362
2,648
4.933702
0.209945
0.073908
0.055431
0.094065
0.532475
0.487682
0.448488
0.448488
0.448488
0.448488
0
0.059743
0.178248
2,648
51
204
51.921569
0.761029
0.009441
0
0.05
0
0.2
0.6219
0.135063
0
0
0
0
0
1
0
false
0.025
0.125
0
0.125
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
161a0260062e641dc32fc774ac4b854148c5381e
3,310
py
Python
src/requester/py/ElevatorTestCaseList.py
akzare/Elevator_Sys_Design
2f7d7381d68699515a43ec4cf7a8a8afade726f3
[ "MIT" ]
1
2020-09-03T06:36:22.000Z
2020-09-03T06:36:22.000Z
src/requester/py/ElevatorTestCaseList.py
akzare/Elevator_Sys_Design
2f7d7381d68699515a43ec4cf7a8a8afade726f3
[ "MIT" ]
null
null
null
src/requester/py/ElevatorTestCaseList.py
akzare/Elevator_Sys_Design
2f7d7381d68699515a43ec4cf7a8a8afade726f3
[ "MIT" ]
null
null
null
''' * @file ElevatorTestCaseList.py * @author Armin Zare Zadeh * @date 30 July 2020 * @version 0.1 * @brief Implements a class to hold all the test cases during the program life cycle. ''' #!/usr/bin/env python3 import sys import ctypes import ElevatorConfig as cfg import ElevatorMsgProtocol as msgProto ...
50.151515
105
0.459517
327
3,310
4.461774
0.30581
0.164496
0.15353
0.197395
0.654558
0.650446
0.583962
0.583962
0.396162
0.309801
0
0.013205
0.405136
3,310
65
106
50.923077
0.727781
0.124773
0
0.162162
0
0
0.049156
0.016141
0
0
0
0
0
1
0.054054
false
0
0.108108
0
0.189189
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
161dd7d6b32c517702822fdd2b972e9c34a403fe
8,759
py
Python
appengine/chromium_build_logs/handler.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/chromium_build_logs/handler.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/chromium_build_logs/handler.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import appengine_config import datetime import json import logging import os.path import pickle import sys import urllib sys.path.append( os.path.j...
31.170819
79
0.685352
1,046
8,759
5.562141
0.269598
0.062393
0.07219
0.030251
0.292884
0.183912
0.153661
0.124785
0.092472
0.092472
0
0.004077
0.187921
8,759
280
80
31.282143
0.813862
0.061765
0
0.190955
0
0
0.14247
0.021035
0
0
0
0
0
0
null
null
0
0.090452
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16214a743fb88fbf7d2c7ed97c9778c2fbeb46d1
4,764
py
Python
tools/pod-xml-to-geojson.py
24-timmarsseglingarna/app
0c028bd2eb284c6893cb16dd91bd093b2222338f
[ "Apache-2.0" ]
null
null
null
tools/pod-xml-to-geojson.py
24-timmarsseglingarna/app
0c028bd2eb284c6893cb16dd91bd093b2222338f
[ "Apache-2.0" ]
14
2017-08-24T12:46:58.000Z
2021-04-21T07:56:58.000Z
tools/pod-xml-to-geojson.py
24-timmarsseglingarna/app
0c028bd2eb284c6893cb16dd91bd093b2222338f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Converts a PoD XML file to a GeoJSON file. # # With the --javascript parameter, the generated file is a javascript # file defining a variable 'basePodSpec'. # # Get the PoD XML file from http://dev.24-timmars.nu/PoD/xmlapi_app.php. import xml.etree.ElementTree as etree import argparse import r...
29.407407
79
0.553736
559
4,764
4.633274
0.316637
0.021236
0.02471
0.023166
0.136293
0.09305
0.037838
0
0
0
0
0.006959
0.306255
4,764
161
80
29.590062
0.776702
0.084173
0
0.145161
1
0.008065
0.146829
0.014476
0
0
0
0
0
1
0.032258
false
0
0.072581
0
0.120968
0.008065
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16262857a0ab051d70328d47ffe56eedbe48f8d3
1,259
py
Python
tpp/controller/ConversionController.py
pennyarcade/TPPP
9bb6db774d77f74c54ed2fa004e97c1aa114fff9
[ "MIT" ]
null
null
null
tpp/controller/ConversionController.py
pennyarcade/TPPP
9bb6db774d77f74c54ed2fa004e97c1aa114fff9
[ "MIT" ]
null
null
null
tpp/controller/ConversionController.py
pennyarcade/TPPP
9bb6db774d77f74c54ed2fa004e97c1aa114fff9
[ "MIT" ]
null
null
null
""" Implements a non interactive controller to controt non-interactive visualizers. (i.e. those that are used for converting TPP souce code into another format) """ from tpp.FileParser import FileParser from tpp.controller.TPPController import TPPController class ConversionController(TPPController): """ Impl...
24.686275
81
0.590151
134
1,259
5.425373
0.440299
0.077029
0.038514
0.068776
0.264099
0.264099
0.162311
0.162311
0.162311
0.162311
0
0
0.317712
1,259
50
82
25.18
0.846333
0.347101
0
0
0
0
0
0
0
0
0
0.06
0
1
0.176471
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
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
16278cfaea317b80559af8d9f8ed6e412d50c446
776
py
Python
img/autoeditimg.py
schorsche/css3-imageslider
6d15b2e77f141b8e871bdce2049ee7b2567981fe
[ "MIT" ]
null
null
null
img/autoeditimg.py
schorsche/css3-imageslider
6d15b2e77f141b8e871bdce2049ee7b2567981fe
[ "MIT" ]
null
null
null
img/autoeditimg.py
schorsche/css3-imageslider
6d15b2e77f141b8e871bdce2049ee7b2567981fe
[ "MIT" ]
1
2019-02-23T22:54:22.000Z
2019-02-23T22:54:22.000Z
#!/usr/bin/python2.7 import os from PIL import Image DATEI_WEB_GROSSE = 700 def isimg(isitimg): ext = os.path.splitext(isitimg)[1].lower() if ext == ".jpg" or ext == ".png" or ext == ".gif": return True return False def bearbeiten(datei): img = Image.open(datei) wrel = DATEI_WEB_GROSSE / float(img.size[0]) h...
22.171429
68
0.68299
117
776
4.410256
0.487179
0.046512
0.081395
0
0
0
0
0
0
0
0
0.019878
0.157216
776
35
69
22.171429
0.769113
0.024485
0
0
0
0
0.027741
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1627fcf089cd43ce83004fbce276962343e2f2c7
785
py
Python
wow/wow.py
brisberg/Kiri-Cogs
9a5307ff8fbaa5e0560ec518cf26df52347da98d
[ "MIT" ]
null
null
null
wow/wow.py
brisberg/Kiri-Cogs
9a5307ff8fbaa5e0560ec518cf26df52347da98d
[ "MIT" ]
null
null
null
wow/wow.py
brisberg/Kiri-Cogs
9a5307ff8fbaa5e0560ec518cf26df52347da98d
[ "MIT" ]
null
null
null
import discord from discord.ext import commands class WowCog: """Custom Cog that had commands for WoW Memes""" def __init__(self, bot): self.bot = bot async def _play(self, url, ctx): """Helper for aliasing Play in the Audio module""" audio = self.bot.get_cog('Audio') if ...
29.074074
99
0.64586
113
785
4.371681
0.59292
0.05668
0
0
0
0
0
0
0
0
0
0.003333
0.235669
785
26
100
30.192308
0.82
0.053503
0
0
0
0
0.147105
0
0
0
0
0
0
1
0.125
false
0.0625
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
1
0
0
0
0
0
1
162c59bea2ea2599ffb8f94490a631231802e6ea
2,272
py
Python
video_encoding/fields.py
fossabot/django-video-encoding
16a88c2d61d28e6f5ec2b49956ce356f8c458c67
[ "BSD-3-Clause" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
video_encoding/fields.py
fossabot/django-video-encoding
16a88c2d61d28e6f5ec2b49956ce356f8c458c67
[ "BSD-3-Clause" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
video_encoding/fields.py
fossabot/django-video-encoding
16a88c2d61d28e6f5ec2b49956ce356f8c458c67
[ "BSD-3-Clause" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
from django.db.models.fields.files import (FieldFile, ImageField, ImageFileDescriptor) from django.utils.translation import ugettext as _ from .backends import get_backend_class from .files import VideoFile class VideoFileDescriptor(ImageFileDescriptor): pass class Vi...
31.555556
78
0.636444
251
2,272
5.585657
0.358566
0.055635
0.048502
0.035663
0
0
0
0
0
0
0
0
0.28257
2,272
71
79
32
0.860123
0.108275
0
0.088889
0
0
0.007933
0
0
0
0
0
0
1
0.155556
false
0.022222
0.088889
0.044444
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
0
0
1
0
0
1
1631aec82f9bb8a63392680178fdfa614b25b1c9
10,654
py
Python
shardDesigner/shardTemplateDir/shardStemDir/log/elast.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
null
null
null
shardDesigner/shardTemplateDir/shardStemDir/log/elast.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
7
2020-03-02T11:23:41.000Z
2022-03-11T23:52:51.000Z
shardDesigner/shardTemplateDir/shardStemDir/log/elast.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
null
null
null
import elasticsearch from elasticsearch import Elasticsearch from elasticsearch import helpers import time, json, datetime, os class elalog: def __init__(self, date): es_host = os.getenv("ES_PORT_9200_TCP_ADDR") or '<%ELASTICIP%>' es_port = os.getenv("ES_PORT_9200_TCP_PORT") or '9200' sel...
41.455253
186
0.382016
728
10,654
5.443681
0.190934
0.033308
0.052485
0.097653
0.598789
0.524098
0.500883
0.480696
0.432753
0.357557
0
0.007849
0.521682
10,654
256
187
41.617188
0.769819
0.006289
0
0.436681
0
0
0.142695
0.003969
0
0
0
0
0
1
0.026201
false
0
0.017467
0
0.056769
0.048035
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
163248c24fc9b2b48d8f714d22251c83d3496af1
2,694
py
Python
dialogue-engine/test/programytest/config/brain/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
104
2020-03-30T09:40:00.000Z
2022-03-06T22:34:25.000Z
dialogue-engine/test/programytest/config/brain/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
25
2020-06-12T01:36:35.000Z
2022-02-19T07:30:44.000Z
dialogue-engine/test/programytest/config/brain/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
10
2020-04-02T23:43:56.000Z
2021-05-14T13:47:01.000Z
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
42.761905
126
0.72977
325
2,694
5.935385
0.396923
0.045619
0.026957
0.041472
0.381545
0.328668
0.328668
0.328668
0.328668
0.328668
0
0.001849
0.197105
2,694
62
127
43.451613
0.889968
0.394209
0
0.722222
0
0
0.188424
0.067734
0
0
0
0
0.222222
1
0.055556
false
0
0.111111
0
0.194444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
163cbfb7a11f70465bec9d58e23cdc35d6fe4e2c
5,976
py
Python
v1/hsvfilter.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
null
null
null
v1/hsvfilter.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
60
2021-03-29T14:29:49.000Z
2021-05-03T06:06:19.000Z
v1/hsvfilter.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
null
null
null
import typing # custom data structure to hold the state of an HSV filter class HsvFilter: def __init__(self, hMin=None, sMin=None, vMin=None, hMax=None, sMax=None, vMax=None, sAdd=None, sSub=None, vAdd=None, vSub=None): self.hMin = hMin self.sMin = sMin self.vMin = vMin ...
49.38843
97
0.593373
954
5,976
3.591195
0.285115
0.045534
0.039405
0.021016
0.430823
0.405721
0.360187
0.304437
0.271454
0.265032
0
0.218297
0.261044
5,976
120
98
49.8
0.557518
0.083668
0
0.242718
0
0
0.124085
0.038616
0
0
0
0
0
1
0.019417
false
0
0.009709
0
0.466019
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
163d903313e3ca0e241b2c27dfd7fddcb15bbfdb
287
py
Python
ecommerce_api/core/cart/exceptions.py
victormartinez/ecommerceapi
a887d9e938050c15ebf52001f63d7aa7f33fa5ee
[ "MIT" ]
null
null
null
ecommerce_api/core/cart/exceptions.py
victormartinez/ecommerceapi
a887d9e938050c15ebf52001f63d7aa7f33fa5ee
[ "MIT" ]
null
null
null
ecommerce_api/core/cart/exceptions.py
victormartinez/ecommerceapi
a887d9e938050c15ebf52001f63d7aa7f33fa5ee
[ "MIT" ]
null
null
null
from typing import Iterable, Optional class ProductsNotFound(Exception): def __init__(self, product_ids: Optional[Iterable[int]] = None): self.product_ids = product_ids or [] self.message = "One or more products are invalid." super().__init__(self.message)
31.888889
68
0.700348
35
287
5.428571
0.657143
0.157895
0.147368
0
0
0
0
0
0
0
0
0
0.198606
287
8
69
35.875
0.826087
0
0
0
0
0
0.114983
0
0
0
0
0
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
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
1
163dc7048c89ab3ce7a0707b33435bed5fbe6660
6,742
py
Python
test/unit/test_record.py
jsoref/neo4j-python-driver
32c130c9a975dbf8c0d345b362d096b5e1dd3e5b
[ "Apache-2.0" ]
null
null
null
test/unit/test_record.py
jsoref/neo4j-python-driver
32c130c9a975dbf8c0d345b362d096b5e1dd3e5b
[ "Apache-2.0" ]
null
null
null
test/unit/test_record.py
jsoref/neo4j-python-driver
32c130c9a975dbf8c0d345b362d096b5e1dd3e5b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Copyright (c) 2002-2018 "Neo Technology," # Network Engine for Objects in Lund AB [http://neotechnology.com] # # This file is part of Neo4j. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Li...
43.496774
116
0.590923
846
6,742
4.64539
0.165485
0.148855
0.158779
0.080153
0.628753
0.508142
0.436896
0.370992
0.35369
0.313995
0
0.024214
0.222041
6,742
154
117
43.779221
0.725072
0.103975
0
0.234783
0
0
0.17566
0
0
0
0
0
0.6
1
0.130435
false
0
0.017391
0
0.156522
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1648b2044844b3d9b645771b179a716a797264e9
599
py
Python
src/spaceone/inventory/connector/snapshot.py
jean1042/plugin-azure-cloud-services
3a75a516c9a4d1e8a4962988934ead3fd40e8494
[ "Apache-2.0" ]
1
2020-12-08T11:59:54.000Z
2020-12-08T11:59:54.000Z
src/spaceone/inventory/connector/snapshot.py
jean1042/plugin-azure-cloud-services
3a75a516c9a4d1e8a4962988934ead3fd40e8494
[ "Apache-2.0" ]
4
2021-01-26T10:43:37.000Z
2021-12-17T10:13:33.000Z
src/spaceone/inventory/connector/snapshot.py
jean1042/plugin-azure-cloud-services
3a75a516c9a4d1e8a4962988934ead3fd40e8494
[ "Apache-2.0" ]
2
2021-01-13T03:24:05.000Z
2021-01-19T07:25:45.000Z
import logging from spaceone.inventory.libs.connector import AzureConnector from spaceone.inventory.error import * from spaceone.inventory.error.custom import * __all__ = ['SnapshotConnector'] _LOGGER = logging.getLogger(__name__) class SnapshotConnector(AzureConnector): def __init__(self, **kwargs): su...
28.52381
69
0.721202
64
599
6.390625
0.59375
0.08802
0.154034
0.127139
0
0
0
0
0
0
0
0
0.176962
599
20
70
29.95
0.829615
0
0
0
0
0
0.075125
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
164ff194ddd6475fcc83a8af8f5b4d32701c55ea
886
py
Python
pymterm/colour/tango.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
102
2016-07-21T06:39:02.000Z
2022-03-09T19:34:03.000Z
pymterm/colour/tango.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
2
2017-01-11T13:43:34.000Z
2020-01-19T12:06:47.000Z
pymterm/colour/tango.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
4
2020-03-22T04:08:35.000Z
2021-06-27T23:38:02.000Z
TANGO_PALLETE = [ '2e2e34343636', 'cccc00000000', '4e4e9a9a0606', 'c4c4a0a00000', '34346565a4a4', '757550507b7b', '060698989a9a', 'd3d3d7d7cfcf', '555557575353', 'efef29292929', '8a8ae2e23434', 'fcfce9e94f4f', '72729f9fcfcf', 'adad7f7fa8a8', '34...
24.611111
69
0.613995
98
886
5.316327
0.469388
0.076775
0.115163
0.095969
0
0
0
0
0
0
0
0.215569
0.24605
886
35
70
25.314286
0.564371
0
0
0
0
0
0.254118
0
0
0
0.004706
0
0
1
0.066667
false
0
0
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16506683fe35155169d6fbcd3b4087bff7394386
22,681
py
Python
user_manager/oauth/oauth2.py
voegtlel/auth-manager-backend
20d40de0abc9deeb3fcddd892ffe2e635301917a
[ "MIT" ]
null
null
null
user_manager/oauth/oauth2.py
voegtlel/auth-manager-backend
20d40de0abc9deeb3fcddd892ffe2e635301917a
[ "MIT" ]
null
null
null
user_manager/oauth/oauth2.py
voegtlel/auth-manager-backend
20d40de0abc9deeb3fcddd892ffe2e635301917a
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from enum import Enum from typing import List, Optional, Tuple, Dict, Any, Union import time from authlib.common.security import generate_token from authlib.consts import default_json_headers from authlib.oauth2 import ( OAuth2Request, AuthorizationServer as _Authorizat...
40.501786
121
0.680217
2,471
22,681
5.986645
0.114933
0.020009
0.009126
0.009937
0.458392
0.388968
0.354762
0.319273
0.287636
0.272764
0
0.005781
0.237379
22,681
559
122
40.57424
0.849454
0.025925
0
0.35412
1
0
0.039853
0.003623
0
0
0
0.001789
0.024499
1
0.075724
false
0.017817
0.053452
0.026726
0.342984
0
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
1652c769892c847b99d4a49f23694f814ea670c4
2,803
py
Python
src/robusta/core/model/events.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
null
null
null
src/robusta/core/model/events.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
null
null
null
src/robusta/core/model/events.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
null
null
null
import logging import uuid from enum import Enum from typing import List, Optional, Dict, Any from dataclasses import dataclass, field from pydantic import BaseModel from ...integrations.scheduled.playbook_scheduler import PlaybooksScheduler from ..reporting.base import Finding, BaseBlock class EventType(Enum): ...
35.481013
135
0.708883
334
2,803
5.832335
0.413174
0.056468
0.039014
0.022587
0.101643
0.101643
0.034908
0
0
0
0
0.008629
0.214413
2,803
78
136
35.935897
0.876022
0.232251
0
0.109091
0
0
0.064019
0
0
0
0
0
0
1
0.109091
false
0
0.145455
0.036364
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
1653cd2fffd32e2ad6ea59e14f67f33d48afc170
560
py
Python
examples/django_mongoengine/bike/models.py
pfrantz/graphene-mongo
f7d4f3e194ec41793e6da547934c34e11fd9ef51
[ "MIT" ]
260
2018-02-03T01:00:42.000Z
2022-02-18T12:42:01.000Z
examples/django_mongoengine/bike/models.py
pfrantz/graphene-mongo
f7d4f3e194ec41793e6da547934c34e11fd9ef51
[ "MIT" ]
159
2018-02-09T07:35:03.000Z
2022-03-20T03:43:23.000Z
examples/django_mongoengine/bike/models.py
pfrantz/graphene-mongo
f7d4f3e194ec41793e6da547934c34e11fd9ef51
[ "MIT" ]
124
2018-02-04T20:19:01.000Z
2022-03-25T21:40:41.000Z
from mongoengine import Document from mongoengine.fields import ( FloatField, StringField, ListField, URLField, ObjectIdField, ) class Shop(Document): meta = {"collection": "shop"} ID = ObjectIdField() name = StringField() address = StringField() website = URLField() class Bi...
20
35
0.642857
49
560
7.326531
0.489796
0.083565
0.122563
0.167131
0
0
0
0
0
0
0
0
0.241071
560
27
36
20.740741
0.844706
0
0
0.173913
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.73913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1654fce2866f6b2ef021c29092efa26419e5ba83
4,918
py
Python
uhd_restpy/testplatform/sessions/ixnetwork/impairment/profile/fixedclassifier/fixedclassifier.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
20
2019-05-07T01:59:14.000Z
2022-02-11T05:24:47.000Z
uhd_restpy/testplatform/sessions/ixnetwork/impairment/profile/fixedclassifier/fixedclassifier.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
60
2019-04-03T18:59:35.000Z
2022-02-22T12:05:05.000Z
uhd_restpy/testplatform/sessions/ixnetwork/impairment/profile/fixedclassifier/fixedclassifier.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
13
2019-05-20T10:48:31.000Z
2021-10-06T07:45:44.000Z
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
41.677966
187
0.700895
625
4,918
5.448
0.3536
0.044934
0.030543
0.033774
0.313069
0.249633
0.249633
0.249633
0.249633
0.229075
0
0.002127
0.235055
4,918
117
188
42.034188
0.902977
0.707808
0
0
0
0
0.027831
0
0
0
0
0
0
1
0.222222
false
0
0.148148
0
0.740741
0
0
0
0
null
0
0
0
0
0
0
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
165cb63df5c2c12565813006cb857ecc7266b584
9,952
py
Python
Lib/test/test_runpy.py
arvindm95/unladen-swallow
8175e37eaea7ca66ed03283b46bc1d2db0d3f9c3
[ "PSF-2.0" ]
2,293
2015-01-02T12:46:10.000Z
2022-03-29T09:45:43.000Z
python/src/Lib/test/test_runpy.py
weiqiangzheng/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
315
2015-05-31T11:55:46.000Z
2022-01-12T08:36:37.000Z
python/src/Lib/test/test_runpy.py
weiqiangzheng/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
1,033
2015-01-04T07:48:40.000Z
2022-03-24T09:34:37.000Z
# Test the runpy module import unittest import os import os.path import sys import tempfile from test.test_support import verbose, run_unittest, forget from runpy import _run_code, _run_module_code, run_module # Note: This module can't safely test _run_module_as_main as it # runs its tests in the current process, whic...
39.181102
82
0.60621
1,283
9,952
4.414653
0.159002
0.081568
0.059322
0.025953
0.396893
0.272069
0.217514
0.204449
0.192444
0.181144
0
0.00896
0.293509
9,952
253
83
39.335968
0.796615
0.074759
0
0.191781
0
0
0.174325
0.019382
0
0
0
0
0
0
null
null
0.004566
0.141553
null
null
0.109589
0
0
0
null
0
0
0
0
0
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
165d5b352de2106b373e88fa207e7c0361117e91
4,795
py
Python
experiments/_pytorch/_grpc_server/protofiles/imagedata_pb2.py
RedisAI/benchmarks
65b8509b81795da73f25f51941c61fbd9765914c
[ "MIT" ]
6
2019-04-18T10:17:52.000Z
2021-07-02T19:57:08.000Z
experiments/_pytorch/_grpc_server/protofiles/imagedata_pb2.py
hhsecond/benchmarks
65b8509b81795da73f25f51941c61fbd9765914c
[ "MIT" ]
1
2021-07-21T12:17:08.000Z
2021-07-21T12:17:08.000Z
experiments/_pytorch/_grpc_server/protofiles/imagedata_pb2.py
hhsecond/benchmarks
65b8509b81795da73f25f51941c61fbd9765914c
[ "MIT" ]
2
2020-03-15T00:37:57.000Z
2022-02-26T04:36:00.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: imagedata.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 i...
30.935484
365
0.740563
580
4,795
5.844828
0.248276
0.040118
0.061947
0.029499
0.438053
0.405015
0.395575
0.395575
0.367257
0.367257
0
0.032266
0.133889
4,795
154
366
31.136364
0.784012
0.057769
0
0.511811
1
0.007874
0.15122
0.084922
0
0
0
0
0
1
0
false
0
0.03937
0
0.03937
0
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
165e63725354de429a448d866f665cccca991916
656
py
Python
mmdet/ops/dcn/__init__.py
TJUsym/TJU_Advanced_CV_Homework
2d85943390e9ba53b80988e0ab8d50aef0cd17da
[ "Apache-2.0" ]
1,158
2019-04-26T01:08:32.000Z
2022-03-30T06:46:24.000Z
mmdet/ops/dcn/__init__.py
TJUsym/TJU_Advanced_CV_Homework
2d85943390e9ba53b80988e0ab8d50aef0cd17da
[ "Apache-2.0" ]
148
2021-03-18T09:44:02.000Z
2022-03-31T06:01:39.000Z
mmdet/ops/dcn/__init__.py
TJUsym/TJU_Advanced_CV_Homework
2d85943390e9ba53b80988e0ab8d50aef0cd17da
[ "Apache-2.0" ]
197
2020-01-29T09:58:27.000Z
2022-03-25T12:08:56.000Z
from .functions.deform_conv import deform_conv, modulated_deform_conv from .functions.deform_pool import deform_roi_pooling from .modules.deform_conv import (DeformConv, ModulatedDeformConv, DeformConvPack, ModulatedDeformConvPack) from .modules.deform_pool import (DeformRoIPooling, De...
46.857143
76
0.739329
51
656
9.156863
0.352941
0.12848
0.08137
0.107066
0.124197
0
0
0
0
0
0
0
0.184451
656
13
77
50.461538
0.872897
0
0
0
0
0
0.275915
0.11128
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
1662a331dbe1e237d08e9e21a3e8d596bcbce6c4
2,477
py
Python
pyxrd/mixture/models/insitu_behaviours/insitu_behaviour.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
27
2018-06-15T15:28:18.000Z
2022-03-10T12:23:50.000Z
pyxrd/mixture/models/insitu_behaviours/insitu_behaviour.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
22
2018-06-14T08:29:16.000Z
2021-07-05T13:33:44.000Z
pyxrd/mixture/models/insitu_behaviours/insitu_behaviour.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
8
2019-04-13T13:03:51.000Z
2021-06-19T09:29:11.000Z
# coding=UTF-8 # ex:ts=4:sw=4:et=on # # Copyright (c) 2013, Mathijs Dumon # All rights reserved. # Complete license can be found in the LICENSE file. from mvc.models.properties import StringProperty from pyxrd.generic.io.custom_io import storables, Storable from pyxrd.generic.models.base import DataModel from pyxrd....
34.402778
103
0.583771
264
2,477
5.371212
0.507576
0.025388
0.022567
0.028209
0
0
0
0
0
0
0
0.003721
0.240614
2,477
72
104
34.402778
0.750133
0.32176
0
0.105263
0
0
0.068543
0
0
0
0
0
0.052632
1
0.131579
false
0.052632
0.105263
0.078947
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
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
166407e573ed13b6f495ddb118b6bb572fdf1148
423
py
Python
ba5a-min-coins/money_change.py
kjco/bioinformatics-algorithms
3c466157b89c1cbd54749563e39d86a307d7a3f3
[ "MIT" ]
null
null
null
ba5a-min-coins/money_change.py
kjco/bioinformatics-algorithms
3c466157b89c1cbd54749563e39d86a307d7a3f3
[ "MIT" ]
null
null
null
ba5a-min-coins/money_change.py
kjco/bioinformatics-algorithms
3c466157b89c1cbd54749563e39d86a307d7a3f3
[ "MIT" ]
null
null
null
money = 8074 #money = 18705 #coin_list = [24,23,21,5,3,1] coin_list = [24,13,12,7,5,3,1] #coin_list = map(int, open('dataset_71_8.txt').read().split(',')) d = {0:0} for m in range(1,money+1): min_coin = 1000000 for coin in coin_list: if m >= coin: if d[m-coin]+1 < min_coin:...
18.391304
66
0.51773
75
423
2.786667
0.44
0.15311
0.095694
0.066986
0.105263
0
0
0
0
0
0
0.151724
0.314421
423
22
67
19.227273
0.568966
0.264775
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1665579643c424a545b6a8b3af94a1a9e0f4f184
357
py
Python
examples/remove_comments.py
igordejanovic/textx-bibtex
b1374a39b96da9c1bc979c367b9ed3feb04f4f01
[ "MIT" ]
1
2020-06-17T21:51:33.000Z
2020-06-17T21:51:33.000Z
examples/remove_comments.py
igordejanovic/textx-bibtex
b1374a39b96da9c1bc979c367b9ed3feb04f4f01
[ "MIT" ]
null
null
null
examples/remove_comments.py
igordejanovic/textx-bibtex
b1374a39b96da9c1bc979c367b9ed3feb04f4f01
[ "MIT" ]
null
null
null
""" Remove comments from bib file. """ from textx import metamodel_for_language from txbibtex import bibentry_str BIB_FILE = 'references.bib' bibfile = metamodel_for_language('bibtex').model_from_file(BIB_FILE) # Drop line comments. print('\n'.join([bibentry_str(e) for e in bibfile.entries if e.__cla...
27.461538
68
0.739496
49
357
5.020408
0.591837
0.085366
0.162602
0
0
0
0
0
0
0
0
0
0.148459
357
12
69
29.75
0.809211
0.142857
0
0
0
0
0.120805
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
1
16677a6fe2ff1b1e4b01bda4446f100594d88c8e
390
py
Python
wishes/migrations/0005_auto_20201029_0904.py
e-elson/bd
e35c59686e5ec81925c22353e269601f286634db
[ "MIT" ]
null
null
null
wishes/migrations/0005_auto_20201029_0904.py
e-elson/bd
e35c59686e5ec81925c22353e269601f286634db
[ "MIT" ]
null
null
null
wishes/migrations/0005_auto_20201029_0904.py
e-elson/bd
e35c59686e5ec81925c22353e269601f286634db
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-29 09:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wishes', '0004_auto_20201029_0857'), ] operations = [ migrations.AlterField( model_name='gallery', name='image', ...
20.526316
55
0.594872
41
390
5.560976
0.853659
0
0
0
0
0
0
0
0
0
0
0.111111
0.284615
390
18
56
21.666667
0.706093
0.115385
0
0
1
0
0.139942
0.067055
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
166802c5b61892041a13896dbed6ef514fd83df2
7,115
py
Python
undeployed/legacy/Landsat/DNtoReflectance.py
NASA-DEVELOP/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
65
2015-09-10T12:59:56.000Z
2022-02-27T22:09:03.000Z
undeployed/legacy/Landsat/DNtoReflectance.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
40
2015-04-08T19:23:30.000Z
2015-08-04T15:53:11.000Z
undeployed/legacy/Landsat/DNtoReflectance.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
45
2015-08-14T19:09:38.000Z
2022-02-15T18:53:16.000Z
#------------------------------------------------------------------------------- # Name: Landsat Digital Numbers to Radiance/Reflectance # Purpose: To convert landsat 4,5, or 7 pixel values from digital numbers # to Radiance, Reflectance, or Temperature # Author: Quinten Geddes Quinte...
42.100592
113
0.619115
945
7,115
4.616931
0.319577
0.013752
0.02567
0.011002
0.178318
0.146917
0.127664
0.108412
0.088471
0.057758
0
0.060388
0.238932
7,115
168
114
42.35119
0.745337
0.207309
0
0.067416
0
0
0.175879
0.058246
0
0
0
0
0
0
null
null
0
0.022472
null
null
0.033708
0
0
0
null
0
0
0
0
0
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
1668b92419e5394d4eb735fba074c84b5eb16b19
1,396
py
Python
.modules/.theHarvester/discovery/twittersearch.py
termux-one/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
1,103
2018-04-20T14:08:11.000Z
2022-03-29T06:22:43.000Z
.modules/.theHarvester/discovery/twittersearch.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
29
2019-04-03T14:52:38.000Z
2022-03-24T12:33:05.000Z
.modules/.theHarvester/discovery/twittersearch.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
262
2017-09-16T22:15:50.000Z
2022-03-31T00:38:42.000Z
import string import requests import sys import myparser import re class search_twitter: def __init__(self, word, limit): self.word = word.replace(' ', '%20') self.results = "" self.totalresults = "" self.server = "www.google.com" self.hostname = "www.google.com" s...
32.465116
169
0.592407
181
1,396
4.519337
0.480663
0.067237
0.07335
0.03912
0.05379
0
0
0
0
0
0
0.058014
0.27149
1,396
42
170
33.238095
0.746313
0
0
0.166667
0
0.083333
0.234957
0.062321
0
0
0
0
0
0
null
null
0
0.138889
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1