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
e2f350105e6f502527fb312aeaf69bd0eea516a8
323
py
Python
main/sitemaps.py
audiua/shkolyar_django
a2de2dc0a42e6bdd51321f857c0aa1106c51ba80
[ "MIT" ]
1
2017-04-22T11:00:07.000Z
2017-04-22T11:00:07.000Z
main/sitemaps.py
audiua/shkolyar_django
a2de2dc0a42e6bdd51321f857c0aa1106c51ba80
[ "MIT" ]
6
2017-04-20T17:49:39.000Z
2017-04-22T11:55:07.000Z
main/sitemaps.py
audiua/shkolyar_django
a2de2dc0a42e6bdd51321f857c0aa1106c51ba80
[ "MIT" ]
null
null
null
from django.contrib.sitemaps import Sitemap from django.core.urlresolvers import reverse class MainSitemap(Sitemap): changefreq = "weekly" priority = 0.3 def items(self): return ['main:index', 'main:about', 'main:contact', 'main:rightholder'] def location(self, obj): return reverse(o...
24.846154
79
0.687307
39
323
5.692308
0.692308
0.09009
0
0
0
0
0
0
0
0
0
0.007692
0.195046
323
13
80
24.846154
0.846154
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
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
e2f707e0d29a1e4284d6790b698d034650042770
2,046
py
Python
deeppavlov_agent/core/service.py
deepmipt/dp-agent
74b5b993a451ac54efd9a5086ff507a9520ad0c6
[ "Apache-2.0" ]
54
2019-05-16T12:58:54.000Z
2022-01-09T06:09:01.000Z
deeppavlov_agent/core/service.py
deepmipt/dp-agent
74b5b993a451ac54efd9a5086ff507a9520ad0c6
[ "Apache-2.0" ]
27
2019-06-13T12:31:42.000Z
2021-09-10T16:37:59.000Z
deeppavlov_agent/core/service.py
deepmipt/dp-agent
74b5b993a451ac54efd9a5086ff507a9520ad0c6
[ "Apache-2.0" ]
25
2019-06-08T03:30:48.000Z
2022-03-17T15:47:27.000Z
class Service: def __init__(self, name, connector_func, state_processor_method=None, batch_size=1, tags=None, names_previous_services=None, names_required_previous_services=None, workflow_formatter=None, dialog_formatter=None, response_formatter=None, ...
36.535714
89
0.687195
241
2,046
5.53112
0.195021
0.114779
0.037509
0.048762
0.275319
0.065266
0
0
0
0
0
0.000644
0.241447
2,046
55
90
37.2
0.858247
0
0
0.044444
0
0
0.022483
0
0
0
0
0
0
1
0.222222
false
0
0
0.133333
0.511111
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
39083947014f1c831195a47a10ed0e0984107a80
4,673
py
Python
slacky/__init__.py
nabetama/slacky
e71ed746ad8e7adca800d3c6082ff5c1c287c6b7
[ "MIT" ]
3
2015-01-12T08:50:55.000Z
2019-02-04T14:46:10.000Z
slacky/__init__.py
nabetama/slacky
e71ed746ad8e7adca800d3c6082ff5c1c287c6b7
[ "MIT" ]
1
2015-02-09T11:26:15.000Z
2015-04-04T07:26:58.000Z
slacky/__init__.py
nabetama/slacky
e71ed746ad8e7adca800d3c6082ff5c1c287c6b7
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import, print_function import json import time import warnings import sys import os import datetime import six from websocket import create_connection from .requests import Requests, HttpForbidden from .rest import FromUrl __all__ = ('Slacky',) _http_errors = {} def ...
29.955128
105
0.602397
576
4,673
4.767361
0.262153
0.049162
0.071377
0.107065
0.403496
0.260743
0.260743
0.260743
0.072105
0.072105
0
0.004676
0.267708
4,673
155
106
30.148387
0.797779
0.002782
0
0.154472
0
0
0.127523
0.005152
0
0
0
0
0
1
0.203252
false
0
0.089431
0.121951
0.504065
0.01626
0
0
0
null
0
0
0
0
0
0
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
390abffa7a0043b21f099cc0e8848d4eebdbc42d
150
py
Python
examples/client.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
null
null
null
examples/client.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
5
2022-02-04T13:56:18.000Z
2022-03-18T13:48:34.000Z
examples/client.py
Sigmanificient/nipistaa
ea2fb8692e1377537d91be2acd0f11b810f744ea
[ "MIT" ]
null
null
null
import nipistaa from pincer import Client GUILD_ID: int = ... TOKEN: str = ... Bot = nipistaa.hook('ping', guild=GUILD_ID)(Client) Bot(TOKEN).run()
16.666667
51
0.693333
22
150
4.636364
0.636364
0.137255
0
0
0
0
0
0
0
0
0
0
0.14
150
8
52
18.75
0.790698
0
0
0
0
0
0.026667
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
3912fe9ea59678b043024f1a3f3fbf08bf6f6c65
2,665
py
Python
app/kubernetes/pod.py
zephyrxvxx7/KubeZephyr-Backend
242410bc236e1f7204c24d635eb3346b0c256dc8
[ "MIT" ]
2
2021-04-25T01:49:45.000Z
2021-11-25T09:10:40.000Z
app/kubernetes/pod.py
zephyrxvxx7/KubeZephyr-Backend
242410bc236e1f7204c24d635eb3346b0c256dc8
[ "MIT" ]
null
null
null
app/kubernetes/pod.py
zephyrxvxx7/KubeZephyr-Backend
242410bc236e1f7204c24d635eb3346b0c256dc8
[ "MIT" ]
null
null
null
from fastapi import HTTPException from kubernetes.client import ( ApiClient, ApiException, CoreV1Api, V1Pod, V1PodList, V1PodStatus, V1Status ) from app.models.pod import ( PodInCreate, PodInUpdate ) def create_pod(core_v1_api: CoreV1Api, v1_api: ApiClient, namespace: str, pod: P...
31.72619
113
0.660788
326
2,665
5.187117
0.159509
0.053223
0.074512
0.074512
0.760497
0.739208
0.723832
0.723832
0.58427
0.53696
0
0.018821
0.242402
2,665
84
114
31.72619
0.818722
0
0
0.513889
0
0
0.022131
0
0
0
0
0
0
1
0.097222
false
0
0.041667
0
0.236111
0
0
0
0
null
0
0
0
0
1
1
1
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
392e99e8411642432de6e31a29e242ce86103164
1,257
py
Python
controllers/bookmark.py
poldelgado/TorneosNube
41d509c36d21c816b40b1520e920195850bcce58
[ "MIT" ]
48
2016-03-23T10:20:05.000Z
2020-11-22T19:30:46.000Z
controllers/bookmark.py
poldelgado/TorneosNube
41d509c36d21c816b40b1520e920195850bcce58
[ "MIT" ]
8
2016-03-23T14:21:47.000Z
2019-09-11T08:31:58.000Z
controllers/bookmark.py
poldelgado/TorneosNube
41d509c36d21c816b40b1520e920195850bcce58
[ "MIT" ]
28
2016-03-23T09:40:10.000Z
2021-05-27T10:24:49.000Z
# -*- coding: utf-8 -*- from bookmark import Bookmark def add(): Bookmark.from_dict(request.vars['bookmark_obj']).add() # bookmark, bookmarks = get_bookmark() # # # update session and db # if bookmark['key'] not in bookmarks: # bookmarks[bookmark['key']] = bookmark['data'] # db(...
21.672414
73
0.620525
146
1,257
5.253425
0.308219
0.104302
0.132986
0.08605
0.42764
0.42764
0.344198
0.245111
0.125163
0.125163
0
0.001029
0.22673
1,257
57
74
22.052632
0.788066
0.666667
0
0.2
0
0
0.132468
0.07013
0
0
0
0
0
1
0.3
true
0
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
39379c89564f876aa7cb697e97612fd1dbd95f76
74
py
Python
dataset/preprocess/__init__.py
JudePark96/claim-consistency-classifier
2993945e5df713d0f29bb99e472770b6d6398317
[ "Apache-2.0" ]
1
2021-07-15T00:36:32.000Z
2021-07-15T00:36:32.000Z
dataset/preprocess/__init__.py
JudePark96/claim-consistency-classifier
2993945e5df713d0f29bb99e472770b6d6398317
[ "Apache-2.0" ]
null
null
null
dataset/preprocess/__init__.py
JudePark96/claim-consistency-classifier
2993945e5df713d0f29bb99e472770b6d6398317
[ "Apache-2.0" ]
null
null
null
__author__ = 'Eunhwan Jude Park' __email__ = 'jude.park.96@navercorp.com'
24.666667
40
0.756757
10
74
4.8
0.8
0.333333
0
0
0
0
0
0
0
0
0
0.030303
0.108108
74
2
41
37
0.69697
0
0
0
0
0
0.581081
0.351351
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
1a300115d079adedd687bd2d5d6b2ab5068a5a87
610
py
Python
audiophile/core/player.py
AnikaZN/Audiophile
c5f158db3ef2787c3be530af352438febd516db3
[ "MIT" ]
null
null
null
audiophile/core/player.py
AnikaZN/Audiophile
c5f158db3ef2787c3be530af352438febd516db3
[ "MIT" ]
null
null
null
audiophile/core/player.py
AnikaZN/Audiophile
c5f158db3ef2787c3be530af352438febd516db3
[ "MIT" ]
1
2020-11-03T05:13:02.000Z
2020-11-03T05:13:02.000Z
from core.room import Room class Player(): def __init__(self, current_room, inventory = []): # self.name = name self.current_room = current_room self.inventory = inventory def room_info(self): name = self.current_room.name description = self.current_room.description ...
25.416667
53
0.6
71
610
4.985915
0.422535
0.186441
0.211864
0.107345
0
0
0
0
0
0
0
0
0.301639
610
23
54
26.521739
0.830986
0.02623
0
0
0
0
0.103041
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.529412
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
1
0
0
0
0
1
0
0
3
1a51d35271378485715cbc82a80c009fb5407285
1,284
py
Python
RoughColorization/src/losses.py
bupt-wx/AAAI2019-Image-Colorization_of_dx
faca727a6e3e96f4e8b785fddbac7e2f2a9a2404
[ "MIT" ]
4
2021-08-17T08:26:39.000Z
2021-11-22T12:34:58.000Z
RoughColorization/src/losses.py
bupt-wx/Deep-Convolutional-Network-For-Colorization-In-Monochrome-Color-Dual-Lens-System
faca727a6e3e96f4e8b785fddbac7e2f2a9a2404
[ "MIT" ]
null
null
null
RoughColorization/src/losses.py
bupt-wx/Deep-Convolutional-Network-For-Colorization-In-Monochrome-Color-Dual-Lens-System
faca727a6e3e96f4e8b785fddbac7e2f2a9a2404
[ "MIT" ]
null
null
null
from keras import backend as K def coloringLoss_OneAccuracy(y_true, y_pred): shape = K.shape(y_true) h = K.reshape(shape[1], (1,1)) w = K.reshape(shape[2], (1,1)) denom = 1 / K.cast(K.reshape(K.dot(h, w), (1,1)), dtype = 'float32') return K.dot(K.reshape(K.sum(K.cast(K.less_equal(K.abs(y_true - y_p...
44.275862
116
0.63785
222
1,284
3.472973
0.162162
0.090791
0.046693
0.077821
0.856031
0.762646
0.762646
0.607004
0.607004
0.461738
0
0.043204
0.134735
1,284
29
117
44.275862
0.650765
0
0
0.434783
0
0
0.02179
0
0
0
0
0
0
1
0.173913
false
0
0.043478
0
0.391304
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
1a658ac27ad461dc380f1eda9025c38afdde1073
24,046
py
Python
pyscf/nao/test/test_0015_ls_contributing.py
fdmalone/pyscf
021b17ac721e292b277d2b740e2ff8ab38bb6a4a
[ "Apache-2.0" ]
1
2019-07-01T12:39:45.000Z
2019-07-01T12:39:45.000Z
pyscf/nao/test/test_0015_ls_contributing.py
fdmalone/pyscf
021b17ac721e292b277d2b740e2ff8ab38bb6a4a
[ "Apache-2.0" ]
null
null
null
pyscf/nao/test/test_0015_ls_contributing.py
fdmalone/pyscf
021b17ac721e292b277d2b740e2ff8ab38bb6a4a
[ "Apache-2.0" ]
null
null
null
# Copyright 2014-2018 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
38.909385
74
0.566539
4,185
24,046
3.244683
0.322342
0.01355
0.006481
0.003682
0.013992
0.00707
0
0
0
0
0
0.735347
0.323838
24,046
617
75
38.972447
0.099822
0.029568
0
0
0
0
0.962083
0
0
0
0
0
0.003384
1
0.001692
false
0
0.00846
0
0.011844
0.001692
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a7c8a85d816212f602c3b4fd210015bcedfaac2
129
py
Python
gestionProtocolos_y_Estudios/apps.py
AnuTor/UniNeuroLab
5825f440d4663650f038083f3da05229cc5ada4f
[ "Apache-2.0" ]
1
2021-01-09T01:20:45.000Z
2021-01-09T01:20:45.000Z
gestionProtocolos_y_Estudios/apps.py
AnuTor/UniNeuroLab
5825f440d4663650f038083f3da05229cc5ada4f
[ "Apache-2.0" ]
1
2021-01-09T00:53:55.000Z
2021-01-09T00:53:55.000Z
gestionProtocolos_y_Estudios/apps.py
AnuTor/UniNeuroLab
5825f440d4663650f038083f3da05229cc5ada4f
[ "Apache-2.0" ]
1
2021-01-07T23:57:28.000Z
2021-01-07T23:57:28.000Z
from django.apps import AppConfig class GestionprotocolosYEstudiosConfig(AppConfig): name = 'gestionProtocolos_y_Estudios'
21.5
50
0.829457
12
129
8.75
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.116279
129
5
51
25.8
0.921053
0
0
0
0
0
0.217054
0.217054
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1a8a8b0a3a3627e0c9e5ee84a94e94b8a9803146
9,705
py
Python
src/classes/helper/visu.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
src/classes/helper/visu.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
src/classes/helper/visu.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
def generateHTML(colors): print(colors) node1 = f"""id: '1', label: 'Theme 1', x: 7, y: 1, size: 1, color: '{colors[0]}'""" node2 = f"""id: '2', label: 'Theme 2', x: 12, y: 1, size: 1, color: '{colors[1]}'""" node3 = f"""i...
30.809524
94
0.487996
1,075
9,705
4.396279
0.207442
0.087601
0.116801
0.161871
0.596488
0.556919
0.503174
0.439061
0.283115
0.236564
0
0.04066
0.325914
9,705
315
95
30.809524
0.681749
0
0
0.251634
1
0.078431
0.953941
0.297579
0
0
0
0
0
1
0.003268
false
0
0.006536
0
0.013072
0.003268
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a957f83ec2b2c812a21d4cafce9c8f314a9ff40
61
py
Python
greedilyincreasing/data/reverse.py
jsannemo/hiq-challenge-2017
8271c716fe249674d585731f472b64616370300a
[ "Apache-2.0" ]
null
null
null
greedilyincreasing/data/reverse.py
jsannemo/hiq-challenge-2017
8271c716fe249674d585731f472b64616370300a
[ "Apache-2.0" ]
null
null
null
greedilyincreasing/data/reverse.py
jsannemo/hiq-challenge-2017
8271c716fe249674d585731f472b64616370300a
[ "Apache-2.0" ]
null
null
null
N = 10 ** 6 print(N) print(*reversed(list(range(1, N + 1))))
15.25
39
0.57377
12
61
2.916667
0.666667
0
0
0
0
0
0
0
0
0
0
0.098039
0.163934
61
3
40
20.333333
0.588235
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1aa673fc50409f2d867353abb1e14c45431809b4
223
py
Python
tests/functional/groups/conftest.py
mh-globus/globus-sdk-python
c740ebd85640d5c5fe92fd22e99ec05b1a280f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/functional/groups/conftest.py
mh-globus/globus-sdk-python
c740ebd85640d5c5fe92fd22e99ec05b1a280f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/functional/groups/conftest.py
mh-globus/globus-sdk-python
c740ebd85640d5c5fe92fd22e99ec05b1a280f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import pytest import globus_sdk @pytest.fixture def groups_client(no_retry_transport): class CustomGroupsClient(globus_sdk.GroupsClient): transport_class = no_retry_transport return CustomGroupsClient()
18.583333
54
0.793722
25
223
6.76
0.6
0.106509
0.189349
0
0
0
0
0
0
0
0
0
0.152466
223
11
55
20.272727
0.89418
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1abba1bfa6aec838ab25c9360b4a831bebb057b9
3,597
py
Python
lib/fbuild/config/c/gnu.py
felix-lang/fbuild
9595fbfd6d3ceece31fda2f96c35d4a241f0129b
[ "PSF-2.0", "BSD-2-Clause" ]
40
2015-02-07T00:44:12.000Z
2021-04-02T13:41:08.000Z
lib/fbuild/config/c/gnu.py
dmerejkowsky/fbuild
be0bf901eed1f66c33897fbd4b147e0433e8cc72
[ "BSD-2-Clause" ]
30
2015-02-06T17:45:15.000Z
2019-01-10T16:34:29.000Z
lib/fbuild/config/c/gnu.py
dmerejkowsky/fbuild
be0bf901eed1f66c33897fbd4b147e0433e8cc72
[ "BSD-2-Clause" ]
3
2015-09-03T06:38:02.000Z
2019-10-24T14:26:57.000Z
import fbuild.config.c as c # ------------------------------------------------------------------------------ class extensions(c.Test): builtin_expect = c.function_test('long', 'long', 'long', name='__builtin_expect', test='int main() { if(__builtin_expect(1,1)); return 0; }') @c.cacheproperty...
28.547619
96
0.40784
339
3,597
4.171091
0.224189
0.039604
0.035361
0.049505
0.74611
0.74611
0.69802
0.678925
0.678925
0.678925
0
0.018182
0.434251
3,597
125
97
28.776
0.676658
0.021685
0
0.642202
0
0.018349
0.762582
0.021325
0
0
0
0
0
1
0.036697
false
0
0.009174
0.036697
0.229358
0.018349
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46cfe896f9229052936f6aca62b55a49a47e0bbb
201
py
Python
Python_Exercise/py_exercise_three.py
kindyluv/My_Personal_Python_Exercises
5192ee6ab57c537f0231ee004f06879f14ba2138
[ "MIT" ]
null
null
null
Python_Exercise/py_exercise_three.py
kindyluv/My_Personal_Python_Exercises
5192ee6ab57c537f0231ee004f06879f14ba2138
[ "MIT" ]
null
null
null
Python_Exercise/py_exercise_three.py
kindyluv/My_Personal_Python_Exercises
5192ee6ab57c537f0231ee004f06879f14ba2138
[ "MIT" ]
null
null
null
temperature =int(input("Enter Temperature: ")) if temperature > 30: print("It's a hot day") elif temperature < 10: print("It's a cold day") else: print("it's neither hot nor cold")
25.125
48
0.631841
31
201
4.096774
0.580645
0.165354
0.188976
0.141732
0
0
0
0
0
0
0
0.025806
0.228856
201
7
49
28.714286
0.793548
0
0
0
0
0
0.381443
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
46ec25fbceb99558c9170c9166d6572e6c1c8adc
162
py
Python
feature/discrete_feature.py
hhk998402/NaiveBayesClassifier
ac7e7b8b67505e526376a1a8e96f25f5a1ac5705
[ "MIT" ]
27
2018-09-13T21:13:34.000Z
2022-02-05T21:48:54.000Z
feature/discrete_feature.py
hhk998402/NaiveBayesClassifier
ac7e7b8b67505e526376a1a8e96f25f5a1ac5705
[ "MIT" ]
null
null
null
feature/discrete_feature.py
hhk998402/NaiveBayesClassifier
ac7e7b8b67505e526376a1a8e96f25f5a1ac5705
[ "MIT" ]
28
2018-12-19T18:59:43.000Z
2022-03-05T20:00:11.000Z
from .feature import Feature class DiscreteFeature(Feature): def is_continuous(self): return False def is_discrete(self): return True
14.727273
31
0.679012
19
162
5.684211
0.684211
0.092593
0
0
0
0
0
0
0
0
0
0
0.259259
162
10
32
16.2
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
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
1
0
0
0
1
0
0
0
3
46f3fcda5d264b4c179aab662d3926cb7a48430c
172
py
Python
examples/types1.py
VictorVaquero/geneticPendulum
60e20ec8148d4949ae3b3e1597433763498cd2e5
[ "MIT" ]
null
null
null
examples/types1.py
VictorVaquero/geneticPendulum
60e20ec8148d4949ae3b3e1597433763498cd2e5
[ "MIT" ]
null
null
null
examples/types1.py
VictorVaquero/geneticPendulum
60e20ec8148d4949ae3b3e1597433763498cd2e5
[ "MIT" ]
null
null
null
print(2, type(2)) print(3.5, type(3.5)) print([], type([])) print(True, type(True)) print(None, type(None)) # code to put in a for-each loop for the Pattern Loop Exercise
21.5
62
0.668605
33
172
3.484848
0.545455
0.034783
0
0
0
0
0
0
0
0
0
0.040541
0.139535
172
7
63
24.571429
0.736486
0.348837
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
46fe2d485dcf7dad98e111f60825734c9d903840
785
py
Python
iris/utils/tests/test_utils.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
iris/utils/tests/test_utils.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
iris/utils/tests/test_utils.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from iris.utils import import_object, Undefined class ImportTests(TestCase): def test_import_object(self): from iris.core.container import ServiceContainer cls = import_object('iris.core.container:ServiceContainer') self.assertIs(cls, ServiceContainer) ...
32.708333
92
0.741401
84
785
6.797619
0.369048
0.126095
0.119089
0.105079
0.30648
0.30648
0.30648
0.192644
0
0
0
0
0.168153
785
23
93
34.130435
0.874426
0
0
0
0
0
0.127389
0.09172
0
0
0
0
0.4375
1
0.1875
false
0
0.5625
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
1
0
0
3
200ba368d0d1028f5d9a35c72db8f871dfe4da95
3,820
py
Python
L4/pyL4/src/model/BoundVar.py
Marcao02/complaw-deeptech
4c2af1bdd885bc2fb7e14dc14c11fed30f8f3428
[ "Apache-2.0" ]
null
null
null
L4/pyL4/src/model/BoundVar.py
Marcao02/complaw-deeptech
4c2af1bdd885bc2fb7e14dc14c11fed30f8f3428
[ "Apache-2.0" ]
null
null
null
L4/pyL4/src/model/BoundVar.py
Marcao02/complaw-deeptech
4c2af1bdd885bc2fb7e14dc14c11fed30f8f3428
[ "Apache-2.0" ]
null
null
null
from itertools import chain from src.independent.FileCoord import FileCoord from src.independent.util import castid, todo_once from src.constants_and_defined_types import StateVarId, ContractParamId, ActionParamId, \ RuleParamId, LocalVarId, ActionId from src.independent.typing_imports import * from src.model.Acti...
31.311475
122
0.668586
446
3,820
5.520179
0.221973
0.038993
0.031275
0.073924
0.313566
0.256702
0.256702
0.256702
0.23883
0.219334
0
0
0.223037
3,820
121
123
31.570248
0.829515
0.02356
0
0.314607
0
0
0.026853
0
0
0
0
0
0
1
0.235955
false
0.011236
0.123596
0.11236
0.595506
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
202ec1c52f6da9c2a38461d3dbb63bb480c3443c
927
py
Python
algorithms/iterative_traversal.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
2
2021-05-22T10:51:13.000Z
2021-05-22T11:54:36.000Z
algorithms/iterative_traversal.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
null
null
null
algorithms/iterative_traversal.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
1
2021-04-20T15:37:51.000Z
2021-04-20T15:37:51.000Z
def pre_order(root): ret = [] stack, node = [], root while stack or node: if node: ret.append(node.val) stack.append(node) node = node.left else: node = stack.pop() node = node.right return ret def in_order(root): ret = []...
22.071429
58
0.476807
108
927
4.064815
0.25
0.145786
0.082005
0.116173
0.792711
0.792711
0.624146
0.624146
0.624146
0.624146
0
0.001866
0.421791
927
41
59
22.609756
0.817164
0.047465
0
0.888889
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
2045ce7fa40a347de3331e0e33ca518989d2aee4
2,134
py
Python
engine/objects/primitives/rectangle.py
vityaman/Pygame2DGameEngine
a38a99dd860308abbdd3109fbaabadce075617db
[ "Apache-2.0" ]
null
null
null
engine/objects/primitives/rectangle.py
vityaman/Pygame2DGameEngine
a38a99dd860308abbdd3109fbaabadce075617db
[ "Apache-2.0" ]
null
null
null
engine/objects/primitives/rectangle.py
vityaman/Pygame2DGameEngine
a38a99dd860308abbdd3109fbaabadce075617db
[ "Apache-2.0" ]
null
null
null
from pygame.rect import Rect from engine.objects.primitives.vector2d import Vector2D class Rectangle: def __init__(self, left_x: float, top_y: float, width: float, height: float): self.left_top: Vector2D = Vector2D(left_x, top_y) self.width: float = width self.height: float = height ...
33.873016
111
0.609653
290
2,134
4.351724
0.155172
0.082409
0.078447
0.060222
0.156894
0.134707
0.085578
0
0
0
0
0.013672
0.280225
2,134
62
112
34.419355
0.807943
0.161668
0
0.116279
0
0
0.010112
0
0
0
0
0.016129
0
1
0.209302
false
0
0.046512
0.162791
0.465116
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
2047337bc60e7a5967a9c0b839d4afdd632be697
176
py
Python
logger/logger/codegen/__init__.py
fgoettel/knx
23cc02043a68528c0400ec7af0c626be3d528e75
[ "Unlicense" ]
null
null
null
logger/logger/codegen/__init__.py
fgoettel/knx
23cc02043a68528c0400ec7af0c626be3d528e75
[ "Unlicense" ]
null
null
null
logger/logger/codegen/__init__.py
fgoettel/knx
23cc02043a68528c0400ec7af0c626be3d528e75
[ "Unlicense" ]
null
null
null
"""Code generator scripts.""" import logging from pathlib import Path FILEPATH = Path(__file__) LOGGER = logging.getLogger(FILEPATH.parent.stem) DST_DIR = FILEPATH.parents[1]
22
48
0.778409
23
176
5.73913
0.782609
0
0
0
0
0
0
0
0
0
0
0.006369
0.107955
176
7
49
25.142857
0.834395
0.130682
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6447d72793e61dc43b6a0929ab547d5689838760
811
py
Python
spaces/product.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
1
2019-06-11T14:27:09.000Z
2019-06-11T14:27:09.000Z
spaces/product.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
null
null
null
spaces/product.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
1
2018-09-17T02:13:49.000Z
2018-09-17T02:13:49.000Z
from gym.spaces.tuple_space import Tuple import numpy as np class Product(Tuple): @property def shape(self): #assume every action in space has a return (np.sum([c.shape[-1] for c in self.spaces]),)#(len(self.spaces), self.spaces[0].shape[-1]) @property def shapes(self): # assume...
32.44
105
0.620222
134
811
3.723881
0.30597
0.160321
0.056112
0.08016
0.460922
0.460922
0.460922
0.460922
0.276553
0.136273
0
0.011345
0.239211
811
24
106
33.791667
0.797407
0.139334
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.222222
0.722222
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
64551b1b699ccc55559778e5d70bb8692622b26d
839
py
Python
_body.py
Suzakiwi/snake-snake-snake
ba5d10f238dde1a45c540a49d149265ba8790c50
[ "MIT" ]
null
null
null
_body.py
Suzakiwi/snake-snake-snake
ba5d10f238dde1a45c540a49d149265ba8790c50
[ "MIT" ]
null
null
null
_body.py
Suzakiwi/snake-snake-snake
ba5d10f238dde1a45c540a49d149265ba8790c50
[ "MIT" ]
null
null
null
class Body: def __init__(self, snake): self.pos = snake.bodys[-1].lst_pos if snake.bodys[-1].pos - snake.bodys[-1].lst_pos == 1: self.lst_pos = self.pos -1 if snake.bodys[-1].pos - snake.bodys[-1].lst_pos == -1: self.lst_pos = self.pos +1 i...
23.971429
64
0.487485
135
839
2.896296
0.22963
0.28133
0.253197
0.179028
0.667519
0.629156
0.531969
0.531969
0.531969
0.531969
0
0.068053
0.369487
839
34
65
24.676471
0.671078
0.126341
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.214286
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
64573216dfb2710fde9f62bca1fef53ad18b4d89
196
py
Python
query/models.py
fakegit/rdap-explorer
947c4f43c80ecb86d31d6f18863faee1e4984c3e
[ "MIT" ]
4
2018-11-17T03:06:00.000Z
2021-11-05T13:56:52.000Z
query/models.py
fakegit/rdap-explorer
947c4f43c80ecb86d31d6f18863faee1e4984c3e
[ "MIT" ]
2
2021-06-10T18:02:11.000Z
2021-09-22T18:09:45.000Z
query/models.py
fakegit/rdap-explorer
947c4f43c80ecb86d31d6f18863faee1e4984c3e
[ "MIT" ]
1
2017-09-03T13:33:30.000Z
2017-09-03T13:33:30.000Z
from django.db import models class Log(models.Model): query = models.CharField(max_length=45) date = models.DateTimeField(auto_now=True) private = models.BooleanField(default=False)
24.5
48
0.75
26
196
5.576923
0.846154
0
0
0
0
0
0
0
0
0
0
0.011976
0.147959
196
7
49
28
0.856287
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
646954e939ed40bf6a92f4898b76104c5df851d0
422
py
Python
Dataset/Leetcode/train/38/568.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/38/568.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/38/568.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, n: int) -> str: pre = '1' for i in range(1,n): count=1 res = '' for j in range(1,len(pre)): if pre[j] != pre[j-1]: res+=str(count)+pre[j-1] count = 1 else: ...
24.823529
44
0.348341
52
422
2.826923
0.403846
0.122449
0.108844
0.163265
0.204082
0
0
0
0
0
0
0.044776
0.523697
422
16
45
26.375
0.686567
0
0
0.133333
0
0
0.002375
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6472438fb7ab37e6b09fc01aab99487ac42e4c91
5,635
py
Python
examples/pure_python/messages.py
slieberth/pygnmi
04645899e8b5b77719b6c928dd3031ea68e2a393
[ "BSD-3-Clause" ]
58
2020-09-28T20:23:25.000Z
2022-03-23T06:59:21.000Z
examples/pure_python/messages.py
slieberth/pygnmi
04645899e8b5b77719b6c928dd3031ea68e2a393
[ "BSD-3-Clause" ]
48
2021-01-05T08:34:27.000Z
2022-03-29T01:17:36.000Z
examples/pure_python/messages.py
slieberth/pygnmi
04645899e8b5b77719b6c928dd3031ea68e2a393
[ "BSD-3-Clause" ]
21
2020-10-28T14:38:19.000Z
2022-01-30T19:49:29.000Z
# Nokia messages nokia_update = [ ( "openconfig-interfaces:interfaces/interface[name=1/1/c1/2]", { "config": { "name": "1/1/c1/2", "enabled": True, "type": "ethernetCsmacd", "description": "Test Interface @ pygnmi" ...
35.21875
135
0.303283
313
5,635
5.428115
0.220447
0.015303
0.021189
0.160683
0.752796
0.702178
0.525603
0.43967
0.357269
0.258387
0
0.070729
0.583496
5,635
160
136
35.21875
0.653174
0.005324
0
0.359477
0
0.026144
0.305729
0.168124
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
64b11db0ebece11c176bf851452d652a275eb9e9
342
py
Python
prescience/labelling/InstantNegativeReward.py
grockious/bounded-prescience
cc1278fb4c077f67c611ef8ac00b00f0f2c4f433
[ "BSD-3-Clause" ]
1
2021-01-26T12:17:12.000Z
2021-01-26T12:17:12.000Z
prescience/labelling/InstantNegativeReward.py
grockious/bounded-prescience
cc1278fb4c077f67c611ef8ac00b00f0f2c4f433
[ "BSD-3-Clause" ]
null
null
null
prescience/labelling/InstantNegativeReward.py
grockious/bounded-prescience
cc1278fb4c077f67c611ef8ac00b00f0f2c4f433
[ "BSD-3-Clause" ]
2
2021-01-26T11:19:01.000Z
2021-03-19T10:18:13.000Z
import gym import numpy as np from prescience.labelling import Labeller class Instant_Negative_Reward(Labeller): def __init__(self, env): super().__init__(env) def reset(self): pass def label(self, obs, reward, done, info): if reward < 0: return True else: ...
19
45
0.614035
42
342
4.761905
0.714286
0
0
0
0
0
0
0
0
0
0
0.004237
0.309942
342
17
46
20.117647
0.84322
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.076923
0.230769
0
0.692308
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
64d2bdd289532f5be8e0e008db78bdbe063e6a53
4,373
py
Python
temboo/core/Library/Amazon/SNS/ListSubscriptionsByTopic.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Amazon/SNS/ListSubscriptionsByTopic.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Amazon/SNS/ListSubscriptionsByTopic.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # ListSubscriptionsByTopic # Returns a list of the subscriptions for a specified topic. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "Li...
42.456311
230
0.702264
499
4,373
6.076152
0.346693
0.014842
0.019789
0.024736
0.256266
0.152375
0.152375
0.05343
0.05343
0.05343
0
0.004223
0.187743
4,373
102
231
42.872549
0.849381
0.471987
0
0
0
0
0.055671
0.022893
0
0
0
0
0
1
0.363636
false
0
0.151515
0.151515
0.818182
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
b394356b8ec231c1d297a42bfecca00ffeb8a275
3,017
py
Python
python_src/estrutura_dados/structs.py
gustavo-veiga/estrutura-dados
511dd7e09bc65bd8f1b1576e8094bf6d8a37b669
[ "MIT" ]
null
null
null
python_src/estrutura_dados/structs.py
gustavo-veiga/estrutura-dados
511dd7e09bc65bd8f1b1576e8094bf6d8a37b669
[ "MIT" ]
null
null
null
python_src/estrutura_dados/structs.py
gustavo-veiga/estrutura-dados
511dd7e09bc65bd8f1b1576e8094bf6d8a37b669
[ "MIT" ]
null
null
null
from operator import eq import operator from .helpers import delElement, copy_list class Pilha: def __init__(self, data: list): self.data = data.copy() def push(self, value): # self.data = [ value ] + self.data items = [ value ] for item in self.data: items.app...
23.755906
82
0.563142
387
3,017
4.170543
0.162791
0.158612
0.050186
0.034077
0.69083
0.660471
0.613383
0.575589
0.557621
0.513011
0
0.009
0.33709
3,017
126
83
23.944444
0.798
0.010938
0
0.5
0
0
0.039571
0
0
0
0
0
0
1
0.255814
false
0
0.034884
0.127907
0.55814
0.023256
0
0
0
null
0
0
0
0
0
0
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
b3bacd28a4687ab9033a9922f7b714182ef60b43
180
py
Python
run.py
abs51295/fabric8-analytics-release-monitor
91333cf10c89dd2b3fcdc66e047e4630395330c7
[ "Apache-2.0" ]
null
null
null
run.py
abs51295/fabric8-analytics-release-monitor
91333cf10c89dd2b3fcdc66e047e4630395330c7
[ "Apache-2.0" ]
71
2018-10-09T06:30:58.000Z
2020-07-27T06:37:17.000Z
run.py
abs51295/fabric8-analytics-release-monitor
91333cf10c89dd2b3fcdc66e047e4630395330c7
[ "Apache-2.0" ]
11
2018-09-25T12:47:44.000Z
2020-07-27T06:21:31.000Z
"""Script to start the release monitor.""" from release_monitor.release_monitor import ReleaseMonitor if __name__ == '__main__': monitor = ReleaseMonitor() monitor.run()
22.5
58
0.738889
20
180
6.15
0.65
0.341463
0
0
0
0
0
0
0
0
0
0
0.155556
180
7
59
25.714286
0.809211
0.2
0
0
0
0
0.057971
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
b3d64a4f516a8bf1bf9728538764d8c3c1a1f870
488
py
Python
bookstore_project/settings/prod.py
mohammadasim/online-bookstore
83fba7cb8b2450c4966d21ef7e17953550724f3e
[ "Apache-2.0" ]
1
2020-03-01T06:37:09.000Z
2020-03-01T06:37:09.000Z
bookstore_project/settings/prod.py
mohammadasim/online-bookstore
83fba7cb8b2450c4966d21ef7e17953550724f3e
[ "Apache-2.0" ]
8
2021-03-19T00:20:30.000Z
2022-01-13T02:21:41.000Z
bookstore_project/settings/prod.py
mohammadasim/online-bookstore
83fba7cb8b2450c4966d21ef7e17953550724f3e
[ "Apache-2.0" ]
null
null
null
from .base import * DEBUG = False ALLOWED_HOSTS = ["app"] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ.get('PGSQL_DB_NAME'), 'USER': os.environ.get('PGSQL_DB_USER'), 'PASSWORD': os.environ.get('PGSQL_DB_PASW'), 'HOST': o...
25.684211
59
0.631148
63
488
4.634921
0.571429
0.15411
0.205479
0.291096
0.325342
0
0
0
0
0
0
0.002545
0.194672
488
18
60
27.111111
0.740458
0
0
0
0
0
0.32377
0.077869
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.066667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b3edaca010c8b59bcf39d0cb5c68b4aa53f08400
241
py
Python
implementation/tool_sharing/share_statistics/urls.py
jpavelw/tool_sharing
fef225a16181155e348fb554df1166f1f6fcf255
[ "MIT" ]
null
null
null
implementation/tool_sharing/share_statistics/urls.py
jpavelw/tool_sharing
fef225a16181155e348fb554df1166f1f6fcf255
[ "MIT" ]
null
null
null
implementation/tool_sharing/share_statistics/urls.py
jpavelw/tool_sharing
fef225a16181155e348fb554df1166f1f6fcf255
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^community/$', views.community_statistics, name="community_statistics"), url(r'^individual/$', views.individual_statistics, name="individual_statistics"), ]
30.125
85
0.746888
28
241
6.285714
0.464286
0.045455
0
0
0
0
0
0
0
0
0
0
0.112033
241
8
86
30.125
0.82243
0
0
0
0
0
0.272727
0.086777
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
b6014a40963d10264992db5186e638215cd0705a
181
py
Python
04/py/q1.py
RussellDash332/practice-makes-perfect
917822b461550a2e3679351e467362f95d9e428d
[ "MIT" ]
2
2021-11-18T06:22:09.000Z
2021-12-25T09:52:57.000Z
04/py/q1.py
RussellDash332/practice-makes-perfect
917822b461550a2e3679351e467362f95d9e428d
[ "MIT" ]
2
2021-11-17T16:28:00.000Z
2021-12-01T09:59:40.000Z
04/py/q1.py
RussellDash332/practice-makes-perfect
917822b461550a2e3679351e467362f95d9e428d
[ "MIT" ]
null
null
null
def new_if(predicate, then, otherwise): if predicate: then else: otherwise def p(x): new_if(x > 5, print(x), p(x+1)) p(1) # what happens here?
18.1
40
0.541436
28
181
3.428571
0.535714
0.104167
0.3125
0
0
0
0
0
0
0
0
0.02459
0.325967
181
10
41
18.1
0.762295
0.099448
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.125
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b60ddff4774f8fd11b659200ff94f31087bbf360
3,552
py
Python
AlgorithmsPractice/python/18_medium_Four Sum.py
YangXiaoo/NoteBook
37056acad7a05b876832f72ac34d3d1a41e0dd22
[ "CNRI-Python", "RSA-MD", "CECILL-B" ]
58
2019-03-03T04:42:23.000Z
2022-01-13T04:36:31.000Z
AlgorithmsPractice/python/18_medium_Four Sum.py
YangXiaoo/NoteBook
37056acad7a05b876832f72ac34d3d1a41e0dd22
[ "CNRI-Python", "RSA-MD", "CECILL-B" ]
null
null
null
AlgorithmsPractice/python/18_medium_Four Sum.py
YangXiaoo/NoteBook
37056acad7a05b876832f72ac34d3d1a41e0dd22
[ "CNRI-Python", "RSA-MD", "CECILL-B" ]
28
2019-08-11T01:25:00.000Z
2021-08-22T06:46:06.000Z
''' Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: The solution set must not contain duplicate quadruplets. Example: Given array nums = [1, 0, -1, 0, -2...
51.478261
1,890
0.625
412
3,552
5.38835
0.657767
0.004505
0.012162
0.013514
0.035586
0.035586
0.023423
0.023423
0.023423
0
0
0.593704
0.230856
3,552
69
1,891
51.478261
0.218887
0.143581
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.027778
false
0
0
0
0.111111
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3732a86757981f296fd97bf585e53c9d47848f6b
595
py
Python
pilea/resources/resource.py
hfjn/pilea
384be918fc3dcca7ba7a9a568048344e51d83506
[ "MIT" ]
null
null
null
pilea/resources/resource.py
hfjn/pilea
384be918fc3dcca7ba7a9a568048344e51d83506
[ "MIT" ]
null
null
null
pilea/resources/resource.py
hfjn/pilea
384be918fc3dcca7ba7a9a568048344e51d83506
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABCMeta from pathlib import Path import pendulum class Resource: def __init__(self, file: Path): self.file = file self._date = pendulum.now() @property def date(self): return self._date.to_date_string() @property def pretty_date(self): ...
19.193548
47
0.636975
71
595
5.183099
0.464789
0.065217
0.076087
0.097826
0.119565
0
0
0
0
0
0
0
0.267227
595
30
48
19.833333
0.844037
0
0
0.318182
0
0
0.062185
0.043697
0
0
0
0
0
1
0.272727
false
0
0.136364
0.136364
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
373a3e240bfb4752f5d712379de07b526a9194de
24
py
Python
lib_apk_shrink/utils/__init__.py
wtttc/apkshrink
50b61c38b64c4a4fe0b11e686045852a3c685f3d
[ "MIT" ]
3
2015-09-01T10:46:15.000Z
2016-05-20T09:29:42.000Z
lib_apk_shrink/utils/__init__.py
wtttc/apkshrink
50b61c38b64c4a4fe0b11e686045852a3c685f3d
[ "MIT" ]
null
null
null
lib_apk_shrink/utils/__init__.py
wtttc/apkshrink
50b61c38b64c4a4fe0b11e686045852a3c685f3d
[ "MIT" ]
1
2020-12-08T10:37:32.000Z
2020-12-08T10:37:32.000Z
__author__ = 'tiantong'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
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
373b90241011147e43efac2cb859782e27d07a07
316
py
Python
pbpstats/resources/enhanced_pbp/data_nba/turnover.py
pauldevos/pbpstats
71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152
[ "MIT" ]
null
null
null
pbpstats/resources/enhanced_pbp/data_nba/turnover.py
pauldevos/pbpstats
71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152
[ "MIT" ]
null
null
null
pbpstats/resources/enhanced_pbp/data_nba/turnover.py
pauldevos/pbpstats
71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152
[ "MIT" ]
null
null
null
from pbpstats.resources.enhanced_pbp.data_nba.enhanced_pbp_item import ( DataEnhancedPbpItem, ) from pbpstats.resources.enhanced_pbp import Turnover class DataTurnover(Turnover, DataEnhancedPbpItem): """ Class for Turnover events """ def __init__(self, *args): super().__init__(*args)
22.571429
72
0.734177
34
316
6.441176
0.588235
0.150685
0.191781
0.26484
0.292237
0
0
0
0
0
0
0
0.170886
316
13
73
24.307692
0.835878
0.079114
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
37453301c683f968d082b7fe1daa599a15eea6db
1,063
py
Python
plugin/python/commands/methods.py
deqode/CodeAnalyser
253488e3f54772010c92d159cd7a9808e13f45e1
[ "MIT" ]
3
2021-07-13T12:48:48.000Z
2021-07-21T07:57:21.000Z
plugin/python/commands/methods.py
deqode/code-analyser
253488e3f54772010c92d159cd7a9808e13f45e1
[ "MIT" ]
null
null
null
plugin/python/commands/methods.py
deqode/code-analyser
253488e3f54772010c92d159cd7a9808e13f45e1
[ "MIT" ]
null
null
null
from protos.plugin import commands_pb2_grpc, common_pb2, commands_pb2, buildCommands_pb2, command_pb2 from protos.output. class Methods(commands_pb2_grpc.CommandsServiceServicer): def DetectBuildCommands(self, request, context): return commands_pb2.ServiceOutputDetectBuildCommands(error=None, ...
40.884615
113
0.5127
73
1,063
7.315068
0.465753
0.102996
0.168539
0.164794
0.140449
0
0
0
0
0
0
0.014827
0.428975
1,063
25
114
42.52
0.864909
0
0
0.222222
0
0
0.009407
0
0
0
0
0
0
0
null
null
0.222222
0.055556
null
null
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
1
0
0
1
0
0
0
0
0
3
377dadcb2b0d81d369af9aadbe202f4e6c3a1b01
440
py
Python
server/apps/system/migrations/0007_auto_20201214_0900.py
onecer/django-vue-admin
4a129a5ee0e339174a334c56eb024eedb42d4970
[ "MIT" ]
1
2022-02-25T05:50:24.000Z
2022-02-25T05:50:24.000Z
server/apps/system/migrations/0007_auto_20201214_0900.py
onecer/django-vue-admin
4a129a5ee0e339174a334c56eb024eedb42d4970
[ "MIT" ]
null
null
null
server/apps/system/migrations/0007_auto_20201214_0900.py
onecer/django-vue-admin
4a129a5ee0e339174a334c56eb024eedb42d4970
[ "MIT" ]
2
2021-01-19T13:17:18.000Z
2022-03-12T14:43:04.000Z
# Generated by Django 3.0.5 on 2020-12-14 01:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('system', '0006_auto_20200724_1053'), ] operations = [ migrations.RemoveField( model_name='dict', name='fullname', ),...
20
47
0.568182
42
440
5.833333
0.738095
0.171429
0.212245
0.244898
0
0
0
0
0
0
0
0.103679
0.320455
440
21
48
20.952381
0.715719
0.102273
0
0.4
1
0
0.160305
0.058524
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
37849662050de3ddc096d92d603911c63b97adb1
2,433
py
Python
mmtbx/validation/regression/tst_experimental.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
mmtbx/validation/regression/tst_experimental.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
mmtbx/validation/regression/tst_experimental.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
# TODO more tests from __future__ import absolute_import, division, print_function from mmtbx.command_line import molprobity import iotbx.pdb.hierarchy from scitbx.array_family import flex from libtbx.utils import null_out import libtbx.load_env import random # Deuterium as ligand - formerly crashed real-space corre...
41.948276
78
0.651048
430
2,433
3.509302
0.497674
0.023857
0.04175
0.037111
0.039761
0
0
0
0
0
0
0.211559
0.246198
2,433
57
79
42.684211
0.611232
0.031648
0
0
0
0.254902
0.509354
0.04932
0
0
0
0.017544
0.039216
1
0.019608
false
0
0.137255
0
0.156863
0.039216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
378f69e6bcaa8493bbf0d8dd45c9937dff957dcf
120
py
Python
Anomaly/Anomaly5.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
Anomaly/Anomaly5.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
Anomaly/Anomaly5.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
try: numberEight=8 print(numberEight/0) print("没有出现异常,一切顺利") except ZeroDivisionError: print("这是一个除零错误")
20
25
0.691667
13
120
6.384615
0.769231
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
120
6
26
20
0.826531
0
0
0
0
0
0.157025
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
37c3086f599f0519af09a6aaff93819b138c4f91
167
py
Python
PythonHackerGuideBook/13/overload3.py
t2y/python-study
52a132ea600d4696164e540d8a8f8f5fc58e097a
[ "Apache-2.0" ]
18
2016-08-15T00:24:44.000Z
2020-11-30T15:11:52.000Z
PythonHackerGuideBook/13/overload3.py
t2y/python-study
52a132ea600d4696164e540d8a8f8f5fc58e097a
[ "Apache-2.0" ]
null
null
null
PythonHackerGuideBook/13/overload3.py
t2y/python-study
52a132ea600d4696164e540d8a8f8f5fc58e097a
[ "Apache-2.0" ]
6
2016-09-28T10:47:03.000Z
2020-10-14T10:20:06.000Z
def add(x, *args): total = x for i in args: total += i print(f'{x=} + {args=} = {total}') add(1, 2, 3) add(1, 2) add(1, 2, 3, 4, 5, 6, 7) add(1)
13.916667
38
0.443114
34
167
2.176471
0.5
0.216216
0.202703
0.162162
0
0
0
0
0
0
0
0.114035
0.317365
167
11
39
15.181818
0.535088
0
0
0
0
0
0.144578
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.111111
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
37c93a185d95c6ad4d80e52c31799c856b9a1c5b
396
py
Python
lwrl/baselines/baseline.py
sealday/lwrl
52bcd67751e605c38db4afa609c58938c7034e8d
[ "MIT" ]
2
2019-04-11T11:55:48.000Z
2020-05-29T18:09:51.000Z
lwrl/baselines/baseline.py
sealday/lwrl
52bcd67751e605c38db4afa609c58938c7034e8d
[ "MIT" ]
6
2021-06-01T22:21:00.000Z
2022-03-11T23:24:36.000Z
lwrl/baselines/baseline.py
sealday/lwrl
52bcd67751e605c38db4afa609c58938c7034e8d
[ "MIT" ]
1
2019-04-12T03:09:47.000Z
2019-04-12T03:09:47.000Z
import torch.nn.functional as F class Baseline: """ Baseline value functions for policy gradient """ def predict(self, obs_batch): raise NotImplementedError def reference(self, obs_batch, reward): return None def loss(self, obs_batch, reward, reference=None): predict...
22
54
0.671717
48
396
5.4375
0.5625
0.122605
0.137931
0.137931
0
0
0
0
0
0
0
0
0.244949
396
17
55
23.294118
0.87291
0.111111
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
37cb2d2a6ffc894e2c8b2b6bfb99e16ce5ce67d8
245
py
Python
tests/external_exception2_for_vin3.py
fruch/rpyc
8db3fdcef2272d468aca562465279370d075be72
[ "MIT" ]
null
null
null
tests/external_exception2_for_vin3.py
fruch/rpyc
8db3fdcef2272d468aca562465279370d075be72
[ "MIT" ]
null
null
null
tests/external_exception2_for_vin3.py
fruch/rpyc
8db3fdcef2272d468aca562465279370d075be72
[ "MIT" ]
null
null
null
class orphan_external_exception(Exception): def __init__(self, args=None): if args: self.args = (args,) else: self.args = ("Wow I have been imported",) self.external_demo_attr = "Now imported"
30.625
53
0.591837
29
245
4.724138
0.655172
0.175182
0
0
0
0
0
0
0
0
0
0
0.302041
245
7
54
35
0.80117
0
0
0
0
0
0.146939
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
805f149444a90f2a7f9479a325f0812cee7fd0c3
938
py
Python
perceptible/observableDictionary.py
chrisbrake/perceptible
3f6ed1e960d6ebe6a215844e2797c96b11dd3eac
[ "BSD-3-Clause" ]
2
2018-06-05T17:26:55.000Z
2020-02-15T12:05:53.000Z
perceptible/observableDictionary.py
chrisbrake/perceptible
3f6ed1e960d6ebe6a215844e2797c96b11dd3eac
[ "BSD-3-Clause" ]
null
null
null
perceptible/observableDictionary.py
chrisbrake/perceptible
3f6ed1e960d6ebe6a215844e2797c96b11dd3eac
[ "BSD-3-Clause" ]
null
null
null
from collections import MutableMapping from .observable import Observable class ObservableDictionary(Observable, MutableMapping): """ A class meant to be API compatible with a Dictionary, with the addition of the add remove and notify observers """ def __init__(self, *args, **kwargs): sup...
24.684211
75
0.65032
108
938
5.064815
0.388889
0.131627
0.127971
0.131627
0
0
0
0
0
0
0
0
0.248401
938
37
76
25.351351
0.775887
0.117271
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.347826
false
0
0.086957
0.217391
0.695652
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
809cd2f8155b83ead1687017784c45292eaf99ef
1,110
py
Python
users/views.py
Tsatsubii/tsatsubii-helpdesk
baee05b4fd1aedfda8e4039c45f182f29e8db348
[ "MIT" ]
null
null
null
users/views.py
Tsatsubii/tsatsubii-helpdesk
baee05b4fd1aedfda8e4039c45f182f29e8db348
[ "MIT" ]
null
null
null
users/views.py
Tsatsubii/tsatsubii-helpdesk
baee05b4fd1aedfda8e4039c45f182f29e8db348
[ "MIT" ]
null
null
null
from django.shortcuts import render, reverse from django.views.generic import TemplateView from django.views.generic.edit import CreateView from django.contrib.auth.mixins import UserPassesTestMixin from django.contrib.messages.views import SuccessMessageMixin from .models import User from .forms import UserForm class...
30.833333
81
0.728829
135
1,110
5.866667
0.451852
0.063131
0.037879
0.055556
0
0
0
0
0
0
0
0
0.179279
1,110
35
82
31.714286
0.869374
0.093694
0
0
0
0
0.090728
0.02991
0
0
0
0
0
1
0.166667
false
0.083333
0.291667
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
809ff2851cb0f5d0aec7d97be178028e72e765e7
68
py
Python
PyColorPalette/__init__.py
Dilan1020/PyColorPalette
64c48cfe0228ef3022f472a3b97c3eecc190b3d7
[ "MIT" ]
58
2018-06-24T02:53:40.000Z
2022-03-25T08:37:52.000Z
PyColorPalette/__init__.py
Dilan1020/PyColorPalette
64c48cfe0228ef3022f472a3b97c3eecc190b3d7
[ "MIT" ]
null
null
null
PyColorPalette/__init__.py
Dilan1020/PyColorPalette
64c48cfe0228ef3022f472a3b97c3eecc190b3d7
[ "MIT" ]
9
2018-06-24T05:39:56.000Z
2021-08-10T21:05:09.000Z
name="PyColorPalette" from PyColorPalette.core import ColorPalette
17
44
0.852941
7
68
8.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.088235
68
3
45
22.666667
0.935484
0
0
0
0
0
0.205882
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
80dc34c7f1bed46cb9a8c85d48ff4594a9a45bd2
2,739
py
Python
apps/findings/migrations/0008_auto_20211220_1830.py
l3l3l/vulnman
f9d520dbf9f6838c459741bb1173a0382d5ecfd6
[ "MIT" ]
null
null
null
apps/findings/migrations/0008_auto_20211220_1830.py
l3l3l/vulnman
f9d520dbf9f6838c459741bb1173a0382d5ecfd6
[ "MIT" ]
null
null
null
apps/findings/migrations/0008_auto_20211220_1830.py
l3l3l/vulnman
f9d520dbf9f6838c459741bb1173a0382d5ecfd6
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-20 18:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('findings', '0007_alter_vulnerabilitydetails_options'), ] operations = [ migrations.RemoveField( ...
31.125
105
0.561154
237
2,739
6.35865
0.278481
0.089582
0.20438
0.241539
0.672196
0.672196
0.48706
0.436629
0.367618
0.367618
0
0.019491
0.325666
2,739
87
106
31.482759
0.796427
0.016429
0
0.62963
1
0
0.151932
0.014487
0
0
0
0
0
1
0
false
0
0.024691
0
0.061728
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
80e3bf8511badd0fc0338bd798e5a4de23425cfa
148
py
Python
restfulpy/__init__.py
Carrene/restfulpy
21472af0415fffc23f8003b6074afc2de2e0b414
[ "MIT" ]
25
2017-06-19T10:01:36.000Z
2019-08-03T10:35:41.000Z
restfulpy/__init__.py
Carrene/restfulpy
21472af0415fffc23f8003b6074afc2de2e0b414
[ "MIT" ]
209
2017-09-27T11:59:29.000Z
2019-08-10T11:10:48.000Z
restfulpy/__init__.py
Carrene/restfulpy
21472af0415fffc23f8003b6074afc2de2e0b414
[ "MIT" ]
16
2017-11-22T15:44:31.000Z
2019-04-14T12:29:34.000Z
import warnings from .application import Application warnings.filterwarnings('ignore', message='Unknown REQUEST_METHOD') __version__ = '4.0.0'
14.8
67
0.783784
17
148
6.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0.022901
0.114865
148
9
68
16.444444
0.824427
0
0
0
0
0
0.22449
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
0394e42582444dc1d315c63f5af667e95bb87532
223
py
Python
nlp/files.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
4
2021-01-07T14:25:10.000Z
2021-02-01T10:36:01.000Z
nlp/files.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
nlp/files.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
import requests response = requests.get('https://gitlab.com/digitalhumanitiesatberkeley/computational-literary-analysis-readings/-/raw/master/content/texts/moonstone.md') moonstone2 = response.text print(moonstone2[:1000])
44.6
154
0.825112
25
223
7.36
0.88
0
0
0
0
0
0
0
0
0
0
0.028037
0.040359
223
4
155
55.75
0.831776
0
0
0
0
0.25
0.569507
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
03ca420e441d45236547087841b17143a6de8bc7
313
py
Python
invitation_game/game/admin.py
msvalen/server
113123570116cf629c7e4d1135d5803e5f2cf986
[ "MIT" ]
null
null
null
invitation_game/game/admin.py
msvalen/server
113123570116cf629c7e4d1135d5803e5f2cf986
[ "MIT" ]
null
null
null
invitation_game/game/admin.py
msvalen/server
113123570116cf629c7e4d1135d5803e5f2cf986
[ "MIT" ]
3
2021-09-02T15:52:02.000Z
2021-09-06T09:58:50.000Z
from django.contrib import admin from .models import Game, Invitation, Score, Character, Question, Profile # Register your models here. admin.site.register(Game) admin.site.register(Invitation) admin.site.register(Score) admin.site.register(Character) admin.site.register(Question) admin.site.register(Profile)
26.083333
73
0.811502
42
313
6.047619
0.380952
0.212598
0.401575
0
0
0
0
0
0
0
0
0
0.083067
313
11
74
28.454545
0.885017
0.083067
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
0
1
0
0
0
0
0
0
3
03ea9ef7b7572bbd627707a5752d6e85afc8eafa
305
py
Python
app.py
AlcindoSchleder/FlaskBooks
08ac0fedc423ca73b1c4602e683401143e55ffea
[ "MIT" ]
null
null
null
app.py
AlcindoSchleder/FlaskBooks
08ac0fedc423ca73b1c4602e683401143e55ffea
[ "MIT" ]
null
null
null
app.py
AlcindoSchleder/FlaskBooks
08ac0fedc423ca73b1c4602e683401143e55ffea
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from server import server # Need to import all resources from apps.home.view import HomeRoute # Register all Blueprint server.server_app.register_blueprint(server.server_home_bp) # run dev, prod or test if __name__ == '__main__': server.run()
21.785714
59
0.744262
46
305
4.673913
0.673913
0.139535
0.195349
0
0
0
0
0
0
0
0
0.003846
0.147541
305
13
60
23.461538
0.823077
0.380328
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
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
03ed7c934330d9b8114128358b6f31934c07631b
24
py
Python
bintest/infoqscraper/cache/__init__.py
naxhh/infoqscraper
4fc026b994f98a0a7fe8578e0c9a3a9664982b2e
[ "BSD-2-Clause" ]
41
2015-01-18T14:20:19.000Z
2021-03-15T22:49:24.000Z
bintest/infoqscraper/cache/__init__.py
naxhh/infoqscraper
4fc026b994f98a0a7fe8578e0c9a3a9664982b2e
[ "BSD-2-Clause" ]
8
2015-09-18T20:43:52.000Z
2019-10-26T11:14:25.000Z
bintest/infoqscraper/cache/__init__.py
naxhh/infoqscraper
4fc026b994f98a0a7fe8578e0c9a3a9664982b2e
[ "BSD-2-Clause" ]
9
2015-10-23T03:41:13.000Z
2020-10-01T08:10:34.000Z
__author__ = 'cmathieu'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
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
03f78687ca6264c023f8761c019a313049334d89
919
py
Python
sap/cf_logging/falcon_logging/request_reader.py
mhaas/cf-python-logging-support
86b7e8ef35b935401bdec7da275fe4e09302988c
[ "Apache-2.0" ]
16
2017-11-30T06:17:07.000Z
2021-09-13T13:41:17.000Z
sap/cf_logging/falcon_logging/request_reader.py
mhaas/cf-python-logging-support
86b7e8ef35b935401bdec7da275fe4e09302988c
[ "Apache-2.0" ]
32
2017-12-01T14:48:17.000Z
2022-02-19T04:49:55.000Z
sap/cf_logging/falcon_logging/request_reader.py
mhaas/cf-python-logging-support
86b7e8ef35b935401bdec7da275fe4e09302988c
[ "Apache-2.0" ]
7
2018-03-08T15:52:55.000Z
2022-02-27T18:52:57.000Z
""" Falcon request reader """ from sap.cf_logging import defaults from sap.cf_logging.core.request_reader import RequestReader class FalconRequestReader(RequestReader): """ Read log related properties out of falcon request """ def __init__(self, username_key): self._username_key = username_key ...
27.848485
67
0.700762
113
919
5.469027
0.389381
0.088997
0.097087
0.05178
0.161812
0.161812
0.161812
0.161812
0
0
0
0
0.220892
919
32
68
28.71875
0.863128
0.147987
0
0.111111
0
0
0.005202
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
0.833333
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
208531e7e6b8d649b78bdc1419deb5254d06f2d0
303
py
Python
students/k3343/laboratory_works/Zhabrovets_Ekaterina/laboratory_work_1/workshops/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
10
2020-03-20T09:06:12.000Z
2021-07-27T13:06:02.000Z
students/k3343/laboratory_works/Zhabrovets_Ekaterina/laboratory_work_1/workshops/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
134
2020-03-23T09:47:48.000Z
2022-03-12T01:05:19.000Z
students/k3343/laboratory_works/Zhabrovets_Ekaterina/laboratory_work_1/workshops/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
71
2020-03-20T12:45:56.000Z
2021-10-31T19:22:25.000Z
from django.contrib import admin from .models import Location, DanceStyle, Choreographer, Workshop, Comments, Master admin.site.register(Location) admin.site.register(DanceStyle) admin.site.register(Choreographer) admin.site.register(Workshop) admin.site.register(Comments) admin.site.register(Master)
30.3
83
0.831683
38
303
6.631579
0.368421
0.214286
0.404762
0
0
0
0
0
0
0
0
0
0.066007
303
10
84
30.3
0.890459
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
0
1
0
0
0
0
0
0
3
2091fb2f47499fb97e354a048cb74b245c33fa8b
435
py
Python
osctiny/utils/backports.py
simotek/osc-tiny
5207278a651ffa90a923eefd195150384251ac10
[ "MIT" ]
11
2019-10-29T09:40:19.000Z
2022-01-20T08:57:49.000Z
osctiny/utils/backports.py
simotek/osc-tiny
5207278a651ffa90a923eefd195150384251ac10
[ "MIT" ]
14
2019-09-25T09:02:43.000Z
2022-03-23T10:02:36.000Z
osctiny/utils/backports.py
simotek/osc-tiny
5207278a651ffa90a923eefd195150384251ac10
[ "MIT" ]
8
2020-01-08T10:19:39.000Z
2022-03-08T07:44:04.000Z
""" Backports of handy new features ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. versionadded:: 0.3.0 """ try: # pylint: disable=unused-import from functools import lru_cache except ImportError: # Whoever had the grandiose idea to backport this to Python2? # pylint: disable=unused-argument def lru_cache(*arg...
22.894737
65
0.597701
49
435
5.265306
0.734694
0.100775
0.147287
0
0
0
0
0
0
0
0
0.012085
0.23908
435
18
66
24.166667
0.767372
0.517241
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
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
209981fc52f57e23e348bf25fdba264b54fb5383
264
py
Python
src/tasks.py
OlivierCoilland/simple-github-bot
8c76cb0c22544b7f77f77a001aee00d1f9ff1cbf
[ "MIT" ]
null
null
null
src/tasks.py
OlivierCoilland/simple-github-bot
8c76cb0c22544b7f77f77a001aee00d1f9ff1cbf
[ "MIT" ]
null
null
null
src/tasks.py
OlivierCoilland/simple-github-bot
8c76cb0c22544b7f77f77a001aee00d1f9ff1cbf
[ "MIT" ]
null
null
null
import config import utils def warn(issue): text = utils.format_message(issue, config.warning_message) issue.add_comment(text) def close(issue): text = utils.format_message(issue, config.closing_message) issue.add_comment(text) issue.close()
22
62
0.742424
36
264
5.277778
0.388889
0.252632
0.147368
0.210526
0.673684
0.4
0.4
0
0
0
0
0
0.155303
264
11
63
24
0.852018
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.444444
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
0
0
1
0
0
0
0
0
0
0
3
209fcb845e55ebf15f0cbc0c49021882f9477137
200
py
Python
emat/multitarget/base.py
jinsanity07git/tmip-emat
ff816cf50f141825078bb276d6da46d92c5028a9
[ "BSD-3-Clause" ]
13
2019-03-26T13:27:43.000Z
2022-02-02T18:30:36.000Z
emat/multitarget/base.py
jinsanity07git/tmip-emat
ff816cf50f141825078bb276d6da46d92c5028a9
[ "BSD-3-Clause" ]
19
2019-04-24T20:58:10.000Z
2020-09-11T22:31:06.000Z
emat/multitarget/base.py
jinsanity07git/tmip-emat
ff816cf50f141825078bb276d6da46d92c5028a9
[ "BSD-3-Clause" ]
17
2019-02-19T16:13:52.000Z
2022-02-14T20:50:36.000Z
from sklearn.multioutput import MultiOutputRegressor as _MultiOutputRegressor from .cross_val import CrossValMixin class MultiOutputRegressor( _MultiOutputRegressor, CrossValMixin ): pass
11.764706
77
0.83
17
200
9.588235
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.14
200
16
78
12.5
0.947674
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.285714
0
0.428571
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
1
0
0
0
0
0
3
20b1fe47fe8b5865d74e603c687af52050083463
179
py
Python
pages/themes/beginners/modulesAndPackages/examples/BMI.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
pages/themes/beginners/modulesAndPackages/examples/BMI.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
pages/themes/beginners/modulesAndPackages/examples/BMI.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
from BMI_functions import * user_data = get_user_data() bmi = calc_BMI(user_data["weight"],user_data["height"] ) bmi_category = calc_BMI_category(bmi) print_results(bmi_category)
29.833333
56
0.798883
28
179
4.678571
0.464286
0.244275
0
0
0
0
0
0
0
0
0
0
0.083799
179
6
57
29.833333
0.79878
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
20b45183aeb54fb6c4d38d8e14b937df3caa743f
1,500
py
Python
scitbx/math/sphere_sphere_intersection.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
scitbx/math/sphere_sphere_intersection.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
scitbx/math/sphere_sphere_intersection.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division, absolute_import import math pi = math.pi def volume(radius_1, radius_2, distance): "http://mathworld.wolfram.com/Sphere-SphereIntersection.html" assert radius_1 >= 0 assert radius_2 >= 0 assert distance >= 0 rrd = radius_1 + radius_2 - distance if (rrd <= 0): return 0 ...
34.090909
73
0.659333
264
1,500
3.57197
0.212121
0.139979
0.198303
0.268293
0.50053
0.340403
0.327678
0.168611
0.082715
0.082715
0
0.18241
0.181333
1,500
43
74
34.883721
0.585505
0
0
0
0
0
0.046
0
0
0
0
0
0.4
0
null
null
0
0.075
null
null
0.025
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
20f53fed60577bb8a6d4f5b3f69e554334d10337
4,746
py
Python
tests/lib/handlers/test_un_rsvp.py
Dylnuge/lunch-bot
8770bac9e7a824d9ed75e7aa3abcc112be840509
[ "MIT" ]
1
2020-02-19T19:52:41.000Z
2020-02-19T19:52:41.000Z
tests/lib/handlers/test_un_rsvp.py
Dylnuge/lunch-bot
8770bac9e7a824d9ed75e7aa3abcc112be840509
[ "MIT" ]
11
2020-01-14T23:32:40.000Z
2020-02-07T17:51:13.000Z
tests/lib/handlers/test_un_rsvp.py
Dylnuge/lunch-bot
8770bac9e7a824d9ed75e7aa3abcc112be840509
[ "MIT" ]
2
2020-02-19T19:53:30.000Z
2020-02-20T15:02:53.000Z
from lib.handlers.un_rsvp import handle_un_rsvp from lib.models.plan import Plan from lib.models.user import User def test_handle_un_rsvp_bad_args( mock_send_reply, make_handler_params, ): """ Ensures that handle_un_rsvp fails as expected when we don't provide the correct number of arguments. """ ...
28.419162
133
0.682259
680
4,746
4.498529
0.189706
0.066688
0.086303
0.064727
0.768879
0.730304
0.70644
0.685518
0.685518
0.685518
0
0.016986
0.2185
4,746
166
134
28.590361
0.807765
0.147071
0
0.619048
0
0.019048
0.145822
0
0
0
0
0
0.133333
1
0.066667
false
0
0.028571
0
0.095238
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
45502a4500740952fe6825aa0cb9c1147049be33
99
py
Python
mstools/builder/packmol/__init__.py
Xiangyan93/mstools
7143dbfc2eb4e82e6631652a0c1b38a793dcc678
[ "MIT" ]
3
2021-05-14T04:27:53.000Z
2022-01-11T17:47:20.000Z
aims/aimstools/simulator/packmol/__init__.py
Xiangyan93/AIMS
1d0d6de03ef79d3cbfe2cd244f12c41d18acb61d
[ "MIT" ]
null
null
null
aims/aimstools/simulator/packmol/__init__.py
Xiangyan93/AIMS
1d0d6de03ef79d3cbfe2cd244f12c41d18acb61d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from .packmol import Packmol __all__ = ['Packmol']
14.142857
28
0.636364
13
99
4.538462
0.846154
0
0
0
0
0
0
0
0
0
0
0.012048
0.161616
99
6
29
16.5
0.698795
0.424242
0
0
0
0
0.127273
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
4578422718cf7d875d7b4897315d0defa19250ec
1,414
py
Python
packages/graphx/src/graphx/configurations/infrastructure/rest/swagger/__init__.py
0mars/graphx
8f58df3979b5fd96e4183811c9d8339c92367d00
[ "Apache-2.0" ]
null
null
null
packages/graphx/src/graphx/configurations/infrastructure/rest/swagger/__init__.py
0mars/graphx
8f58df3979b5fd96e4183811c9d8339c92367d00
[ "Apache-2.0" ]
null
null
null
packages/graphx/src/graphx/configurations/infrastructure/rest/swagger/__init__.py
0mars/graphx
8f58df3979b5fd96e4183811c9d8339c92367d00
[ "Apache-2.0" ]
null
null
null
import json import falcon from apispec import APISpec from apispec.ext.marshmallow import MarshmallowPlugin from falcon import Request from falcon.response import Response from falcon_apispec import FalconPlugin from graphx.core.rest.resources import NodeCollection, EdgeCollection from graphx.core.rest.schemas impor...
36.25641
71
0.646393
158
1,414
5.708861
0.417722
0.053215
0.079823
0.0898
0.150776
0.150776
0
0
0
0
0
0.007715
0.26662
1,414
38
72
37.210526
0.862102
0.023338
0
0
0
0
0.015954
0
0
0
0
0.026316
0
1
0.068966
false
0
0.413793
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
457ef7503670572a4fc5ab2f3c6f777703070bb7
123
py
Python
Semana 8/Veterinaria/Veterinaria/clientes/urls.py
ederivero/CodigoVirtualBackend
355fb17206a468655722f7249492843728a8a71b
[ "MIT" ]
1
2020-11-21T18:11:32.000Z
2020-11-21T18:11:32.000Z
Semana 8/Veterinaria/Veterinaria/clientes/urls.py
roldanlihugo/backendCodigo
219acad5a21fd47a630c00c7fb6877ea98b79d83
[ "MIT" ]
null
null
null
Semana 8/Veterinaria/Veterinaria/clientes/urls.py
roldanlihugo/backendCodigo
219acad5a21fd47a630c00c7fb6877ea98b79d83
[ "MIT" ]
2
2020-12-03T23:23:59.000Z
2021-09-22T01:06:18.000Z
from django.urls import path from .views import ClientesView urlpatterns= [ path('cliente', ClientesView.as_view()), ]
20.5
44
0.747967
15
123
6.066667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.138211
123
6
45
20.5
0.858491
0
0
0
0
0
0.056452
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
45833b8d29c8da4e2612807d7d64a98a75e16d58
10,390
py
Python
game_apis/rest/open_dota.py
PandaXcentric/game_apis
fb7dfc35f89334e83e15e518fa776b4a1ca87476
[ "MIT" ]
22
2018-11-26T08:18:38.000Z
2022-03-02T22:19:51.000Z
game_apis/rest/open_dota.py
PandaXcentric/game_apis
fb7dfc35f89334e83e15e518fa776b4a1ca87476
[ "MIT" ]
2
2018-12-19T02:46:22.000Z
2019-01-08T17:15:38.000Z
game_apis/rest/open_dota.py
PandaXcentric/game_apis
fb7dfc35f89334e83e15e518fa776b4a1ca87476
[ "MIT" ]
3
2020-04-05T00:46:45.000Z
2021-07-03T14:19:06.000Z
import requests from game_apis.rest.api import API from game_apis.log import get_logger LOG = get_logger('rest', 'rest.log') # https://docs.opendota.com class OpenDota(API): ''' OpenDota integrates with the OpenDota api. ''' ID = 'OPENDOTA' LIMIT = 1 # 60 requests per minute. rest_api = "http...
34.983165
260
0.624832
1,351
10,390
4.610659
0.166543
0.065821
0.08348
0.039653
0.520308
0.489003
0.452721
0.377268
0.358645
0.325734
0
0.015138
0.256112
10,390
296
261
35.101351
0.790788
0.315111
0
0.248062
0
0
0.104998
0.010846
0
0
0
0
0
1
0.333333
false
0
0.023256
0.147287
0.72093
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
45b61d7a10f2738de45a56146a1f4d7bfb2c756f
119
py
Python
backend/canvas_app_explorer/apps.py
danie1zhang/canvas-app-explorer
5bedeac7a8c2a1035975775f7c11df69512a6790
[ "Apache-2.0" ]
1
2021-06-15T18:19:42.000Z
2021-06-15T18:19:42.000Z
backend/canvas_app_explorer/apps.py
danie1zhang/canvas-app-explorer
5bedeac7a8c2a1035975775f7c11df69512a6790
[ "Apache-2.0" ]
98
2021-06-01T02:48:42.000Z
2022-03-23T18:11:15.000Z
backend/canvas_app_explorer/apps.py
danie1zhang/canvas-app-explorer
5bedeac7a8c2a1035975775f7c11df69512a6790
[ "Apache-2.0" ]
4
2021-06-02T18:00:24.000Z
2021-06-09T15:36:23.000Z
from django.apps import AppConfig class CanvasAppExplorerConfig(AppConfig): name = 'backend.canvas_app_explorer'
19.833333
41
0.806723
13
119
7.230769
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.12605
119
5
42
23.8
0.903846
0
0
0
0
0
0.226891
0.226891
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
45be76994fa175529662ce0214d03fd71a0b683f
67
py
Python
transfer_learning/hyperparameters.py
E-Fumi/VariationalAutoEncoder
551c257d6c7b1c2ad2a218c78f7e228ffbd1e0ca
[ "MIT" ]
1
2021-12-02T22:28:28.000Z
2021-12-02T22:28:28.000Z
transfer_learning/hyperparameters.py
E-Fumi/TheAccidentalCastleDreamer
551c257d6c7b1c2ad2a218c78f7e228ffbd1e0ca
[ "MIT" ]
null
null
null
transfer_learning/hyperparameters.py
E-Fumi/TheAccidentalCastleDreamer
551c257d6c7b1c2ad2a218c78f7e228ffbd1e0ca
[ "MIT" ]
1
2021-11-07T13:50:10.000Z
2021-11-07T13:50:10.000Z
batch_size = 32 stages = 4 epochs = 32 learning_rate = 0.00005
13.4
24
0.686567
11
67
4
0.909091
0
0
0
0
0
0
0
0
0
0
0.215686
0.238806
67
4
25
16.75
0.647059
0
0
0
0
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
1
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
45c51359eedb3e7311a568bff32a0f50fc16d083
493
py
Python
uds/transport_interface/__init__.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
18
2021-03-28T22:39:18.000Z
2022-02-13T21:50:37.000Z
uds/transport_interface/__init__.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
153
2021-02-09T09:27:05.000Z
2022-03-29T06:09:15.000Z
uds/transport_interface/__init__.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
1
2021-05-13T16:01:46.000Z
2021-05-13T16:01:46.000Z
""" A subpackage with implementation for UDS middle layers (Transport and Network). It provides configurable Transport Interfaces for: - transmitting and receiving UDS packets - transmitting and receiving UDS messages - storing historic information about transmitted and received UDS packets - storing historic info...
37.923077
79
0.827586
57
493
7.122807
0.578947
0.059113
0.093596
0.133005
0.275862
0.275862
0.275862
0.275862
0
0
0
0
0.139959
493
12
80
41.083333
0.957547
0.839757
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
afd8d78dc11ac4169df2acf01f4035e761282977
142
py
Python
tests/utils/linear_model.py
vnmabus/scikit-datasets
ef6f4f9dda7f6c929e438d186806553ba04c2809
[ "MIT" ]
13
2017-11-24T13:24:16.000Z
2022-03-14T11:29:56.000Z
tests/utils/linear_model.py
vnmabus/scikit-datasets
ef6f4f9dda7f6c929e438d186806553ba04c2809
[ "MIT" ]
20
2018-09-03T17:12:58.000Z
2022-03-17T09:49:54.000Z
tests/utils/linear_model.py
vnmabus/scikit-datasets
ef6f4f9dda7f6c929e438d186806553ba04c2809
[ "MIT" ]
3
2018-08-08T13:51:40.000Z
2020-06-19T06:44:33.000Z
""" @author: David Diaz Vico @license: MIT """ from sklearn.linear_model import LinearRegression LinearRegressionCustom = LinearRegression
14.2
49
0.788732
14
142
7.928571
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.126761
142
9
50
15.777778
0.895161
0.267606
0
0
0
0
0
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
aff96eec40955f1e868a1fc38b7f67e50af5a257
539
py
Python
original_server/app.py
Rolling-meatballs/web_sever
307b32c7a7421f2eef95ca8dc1652ae9210f2b53
[ "MIT" ]
null
null
null
original_server/app.py
Rolling-meatballs/web_sever
307b32c7a7421f2eef95ca8dc1652ae9210f2b53
[ "MIT" ]
null
null
null
original_server/app.py
Rolling-meatballs/web_sever
307b32c7a7421f2eef95ca8dc1652ae9210f2b53
[ "MIT" ]
null
null
null
from routes.routes_todo import route_dict as todo_routes from routes.routes_weibo import route_dict as weibo_routes from routes.routes_user import route_dict as user_routes from routes.routes_public import route_dict as public_routes from web_framework import url_map, response_for_path def configured_application(): ...
29.944444
60
0.795918
82
539
4.902439
0.292683
0.074627
0.159204
0.169154
0
0
0
0
0
0
0
0
0.142857
539
17
61
31.705882
0.87013
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0.076923
0.692308
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b30455d743ef62d376e61047a0d1aceb4510350a
1,016
py
Python
pyNastran/bdf/test/all_tests.py
numenic/pyNastran
fd5d3f0bf18db6595d85b9ac152f611e23122a68
[ "BSD-3-Clause" ]
null
null
null
pyNastran/bdf/test/all_tests.py
numenic/pyNastran
fd5d3f0bf18db6595d85b9ac152f611e23122a68
[ "BSD-3-Clause" ]
null
null
null
pyNastran/bdf/test/all_tests.py
numenic/pyNastran
fd5d3f0bf18db6595d85b9ac152f611e23122a68
[ "BSD-3-Clause" ]
null
null
null
from pyNastran.bdf.test.test_field_writer import Testfield_writer_8 from pyNastran.bdf.test.bdf_unit_tests import TestBDF from pyNastran.bdf.cards.test.all_tests import * from pyNastran.bdf.mesh_utils.test.all_tests import * from pyNastran.bdf.patran_utils.test_patran import TestPatran, TestPatranSyntax # unit from ...
36.285714
85
0.826772
146
1,016
5.493151
0.369863
0.194514
0.239402
0.124688
0.394015
0.334165
0.264339
0
0
0
0
0.0011
0.105315
1,016
27
86
37.62963
0.881188
0.034449
0
0
0
0
0.019467
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
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
b30a8501bb53211652ec432dc6faafb7a6cf1f3e
605
py
Python
cowsay/lib/cows/eyes.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/eyes.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/eyes.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Eyes(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} .::!!!!!!!:. .!!!!!:. .:!!!!!!!!!!!! ~~~~!!!!!!. .:!!!!!!!!!UWWW\$\$\$ :\$\$NWX!!: .:!!!!!!XUWW\$\$\$\$\$\$\$\$\$P \$\$\$\$\$##WX!: ...
43.214286
68
0.128926
24
605
3.25
0.833333
0
0
0
0
0
0
0
0
0
0
0.002558
0.353719
605
14
69
43.214286
0.196931
0
0
0.142857
0
0
0.907591
0.209571
0
0
0
0
0
1
0.071429
false
0
0
0.071429
0.142857
0
1
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b32992af10fcef538669faf1a481c863c3fd50d5
1,469
py
Python
elstruct/elstruct/tests/test__writer_programs.py
sjklipp/autoio
e2b471e9c9dec933319c98a30d4d519ca5d47645
[ "Apache-2.0" ]
null
null
null
elstruct/elstruct/tests/test__writer_programs.py
sjklipp/autoio
e2b471e9c9dec933319c98a30d4d519ca5d47645
[ "Apache-2.0" ]
1
2022-02-15T19:35:14.000Z
2022-02-15T19:35:14.000Z
elstruct/elstruct/tests/test__writer_programs.py
sjklipp/autoio
e2b471e9c9dec933319c98a30d4d519ca5d47645
[ "Apache-2.0" ]
13
2020-06-24T05:21:11.000Z
2021-05-05T19:58:30.000Z
""" test elstruct.writer """ from elstruct import writer def test__programs(): """ test writer.programs """ assert set(writer.programs()) >= { 'cfour2', 'gaussian09', 'gaussian16', 'molpro2015', 'mrcc2018', 'psi4'} def test__gradient_programs(): """ test writer.gradient_programs """ ...
24.483333
79
0.635126
137
1,469
6.481752
0.189781
0.05518
0.141892
0.181306
0.245496
0.195946
0.137387
0.137387
0
0
0
0.06383
0.200136
1,469
59
80
24.898305
0.691915
0.178353
0
0.153846
0
0
0.242869
0
0
0
0
0
0.269231
1
0.269231
true
0
0.038462
0
0.307692
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
1
0
0
0
0
0
0
3
b368c735a2fefa8ed07a502548ef93931f3b2047
825
py
Python
app/api/member/models.py
lunyamwis/laylinks-bend
04ff9ebb5da482e5b2642a89654a5b5f0128eaaa
[ "MIT" ]
null
null
null
app/api/member/models.py
lunyamwis/laylinks-bend
04ff9ebb5da482e5b2642a89654a5b5f0128eaaa
[ "MIT" ]
null
null
null
app/api/member/models.py
lunyamwis/laylinks-bend
04ff9ebb5da482e5b2642a89654a5b5f0128eaaa
[ "MIT" ]
null
null
null
from django.db import models from app.api.models import BaseModel from django.contrib.postgres.fields import ArrayField class Member(BaseModel): conference_name = models.CharField(max_length=255) field_name = models.CharField(max_length=255) home_church_name = models.TextField() home_church_email = mo...
37.5
74
0.781818
111
825
5.513514
0.414414
0.132353
0.235294
0.313725
0.366013
0.277778
0.120915
0
0
0
0
0.033613
0.134545
825
21
75
39.285714
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0.058824
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b371e56ce6621c7937d3d5fc39bb02b9fb1a49fb
183
py
Python
briq/settings.py
roshansathya/quotes_application
eeaf4a732cc23509bac70ada8f9f5e91de4acb06
[ "MIT" ]
null
null
null
briq/settings.py
roshansathya/quotes_application
eeaf4a732cc23509bac70ada8f9f5e91de4acb06
[ "MIT" ]
null
null
null
briq/settings.py
roshansathya/quotes_application
eeaf4a732cc23509bac70ada8f9f5e91de4acb06
[ "MIT" ]
null
null
null
import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = BASE_DIR+"/briq" APP_SECRET_KEY = 'briqassignment' DB_NAME = 'briq_db' DB_ALIAS = 'core'
22.875
70
0.748634
30
183
4.166667
0.566667
0.168
0.208
0.24
0.256
0
0
0
0
0
0
0
0.103825
183
8
71
22.875
0.762195
0
0
0
0
0
0.163043
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
2fef21421871497f37d4079f2bb76b57d5590972
5,289
py
Python
dummy_spark/sql/sql_context.py
wdm0006/dummyrdd
d66c30495cbaa001a744128c89d41fb55741fba5
[ "BSD-3-Clause" ]
null
null
null
dummy_spark/sql/sql_context.py
wdm0006/dummyrdd
d66c30495cbaa001a744128c89d41fb55741fba5
[ "BSD-3-Clause" ]
null
null
null
dummy_spark/sql/sql_context.py
wdm0006/dummyrdd
d66c30495cbaa001a744128c89d41fb55741fba5
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'willmcginnis' class SQLContext(object): def __init__(self, parkContext, sqlContext=None): pass @property def _ssql_ctx(self): """ NotImplemented :return: """ raise NotImplementedError def setConf(self, key, value...
19.093863
93
0.518813
379
5,289
7.203166
0.187335
0.108791
0.296703
0.302198
0.597802
0.537729
0.450916
0.425641
0.38022
0.261172
0
0.001851
0.387219
5,289
276
94
19.163043
0.840481
0.278503
0
0.483333
0
0
0.004655
0
0
0
0
0
0
1
0.466667
false
0.016667
0
0
0.483333
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
1
0
0
0
0
0
0
0
3
2ff4bf6a2df0d9dfbdc54c587d898d2f0c11e367
130
py
Python
community_supplied/Protocols/Bgp/BGPneighbor.py
vvikramb/healthbot-rules
72bdad144bebb512e9ac32d607b5924d96225334
[ "Apache-2.0", "BSD-3-Clause" ]
43
2018-11-27T00:42:45.000Z
2022-02-24T01:19:39.000Z
community_supplied/Protocols/Bgp/BGPneighbor.py
vvikramb/healthbot-rules
72bdad144bebb512e9ac32d607b5924d96225334
[ "Apache-2.0", "BSD-3-Clause" ]
266
2018-10-26T10:19:04.000Z
2022-03-16T04:38:29.000Z
community_supplied/Protocols/Bgp/BGPneighbor.py
vvikramb/healthbot-rules
72bdad144bebb512e9ac32d607b5924d96225334
[ "Apache-2.0", "BSD-3-Clause" ]
99
2018-10-25T09:53:55.000Z
2021-12-07T09:51:59.000Z
def neighbor(neighbor_list,peer_state, **kwargs): if peer_state in neighbor_list: return 1 else: return 0
21.666667
49
0.653846
18
130
4.5
0.666667
0.296296
0
0
0
0
0
0
0
0
0
0.021277
0.276923
130
5
50
26
0.840426
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
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
2ff60da79fb74e3ad7723b99927c719038db4116
188
py
Python
setup.py
EricCousineau-TRI/deformable-ravens
6ff2443ba7f6673ba4696484e052441262cc14d7
[ "Apache-2.0" ]
98
2020-12-23T02:32:01.000Z
2022-03-30T07:09:59.000Z
setup.py
EricCousineau-TRI/deformable-ravens
6ff2443ba7f6673ba4696484e052441262cc14d7
[ "Apache-2.0" ]
8
2020-12-22T16:17:24.000Z
2021-10-13T23:44:48.000Z
setup.py
EricCousineau-TRI/deformable-ravens
6ff2443ba7f6673ba4696484e052441262cc14d7
[ "Apache-2.0" ]
26
2020-12-22T16:14:11.000Z
2022-03-03T10:27:29.000Z
from distutils.core import setup from setuptools import find_packages setup( name='ravens', version='1.0.0', author='Andy Zeng, Daniel Seita', packages=find_packages(), )
18.8
37
0.702128
25
188
5.2
0.72
0.184615
0
0
0
0
0
0
0
0
0
0.019481
0.180851
188
9
38
20.888889
0.824675
0
0
0
0
0
0.180851
0
0
0
0
0
0
1
0
true
0
0.25
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
0
1
0
0
0
0
0
0
3
2ff72c943bf18384f1eba7ff8d26782a7b8e63fc
8,108
py
Python
gr/tensor.py
MSUNumRel/pyro2
aa9e51116430e3e5e3998ecae76391bdd173d1f5
[ "BSD-3-Clause" ]
1
2019-04-02T16:52:29.000Z
2019-04-02T16:52:29.000Z
gr/tensor.py
MSUNumRel/pyro2
aa9e51116430e3e5e3998ecae76391bdd173d1f5
[ "BSD-3-Clause" ]
11
2019-04-02T17:31:32.000Z
2019-04-23T02:07:46.000Z
gr/tensor.py
MSUNumRel/pyro2
aa9e51116430e3e5e3998ecae76391bdd173d1f5
[ "BSD-3-Clause" ]
2
2019-04-15T19:20:47.000Z
2021-02-07T03:26:27.000Z
""" tensor.py This module implements a basic spatial three-vector and rank-two tensor. These types are derived from `numpy.ndarray` for complete access to the vectorized linear algebra operations in `scipy`. * Can be created as a single vector/tensor or as a grid of vectors/ tensors. ...
25.496855
98
0.496917
980
8,108
4.055102
0.176531
0.013085
0.019628
0.018118
0.349774
0.302214
0.266985
0.245848
0.221188
0.208103
0
0.010682
0.341885
8,108
317
99
25.577287
0.73407
0.46818
0
0.190476
0
0
0.043692
0
0
0
0
0
0
1
0.314286
false
0
0.009524
0.114286
0.561905
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
6430dfa37a82c017a5edee010373bc113c252da5
624
py
Python
app/middleware/cors.py
brabidou/GetSqurd
14f9096a914ff6dda295ab2d50d60ec42f4021bc
[ "MIT" ]
null
null
null
app/middleware/cors.py
brabidou/GetSqurd
14f9096a914ff6dda295ab2d50d60ec42f4021bc
[ "MIT" ]
null
null
null
app/middleware/cors.py
brabidou/GetSqurd
14f9096a914ff6dda295ab2d50d60ec42f4021bc
[ "MIT" ]
1
2019-03-05T14:45:57.000Z
2019-03-05T14:45:57.000Z
from app.config import settings class CrossDomain(object): def process_response(self, req, resp, resource): resp.set_header("Access-Control-Allow-Origin", settings.get("ACCESS_CONTROL_ALLOW_ORIGIN")) resp.set_header("Access-Control-Allow-Methods", se...
44.571429
73
0.649038
67
624
5.791045
0.373134
0.268041
0.371134
0.195876
0.618557
0.319588
0
0
0
0
0
0
0.245192
624
13
74
48
0.823779
0
0
0
0
0
0.36859
0.36859
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
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
64359816c0b2e59513649f79adf695a75db47371
2,406
py
Python
detector/base.py
victor-iyiola/shape-recognition
4a5818b9ec4b549aa1dae9660a4bfad76ed6b7c9
[ "MIT" ]
null
null
null
detector/base.py
victor-iyiola/shape-recognition
4a5818b9ec4b549aa1dae9660a4bfad76ed6b7c9
[ "MIT" ]
null
null
null
detector/base.py
victor-iyiola/shape-recognition
4a5818b9ec4b549aa1dae9660a4bfad76ed6b7c9
[ "MIT" ]
null
null
null
"""Base class for detectors. @author Victor I. Afolabi Artificial Intelligence & Software Engineer. Email: javafolabi@gmail.com GitHub: https://github.com/victor-iyiola @project File: base.py Created on 26 June, 2018 @ 11:06 AM. @license MIT License Copyright (c) 2018...
27.033708
78
0.602244
278
2,406
5.07554
0.471223
0.038979
0.023388
0.024096
0
0
0
0
0
0
0
0.011229
0.296758
2,406
88
79
27.340909
0.822695
0.295511
0
0.052632
0
0
0.055133
0.013308
0
0
0
0
0
1
0.210526
false
0.026316
0.078947
0.105263
0.526316
0.026316
0
0
0
null
0
0
0
0
0
0
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
643776dff31689eb3170653247954dc04d879ebe
123
py
Python
setup.py
mohamamdiran/eitaapykit
079e836a0df4b0f44b8f9c6b939a1d4bf9b3f8f1
[ "MIT" ]
1
2021-09-23T17:20:20.000Z
2021-09-23T17:20:20.000Z
setup.py
mohamamdiran/eitaapykit
079e836a0df4b0f44b8f9c6b939a1d4bf9b3f8f1
[ "MIT" ]
null
null
null
setup.py
mohamamdiran/eitaapykit
079e836a0df4b0f44b8f9c6b939a1d4bf9b3f8f1
[ "MIT" ]
null
null
null
from distutils.core import setup setup ( name='Eitaa PyKit', version='1.0', packages=['eitaa'], )
17.571429
33
0.560976
14
123
4.928571
0.857143
0
0
0
0
0
0
0
0
0
0
0.022989
0.292683
123
7
34
17.571429
0.770115
0
0
0
0
0
0.161017
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
ff29f620927ab9d1848716638b11000e27be089d
31,420
py
Python
release/stubs.min/System/IO/Ports.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/IO/Ports.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/IO/Ports.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
# encoding: utf-8 # module System.IO.Ports calls itself Ports # from System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089 # by generator 1.145 """ NamespaceTracker represent a CLS namespace. """ # no imports # no functions # classes class Handshake(Enum,IComparable,IFormattable,IConvertibl...
25.400162
215
0.697072
4,000
31,420
5.2665
0.10625
0.0319
0.026203
0.025634
0.694864
0.675876
0.634909
0.61013
0.579275
0.546663
0
0.002261
0.197645
31,420
1,236
216
25.420712
0.83336
0.005856
0
0.718954
0
0
0
0
0
0
0
0
0
0
null
null
0.362745
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
ff46f76c045398c5c7d2a5d3b3cf3143770d15b8
34
py
Python
bitwarden_pyro/settings.py
apetresc/bitwarden-pyro
2312452b7c56b1c534c4f3874f162b9dc0df92c3
[ "MIT" ]
7
2019-12-10T12:51:48.000Z
2021-11-26T23:27:37.000Z
bitwarden_pyro/settings.py
apetresc/bitwarden-pyro
2312452b7c56b1c534c4f3874f162b9dc0df92c3
[ "MIT" ]
13
2019-12-06T11:53:31.000Z
2022-01-01T16:45:33.000Z
bitwarden_pyro/settings.py
apetresc/bitwarden-pyro
2312452b7c56b1c534c4f3874f162b9dc0df92c3
[ "MIT" ]
3
2020-09-25T05:59:30.000Z
2022-01-08T03:09:29.000Z
VERSION = "1.1.2" NAME = "bwpyro"
11.333333
17
0.588235
6
34
3.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.107143
0.176471
34
2
18
17
0.607143
0
0
0
0
0
0.323529
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
ff4edfde70b5aa263707f7d310f3c6050dfb3663
44
py
Python
py_nest_thermostat/__init__.py
bastienboutonnet/py-nest-thermostat
a015ffe618e90a2f890a8a5e66d3881e3f2378e1
[ "MIT" ]
3
2021-12-01T18:53:36.000Z
2021-12-24T16:47:49.000Z
py_nest_thermostat/__init__.py
bastienboutonnet/py-nest-thermostat
a015ffe618e90a2f890a8a5e66d3881e3f2378e1
[ "MIT" ]
8
2021-12-01T20:16:18.000Z
2022-02-08T21:01:43.000Z
py_nest_thermostat/__init__.py
bastienboutonnet/py-nest-thermostat
a015ffe618e90a2f890a8a5e66d3881e3f2378e1
[ "MIT" ]
1
2021-12-24T16:47:52.000Z
2021-12-24T16:47:52.000Z
"""Version module""" __version__ = "0.0.5"
11
21
0.613636
6
44
3.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0.078947
0.136364
44
3
22
14.666667
0.526316
0.318182
0
0
0
0
0.208333
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
ff8dfca95b7cf93cf459474ed6335d7699b97761
149
py
Python
handlers/index.py
encorehu/TornadoMincssSample
9543cbe0495383a18d2d503fd10868e6140fef63
[ "MIT" ]
null
null
null
handlers/index.py
encorehu/TornadoMincssSample
9543cbe0495383a18d2d503fd10868e6140fef63
[ "MIT" ]
null
null
null
handlers/index.py
encorehu/TornadoMincssSample
9543cbe0495383a18d2d503fd10868e6140fef63
[ "MIT" ]
null
null
null
import tornado class IndexHandler(tornado.web.RequestHandler): def get(self): print self self.render('index.html',UN= "Hello!")
21.285714
47
0.66443
18
149
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.208054
149
6
48
24.833333
0.838983
0
0
0
0
0
0.107383
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
ffa1384e05016cd8e7e76c530f4026b791462387
114
py
Python
lazynumpy/__init__.py
kennethgoodman/lazy_numpy
96d2c284da584f5b9bb980f7ae523e6171135248
[ "MIT" ]
1
2019-02-02T01:00:40.000Z
2019-02-02T01:00:40.000Z
lazynumpy/__init__.py
kennethgoodman/lazynumpy
96d2c284da584f5b9bb980f7ae523e6171135248
[ "MIT" ]
null
null
null
lazynumpy/__init__.py
kennethgoodman/lazynumpy
96d2c284da584f5b9bb980f7ae523e6171135248
[ "MIT" ]
null
null
null
""" __init__ for package code """ # pylint: disable=invalid-name name = 'lazynumpy' # pylint: enable=invalid-name
22.8
33
0.719298
14
114
5.571429
0.714286
0.282051
0
0
0
0
0
0
0
0
0
0
0.131579
114
4
34
28.5
0.787879
0.736842
0
0
0
0
0.409091
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
ffa89649a5ddb509a3e6074ecad5bdf52b64e386
589
py
Python
player.py
gabriel-gimenes/BlackJack-Python
8e86ec483106b20725ed181d022251d944270737
[ "MIT" ]
null
null
null
player.py
gabriel-gimenes/BlackJack-Python
8e86ec483106b20725ed181d022251d944270737
[ "MIT" ]
null
null
null
player.py
gabriel-gimenes/BlackJack-Python
8e86ec483106b20725ed181d022251d944270737
[ "MIT" ]
null
null
null
from hand import Hand class Player(): def __init__(self,balance,playerName,playerHand): self.balance = balance self.playerName = playerName self.playerHand = playerHand def __str__(self): self.hand = Hand(self.playerHand) return f'{self.playerName}: {self.playerHand} ({s...
26.772727
85
0.650255
64
589
5.859375
0.328125
0.117333
0.128
0
0
0
0
0
0
0
0
0
0.24618
589
22
86
26.772727
0.844595
0
0
0
0
0
0.113559
0.050847
0
0
0
0
0
1
0.352941
false
0
0.058824
0.117647
0.647059
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
4418fa2c097cb569dbfde79ec852366a4541eb66
12,192
py
Python
grin/extkey.py
hayeah/proof-of-concept
6dfda5a15dbd82a231d3f268588ed88f8305a69b
[ "Apache-2.0" ]
17
2018-09-02T20:48:09.000Z
2021-08-28T23:22:00.000Z
grin/extkey.py
hayeah/proof-of-concept
6dfda5a15dbd82a231d3f268588ed88f8305a69b
[ "Apache-2.0" ]
1
2019-09-20T03:36:27.000Z
2019-09-20T15:50:52.000Z
grin/extkey.py
GrinSwap/proof-of-concept
0856aa3b555e6725990bab36a7f75d9b042653bc
[ "Apache-2.0" ]
8
2018-11-09T15:17:52.000Z
2021-08-14T13:21:42.000Z
import abc import hashlib import hmac from typing import List from secp256k1 import Secp256k1 from secp256k1.key import SecretKey, PublicKey from grin.util import base58check_encode, base58check_decode class HardenedIndexError(Exception): pass class ChildNumberRangeError(Exception): pass class ChainCode: ...
35.236994
117
0.659777
1,439
12,192
5.411397
0.090341
0.033903
0.020033
0.032105
0.714139
0.667394
0.585848
0.497239
0.476178
0.476178
0
0.036443
0.23253
12,192
345
118
35.33913
0.795768
0
0
0.551331
0
0
0.005906
0
0
0
0.005249
0
0.019011
1
0.258555
false
0.038023
0.026616
0.136882
0.513308
0.098859
0
0
0
null
0
0
0
0
0
0
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
441b382e64eef76367e0661d8f63a6c69498977a
279
py
Python
bin/dbclient/__init__.py
rohansachdeva1990/cassandra-db-loader
a368e225973ddccbf1f5462e596f65df65e22549
[ "MIT" ]
null
null
null
bin/dbclient/__init__.py
rohansachdeva1990/cassandra-db-loader
a368e225973ddccbf1f5462e596f65df65e22549
[ "MIT" ]
1
2021-04-03T17:51:49.000Z
2021-04-03T17:51:49.000Z
bin/executor/__init__.py
rohansachdeva1990/cassandra-db-loader
a368e225973ddccbf1f5462e596f65df65e22549
[ "MIT" ]
null
null
null
''' The __init__.py file makes Python treat directories containing it as modules. Furthermore, this is the first file to be loaded in a module, so you can use it to execute code that you want to run each time a module is loaded, or specify the submodules to be exported. '''
34.875
78
0.759857
50
279
4.16
0.74
0.038462
0
0
0
0
0
0
0
0
0
0
0.197133
279
8
79
34.875
0.928571
0.964158
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
443465f6e5d3f73a1244c9a0b6ea87276606758f
158
py
Python
test/settings.py
Lion-1994/project_git
4c4d4f198b3c8f197ac9cb2fd828831719403c50
[ "MIT" ]
1
2019-10-09T03:22:17.000Z
2019-10-09T03:22:17.000Z
test/settings.py
Lion-1994/project_git
4c4d4f198b3c8f197ac9cb2fd828831719403c50
[ "MIT" ]
1
2019-10-08T08:25:48.000Z
2019-10-08T08:25:48.000Z
test/settings.py
Lion-1994/project_git
4c4d4f198b3c8f197ac9cb2fd828831719403c50
[ "MIT" ]
null
null
null
# 数据库连接的配置文件 parameters = { 'host':'127.0.0.1', 'user':'root', 'password':'tom', 'port':3306, 'charset':'utf8', 'database':'py1905' }
15.8
23
0.518987
17
158
4.823529
0.941176
0
0
0
0
0
0
0
0
0
0
0.122951
0.227848
158
9
24
17.555556
0.54918
0.063291
0
0
0
0
0.417808
0
0
0
0
0
0
1
0
false
0.125
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
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
443967a5d7d1e4f74e937a814846e7978f731b09
163
py
Python
prototype/_build/jupyter_execute/ModelTypes_intro.py
ebatty/prototype
9789b6109d93d6bb166f8aea81364d15f5315455
[ "MIT" ]
null
null
null
prototype/_build/jupyter_execute/ModelTypes_intro.py
ebatty/prototype
9789b6109d93d6bb166f8aea81364d15f5315455
[ "MIT" ]
null
null
null
prototype/_build/jupyter_execute/ModelTypes_intro.py
ebatty/prototype
9789b6109d93d6bb166f8aea81364d15f5315455
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # # Intro Video # <iframe width="420" height="315" # src="https://www.youtube.com/embed/KxldhMR5PxA"> # </iframe> # #
14.818182
50
0.619632
22
163
4.590909
0.954545
0
0
0
0
0
0
0
0
0
0
0.057971
0.153374
163
10
51
16.3
0.673913
0.865031
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4455f97544f82ebf88e8b81571309e3808c6e956
173
py
Python
fme_server_lib/FMERepositoryUtility/TextSection.py
bcgov/fme
0564363c59ccd06fe79459ec08ff3b7c5bf7e061
[ "Apache-2.0" ]
null
null
null
fme_server_lib/FMERepositoryUtility/TextSection.py
bcgov/fme
0564363c59ccd06fe79459ec08ff3b7c5bf7e061
[ "Apache-2.0" ]
2
2021-07-26T20:33:16.000Z
2021-07-26T20:33:19.000Z
fme_server_lib/FMERepositoryUtility/TextSection.py
bcgov/fme
0564363c59ccd06fe79459ec08ff3b7c5bf7e061
[ "Apache-2.0" ]
null
null
null
import re class TextSection: def __init__(self, text, start_pos, end_pos): self.text = text self.start_pos = start_pos self.end_pos = end_pos
17.3
49
0.641618
25
173
4.04
0.44
0.237624
0.178218
0
0
0
0
0
0
0
0
0
0.283237
173
9
50
19.222222
0.814516
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
447bbf2e94ad224be0ce37b58d070e43c01c7b7a
123
py
Python
Dmitry_Shevelev/h2_task4.py
Perekalskiyigor/Sirius
2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8
[ "MIT" ]
null
null
null
Dmitry_Shevelev/h2_task4.py
Perekalskiyigor/Sirius
2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8
[ "MIT" ]
null
null
null
Dmitry_Shevelev/h2_task4.py
Perekalskiyigor/Sirius
2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8
[ "MIT" ]
null
null
null
s_met: int = int(input(">")) # Вводим сантиметры met: int = s_met // 100 # Считаем полные метры print(met) # Их выводим
30.75
49
0.658537
19
123
4.157895
0.684211
0.101266
0
0
0
0
0
0
0
0
0
0.030303
0.195122
123
3
50
41
0.767677
0.398374
0
0
0
0
0.014286
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
3
447d03041e5141156c1ae7207f9735c53bd31575
127
py
Python
examples/parsl_torsiondrive/reset_server.py
radical-cybertools/QCFractal
676997ef4bc267ae9adfe0064843c42a5701dcf4
[ "BSD-3-Clause" ]
null
null
null
examples/parsl_torsiondrive/reset_server.py
radical-cybertools/QCFractal
676997ef4bc267ae9adfe0064843c42a5701dcf4
[ "BSD-3-Clause" ]
null
null
null
examples/parsl_torsiondrive/reset_server.py
radical-cybertools/QCFractal
676997ef4bc267ae9adfe0064843c42a5701dcf4
[ "BSD-3-Clause" ]
null
null
null
import pymongo # Reset database client = pymongo.MongoClient("mongodb://localhost") client.drop_database("qca_parsl_testing")
21.166667
51
0.80315
15
127
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.07874
127
5
52
25.4
0.846154
0.110236
0
0
0
0
0.324324
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
44866a5d327742247310aa5619564fada066ab47
373
py
Python
sample.config.py
albrecht-flo/twitterBot-ImagePoster
97732c58b7828002448fb966164dce67b062606a
[ "Apache-2.0" ]
null
null
null
sample.config.py
albrecht-flo/twitterBot-ImagePoster
97732c58b7828002448fb966164dce67b062606a
[ "Apache-2.0" ]
null
null
null
sample.config.py
albrecht-flo/twitterBot-ImagePoster
97732c58b7828002448fb966164dce67b062606a
[ "Apache-2.0" ]
null
null
null
CONFIG = { 'api_key': 'to be filled out', 'api_key_secret': 'to be filled out', 'access_token': 'to be filled out', 'access_token_secret': 'to be filled out', 'images_base_folder': 'to be filled out', 'images_backlog_folder': 'to be filled out', 'telegram_token': 'to be filled out', '...
24.866667
48
0.63807
55
373
4.054545
0.381818
0.125561
0.313901
0.408072
0.632287
0.215247
0
0
0
0
0
0.037801
0.219839
373
14
49
26.642857
0.728522
0
0
0
0
0
0.648794
0.0563
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
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44941e9922d7558a50b0c943c886aba38499ea3f
565
py
Python
sabr/tests/test_bs_implied.py
alex-muci/finance-musings
e6baf3bdca67451b98b939fedff40d93ec2d75d3
[ "MIT" ]
null
null
null
sabr/tests/test_bs_implied.py
alex-muci/finance-musings
e6baf3bdca67451b98b939fedff40d93ec2d75d3
[ "MIT" ]
null
null
null
sabr/tests/test_bs_implied.py
alex-muci/finance-musings
e6baf3bdca67451b98b939fedff40d93ec2d75d3
[ "MIT" ]
1
2020-09-29T20:09:34.000Z
2020-09-29T20:09:34.000Z
""" TODO: first insert analytical greeks in bs.py & then 1. write TEST for Black prices and implieds PUT f = 101.0 x = 102.0 t = .5 r = .01 sigma_price = 0.2 price = black(-1, f, x, t, r=0, sigma_price) expected_price = 6.20451158097 from expected price get implied of...
20.178571
64
0.59469
89
565
3.651685
0.52809
0.092308
0.018462
0.073846
0
0
0
0
0
0
0
0.128866
0.313274
565
28
65
20.178571
0.708763
0.984071
0
null
0
null
0
0
null
0
0
0.035714
null
1
null
true
0
0
null
null
null
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
1
0
0
0
1
0
0
0
0
0
0
3
44997d0293ece0830b6c18fdeefb837f6b378404
293
py
Python
final_multipy.py
Snowerest/leetcodeQuestion-Python
f553014447dabd84a443706844ee6cd7b5c0b691
[ "MIT" ]
1
2020-07-17T10:49:28.000Z
2020-07-17T10:49:28.000Z
final_multipy.py
Snowerest/leetcodeQuestion-Python
f553014447dabd84a443706844ee6cd7b5c0b691
[ "MIT" ]
null
null
null
final_multipy.py
Snowerest/leetcodeQuestion-Python
f553014447dabd84a443706844ee6cd7b5c0b691
[ "MIT" ]
null
null
null
def final_multipy(num: int) -> int: if num < 10: return num n = 1 for i in str(num): n *= int(i) return final_multipy(n) def final_multipy2(num: int) -> int: return num if num < 10 else final_multipy2(reduce(lambda x, y: x*y, [int(i) for i in str(num)]))
24.416667
100
0.587031
52
293
3.230769
0.384615
0.095238
0.107143
0.107143
0.142857
0
0
0
0
0
0
0.033175
0.279863
293
11
101
26.636364
0.763033
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3