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
aa8017aaa327e40c920df18a6ad95e91a7c43095
1,317
py
Python
backend/application/services/client.py
uesleicarvalhoo/Ecommerce
1d8d0f0c522dcd27fd90e315989b6fa93caf62b8
[ "MIT" ]
null
null
null
backend/application/services/client.py
uesleicarvalhoo/Ecommerce
1d8d0f0c522dcd27fd90e315989b6fa93caf62b8
[ "MIT" ]
null
null
null
backend/application/services/client.py
uesleicarvalhoo/Ecommerce
1d8d0f0c522dcd27fd90e315989b6fa93caf62b8
[ "MIT" ]
null
null
null
from typing import List from uuid import UUID from backend.application.contracts import Client, Repository from backend.application.schemas import ClientSchema, NewClientSchema, QueryClientSchema from .auth import AuthenticationService class ClientService: def __init__( self, repository: Repository[Clie...
33.769231
110
0.712225
146
1,317
6.273973
0.280822
0.106987
0.087336
0.141921
0.21179
0.176856
0.176856
0.120087
0
0
0
0
0.199696
1,317
38
111
34.657895
0.86907
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.035714
0.178571
0.214286
0.678571
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
aabddde63b2af09734ad1e931d66ae9413fc1bb8
225
py
Python
python-basics/Solutions/files.py
WebucatorTraining/classfiles-actionable-python
930c154a6dbfa6c54768557a998b4dbafb43df38
[ "MIT" ]
2
2022-01-04T22:25:01.000Z
2022-01-16T16:50:23.000Z
python-basics/Solutions/files.py
WebucatorTraining/classfiles-actionable-python
930c154a6dbfa6c54768557a998b4dbafb43df38
[ "MIT" ]
null
null
null
python-basics/Solutions/files.py
WebucatorTraining/classfiles-actionable-python
930c154a6dbfa6c54768557a998b4dbafb43df38
[ "MIT" ]
null
null
null
with open("../data/1880-boys.txt") as f_boys: boys = f_boys.read() with open("../data/1880-girls.txt") as f_girls: girls = f_girls.read() with open("../data/1880-all.txt", "w") as f: f.write(boys + "\n" + girls)
28.125
47
0.604444
40
225
3.3
0.35
0.181818
0.272727
0.363636
0.30303
0
0
0
0
0
0
0.06383
0.164444
225
8
48
28.125
0.638298
0
0
0
0
0
0.292035
0.190265
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aacfe15adf7466ef70c07e5130d87d543567fe34
193
py
Python
flask-server/main.py
ChongQingNoSubway/react-blog
6e1357173f2f2cbb30bd9e52014442f466432aa0
[ "MIT" ]
1
2020-12-17T05:28:06.000Z
2020-12-17T05:28:06.000Z
flask-server/main.py
ChongQingNoSubway/react-blog
6e1357173f2f2cbb30bd9e52014442f466432aa0
[ "MIT" ]
null
null
null
flask-server/main.py
ChongQingNoSubway/react-blog
6e1357173f2f2cbb30bd9e52014442f466432aa0
[ "MIT" ]
null
null
null
from flask import (Flask, render_template) app = Flask("__main__") @app.route("/") def my_index(): return render_template("index.html", flask_token="Hello world") app.run(debug=True)
14.846154
67
0.704663
27
193
4.740741
0.703704
0.21875
0
0
0
0
0
0
0
0
0
0
0.134715
193
12
68
16.083333
0.766467
0
0
0
0
0
0.15544
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
aada4654af8136506146cfbe4d210c420c10dd3e
346
py
Python
spec/data/logic/_addressable_value_spec.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
2
2020-08-18T18:43:09.000Z
2020-08-18T20:05:59.000Z
spec/data/logic/_addressable_value_spec.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
null
null
null
spec/data/logic/_addressable_value_spec.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
null
null
null
from data.logic import _addressable_value from spec.mamba import * with description('_addressable_value.AddressableValue'): with it('exposes an interface'): addressable = _addressable_value.AddressableValue() expect(addressable).to(have_property('dimension_constraints')) expect(addressable).to(have_prope...
38.444444
66
0.797688
38
346
7
0.578947
0.180451
0.240602
0.172932
0.300752
0.300752
0
0
0
0
0
0
0.098266
346
8
67
43.25
0.852564
0
0
0
0
0
0.268786
0.16185
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aade787e9ec1d13417819bb88b2b74cf9782db9b
210
py
Python
3/client.py
vitorenesduarte/docker-workshop
3614eaa26562c5a5ee626df2ac4f4c080c7c08d8
[ "Apache-2.0" ]
null
null
null
3/client.py
vitorenesduarte/docker-workshop
3614eaa26562c5a5ee626df2ac4f4c080c7c08d8
[ "Apache-2.0" ]
null
null
null
3/client.py
vitorenesduarte/docker-workshop
3614eaa26562c5a5ee626df2ac4f4c080c7c08d8
[ "Apache-2.0" ]
null
null
null
import util client = util.SimpleClient(port=8000, retry=True) print("available functions: ") print(client.list_functions()) print("2 + 3 = " + str(client.add(2, 3))) print("5 + 2 = " + str(client.add(5, 2)))
23.333333
49
0.661905
32
210
4.3125
0.53125
0.202899
0.173913
0
0
0
0
0
0
0
0
0.065934
0.133333
210
8
50
26.25
0.692308
0
0
0
0
0
0.17619
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
0
0
0
1
0
3
2ac2d0561cfa2ccb0925d7f3a3d7c78a4085c703
26,655
py
Python
stanford_lfanalyze_v0.4/lflib/direct_deconvolution.py
pauledgarson/FlyLFM-Paul
aa7e8fcae630e7db7322219437cbc0b47d4598a7
[ "BSD-2-Clause" ]
null
null
null
stanford_lfanalyze_v0.4/lflib/direct_deconvolution.py
pauledgarson/FlyLFM-Paul
aa7e8fcae630e7db7322219437cbc0b47d4598a7
[ "BSD-2-Clause" ]
null
null
null
stanford_lfanalyze_v0.4/lflib/direct_deconvolution.py
pauledgarson/FlyLFM-Paul
aa7e8fcae630e7db7322219437cbc0b47d4598a7
[ "BSD-2-Clause" ]
null
null
null
# __BEGIN_LICENSE__ # # Copyright 2012 Stanford University. All rights reserved. # # __END_LICENSE__ ''' This file contains various utilities and routines that are useful for direct deconvolution methods. Note that some of these routines are only useful for debugging or solving small toy problems. ''' import sys, tim...
46.59965
127
0.592159
3,886
26,655
3.8649
0.108338
0.022372
0.026367
0.014914
0.695319
0.671549
0.653772
0.633331
0.618483
0.609295
0
0.037606
0.272744
26,655
571
128
46.681261
0.737168
0.093566
0
0.514778
0
0.115764
0.621818
0.049289
0
0
0
0
0
0
null
null
0.002463
0.029557
null
null
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2aeaa062dd06b297fd34af4a76aa78b878017b43
360
py
Python
frano/account/models.py
fxdemolisher/frano
d20988ccc1a9afc3d4cbe706c02c600033a1f3ae
[ "MIT" ]
null
null
null
frano/account/models.py
fxdemolisher/frano
d20988ccc1a9afc3d4cbe706c02c600033a1f3ae
[ "MIT" ]
null
null
null
frano/account/models.py
fxdemolisher/frano
d20988ccc1a9afc3d4cbe706c02c600033a1f3ae
[ "MIT" ]
null
null
null
# Copyright (c) 2011 Gennadiy Shafranovich # Licensed under the MIT license # see LICENSE file for copying permission. from django.db import models #-------------\ # CONSTANTS | #-------------/ #----------\ # MODELS | #----------/ #------------\ # SERVICES | #------------/ #-------------------\ # LO...
12.413793
42
0.430556
26
360
5.961538
0.923077
0
0
0
0
0
0
0
0
0
0
0.013605
0.183333
360
28
43
12.857143
0.513605
0.794444
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
630ba2dac8f0fd97020f8c2d01eb6d1b8921eda3
1,139
py
Python
Algorithms_easy/1150. Check If a Number Is Majority Element in a Sorted Array.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
4
2020-08-11T20:45:15.000Z
2021-03-12T00:33:34.000Z
Algorithms_easy/1150. Check If a Number Is Majority Element in a Sorted Array.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
Algorithms_easy/1150. Check If a Number Is Majority Element in a Sorted Array.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
""" 1150. Check If a Number Is Majority Element in a Sorted Array Easy Given an array nums sorted in non-decreasing order, and a number target, return True if and only if target is a majority element. A majority element is an element that appears more than N/2 times in an array of length N. Example 1: Input: nums =...
28.475
129
0.690957
201
1,139
3.905473
0.333333
0.095541
0.081529
0.04586
0.300637
0.244586
0.244586
0.244586
0.170701
0.170701
0
0.074236
0.195786
1,139
39
130
29.205128
0.782751
0.690079
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
0
0
0
1
1
0
0
3
6315c55c2485723e787867d933de0eb840349bd9
309
py
Python
week3DataStructuren/demo/aminotellen.py
hanbioinformatica/owe2a
f572866ef3bc75689d2d571cb393c6d60480655b
[ "Apache-2.0" ]
null
null
null
week3DataStructuren/demo/aminotellen.py
hanbioinformatica/owe2a
f572866ef3bc75689d2d571cb393c6d60480655b
[ "Apache-2.0" ]
null
null
null
week3DataStructuren/demo/aminotellen.py
hanbioinformatica/owe2a
f572866ef3bc75689d2d571cb393c6d60480655b
[ "Apache-2.0" ]
1
2018-12-04T15:23:47.000Z
2018-12-04T15:23:47.000Z
#http://www.ensembl.org/info/data/ftp/index.html dict_aa = {} seq = "GATGAGJHTYYYYHKTRBJNKRBJNLRBLRBGB" for aa in seq: # try: # dict_aa[aa]+=1 # except KeyError: # dict_aa[aa]=1 if aa in dict_aa.keys(): dict_aa[aa] += 1 else: dict_aa[aa] = 1 print (dict_aa)
18.176471
48
0.582524
46
309
3.76087
0.5
0.242775
0.184971
0.208092
0
0
0
0
0
0
0
0.017778
0.271845
309
16
49
19.3125
0.751111
0.343042
0
0
0
0
0.167513
0.167513
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
63252db84f96eb1496ee33e9b5a4443b5f9c1c6d
2,187
py
Python
relfs/relfs/components/person.py
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
1
2020-10-25T12:28:50.000Z
2020-10-25T12:28:50.000Z
relfs/relfs/components/person.py
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
null
null
null
relfs/relfs/components/person.py
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
null
null
null
# coding=utf-8 #------------------------------------------------------------------------------# import BTrees.OOBTree from .component import Component #------------------------------------------------------------------------------# class Person(Component): #----------------------------------------------------------...
35.274194
80
0.342478
134
2,187
5.238806
0.268657
0.076923
0.091168
0.094017
0.236467
0.153846
0.153846
0
0
0
0
0.00056
0.183813
2,187
61
81
35.852459
0.392717
0.420668
0
0.179487
0
0
0.041935
0
0
0
0
0
0
1
0.205128
false
0
0.051282
0.102564
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
6333c0790562f10a0fa8be4a87643341c8767e60
150
py
Python
classes/enums/difficulties.py
ClicksMinutePer/TriviaBattles
20c716c9b1ba92778a3c09cfe40f1b06c4d524ab
[ "BSD-Source-Code" ]
null
null
null
classes/enums/difficulties.py
ClicksMinutePer/TriviaBattles
20c716c9b1ba92778a3c09cfe40f1b06c4d524ab
[ "BSD-Source-Code" ]
null
null
null
classes/enums/difficulties.py
ClicksMinutePer/TriviaBattles
20c716c9b1ba92778a3c09cfe40f1b06c4d524ab
[ "BSD-Source-Code" ]
null
null
null
import enum class Difficulty(enum.Enum): EASY = "&difficulty=easy" MEDIUM = "&difficulty=medium" HARD = "&difficulty=hard" ALL = ""
16.666667
33
0.626667
16
150
5.875
0.5
0
0
0
0
0
0
0
0
0
0
0
0.226667
150
8
34
18.75
0.810345
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0.166667
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
2d4e9f712cffb477a3e0ca205ff8a5475a350320
210
py
Python
shadowproxy/plugins/base.py
xiaoshihu/shadowproxy
15e5669136dc6d4720aa54dcc5ff1c6839304767
[ "MIT" ]
180
2017-02-24T15:18:11.000Z
2022-03-19T22:11:15.000Z
shadowproxy/plugins/base.py
sanshengshi/shadowproxy
28d66ff0803734528301d74d10bd1b2492a4b63f
[ "MIT" ]
9
2018-06-22T05:34:20.000Z
2021-06-15T13:45:35.000Z
shadowproxy/plugins/base.py
sanshengshi/shadowproxy
28d66ff0803734528301d74d10bd1b2492a4b63f
[ "MIT" ]
45
2017-11-10T03:17:12.000Z
2022-01-21T01:19:37.000Z
import abc class Plugin(abc.ABC): name = "plugin" @abc.abstractmethod async def init_server(self, client): "" @abc.abstractmethod async def init_client(self, client): ""
15
40
0.609524
24
210
5.25
0.5
0.142857
0.349206
0.396825
0.460317
0
0
0
0
0
0
0
0.280952
210
13
41
16.153846
0.834437
0
0
0.444444
0
0
0.028571
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.333333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2d8e61117415f6e832a90302fcb55056e481eca2
476
py
Python
hash_tables/hash_tables.py
krzysztofzuraw/learn-algorithms
23d3fc9e0d6eef9d90163288acaacebe98a8c2b6
[ "MIT" ]
1
2017-09-27T07:21:48.000Z
2017-09-27T07:21:48.000Z
hash_tables/hash_tables.py
krzysztofzuraw/learn-algorithms-data-structures-design-patterns
23d3fc9e0d6eef9d90163288acaacebe98a8c2b6
[ "MIT" ]
null
null
null
hash_tables/hash_tables.py
krzysztofzuraw/learn-algorithms-data-structures-design-patterns
23d3fc9e0d6eef9d90163288acaacebe98a8c2b6
[ "MIT" ]
null
null
null
table = [0 for i in range(98)] def hash_table(key, value): hash = key % 97 table[hash] = value def read_hash_table(key): hash = key % 97 return table[hash] def test_storing_value_in_hash_table(): hash_table(key=1, value='value for one') assert read_hash_table(key=1) == 'value for one' de...
21.636364
72
0.701681
78
476
3.974359
0.320513
0.203226
0.232258
0.154839
0.222581
0.148387
0
0
0
0
0
0.030848
0.182773
476
21
73
22.666667
0.766067
0
0
0.153846
0
0
0.079832
0
0
0
0
0
0.153846
1
0.307692
false
0
0
0
0.384615
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
3
2d8f1426280a624f27e05f9c58df504ea5de3704
458
py
Python
test/unit/test_handlers.py
keetonian/cw-logs-to-chime
731cfc75f602309ce2ba70d233ff17b292133101
[ "MIT" ]
null
null
null
test/unit/test_handlers.py
keetonian/cw-logs-to-chime
731cfc75f602309ce2ba70d233ff17b292133101
[ "MIT" ]
1
2019-12-18T19:30:06.000Z
2019-12-18T19:30:06.000Z
test/unit/test_handlers.py
keetonian/cw-logs-to-chime
731cfc75f602309ce2ba70d233ff17b292133101
[ "MIT" ]
null
null
null
import pytest import handlers import requests import chime import test_constants def test_logs_to_chime(mocker): mocker.patch.object(chime, 'post_message') handlers.logs_to_chime(test_constants.AWS_LOG_EVENT, None) chime.post_message.assert_any_call(test_constants.CHIME_URL, test_constants.EXTRACTED_LOG_...
32.714286
115
0.825328
67
458
5.253731
0.402985
0.221591
0.136364
0.125
0.460227
0.460227
0.460227
0.460227
0.460227
0.460227
0
0.004773
0.085153
458
13
116
35.230769
0.835322
0
0
0
0
0
0.056769
0
0
0
0
0
0.2
1
0.1
false
0
0.5
0
0.6
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
2d9fc8fb4708ac08195ab5298a5c1db88cc1b32f
1,002
py
Python
app/views.py
kuipumu/django_two_step_form
1e0e50c6788796eda78104f97e4cb9e0e7ec14ee
[ "BSD-3-Clause" ]
null
null
null
app/views.py
kuipumu/django_two_step_form
1e0e50c6788796eda78104f97e4cb9e0e7ec14ee
[ "BSD-3-Clause" ]
10
2021-03-30T13:58:00.000Z
2022-03-12T00:38:18.000Z
app/views.py
kuipumu/django_two_step_form
1e0e50c6788796eda78104f97e4cb9e0e7ec14ee
[ "BSD-3-Clause" ]
null
null
null
"""app views.py module.""" from django.urls import reverse_lazy from django.http import HttpResponseRedirect from django.views.generic import TemplateView from django.views.generic.base import View from django.contrib.auth.mixins import UserPassesTestMixin from django.utils.translation import ugettext_lazy as _ from a...
31.3125
58
0.706587
123
1,002
5.609756
0.422764
0.111594
0.081159
0.063768
0.226087
0.226087
0.226087
0.226087
0.226087
0.226087
0
0
0.188623
1,002
32
59
31.3125
0.848708
0.145709
0
0.315789
0
0
0.038508
0
0
0
0
0
0
1
0.105263
false
0.052632
0.368421
0
0.789474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
93209f167ed86d0388829473731dc7747fa84b2f
497
py
Python
server/src/model/User.py
lixinyang123/ERP
4df02d68c74067cd22589c5a397a85029b388665
[ "MIT" ]
4
2021-04-30T14:56:50.000Z
2022-03-29T06:09:28.000Z
server/src/model/User.py
lixinyang123/ERP
4df02d68c74067cd22589c5a397a85029b388665
[ "MIT" ]
null
null
null
server/src/model/User.py
lixinyang123/ERP
4df02d68c74067cd22589c5a397a85029b388665
[ "MIT" ]
1
2022-02-26T02:51:54.000Z
2022-02-26T02:51:54.000Z
# 用户 class User: def __init__(self, id: str, name: str, tel: int, address: str, notes: str): # ID self.id: str = id # 姓名 self.name: str = name # 电话 self.tel: int = tel # 地址 self.address: str = address # 备注 self.notes: str = notes ...
23.666667
90
0.511066
64
497
3.84375
0.328125
0.04878
0.073171
0
0
0
0
0
0
0
0
0.003077
0.346076
497
20
91
24.85
0.753846
0.034205
0
0
0
0
0.044397
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
933bc87f65e27b1932f4ed77b81281253f65f6f8
776
py
Python
c1_2_processes/s7_ex1_12.py
zhou-zhenyi/sicp
ee6475d79a486a3bdc458378c55d0721195ea7d6
[ "MIT" ]
null
null
null
c1_2_processes/s7_ex1_12.py
zhou-zhenyi/sicp
ee6475d79a486a3bdc458378c55d0721195ea7d6
[ "MIT" ]
null
null
null
c1_2_processes/s7_ex1_12.py
zhou-zhenyi/sicp
ee6475d79a486a3bdc458378c55d0721195ea7d6
[ "MIT" ]
null
null
null
from util import logl from util import newl def pascal_triangle(n): def sum_of_nodes(sum, i, n): logl("(" + str(sum) + ", " + str(i) + ", " + str(n) + ")") def node(i, n): if i == 1 or i == n: return 1 else: return node(i - 1, n - 1) + node(i...
22.171429
66
0.530928
119
776
3.327731
0.243697
0.282828
0.335859
0.348485
0.09596
0
0
0
0
0
0
0.033835
0.314433
776
35
67
22.171429
0.710526
0
0
0.266667
0
0
0.007722
0
0
0
0
0
0
1
0.1
false
0
0.066667
0
0.366667
0.233333
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
934c4fd329d543094668d3609a23ccfe48519c84
674
py
Python
busquedaBinaria.py
Mik3Mon/AnalisisAlgoritmos
95b739b22ab2fa240df0373ef89423286399a65e
[ "MIT" ]
null
null
null
busquedaBinaria.py
Mik3Mon/AnalisisAlgoritmos
95b739b22ab2fa240df0373ef89423286399a65e
[ "MIT" ]
null
null
null
busquedaBinaria.py
Mik3Mon/AnalisisAlgoritmos
95b739b22ab2fa240df0373ef89423286399a65e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 14 20:22:48 2021 @author: Mike """ def busquedaBinaria(Lista, clave, inferior = 0, superior = 0): if(superior == 0): superior = len(Lista)-1 central = (inferior + superior) // 2 if(Lista[central] == clave): return central else: if(...
28.083333
91
0.60089
81
674
4.901235
0.469136
0.201511
0.188917
0.24937
0.483627
0.420655
0.292191
0.292191
0.292191
0
0
0.079681
0.255193
674
24
92
28.083333
0.711155
0.108309
0
0
0
0
0.013468
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.285714
0.071429
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
9359606e133b073fe301fef32d22785189834f0e
134
py
Python
week8/informatics/for_c.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
null
null
null
week8/informatics/for_c.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
18
2020-07-20T05:26:25.000Z
2022-03-02T07:38:12.000Z
week8/informatics/for_c.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
null
null
null
import math a = int(input()) b = int(input()) for i in range (a,b+1): sqrt = math.sqrt(i) if sqrt%1==0: print(i)
19.142857
24
0.514925
25
134
2.76
0.6
0.231884
0
0
0
0
0
0
0
0
0
0.031915
0.298507
134
7
25
19.142857
0.702128
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
9360f70d1e9f52df1f345f89ab692cd7f28051b4
160
py
Python
harvester/package.py
nppo/search-portal
aedf21e334f178c049f9d6cf37cafd6efc07bc0d
[ "MIT" ]
1
2022-01-10T00:26:12.000Z
2022-01-10T00:26:12.000Z
harvester/package.py
nppo/search-portal
aedf21e334f178c049f9d6cf37cafd6efc07bc0d
[ "MIT" ]
48
2021-11-11T13:43:09.000Z
2022-03-30T11:33:37.000Z
harvester/package.py
nppo/search-portal
aedf21e334f178c049f9d6cf37cafd6efc07bc0d
[ "MIT" ]
null
null
null
PACKAGE = { "version": "1.25.22", "name": "harvester", "cpu": "2048", "memory": "8192", "celery_cpu": "2048", "celery_memory": "8192" }
17.777778
27
0.5
17
160
4.588235
0.705882
0.179487
0
0
0
0
0
0
0
0
0
0.175
0.25
160
8
28
20
0.475
0
0
0
0
0
0.46875
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
936d1156dfcfe7322967b864b06d3a151b7cead7
371
py
Python
Timbuchalka/Section-5/experementing/virus.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
6
2021-07-26T14:21:25.000Z
2021-07-26T14:32:01.000Z
Timbuchalka/Section-5/experementing/virus.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
2
2021-12-10T10:25:19.000Z
2021-12-10T10:27:15.000Z
Timbuchalka/Section-5/experementing/virus.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
null
null
null
# import os # import time # f = open ("TROOL.txt",'w+') # a = open ("VIRUS.txt",'w+') # for i in range (0,999): # os.mkdir(f"{i}") # f.write(f"I printed this {i-1} times\n") # for q in range (0,i-q): # a.write("GET TROOOLED\n") # f.close # a.close # print ("Wow u made it through all this shit!!...
18.55
49
0.555256
68
371
3.029412
0.602941
0.038835
0.07767
0
0
0
0
0
0
0
0
0.02807
0.231806
371
19
50
19.526316
0.694737
0.832884
0
0
0
0
0.416667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
3
93837695244267da05cd7d7ff70ee85721fb89cc
1,163
py
Python
diceparser/roller.py
dat-adi/dnd-tools
324ccec194c3737b93e09b4f3987a7ed2e4ec07b
[ "MIT" ]
null
null
null
diceparser/roller.py
dat-adi/dnd-tools
324ccec194c3737b93e09b4f3987a7ed2e4ec07b
[ "MIT" ]
null
null
null
diceparser/roller.py
dat-adi/dnd-tools
324ccec194c3737b93e09b4f3987a7ed2e4ec07b
[ "MIT" ]
null
null
null
#!usr/bin/python # -*- coding:utf-8 -*- # importing randrange for rolling within a certain range from random import randrange # Owned __author__ = "Datta Adithya" __credits__ = ["Datta Adithya"] __license__ = "MIT" __maintainer__ = "Datta Adithya" __email__ = "dat.adithya@gmail.com" # initiationroll rolls for initi...
22.803922
73
0.705073
141
1,163
5.588652
0.524823
0.045685
0.060914
0.045685
0
0
0
0
0
0
0
0.013994
0.201204
1,163
50
74
23.26
0.83423
0.310404
0
0
0
0
0.089646
0.026515
0
0
0
0
0
1
0.28
false
0
0.04
0.24
0.6
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
fa7b14a4b7c23b52e3c93b5ad9ef169a3ec4b397
5,320
py
Python
items/models.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
1
2020-05-06T16:59:47.000Z
2020-05-06T16:59:47.000Z
items/models.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
items/models.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.contrib.postgres.fields import ArrayField from django.core.urlresolvers import reverse BOOK_STATUS_CHOICES = ( (1, 'Available'), (2, 'In Circulation'), (3, 'Temporarily Unavailable'), (4, 'Unavailable'), (5, 'Prot...
37.464789
120
0.724436
673
5,320
5.517088
0.157504
0.046054
0.06787
0.090493
0.766227
0.742796
0.661729
0.635874
0.581471
0.56989
0
0.013117
0.154511
5,320
141
121
37.730496
0.812361
0.030827
0
0.54902
0
0
0.074732
0.027317
0
0
0
0
0
1
0.127451
false
0
0.039216
0.127451
0.921569
0
0
0
0
null
0
0
0
0
1
0
0
0
0
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
fa7dc6649727c744281d23bc16c96547030ea3d4
184
py
Python
Uche Clare/Phase 1/Python Basic 1/Day 11/Task 92.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Uche Clare/Phase 1/Python Basic 1/Day 11/Task 92.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Uche Clare/Phase 1/Python Basic 1/Day 11/Task 92.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to define a string containing special characters in various forms. char_1="^#$@$#@" char_2="'Hello World!'" char_3='012-482-0493-877' print(char_1) print(char_2) print(char_3)
26.285714
75
0.744565
32
184
4.09375
0.6875
0.206107
0
0
0
0
0
0
0
0
0
0.113772
0.092391
184
7
76
26.285714
0.670659
0.402174
0
0
0
0
0.336364
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
1
0
3
fa9d89971916e3173a5df70d1443c6accb718184
2,083
py
Python
tests/mobile_network/test_mobile_costs.py
nismod/digital_comms
497b04b035c540ab93ef31f9777287882f3ee5d1
[ "MIT" ]
12
2017-12-28T21:35:08.000Z
2021-03-31T03:00:13.000Z
tests/mobile_network/test_mobile_costs.py
nismod/digital_comms
497b04b035c540ab93ef31f9777287882f3ee5d1
[ "MIT" ]
48
2017-09-18T13:00:38.000Z
2019-11-13T11:10:56.000Z
tests/mobile_network/test_mobile_costs.py
nismod/digital_comms
497b04b035c540ab93ef31f9777287882f3ee5d1
[ "MIT" ]
5
2017-08-21T09:52:25.000Z
2019-08-13T16:57:16.000Z
""" Test Mobile Network interventions.py 11th May 2019 Written by Edward J. Oughton """ import pytest from digital_comms.mobile_network.costs import( calculate_costs ) def test_costs(): base_year = 2019 end_year = 2021 increment = 1 timesteps = range(base_year, end_year + 1, increment) ...
26.705128
63
0.580893
275
2,083
4.203636
0.258182
0.207612
0.235294
0.290657
0.690311
0.690311
0.690311
0.550173
0.550173
0.176471
0
0.114913
0.256361
2,083
77
64
27.051948
0.631375
0.037926
0
0.078431
0
0
0.087218
0
0
0
0
0
0.313725
1
0.019608
false
0
0.039216
0
0.058824
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
faa99db9faa9f4593c91da298cc89796ba0783f7
180
py
Python
sketches/references/masked.py
ahuang11/ahh
59f124c3aa04cde58db0ec2e81025eb63a92404e
[ "MIT" ]
6
2016-09-01T03:43:20.000Z
2018-02-15T00:49:29.000Z
sketches/references/masked.py
ahuang11/ahh
59f124c3aa04cde58db0ec2e81025eb63a92404e
[ "MIT" ]
33
2017-10-21T19:03:52.000Z
2020-10-19T15:05:50.000Z
sketches/references/masked.py
ahuang11/ahh
59f124c3aa04cde58db0ec2e81025eb63a92404e
[ "MIT" ]
2
2016-10-14T18:45:39.000Z
2020-02-02T12:23:20.000Z
import numpy as np import numpy.ma as ma x = np.array([1, 2, 3, np.nan, 5]) m = np.ma.array(x, mask=(~np.isfinite(x) | (x == -999))) print(np.max(m)) print(np.ma.max(m))
20
57
0.572222
38
180
2.710526
0.473684
0.213592
0
0
0
0
0
0
0
0
0
0.048276
0.194444
180
9
58
20
0.662069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
fab8d2b4d517b8099d73adf0a3bc953f303eaa5b
428
py
Python
chancmd/test_jukuan.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
2
2021-12-15T07:24:33.000Z
2022-03-21T14:30:41.000Z
chancmd/test_jukuan.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
null
null
null
chancmd/test_jukuan.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
null
null
null
from jqdatasdk import * from clend.settings import SETTINGS auth(SETTINGS["jq.username"], SETTINGS["jq.password"]) # 账号是申请时所填写的手机号;密码为聚宽官网登录密码,新申请用户默认为手机号后6位 print(get_query_count()) # df = get_bars('000001.XSHE', 5, unit='120m',fields=['date','open','close','high','low','volume','money'],include_now=False,end_dt='20...
38.909091
145
0.738318
56
428
5.410714
0.875
0.066007
0
0
0
0
0
0
0
0
0
0.096692
0.081776
428
11
146
38.909091
0.6743
0.560748
0
0
0
0
0.163934
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
fabc49e182a2cac737f85c165e05c88ac87c6e71
87
py
Python
config.py
bhaveshkalra/Innovacer_Assignment
67da364cec437ef2a0f1334f600e20fef0714640
[ "MIT" ]
null
null
null
config.py
bhaveshkalra/Innovacer_Assignment
67da364cec437ef2a0f1334f600e20fef0714640
[ "MIT" ]
1
2018-10-18T05:16:16.000Z
2018-10-18T05:16:16.000Z
config.py
bhaveshkalra/Innovaccer_Assignment
67da364cec437ef2a0f1334f600e20fef0714640
[ "MIT" ]
1
2020-10-01T12:54:06.000Z
2020-10-01T12:54:06.000Z
username="bhavesh.kalra92@gmail.com" pwd="" rootUser="root" smtp='smtp.gmail.com:587'
14.5
36
0.735632
13
87
4.923077
0.769231
0.25
0
0
0
0
0
0
0
0
0
0.060976
0.057471
87
5
37
17.4
0.719512
0
0
0
0
0
0.54023
0.287356
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
faf22f8173c45865db821aad0d9dff9def148874
352
py
Python
mamba/infrastructure/code_coverage.py
kfischer-okarin/mamba
0a2c83e2e9b1fc06aa6165519bc2c8de418e906b
[ "MIT" ]
462
2015-01-02T19:59:33.000Z
2022-03-12T09:47:17.000Z
mamba/infrastructure/code_coverage.py
kfischer-okarin/mamba
0a2c83e2e9b1fc06aa6165519bc2c8de418e906b
[ "MIT" ]
93
2015-01-31T13:18:47.000Z
2021-05-06T18:32:42.000Z
mamba/infrastructure/code_coverage.py
kfischer-okarin/mamba
0a2c83e2e9b1fc06aa6165519bc2c8de418e906b
[ "MIT" ]
66
2015-04-24T14:12:13.000Z
2022-03-01T16:52:51.000Z
# -*- coding: utf-8 -*- import coverage class CodeCoverage(object): def __init__(self, code_coverage_file): self.coverage = coverage.coverage(data_file=code_coverage_file) def __enter__(self): self.coverage.start() def __exit__(self, type_, value, traceback): self.coverage.stop...
20.705882
71
0.664773
41
352
5.268293
0.536585
0.222222
0.148148
0
0
0
0
0
0
0
0
0.00361
0.213068
352
16
72
22
0.776173
0.059659
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.555556
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
1
0
0
0
0
1
0
0
3
fafe86f0b32d2b9261f0dc727b7298c09b5471fa
358
py
Python
Chapter_6/End_of_Chapter_6/6_4.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
Chapter_6/End_of_Chapter_6/6_4.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
Chapter_6/End_of_Chapter_6/6_4.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
# Done by Carlos Amaral (2020/10/11) import pandas as pd gss_df = pd.read_csv('GSS1993_9Fields.csv') # Create a Panda Series Object from HAPPY column happiness_flag = gss_df.HAPPY # New DataFrame happiness_flag.loc[(happiness_flag.HAPPY < 3)] = 1 happiness_flag.loc[(happiness_flag.HAPPY >= 3)] = 0 print(happiness_...
22.375
52
0.76257
58
358
4.517241
0.655172
0.29771
0.206107
0.19084
0.267176
0.267176
0.267176
0
0
0
0
0.054313
0.125698
358
15
53
23.866667
0.782748
0.265363
0
0
0
0
0.073643
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
4f052386305865fd2268a147bb662b04cd2077b3
65
py
Python
ACM ICPC/Math/sum_of_digits/digit_sum.py
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
ACM ICPC/Math/sum_of_digits/digit_sum.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
ACM ICPC/Math/sum_of_digits/digit_sum.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
n = "12345" digit_sum = sum(map(int, list(n))) print(digit_sum)
13
34
0.661538
12
65
3.416667
0.666667
0.390244
0
0
0
0
0
0
0
0
0
0.089286
0.138462
65
4
35
16.25
0.642857
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
87bc42754acabe9676903dfbcbe699ac7d815ed2
453
py
Python
qcloudsdkcvm/2017-03-12/DescribeInstanceTypeConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/2017-03-12/DescribeInstanceTypeConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/2017-03-12/DescribeInstanceTypeConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeInstanceTypeConfigsRequest(Request): def __init__(self): super(DescribeInstanceTypeConfigsRequest, self).__init__( 'cvm', 'qcloudcliV1', 'DescribeInstanceTypeConfigs', 'cvm.api.qcloud.com') def get_Filters(se...
28.3125
86
0.695364
45
453
6.733333
0.577778
0.108911
0
0
0
0
0
0
0
0
0
0.005376
0.178808
453
15
87
30.2
0.80914
0.046358
0
0
0
0
0.169767
0.062791
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
87dc2db9eb47fd3715d56d9779211898a61bb762
981
py
Python
src/problems/migrations/0002_auto_20181019_2033.py
basimr/lovelace
3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb
[ "MIT" ]
28
2019-01-06T11:39:13.000Z
2022-02-28T03:35:55.000Z
src/problems/migrations/0002_auto_20181019_2033.py
basimr/project-lovelace
3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb
[ "MIT" ]
88
2017-04-01T15:18:36.000Z
2021-09-22T19:41:11.000Z
src/problems/migrations/0002_auto_20181019_2033.py
basimr/project-lovelace
3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb
[ "MIT" ]
4
2019-08-11T14:51:16.000Z
2021-04-30T16:37:52.000Z
# Generated by Django 2.1.2 on 2018-10-20 00:33 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('problems', '0001_initial'), ] operations = [ migrations.AddField( model_name='problem', ...
32.7
153
0.640163
96
981
6.489583
0.40625
0.096308
0.192616
0.23756
0.576244
0.500803
0.317817
0.317817
0.317817
0.317817
0
0.038718
0.236493
981
29
154
33.827586
0.793057
0.045872
0
0.391304
1
0
0.072805
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
87f33cb13790980f88491b39df8255afcef76070
33,294
py
Python
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-DisdnNI2MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-DisdnNI2MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-DisdnNI2MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-DisdnNI2MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-DisdnNI2MIB # Produced by pysmi-0.3.4 at Wed May 1 14:29:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davw...
181.934426
3,698
0.810296
3,688
33,294
7.315076
0.146421
0.04537
0.079398
0.009193
0.466528
0.336867
0.31433
0.293498
0.270368
0.246868
0
0.070401
0.089566
33,294
182
3,699
182.934066
0.819609
0.011233
0
0
0
0.12
0.353651
0.054511
0
0
0
0
0
1
0
false
0.085714
0.057143
0
0.057143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
87f5df1ef9b545be54274ba0e255e6a1c33744c3
320
py
Python
powerline/matchers/vim/plugin/gundo.py
PH111P/powerline
f8dfe7e7e3d021cd66bc0e19b19ea4a51949cb9a
[ "MIT" ]
23
2016-12-16T09:03:18.000Z
2022-02-25T19:19:23.000Z
powerline/matchers/vim/plugin/gundo.py
PH111P/powerline
f8dfe7e7e3d021cd66bc0e19b19ea4a51949cb9a
[ "MIT" ]
30
2016-12-20T11:11:42.000Z
2019-11-19T15:23:59.000Z
powerline/matchers/vim/plugin/gundo.py
PH111P/powerline
f8dfe7e7e3d021cd66bc0e19b19ea4a51949cb9a
[ "MIT" ]
4
2016-12-11T18:29:11.000Z
2018-04-22T07:51:28.000Z
import os from powerline.bindings.vim import buffer_name def gundo(matcher_info): name = buffer_name(matcher_info) return name and os.path.basename(name) == b'__Gundo__' def gundo_preview(matcher_info): name = buffer_name(matcher_info) return name and os.path.basename(name) == b'__Gundo_Preview__'
22.857143
66
0.753125
47
320
4.765957
0.382979
0.196429
0.133929
0.1875
0.651786
0.651786
0.651786
0.651786
0.651786
0.651786
0
0
0.153125
320
13
67
24.615385
0.826568
0
0
0.25
0
0
0.08125
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3559b0cdf90631c958ece91cd7ad11b58eb87686
1,113
py
Python
words.py
todrzywolek/word-learner
87d290991357e26d40e44b06a50ce78d7a4c1f59
[ "MIT" ]
null
null
null
words.py
todrzywolek/word-learner
87d290991357e26d40e44b06a50ce78d7a4c1f59
[ "MIT" ]
null
null
null
words.py
todrzywolek/word-learner
87d290991357e26d40e44b06a50ce78d7a4c1f59
[ "MIT" ]
null
null
null
import random class Word: """ Word and its translation""" def __init__(self, word, translation): self.source = word self.translation = translation self._hint = 0 def get_word(self): return self.source def get_translation(self): return self.translation def...
20.236364
59
0.585804
143
1,113
4.412587
0.272727
0.114105
0.066561
0.044374
0.07607
0
0
0
0
0
0
0.003901
0.309075
1,113
54
60
20.611111
0.816645
0.062893
0
0.058824
0
0
0
0
0
0
0
0
0
1
0.382353
false
0
0.029412
0.176471
0.676471
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
358931c423f59a33ebaeb49544fe7417ee58bd31
1,840
py
Python
dashboard/models.py
thu-coai/cotk_dashboard
88113f14800c5ae761dade2c4e3d7ec0e4821af7
[ "Apache-2.0" ]
2
2019-03-12T07:22:45.000Z
2020-09-05T13:06:44.000Z
dashboard/models.py
thu-coai/cotk_dashboard
88113f14800c5ae761dade2c4e3d7ec0e4821af7
[ "Apache-2.0" ]
15
2019-03-13T06:26:28.000Z
2021-06-10T17:47:37.000Z
dashboard/models.py
thu-coai/cotk_dashboard
88113f14800c5ae761dade2c4e3d7ec0e4821af7
[ "Apache-2.0" ]
1
2019-07-08T11:42:19.000Z
2019-07-08T11:42:19.000Z
from django.utils import timezone from django.db import models import django_mysql.models as mysql_models from django.contrib.auth.models import User class Record(models.Model): """ Uploaded Record """ user = models.ForeignKey( User, on_delete=models.CASCADE ) uploaded_at = m...
24.210526
103
0.678261
231
1,840
5.199134
0.298701
0.124896
0.149875
0.199833
0.360533
0.178185
0.129892
0.068276
0.068276
0.068276
0
0.018417
0.203261
1,840
75
104
24.533333
0.800819
0.015217
0
0.217391
0
0
0.02639
0
0
0
0
0
0
1
0.108696
false
0
0.086957
0.108696
0.76087
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
35998d497ff9053d3d684e63051ec4b71de6031a
2,646
py
Python
tests/core/test_annotations_get.py
Finistere/dependency_manager
5a183d46ac5d760944dc507d1281813d02d2c75e
[ "MIT" ]
null
null
null
tests/core/test_annotations_get.py
Finistere/dependency_manager
5a183d46ac5d760944dc507d1281813d02d2c75e
[ "MIT" ]
null
null
null
tests/core/test_annotations_get.py
Finistere/dependency_manager
5a183d46ac5d760944dc507d1281813d02d2c75e
[ "MIT" ]
null
null
null
from typing import Type import pytest from typing_extensions import Annotated from antidote import factory, Get, inject, injectable, world @pytest.fixture(autouse=True) def new_world(): with world.test.new(): yield def test_injectable(): @injectable class Dummy: pass @inject(depen...
19.746269
83
0.622827
321
2,646
5.046729
0.155763
0.079012
0.060494
0.064198
0.488889
0.407407
0.258642
0.19321
0.175309
0.175309
0
0
0.256992
2,646
133
84
19.894737
0.824008
0
0
0.477778
0
0
0.039305
0.009448
0
0
0
0
0.088889
1
0.211111
false
0.1
0.044444
0.122222
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
35bfc94df6621ae2d8ab2fc244f32b9aa2ad1fe4
54
py
Python
conman/routes/__init__.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
2
2019-07-02T04:55:37.000Z
2019-12-16T15:11:19.000Z
conman/routes/__init__.py
Ian-Foote/django-conman
8505a39806f4a62fb11666a4d53c64c443968e36
[ "BSD-2-Clause" ]
81
2015-07-27T23:21:49.000Z
2018-05-21T22:06:09.000Z
conman/routes/__init__.py
Ian-Foote/django-conman
8505a39806f4a62fb11666a4d53c64c443968e36
[ "BSD-2-Clause" ]
2
2015-10-06T09:18:06.000Z
2017-03-17T08:51:56.000Z
default_app_config = 'conman.routes.apps.RouteConfig'
27
53
0.833333
7
54
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
54
1
54
54
0.843137
0
0
0
0
0
0.555556
0.555556
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
35d34636720ae91cc9bed324d0b36b2b2dfacc9f
791
py
Python
tools350/Im2MIF/MifEntry.py
tn74/350-tools-mk2
5315d14ac1812e9a7690e0938c541d95790dc660
[ "MIT" ]
null
null
null
tools350/Im2MIF/MifEntry.py
tn74/350-tools-mk2
5315d14ac1812e9a7690e0938c541d95790dc660
[ "MIT" ]
null
null
null
tools350/Im2MIF/MifEntry.py
tn74/350-tools-mk2
5315d14ac1812e9a7690e0938c541d95790dc660
[ "MIT" ]
null
null
null
from math import ceil class MifEntry: def __init__(self, value=0, width=1): """ :param value: Value of the entry :param width: Width of the entry, specified in bits """ self.value = value self.width = self.hex_bits_needed(width) @staticmethod def hex_bits_...
25.516129
102
0.597977
108
791
4.185185
0.342593
0.099558
0.086283
0.119469
0.137168
0.137168
0.137168
0
0
0
0
0.00885
0.285714
791
30
103
26.366667
0.79115
0.106195
0
0.111111
0
0
0.001481
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.166667
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
35e6c2b2abe38f3bb4d280e030704ff2179fbce8
55
py
Python
dscu/predict.py
PengFoo/dscu
346148ee36d60e1e7ab65186d0bf0fc3e052ed96
[ "BSD-3-Clause" ]
1
2017-03-31T18:16:54.000Z
2017-03-31T18:16:54.000Z
dscu/predict.py
PengFoo/dscu
346148ee36d60e1e7ab65186d0bf0fc3e052ed96
[ "BSD-3-Clause" ]
null
null
null
dscu/predict.py
PengFoo/dscu
346148ee36d60e1e7ab65186d0bf0fc3e052ed96
[ "BSD-3-Clause" ]
null
null
null
""" file: predict author: fupeng date: 2017/5/17 """
6.875
15
0.618182
8
55
4.25
1
0
0
0
0
0
0
0
0
0
0
0.155556
0.181818
55
7
16
7.857143
0.6
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ea1adb75851589f6defdcafc2ed14e6fbbeda6f9
126
py
Python
drf_jsonmask/__init__.py
hartungstenio/drf-jsonmask
dde5922ffa09627d447a23cab16a4d1e094f5e14
[ "0BSD" ]
null
null
null
drf_jsonmask/__init__.py
hartungstenio/drf-jsonmask
dde5922ffa09627d447a23cab16a4d1e094f5e14
[ "0BSD" ]
null
null
null
drf_jsonmask/__init__.py
hartungstenio/drf-jsonmask
dde5922ffa09627d447a23cab16a4d1e094f5e14
[ "0BSD" ]
null
null
null
"""Package for drf-jsonmask""" __project__ = "drf_jsonmask" __version__ = "0.1.1" VERSION = __project__ + '-' + __version__
18
41
0.690476
14
126
5
0.571429
0.314286
0
0
0
0
0
0
0
0
0
0.027778
0.142857
126
6
42
21
0.62037
0.190476
0
0
0
0
0.1875
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
ea1f7a11b0025d54c85552c0cb5cb366d003018c
141
py
Python
0x04-python-more_data_structures/9-multiply_by_2.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
0x04-python-more_data_structures/9-multiply_by_2.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
0x04-python-more_data_structures/9-multiply_by_2.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
#!/usr/bin/python3 def multiply_by_2(a_dictionary): a = {} for x, y in a_dictionary.items(): a.update({x: y*2}) return a
20.142857
37
0.588652
24
141
3.291667
0.666667
0.278481
0
0
0
0
0
0
0
0
0
0.028302
0.248227
141
6
38
23.5
0.716981
0.120567
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
ea231b6337f06f639ef439e54b5dc92f4e0bebb7
3,747
py
Python
mediagoblin/api/routing.py
saksham1115/mediagoblin
41302ad2b622b340caeb13339338ab3a5d0f7e6b
[ "CC0-1.0" ]
7
2020-05-27T03:57:21.000Z
2021-04-21T02:17:39.000Z
mediagoblin/api/routing.py
saksham1115/mediagoblin
41302ad2b622b340caeb13339338ab3a5d0f7e6b
[ "CC0-1.0" ]
1
2018-01-06T18:12:02.000Z
2018-01-06T18:27:31.000Z
mediagoblin/api/routing.py
saksham1115/mediagoblin
41302ad2b622b340caeb13339338ab3a5d0f7e6b
[ "CC0-1.0" ]
2
2019-05-13T14:42:34.000Z
2021-08-28T10:36:46.000Z
# GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either versio...
25.841379
77
0.715239
486
3,747
5.372428
0.234568
0.16622
0.130984
0.114516
0.587131
0.512064
0.414784
0.366526
0.328993
0.230946
0
0.00282
0.148385
3,747
144
78
26.020833
0.815418
0.215639
0
0.392523
0
0
0.622945
0.607192
0
0
0
0
0
1
0
true
0
0.009346
0
0.009346
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ea594b5feb3c6446f9d49146028d7f0722399346
1,791
py
Python
httprunner/config.py
Arvingrep/httprunner
35e1fcece13f3e1a3b611366d24d27a08c0d4820
[ "Apache-2.0" ]
1
2020-10-17T06:03:16.000Z
2020-10-17T06:03:16.000Z
httprunner/config.py
Arvingrep/httprunner
35e1fcece13f3e1a3b611366d24d27a08c0d4820
[ "Apache-2.0" ]
null
null
null
httprunner/config.py
Arvingrep/httprunner
35e1fcece13f3e1a3b611366d24d27a08c0d4820
[ "Apache-2.0" ]
null
null
null
import inspect from typing import Text from httprunner.models import TConfig, TConfigThrift class ConfigThrift(object): def __init__(self, config: TConfig) -> None: self.__config = config self.__config.thrift = TConfigThrift() def psm(self, psm: Text) -> "ConfigThrift": self.__config...
26.731343
70
0.639308
208
1,791
5.245192
0.206731
0.174152
0.095325
0.095325
0.245646
0.084326
0.084326
0.084326
0.084326
0
0
0.000747
0.252373
1,791
66
71
27.136364
0.81404
0
0
0.291667
0
0
0.040201
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.104167
0.6875
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
ea5f55bf17a55eff62d90cb09f917d317f0522d8
228
py
Python
python/cursoemvideo/007.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/007.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/007.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
# Reads two grades and prints arithmetic mean grade1 = float(input('Digite a primeira nota: ')) grade2 = float(input('Digite a segunda nota: ')) mean = (grade1 + grade2) / 2 print('A média das notas é: {:.1f}'.format(mean))
22.8
49
0.679825
34
228
4.558824
0.705882
0.129032
0.206452
0.219355
0
0
0
0
0
0
0
0.031746
0.171053
228
9
50
25.333333
0.78836
0.188596
0
0
0
0
0.404372
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea611e5b548ee2f583161adca11ad0b27767634f
876
py
Python
labpy.py
NurainiSeptiana/labpy3
e56f3754ea9cdc2c9d6e1fab6e9c35b6e86cea1c
[ "Xnet", "X11" ]
1
2021-06-11T08:10:51.000Z
2021-06-11T08:10:51.000Z
labpy.py
NurainiSeptiana/labpy3
e56f3754ea9cdc2c9d6e1fab6e9c35b6e86cea1c
[ "Xnet", "X11" ]
null
null
null
labpy.py
NurainiSeptiana/labpy3
e56f3754ea9cdc2c9d6e1fab6e9c35b6e86cea1c
[ "Xnet", "X11" ]
null
null
null
print ('Program untuk menentukan bilangan terbesar') def pengulangan(): print ('Masukkan 3 bilangan yang diinginkan!') a=int(input('bilangan1 = ')) b=int(input('bilangan2 = ')) c=int(input('bilangan3 = ')) if a>b and a>c: if b>c: print (a, 'adalah bilangan terbesar dari', b, 'dan', c,) else: print (a, ...
28.258065
78
0.634703
134
876
4.149254
0.320896
0.201439
0.23741
0.280576
0.388489
0.388489
0
0
0
0
0
0.009859
0.189498
876
31
79
28.258065
0.773239
0
0
0.137931
0
0
0.464082
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.068966
0.37931
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
ea61b17dc22af1697e4e52dc1d9248834032ef42
434
py
Python
setup.py
stavrakidis/pd_multithreading
f5737e907b59448fae0d2102a90f9db4d863418a
[ "MIT" ]
null
null
null
setup.py
stavrakidis/pd_multithreading
f5737e907b59448fae0d2102a90f9db4d863418a
[ "MIT" ]
14
2019-02-20T15:18:17.000Z
2021-06-02T00:38:20.000Z
setup.py
stavrakidis/pd_multiprocessing
f5737e907b59448fae0d2102a90f9db4d863418a
[ "MIT" ]
null
null
null
""" setup.py of this project """ from setuptools import setup CLASSIFIERS = [ 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Languag...
18.869565
44
0.587558
48
434
5.291667
0.5
0.448819
0.590551
0.511811
0
0
0
0
0
0
0
0.04878
0.24424
434
22
45
19.727273
0.72561
0.0553
0
0
0
0
0.597015
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
ea834a7e77d70d296b247ac0b7b9fcc4b9af9fc2
764
py
Python
gltflib/models/occlusion_texture_info.py
CJH07170610/gltflib
c5940d4d636ec39b7e29b1fb926e961a2a847182
[ "MIT" ]
null
null
null
gltflib/models/occlusion_texture_info.py
CJH07170610/gltflib
c5940d4d636ec39b7e29b1fb926e961a2a847182
[ "MIT" ]
null
null
null
gltflib/models/occlusion_texture_info.py
CJH07170610/gltflib
c5940d4d636ec39b7e29b1fb926e961a2a847182
[ "MIT" ]
null
null
null
from dataclasses import dataclass from dataclasses_json import dataclass_json from typing import Optional from .texture_info import TextureInfo @dataclass_json @dataclass class OcclusionTextureInfo(TextureInfo): """ Material Occlusion Texture Info Properties: index (integer) The index of the texture. ...
36.380952
116
0.76178
89
764
6.494382
0.58427
0.051903
0
0
0
0
0
0
0
0
0
0.00317
0.174084
764
20
117
38.2
0.912837
0.608639
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
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
0
1
0
1
0
1
0
0
3
ea9e23884caa9fafff6b19944f513c1c8ca1b595
261
py
Python
app/GPU.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
app/GPU.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
app/GPU.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
"""GPU Model.""" from masoniteorm.models import Model from masoniteorm.relationships import has_many class GPU(Model): """GPU Model.""" __table__ = "gpus" @has_many("id", "gpu_id") def pcs(self): from app.PC import PC return PC
21.75
46
0.639847
35
261
4.571429
0.542857
0.15
0.25
0
0
0
0
0
0
0
0
0
0.229885
261
12
47
21.75
0.79602
0.08046
0
0
0
0
0.052174
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.875
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ea9ed41042606c4e262fd819ad512d4adeed7257
144
py
Python
env/Lib/site-packages/promise/thread_scheduler.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
null
null
null
env/Lib/site-packages/promise/thread_scheduler.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
null
null
null
env/Lib/site-packages/promise/thread_scheduler.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
null
null
null
from threading import Thread class ThreadScheduler(object): def call(self, fn): thread = Thread(target=fn) thread.start()
18
34
0.659722
17
144
5.588235
0.764706
0.168421
0
0
0
0
0
0
0
0
0
0
0.243056
144
7
35
20.571429
0.87156
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
576b8c9d2719d8f3c8b81d8e95ba7e012e0056fe
762
py
Python
exercises/ex04.py
duliodenis/learn-python-the-hard-way
fba2daaf6d1ec0c7ff1ea4d559e0b13a2c02a9c7
[ "MIT" ]
null
null
null
exercises/ex04.py
duliodenis/learn-python-the-hard-way
fba2daaf6d1ec0c7ff1ea4d559e0b13a2c02a9c7
[ "MIT" ]
null
null
null
exercises/ex04.py
duliodenis/learn-python-the-hard-way
fba2daaf6d1ec0c7ff1ea4d559e0b13a2c02a9c7
[ "MIT" ]
null
null
null
# # ex04.py # Python the Hard Way Exercise #4 # # Created by Dulio Denis on 12/24/14. # Copyright (c) 2014 ddApps. All rights reserved. # ------------------------------------------------ # # Set-up the Variables cars = 100 spaceInACar = 4.0 drivers = 30 passengers = 90 carsNotDriven = drivers carsDriven = drivers ...
28.222222
68
0.695538
94
762
5.638298
0.648936
0.056604
0.067925
0
0
0
0
0
0
0
0
0.033794
0.145669
762
27
69
28.222222
0.780338
0.279528
0
0
0
0
0.318436
0
0
0
0
0
0
0
null
null
0.285714
0
null
null
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
1
0
3
5783fa2ad5a5721ef05ae51c204795347181220b
531
py
Python
crawlib/tests/dummy_site_crawler/movie_url_builder.py
MacHu-GWU/crawlib-project
b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991
[ "MIT" ]
1
2020-06-19T09:45:20.000Z
2020-06-19T09:45:20.000Z
crawlib/tests/dummy_site_crawler/movie_url_builder.py
MacHu-GWU/crawlib-project
b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991
[ "MIT" ]
1
2019-12-27T18:41:21.000Z
2019-12-27T18:41:21.000Z
crawlib/tests/dummy_site_crawler/movie_url_builder.py
MacHu-GWU/crawlib-project
b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991
[ "MIT" ]
1
2018-08-22T01:27:32.000Z
2018-08-22T01:27:32.000Z
# -*- coding: utf-8 -*- from crawlib.tests.dummy_site.config import PORT from crawlib.middleware.url_builder import BaseUrlBuilder class UrlBuilder(BaseUrlBuilder): domain = "http://127.0.0.1:{}".format(PORT) def url_first_listpage(self): return self.join_all("movie", "listpage", str(1)) def ur...
26.55
59
0.693032
74
531
4.783784
0.472973
0.050847
0.118644
0.144068
0.248588
0.186441
0.186441
0
0
0
0
0.018018
0.163842
531
19
60
27.947368
0.779279
0.039548
0
0
0
0
0.098425
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.272727
0.909091
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
579fc58f51de68ef9e698a95966205dc5ab71a57
668
py
Python
sandbox_maml/rocky/tf/policies/uniform_control_policy.py
jackwilkinson255/mbmpo_master
e9e0eaf542c7895764dcb0bfee28752818124ff2
[ "MIT" ]
28
2018-11-15T14:14:23.000Z
2022-01-10T01:53:43.000Z
sandbox_maml/rocky/tf/policies/uniform_control_policy.py
hongzimao/model_ensemble_meta_learning
8b1351df94dfe530efaff1118022315c8d877774
[ "MIT" ]
3
2019-05-05T23:39:01.000Z
2021-06-15T15:28:06.000Z
sandbox_maml/rocky/tf/policies/uniform_control_policy.py
hongzimao/model_ensemble_meta_learning
8b1351df94dfe530efaff1118022315c8d877774
[ "MIT" ]
14
2018-11-15T16:47:02.000Z
2021-05-28T14:58:01.000Z
from sandbox_maml.rocky.tf.policies.base import Policy from rllab_maml.core.serializable import Serializable class UniformControlPolicy(Policy, Serializable): def __init__( self, env_spec, ): Serializable.quick_init(self, locals()) super(UniformControlPolicy, self).__in...
26.72
69
0.682635
76
668
5.723684
0.513158
0.048276
0.073563
0.096552
0.124138
0
0
0
0
0
0
0
0.221557
668
24
70
27.833333
0.836538
0
0
0
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.222222
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
57ad1db4a8232fb38de4ed5dfaf4fa82cce1940f
242
py
Python
app/schema/answers/textfield_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
app/schema/answers/textfield_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
8
2020-03-24T15:24:18.000Z
2022-03-02T04:32:56.000Z
app/schema/answers/textfield_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
from app.schema.answer import Answer from app.schema.widgets.text_widget import TextWidget class TextfieldAnswer(Answer): def __init__(self, answer_id=None): super().__init__(answer_id) self.widget = TextWidget(self.id)
26.888889
53
0.743802
32
242
5.28125
0.53125
0.08284
0.153846
0
0
0
0
0
0
0
0
0
0.161157
242
8
54
30.25
0.832512
0
0
0
0
0
0
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
57b6e6f3dbe75c1ec386e5d969350879e5f3d876
625
py
Python
song_match/effect/effects/__init__.py
gbroques/cozmo-song-match
7cea763cc3fe63adc3a7e2dc226bd8b48ce72f71
[ "MIT" ]
8
2018-03-22T18:07:45.000Z
2019-08-10T00:35:57.000Z
song_match/effect/effects/__init__.py
gbroques/cozmo-song-match
7cea763cc3fe63adc3a7e2dc226bd8b48ce72f71
[ "MIT" ]
55
2018-03-17T19:34:43.000Z
2022-03-11T23:18:20.000Z
song_match/effect/effects/__init__.py
gbroques/cozmo-song-match
7cea763cc3fe63adc3a7e2dc226bd8b48ce72f71
[ "MIT" ]
3
2018-03-27T23:33:47.000Z
2019-03-18T21:22:52.000Z
"""Package containing various game effects. * :class:`~song_match.effect.effects.correct_sequence.CorrectSequenceEffect` - Played when a player matches the correct notes. * :class:`~song_match.effect.effects.round_transition.RoundTransitionEffect` - Played when transitioning between game rounds. * :class...
41.666667
78
0.8048
73
625
6.753425
0.465753
0.054767
0.085193
0.121704
0.1643
0
0
0
0
0
0
0
0.12
625
14
79
44.642857
0.896364
0.6752
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
57bbdb02be2943b1abc1608483abd0b4fb66cfac
20
py
Python
models/__init__.py
Justcoderguy/ironpython_training
4dd6b15419eecde88e42744baca51734e34eab84
[ "Apache-2.0" ]
null
null
null
models/__init__.py
Justcoderguy/ironpython_training
4dd6b15419eecde88e42744baca51734e34eab84
[ "Apache-2.0" ]
null
null
null
models/__init__.py
Justcoderguy/ironpython_training
4dd6b15419eecde88e42744baca51734e34eab84
[ "Apache-2.0" ]
null
null
null
__author__ = 'pzqa'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
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
57c67b0923c073fa1666e99a41b45cd785eced91
137
py
Python
app/app/main.py
Andurshurrdurr/FlaskMask
d6460e9a7b3782916e20ead32e9e0b50e0c26738
[ "MIT" ]
null
null
null
app/app/main.py
Andurshurrdurr/FlaskMask
d6460e9a7b3782916e20ead32e9e0b50e0c26738
[ "MIT" ]
null
null
null
app/app/main.py
Andurshurrdurr/FlaskMask
d6460e9a7b3782916e20ead32e9e0b50e0c26738
[ "MIT" ]
null
null
null
from app import app app.debug = True if __name__ == "__main__": print "Running webserver!" app.run(host='0.0.0.0', port = 8085)
19.571429
40
0.649635
22
137
3.681818
0.727273
0.074074
0.074074
0
0
0
0
0
0
0
0
0.072727
0.19708
137
6
41
22.833333
0.663636
0
0
0
0
0
0.240876
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
57c67e68f79eb4cde8bb418498f751355557bd6d
161
py
Python
src/blogapp/blog/urls.py
hrishijd/blogapp
0c2ad7fccea37ce8afe1d850fc5292f8a148335c
[ "bzip2-1.0.6" ]
null
null
null
src/blogapp/blog/urls.py
hrishijd/blogapp
0c2ad7fccea37ce8afe1d850fc5292f8a148335c
[ "bzip2-1.0.6" ]
null
null
null
src/blogapp/blog/urls.py
hrishijd/blogapp
0c2ad7fccea37ce8afe1d850fc5292f8a148335c
[ "bzip2-1.0.6" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.Home,name='blog-Home'), path('about/', views.About,name='blog-About'), ]
23
50
0.664596
22
161
4.863636
0.5
0.149533
0
0
0
0
0
0
0
0
0
0
0.149068
161
7
51
23
0.781022
0
0
0
0
0
0.154321
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
57dd86f3ab015017e67f063ab67bcaa5615d4d99
2,903
py
Python
src/utils/encoding.py
CristianLazoQuispe/BNP-LATAM-Datathon
4e367c0193f23962e47d797d236a8bb3a5fa7e5d
[ "MIT" ]
4
2021-05-23T04:13:45.000Z
2021-12-10T04:21:21.000Z
src/utils/encoding.py
CristianLazoQuispe/BNP-LATAM-Datathon
4e367c0193f23962e47d797d236a8bb3a5fa7e5d
[ "MIT" ]
null
null
null
src/utils/encoding.py
CristianLazoQuispe/BNP-LATAM-Datathon
4e367c0193f23962e47d797d236a8bb3a5fa7e5d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # + import pandas as pd import lightgbm as lgbm import numpy as np import os from sklearn import preprocessing def label_encoding(df,label_cols = [], drop_original = True, missing_new_cat = True): ''' Function to get the encoding Label of a variable Input: -df : Datafra...
34.559524
93
0.565277
417
2,903
3.721823
0.189448
0.143041
0.130799
0.072165
0.781572
0.743557
0.739691
0.608247
0.578608
0.543814
0
0.003962
0.304513
2,903
83
94
34.975904
0.764735
0.062005
0
0.820896
0
0
0.083984
0
0
0
0
0
0
1
0.029851
false
0
0.104478
0
0.164179
0.119403
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
57e4e5f12b99684112ee17ae392549cab340e62f
476
py
Python
src/test_find_outlier.py
maxawolff/code-katas
6929b68f7812f2edd8f78265145757e1b0781377
[ "MIT" ]
null
null
null
src/test_find_outlier.py
maxawolff/code-katas
6929b68f7812f2edd8f78265145757e1b0781377
[ "MIT" ]
null
null
null
src/test_find_outlier.py
maxawolff/code-katas
6929b68f7812f2edd8f78265145757e1b0781377
[ "MIT" ]
null
null
null
"""Test module for find_outlier.py.""" import pytest test_list = [([2, 6, 8, 10, 3], 3), ([2, 4, 6, 7, 8], 7), ([3, 1, 5, 42, 9, 11], 42), ([1, 6, 7], 6), ([4, 3, 2, 2, 6, 8], 3)] @pytest.mark.parametrize('with_outlier, removed', test_list) def test_find_outlier(w...
28
60
0.560924
72
476
3.555556
0.416667
0.257813
0.210938
0.171875
0.226563
0
0
0
0
0
0
0.096866
0.262605
476
16
61
29.75
0.632479
0.134454
0
0
0
0
0.052369
0
0
0
0
0
0.1
1
0.1
false
0
0.2
0
0.3
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
57f86ba1a4b0931c1a1a0c80b34f5ca6e8344b24
1,204
py
Python
Algorithms/Assign9/main2.py
thebishaldeb/ClassAssignments
f44c51695266da0c98d1ab3516c473c6d1008933
[ "MIT" ]
null
null
null
Algorithms/Assign9/main2.py
thebishaldeb/ClassAssignments
f44c51695266da0c98d1ab3516c473c6d1008933
[ "MIT" ]
null
null
null
Algorithms/Assign9/main2.py
thebishaldeb/ClassAssignments
f44c51695266da0c98d1ab3516c473c6d1008933
[ "MIT" ]
null
null
null
StringPieces = ["AY8PMPAR", "NGAT", "ME", "OME.", "ETINGAT2", "7MA", "Y8PMPA", "RKHO", "ME", "MEE", "TIN", "GAT27M", "KHOME.", "MEETI", "27MAY8", "PMP", "ARKH"] def compareStrings(i, j): count = 0 for k in range(len(StringPieces[i])): if StringPieces[j][count] == StringPieces[i][k]: ...
31.684211
146
0.525748
135
1,204
4.688889
0.288889
0.225908
0.197472
0.205371
0.236967
0.236967
0
0
0
0
0
0.022809
0.30814
1,204
37
147
32.540541
0.737095
0
0
0.241379
0
0
0.077243
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.103448
0.172414
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
17a87efb2c3c8798eba5ec08f6280a778c5a0aab
156
py
Python
python/setup.py
PHPirates/graphframes
52ea9b1c710d86b01db9e11c9535dda266601420
[ "Apache-2.0" ]
null
null
null
python/setup.py
PHPirates/graphframes
52ea9b1c710d86b01db9e11c9535dda266601420
[ "Apache-2.0" ]
null
null
null
python/setup.py
PHPirates/graphframes
52ea9b1c710d86b01db9e11c9535dda266601420
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='graphframes', version='0.8.2', packages=['graphframes', 'graphframes.lib', 'graphframes.examples'] )
19.5
71
0.685897
17
156
6.294118
0.764706
0
0
0
0
0
0
0
0
0
0
0.022727
0.153846
156
7
72
22.285714
0.787879
0
0
0
0
0
0.397436
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
17eb832607aa551f15a9f890a63c7178924de1f3
77
py
Python
read.py
qai222/gixdsolver
52c62b15aecb18fa626d4f447b8d56055659b99a
[ "MIT" ]
null
null
null
read.py
qai222/gixdsolver
52c62b15aecb18fa626d4f447b8d56055659b99a
[ "MIT" ]
null
null
null
read.py
qai222/gixdsolver
52c62b15aecb18fa626d4f447b8d56055659b99a
[ "MIT" ]
null
null
null
import pickle results = pickle.load(open('result.pkl', 'rb')) print(results)
19.25
47
0.727273
11
77
5.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.090909
77
3
48
25.666667
0.8
0
0
0
0
0
0.155844
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
aa2f3741834fd24d5bf2b55b88c3401e49dffa2f
72
py
Python
data/studio21_generated/interview/0390/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0390/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0390/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def winnerSquareGame(self, n: int) -> bool:
24
47
0.611111
8
72
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.277778
72
3
48
24
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
aa37c85bd43aad1b4343b2c602baabff6c8b1f09
698
py
Python
src/polygon/models.py
Nibraz15/Django-Mozio
5cf6a7d54299c522d9c9a0d74e0e3f685422c577
[ "bzip2-1.0.6" ]
null
null
null
src/polygon/models.py
Nibraz15/Django-Mozio
5cf6a7d54299c522d9c9a0d74e0e3f685422c577
[ "bzip2-1.0.6" ]
null
null
null
src/polygon/models.py
Nibraz15/Django-Mozio
5cf6a7d54299c522d9c9a0d74e0e3f685422c577
[ "bzip2-1.0.6" ]
null
null
null
from django.conf import settings from djgeojson.fields import PolygonField from django.urls import reverse from rest_framework.reverse import reverse as api_reverse from django.db import models class Polygons(models.Model): polygon_id = models.AutoField(primary_key=True) user = models.For...
34.9
92
0.696275
87
698
5.425287
0.609195
0.063559
0
0
0
0
0
0
0
0
0
0.011132
0.227794
698
20
93
34.9
0.864564
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.125
0.9375
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
a4d9509f6eb6879d486d16489a804145e00b07ff
3,288
py
Python
smlcs/helper/read_data.py
AnandBhatUpb/smlcs-final-submission
54d810d2ed1dc5907973ce55d93d318bec0d4011
[ "Apache-2.0" ]
null
null
null
smlcs/helper/read_data.py
AnandBhatUpb/smlcs-final-submission
54d810d2ed1dc5907973ce55d93d318bec0d4011
[ "Apache-2.0" ]
null
null
null
smlcs/helper/read_data.py
AnandBhatUpb/smlcs-final-submission
54d810d2ed1dc5907973ce55d93d318bec0d4011
[ "Apache-2.0" ]
null
null
null
import pandas as pd class ReadData: def read_clf_data(self, logger): try: X = self.clf_dataset.iloc[:, :-1].values Y = self.clf_dataset.iloc[:, 51].values return X, Y, list(self.clf_dataset.iloc[:, :-10]) except Exception as e: logger.error('Failed ...
46.971429
105
0.589416
406
3,288
4.586207
0.174877
0.075188
0.082707
0.068743
0.819012
0.815789
0.75188
0.66971
0.577873
0.496241
0
0.007624
0.281934
3,288
69
106
47.652174
0.781025
0
0
0.396552
0
0
0.265673
0.031041
0
0
0
0
0
1
0.068966
false
0
0.017241
0
0.206897
0
0
0
0
null
0
0
0
1
1
1
0
0
0
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
35058e3a9bbaecd7a99f88d46a07da4a18c00c24
124
py
Python
src/admin/widgets/longtext.py
aimanow/sft
dce87ffe395ae4bd08b47f28e07594e1889da819
[ "Apache-2.0" ]
280
2016-07-19T09:59:02.000Z
2022-03-05T19:02:48.000Z
widgets/longtext.py
YAR-SEN/GodMode2
d8a79b45c6d8b94f3d2af3113428a87d148d20d0
[ "WTFPL" ]
3
2016-07-20T05:36:49.000Z
2018-12-10T16:16:19.000Z
widgets/longtext.py
YAR-SEN/GodMode2
d8a79b45c6d8b94f3d2af3113428a87d148d20d0
[ "WTFPL" ]
20
2016-07-20T10:51:34.000Z
2022-01-12T23:15:22.000Z
import wtforms from widgets.text import TextWidget class LongTextWidget(TextWidget): field = wtforms.TextAreaField()
15.5
35
0.790323
13
124
7.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.145161
124
7
36
17.714286
0.924528
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3508d9c081b3f379991cdc3ed22f9c649ef36f5d
371
py
Python
.upython/stubs/struct.py
stalyatech/upython-samples
1a28e09bef278532eda7a5ab1a80b3f80f525e63
[ "MIT" ]
null
null
null
.upython/stubs/struct.py
stalyatech/upython-samples
1a28e09bef278532eda7a5ab1a80b3f80f525e63
[ "MIT" ]
null
null
null
.upython/stubs/struct.py
stalyatech/upython-samples
1a28e09bef278532eda7a5ab1a80b3f80f525e63
[ "MIT" ]
1
2020-11-15T09:00:59.000Z
2020-11-15T09:00:59.000Z
""" Module: 'struct' on pySBC 1.13.0 with FW1.5.12-264 """ # MCU: (sysname='pySBC', nodename='pySBC', release='1.13.0 with FW1.5.12', version='v1.13-264-gb0c6ec5bb-dirty on 2020-11-25', machine='simpleRTK-SBC with STM32F745') # Stubber: 1.3.4 def calcsize(): pass def pack(): pass def pack_into(): pass de...
17.666667
166
0.644205
61
371
3.885246
0.606557
0.118143
0.033755
0.067511
0.118143
0.118143
0.118143
0
0
0
0
0.143791
0.175202
371
20
167
18.55
0.630719
0.622642
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
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
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
350a5e934b49f395792b68b48332a91a56924904
990
py
Python
lectures/circle.py
Anthea98/DSCI_511_prog-dsci
827cb70e6acc6f00d70704f4ec9f2165de0f9674
[ "CNRI-Python" ]
12
2019-12-13T23:53:22.000Z
2021-12-17T19:28:21.000Z
lectures/circle.py
Anthea98/DSCI_511_prog-dsci
827cb70e6acc6f00d70704f4ec9f2165de0f9674
[ "CNRI-Python" ]
1
2021-09-07T06:14:03.000Z
2021-09-07T06:14:03.000Z
lectures/circle.py
Anthea98/DSCI_511_prog-dsci
827cb70e6acc6f00d70704f4ec9f2165de0f9674
[ "CNRI-Python" ]
19
2019-08-31T07:02:06.000Z
2022-03-08T03:08:50.000Z
class Circle: """A circle with a centre (x,y) and radius r.""" def __init__(self, x, y, r): self.x = x self.y = y self.r = r def area(self): return np.pi * self.r**2 def circumference(self): return 2.0 * np.pi * self.r def dist(self): "...
26.756757
90
0.534343
151
990
3.430464
0.337748
0.057915
0.023166
0.034749
0
0
0
0
0
0
0
0.016224
0.315152
990
37
91
26.756757
0.747788
0.219192
0
0
0
0
0.055777
0
0
0
0
0
0
1
0.363636
false
0.045455
0
0.136364
0.681818
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
350f7dd9b3daf5516ad28660c1578c69c0d3c6c3
14,285
py
Python
cross3d/abstract/abstractscenecamera.py
vedantirb/cross3d
e27c2dc80bf607ef7ccf3970b713bfea8211228b
[ "MIT" ]
129
2016-07-26T16:00:56.000Z
2021-08-07T03:44:41.000Z
cross3d/abstract/abstractscenecamera.py
vedantirb/cross3d
e27c2dc80bf607ef7ccf3970b713bfea8211228b
[ "MIT" ]
3
2016-08-26T01:37:03.000Z
2019-08-13T01:46:01.000Z
cross3d/abstract/abstractscenecamera.py
vedantirb/cross3d
e27c2dc80bf607ef7ccf3970b713bfea8211228b
[ "MIT" ]
33
2016-07-30T00:26:00.000Z
2022-03-09T07:10:54.000Z
## # \namespace cross3d.abstract.abstractscenecamera # # \remarks The AbstractSceneObject class provides the base foundation for the 3d Object framework for the cross3d system # This class will provide a generic overview structure for all manipulations of 3d objects # # \author eric # \author Blur Studio #...
26.801126
136
0.706755
1,677
14,285
6.010137
0.222421
0.111321
0.099216
0.111122
0.245362
0.171346
0.139002
0.122135
0.109435
0.086616
0
0.007384
0.213161
14,285
532
137
26.851504
0.889324
0.441862
0
0.512545
0
0
0.016411
0.011474
0
0
0
0
0
1
0.308244
false
0.028674
0.014337
0.18638
0.609319
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
351d5edb55d8ae112cc8b51ead5115f2348d3164
346
py
Python
backend/common/views.py
shakib609/django-redis-blog
538f7dc3962600a985a97e26a778a1d42db98ae6
[ "MIT" ]
null
null
null
backend/common/views.py
shakib609/django-redis-blog
538f7dc3962600a985a97e26a778a1d42db98ae6
[ "MIT" ]
6
2021-03-09T20:16:43.000Z
2022-02-26T18:55:13.000Z
backend/common/views.py
shakib609/django-redis-blog
538f7dc3962600a985a97e26a778a1d42db98ae6
[ "MIT" ]
null
null
null
from rest_framework.generics import RetrieveAPIView from rest_framework.permissions import IsAuthenticated from users.serializers import UserSerializer class AuhthenticatedUserDetails(RetrieveAPIView): permission_classes = [IsAuthenticated] serializer_class = UserSerializer def get_object(self): ...
26.615385
54
0.817919
34
346
8.176471
0.676471
0.057554
0.122302
0
0
0
0
0
0
0
0
0
0.138728
346
12
55
28.833333
0.932886
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
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
0
0
0
1
1
1
0
0
3
353b0fe5607dfe152ee7d38dd35df087073d25fc
772
py
Python
Obstacle.py
Laecherlich-Lol/The-contest-of-champions
1060de0256806a2e13be1650615e99ef00f10c65
[ "MIT" ]
null
null
null
Obstacle.py
Laecherlich-Lol/The-contest-of-champions
1060de0256806a2e13be1650615e99ef00f10c65
[ "MIT" ]
null
null
null
Obstacle.py
Laecherlich-Lol/The-contest-of-champions
1060de0256806a2e13be1650615e99ef00f10c65
[ "MIT" ]
1
2021-06-30T19:24:35.000Z
2021-06-30T19:24:35.000Z
import pygame class Obstacle: def __init__(self, size, type, color): self.size = size self.type = type self.color = color self.position = 0 self.types = {'red': 'dead', 'white': 'dangerous'} def get_type(self): return self.types[self.type]...
19.3
43
0.562176
97
772
4.350515
0.247423
0.094787
0.132701
0
0
0
0
0
0
0
0
0.005837
0.334197
772
39
44
19.794872
0.815175
0
0
0.296296
0
0
0.027237
0
0
0
0
0
0
1
0.37037
false
0
0.037037
0.148148
0.592593
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
353c91e7927089d898f14bda06fce8de63da9f97
162
py
Python
test-stock-final-project/test-tushare.py
0lidaxiang/data-analysis
489a0339d12dcfb68cc212f67a9d52b74bc2a3f3
[ "Apache-2.0" ]
2
2018-10-16T12:54:57.000Z
2018-12-06T13:32:00.000Z
test-stock-final-project/test-tushare.py
0lidaxiang/data-analysis
489a0339d12dcfb68cc212f67a9d52b74bc2a3f3
[ "Apache-2.0" ]
null
null
null
test-stock-final-project/test-tushare.py
0lidaxiang/data-analysis
489a0339d12dcfb68cc212f67a9d52b74bc2a3f3
[ "Apache-2.0" ]
1
2018-09-27T17:04:43.000Z
2018-09-27T17:04:43.000Z
import tushare as ts ts.get_latest_news() #默认获取最近80条新闻数据,只提供新闻类型、链接和标题 latenews = ts.get_latest_news(top=5,show_content=True) #显示最新5条新闻,并打印出新闻内容 print(latenews)
27
73
0.820988
25
162
5.12
0.76
0.078125
0.171875
0.234375
0
0
0
0
0
0
0
0.026667
0.074074
162
5
74
32.4
0.826667
0.271605
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
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
0
0
0
0
0
3
353f97979b9c6d0a6f9bff8cc48df2956a3acbc1
930
py
Python
botform/views.py
johan--/botforms
d10731b658459b1cf15b05820f227c3ac7bf9aa3
[ "MIT" ]
null
null
null
botform/views.py
johan--/botforms
d10731b658459b1cf15b05820f227c3ac7bf9aa3
[ "MIT" ]
null
null
null
botform/views.py
johan--/botforms
d10731b658459b1cf15b05820f227c3ac7bf9aa3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from django.contrib.auth.decorators import login_required from .models import Forms @login_required() def index_view(request): """ Show form default page """ forms = Forms.objects.all() return re...
21.627907
64
0.665591
116
930
5.181034
0.353448
0.091514
0.15807
0.199667
0.159734
0.159734
0
0
0
0
0
0.001337
0.195699
930
43
65
21.627907
0.802139
0.153763
0
0.166667
0
0
0.125
0
0
0
0
0
0
1
0.277778
false
0
0.222222
0
0.777778
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
1
0
0
0
0
1
0
0
3
103530369961412365c98aec58bc403344da48d6
6,079
py
Python
psx/_dump_/18/_dump_ida_/overlay_a/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/18/_dump_ida_/overlay_a/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/18/_dump_ida_/overlay_a/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x8013015C, "PresOnlyTestRoutine__Fv", SN_NOWARN) set_name(0x80130184, "FeInitBuffer__Fv", SN_NOWARN) set_name(0x801301AC, "FeAddEntry__Fii8TXT_JUSTiP7FeTableP5CFont", SN_NOWARN) set_name(0x8013021C, "FeAddTable__FP11FeMenuTablei", SN_NOWARN) set_name(0x8013029C, "FeDrawBuffer__Fv", SN_NOWARN) set_name(0x80130...
54.276786
76
0.835664
802
6,079
5.754364
0.329177
0.168364
0.262189
0.35753
0.299458
0.026219
0
0
0
0
0
0.165506
0.054779
6,079
111
77
54.765766
0.637661
0
0
0
0
0
0.342655
0.20102
0
0
0.182596
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1038d40c63b84d30b985c6a3b642d5f388bff46d
29,110
py
Python
test/test_application/test_vo_service.py
Jscorpio1611/spruned
12df1211477c569560df0a2f4160bf9d1d8afe6f
[ "MIT" ]
152
2018-03-03T20:49:37.000Z
2021-03-07T07:32:44.000Z
test/test_application/test_vo_service.py
Jscorpio1611/spruned
12df1211477c569560df0a2f4160bf9d1d8afe6f
[ "MIT" ]
106
2018-02-11T22:30:05.000Z
2021-05-17T21:47:03.000Z
test/test_application/test_vo_service.py
Jscorpio1611/spruned
12df1211477c569560df0a2f4160bf9d1d8afe6f
[ "MIT" ]
26
2018-04-12T18:07:10.000Z
2021-05-09T22:41:54.000Z
import asyncio import io import json import unittest from unittest.mock import Mock, create_autospec import binascii from pycoin.block import Block from spruned import settings from spruned.application.cache import CacheAgent from spruned.application.exceptions import ServiceException, InvalidPOWException from sprun...
56.966732
151
0.700618
1,507
29,110
13.302588
0.1785
0.025241
0.023744
0.027535
0.462563
0.448945
0.431735
0.431735
0.417818
0.362748
0
0.393121
0.236001
29,110
510
152
57.078431
0.508273
0
0
0.413361
0
0
0.473446
0.419581
0
0
0
0
0.039666
1
0.041754
false
0
0.031315
0
0.075157
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
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
105653f76424671086a6cbb2c131846b08d93bf2
24
py
Python
1043.py
Ricardoengithub/uri
ecbf49b4be5db540c6d825efe20998c7b72138da
[ "MIT" ]
null
null
null
1043.py
Ricardoengithub/uri
ecbf49b4be5db540c6d825efe20998c7b72138da
[ "MIT" ]
null
null
null
1043.py
Ricardoengithub/uri
ecbf49b4be5db540c6d825efe20998c7b72138da
[ "MIT" ]
null
null
null
lista = input().split()
12
23
0.625
3
24
5
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.714286
0
0
0
0
0
0
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
107219eb9e60f1ca208f95d524b5584ff77288ff
1,066
py
Python
test/test_parse.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
202
2015-01-12T13:47:29.000Z
2022-02-09T19:13:36.000Z
test/test_parse.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
14
2017-04-09T17:04:53.000Z
2021-05-16T11:08:34.000Z
test/test_parse.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
22
2015-09-11T18:35:10.000Z
2021-05-16T11:04:56.000Z
#! /usr/bin/env python '''Ensure our CLI parsing works''' import unittest from shovel.parser import parse class TestParse(unittest.TestCase): '''Test our argspec wrapper''' def test_basic(self): '''A few low-ball examples''' args, kwargs = parse('1 2 3 4 5'.split(' ')) self.assertEqu...
30.457143
74
0.567542
136
1,066
4.382353
0.419118
0.201342
0.100671
0.161074
0.35906
0.201342
0.090604
0
0
0
0
0.028714
0.248593
1,066
34
75
31.352941
0.715356
0.213884
0
0.111111
0
0
0.107448
0
0
0
0
0
0.444444
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
10838fec0cdf1f61ab53d9e294022a32092e5d5c
25
py
Python
config.py
chuckis/Google_form_bot
7a0cf8e92db8f10a351f840bdcebd4890155813b
[ "MIT" ]
4
2021-08-04T03:11:12.000Z
2021-08-04T16:25:16.000Z
config.py
chuckis/Google_form_bot
7a0cf8e92db8f10a351f840bdcebd4890155813b
[ "MIT" ]
null
null
null
config.py
chuckis/Google_form_bot
7a0cf8e92db8f10a351f840bdcebd4890155813b
[ "MIT" ]
3
2022-02-17T12:11:34.000Z
2022-03-01T10:54:09.000Z
token = "Your token here"
25
25
0.72
4
25
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.857143
0
0
0
0
0
0.576923
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
10853647cf96d73f0cacd95ceeaeb9d816d084cf
136
py
Python
server/server.py
PumpkinCAI/distributed-crawler-redis
ec9470c8bb5e6eb733730d046023faa0773be860
[ "MIT" ]
null
null
null
server/server.py
PumpkinCAI/distributed-crawler-redis
ec9470c8bb5e6eb733730d046023faa0773be860
[ "MIT" ]
null
null
null
server/server.py
PumpkinCAI/distributed-crawler-redis
ec9470c8bb5e6eb733730d046023faa0773be860
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- from subscriber import Subscriber if __name__ == '__main__': subscriber = Subscriber() subscriber.run()
17
33
0.669118
14
136
5.928571
0.714286
0.481928
0
0
0
0
0
0
0
0
0
0.009009
0.183824
136
7
34
19.428571
0.738739
0.147059
0
0
0
0
0.070175
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
1091419f7cfe4c8b55fb01f4223b92aaa91f18a9
969
py
Python
code/python/TimeSeriesAPIforDigitalPortals/v2/fds/sdk/TimeSeriesAPIforDigitalPortals/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
6
2022-02-07T16:34:18.000Z
2022-03-30T08:04:57.000Z
code/python/TimeSeriesAPIforDigitalPortals/v2/fds/sdk/TimeSeriesAPIforDigitalPortals/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
2
2022-02-07T05:25:57.000Z
2022-03-07T14:18:04.000Z
code/python/TimeSeriesAPIforDigitalPortals/v2/fds/sdk/TimeSeriesAPIforDigitalPortals/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
null
null
null
# flake8: noqa """ Prime Developer Trial No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ __version__ = "0.9.2" # import ApiClient from f...
34.607143
124
0.839009
100
969
8.08
0.42
0.069307
0.09901
0.39604
0.415842
0.415842
0
0
0
0
0
0.009185
0.101135
969
27
125
35.888889
0.918485
0.308566
0
0
1
0
0.007776
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
109236e31f95391ab9803b02fc998a5c9d267ae5
171
py
Python
mcs/src/tmp/te.py
jimsrc/seatos
e775dba1a2a96ff44b837cf8d85101ccfef302b1
[ "MIT" ]
null
null
null
mcs/src/tmp/te.py
jimsrc/seatos
e775dba1a2a96ff44b837cf8d85101ccfef302b1
[ "MIT" ]
null
null
null
mcs/src/tmp/te.py
jimsrc/seatos
e775dba1a2a96ff44b837cf8d85101ccfef302b1
[ "MIT" ]
1
2018-10-02T17:51:57.000Z
2018-10-02T17:51:57.000Z
from pylab import * def func(tt): if tt=='aa': print " ----> hell!" raise SystemExit else: return 999. print func('uu') print func('aa')
14.25
28
0.520468
22
171
4.045455
0.727273
0.202247
0
0
0
0
0
0
0
0
0
0.025862
0.321637
171
11
29
15.545455
0.741379
0
0
0
0
0
0.105263
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.333333
1
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
1
0
0
0
0
0
0
0
0
3
52bb1fc85b1037f3aa54f54ba60000c75f93f87b
6,650
py
Python
tst_url.py
pollord/ProxyIp
9e0836abc33191fbe858b5dbfe09a7e0b15b90f6
[ "Apache-2.0" ]
null
null
null
tst_url.py
pollord/ProxyIp
9e0836abc33191fbe858b5dbfe09a7e0b15b90f6
[ "Apache-2.0" ]
null
null
null
tst_url.py
pollord/ProxyIp
9e0836abc33191fbe858b5dbfe09a7e0b15b90f6
[ "Apache-2.0" ]
null
null
null
import requests import re import json from lxml import etree import time from pyquery import PyQuery as pq headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0'} # def crawl_daili66(page_count=1): # """ # 获取代理66 # :param page_count: 页码 # :return: 代理 # ...
40.797546
150
0.515639
827
6,650
4.002418
0.157195
0.065257
0.049849
0.063444
0.585196
0.538973
0.504532
0.477039
0.467674
0.431118
0
0.020301
0.281504
6,650
163
151
40.797546
0.672457
0.913534
0
0
0
0.125
0.209302
0
0
0
0
0
0
0
null
null
0
0.75
null
null
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
1
0
0
0
1
0
0
0
0
3
52db620e2937f8d1dba24f5ed8c1b80a256b5bfb
212
py
Python
pyops/pytestplus.py
five3/pyops
1e6ae59a8e8504bbbae9b188c789bfdce5d2c57e
[ "MIT" ]
9
2019-12-25T10:09:09.000Z
2022-02-22T12:32:46.000Z
pyops/pytestplus.py
five3/pyops
1e6ae59a8e8504bbbae9b188c789bfdce5d2c57e
[ "MIT" ]
null
null
null
pyops/pytestplus.py
five3/pyops
1e6ae59a8e8504bbbae9b188c789bfdce5d2c57e
[ "MIT" ]
7
2020-01-27T08:18:25.000Z
2021-08-28T06:39:55.000Z
def pytest_addoption(parser): group = parser.getgroup('general') group.addoption('--force_run', action='store_true', dest='force_run', default=False, help='force run ahAPICore case.')
42.4
73
0.660377
25
212
5.44
0.72
0.176471
0
0
0
0
0
0
0
0
0
0
0.193396
212
4
74
53
0.795322
0
0
0
0
0
0.292453
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
52dd55ba71394fe0bafd75d6d9ff1193a74ce838
852
py
Python
app/constants.py
sunderww/PyChip8
10592a608af8d29cff07ab4843cab97097ab0ddc
[ "MIT" ]
null
null
null
app/constants.py
sunderww/PyChip8
10592a608af8d29cff07ab4843cab97097ab0ddc
[ "MIT" ]
null
null
null
app/constants.py
sunderww/PyChip8
10592a608af8d29cff07ab4843cab97097ab0ddc
[ "MIT" ]
null
null
null
from app.engine.vector2 import Vector2 SCREEN_SIZE: Vector2 = Vector2(64, 32) MEMORY_SIZE: int = 0x1000 STACK_SIZE: int = 0x10 MEMORY_PROGRAM_START: int = 0x200 REGISTER_COUNT: int = 0x10 SPRITE_BYTE_SIZE = 5 DEFAULT_SPRITES: list[int] = [ 0xF0, 0x90, 0x90, 0x90, 0xF0, # 0 0x20, 0x60, 0x20, 0x20, 0x70, # 1 ...
30.428571
38
0.61385
133
852
3.864662
0.360902
0.124514
0.140078
0.062257
0
0
0
0
0
0
0
0.371875
0.248826
852
27
39
31.555556
0.43125
0.036385
0
0
0
0
0
0
0
0
0.421642
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
52df5470188192bf05ff8c580748b02939740381
158
py
Python
tests/test_server_http_version.py
MASILab/cachecontrol
007e8ca94fd6ac6aeced489b549fd146bf58593f
[ "Apache-2.0" ]
1
2021-03-24T11:54:14.000Z
2021-03-24T11:54:14.000Z
tests/test_server_http_version.py
MASILab/cachecontrol
007e8ca94fd6ac6aeced489b549fd146bf58593f
[ "Apache-2.0" ]
null
null
null
tests/test_server_http_version.py
MASILab/cachecontrol
007e8ca94fd6ac6aeced489b549fd146bf58593f
[ "Apache-2.0" ]
null
null
null
import requests def test_http11(url): resp = requests.get(url) # Making sure our test server speaks HTTP/1.1 assert resp.raw._fp.version == 11
17.555556
49
0.689873
25
158
4.28
0.8
0
0
0
0
0
0
0
0
0
0
0.048387
0.21519
158
8
50
19.75
0.814516
0.272152
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
52e10713d724c808ea57c4961a53b0511a81c5ce
363
py
Python
exercise44.py
Luke-Jenkins/101-python-exercises
448d30b5f3be6559c5181341a85b169a3ad68ec3
[ "MIT" ]
1
2020-03-27T17:08:08.000Z
2020-03-27T17:08:08.000Z
exercise44.py
Luke-Jenkins/101-python-exercises
448d30b5f3be6559c5181341a85b169a3ad68ec3
[ "MIT" ]
null
null
null
exercise44.py
Luke-Jenkins/101-python-exercises
448d30b5f3be6559c5181341a85b169a3ad68ec3
[ "MIT" ]
null
null
null
vowels = ["a", "A", "e", "E", "i", "I", "o", "O", "u", "U"] def has_vowels(l): for x in l: for v in vowels: if x == v: return True return False assert has_vowels("banana") == True assert has_vowels("ubuntu") == True assert has_vowels("QQQQ") == False assert has_vowels("wyrd"...
27.923077
59
0.550964
55
363
3.545455
0.490909
0.230769
0.307692
0.205128
0
0
0
0
0
0
0
0.007435
0.258953
363
13
60
27.923077
0.717472
0
0
0
0
0
0.145604
0
0
0
0
0
0.333333
1
0.083333
false
0
0
0
0.25
0.083333
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
52fa7b4ed67bf6e4f9e0ba5aff0f73ae639344db
178
py
Python
2017/days/day2/1sthalf.py
ellull/codeofadvent2017
6e6530dd179dab1bef35e1ba94c1f86f990af4ae
[ "Unlicense" ]
null
null
null
2017/days/day2/1sthalf.py
ellull/codeofadvent2017
6e6530dd179dab1bef35e1ba94c1f86f990af4ae
[ "Unlicense" ]
4
2021-03-18T20:13:06.000Z
2022-03-11T23:12:20.000Z
2017/days/day2/1sthalf.py
ellull/adventofcode
6e6530dd179dab1bef35e1ba94c1f86f990af4ae
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import fileinput from common import solve, difference puzzle = [map(int, line.split("\t")) for line in fileinput.input()] print(solve(puzzle, difference))
25.428571
67
0.741573
26
178
5.076923
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.11236
178
6
68
29.666667
0.835443
0.11236
0
0
0
0
0.012739
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e0ac44b8d7de4e551668e25e925c4d62e17ef2a
115
py
Python
soldajustica/app/apps.py
patrickporto/soldajustica
191299012a8142c8d1c073f025a2ff2d1a2d267c
[ "MIT" ]
null
null
null
soldajustica/app/apps.py
patrickporto/soldajustica
191299012a8142c8d1c073f025a2ff2d1a2d267c
[ "MIT" ]
null
null
null
soldajustica/app/apps.py
patrickporto/soldajustica
191299012a8142c8d1c073f025a2ff2d1a2d267c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PortalAppConfig(AppConfig): name = 'app' verbose_name = 'Portal'
19.166667
34
0.721739
14
115
5.928571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.182609
115
6
35
19.166667
0.87234
0
0
0
0
0
0.078261
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5e1d70947fbe5d7660c7f654214438bb49847665
201
py
Python
tests/test_exception.py
monosans/pywttr
e2b3c5f69b52ab960bbf2514bbd1c7a224a392c2
[ "MIT" ]
5
2021-12-13T04:56:22.000Z
2022-01-25T15:35:38.000Z
tests/test_exception.py
monosans/pywttr
e2b3c5f69b52ab960bbf2514bbd1c7a224a392c2
[ "MIT" ]
9
2021-12-16T15:25:56.000Z
2022-03-25T15:26:13.000Z
tests/test_exception.py
monosans/pywttr
e2b3c5f69b52ab960bbf2514bbd1c7a224a392c2
[ "MIT" ]
1
2022-01-18T09:03:51.000Z
2022-01-18T09:03:51.000Z
import pytest from requests.exceptions import HTTPError from pywttr import Wttr def test_exception() -> None: wttr = Wttr("sdlaghdsaklgthj") with pytest.raises(HTTPError): wttr.en()
18.272727
41
0.716418
24
201
5.958333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.19403
201
10
42
20.1
0.882716
0
0
0
0
0
0.074627
0
0
0
0
0
0
1
0.142857
false
0
0.428571
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5e1dfd6878c194b4e23944e4875d732434ef7572
3,442
py
Python
qdatum/client.py
qdatum/qdatum-python-driver
34b061326c7190e3c7a977be2551a2ef5930b32e
[ "MIT" ]
1
2015-05-11T07:42:32.000Z
2015-05-11T07:42:32.000Z
qdatum/client.py
qdatum/qdatum-python-driver
34b061326c7190e3c7a977be2551a2ef5930b32e
[ "MIT" ]
null
null
null
qdatum/client.py
qdatum/qdatum-python-driver
34b061326c7190e3c7a977be2551a2ef5930b32e
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from builtins import dict from builtins import str from future import standard_library standard_library.install_aliases() import json from qdatum.driver import Driver, Res...
28.683333
121
0.668797
411
3,442
5.420925
0.209246
0.10368
0.144973
0.122531
0.44614
0.280521
0.060144
0.060144
0.060144
0.060144
0
0
0.20337
3,442
119
122
28.92437
0.812546
0
0
0.215909
0
0
0.074249
0
0
0
0
0
0
1
0.25
false
0
0.125
0.204545
0.659091
0.011364
0
0
0
null
0
0
0
0
0
0
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
eab233d54ce7ee2525c7bdd0aece4cf4f6b3beb8
2,312
py
Python
dnsmon/libnet.py
3ev0/dns-monitor
3a0ded3fbd7a52211e64b884e5e6471e738a3697
[ "Apache-2.0" ]
2
2015-05-26T07:08:18.000Z
2021-02-04T02:16:40.000Z
dnsmon/libnet.py
3ev0/dns-monitor
3a0ded3fbd7a52211e64b884e5e6471e738a3697
[ "Apache-2.0" ]
null
null
null
dnsmon/libnet.py
3ev0/dns-monitor
3a0ded3fbd7a52211e64b884e5e6471e738a3697
[ "Apache-2.0" ]
null
null
null
__author__ = 'ivo' """ Library for handy network functions. The tld list is kept up-to-date online. Download it from: https://publicsuffix.org/list/effective_tld_names.dat """ import re import logging _domain_re = re.compile("([a-z0-9\-](\.[a-z0-9\-]+)*)*\.[a-z][a-z0-9]*", re.I) _ip_re = re.compile("[0-9]{1,3}(\.[0-9...
47.183673
1,103
0.499135
528
2,312
2.113636
0.168561
0.050179
0.089606
0.107527
0.434588
0.434588
0.387993
0.333333
0.243728
0.243728
0
0.134859
0.111592
2,312
48
1,104
48.166667
0.408471
0
0
0.064516
0
0.064516
0.588208
0.534355
0
0
0
0
0
1
0.16129
false
0
0.064516
0.096774
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eabb1d0e611da831417a70e93130994df69d863b
211
py
Python
botospy/__main__.py
NeoOrigin/BotoSpy
3d584efc6de75076075771594147bf8f256fbc80
[ "Apache-2.0" ]
null
null
null
botospy/__main__.py
NeoOrigin/BotoSpy
3d584efc6de75076075771594147bf8f256fbc80
[ "Apache-2.0" ]
null
null
null
botospy/__main__.py
NeoOrigin/BotoSpy
3d584efc6de75076075771594147bf8f256fbc80
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ botospy.__main__: executed when botospy directory is called as script. """ #--- Imports --- # Our Classes from .BotoSpy import main #--- Main --- main()
11.105263
70
0.616114
26
211
4.846154
0.807692
0.126984
0
0
0
0
0
0
0
0
0
0.005848
0.189573
211
18
71
11.722222
0.730994
0.720379
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
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
eaceff86d79649eae4ce2b0e04a4072531915055
56
py
Python
ports/nxp_rt1170/build-rt1170evk/genhdr/pins_af.py
RockySong/micropython-imxrt
2d728f414bf8d041ca609e00448850759aade3cd
[ "MIT" ]
181
2018-01-31T08:22:21.000Z
2021-12-25T12:46:18.000Z
ports/nxp_rt1170/build-rt1170evk/genhdr/pins_af.py
RockySong/micropython-imxrt
2d728f414bf8d041ca609e00448850759aade3cd
[ "MIT" ]
19
2018-01-31T10:07:19.000Z
2021-03-11T07:32:28.000Z
ports/nxp_rt1170/build-rt1170evk/genhdr/pins_af.py
RockySong/micropython-imxrt
2d728f414bf8d041ca609e00448850759aade3cd
[ "MIT" ]
87
2018-03-22T00:41:48.000Z
2022-02-05T10:09:59.000Z
# Generated by make-pins.py, do NOT edit! PINS_AF = ( )
14
41
0.660714
10
56
3.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
3
42
18.666667
0.8
0.696429
0
0
1
0
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ead36bfcd7c644d564030e4e92672a19de726bdd
343
py
Python
src/run_tests.py
okjuan/music-lib-bot
a63ee84b30c4dc40bbf72ebd8a8d1a3736f25432
[ "MIT" ]
1
2021-11-03T22:22:09.000Z
2021-11-03T22:22:09.000Z
src/run_tests.py
okjuan/music-lib-bot
a63ee84b30c4dc40bbf72ebd8a8d1a3736f25432
[ "MIT" ]
45
2021-03-15T06:37:31.000Z
2022-03-03T05:00:05.000Z
src/run_tests.py
okjuan/music-lib-bot
a63ee84b30c4dc40bbf72ebd8a8d1a3736f25432
[ "MIT" ]
null
null
null
import unittest from tests.test_music_util import TestMusicUtil from tests.test_my_music_lib import TestMyMusicLib from tests.test_music_lib_bot import TestMusicLibBot from tests.test_spotify_client_wrapper import TestSpotifyClientWrapper from tests.test_playlist_stats import TestPlaylistStats if __name__ == '__main_...
34.3
70
0.868805
45
343
6.155556
0.511111
0.162455
0.234657
0.129964
0
0
0
0
0
0
0
0
0.093294
343
10
71
34.3
0.890675
0
0
0
0
0
0.023256
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
eada98729ce6fce09ca74f24f815e44d3680f2e7
52
py
Python
GPopt/__init__.py
Techtonique/GPopt
37eb7cbd55679b67b0f0f39dddb310309531e5ca
[ "BSD-3-Clause-Clear" ]
1
2021-07-14T11:56:32.000Z
2021-07-14T11:56:32.000Z
GPopt/__init__.py
Techtonique/GPopt
37eb7cbd55679b67b0f0f39dddb310309531e5ca
[ "BSD-3-Clause-Clear" ]
null
null
null
GPopt/__init__.py
Techtonique/GPopt
37eb7cbd55679b67b0f0f39dddb310309531e5ca
[ "BSD-3-Clause-Clear" ]
null
null
null
from .GPOpt.GPOpt import GPOpt __all__ = ["GPOpt"]
13
30
0.711538
7
52
4.714286
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
3
31
17.333333
0.75
0
0
0
0
0
0.096154
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
eadffa03f68b09efe49b9594d4c50d3b0216e9bb
913
py
Python
python/sdk_e2e/thief_fixtures.py
Azure/iot-sdk-longhaul
5c77a9f120610433ae99c39130f0d454d31c4a7f
[ "MIT" ]
null
null
null
python/sdk_e2e/thief_fixtures.py
Azure/iot-sdk-longhaul
5c77a9f120610433ae99c39130f0d454d31c4a7f
[ "MIT" ]
7
2020-09-14T16:30:22.000Z
2021-08-10T14:33:13.000Z
python/sdk_e2e/thief_fixtures.py
Azure/iot-sdk-longhaul
5c77a9f120610433ae99c39130f0d454d31c4a7f
[ "MIT" ]
1
2020-12-27T11:12:19.000Z
2020-12-27T11:12:19.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. import pytest import asyncio import uuid from operation_tickets import OperationTicketList import thief_secrets @pytest.fixture(scope="module") def operation_tic...
24.675676
92
0.797371
114
913
6.140351
0.438596
0.171429
0.128571
0.068571
0.077143
0
0
0
0
0
0
0.001242
0.118291
913
36
93
25.361111
0.868323
0.164294
0
0.090909
0
0
0.042161
0
0
0
0
0
0
1
0.272727
false
0
0.227273
0.227273
0.772727
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
eaef29247f968f7947b1bdd59bdc45609940ba99
267
py
Python
Code Forces/Round 634/anti_sudoku.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
Code Forces/Round 634/anti_sudoku.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
Code Forces/Round 634/anti_sudoku.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
for t in range(int(input())): board = [] for i in range(9): board.append(list(input())) for i in range(9): for j in range(9): if board[i][j] == "2": board[i][j] = "1" for i in range(9): for j in range(9): print(board[i][j], end = "") print()
19.071429
31
0.531835
51
267
2.784314
0.333333
0.295775
0.28169
0.232394
0.422535
0.338028
0.338028
0.338028
0.338028
0.338028
0
0.034653
0.243446
267
14
32
19.071429
0.668317
0
0
0.416667
0
0
0.007463
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
eafb3f3ca8de52bfe291a7bddc0e2b3562d0e0c4
2,524
py
Python
flytekit/common/mixins/registerable.py
flytehub/flytekit
f8f53567594069b29fcd3f99abd1da71a5ef0e22
[ "Apache-2.0" ]
1
2019-10-22T05:22:16.000Z
2019-10-22T05:22:16.000Z
flytekit/common/mixins/registerable.py
chixcode/flytekit
f901aee721847c6264d44079d4fa31a75b8876e1
[ "Apache-2.0" ]
null
null
null
flytekit/common/mixins/registerable.py
chixcode/flytekit
f901aee721847c6264d44079d4fa31a75b8876e1
[ "Apache-2.0" ]
1
2019-08-28T22:27:07.000Z
2019-08-28T22:27:07.000Z
from __future__ import absolute_import import abc as _abc import inspect as _inspect import six as _six from flytekit.common import sdk_bases as _sdk_bases class _InstanceTracker(_sdk_bases.ExtendedSdkType): """ This is either genius or terrible. Some of our tools iterate over modules and try to find Flyte e...
33.210526
120
0.66046
322
2,524
4.984472
0.437888
0.02243
0.016822
0.031776
0.057944
0.057944
0.042368
0.042368
0
0
0
0
0.271395
2,524
75
121
33.653333
0.872757
0.44374
0
0.205882
0
0
0.013278
0
0
0
0
0
0
1
0.205882
false
0.088235
0.147059
0
0.558824
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