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
6b6181118d5064d9f5896cd76cb1c49f6dbf4497
343
py
Python
reducer.py
MitraThakker/DeDoop_SIH2017
d7a2fe125463dd467dee3ec1e78e8c2ad08da463
[ "MIT" ]
1
2018-08-04T00:59:42.000Z
2018-08-04T00:59:42.000Z
reducer.py
MitraThakker/DeDoop_SIH2017
d7a2fe125463dd467dee3ec1e78e8c2ad08da463
[ "MIT" ]
null
null
null
reducer.py
MitraThakker/DeDoop_SIH2017
d7a2fe125463dd467dee3ec1e78e8c2ad08da463
[ "MIT" ]
null
null
null
import sys current_word, word = "", "" count, current_count = 0, 0 for line in sys.stdin: word = line.strip() if current_word == word: current_count += 1 else: if current_word: print(current_word, current_count, sep=",") current_word, current_count = word, 1 if current_word == word: print(current_word, c...
21.4375
46
0.696793
51
343
4.45098
0.313725
0.339207
0.281938
0.303965
0.30837
0.30837
0.30837
0
0
0
0
0.014085
0.172012
343
15
47
22.866667
0.785211
0
0
0.307692
0
0
0.005831
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.153846
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6b7061560f6ff740db978bd94cf9c2978dc662df
116
py
Python
api/urls.py
thyagostall/pong-api
a500c06238c745a5dc50ed75767478534e0e383a
[ "MIT" ]
null
null
null
api/urls.py
thyagostall/pong-api
a500c06238c745a5dc50ed75767478534e0e383a
[ "MIT" ]
null
null
null
api/urls.py
thyagostall/pong-api
a500c06238c745a5dc50ed75767478534e0e383a
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from . import views urlpatterns = [ url(r'^score/', views.score), ]
14.5
41
0.681034
16
116
4.9375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.181034
116
7
42
16.571429
0.831579
0
0
0
0
0
0.060345
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6b7de91dd8cf4dc38c30627be5870e33ffcd4cb5
1,897
py
Python
plugin_tests/import_test.py
tymiao1220/slicer_cli_web_SSR
23adc8e76c661ec5161dc810af4bfa095faea4eb
[ "Apache-2.0" ]
null
null
null
plugin_tests/import_test.py
tymiao1220/slicer_cli_web_SSR
23adc8e76c661ec5161dc810af4bfa095faea4eb
[ "Apache-2.0" ]
null
null
null
plugin_tests/import_test.py
tymiao1220/slicer_cli_web_SSR
23adc8e76c661ec5161dc810af4bfa095faea4eb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # Copyright Kitware 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 ...
32.706897
83
0.664734
245
1,897
4.959184
0.473469
0.074074
0.079012
0.098765
0.134979
0.103704
0.103704
0.103704
0.103704
0
0
0.00324
0.18661
1,897
57
84
33.280702
0.784187
0.375857
0
0
0
0
0.085743
0
0
0
0
0
0.043478
1
0.304348
false
0
0.391304
0
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
6b902faf35f34bf30fe44efb56a750a18b887002
139
py
Python
teerace/lib/chunks.py
chaosk/teerace
16110c739eb12009d8e70fb3c3bfe8ed87112cfa
[ "BSD-3-Clause" ]
3
2016-06-10T03:45:19.000Z
2018-09-27T15:32:17.000Z
teerace/lib/chunks.py
teerace/web
16110c739eb12009d8e70fb3c3bfe8ed87112cfa
[ "BSD-3-Clause" ]
26
2018-12-31T12:54:27.000Z
2019-04-08T02:34:44.000Z
teerace/lib/chunks.py
teerace/web
16110c739eb12009d8e70fb3c3bfe8ed87112cfa
[ "BSD-3-Clause" ]
3
2017-01-08T14:59:18.000Z
2018-11-21T14:59:03.000Z
""" http://stackoverflow.com/questions/312443/#312464 """ def chunks(l, n): for i in range(0, len(l), n): yield l[i : i + n]
15.444444
49
0.561151
23
139
3.391304
0.73913
0.051282
0
0
0
0
0
0
0
0
0
0.121495
0.230216
139
8
50
17.375
0.607477
0.352518
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6b9847e37746e1ec1e45fd0f15f5026cc20d0e2e
1,391
py
Python
schemas/profiles.py
dprosenikov/CarHub_Flask
20ca65d8e554be3fbee7fdafb2e54969c8c2a1d3
[ "MIT" ]
null
null
null
schemas/profiles.py
dprosenikov/CarHub_Flask
20ca65d8e554be3fbee7fdafb2e54969c8c2a1d3
[ "MIT" ]
null
null
null
schemas/profiles.py
dprosenikov/CarHub_Flask
20ca65d8e554be3fbee7fdafb2e54969c8c2a1d3
[ "MIT" ]
null
null
null
from marshmallow import Schema, fields, validate, ValidationError, validates_schema from schemas.cars import GetCarSchema from schemas.validators import username_starts_with_capital_letter class LoginSchema(Schema): class Meta: ordered = True username = fields.String(required=True, ...
35.666667
109
0.698778
162
1,391
5.895062
0.314815
0.075393
0.125654
0.175916
0.560209
0.500524
0.500524
0.500524
0.500524
0.45445
0
0.021277
0.189073
1,391
38
110
36.605263
0.825355
0
0
0.444444
0
0
0.045291
0
0
0
0
0
0
1
0.037037
false
0.222222
0.111111
0
0.703704
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
1
0
0
1
0
0
3
6ba1cd12cf321993416bd44f1d7636396e30c119
307
py
Python
python/AllAboard/AllAboard0.py
PaulAustin/sb7
e7e7f9f85387d16f6069ed8e98192bd387d8cf95
[ "MIT" ]
null
null
null
python/AllAboard/AllAboard0.py
PaulAustin/sb7
e7e7f9f85387d16f6069ed8e98192bd387d8cf95
[ "MIT" ]
null
null
null
python/AllAboard/AllAboard0.py
PaulAustin/sb7
e7e7f9f85387d16f6069ed8e98192bd387d8cf95
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Making an argument, or rather taking arguments # taking as many as you want to make #import the 'system' object import sys print ("Which python is being run?" , sys.executable) print ("Vector of arguements List:", sys.argv) print ("Number of arguments passed:", len(sys.argv))
23.615385
53
0.726384
48
307
4.645833
0.770833
0.06278
0
0
0
0
0
0
0
0
0
0.003876
0.159609
307
12
54
25.583333
0.860465
0.420195
0
0
0
0
0.459302
0
0
0
0
0
0
1
0
true
0.25
0.25
0
0.25
0.75
0
0
0
null
0
0
0
0
0
0
0
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
1
0
0
0
1
0
3
6ba564d3df02d74b7b26ac17976b3d9cb8f6fca4
170
py
Python
python_solutions/numpy/Floor, Ceil and Rint.py
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
python_solutions/numpy/Floor, Ceil and Rint.py
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
python_solutions/numpy/Floor, Ceil and Rint.py
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
import numpy as np np.set_printoptions(sign=" ") arr = np.array(list(map(float, input().strip().split()))) print(np.floor(arr)) print(np.ceil(arr)) print(np.rint(arr))
18.888889
57
0.688235
29
170
4
0.655172
0.181034
0.172414
0
0
0
0
0
0
0
0
0
0.088235
170
9
58
18.888889
0.748387
0
0
0
0
0
0.005848
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6bb73b9b3969e356b89fd431a077aebf8305258e
262
py
Python
high/classInfo.py
sdyz5210/python
78f9999f94d92d9ca7fde6f18acec7d3abd422ef
[ "BSD-3-Clause" ]
null
null
null
high/classInfo.py
sdyz5210/python
78f9999f94d92d9ca7fde6f18acec7d3abd422ef
[ "BSD-3-Clause" ]
null
null
null
high/classInfo.py
sdyz5210/python
78f9999f94d92d9ca7fde6f18acec7d3abd422ef
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import types #使用typeof判断对象类型 a = 3 print '判断a是什么类型',type(a) str = '3' print '判断str是什么类型',type(str) b = 1.0 print '判断b是什么类型',type(b) print '判断abs是什么类型',type(abs) print 'type(3)==types.intType',type(3)==types.IntType
14.555556
53
0.667939
41
262
4.268293
0.560976
0.068571
0.114286
0.194286
0
0
0
0
0
0
0
0.030568
0.125954
262
17
54
15.411765
0.733624
0.198473
0
0
0
0
0.287805
0.107317
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.555556
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
1
0
0
0
0
0
0
1
0
3
6bc2ac053d4f89dc272507dd294a2f960252a895
723
py
Python
pytglib/api/types/inline_query_result.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/inline_query_result.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/inline_query_result.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class InlineQueryResult(Object): """ Represents a single result of an inline query No parameters required. """ ID = "inlineQueryResult" def __init__(self, **kwargs): pass @staticmethod def read(q: dict, *args) -> "InlineQueryResultAudio ...
31.434783
362
0.738589
64
723
8.28125
0.703125
0.018868
0
0
0
0
0
0
0
0
0
0
0.200553
723
22
363
32.863636
0.916955
0.096819
0
0
0
0.1
0.55309
0.448494
0
0
0
0
0
1
0.2
false
0.1
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6bd95094f5e1df0ace71c45d27cdb06a5fa71d53
99
py
Python
Moon.py
elegenstein-tgm/astrosim
1b09a32f543f5cc810621f8beaff20d57d0add22
[ "MIT" ]
null
null
null
Moon.py
elegenstein-tgm/astrosim
1b09a32f543f5cc810621f8beaff20d57d0add22
[ "MIT" ]
null
null
null
Moon.py
elegenstein-tgm/astrosim
1b09a32f543f5cc810621f8beaff20d57d0add22
[ "MIT" ]
null
null
null
# coding=UTF-8 from Body import * class Moon(Body): """ :version: :author: """
8.25
18
0.505051
11
99
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.014925
0.323232
99
11
19
9
0.731343
0.323232
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
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
1
0
1
0
0
0
0
3
6bfc91f40d20f01cdac50d146045c4eea2070366
522
py
Python
sensehat-1.py
coatsy/sense
0eff613e461a1d26112902cbe42647ae6d2f0133
[ "MIT" ]
null
null
null
sensehat-1.py
coatsy/sense
0eff613e461a1d26112902cbe42647ae6d2f0133
[ "MIT" ]
null
null
null
sensehat-1.py
coatsy/sense
0eff613e461a1d26112902cbe42647ae6d2f0133
[ "MIT" ]
null
null
null
from time import sleep from sense_hat import SenseHat sense = SenseHat() yellow = (255, 255, 0) blue = (0, 0, 255) black = (0,0,0) white = (255,255,255) sense.show_message("I Win", text_colour=yellow, back_colour=blue) sense.clear(black) r = (255,0,0) g = (0,255,0) b = (0,0,255) creeper_pixels = [ g,g,g,g,g,g,g,g...
15.352941
65
0.616858
131
522
2.396947
0.244275
0.216561
0.229299
0.242038
0.203822
0.187898
0.187898
0.187898
0.171975
0.171975
0
0.089485
0.143678
522
33
66
15.818182
0.612975
0
0
0.230769
0
0
0.009579
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d43169921a12e287804bfbe3ee39625b50cfcf93
303
py
Python
src/bo4e/enum/strenum.py
bo4e/BO4E-python
28b12f853c8a496d14b133759b7aa2d6661f79a0
[ "MIT" ]
1
2022-03-02T12:49:44.000Z
2022-03-02T12:49:44.000Z
src/bo4e/enum/strenum.py
bo4e/BO4E-python
28b12f853c8a496d14b133759b7aa2d6661f79a0
[ "MIT" ]
21
2022-02-04T07:38:46.000Z
2022-03-28T14:01:53.000Z
src/bo4e/enum/strenum.py
bo4e/BO4E-python
28b12f853c8a496d14b133759b7aa2d6661f79a0
[ "MIT" ]
null
null
null
""" strenum contains an enum that inherits from the plain enum and string. """ from enum import Enum # pylint: disable=too-few-public-methods class StrEnum(str, Enum): """ An enum that has string values. """ # see https://docs.python.org/3/library/enum.html?highlight=strenum#others
20.2
78
0.69637
44
303
4.795455
0.727273
0.056872
0.094787
0
0
0
0
0
0
0
0
0.004032
0.181518
303
14
79
21.642857
0.846774
0.706271
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d438222258d6661deb8887646d1435fd1ea44891
354
py
Python
MesaModel/model/input_data.py
parnumeric/classroom-abm
115ebdfe07acc744eacb94c86efa4948241d1a9a
[ "MIT" ]
1
2022-03-24T20:34:30.000Z
2022-03-24T20:34:30.000Z
MesaModel/model/input_data.py
parnumeric/classroom-abm
115ebdfe07acc744eacb94c86efa4948241d1a9a
[ "MIT" ]
80
2020-10-19T09:14:55.000Z
2022-03-30T22:21:20.000Z
MesaModel/model/input_data.py
parnumeric/classroom-abm
115ebdfe07acc744eacb94c86efa4948241d1a9a
[ "MIT" ]
2
2020-11-05T19:39:32.000Z
2022-03-04T12:39:18.000Z
import pandas as pd class InputData: def __init__(self, input_filepath): all_data = pd.read_csv(input_filepath).dropna() self.grouped = all_data.groupby("class_id") def get_class_ids(self): return list(self.grouped.groups.keys()) def get_class_data(self, class_id): return...
25.285714
55
0.69209
51
354
4.470588
0.509804
0.144737
0.096491
0
0
0
0
0
0
0
0
0
0.20339
354
13
56
27.230769
0.808511
0
0
0
0
0
0.022599
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d43a5868f2b6c6eb102774459475c3c721a00e2d
79,128
py
Python
nvapi/dx/d3d10sdklayers_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
5
2020-06-05T23:56:37.000Z
2021-06-12T06:21:15.000Z
nvapi/dx/d3d10sdklayers_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
1
2020-12-03T18:25:45.000Z
2020-12-05T14:55:07.000Z
nvapi/dx/d3d10sdklayers_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # *********************************************************************************** # MIT License # # Copyright (c) 2020 Kevin G. Schlosser # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"),...
40.516129
104
0.770322
7,680
79,128
7.228516
0.091797
0.229992
0.256723
0.136179
0.899991
0.464793
0.320346
0.18685
0.096352
0.041214
0
0.065533
0.18465
79,128
1,952
105
40.536885
0.794938
0.016644
0
0.093418
0
0
0.036205
0.014592
0
0
0.000103
0
0
1
0
false
0.003716
0.001062
0
0.288217
0
0
0
0
null
1
1
0
1
0
0
0
0
0
0
0
0
0
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
3
d44657fbefa7522e382879295999e3e6b88c6f59
350
py
Python
tests/test_utils.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
2
2021-05-26T17:29:50.000Z
2021-05-29T10:19:10.000Z
tests/test_utils.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
10
2021-03-12T14:33:34.000Z
2021-05-23T14:48:45.000Z
tests/test_utils.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
1
2021-09-22T18:03:29.000Z
2021-09-22T18:03:29.000Z
import os from arggo.environment.workdir import DirectoryStrategy class FakeDirectoryStrategy(DirectoryStrategy): def __init__(self) -> None: super().__init__() self.dir = os.getcwd() def makedirs(self, path): pass def chdir(self, path): self.dir = path def getcwd(s...
18.421053
55
0.64
39
350
5.538462
0.538462
0.097222
0
0
0
0
0
0
0
0
0
0
0.262857
350
18
56
19.444444
0.837209
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.083333
0.166667
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d45387c491588d58756a3e28abdc034e0a6cce40
446
py
Python
WhileLoop/Coins.py
Rohitm619/Softuni-Python-Basic
03c9d0b44f5652c99db3b0e42014dd5af50205a2
[ "MIT" ]
1
2020-09-22T13:25:34.000Z
2020-09-22T13:25:34.000Z
WhileLoop/Coins.py
Rohitm619/Softuni-Python-Basic
03c9d0b44f5652c99db3b0e42014dd5af50205a2
[ "MIT" ]
null
null
null
WhileLoop/Coins.py
Rohitm619/Softuni-Python-Basic
03c9d0b44f5652c99db3b0e42014dd5af50205a2
[ "MIT" ]
1
2020-10-17T09:27:46.000Z
2020-10-17T09:27:46.000Z
sum = float(input()) counter_of_coins = 0 sum = int(sum*100) counter_of_coins += sum // 200 sum = sum % 200 counter_of_coins += sum // 100 sum = sum % 100 counter_of_coins += sum // 50 sum = sum % 50 counter_of_coins += sum // 20 sum = sum % 20 counter_of_coins += sum // 10 sum = sum % 10 counter_of_coins += sum // 5 ...
19.391304
30
0.654709
79
446
3.443038
0.227848
0.330882
0.514706
0.4375
0.169118
0.169118
0
0
0
0
0
0.096317
0.20852
446
23
31
19.391304
0.674221
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.05
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d464c59a73cb59c83e47bf9bb298555850c8e396
1,265
py
Python
products/api/__init__.py
geoffreynyaga/daraja
61db415b474fae004547a4caa057fedfe375ebb6
[ "MIT" ]
23
2019-11-14T14:37:43.000Z
2022-02-25T01:53:09.000Z
products/api/__init__.py
geoffreynyaga/daraja
61db415b474fae004547a4caa057fedfe375ebb6
[ "MIT" ]
11
2020-02-12T02:43:25.000Z
2022-02-19T04:43:54.000Z
products/api/__init__.py
geoffreynyaga/daraja
61db415b474fae004547a4caa057fedfe375ebb6
[ "MIT" ]
15
2019-11-10T23:28:18.000Z
2022-03-04T08:35:17.000Z
#!/usr/bin/env python3 # -*- coding:utf-8 -*- ################################################################################## # File: c:\Projects\Ploti\src\products\api\__init__.py # # Project: MFUKO # # Author: geoffreynyaga at g...
70.277778
82
0.269565
69
1,265
4.884058
0.768116
0.089021
0.136499
0.166172
0.189911
0.189911
0
0
0
0
0
0.028961
0.535968
1,265
17
83
74.411765
0.545145
0.780237
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
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
1
0
0
0
0
0
0
3
d474c5a1256a98df31cac82f534263849662e71a
358
py
Python
document_preprocessor/query_preprocessing_accumulator.py
ShivanshMishra18/IntelligentDocFinder
4a0ed1c9b4011ca212361397945a840c6f65ed3a
[ "BSD-2-Clause" ]
1
2022-02-11T05:46:28.000Z
2022-02-11T05:46:28.000Z
document_preprocessor/query_preprocessing_accumulator.py
amankrsingh1812/IntelligentDocFinder
4a0ed1c9b4011ca212361397945a840c6f65ed3a
[ "BSD-2-Clause" ]
null
null
null
document_preprocessor/query_preprocessing_accumulator.py
amankrsingh1812/IntelligentDocFinder
4a0ed1c9b4011ca212361397945a840c6f65ed3a
[ "BSD-2-Clause" ]
null
null
null
from document_preprocessor.accumulator_interface import AccumulatorInterface class QueryPreprocessingAccumulator(AccumulatorInterface): def __init__(self): self.tokens_set = set() def accumulate(self, data): for token in data: self.tokens_set.add(token) def get_result(self...
27.538462
76
0.703911
38
358
6.368421
0.605263
0.123967
0.161157
0
0
0
0
0
0
0
0
0
0.22905
358
13
77
27.538462
0.876812
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d47dc5b984b1b8b0673ae09618879d9ff4bb95eb
900
py
Python
Django/recurView/ARNN/migrations/0014_auto_20190327_1901.py
ltomas837/DjangoProject
31a88fa9e8819ab3f03f689e50bbf8a341b4fc49
[ "MIT" ]
3
2019-03-29T17:32:50.000Z
2019-12-12T18:39:32.000Z
Django/recurView/ARNN/migrations/0014_auto_20190327_1901.py
ltomas837/DjangoProject
31a88fa9e8819ab3f03f689e50bbf8a341b4fc49
[ "MIT" ]
4
2020-02-12T00:00:08.000Z
2021-06-10T22:52:15.000Z
Django/recurView/ARNN/migrations/0014_auto_20190327_1901.py
ltomas837/DjangoProject
31a88fa9e8819ab3f03f689e50bbf8a341b4fc49
[ "MIT" ]
1
2019-04-11T23:58:48.000Z
2019-04-11T23:58:48.000Z
# Generated by Django 2.1.7 on 2019-03-27 18:01 from django.db import migrations def populate_observables(apps, schema_editor): Observable = apps.get_model('ARNN', 'Observable') Observable.objects.filter(name="Normalized Root-Mean-Squarred Error"). delete() new = Observable(name='Rmse') new.save() ...
25.714286
83
0.657778
107
900
5.46729
0.523364
0.177778
0.232479
0.239316
0.324786
0.201709
0
0
0
0
0
0.043236
0.203333
900
34
84
26.470588
0.772664
0.05
0
0.296296
1
0
0.184056
0.026964
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.185185
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e0d6782a43623d97636e14748096d1023444505
6,413
py
Python
tests/integrationtests/operation/testdata/TestScheduleJobFileData.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
tests/integrationtests/operation/testdata/TestScheduleJobFileData.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
tests/integrationtests/operation/testdata/TestScheduleJobFileData.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
class TestScheduleJobFileData: test_job_connection = { "Name": "TestIntegrationConnection", "ConnectorTypeName": "POSTGRESQL", "Host": "localhost", "Port": 5432, "Sid": "", "DatabaseName": "test_pdi_integration", "User": "postgres", "Password": "123456...
37.723529
75
0.31826
280
6,413
7.089286
0.242857
0.021159
0.142065
0.160202
0.7466
0.723426
0.685139
0.685139
0.629723
0.519395
0
0.009836
0.571963
6,413
169
76
37.946746
0.713297
0
0
0.558282
0
0
0.297365
0.095587
0
0
0
0
0
1
0
false
0.01227
0
0
0.02454
0
0
0
0
null
0
0
1
0
1
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
3
2e242e09ed7fcb14333e91d98c296ea805bfab2e
677
py
Python
tests/datastore/conftest.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
8
2021-12-13T21:45:19.000Z
2022-03-24T02:28:12.000Z
tests/datastore/conftest.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
3
2021-11-25T08:38:13.000Z
2022-02-09T04:07:01.000Z
tests/datastore/conftest.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
1
2022-01-04T07:43:34.000Z
2022-01-04T07:43:34.000Z
import pytest from awesome_sso.store.minio import MinioStore from tests.datastore import generate_fake_dataframe @pytest.fixture() def test_string(): return b"to grasp how wide and long and high and deep is the love of Christ" @pytest.fixture() def test_dataframe(): return generate_fake_dataframe(size=100,...
22.566667
80
0.741507
94
677
5.12766
0.489362
0.107884
0.13278
0.124481
0
0
0
0
0
0
0
0.00708
0.165436
677
29
81
23.344828
0.846018
0
0
0.15
1
0
0.128508
0
0
0
0
0
0
1
0.2
false
0
0.15
0.2
0.55
0
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
1
1
0
0
3
2e2ccc9b4fe832fc2b7caed64854323181fcec17
256
py
Python
subscriptions/admin.py
ErnestaMajute/lucentCavern
a98253c5192456637f7af6400eee39cf5363d838
[ "W3C", "PostgreSQL" ]
null
null
null
subscriptions/admin.py
ErnestaMajute/lucentCavern
a98253c5192456637f7af6400eee39cf5363d838
[ "W3C", "PostgreSQL" ]
null
null
null
subscriptions/admin.py
ErnestaMajute/lucentCavern
a98253c5192456637f7af6400eee39cf5363d838
[ "W3C", "PostgreSQL" ]
1
2021-07-19T14:29:15.000Z
2021-07-19T14:29:15.000Z
from django.contrib import admin # Register your models here. from.models import SubscriptionUser class SubscriptionsAdmin(admin.ModelAdmin): list_display = ('email', 'subscription_date',) admin.site.register(SubscriptionUser, SubscriptionsAdmin)
21.333333
57
0.800781
27
256
7.518519
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.113281
256
11
58
23.272727
0.894273
0.101563
0
0
0
0
0.096491
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
1
0
1
0
0
3
2e3057c5a70526ae9521c8716de053d676d6c589
211
py
Python
apps/libro/urls.py
ernestoaguaysol/mysite
3a818e98464bd200acd2cbe6dc0bb03790eab7df
[ "Unlicense" ]
null
null
null
apps/libro/urls.py
ernestoaguaysol/mysite
3a818e98464bd200acd2cbe6dc0bb03790eab7df
[ "Unlicense" ]
null
null
null
apps/libro/urls.py
ernestoaguaysol/mysite
3a818e98464bd200acd2cbe6dc0bb03790eab7df
[ "Unlicense" ]
null
null
null
from django.urls import path from .views import crearAutor,listarAutor urlpatterns = [ path('crear_autor/', crearAutor, name = 'crear_autor'), path('listar_autor/', listarAutor, name = 'listar_autor') ]
30.142857
61
0.729858
25
211
6
0.52
0.133333
0
0
0
0
0
0
0
0
0
0
0.14218
211
7
62
30.142857
0.828729
0
0
0
0
0
0.226415
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2e5130edeaa4710b50319976b3ed348fd05b83da
332
py
Python
coaffect/experiments/simulation.py
aridyckovsky/coaffect
12f33ee11a9fb51bbe100459d55c194417032c9b
[ "MIT" ]
null
null
null
coaffect/experiments/simulation.py
aridyckovsky/coaffect
12f33ee11a9fb51bbe100459d55c194417032c9b
[ "MIT" ]
null
null
null
coaffect/experiments/simulation.py
aridyckovsky/coaffect
12f33ee11a9fb51bbe100459d55c194417032c9b
[ "MIT" ]
null
null
null
""" Simulate a virtual experiment. """ import datetime import numpy import random from .base import Experiment class Simulation(Experiment): def __init__(self, experiment_id, schedule, seed=None): """ Initialize simulation, a virtual experiment. """ super().__init__(experiment_id, sche...
18.444444
59
0.698795
36
332
6.166667
0.583333
0.072072
0.162162
0.216216
0
0
0
0
0
0
0
0
0.201807
332
17
60
19.529412
0.837736
0.256024
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
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
1
0
1
0
0
3
2e7cf465e25d59a018af3cd8b96fb2c0aba5478c
854
py
Python
resolwe/utils.py
jkokosar/resolwe
c23db01494ef863fb2f8e130a59198cfd10bc7aa
[ "Apache-2.0" ]
null
null
null
resolwe/utils.py
jkokosar/resolwe
c23db01494ef863fb2f8e130a59198cfd10bc7aa
[ "Apache-2.0" ]
null
null
null
resolwe/utils.py
jkokosar/resolwe
c23db01494ef863fb2f8e130a59198cfd10bc7aa
[ "Apache-2.0" ]
null
null
null
"""Utility functions""" class BraceMessage(object): """Helper class that can be used to construct log messages with the new {}-string formatting syntax. NOTE: When using this helper class, one pays no signigicant performance penalty since the actual formatting only happens when (and if) the logge...
29.448276
94
0.681499
113
854
5.044248
0.716814
0.036842
0.049123
0
0
0
0
0
0
0
0
0.004484
0.216628
854
28
95
30.5
0.847534
0.649883
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2e80888ee10e4e00e8c090064e323e1d28d6285f
79
py
Python
sphinx_tabs/__init__.py
Daltz333/sphinx-tabs
506e69f32e17b76065a0bcc5898708ae91b8102f
[ "MIT" ]
null
null
null
sphinx_tabs/__init__.py
Daltz333/sphinx-tabs
506e69f32e17b76065a0bcc5898708ae91b8102f
[ "MIT" ]
null
null
null
sphinx_tabs/__init__.py
Daltz333/sphinx-tabs
506e69f32e17b76065a0bcc5898708ae91b8102f
[ "MIT" ]
null
null
null
__version__ = "2.1.0" __import__("pkg_resources").declare_namespace(__name__)
19.75
55
0.78481
10
79
4.8
1
0
0
0
0
0
0
0
0
0
0
0.040541
0.063291
79
3
56
26.333333
0.608108
0
0
0
0
0
0.227848
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2e829bd3298d631be9bca4c22ddc18476759c211
140
py
Python
01 python/lect 5 materials/reverse.py
ksetdekov/HSE_DS
619d5b84f9d9e97b58ca1f12c5914ec65456c2c8
[ "MIT" ]
1
2020-09-26T18:48:11.000Z
2020-09-26T18:48:11.000Z
01 python/lect 5 materials/reverse.py
ksetdekov/HSE_DS
619d5b84f9d9e97b58ca1f12c5914ec65456c2c8
[ "MIT" ]
null
null
null
01 python/lect 5 materials/reverse.py
ksetdekov/HSE_DS
619d5b84f9d9e97b58ca1f12c5914ec65456c2c8
[ "MIT" ]
null
null
null
lines = "" while True: cur_inp = input() lines += cur_inp + "\n" if cur_inp == '0': break result = tuple(lines.split())
17.5
29
0.535714
19
140
3.789474
0.684211
0.25
0
0
0
0
0
0
0
0
0
0.010101
0.292857
140
7
30
20
0.717172
0
0
0
0
0
0.021429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5cfde44f7dfec368e77181a5e02ae3adae0760fa
283
py
Python
api/models.py
shrionit/invoicegen_backend
88d7f670f2d74aab3fb7f4922bdf8711a24bd40f
[ "MIT" ]
null
null
null
api/models.py
shrionit/invoicegen_backend
88d7f670f2d74aab3fb7f4922bdf8711a24bd40f
[ "MIT" ]
null
null
null
api/models.py
shrionit/invoicegen_backend
88d7f670f2d74aab3fb7f4922bdf8711a24bd40f
[ "MIT" ]
null
null
null
from hashlib import blake2s from django.utils import timezone def today(): return timezone.localtime(timezone.now()) def generalCode(length): code = blake2s(digest_size=length // 2) code.update(bytes(f"{today()}", "utf-8")) return f"MT{code.hexdigest()}".upper()
21.769231
45
0.69258
38
283
5.131579
0.684211
0
0
0
0
0
0
0
0
0
0
0.016667
0.151943
283
12
46
23.583333
0.795833
0
0
0
0
0
0.120141
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cf161c8178b7cac36ce02f1960103032bff4d0c5
104
py
Python
python-django/django_jsonplus/apps.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
11
2017-05-20T18:03:15.000Z
2020-06-29T03:22:21.000Z
python-django/django_jsonplus/apps.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
5
2018-02-12T19:22:56.000Z
2019-07-12T11:32:43.000Z
python-django/django_jsonplus/apps.py
marcsello/jsonplus
86151b6a65bfaa8803f04d62d28ddfd342750768
[ "MIT" ]
5
2017-11-03T05:10:18.000Z
2020-10-28T13:19:23.000Z
from django.apps import AppConfig class DjangoJsonplusConfig(AppConfig): name = 'django_jsonplus'
17.333333
38
0.788462
11
104
7.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.144231
104
5
39
20.8
0.910112
0
0
0
0
0
0.144231
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cf40b5560356be0a7757437b4b7732282758aec7
10,173
py
Python
tests/opt/test_lib.py
bartvm/myia
c754a382a3c8fee53b38050ef82aa51d5083807e
[ "MIT" ]
null
null
null
tests/opt/test_lib.py
bartvm/myia
c754a382a3c8fee53b38050ef82aa51d5083807e
[ "MIT" ]
null
null
null
tests/opt/test_lib.py
bartvm/myia
c754a382a3c8fee53b38050ef82aa51d5083807e
[ "MIT" ]
null
null
null
from pytest import mark from .test_opt import _check_opt from myia.opt import lib from myia.prim.py_implementations import \ head, tail, setitem, add, mul, J, Jinv ####################### # Tuple optimizations # ####################### def test_getitem_tuple_elem0(): def before1(x): tup = (x + 1,...
17.539655
73
0.493266
1,380
10,173
3.452174
0.097826
0.066121
0.043451
0.071788
0.640428
0.517212
0.405751
0.356633
0.319689
0.237825
0
0.020916
0.379632
10,173
579
74
17.569948
0.733957
0.022904
0
0.553371
0
0
0.005263
0
0
0
0
0
0
1
0.353933
false
0
0.011236
0.19382
0.651685
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cf4c48708a3c99bcdb606df541cefced4cff489e
145
py
Python
pypy/module/zlib/app_zlib.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
12
2016-01-06T07:10:28.000Z
2021-05-13T23:02:02.000Z
pypy/module/zlib/app_zlib.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
null
null
null
pypy/module/zlib/app_zlib.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
2
2016-07-29T07:09:50.000Z
2016-10-16T08:50:26.000Z
""" Application-level definitions for the zlib module. NOT_RPYTHON """ class error(Exception): """ Raised by zlib operations. """
12.083333
50
0.655172
16
145
5.875
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.22069
145
11
51
13.181818
0.831858
0.62069
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
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
1
0
0
0
1
0
0
3
cf4d0ae3e848373246a9afcd81e1d76a82af62c8
263
py
Python
tests/test_markers.py
trallnag/prometheus_fastapi_exporter
d8025f894a6beb208b2dcd463bea08a0629251fd
[ "MIT" ]
3
2020-07-13T15:29:38.000Z
2020-07-15T20:55:41.000Z
tests/test_markers.py
trallnag/prometheus_fastapi_exporter
d8025f894a6beb208b2dcd463bea08a0629251fd
[ "MIT" ]
null
null
null
tests/test_markers.py
trallnag/prometheus_fastapi_exporter
d8025f894a6beb208b2dcd463bea08a0629251fd
[ "MIT" ]
null
null
null
""" Dummy tests that ensure that Pytest does not return an error code if no tests are run. This would lead to failure of CI/CD pipelines, for example GitHub Actions. """ import pytest @pytest.mark.slow def test_slow(): pass def test_not_slow(): pass
16.4375
83
0.726236
44
263
4.272727
0.772727
0.074468
0
0
0
0
0
0
0
0
0
0
0.201521
263
15
84
17.533333
0.895238
0.612167
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
cf5a765777dd8b4b3f0ce3472ec93b5a342f1888
79
py
Python
19/00/2/Main.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
19/00/2/Main.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
70
2017-06-01T11:02:51.000Z
2017-06-30T00:35:32.000Z
19/00/2/Main.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
import sub.Programmer p = sub.Programmer.Programmer() p.walk() p.programming()
15.8
31
0.759494
11
79
5.454545
0.545455
0.433333
0
0
0
0
0
0
0
0
0
0
0.088608
79
4
32
19.75
0.833333
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cf8581b48af542ba3c55f54e13aed7fab475bd23
192
py
Python
Exercicios_Livros_Algoritmos/a.py
carlosrjhoe/Python
2df531b23ebbabc40539b09bb2bbdbe1ed1c2164
[ "MIT" ]
null
null
null
Exercicios_Livros_Algoritmos/a.py
carlosrjhoe/Python
2df531b23ebbabc40539b09bb2bbdbe1ed1c2164
[ "MIT" ]
null
null
null
Exercicios_Livros_Algoritmos/a.py
carlosrjhoe/Python
2df531b23ebbabc40539b09bb2bbdbe1ed1c2164
[ "MIT" ]
null
null
null
# CRIANDO UMA FUNÇÃO def fahrenheit(x): return (x * (9/5)) + 32 x = float(input('Digite uma temperatura em (C°): ')) print(f'A temperatura digitada em {x}C°, é igual a {fahrenheit(x)}F°')
32
70
0.645833
36
192
3.527778
0.638889
0.173228
0
0
0
0
0
0
0
0
0
0.025157
0.171875
192
6
70
32
0.754717
0.09375
0
0
0
0
0.531792
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
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
1
0
0
0
1
0
0
0
3
d84f14bdd9beb278596b80fb31b905d644833742
20
py
Python
mtcnn/config.py
J0hnnyZhang/MTCNN-keras
bd65ba01320a4e470d2b74efb79abbd65f81c684
[ "MIT" ]
6
2018-08-01T10:53:20.000Z
2021-05-13T15:00:09.000Z
mtcnn/config.py
DewMaple/MTCNN-keras
bd65ba01320a4e470d2b74efb79abbd65f81c684
[ "MIT" ]
2
2022-01-13T00:49:59.000Z
2022-03-11T23:26:55.000Z
mtcnn/config.py
J0hnnyZhang/MTCNN-keras
bd65ba01320a4e470d2b74efb79abbd65f81c684
[ "MIT" ]
4
2018-09-13T12:35:28.000Z
2019-08-27T08:08:19.000Z
LOG_LEVEL = 'DEBUG'
10
19
0.7
3
20
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.764706
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8551993bb356de443faf0d22140303bf68afbe3
347
py
Python
intro-to-programming/python-for-everyone/8-files/exercise-1.py
udpsunil/computer-science
94e3dfc7d39ad139671ab1a3457a61a1fd48fe39
[ "MIT" ]
null
null
null
intro-to-programming/python-for-everyone/8-files/exercise-1.py
udpsunil/computer-science
94e3dfc7d39ad139671ab1a3457a61a1fd48fe39
[ "MIT" ]
null
null
null
intro-to-programming/python-for-everyone/8-files/exercise-1.py
udpsunil/computer-science
94e3dfc7d39ad139671ab1a3457a61a1fd48fe39
[ "MIT" ]
null
null
null
# Write a program to read through a file and print the contents of the file (line by line) all # in upper case. Executing the program will look as follows file_handle = open('/home/sunil/OpenSource/Learning/computer-science/intro-to-programming/python-for-everyone/8-files/mbox-short.txt') for line in file_handle: ...
49.571429
134
0.766571
58
347
4.551724
0.724138
0.075758
0
0
0
0
0
0
0
0
0
0.0033
0.126801
347
6
135
57.833333
0.867987
0.432277
0
0
0
0.333333
0.57732
0.57732
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d858bf426f6aced1964350ccb0f307fcb0005799
193
py
Python
src/pypirun/__main__.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
2
2019-08-01T14:27:47.000Z
2020-03-15T09:05:34.000Z
src/pypirun/__main__.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
14
2019-06-06T02:44:38.000Z
2019-11-13T18:29:00.000Z
src/pypirun/__main__.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
4
2020-07-31T17:32:01.000Z
2021-09-25T14:23:05.000Z
# Copyright 2019, Oath Inc. # Licensed under the terms of the BSD 3 Clause license. See LICENSE file in project root for terms. """ pypirun module entrypoint """ from .cli import main main()
19.3
99
0.735751
30
193
4.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0.031847
0.186529
193
9
100
21.444444
0.872611
0.777202
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d868568c0474e1335c66bc4f1ebf582d72051a4f
188
py
Python
l_07_strings_files_regex/strings_and_text_processing/ex_02_count_substring_occurrences.py
VasAtanasov/SoftUni-Python-Fundamentals
471d0537dd6e5c8b61ede92b7673c0d67e2964fd
[ "MIT" ]
1
2019-06-05T11:16:08.000Z
2019-06-05T11:16:08.000Z
l_07_strings_files_regex/strings_and_text_processing/ex_02_count_substring_occurrences.py
VasAtanasov/SoftUni-Python-Fundamentals
471d0537dd6e5c8b61ede92b7673c0d67e2964fd
[ "MIT" ]
null
null
null
l_07_strings_files_regex/strings_and_text_processing/ex_02_count_substring_occurrences.py
VasAtanasov/SoftUni-Python-Fundamentals
471d0537dd6e5c8b61ede92b7673c0d67e2964fd
[ "MIT" ]
null
null
null
text = input().lower() searched_word = input().lower() counter = 0 for i in range(len(text)): if text[i:i + len(searched_word)] == searched_word: counter += 1 print(counter)
18.8
55
0.638298
28
188
4.178571
0.535714
0.307692
0
0
0
0
0
0
0
0
0
0.013245
0.196809
188
9
56
20.888889
0.761589
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8753e0ceee79fd1b181f4f0c4c4d389c0e924a6
722
py
Python
algorithms/dataStructures/graph.py
mohrtw/algorithms
e913b709b82eae61dace9b0b785259ee2e847b65
[ "MIT" ]
null
null
null
algorithms/dataStructures/graph.py
mohrtw/algorithms
e913b709b82eae61dace9b0b785259ee2e847b65
[ "MIT" ]
null
null
null
algorithms/dataStructures/graph.py
mohrtw/algorithms
e913b709b82eae61dace9b0b785259ee2e847b65
[ "MIT" ]
null
null
null
from collections import defaultdict class graph(object): def __init__(self, arcList=[]): self.arcs = defaultdict(list) for arc in arcList: self.arcs[arc[0]].append(arc[1]) if not self.check_vertex(arc[1]): self.add_vertex(arc[1]) def check_vertex(self...
21.235294
45
0.565097
109
722
3.623853
0.284404
0.182278
0.113924
0.068354
0.243038
0.091139
0.091139
0
0
0
0
0.007921
0.300554
722
33
46
21.878788
0.774257
0
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.045455
0.136364
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d88d4709ff3acc982ad0f9f2adc40b04d830ecb8
982
py
Python
challenges/2019/python/d04.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
challenges/2019/python/d04.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
challenges/2019/python/d04.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
''' Advent of Code - 2019 --- Day 4: Secure Container --- ''' from utils import * def parse_input(day): parser = lambda line : line.split('-') return day_input(day, parser)[0] def is_increasing(n): digits = str(n) return all(x <= y for x, y in zip(digits, digits[1:])) def has_two_of_the_same(...
23.380952
99
0.645621
172
982
3.476744
0.354651
0.013378
0.053512
0.080268
0.563545
0.535117
0.535117
0.521739
0.521739
0.521739
0
0.036036
0.208758
982
41
100
23.95122
0.733591
0.059063
0
0.217391
0
0
0.073304
0
0
0
0
0
0
1
0.26087
false
0.173913
0.043478
0
0.565217
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d8935812160fc5f57cbf38260acde6b85ad151c5
212
py
Python
snaut-english/wsgi.py
porcelluscavia/vectors-webtool
4dfcd0ce72685900ebfc4be4f08fe9fbdb01581e
[ "Apache-2.0" ]
null
null
null
snaut-english/wsgi.py
porcelluscavia/vectors-webtool
4dfcd0ce72685900ebfc4be4f08fe9fbdb01581e
[ "Apache-2.0" ]
null
null
null
snaut-english/wsgi.py
porcelluscavia/vectors-webtool
4dfcd0ce72685900ebfc4be4f08fe9fbdb01581e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from configparser import ConfigParser from .snaut import app_factory conf = ConfigParser() conf.read(['config.ini', 'config_local.ini']) app = app_factory(conf)
16.307692
45
0.712264
29
212
5.103448
0.62069
0.135135
0.189189
0
0
0
0
0
0
0
0
0.005435
0.132075
212
12
46
17.666667
0.798913
0.198113
0
0
0
0
0.154762
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
1
0
0
0
0
3
d8a94a586612e294f6059750c31dee3457850122
361
py
Python
framework/client/AbstractDTO.py
otbrown/wee_archie
9dc86c74f54ce05ef2195e92dd914514bda8306b
[ "BSD-3-Clause" ]
4
2019-01-29T11:14:39.000Z
2021-10-29T18:32:01.000Z
framework/client/AbstractDTO.py
otbrown/wee_archie
9dc86c74f54ce05ef2195e92dd914514bda8306b
[ "BSD-3-Clause" ]
13
2019-02-18T15:18:52.000Z
2022-03-11T23:57:45.000Z
framework/client/AbstractDTO.py
otbrown/wee_archie
9dc86c74f54ce05ef2195e92dd914514bda8306b
[ "BSD-3-Clause" ]
2
2019-03-02T23:41:53.000Z
2019-07-09T10:17:37.000Z
import abc #Abstract Data transfer object class. #Note that each demo MUST define its own subclass of this class (in *demo_name*_demo.py), and define its own vesion of each of the methods class AbstractDTO: #__metaclass__ = abc.ABCMeta #@abc.abstractmethod def SetData(): return #@abc.abstract...
24.066667
138
0.700831
49
361
5.040816
0.673469
0.072874
0.097166
0
0
0
0
0
0
0
0
0
0.229917
361
14
139
25.785714
0.888489
0.65928
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.166667
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
3
d8b202f10f957ef65520bf740983cb83b83726f3
1,671
py
Python
ch_7/Polynomial_exp.py
ProhardONE/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
51
2016-04-05T16:56:11.000Z
2022-02-08T00:08:47.000Z
ch_7/Polynomial_exp.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
null
null
null
ch_7/Polynomial_exp.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
47
2016-05-02T07:51:37.000Z
2022-02-08T01:28:15.000Z
# Exercise 7.29 # Author: Noah Waterfield Price from Polynomial import Polynomial from numpy import exp import sys def factorial(n): if n == 0: return 1 else: return n * factorial(n - 1) x = float(sys.argv[1]) Nlist = sys.argv[2:] plist = [] for N in Nlist: coeffs = [1. / factorial(k) f...
26.951613
60
0.490126
212
1,671
3.849057
0.353774
0.094363
0.063725
0.088235
0.099265
0.099265
0.099265
0.099265
0.099265
0.099265
0
0.297424
0.233393
1,671
61
61
27.393443
0.339578
0.025733
0
0.1
0
0
0.114447
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d8c1cf822b5c441d9ab1241e77e05a2cee6c18fa
265
py
Python
mocks/apps.py
stornado/zinga
4791d06f153a69a1ed502022b58d4af9c77c5659
[ "MIT" ]
null
null
null
mocks/apps.py
stornado/zinga
4791d06f153a69a1ed502022b58d4af9c77c5659
[ "MIT" ]
null
null
null
mocks/apps.py
stornado/zinga
4791d06f153a69a1ed502022b58d4af9c77c5659
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ from django.utils.translation import npgettext_lazy as _ng class MocksConfig(AppConfig): name = 'mocks' verbose_name = _('Mock') verbose_name_plural = _('Mocks')
26.5
58
0.766038
34
265
5.705882
0.558824
0.154639
0.154639
0.268041
0.329897
0
0
0
0
0
0
0
0.154717
265
9
59
29.444444
0.866071
0
0
0
0
0
0.05283
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d8ee596fa09acddcc22114f4fe5019508a24a36c
1,944
py
Python
tests/framework/test_bmi_var_units.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
38
2017-06-30T17:10:53.000Z
2022-01-05T07:38:03.000Z
tests/framework/test_bmi_var_units.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
96
2017-04-04T18:52:41.000Z
2021-11-01T21:30:48.000Z
tests/framework/test_bmi_var_units.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
15
2017-05-23T15:40:16.000Z
2021-06-14T21:30:28.000Z
import pytest import numpy as np from gimli import IncompatibleUnitsError, UnitNameError from numpy.testing import assert_array_equal from pymt.framework.bmi_bridge import BmiTimeInterpolator, GridMapperMixIn, _BmiCap class SimpleBmi: def get_output_var_names(self): return ("elevation",) def get_va...
25.246753
85
0.655864
273
1,944
4.468864
0.274725
0.044262
0.063115
0.114754
0.37377
0.321311
0.321311
0.291803
0.167213
0.167213
0
0.04229
0.209362
1,944
76
86
25.578947
0.751464
0.065329
0
0.125
0
0
0.068486
0
0
0
0
0
0.145833
1
0.270833
false
0
0.104167
0.166667
0.604167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2b16619f5b6518d77d9080ad3bcd5a8ebfe33419
319
py
Python
modeladminutils/models.py
kinaklub/next.filmfest.by
b537c0d2dac4195e9e7b460c569007d20a5954e7
[ "Unlicense" ]
7
2016-07-18T07:37:37.000Z
2022-03-23T08:12:04.000Z
modeladminutils/models.py
kinaklub/next.filmfest.by
b537c0d2dac4195e9e7b460c569007d20a5954e7
[ "Unlicense" ]
119
2015-11-08T07:16:44.000Z
2022-03-11T23:25:53.000Z
modeladminutils/models.py
kinaklub/next.filmfest.by
b537c0d2dac4195e9e7b460c569007d20a5954e7
[ "Unlicense" ]
3
2016-07-21T17:22:31.000Z
2016-10-04T08:38:48.000Z
from django.db import models from modeladminutils.queryset import SearchableQuerySet __all__ = ['SearchableManager'] class BaseSearchableManager(models.Manager): def get_queryset(self): return SearchableQuerySet(self.model) SearchableManager = BaseSearchableManager.from_queryset(SearchableQuerySet)
21.266667
75
0.811912
29
319
8.724138
0.62069
0
0
0
0
0
0
0
0
0
0
0
0.122257
319
14
76
22.785714
0.903571
0
0
0
0
0
0.053292
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.714286
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
1
1
0
0
3
2b1a913653dd7e8cf4cdeaa7d5980bfd03dfc79a
284
py
Python
venv/Lib/site-packages/notebook/conftest.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
5
2022-01-20T22:59:04.000Z
2022-02-06T06:11:35.000Z
venv/Lib/site-packages/notebook/conftest.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
2
2021-12-04T12:51:07.000Z
2021-12-04T16:49:18.000Z
venv/Lib/site-packages/notebook/conftest.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
2
2021-05-23T16:46:31.000Z
2021-05-26T23:51:09.000Z
import pytest import sys # TODO: Remove this hook once Issue #5967 is resolved. def pytest_ignore_collect(path): if str(path).endswith("test_terminals_api.py"): if sys.platform.startswith('win') and sys.version_info >= (3, 9): return True # do not collect
25.818182
73
0.68662
42
284
4.52381
0.833333
0
0
0
0
0
0
0
0
0
0
0.026667
0.207746
284
10
74
28.4
0.817778
0.232394
0
0
0
0
0.112676
0.098592
0
0
0
0.1
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
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
1
0
1
0
0
3
2b251eb2801ceee53afc54d685b193078b259bab
3,508
py
Python
tests/highlevel_functions/test_highlevel_functions.py
meta00/vital_sqi
7e64a26c9d56af26bfbd25c3ba30211414f5f845
[ "MIT" ]
4
2021-09-30T08:18:02.000Z
2022-03-04T10:00:00.000Z
tests/highlevel_functions/test_highlevel_functions.py
meta00/vital_sqi
7e64a26c9d56af26bfbd25c3ba30211414f5f845
[ "MIT" ]
25
2021-05-14T06:31:44.000Z
2021-06-11T18:23:17.000Z
tests/highlevel_functions/test_highlevel_functions.py
meta00/vital_sqi
7e64a26c9d56af26bfbd25c3ba30211414f5f845
[ "MIT" ]
3
2021-05-30T21:19:02.000Z
2021-12-02T11:29:02.000Z
import pytest import os import numpy as np from vital_sqi.data.signal_io import PPG_reader from vital_sqi.highlevel_functions.highlevel import \ compute_SQI,compute_multiple_SQIs,get_clean_signals,\ get_cutpoints,basic_ecg_pipeline,basic_ppg_pipeline,segment_PPG_SQI_extraction class TestSignalPreProcess(object...
42.780488
91
0.627423
432
3,508
4.777778
0.25463
0.034884
0.050388
0.05814
0.518895
0.416667
0.416667
0.400194
0.400194
0.400194
0
0.017336
0.276511
3,508
81
92
43.308642
0.795902
0.594926
0
0.258065
0
0
0
0
0
0
0
0
0
1
0.258065
false
0.258065
0.16129
0
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2b76245a869f4f780cbad801793079a5901355de
842
py
Python
socialregistration/contrib/github/views.py
guitarparty/django-socialregistration
d1d34890c9f72a191723d0192398791f71ee6956
[ "MIT" ]
63
2015-01-27T16:52:03.000Z
2021-08-29T04:23:51.000Z
socialregistration/contrib/github/views.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
3
2016-05-26T07:46:53.000Z
2022-02-16T15:25:16.000Z
socialregistration/contrib/github/views.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
23
2015-02-02T13:33:46.000Z
2020-10-25T20:02:53.000Z
from django.core.urlresolvers import reverse from socialregistration.contrib.github.client import Github from socialregistration.contrib.github.models import GithubProfile from socialregistration.views import OAuthRedirect, OAuthCallback, SetupCallback class GithubRedirect(OAuthRedirect): client = Github templ...
33.68
80
0.769596
85
842
7.529412
0.423529
0.15
0.140625
0.16875
0.271875
0.271875
0.271875
0.271875
0
0
0
0
0.149644
842
24
81
35.083333
0.893855
0
0
0.333333
0
0
0.18171
0.168646
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
1
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
1
1
0
0
3
990cab92801e18935284b75b8fbd06d741326f1e
1,158
py
Python
configmanager/utils.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
13
2017-05-13T13:33:27.000Z
2022-02-03T14:37:50.000Z
configmanager/utils.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
118
2017-05-06T22:58:01.000Z
2018-12-03T10:23:38.000Z
configmanager/utils.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
4
2018-05-30T03:08:05.000Z
2019-05-09T02:06:48.000Z
import os.path class _NotSet(object): instance = None def __init__(self): if self.__class__.instance is not None: raise RuntimeError('An instance of {} already initialised'.format(self.__class__.__name__)) self.__class__.instance = self def __eq__(self, other): return...
21.849057
103
0.632988
140
1,158
4.728571
0.428571
0.075529
0.040786
0.072508
0.090634
0
0
0
0
0
0
0
0.25475
1,158
52
104
22.269231
0.767092
0.042314
0
0.111111
0
0
0.136528
0
0
0
0
0
0
1
0.25
false
0
0.027778
0.194444
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
990d9f253cedff1875de0ce6a980bbaac85b42ac
56
py
Python
dataporten/__init__.py
frafra/django-dataporten
4236017611e08d08bd810be0beae1b994cb5fc67
[ "MIT" ]
4
2019-01-06T17:56:07.000Z
2021-03-21T19:16:35.000Z
dataporten/__init__.py
frafra/django-dataporten
4236017611e08d08bd810be0beae1b994cb5fc67
[ "MIT" ]
9
2019-10-21T17:23:53.000Z
2021-06-10T21:06:25.000Z
dataporten/__init__.py
frafra/django-dataporten
4236017611e08d08bd810be0beae1b994cb5fc67
[ "MIT" ]
2
2019-04-29T11:48:59.000Z
2020-01-06T09:54:55.000Z
default_app_config = 'dataporten.apps.DataportenConfig'
28
55
0.857143
6
56
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.867925
0
0
0
0
0
0.571429
0.571429
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
990df49d00fb0103826957f0024623e0c000275c
231
py
Python
src/nics_robot_client/scripts/robot_client_node_tjh.py
efc-robot/NICS_MultiRobot_Platform
ec139e8956e6d073e3c57250e6f915fe6cd36ae9
[ "MIT" ]
2
2021-06-28T07:36:35.000Z
2021-11-22T09:20:46.000Z
src/nics_robot_client/scripts/robot_client_node_tjh.py
efc-robot/NICS_MultiRobot_Platform
ec139e8956e6d073e3c57250e6f915fe6cd36ae9
[ "MIT" ]
null
null
null
src/nics_robot_client/scripts/robot_client_node_tjh.py
efc-robot/NICS_MultiRobot_Platform
ec139e8956e6d073e3c57250e6f915fe6cd36ae9
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from robot_client_pypkg.robot_client import RobotClient import rospy if __name__ == '__main__': rospy.init_node("nics_robot_client") car_id = rospy.get_param("~CAR_ID") client = RobotClient(car_id)
25.666667
55
0.748918
33
231
4.69697
0.606061
0.212903
0
0
0
0
0
0
0
0
0
0.005025
0.138528
231
9
56
25.666667
0.773869
0.073593
0
0
0
0
0.149533
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
990f411a0b9fba577dc1674e292485d6d4cb5f15
225
py
Python
Subsequence.py
pgupta119/LeetCode
3e7418402d736cba19362fe7525fdc9067cfcaef
[ "MIT" ]
null
null
null
Subsequence.py
pgupta119/LeetCode
3e7418402d736cba19362fe7525fdc9067cfcaef
[ "MIT" ]
null
null
null
Subsequence.py
pgupta119/LeetCode
3e7418402d736cba19362fe7525fdc9067cfcaef
[ "MIT" ]
null
null
null
count=0 a=[7,2,9,4,5,2,5,8,3,1,9] n=0 while(n<len(a)): i=n if a[i]<a[i+1] or a[i]<a[i+2]: if a[i+1]<a[i+2]: i=i+1 elif a[i]<a[i+2]: i=i+2 count +=1 print(max(count))
18.75
34
0.391111
58
225
1.517241
0.344828
0.204545
0.102273
0.136364
0.193182
0
0
0
0
0
0
0.141892
0.342222
225
12
35
18.75
0.452703
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
1
null
1
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
3
9935e36080ea55df0faf7cd2916a75983c9bcca4
458
py
Python
testsuite/gateways/apicast/__init__.py
mijaros/3scale-tests
6cb25b4da6e444bd309ff8bd7ee8d3b4a6f2f64f
[ "Apache-2.0" ]
null
null
null
testsuite/gateways/apicast/__init__.py
mijaros/3scale-tests
6cb25b4da6e444bd309ff8bd7ee8d3b4a6f2f64f
[ "Apache-2.0" ]
null
null
null
testsuite/gateways/apicast/__init__.py
mijaros/3scale-tests
6cb25b4da6e444bd309ff8bd7ee8d3b4a6f2f64f
[ "Apache-2.0" ]
null
null
null
"""Collection of apicast gateways with different deployments or options""" # flake8: noqa from .system import SystemApicast, SystemApicastRequirements from .containers import ContainerizedApicast from .operator import OperatorApicast, OperatorApicastRequirements from .selfmanaged import SelfManagedApicast, SelfManagedA...
50.888889
75
0.868996
40
458
9.95
0.75
0
0
0
0
0
0
0
0
0
0
0.002398
0.08952
458
8
76
57.25
0.952038
0.179039
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
99370ee2a7d27973323d10ff739ac2d1bc20d2ca
2,036
py
Python
robosuite/models/robots/manipulators/aubo_robot.py
JadeCong/jade_robosuite
0d4b4efd9ca95742ed375ce0b0d4e16d499cec06
[ "MIT" ]
null
null
null
robosuite/models/robots/manipulators/aubo_robot.py
JadeCong/jade_robosuite
0d4b4efd9ca95742ed375ce0b0d4e16d499cec06
[ "MIT" ]
null
null
null
robosuite/models/robots/manipulators/aubo_robot.py
JadeCong/jade_robosuite
0d4b4efd9ca95742ed375ce0b0d4e16d499cec06
[ "MIT" ]
null
null
null
""" Author: Jade Cong Date: 2021-05-12 20:06:44 LastEditTime: 2021-05-16 17:39:51 LastEditors: Jade Cong Description: Definition of Aubo Robot. FilePath: /Workflows/Doing/PycharmProjects/aisono-robosuite/robosuite/models/robots/manipulators/aubo_robot.py """ import numpy as np from robosuite.models.robots.manipulators...
27.890411
110
0.605599
277
2,036
4.33213
0.429603
0.02
0.02
0.02
0.173333
0.145833
0.119167
0.105
0.105
0.105
0
0.06892
0.258841
2,036
72
111
28.277778
0.726309
0.350688
0
0.222222
0
0
0.075604
0.033515
0
0
0
0
0
1
0.25
false
0
0.083333
0.222222
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
994fb15e098a33202d014d5dd3ab7de825678210
2,525
py
Python
src/packadroid/hookmanager/hook.py
PraMiD/Packadroid
9da0339c058894e560138210da04ae63588ec4e8
[ "Apache-2.0" ]
7
2018-02-06T22:10:28.000Z
2020-11-10T02:55:22.000Z
src/packadroid/hookmanager/hook.py
PraMiD/Packadroid
9da0339c058894e560138210da04ae63588ec4e8
[ "Apache-2.0" ]
null
null
null
src/packadroid/hookmanager/hook.py
PraMiD/Packadroid
9da0339c058894e560138210da04ae63588ec4e8
[ "Apache-2.0" ]
1
2020-11-10T02:55:24.000Z
2020-11-10T02:55:24.000Z
class Hook: def __init__(self, t, location, cls, method, payload_apk_path, payload_dec_path): """ Create a new hook for the currently handled application. This object contains all relevant information necessary to place the hook at the user defined location. :param t: Ty...
41.393443
157
0.579802
296
2,525
4.631757
0.266892
0.058352
0.081692
0.039387
0.13202
0.046681
0.046681
0
0
0
0
0
0.36396
2,525
61
157
41.393443
0.853674
0.527921
0
0
0
0
0.005624
0
0
0
0
0
0
1
0.363636
false
0
0
0.318182
0.727273
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
996517cd3778874ed802db9193ef4cfe4cb4b51c
1,585
py
Python
main.py
andrewcoool/spotify-data-analytics
7a8038bb3507aacd45df1aaef1b6ea8525e79f29
[ "MIT" ]
1
2022-02-24T02:29:27.000Z
2022-02-24T02:29:27.000Z
main.py
andrewcoool/spotify-data-analytics
7a8038bb3507aacd45df1aaef1b6ea8525e79f29
[ "MIT" ]
null
null
null
main.py
andrewcoool/spotify-data-analytics
7a8038bb3507aacd45df1aaef1b6ea8525e79f29
[ "MIT" ]
null
null
null
"""The main file for the Spotify Playlist Analytics project. Run this file to open the interactive GUI. MIT License Copyright (c) 2021 Andrew Qiu 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 ...
36.022727
78
0.788013
257
1,585
4.844358
0.568093
0.070683
0.020884
0
0
0
0
0
0
0
0
0.003021
0.164669
1,585
43
79
36.860465
0.937311
0.899685
0
0
0
0
0.128378
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
998aeffa675c643bd363279d0cf7226b413af4ad
615
py
Python
zhangzhen/20180407/text2.py
python20180319howmework/homework
c826d7aa4c52f8d22f739feb134d20f0b2c217cd
[ "Apache-2.0" ]
null
null
null
zhangzhen/20180407/text2.py
python20180319howmework/homework
c826d7aa4c52f8d22f739feb134d20f0b2c217cd
[ "Apache-2.0" ]
null
null
null
zhangzhen/20180407/text2.py
python20180319howmework/homework
c826d7aa4c52f8d22f739feb134d20f0b2c217cd
[ "Apache-2.0" ]
null
null
null
#2. 定义一个直线类(Line)和点类(Point),提供一个方法getLength方法,获取直线的长度 import math class Point(object): def __init__(self,x,y): self.__x = x self.__y = y def getX(self): return self.__x def getY(self): return self.__y class Line(object): def __init__(self,p1,p2): self.__x ...
10.081967
69
0.554472
90
615
3.433333
0.322222
0.097087
0.135922
0.110032
0
0
0
0
0
0
0
0.044289
0.302439
615
60
70
10.25
0.675991
0.084553
0
0
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.142857
0.52381
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
99970bce455324d9682f4cff98e786c5e21f7eac
37
py
Python
AdamToSGD/__init__.py
tr7200/Adam_to_SGD
b910671d74ce3d8e6771baab3a6515d9aa3e076f
[ "MIT" ]
5
2020-03-13T06:37:22.000Z
2021-10-12T17:13:14.000Z
AdamToSGD/__init__.py
tr7200/Adam_to_SGD
b910671d74ce3d8e6771baab3a6515d9aa3e076f
[ "MIT" ]
5
2020-09-26T00:40:22.000Z
2022-02-10T00:37:33.000Z
AdamToSGD/__init__.py
tr7200/Adam_to_SGD
b910671d74ce3d8e6771baab3a6515d9aa3e076f
[ "MIT" ]
3
2020-10-06T20:59:54.000Z
2021-10-12T17:15:09.000Z
# __init__.py __all__ = ["AdamToSGD"]
18.5
23
0.702703
4
37
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
2
23
18.5
0.545455
0.297297
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
999ec4ec3080dc09dec03f4dc8601ec108797140
83
py
Python
ommm/apps.py
Arnaud-Lustrat/ommm-api
c85773df3462ca01284d416a2185cfdabb1f44fb
[ "MIT" ]
null
null
null
ommm/apps.py
Arnaud-Lustrat/ommm-api
c85773df3462ca01284d416a2185cfdabb1f44fb
[ "MIT" ]
null
null
null
ommm/apps.py
Arnaud-Lustrat/ommm-api
c85773df3462ca01284d416a2185cfdabb1f44fb
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OmmmConfig(AppConfig): name = 'ommm'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
41da361d3028bf836df6683c10e8384c08e06b5d
356
py
Python
docs_src/graphql/tutorial001.py
Aryabhata-Rootspring/fastapi
f6237ad05a8468ac19c591181adad38d75372c46
[ "MIT" ]
31
2020-03-20T16:09:28.000Z
2021-06-28T06:05:32.000Z
docs_src/graphql/tutorial001.py
Aryabhata-Rootspring/fastapi
f6237ad05a8468ac19c591181adad38d75372c46
[ "MIT" ]
22
2020-06-27T19:24:59.000Z
2020-10-18T19:35:50.000Z
docs_src/graphql/tutorial001.py
Aryabhata-Rootspring/fastapi
f6237ad05a8468ac19c591181adad38d75372c46
[ "MIT" ]
5
2020-03-29T13:14:50.000Z
2021-12-16T05:59:22.000Z
import graphene from fastapi import FastAPI from starlette.graphql import GraphQLApp class Query(graphene.ObjectType): hello = graphene.String(name=graphene.String(default_value="stranger")) def resolve_hello(self, info, name): return "Hello " + name app = FastAPI() app.add_route("/", GraphQLApp(sc...
23.733333
75
0.744382
44
356
5.954545
0.568182
0.10687
0
0
0
0
0
0
0
0
0
0
0.140449
356
14
76
25.428571
0.856209
0
0
0
0
0
0.042135
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
41f0152b684c9a34fe2fd5b76bc44236022e4673
4,182
py
Python
tests/__init__.py
Deckhandfirststar01/Azure-MachineLearning-ClientLibrary-Python
d1211b289747671898eb063013e0dc53d3c80acd
[ "MIT" ]
90
2015-02-13T20:02:16.000Z
2019-05-02T23:19:34.000Z
tests/__init__.py
Deckhandfirststar01/Azure-MachineLearning-ClientLibrary-Python
d1211b289747671898eb063013e0dc53d3c80acd
[ "MIT" ]
33
2015-07-22T00:55:35.000Z
2019-04-01T18:49:36.000Z
tests/__init__.py
Deckhandfirststar01/Azure-MachineLearning-ClientLibrary-Python
d1211b289747671898eb063013e0dc53d3c80acd
[ "MIT" ]
42
2015-03-25T01:18:14.000Z
2019-05-30T13:04:54.000Z
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation # All rights reserved. # # MIT License: # 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...
32.671875
129
0.643472
467
4,182
5.659529
0.38758
0.108967
0.079455
0.124858
0.172153
0.084752
0.084752
0.084752
0.084752
0.084752
0
0.000943
0.239598
4,182
127
130
32.929134
0.830189
0.296031
0
0.307692
0
0
0.105479
0.008219
0
0
0
0
0
1
0.282051
false
0
0.064103
0.205128
0.628205
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
51102f22fa8c63c7c628f9ea0e406a9b703e443c
7,465
py
Python
app/models.py
cyberinnovationhub/lunch-roulette
0b0b933188c095b6e3778ee7de9d4e21cd7caae5
[ "BSD-3-Clause" ]
4
2020-12-03T19:24:20.000Z
2022-03-16T13:45:11.000Z
app/models.py
cyberinnovationhub/lunch-roulette
0b0b933188c095b6e3778ee7de9d4e21cd7caae5
[ "BSD-3-Clause" ]
3
2020-08-24T08:05:11.000Z
2021-11-07T06:14:36.000Z
app/models.py
cyberinnovationhub/lunch-roulette
0b0b933188c095b6e3778ee7de9d4e21cd7caae5
[ "BSD-3-Clause" ]
3
2020-08-27T13:58:53.000Z
2022-03-09T14:09:06.000Z
from app import db, login from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash from hashlib import md5 from datetime import datetime, timedelta from time import time import jwt from app import app import json from time import time import redis import rq followers ...
38.086735
87
0.639652
986
7,465
4.699797
0.194726
0.065602
0.077687
0.048338
0.371385
0.316789
0.257445
0.206085
0.206085
0.182132
0
0.0109
0.22572
7,465
195
88
38.282051
0.79083
0.004019
0
0.209877
1
0
0.072111
0
0
0
0
0
0
1
0.160494
false
0.061728
0.074074
0.080247
0.660494
0
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
1
0
0
1
0
0
3
5119129dfddb9c1e0fd665af8827f2f7af770b5a
202
py
Python
examples/test_python_folder_classify_dict.py
TensorPy/TensorPy
d8715a843081c48cc090b7168e144f7db36faff9
[ "MIT" ]
45
2016-10-20T01:38:31.000Z
2021-06-05T15:34:03.000Z
examples/test_python_folder_classify_dict.py
mdmintz/TensorPy
d8715a843081c48cc090b7168e144f7db36faff9
[ "MIT" ]
9
2017-03-25T12:10:11.000Z
2020-09-25T21:19:47.000Z
examples/test_python_folder_classify_dict.py
mdmintz/TensorPy
d8715a843081c48cc090b7168e144f7db36faff9
[ "MIT" ]
33
2016-10-22T11:41:34.000Z
2021-03-18T15:51:10.000Z
from tensorpy import image_base dictionary = image_base.classify_folder_images('./images', return_dict=True) print("*** Displaying Image Classification Results as a dictionary: ***") print(dictionary)
33.666667
76
0.792079
25
202
6.2
0.72
0.116129
0
0
0
0
0
0
0
0
0
0
0.094059
202
5
77
40.4
0.846995
0
0
0
0
0
0.356436
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
512691578c8010c8b39aabce5982ed8b6f86acdf
186
py
Python
coyote_framework/config/constants_config.py
vaibhavrastogi1988/python_testing_framework
583a2286479ed0ccda309c866a403dc92fa1bb3b
[ "MIT" ]
null
null
null
coyote_framework/config/constants_config.py
vaibhavrastogi1988/python_testing_framework
583a2286479ed0ccda309c866a403dc92fa1bb3b
[ "MIT" ]
null
null
null
coyote_framework/config/constants_config.py
vaibhavrastogi1988/python_testing_framework
583a2286479ed0ccda309c866a403dc92fa1bb3b
[ "MIT" ]
null
null
null
from coyote_framework.config.abstract_config import ConfigBase class ConstantsConfig(ConfigBase): def __init__(self): super(ConstantsConfig, self).__init__('constants')
18.6
62
0.768817
19
186
7
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.145161
186
9
63
20.666667
0.836478
0
0
0
0
0
0.048913
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
51398b6cc00834d47b024370bc64149173ed8af7
88
py
Python
test_code.py
suanthuy/Dung_Lai_AI
35baf6d0c739ca3c850b3ffd5e17a8f4b87162bb
[ "MIT" ]
null
null
null
test_code.py
suanthuy/Dung_Lai_AI
35baf6d0c739ca3c850b3ffd5e17a8f4b87162bb
[ "MIT" ]
null
null
null
test_code.py
suanthuy/Dung_Lai_AI
35baf6d0c739ca3c850b3ffd5e17a8f4b87162bb
[ "MIT" ]
null
null
null
import numpy as np a = [[1,4],[2,5],[3,6]] a = np.array(a) print(a.shape) print(a[0])
11
23
0.556818
21
88
2.333333
0.714286
0.244898
0
0
0
0
0
0
0
0
0
0.094595
0.159091
88
8
24
11
0.567568
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5145293b7050f4f8d884cda119da1b64d2abad40
319
py
Python
hexrd/cli/__init__.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
hexrd/cli/__init__.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
hexrd/cli/__init__.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
# hexrd cli heavily draws from Continuum Analytics conda project # # (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io # All Rights Reserved # # conda is distributed under the terms of the BSD 3-clause license. # Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause. from .main import main
26.583333
69
0.755486
48
319
5.020833
0.75
0.149378
0.082988
0
0
0
0
0
0
0
0
0.0369
0.15047
319
11
70
29
0.852399
0.871473
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
5158ac66ee8d7d36218a32bba8e017577e2ec76d
166
py
Python
app/counter/models.py
nbeuchat/django-celery-aws-example
c60234af41b64714787031a7d8a85e1dcdbb94b7
[ "MIT" ]
null
null
null
app/counter/models.py
nbeuchat/django-celery-aws-example
c60234af41b64714787031a7d8a85e1dcdbb94b7
[ "MIT" ]
null
null
null
app/counter/models.py
nbeuchat/django-celery-aws-example
c60234af41b64714787031a7d8a85e1dcdbb94b7
[ "MIT" ]
null
null
null
from django.db import models class Visit(models.Model): useragent = models.TextField(blank=True, null=True) created = models.DateTimeField(auto_now_add=True)
33.2
55
0.771084
23
166
5.478261
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.126506
166
5
56
33.2
0.868966
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5163238728d2bf99bf029cbc5620c8b0570359fe
2,654
py
Python
bytecode.py
darbaga/simple_compiler
34d84263c1811276aae8b1ae41cf983e4ad171ee
[ "BSD-3-Clause" ]
null
null
null
bytecode.py
darbaga/simple_compiler
34d84263c1811276aae8b1ae41cf983e4ad171ee
[ "BSD-3-Clause" ]
null
null
null
bytecode.py
darbaga/simple_compiler
34d84263c1811276aae8b1ae41cf983e4ad171ee
[ "BSD-3-Clause" ]
null
null
null
class BytecodeBase: autoincrement = True # For jump num_args = 0 # for error checking def __init__(self): # Eventually might want to add subclassed bytecodes here # Though __subclasses__ works quite well pass def execute(self, machine): pass class Push(BytecodeBas...
23.90991
73
0.619442
325
2,654
4.904615
0.212308
0.087829
0.122961
0.184442
0.622334
0.545169
0.461731
0.38394
0.303639
0.243413
0
0.004171
0.277317
2,654
110
74
24.127273
0.826903
0.087038
0
0.518519
0
0
0
0
0
0
0
0
0
1
0.259259
false
0.024691
0
0.012346
0.54321
0.012346
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
1
0
0
0
0
1
0
0
3
516361005a40931a7c6294300bb1353b802d4d5a
172
py
Python
nucleus/modelci/utils.py
scaleapi/nucleus-python-client
8293cd5e7b368faf12bc2952defef36f712a7ba2
[ "MIT" ]
13
2020-12-02T01:07:12.000Z
2022-03-15T17:28:37.000Z
nucleus/modelci/utils.py
scaleapi/nucleus-python-client
8293cd5e7b368faf12bc2952defef36f712a7ba2
[ "MIT" ]
78
2020-10-29T09:33:04.000Z
2022-03-28T20:35:45.000Z
nucleus/modelci/utils.py
scaleapi/nucleus-python-client
8293cd5e7b368faf12bc2952defef36f712a7ba2
[ "MIT" ]
8
2020-11-13T06:23:38.000Z
2022-03-03T20:48:06.000Z
from typing import Optional def try_convert_float(float_str: str) -> Optional[float]: try: return float(float_str) except ValueError: return None
19.111111
57
0.686047
22
172
5.181818
0.590909
0.175439
0.22807
0
0
0
0
0
0
0
0
0
0.244186
172
8
58
21.5
0.876923
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5a8e8f0fa38389079f724e9f1aab6767195e9652
228
py
Python
experience/migrations/0014_auto_20181213_1621.py
isciolab/comercial_demo
1401303d2510e279d9938abbdb501d47518ec7ee
[ "MIT" ]
null
null
null
experience/migrations/0014_auto_20181213_1621.py
isciolab/comercial_demo
1401303d2510e279d9938abbdb501d47518ec7ee
[ "MIT" ]
null
null
null
experience/migrations/0014_auto_20181213_1621.py
isciolab/comercial_demo
1401303d2510e279d9938abbdb501d47518ec7ee
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-12-13 21:21 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('experience', '0013_auto_20181213_1610'), ] operations = [ ]
16.285714
50
0.657895
28
228
5.25
0.821429
0
0
0
0
0
0
0
0
0
0
0.177143
0.232456
228
13
51
17.538462
0.662857
0.197368
0
0
1
0
0.18232
0.127072
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5a9348cca6b9c71afac87ef72c92a0c83f0d119f
1,201
py
Python
data/data_config.py
ITXIAOKE/XKInterface-python
6230669769424dbea315f965bf3cd70d46e84bad
[ "Apache-2.0" ]
1
2021-03-11T06:06:09.000Z
2021-03-11T06:06:09.000Z
data/data_config.py
ITXIAOKE/XKInterface-python
6230669769424dbea315f965bf3cd70d46e84bad
[ "Apache-2.0" ]
null
null
null
data/data_config.py
ITXIAOKE/XKInterface-python
6230669769424dbea315f965bf3cd70d46e84bad
[ "Apache-2.0" ]
null
null
null
__author__ = "xiaoke" class GlobalVar: '''拿到execl中列的值,最后在程序的主入口中,遍历行的时候,根据行和列就能拿到cell单元格的值''' # id值 ID = '0' # 模块 NAME = '1' # 请求的url URL = '2' # 是否运行 RUN = '3' # 请求的方式 REQUEST_METHOD = '4' # 是否携带header HEADER = '5' # case依赖 CASR_DEPEND = '...
15.397436
59
0.605329
137
1,201
5.036496
0.379562
0.104348
0.091304
0
0
0
0
0
0
0
0
0.016746
0.303913
1,201
77
60
15.597403
0.808612
0.099084
0
0
0
0
0.020243
0
0
0
0
0
0
1
0.315789
false
0
0
0.315789
0.973684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5a99e53854205d4601d34571ea5078f018a61682
1,642
py
Python
functions/gcs-to-bq/main.py
omar16100/serverless-data-warehousing-with-cloud-functions-and-bigquery-on-gcp
6b25e5c407133e7cd17d5e0681ccb09f06823b1f
[ "Apache-2.0" ]
null
null
null
functions/gcs-to-bq/main.py
omar16100/serverless-data-warehousing-with-cloud-functions-and-bigquery-on-gcp
6b25e5c407133e7cd17d5e0681ccb09f06823b1f
[ "Apache-2.0" ]
null
null
null
functions/gcs-to-bq/main.py
omar16100/serverless-data-warehousing-with-cloud-functions-and-bigquery-on-gcp
6b25e5c407133e7cd17d5e0681ccb09f06823b1f
[ "Apache-2.0" ]
null
null
null
import google.cloud from google.cloud import bigquery import pandas as pd #import datetime #import time def gcs_to_bq(): # Construct a BigQuery client object. client = bigquery.Client() # TODO(developer): Set table_id to the ID of the table to create. table_id = "bda-kict-2020.dataset_asia_...
32.196078
81
0.676614
199
1,642
5.457286
0.457286
0.139963
0.184162
0.199816
0.322284
0.322284
0
0
0
0
0
0.004521
0.191839
1,642
50
82
32.84
0.813866
0.280146
0
0
0
0
0.137725
0.071856
0
0
0
0.02
0
1
0.047619
false
0
0.142857
0
0.190476
0.047619
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
5ab5c0535e0586f08fe9fbc79f08b64b6c760cbc
1,517
py
Python
capstone/capdb/migrations/0040_auto_20180525_1905.py
rachelaus/capstone
2affa02706f9b1a99d032c66f258a7421c40a35e
[ "MIT" ]
134
2017-07-12T17:03:06.000Z
2022-03-27T06:38:29.000Z
capstone/capdb/migrations/0040_auto_20180525_1905.py
rachelaus/capstone
2affa02706f9b1a99d032c66f258a7421c40a35e
[ "MIT" ]
1,362
2017-06-22T17:42:49.000Z
2022-03-31T15:28:00.000Z
capstone/capdb/migrations/0040_auto_20180525_1905.py
rachelaus/capstone
2affa02706f9b1a99d032c66f258a7421c40a35e
[ "MIT" ]
38
2017-06-22T14:46:23.000Z
2022-03-16T05:32:54.000Z
# Generated by Django 2.0.2 on 2018-05-25 19:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('capdb', '0039_auto_20180521_1511'), ] operations = [ migrations.AddField( model_name='casexml', name='size', ...
30.959184
158
0.577456
146
1,517
5.883562
0.410959
0.146682
0.187427
0.220023
0.492433
0.492433
0.492433
0.492433
0.492433
0.436554
0
0.029665
0.31114
1,517
48
159
31.604167
0.792345
0.029664
0
0.619048
1
0
0.17551
0.032653
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ac15b73cf13758485508d9f95b65db7dafd2c8e
223
py
Python
judge/similarity.py
thejeswi/BobGoesToJail
ac8a6e4242446634837d6166158fc5401c2818ac
[ "MIT" ]
3
2018-08-20T14:14:01.000Z
2020-06-15T17:39:24.000Z
judge/similarity.py
thejeswi/BobGoesToJail
ac8a6e4242446634837d6166158fc5401c2818ac
[ "MIT" ]
null
null
null
judge/similarity.py
thejeswi/BobGoesToJail
ac8a6e4242446634837d6166158fc5401c2818ac
[ "MIT" ]
1
2020-06-15T17:39:26.000Z
2020-06-15T17:39:26.000Z
from difflib import SequenceMatcher def similar(a, b): return SequenceMatcher(None, a, b).ratio() if __name__ == "__main__": sent1 = "possession of stolen property" sent2 = "mongo" print similar(sent1,sent2)
22.3
46
0.704036
28
223
5.321429
0.785714
0.026846
0
0
0
0
0
0
0
0
0
0.021978
0.183857
223
9
47
24.777778
0.796703
0
0
0
0
0
0.188341
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5ae2b0d166121b275ac8c234c47517bf78f4d376
116
py
Python
src/python_patterns/factory/square.py
NostraDavid/python-patterns
35b4807b81c21ba9b53d61284edb76152d57e4bc
[ "MIT" ]
null
null
null
src/python_patterns/factory/square.py
NostraDavid/python-patterns
35b4807b81c21ba9b53d61284edb76152d57e4bc
[ "MIT" ]
null
null
null
src/python_patterns/factory/square.py
NostraDavid/python-patterns
35b4807b81c21ba9b53d61284edb76152d57e4bc
[ "MIT" ]
null
null
null
from shape import IShape class Square(IShape): def draw(self): print("Inside Square::draw() method.")
16.571429
46
0.655172
15
116
5.066667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.215517
116
6
47
19.333333
0.835165
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5ae8f47c0aa6cfd2a39e6065874b9b33b2068463
594
py
Python
fdk_client/application/models/LandingPageFeature.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/LandingPageFeature.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/LandingPageFeature.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Application Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema from .LaunchPage import LaunchPage class LandingPageFeature(BaseSchema): # Configuration swagger.json launch_page = fields.Ne...
17.470588
59
0.732323
65
594
6.553846
0.523077
0.152582
0.147887
0.183099
0
0
0
0
0
0
0
0
0.188552
594
33
60
18
0.883817
0.079125
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
1
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
1
0
1
0
0
3
5af8b06c12a3ab605dce767ade4440ad29839543
123
py
Python
filecopy.py
w4jbm/Python-Programs
3c7c63d3c85e58c80252809f931daab0e67b43b8
[ "Unlicense", "MIT" ]
1
2021-07-03T00:21:04.000Z
2021-07-03T00:21:04.000Z
filecopy.py
w4jbm/Python-Programs
3c7c63d3c85e58c80252809f931daab0e67b43b8
[ "Unlicense", "MIT" ]
null
null
null
filecopy.py
w4jbm/Python-Programs
3c7c63d3c85e58c80252809f931daab0e67b43b8
[ "Unlicense", "MIT" ]
null
null
null
with open("infile.txt") as f1: with open("outfile.txt", "w") as f2: for line in f1: f2.write(line)
24.6
40
0.536585
20
123
3.3
0.65
0.242424
0
0
0
0
0
0
0
0
0
0.047059
0.308943
123
4
41
30.75
0.729412
0
0
0
0
0
0.178862
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5afd3bc4ccadf9aa5449a957ad11fc83db13f5a9
419
py
Python
code/String/longest_item.py
jumploop/30-seconds-of-python
bfcc5a35d9bd0bba67e81de5715dba21e1ba43be
[ "CC0-1.0" ]
null
null
null
code/String/longest_item.py
jumploop/30-seconds-of-python
bfcc5a35d9bd0bba67e81de5715dba21e1ba43be
[ "CC0-1.0" ]
null
null
null
code/String/longest_item.py
jumploop/30-seconds-of-python
bfcc5a35d9bd0bba67e81de5715dba21e1ba43be
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 功能实现:接受任意数量的可迭代对象或带有length属性的对象,并返回最长的那个。 解读: 使用max()和len()作为键来返回最大长度的项。 如果多个对象具有相同的长度,则返回第一个对象。 """ def longest_item(*args): return max(args, key=len) # Examples print(longest_item('this', 'is', 'a', 'testcase')) print(longest_item([1, 2, 3], [1, 2], [1, 2, 3...
16.76
55
0.627685
61
419
4.245902
0.606557
0.03861
0.046332
0.131274
0.185328
0.146718
0
0
0
0
0
0.052925
0.143198
419
24
56
17.458333
0.668524
0.451074
0
0
0
0
0.097222
0
0
0
0
0
0
1
0.2
true
0
0
0.2
0.4
0.6
0
0
0
null
0
0
0
0
0
0
0
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
1
0
1
0
3
850624835c7993cfecc1ef547276da1f4f775e2f
339
py
Python
blackjack_card.py
underwoodjc/blackjack
672854d5c1c01ff503441d19591b7e12357c9d11
[ "MIT" ]
null
null
null
blackjack_card.py
underwoodjc/blackjack
672854d5c1c01ff503441d19591b7e12357c9d11
[ "MIT" ]
null
null
null
blackjack_card.py
underwoodjc/blackjack
672854d5c1c01ff503441d19591b7e12357c9d11
[ "MIT" ]
null
null
null
''' Build a card from list input ''' class Card(): values = {'2':2, '3':3, '4':4, '5':5, '6':6, '7':7, '8':8,'9':9, '10':10, 'J':10, 'Q':10, 'K':10, 'A':11} def __init__(self,suit,rank): self.suit = suit self.rank = rank self.value = Card.values[rank] def __str__(self): return self.rank + '...
21.1875
107
0.525074
60
339
2.833333
0.5
0.141176
0
0
0
0
0
0
0
0
0
0.106061
0.221239
339
15
108
22.6
0.537879
0.082596
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
851a85618159289a29e0ba8557e1a02a97824640
550
py
Python
universal_parser/serializers/pickle_serializer/pickle_serializer.py
onyx-flame/universal-parser
fb7bbbdf4121662c292b7d8ac0cdc0911b57dd2c
[ "MIT" ]
null
null
null
universal_parser/serializers/pickle_serializer/pickle_serializer.py
onyx-flame/universal-parser
fb7bbbdf4121662c292b7d8ac0cdc0911b57dd2c
[ "MIT" ]
null
null
null
universal_parser/serializers/pickle_serializer/pickle_serializer.py
onyx-flame/universal-parser
fb7bbbdf4121662c292b7d8ac0cdc0911b57dd2c
[ "MIT" ]
1
2021-05-15T08:53:43.000Z
2021-05-15T08:53:43.000Z
import pickle from universal_parser.object_converter import refactor_object, restore_object class PickleSerializer: def dump(self, obj, fp): # pragma: no cover with open(fp, 'wb') as outfile: pickle.dump(refactor_object(obj), outfile) def dumps(self, obj): return pickle.dumps(refa...
28.947368
77
0.669091
73
550
4.931507
0.410959
0.116667
0.055556
0.083333
0.138889
0.138889
0.138889
0
0
0
0
0
0.227273
550
18
78
30.555556
0.847059
0.06
0
0
0
0
0.007782
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.153846
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
519cf6f08b9b678e56587d4677552dc4cd9bf19f
323
py
Python
constantbot.py
coolioasjulio/Rock-Paper-Scissors-Royale
a75dfdb6bbc62c1a6bc493252f79b97f2aecc325
[ "MIT" ]
null
null
null
constantbot.py
coolioasjulio/Rock-Paper-Scissors-Royale
a75dfdb6bbc62c1a6bc493252f79b97f2aecc325
[ "MIT" ]
null
null
null
constantbot.py
coolioasjulio/Rock-Paper-Scissors-Royale
a75dfdb6bbc62c1a6bc493252f79b97f2aecc325
[ "MIT" ]
null
null
null
# Constant RPS bot name = 'constantbot' import random class RPSBot(object): name = name def __init__(self): self.move = random.choice(['R','P','S']) def get_hint(self, opp_moves, my_moves): return self.move def get_move(self, opp_moves, my_moves, opp_hint, my_hint): return self.m...
29.363636
63
0.653251
48
323
4.145833
0.5
0.120603
0.120603
0.140704
0.190955
0
0
0
0
0
0
0
0.22291
323
11
64
29.363636
0.792829
0.049536
0
0.2
0
0
0.045752
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
51a6d3521d3b4ac56c4acc742bf27b4b1f6620ae
4,306
py
Python
tea_admin/tea_admin/report/staff_salary_report/staff_salary_report.py
nivedita05/Tea-Admin
4267cfa9d0c97e586bd9b5401e310bcd8ec93268
[ "MIT" ]
null
null
null
tea_admin/tea_admin/report/staff_salary_report/staff_salary_report.py
nivedita05/Tea-Admin
4267cfa9d0c97e586bd9b5401e310bcd8ec93268
[ "MIT" ]
null
null
null
tea_admin/tea_admin/report/staff_salary_report/staff_salary_report.py
nivedita05/Tea-Admin
4267cfa9d0c97e586bd9b5401e310bcd8ec93268
[ "MIT" ]
null
null
null
# Copyright (c) 2013, Frappe and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.model.document import Document from frappe import utils def execute(filters=None): data = [] columns = get_columns() add=get_add_f...
19.137778
131
0.546911
478
4,306
4.759414
0.192469
0.142857
0.197802
0.210989
0.465934
0.445714
0.445714
0.15033
0.05011
0.05011
0
0.01715
0.255225
4,306
224
132
19.223214
0.692236
0.021133
0
0.575581
0
0.005814
0.326686
0.040836
0
0
0
0
0
0
null
null
0
0.02907
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
51a85e4f588de7a3431c1782bfe58d2c3deec9ea
1,696
py
Python
hanoi/eis-core/common/libs/EISMessageBus/python/eis/exc.py
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
3
2021-05-07T10:34:19.000Z
2021-08-09T06:21:26.000Z
hanoi/eis-core/common/libs/EISMessageBus/python/eis/exc.py
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
1
2021-05-13T17:52:04.000Z
2021-05-13T17:52:04.000Z
hanoi/eis-core/common/libs/EISMessageBus/python/eis/exc.py
emmanueltech1/edgex-go
cbcb11ee374850eb63010f80aaff7822c21725be
[ "Apache-2.0" ]
2
2022-02-07T09:00:44.000Z
2022-03-25T12:56:26.000Z
# Copyright (c) 2019 Intel Corporation. # # 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, ...
35.333333
79
0.752358
237
1,696
5.383966
0.531646
0.068966
0.020376
0.037618
0
0
0
0
0
0
0
0.002907
0.188679
1,696
47
80
36.085106
0.924419
0.826651
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
51a877437fa7c5364138504a2b51187a5f439448
217
py
Python
vsapy/__init__.py
vsapy/vsapy
0145633208d9f80a95f5649c8694677fec8fead0
[ "MIT" ]
2
2020-10-22T14:11:47.000Z
2021-12-25T18:41:06.000Z
vsapy/__init__.py
vsapy/vsapy
0145633208d9f80a95f5649c8694677fec8fead0
[ "MIT" ]
null
null
null
vsapy/__init__.py
vsapy/vsapy
0145633208d9f80a95f5649c8694677fec8fead0
[ "MIT" ]
2
2020-10-22T14:11:49.000Z
2022-01-31T13:32:51.000Z
__version__ = "0.4.0" from .logger_utils import * from .bsc import * from .tern import * from .ternzero import * from .hrr import * from .laiho import * from .laihox import * from .bag import * from .vsapy import *
16.692308
27
0.705069
32
217
4.625
0.46875
0.540541
0
0
0
0
0
0
0
0
0
0.017045
0.18894
217
12
28
18.083333
0.823864
0
0
0
0
0
0.023148
0
0
0
0
0
0
1
0
false
0
0.9
0
0.9
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
51f247f3d5b2f9550b3a803dabb5aeccb58c89a2
166,120
py
Python
psx/_dump_/10/_dump_ida_/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/10/_dump_ida_/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/10/_dump_ida_/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x80079AEC, "GetTpY__FUs", SN_NOWARN) set_name(0x80079B08, "GetTpX__FUs", SN_NOWARN) set_name(0x80079B14, "Remove96__Fv", SN_NOWARN) set_name(0x80079B4C, "AppMain", SN_NOWARN) set_name(0x80079BF4, "MAIN_RestartGameTask__Fv", SN_NOWARN) set_name(0x80079C20, "GameTask__FP4TASK", SN_NOWARN) set_name(0x80079CB8, "...
53.22653
94
0.830966
21,496
166,120
5.920171
0.300754
0.171617
0.269598
0.367633
0.253371
0.011559
0.000456
0.000456
0
0
0
0.169846
0.056345
166,120
3,120
95
53.24359
0.641969
0
0
0
0
0
0.323862
0.158897
0
0
0.187816
0
0.000641
1
0
true
0.000641
0.000321
0
0.000321
0.001282
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a4079b30827e9cff3c9775a894a951b5fdd022e9
654
py
Python
metaopt/concurrent/worker/util/import_function.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
8
2015-02-02T21:42:23.000Z
2019-06-30T18:12:43.000Z
metaopt/concurrent/worker/util/import_function.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
4
2015-09-24T14:12:38.000Z
2021-12-08T22:42:52.000Z
metaopt/concurrent/worker/util/import_function.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
6
2015-02-27T12:35:33.000Z
2020-10-15T21:04:02.000Z
# -*- coding: utf-8 -*- """ Utility that imports a function. """ # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement def import_function(function): """Imports function given by qualified package name""" function = __import__(function, globals(), lo...
34.421053
117
0.695719
77
654
5.688312
0.558442
0.09589
0.09589
0.100457
0
0
0
0
0
0
0
0.005566
0.175841
654
18
118
36.333333
0.80705
0.570336
0
0
0
0
0.030418
0
0
0
0
0.055556
0
1
0.2
false
0
0.6
0
1
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
cf914d7342082f21de8ffec92b964620929115d6
51
bzl
Python
lib/variables.bzl
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
lib/variables.bzl
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
lib/variables.bzl
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
"Library Module variables" COPTS = ["-std=c++14"]
12.75
26
0.647059
7
51
4.714286
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.137255
51
3
27
17
0.704545
0.470588
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cfa70ac80577cf1ec54e63f48399a43f532f0eb4
2,047
py
Python
checkout_sdk/disputes/disputes_client.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
checkout_sdk/disputes/disputes_client.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
checkout_sdk/disputes/disputes_client.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
from __future__ import absolute_import from checkout_sdk.api_client import ApiClient from checkout_sdk.authorization_type import AuthorizationType from checkout_sdk.checkout_configuration import CheckoutConfiguration from checkout_sdk.disputes.disputes import DisputesQueryFilter, DisputeEvidenceRequest from checkout_s...
48.738095
113
0.710796
226
2,047
5.933628
0.185841
0.067114
0.06786
0.085011
0.414616
0.374348
0.354959
0.354959
0.354959
0.343028
0
0
0.213972
2,047
41
114
49.926829
0.833437
0
0
0.096774
0
0
0.010747
0
0
0
0
0
0
1
0.225806
false
0
0.193548
0.193548
0.741935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cfbd22777049350e5847c02be96e274ee02316d8
656
py
Python
src/data/processed/utils/parse.py
cschupbach/tmdb
8ccf72f8d2e83b5605eff81a06a12961819b40c7
[ "MIT" ]
null
null
null
src/data/processed/utils/parse.py
cschupbach/tmdb
8ccf72f8d2e83b5605eff81a06a12961819b40c7
[ "MIT" ]
null
null
null
src/data/processed/utils/parse.py
cschupbach/tmdb
8ccf72f8d2e83b5605eff81a06a12961819b40c7
[ "MIT" ]
null
null
null
import ast import numpy as np def string_dict(string_dict, key): d = ast.literal_eval(string_dict) return [d[i][key] for i in range(len(d))] def dict_column(col, key='id'): return [string_dict(s, key) for s in col] def content_rating(string_dict): d = ast.literal_eval(string_dict) countries = ...
24.296296
72
0.641768
110
656
3.709091
0.354545
0.147059
0.058824
0.073529
0.245098
0.245098
0.122549
0.122549
0
0
0
0.009634
0.208841
656
26
73
25.230769
0.776493
0
0
0.111111
0
0
0.027439
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cfc52293e0d40f05cec49a29a502090c869b20a6
735
py
Python
inselect/gui/plugins/plugin.py
NaturalHistoryMuseum/inselect
196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6
[ "BSD-3-Clause" ]
128
2015-03-06T00:17:51.000Z
2021-09-15T07:59:01.000Z
inselect/gui/plugins/plugin.py
NaturalHistoryMuseum/inselect
196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6
[ "BSD-3-Clause" ]
346
2015-01-22T10:07:52.000Z
2020-02-25T21:24:56.000Z
inselect/gui/plugins/plugin.py
NaturalHistoryMuseum/inselect
196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6
[ "BSD-3-Clause" ]
15
2015-02-26T21:31:18.000Z
2020-12-29T17:18:47.000Z
class Plugin(object): """Base class for plugins. The __init__ method of derived classes should accept two arguments: document - an instance of InselectDocument parent - a QMainWindow Derived classes should contain NAME - a string DESCRIPTION - a string Derived classes ...
26.25
76
0.628571
90
735
4.977778
0.655556
0.09375
0.089286
0.084821
0.09375
0
0
0
0
0
0
0
0.308844
735
27
77
27.222222
0.88189
0.661224
0
0
0
0
0.044693
0
0
0
0
0.037037
0
1
0.4
false
0
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
cfcc9409d194399fbe92367c6b3268b8362ccc87
1,100
py
Python
stibium_server_src/stibium_server/utils.py
evilnose/vscode-antimony
6d647e68a4fa064b199e839a12e0767aca277a75
[ "CNRI-Python" ]
1
2022-01-08T09:57:44.000Z
2022-01-08T09:57:44.000Z
stibium_server_src/stibium_server/utils.py
evilnose/vscode-antimony
6d647e68a4fa064b199e839a12e0767aca277a75
[ "CNRI-Python" ]
null
null
null
stibium_server_src/stibium_server/utils.py
evilnose/vscode-antimony
6d647e68a4fa064b199e839a12e0767aca277a75
[ "CNRI-Python" ]
3
2021-08-01T20:37:25.000Z
2021-10-18T10:34:39.000Z
from pygls.workspace import Document from stibium.api import AntCompletion, AntCompletionKind, AntFile, Completer from stibium.analysis import AntTreeAnalyzer, get_qname_at_position from stibium.parse import AntimonyParser from stibium.types import SrcLocation, SrcPosition, SrcRange from pygls.types import Completion...
33.333333
155
0.792727
127
1,100
6.787402
0.346457
0.090487
0.073086
0.080046
0.163573
0.163573
0.163573
0
0
0
0
0.004158
0.125455
1,100
32
156
34.375
0.891892
0.127273
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.375
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
cfe0264c8beb29128c8aec06f8b3dce98e9c8a28
9,398
py
Python
src/spark/internal/repr/mode.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
1
2015-05-21T20:00:12.000Z
2015-05-21T20:00:12.000Z
src/spark/internal/repr/mode.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
null
null
null
src/spark/internal/repr/mode.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
null
null
null
#*****************************************************************************# #* Copyright (c) 2004-2008, SRI International. *# #* All rights reserved. *# #* ...
41.768889
80
0.588636
1,035
9,398
5.112077
0.267633
0.039312
0.035343
0.034398
0.199206
0.162162
0.135702
0.091287
0.091287
0.091287
0
0.00522
0.30698
9,398
224
81
41.955357
0.807155
0.50564
0
0.211009
0
0
0.03935
0
0
0
0
0
0
1
0.211009
false
0.009174
0.045872
0.12844
0.59633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cffa5d5850b33763ba7d698df870b2e53b53cdf8
92
py
Python
base/ShortPath.py
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
null
null
null
base/ShortPath.py
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
null
null
null
base/ShortPath.py
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
null
null
null
class ShortPath: def __init__(self): self.paths = [] self.distance = 0
15.333333
25
0.554348
10
92
4.7
0.8
0
0
0
0
0
0
0
0
0
0
0.016393
0.336957
92
5
26
18.4
0.754098
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
320934de9b53f34f0891bf9d41efc731309e3fa8
430
py
Python
vulture/processes/cmip5_xarray_subsetting.py
plogerais/vulture
018ff86ce7d6b68ee5aa6e0c45d3237ddd633916
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
vulture/processes/cmip5_xarray_subsetting.py
plogerais/vulture
018ff86ce7d6b68ee5aa6e0c45d3237ddd633916
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
vulture/processes/cmip5_xarray_subsetting.py
plogerais/vulture
018ff86ce7d6b68ee5aa6e0c45d3237ddd633916
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import os from pywps import Process from pywps import LiteralInput from pywps import ComplexOutput from pywps import FORMATS, Format from pywps import configuration from pywps.app.Common import Metadata from vulture.subsetter import Subsetter from vulture.plotter import Plotter from vulture.search import Search from...
21.5
39
0.832558
59
430
6
0.40678
0.152542
0.211864
0
0
0
0
0
0
0
0
0
0.137209
430
19
40
22.631579
0.954178
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.857143
null
null
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
1
0
0
0
1
0
0
0
0
3
320f2987d86b3e6fccfde6c1727fd62099b14b87
1,962
py
Python
examples/twisted/wamp/basic/rpc/cancel/backend.py
meejah/AutobahnPython
54da8882eea3f4b1da62a6d3481556ab77720d41
[ "MIT" ]
null
null
null
examples/twisted/wamp/basic/rpc/cancel/backend.py
meejah/AutobahnPython
54da8882eea3f4b1da62a6d3481556ab77720d41
[ "MIT" ]
null
null
null
examples/twisted/wamp/basic/rpc/cancel/backend.py
meejah/AutobahnPython
54da8882eea3f4b1da62a6d3481556ab77720d41
[ "MIT" ]
null
null
null
############################################################################### ## ## Copyright (C) 2014 Tavendo GmbH ## ## 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:/...
31.645161
83
0.625892
237
1,962
5.147679
0.527426
0.04918
0.069672
0.02623
0.047541
0
0
0
0
0
0
0.016311
0.187564
1,962
61
84
32.163934
0.749059
0.328746
0
0
0
0
0.179211
0.019713
0
0
0
0
0
1
0.230769
false
0
0.115385
0.192308
0.576923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
321c0d818d11ae532d362345aef5d223d4dca5ff
872
py
Python
imperative/python/megengine/module/pixel_shuffle.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
5,168
2020-03-19T06:10:04.000Z
2022-03-31T11:11:54.000Z
imperative/python/megengine/module/pixel_shuffle.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
286
2020-03-25T01:36:23.000Z
2022-03-31T10:26:33.000Z
imperative/python/megengine/module/pixel_shuffle.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
515
2020-03-19T06:10:05.000Z
2022-03-30T09:15:59.000Z
# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") # # Copyright (c) 2014-2021 Megvii Inc. All rights reserved. # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY ...
34.88
88
0.700688
132
872
4.522727
0.583333
0.108878
0.085427
0.046901
0.050251
0
0
0
0
0
0
0.015942
0.208716
872
24
89
36.333333
0.849275
0.58945
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5c5472bab6fb77967ec86bad2501c25c5b6fcbd6
103
py
Python
Python/Division.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
Python/Division.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
Python/Division.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
a=float(input()) b=float(input()) intdiv=int(a/b) floatdiv=float(a/b) print(intdiv,floatdiv, sep='\n')
17.166667
32
0.68932
19
103
3.736842
0.526316
0.28169
0
0
0
0
0
0
0
0
0
0
0.058252
103
5
33
20.6
0.731959
0
0
0
0
0
0.019417
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5c6e0c9853d2a26e430dff93478e53ffe86caa94
367
py
Python
editor/lib/juma/MainEditor/__init__.py
RazielSun/juma-editor
125720f7386f9f0a4cd3466a45c883d6d6020e33
[ "MIT" ]
null
null
null
editor/lib/juma/MainEditor/__init__.py
RazielSun/juma-editor
125720f7386f9f0a4cd3466a45c883d6d6020e33
[ "MIT" ]
null
null
null
editor/lib/juma/MainEditor/__init__.py
RazielSun/juma-editor
125720f7386f9f0a4cd3466a45c883d6d6020e33
[ "MIT" ]
1
2022-03-31T00:50:23.000Z
2022-03-31T00:50:23.000Z
#!/usr/bin/env python import signals from MainEditor import MainEditor from Introspector import Introspector from GraphEditor import GraphEditor, EntityEditor from SceneView import SceneView from SceneToolManager import SceneToolManager from GamePreview import GamePreview from CommandHistoryView import Co...
26.214286
51
0.833787
38
367
8.052632
0.421053
0
0
0
0
0
0
0
0
0
0
0
0.147139
367
13
52
28.230769
0.977636
0.054496
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5c7c2f8c494005d23c63eecddb780437f2bbf59a
478
py
Python
Cursoemvideo/desafios/desafio016.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
1
2021-03-16T13:07:29.000Z
2021-03-16T13:07:29.000Z
Cursoemvideo/desafios/desafio016.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
Cursoemvideo/desafios/desafio016.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
#Crie um programa que leia um número Real qualquer pelo teclado e mostre na tela a sua porção inteira. #Ex: Digite um número: 6.127 #O número 6.127 tem a parte inteira de 6. Math """import math n = float(input('Digite um número real: ')) print('A porção inteira do número é: {}'.format(math.floor(n)))""" import math nu...
47.8
106
0.702929
89
478
3.775281
0.516854
0.071429
0.071429
0.125
0.071429
0
0
0
0
0
0
0.097561
0.142259
478
9
107
53.111111
0.721951
0.615063
0
0
0
0.333333
0.596591
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3