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
7cbf8778de8669fb90d6b20097856b060af3f051
159
py
Python
ecommerce_payment/account/admin.py
chaleeuc/shopify_2022_image_repository_challenge
7587e652e1b613123d94ddd1f2eedf4f2b171c72
[ "MIT" ]
null
null
null
ecommerce_payment/account/admin.py
chaleeuc/shopify_2022_image_repository_challenge
7587e652e1b613123d94ddd1f2eedf4f2b171c72
[ "MIT" ]
null
null
null
ecommerce_payment/account/admin.py
chaleeuc/shopify_2022_image_repository_challenge
7587e652e1b613123d94ddd1f2eedf4f2b171c72
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Customer, Address # Register your models here. admin.site.register(Customer) admin.site.register(Address)
26.5
37
0.81761
22
159
5.909091
0.545455
0.138462
0.261538
0
0
0
0
0
0
0
0
0
0.100629
159
6
38
26.5
0.909091
0.163522
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
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
1
0
1
0
0
0
0
5
7cc27fdbf15e125724cdbf69b35c72eb36f043bf
64
py
Python
server.py
varunluniya/Defect_analysis
7d5e5d9ac448c1d66d231940c0dc38a8c09bfb9d
[ "MIT" ]
null
null
null
server.py
varunluniya/Defect_analysis
7d5e5d9ac448c1d66d231940c0dc38a8c09bfb9d
[ "MIT" ]
null
null
null
server.py
varunluniya/Defect_analysis
7d5e5d9ac448c1d66d231940c0dc38a8c09bfb9d
[ "MIT" ]
null
null
null
from waitress import serve from app import server serve(server)
16
26
0.828125
10
64
5.3
0.6
0
0
0
0
0
0
0
0
0
0
0
0.140625
64
4
27
16
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
7cec440efc1ecc57132c340a76f78ce2009528e9
194
py
Python
events/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
369
2017-10-02T03:04:24.000Z
2022-03-26T10:54:55.000Z
events/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
121
2017-10-01T14:21:48.000Z
2018-11-08T16:57:26.000Z
events/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
69
2017-10-13T11:04:38.000Z
2021-12-08T06:23:19.000Z
# -*- coding: utf-8 -*- # created by Chirath R, chirath.02@gmail.com from __future__ import unicode_literals from django.contrib import admin from .models import * admin.site.register(Event)
19.4
44
0.752577
28
194
5.035714
0.785714
0.156028
0
0
0
0
0
0
0
0
0
0.017964
0.139175
194
9
45
21.555556
0.826347
0.329897
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
7cf2c6d0281dff4234ec79a9bccde2e84132d8f0
268
py
Python
Lib/site-packages/socket_cli/completer/socketio_completer.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
Lib/site-packages/socket_cli/completer/socketio_completer.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/socket_cli/completer/socketio_completer.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
from ..options.socketio_option import COMMANDS, COMMAND_OPTS, COMMAND_LENGTH from .completer import PromptCompleter class SocketIOCompleter(PromptCompleter): def __init__(self, fuzzy=True): super().__init__(fuzzy, COMMANDS, COMMAND_OPTS, COMMAND_LENGTH)
33.5
76
0.794776
30
268
6.666667
0.633333
0.15
0.19
0.26
0.32
0
0
0
0
0
0
0
0.123134
268
7
77
38.285714
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
1
0
1
0
0
5
6b0095b591a890f9f12040bdf48b1c6e8dee0f3b
179
py
Python
blog/home/admin.py
konaer/my_blog
70f6899eefa42d2d26f6aedbb8791d1d91f0ce90
[ "MIT" ]
null
null
null
blog/home/admin.py
konaer/my_blog
70f6899eefa42d2d26f6aedbb8791d1d91f0ce90
[ "MIT" ]
null
null
null
blog/home/admin.py
konaer/my_blog
70f6899eefa42d2d26f6aedbb8791d1d91f0ce90
[ "MIT" ]
null
null
null
from django.contrib import admin from home.models import ArticleCategory, Article # Register your models here. admin.site.register(ArticleCategory) admin.site.register(Article)
22.375
48
0.826816
23
179
6.434783
0.565217
0.121622
0.22973
0
0
0
0
0
0
0
0
0
0.100559
179
7
49
25.571429
0.919255
0.145251
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
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
1
0
1
0
0
0
0
5
6b2a696e18e1a0e3a728fc91a010ea42307e85e2
897
py
Python
tests/test_examples_ltnw.py
gilbeckers/logictensornetworks
c4cc3628db91030230c78d3b964c26304a3b452b
[ "MIT" ]
null
null
null
tests/test_examples_ltnw.py
gilbeckers/logictensornetworks
c4cc3628db91030230c78d3b964c26304a3b452b
[ "MIT" ]
null
null
null
tests/test_examples_ltnw.py
gilbeckers/logictensornetworks
c4cc3628db91030230c78d3b964c26304a3b452b
[ "MIT" ]
1
2019-05-19T01:28:04.000Z
2019-05-19T01:28:04.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy import unittest import logictensornetworks_wrapper as ltnw class TestExamples(unittest.TestCase): def setUp(self): ltnw._reset() def testBinaryClassifier(self): import examples_ltnw.binary_classifier def testMultilabelClassifica...
24.916667
66
0.74136
86
897
7.453488
0.5
0.109204
0.196568
0.24025
0.24337
0.143526
0
0
0
0
0
0.002759
0.19175
897
35
67
25.628571
0.881379
0.047938
0
0
0
0
0.009401
0
0
0
0
0
0
1
0.363636
false
0
0.454545
0
0.863636
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
1
0
1
0
0
5
6b3faaf5125934649614ac59ca715d9f77868761
345
py
Python
test/selenium/src/lib/mixin.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
null
null
null
test/selenium/src/lib/mixin.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
12
2015-01-08T14:50:19.000Z
2017-11-29T19:37:53.000Z
test/selenium/src/lib/mixin.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
1
2015-01-08T13:25:09.000Z
2015-01-08T13:25:09.000Z
# Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file> # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> # Created By: jernej@reciprocitylabs.com # Maintained By: jernej@reciprocitylabs.com from lib import meta class MetaDocsDecorator(meta.RequireDocs, meta.Decora...
31.363636
78
0.785507
45
345
6.022222
0.777778
0.059041
0.169742
0.191882
0
0
0
0
0
0
0
0.019672
0.115942
345
10
79
34.5
0.868852
0.678261
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
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
1
1
1
0
1
0
0
5
861205971a75a49c74aee1cf51d62e5e5f5187ac
80
py
Python
metabolinks/checks.py
aeferreira/metabolinks
6b438956c03a4ebf8aff95ed3116e7994fc0019a
[ "MIT" ]
1
2018-03-08T23:56:45.000Z
2018-03-08T23:56:45.000Z
metabolinks/checks.py
aeferreira/metabolinks
6b438956c03a4ebf8aff95ed3116e7994fc0019a
[ "MIT" ]
null
null
null
metabolinks/checks.py
aeferreira/metabolinks
6b438956c03a4ebf8aff95ed3116e7994fc0019a
[ "MIT" ]
2
2018-12-05T21:34:36.000Z
2019-01-21T09:17:44.000Z
from typing import Optional, List, Union import numpy as np import pandas as pd
20
40
0.8
14
80
4.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.175
80
4
41
20
0.969697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
861759e92d850f265985c2783d1723bc16e80110
4,615
py
Python
py/orbit/teapot/dipole_kick.py
khilde/py-orbit
d4aa15370e5a71bd2d8c53984d87f4cad7918523
[ "MIT" ]
null
null
null
py/orbit/teapot/dipole_kick.py
khilde/py-orbit
d4aa15370e5a71bd2d8c53984d87f4cad7918523
[ "MIT" ]
null
null
null
py/orbit/teapot/dipole_kick.py
khilde/py-orbit
d4aa15370e5a71bd2d8c53984d87f4cad7918523
[ "MIT" ]
null
null
null
import sys import os import math # import teapot base functions from wrapper around C++ functions from orbit.teapot_base import TPB # import the function that creates multidimensional arrays from orbit.utils import orbitFinalize # import general accelerator elements and lattice from orbit.lattice import AccLattice, ...
29.208861
87
0.750379
570
4,615
6.021053
0.207018
0.041667
0.04458
0.045455
0.700175
0.700175
0.700175
0.700175
0.690851
0.690851
0
0.011978
0.149729
4,615
158
88
29.208861
0.86264
0.214518
0
0.653846
0
0
0.080483
0
0
0
0
0
0
0
null
null
0
0.141026
null
null
0.025641
0
0
0
null
0
0
0
0
1
1
1
0
1
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
5
861ef95dd03312c41dd007c9d323d034b2870270
55
py
Python
resp/helpers/__init__.py
loriab/resp_gm
36974ca2caf262ef40bf7a9586c12d65e0a29be5
[ "BSD-3-Clause" ]
null
null
null
resp/helpers/__init__.py
loriab/resp_gm
36974ca2caf262ef40bf7a9586c12d65e0a29be5
[ "BSD-3-Clause" ]
1
2019-01-15T20:33:32.000Z
2019-01-15T20:33:32.000Z
resp/helpers/__init__.py
loriab/resp_gm
36974ca2caf262ef40bf7a9586c12d65e0a29be5
[ "BSD-3-Clause" ]
null
null
null
from .resp_helper import * from .obscure_name import *
18.333333
27
0.781818
8
55
5.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
2
28
27.5
0.87234
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
862ece4dfe23c5440c945c8db0b1bae6506b37e3
100
py
Python
tests/test_version.py
geronimo-iia/airflow-indexima
7dc9aec646f7f75cfa90e320fff86549f98185c2
[ "MIT" ]
2
2019-12-04T15:51:49.000Z
2019-12-20T09:18:01.000Z
tests/test_version.py
geronimo-iia/airflow-indexima
7dc9aec646f7f75cfa90e320fff86549f98185c2
[ "MIT" ]
null
null
null
tests/test_version.py
geronimo-iia/airflow-indexima
7dc9aec646f7f75cfa90e320fff86549f98185c2
[ "MIT" ]
null
null
null
def test_version_is_defined(): from airflow_indexima import __version__ assert __version__
20
44
0.8
12
100
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.17
100
4
45
25
0.819277
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
5
864bbb2bb0685816e216861fff9617b55b0d6294
28,186
py
Python
collector_center_sdk/model/flow/flow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
collector_center_sdk/model/flow/flow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
collector_center_sdk/model/flow/flow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: flow.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
44.109546
2,530
0.729901
3,756
28,186
5.198349
0.069223
0.062279
0.035032
0.04589
0.754725
0.717593
0.708988
0.685941
0.661255
0.649117
0
0.04281
0.134783
28,186
638
2,531
44.178683
0.757822
0.023238
0
0.685092
1
0.00335
0.175455
0.117455
0
0
0
0
0
1
0
false
0
0.011725
0
0.011725
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
8664fdd0cb3232b9835b8e35616b74522a0a268a
43
py
Python
src/msise00/tests/__init__.py
ZanderZhao/msise00
b602cf9779e27595485a59b0c9bb6d3f2138406b
[ "MIT" ]
31
2019-06-12T08:52:43.000Z
2022-03-20T14:15:18.000Z
src/msise00/tests/__init__.py
ZanderZhao/msise00
b602cf9779e27595485a59b0c9bb6d3f2138406b
[ "MIT" ]
17
2019-06-10T16:18:57.000Z
2022-03-28T18:34:21.000Z
src/msise00/tests/__init__.py
ZanderZhao/msise00
b602cf9779e27595485a59b0c9bb6d3f2138406b
[ "MIT" ]
13
2019-06-10T16:21:10.000Z
2021-12-04T11:21:59.000Z
# this file makes importlib.resources work
21.5
42
0.813953
6
43
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.139535
43
1
43
43
0.945946
0.930233
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
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
5
866635e5d70d733445409931dc9f989b80007661
2,766
py
Python
tools/ytd.py
anonik9900/Anonik-Suite
c47099e96dac5e6e1eec68637b41de33ff57e058
[ "Apache-2.0" ]
null
null
null
tools/ytd.py
anonik9900/Anonik-Suite
c47099e96dac5e6e1eec68637b41de33ff57e058
[ "Apache-2.0" ]
null
null
null
tools/ytd.py
anonik9900/Anonik-Suite
c47099e96dac5e6e1eec68637b41de33ff57e058
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import random import string import subprocess #Process commands import socket #Process socket data import pyfiglet import sys import os import time import pytube from pytube import YouTube ascii_banner = pyfiglet.figlet_format("YT-Downloader") print(ascii_banner) print ("{< Devolved By Anonik V...
25.850467
109
0.663413
399
2,766
4.571429
0.205514
0.046053
0.059211
0.030154
0.770285
0.770285
0.770285
0.756031
0.713268
0.713268
0
0.020979
0.172813
2,766
106
110
26.09434
0.776224
0.190889
0
0.644737
0
0.013158
0.249661
0
0
0
0
0
0
1
0.013158
false
0
0.131579
0
0.144737
0.368421
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
86714ee968d212e0f45ce3c9ea9c6c3a4ddbf2dd
160
py
Python
multinet/api/tasks/upload/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
null
null
null
multinet/api/tasks/upload/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
91
2021-03-15T19:00:15.000Z
2022-03-11T00:04:05.000Z
multinet/api/tasks/upload/common.py
multinet-app/multinet-api
a658d787f0fb9ba415ed85a1e37c29953486287f
[ "Apache-2.0" ]
1
2022-02-05T15:53:04.000Z
2022-02-05T15:53:04.000Z
from multinet.api.models import Upload from multinet.api.tasks import MultinetCeleryTask class ProcessUploadTask(MultinetCeleryTask): task_model = Upload
22.857143
49
0.83125
18
160
7.333333
0.666667
0.181818
0.227273
0
0
0
0
0
0
0
0
0
0.11875
160
6
50
26.666667
0.93617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
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
1
0
1
0
0
5
8692e6d868bfa8e7491454b6884e62c0b2ccb030
4,156
py
Python
samples/client/petstore/python/swagger_client/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
1
2020-09-06T18:36:28.000Z
2020-09-06T18:36:28.000Z
samples/client/petstore/python/swagger_client/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/python/swagger_client/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # flake8: noqa """ Swagger Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 Contact: apiteam@swagger.io Generated by: htt...
50.682927
174
0.87873
580
4,156
6.046552
0.260345
0.194468
0.300542
0.341032
0.211007
0.072997
0.022241
0.022241
0
0
0
0.008915
0.082291
4,156
81
175
51.308642
0.910593
0.099374
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
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
1
0
1
0
1
0
0
5
86a77ea0be592c2ae5c4da695f10ce1dca552a45
61
py
Python
module/order/__init__.py
medivhXu/AT-interface
6ace9df2dc51c6b322b921e1ab5004b8d6d0b81f
[ "Apache-2.0" ]
2
2019-04-22T11:48:33.000Z
2019-06-05T08:53:49.000Z
module/order/__init__.py
medivhXu/AT-interface
6ace9df2dc51c6b322b921e1ab5004b8d6d0b81f
[ "Apache-2.0" ]
1
2021-06-01T23:37:29.000Z
2021-06-01T23:37:29.000Z
module/order/__init__.py
medivhXu/AT-interface
6ace9df2dc51c6b322b921e1ab5004b8d6d0b81f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from .random_outer_order_no import *
15.25
36
0.770492
10
61
4.4
1
0
0
0
0
0
0
0
0
0
0
0.018519
0.114754
61
3
37
20.333333
0.796296
0.344262
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
86aac826d9c16ab9bbf97d463bf945497b328751
99
py
Python
datas/admin.py
sear-azazel/monitoring
88e7d31ddf3258da0b45f735ced147a331af720c
[ "MIT" ]
null
null
null
datas/admin.py
sear-azazel/monitoring
88e7d31ddf3258da0b45f735ced147a331af720c
[ "MIT" ]
null
null
null
datas/admin.py
sear-azazel/monitoring
88e7d31ddf3258da0b45f735ced147a331af720c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Recognition admin.site.register(Recognition)
19.8
32
0.838384
13
99
6.384615
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.10101
99
4
33
24.75
0.932584
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
86b0e8c982ad30bc9e286d1cb8f9f5aad1fa6dd0
2,903
py
Python
cupyx/scipy/special/__init__.py
Smit-create/cupy
baeb38a94e60655aa7b4fc4724dd79237d612410
[ "MIT" ]
null
null
null
cupyx/scipy/special/__init__.py
Smit-create/cupy
baeb38a94e60655aa7b4fc4724dd79237d612410
[ "MIT" ]
null
null
null
cupyx/scipy/special/__init__.py
Smit-create/cupy
baeb38a94e60655aa7b4fc4724dd79237d612410
[ "MIT" ]
null
null
null
# Bessel Functions from cupyx.scipy.special._bessel import i0 # NOQA from cupyx.scipy.special._bessel import i1 # NOQA from cupyx.scipy.special._bessel import j0 # NOQA from cupyx.scipy.special._bessel import j1 # NOQA from cupyx.scipy.special._bessel import y0 # NOQA from cupyx.scipy.special._bessel import y1 # ...
43.984848
69
0.799173
423
2,903
5.347518
0.184397
0.187003
0.290893
0.43634
0.767905
0.656941
0.598585
0.123784
0.044209
0
0
0.004766
0.132621
2,903
65
70
44.661538
0.893566
0.153634
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
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
1
0
1
0
1
0
0
5
86b7f6b0bbf8accb4ceee762045d02e8d2515f1c
5,875
py
Python
metadata/meta.py
michelefontana92/HOLDA
9136856820f6284a21baa929df863e3dcdfa62d7
[ "MIT" ]
null
null
null
metadata/meta.py
michelefontana92/HOLDA
9136856820f6284a21baa929df863e3dcdfa62d7
[ "MIT" ]
null
null
null
metadata/meta.py
michelefontana92/HOLDA
9136856820f6284a21baa929df863e3dcdfa62d7
[ "MIT" ]
null
null
null
import attr from aggregations.nn_aggregation import aggregate_nn_weighted, extract_model_nn, init_model_nn import functools import torch.optim as optim import torch.nn as nn from models.nn import create_net @attr.s(eq=False, frozen=False, slots=True) class HP_Training_Server: build_model_fn = attr.ib(default=func...
44.847328
95
0.631149
670
5,875
5.340299
0.132836
0.07043
0.141699
0.337898
0.830632
0.792901
0.737563
0.678032
0.63583
0.583846
0
0.004542
0.250553
5,875
130
96
45.192308
0.808085
0
0
0.476636
0
0
0.026383
0.010894
0
0
0
0
0
1
0
false
0
0.056075
0
0.523364
0
0
0
0
null
0
0
1
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
1
0
0
5
86d0edfa01302f08c022e62c85173dba12232945
1,819
py
Python
python/roman-numerals/roman_numerals_test.py
harshcurious/Exercism
7cf05550ed242fe8ef942c8727ad28cc592e2e1e
[ "MIT" ]
9
2020-12-12T03:29:33.000Z
2021-08-11T13:08:06.000Z
python/roman-numerals/roman_numerals_test.py
harshcurious/Exercism
7cf05550ed242fe8ef942c8727ad28cc592e2e1e
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
python/roman-numerals/roman_numerals_test.py
harshcurious/Exercism
7cf05550ed242fe8ef942c8727ad28cc592e2e1e
[ "MIT" ]
1
2020-11-02T10:40:06.000Z
2020-11-02T10:40:06.000Z
import unittest from roman_numerals import roman # Tests adapted from `problem-specifications//canonical-data.json` class RomanNumeralsTest(unittest.TestCase): def test_1_is_a_single_i(self): self.assertEqual(roman(1), "I") def test_2_is_two_i_s(self): self.assertEqual(roman(2), "II") de...
27.149254
66
0.682793
289
1,819
3.875433
0.314879
0.11875
0.322321
0.407143
0.091071
0.046429
0
0
0
0
0
0.084976
0.191314
1,819
66
67
27.560606
0.676411
0.035184
0
0
0
0
0.042784
0
0
0
0
0
0.44186
1
0.44186
false
0
0.046512
0
0.511628
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
1
0
1
0
0
0
0
1
0
0
5
811561fffc3b77f3cf8eaafcde4e0c70c0f272a8
238
py
Python
pydotenvs/__init__.py
ableinc/pydotenvs
eeb996e4db28fa52485df5c7da5ac92898542b49
[ "MIT" ]
1
2021-03-14T02:57:51.000Z
2021-03-14T02:57:51.000Z
pydotenvs/__init__.py
ableinc/pydotenvs
eeb996e4db28fa52485df5c7da5ac92898542b49
[ "MIT" ]
null
null
null
pydotenvs/__init__.py
ableinc/pydotenvs
eeb996e4db28fa52485df5c7da5ac92898542b49
[ "MIT" ]
null
null
null
from pydotenvs.main import load_env, load_env_object, load_env_cli, clear_env from pydotenvs.cli import pyenv from pydotenvs.version import __version__ __all__ = ['load_env', 'load_env_object', 'load_env_cli', 'clear_env', '__version__']
47.6
85
0.810924
36
238
4.694444
0.333333
0.248521
0.130178
0.16568
0.449704
0.449704
0.449704
0.449704
0.449704
0.449704
0
0
0.092437
238
4
86
59.5
0.782407
0
0
0
0
0
0.231092
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
d4b007cfaff1fce80badcd15c006b3045254cf37
1,929
py
Python
tests/terraform/checks/resource/aws/test_EC2Credentials.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/terraform/checks/resource/aws/test_EC2Credentials.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/terraform/checks/resource/aws/test_EC2Credentials.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
import unittest from checkov.common.models.enums import CheckResult from checkov.terraform.checks.resource.aws.EC2Credentials import check class TestEC2Credentials(unittest.TestCase): def test_success(self): conf = { "ami": ["ami-04169656fea786776"], "instance_type": ["t2.nano"], ...
48.225
402
0.677553
235
1,929
5.344681
0.348936
0.063694
0.035032
0.06051
0.769108
0.729299
0.729299
0.729299
0.693471
0.693471
0
0.040671
0.196993
1,929
39
403
49.461538
0.770174
0
0
0.548387
0
0.064516
0.495594
0.246242
0
0
0
0
0.096774
1
0.064516
false
0.064516
0.096774
0
0.193548
0
0
0
0
null
0
0
0
0
1
1
1
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
1
0
0
0
0
0
5
d4dd922f720b9cfac9145fe4eda67755bd993ba0
181
py
Python
src/hipikat/models/__init__.py
hipikat/hipikat.org
836b703d3dded2398db524b8177fba3c41f2c80f
[ "BSD-2-Clause" ]
null
null
null
src/hipikat/models/__init__.py
hipikat/hipikat.org
836b703d3dded2398db524b8177fba3c41f2c80f
[ "BSD-2-Clause" ]
null
null
null
src/hipikat/models/__init__.py
hipikat/hipikat.org
836b703d3dded2398db524b8177fba3c41f2c80f
[ "BSD-2-Clause" ]
null
null
null
# Register the feincms Page model and its extensions #import fein #from .fein import Writing, WritingAdmin from .fein import Entry, EntryFactory #import pdb; pdb.set_trace()
13.923077
52
0.762431
25
181
5.48
0.72
0.116788
0.20438
0
0
0
0
0
0
0
0
0
0.171271
181
12
53
15.083333
0.913333
0.701657
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
d4e5a9c01f4e4be22b6b4ef573e3e6e82668c627
184
py
Python
conditional_statements/collecting_data_points.py
almoratalla/mimo-python-projects
3e1cd48c4bb72c3408b444194e200f0111bfc62d
[ "MIT" ]
null
null
null
conditional_statements/collecting_data_points.py
almoratalla/mimo-python-projects
3e1cd48c4bb72c3408b444194e200f0111bfc62d
[ "MIT" ]
null
null
null
conditional_statements/collecting_data_points.py
almoratalla/mimo-python-projects
3e1cd48c4bb72c3408b444194e200f0111bfc62d
[ "MIT" ]
null
null
null
minimum_points = 100 data_points = 150 if data_points >= minimum_points: print("There are enough data points!") if data_points < minimum_points: print("Keep collecting data.")
26.285714
42
0.744565
26
184
5.038462
0.461538
0.305344
0.183206
0.290076
0.458015
0.458015
0
0
0
0
0
0.038961
0.163043
184
7
43
26.285714
0.811688
0
0
0
0
0
0.27027
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d4f8886e27c7f08a260c08587d5461114c14ddeb
3,283
py
Python
pages/views.py
USPCodeLabSanca/on.boarding-2021.2---Filtro-de-Receitas
273c0f852c66ecec840dc8db4bd3894ef727beb0
[ "MIT" ]
1
2021-09-15T01:36:55.000Z
2021-09-15T01:36:55.000Z
pages/views.py
USPCodeLabSanca/on.boarding-2021.2---Filtro-de-Receitas
273c0f852c66ecec840dc8db4bd3894ef727beb0
[ "MIT" ]
null
null
null
pages/views.py
USPCodeLabSanca/on.boarding-2021.2---Filtro-de-Receitas
273c0f852c66ecec840dc8db4bd3894ef727beb0
[ "MIT" ]
null
null
null
from django.db.models.query import QuerySet from django.db.models.query_utils import Q from django.http import request import recipes from django.shortcuts import render from recipes.models import Recipe from operator import and_, or_ from functools import reduce ITEMS_PER_PAGE = 6 def index_view(request): querys...
33.845361
104
0.669205
455
3,283
4.545055
0.136264
0.132012
0.069633
0.082689
0.863636
0.841393
0.825435
0.814797
0.617505
0.617505
0
0.01049
0.215961
3,283
97
105
33.845361
0.792929
0
0
0.549296
0
0
0.076431
0
0
0
0
0
0
1
0.084507
false
0
0.112676
0
0.338028
0
0
0
0
null
0
0
0
1
1
1
1
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
5
d4f8bbe3fda92ebd045751967abf03a198aefafa
2,948
py
Python
xcomposite/tests/classes.py
mikemalinowski/xcomposite
488bb06c363ba2c4ca440605ec07426369b89f15
[ "MIT" ]
1
2018-11-27T07:21:05.000Z
2018-11-27T07:21:05.000Z
xcomposite/tests/classes.py
mikemalinowski/xcomposite
488bb06c363ba2c4ca440605ec07426369b89f15
[ "MIT" ]
null
null
null
xcomposite/tests/classes.py
mikemalinowski/xcomposite
488bb06c363ba2c4ca440605ec07426369b89f15
[ "MIT" ]
null
null
null
""" This holds a series of classes specifically designed to test results in a deterministic way. """ import xcomposite class DecoratorBase(xcomposite.Composition): """ Each decorator is represented by a function. All of which will return 1 or 'A' (in whatever expected form). """ @xcomposite.take_...
18.897436
80
0.539688
319
2,948
4.934169
0.197492
0.21601
0.069886
0.053367
0.649936
0.438374
0.305591
0.305591
0.230623
0.230623
0
0.011633
0.271031
2,948
155
81
19.019355
0.7208
0.248643
0
0.770115
0
0
0.006986
0
0
0
0
0
0
1
0.390805
false
0
0.011494
0.390805
0.873563
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
d4f8bc3b215788a80fa9abb11e9acafcc2776d71
11,151
py
Python
modin/pandas/test/test_api.py
rolveb/modin
d0c84590798f33358dc896eef9d7cd9c519b6289
[ "ECL-2.0", "Apache-2.0" ]
1
2021-02-23T00:01:02.000Z
2021-02-23T00:01:02.000Z
modin/pandas/test/test_api.py
rolveb/modin
d0c84590798f33358dc896eef9d7cd9c519b6289
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/pandas/test/test_api.py
rolveb/modin
d0c84590798f33358dc896eef9d7cd9c519b6289
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
34.310769
88
0.539055
1,262
11,151
4.627575
0.161648
0.04161
0.024658
0.032877
0.770377
0.757534
0.738356
0.738356
0.732021
0.725342
0
0.004006
0.37315
11,151
324
89
34.416667
0.831474
0.15308
0
0.670455
0
0
0.0815
0
0
0
0
0
0.045455
1
0.011364
false
0.022727
0.015152
0
0.026515
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0779d52f86b8b47ff5221dea96db4eeb3b2d648c
2,877
py
Python
oled/upython_logo.py
garybake/upython_wemos_shields
3dafbdb4741fc24a23edf4d94b89c71053273936
[ "MIT" ]
9
2016-08-10T23:28:31.000Z
2019-12-29T05:07:48.000Z
oled/upython_logo.py
garybake/upython_wemos_shields
3dafbdb4741fc24a23edf4d94b89c71053273936
[ "MIT" ]
null
null
null
oled/upython_logo.py
garybake/upython_wemos_shields
3dafbdb4741fc24a23edf4d94b89c71053273936
[ "MIT" ]
4
2016-09-12T00:51:49.000Z
2019-12-29T05:07:34.000Z
import ssd1306 from machine import I2C, Pin """ Shows the micropython logo on oled screen """ i2c = I2C(sda=Pin(4), scl=Pin(5)) display = ssd1306.SSD1306_I2C(64, 48, i2c) display.fill(0) # Use convert.py to generate the array below pic = [ '111111111111111111111111111111111111111111111111', '111111111111111111111110...
42.308824
51
0.886688
111
2,877
22.972973
0.756757
0.075294
0
0
0
0
0
0
0
0
0
0.848507
0.045534
2,877
68
52
42.308824
0.080117
0.014599
0
0.118644
0
0
0.827648
0.827289
0
0
0
0
0
1
0
false
0
0.033898
0
0.033898
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
079b3c5daf4717b7c8c47bae792d5dc93e0e2063
102
py
Python
blender/arm/lightmapper/keymap/__init__.py
niacdoial/armory
3f9b633fbf772017c576a3f77695a6c28d9956e1
[ "Zlib" ]
1
2022-03-07T22:04:26.000Z
2022-03-07T22:04:26.000Z
blender/arm/lightmapper/keymap/__init__.py
niacdoial/armory
3f9b633fbf772017c576a3f77695a6c28d9956e1
[ "Zlib" ]
null
null
null
blender/arm/lightmapper/keymap/__init__.py
niacdoial/armory
3f9b633fbf772017c576a3f77695a6c28d9956e1
[ "Zlib" ]
null
null
null
from . import keymap def register(): keymap.register() def unregister(): keymap.unregister()
14.571429
23
0.686275
11
102
6.363636
0.545455
0
0
0
0
0
0
0
0
0
0
0
0.186275
102
7
23
14.571429
0.843373
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
07e850dd38671546714d16df1822bbb3cd65f031
78
py
Python
dash/testing/newhooks.py
nickmelnikov82/dash
e774908da770bee83f3213e0307c27ed8a40500e
[ "MIT" ]
17,143
2015-07-14T17:19:05.000Z
2022-03-31T10:03:39.000Z
dash/testing/newhooks.py
nickmelnikov82/dash
e774908da770bee83f3213e0307c27ed8a40500e
[ "MIT" ]
1,630
2015-11-17T22:15:41.000Z
2022-03-31T09:15:07.000Z
dash/testing/newhooks.py
nickmelnikov82/dash
e774908da770bee83f3213e0307c27ed8a40500e
[ "MIT" ]
1,970
2015-07-12T07:05:14.000Z
2022-03-30T19:58:09.000Z
def pytest_setup_options(): """Called before webdriver is initialized."""
26
49
0.730769
9
78
6.111111
1
0
0
0
0
0
0
0
0
0
0
0
0.141026
78
2
50
39
0.820896
0.5
0
0
0
0
0
0
0
0
0
0
0
1
1
true
0
0
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
1
1
0
0
0
1
0
0
5
07ef507be3f09efc629321c300adcbd1b889d576
143
py
Python
15 TryCatch_Exception_Handling/main.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
3
2021-05-08T13:11:41.000Z
2021-05-14T02:43:20.000Z
15 TryCatch_Exception_Handling/main.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
15 TryCatch_Exception_Handling/main.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
print("Enter Num 1 : ") num1 = int(input()) print("Enter Num 2 : ") num2 = int(input()) print("Sum = ", num1+num2) print("This is important")
17.875
26
0.615385
22
143
4
0.590909
0.227273
0.295455
0
0
0
0
0
0
0
0
0.05042
0.167832
143
8
27
17.875
0.689076
0
0
0
0
0
0.354167
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
1
0
0
null
1
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
5
5802b9bd4100bf4e57779b37a6fe228f00e83e63
128
py
Python
tests/test_marketdata.py
SciFin-Team/SciFin
e4e3d1a32e060c911e43d89df833b3ad078ba6df
[ "MIT" ]
9
2020-08-07T02:58:44.000Z
2021-10-05T16:37:07.000Z
tests/test_marketdata.py
SciFin-Team/SciFin
e4e3d1a32e060c911e43d89df833b3ad078ba6df
[ "MIT" ]
9
2020-08-30T09:55:23.000Z
2020-10-15T20:06:36.000Z
tests/test_marketdata.py
SciFin-Team/SciFin
e4e3d1a32e060c911e43d89df833b3ad078ba6df
[ "MIT" ]
5
2020-08-17T10:35:26.000Z
2020-11-13T17:46:33.000Z
from scifin.marketdata import marketdata as md class TestMarketData: """ Tests the class Individual. """ pass
14.222222
46
0.671875
14
128
6.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.257813
128
8
47
16
0.905263
0.210938
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
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
1
1
0
0
0
0
5
ed17c44d455670a377cf5538adcaa108a32ebd67
36,972
py
Python
test/git/test_invocations.py
alimcmaster1/python-versioneer
6b555078bec6286dbbb46f8ae9c775597e162186
[ "CC0-1.0" ]
2
2019-08-04T08:11:10.000Z
2019-08-04T08:29:05.000Z
test/git/test_invocations.py
alimcmaster1/python-versioneer
6b555078bec6286dbbb46f8ae9c775597e162186
[ "CC0-1.0" ]
4
2020-09-20T16:27:16.000Z
2020-09-20T17:09:00.000Z
test/git/test_invocations.py
alimcmaster1/python-versioneer
6b555078bec6286dbbb46f8ae9c775597e162186
[ "CC0-1.0" ]
null
null
null
from __future__ import print_function import os, sys, shutil, unittest, tempfile, tarfile, virtualenv, warnings sys.path.insert(0, "src") from from_file import versions_from_file import common pyver_major = "py%d" % sys.version_info[0] pyver = "py%d.%d" % sys.version_info[:2] if not hasattr(unittest, "skip"): # py2...
45.142857
81
0.626447
4,453
36,972
5.018864
0.083988
0.049398
0.028637
0.027339
0.809835
0.791176
0.765582
0.710233
0.678151
0.665444
0
0.008208
0.255274
36,972
818
82
45.198044
0.803479
0.120767
0
0.66411
0
0
0.14874
0.066628
0
0
0
0.001222
0.03681
1
0.124233
false
0
0.006135
0
0.199387
0.004601
0
0
0
null
0
0
0
1
1
1
1
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
5
ed26ab82bc7148cc998dac6985d1d2764370b1c4
40,609
py
Python
tests/integration/test_postgresql_replica_database_engine/test.py
thealexjo/ClickHouse
b65fd7fbfe15fff9cff933d07b2cb0b48be56ed3
[ "Apache-2.0" ]
1
2021-06-09T15:43:40.000Z
2021-06-09T15:43:40.000Z
tests/integration/test_postgresql_replica_database_engine/test.py
thealexjo/ClickHouse
b65fd7fbfe15fff9cff933d07b2cb0b48be56ed3
[ "Apache-2.0" ]
1
2021-06-28T15:03:05.000Z
2021-06-28T15:03:05.000Z
tests/integration/test_postgresql_replica_database_engine/test.py
thealexjo/ClickHouse
b65fd7fbfe15fff9cff933d07b2cb0b48be56ed3
[ "Apache-2.0" ]
null
null
null
import pytest import time import psycopg2 import os.path as p import random from helpers.cluster import ClickHouseCluster from helpers.test_tools import assert_eq_with_retry from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT from helpers.test_tools import TSV from random import randrange import threading clu...
43.712594
183
0.659706
4,980
40,609
5.111647
0.067068
0.099505
0.070867
0.028088
0.806293
0.776988
0.73739
0.703763
0.676304
0.643856
0
0.035528
0.225787
40,609
928
184
43.759698
0.774141
0.013568
0
0.614951
0
0.015515
0.31445
0.10899
0
0
0
0
0.03103
1
0.045134
false
0.007052
0.015515
0
0.062059
0.03244
0
0
0
null
0
0
0
1
1
1
1
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
5
ed4c6f9f31c6804267c7b53a8d9fb37691d99834
257
py
Python
gmail/utils.py
alexbourdon/py3_gmail
719a8fad8130c20ceaa7b75a1e479d25d6882c9b
[ "MIT" ]
null
null
null
gmail/utils.py
alexbourdon/py3_gmail
719a8fad8130c20ceaa7b75a1e479d25d6882c9b
[ "MIT" ]
null
null
null
gmail/utils.py
alexbourdon/py3_gmail
719a8fad8130c20ceaa7b75a1e479d25d6882c9b
[ "MIT" ]
null
null
null
from .gmail import Gmail def login(username, password): gmail = Gmail() gmail.login(username, password) return gmail def authenticate(username, access_token): gmail = Gmail() gmail.authenticate(username, access_token) return gmail
21.416667
46
0.715953
30
257
6.066667
0.366667
0.21978
0.230769
0.340659
0
0
0
0
0
0
0
0
0.194553
257
11
47
23.363636
0.879227
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.111111
0
0.555556
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
1
0
1
0
0
0
0
0
5
ed896e8324e402313beb63a16043d154674e499a
399
py
Python
py-backend/main/api/user/controllers.py
smmnloes/MaxMovieRec
f3a5099f31e63ab0781443726de87a5b3b0bd5ad
[ "BSD-3-Clause" ]
5
2019-09-27T16:47:56.000Z
2020-05-18T15:29:06.000Z
py-backend/main/api/user/controllers.py
smmnloes/MaxMovieRec
f3a5099f31e63ab0781443726de87a5b3b0bd5ad
[ "BSD-3-Clause" ]
15
2019-12-27T08:00:10.000Z
2022-03-02T02:47:19.000Z
py-backend/main/api/user/controllers.py
smmnloes/pyMDB
f3a5099f31e63ab0781443726de87a5b3b0bd5ad
[ "BSD-3-Clause" ]
null
null
null
from flask import request from flask_restful import Resource from services.user import user_service class Login(Resource): def post(self): return user_service.login_user(request.json['email'], request.json['password']) class Register(Resource): def post(self): return user_service.register_u...
26.6
116
0.741855
52
399
5.576923
0.384615
0.189655
0.103448
0.131034
0.517241
0.517241
0.517241
0
0
0
0
0
0.140351
399
14
117
28.5
0.845481
0
0
0.222222
0
0
0.085213
0
0
0
0
0
0
1
0.222222
false
0.222222
0.333333
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
1
1
1
1
0
0
5
71fc039dc75ef9624afaabd9c5d061b4ed0e1899
906
py
Python
plugin.video.vstream/resources/hosters/hoster.py
akuala/REPO.KUALA
ea9a157025530d2ce8fa0d88431c46c5352e89d4
[ "Apache-2.0" ]
2
2018-11-02T19:55:30.000Z
2020-08-14T02:22:20.000Z
plugin.video.vstream/resources/hosters/hoster.py
akuala/REPO.KUALA
ea9a157025530d2ce8fa0d88431c46c5352e89d4
[ "Apache-2.0" ]
null
null
null
plugin.video.vstream/resources/hosters/hoster.py
akuala/REPO.KUALA
ea9a157025530d2ce8fa0d88431c46c5352e89d4
[ "Apache-2.0" ]
3
2019-12-17T20:47:00.000Z
2021-02-11T19:03:59.000Z
#-*- coding: utf-8 -*- # https://github.com/Kodi-vStream/venom-xbmc-addons class iHoster: def getDisplayName(self): raise NotImplementedError() def setDisplayName(self, sDisplayName): raise NotImplementedError() def setFileName(self, sFileName): raise NotImplementedError() d...
22.097561
51
0.66777
77
906
7.857143
0.415584
0.476033
0.490909
0.358678
0.115702
0
0
0
0
0
0
0.001451
0.239514
906
40
52
22.65
0.876633
0.078366
0
0.48
0
0
0
0
0
0
0
0
0
1
0.48
false
0
0
0
0.52
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
1
0
0
0
0
1
0
0
5
9c0f5dda8666909d1a8ae5fe0db5f1b7e6cdffc2
4,483
py
Python
Research/image.py
beric7/COCO-Bridge
c3ae8e5eb72cbc2fce982215c55bac09844764d8
[ "Apache-2.0" ]
2
2020-07-06T23:25:12.000Z
2021-09-21T23:11:55.000Z
Research/image.py
beric7/COCO-Bridge
c3ae8e5eb72cbc2fce982215c55bac09844764d8
[ "Apache-2.0" ]
null
null
null
Research/image.py
beric7/COCO-Bridge
c3ae8e5eb72cbc2fce982215c55bac09844764d8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Aug 2 17:45:39 2018 @author: Eric Bianchi """ """ Creates an image object to be used for holding all information related to that image """ from bbox import bbox class image(object): bbox_list = [] name = "" def __init__(self,...
31.794326
74
0.396609
485
4,483
3.597938
0.158763
0.128367
0.061891
0.048138
0.758166
0.731232
0.707163
0.67106
0.65043
0.645845
0
0.032287
0.502565
4,483
141
75
31.794326
0.750224
0.047067
0
0.736842
0
0
0.002483
0
0
0
0
0
0
1
0.052632
false
0
0.010526
0
0.115789
0.010526
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
1
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
5
9c41e43860819d2af6e0f6d9216b74309ad2b2c3
280
py
Python
calc/calcTest.py
sk753/Calculator
e8a6f00ccacf3cf55efac872645e1e3399ed3fa1
[ "MIT" ]
null
null
null
calc/calcTest.py
sk753/Calculator
e8a6f00ccacf3cf55efac872645e1e3399ed3fa1
[ "MIT" ]
null
null
null
calc/calcTest.py
sk753/Calculator
e8a6f00ccacf3cf55efac872645e1e3399ed3fa1
[ "MIT" ]
null
null
null
import math def add(x, y): return x + y def subtract(x, y): return x - y def multiply(x, y): return x * y def divide(x, y): result = x / y return round(result, 9) def square(x): return x ** 2 def squareRoot(x): return round(math.sqrt(x), 8)
10.769231
33
0.564286
49
280
3.22449
0.367347
0.101266
0.202532
0.170886
0.246835
0.246835
0
0
0
0
0
0.015306
0.3
280
26
33
10.769231
0.790816
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.071429
0.357143
0.928571
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
1
1
0
0
5
92c274d4002e4aad30ced3a170ec22ae80e9e2ad
286
py
Python
Python/project_euler01.py
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
1,428
2018-10-03T15:15:17.000Z
2019-03-31T18:38:36.000Z
Python/project_euler01.py
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
1,162
2018-10-03T15:05:49.000Z
2018-10-18T14:17:52.000Z
Python/project_euler01.py
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
3,909
2018-10-03T15:07:19.000Z
2019-03-31T18:39:08.000Z
""" If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. """ def multiples_sum(): return sum(i for i in range(1000) if (i % 3 == 0 or i % 5 == 0))
31.777778
129
0.657343
62
286
3.016129
0.532258
0.064171
0.128342
0.149733
0.160428
0
0
0
0
0
0
0.111628
0.248252
286
8
130
35.75
0.75814
0.646853
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
5
92fc61c3baec83e551200e4acb44bfd5429602e4
375
py
Python
src/tacotron/core/__init__.py
stefantaubert/tacotron
9ac37fbf8789b4e7fe1067212a736074181b6fd8
[ "MIT" ]
null
null
null
src/tacotron/core/__init__.py
stefantaubert/tacotron
9ac37fbf8789b4e7fe1067212a736074181b6fd8
[ "MIT" ]
1
2021-11-11T08:50:32.000Z
2021-11-19T12:39:06.000Z
src/tacotron/core/__init__.py
stefantaubert/tacotron
9ac37fbf8789b4e7fe1067212a736074181b6fd8
[ "MIT" ]
null
null
null
from tacotron.core.inference import (InferenceEntries, InferenceEntryOutput, infer) from tacotron.core.logger import Tacotron2Logger from tacotron.core.training import CheckpointTacotron, continue_train, train from tacotron.core.validation import (ValidationEntries, ValidationEntryO...
53.571429
79
0.693333
31
375
8.354839
0.580645
0.185328
0.247104
0
0
0
0
0
0
0
0
0.003597
0.258667
375
6
80
62.5
0.928058
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
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
1
0
1
0
1
0
0
5
13322146ed2d33de57ce4b8cfce8f25fa5035275
10,604
py
Python
frispy/discs.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
frispy/discs.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
frispy/discs.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
# Copyright (c) 2021 John Carrino from frispy.model import Model # constants come from wind tunnel testing done by # check out "DYNAMICS AND PERFORMANCE OF FLYING DISCS" page 111 class Discs: @staticmethod def from_string(name: str) -> Model: if name == "wraith": return Discs.wraith ...
52.49505
146
0.586571
1,782
10,604
3.464085
0.146465
0.027215
0.017496
0.042767
0.789243
0.77758
0.767374
0.750202
0.736595
0.736595
0
0.137309
0.288476
10,604
201
147
52.756219
0.680848
0.6341
0
0.622047
0
0
0.139814
0
0
0
0
0.004975
0
1
0.015748
false
0
0.007874
0.007874
0.141732
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
133694b9e258c581992b5f7814f5fa95f7690b7e
68
py
Python
certbot-dns-ovh/certbot_dns_ovh/_internal/__init__.py
silverbacknet/certbot
270b5535e24fd3dab4c05fa8929adca8117942f1
[ "Apache-2.0" ]
16,789
2016-05-06T19:49:59.000Z
2022-03-31T20:01:47.000Z
certbot-dns-ovh/certbot_dns_ovh/_internal/__init__.py
silverbacknet/certbot
270b5535e24fd3dab4c05fa8929adca8117942f1
[ "Apache-2.0" ]
5,737
2016-05-06T19:26:43.000Z
2022-03-31T20:27:38.000Z
certbot-dns-ovh/certbot_dns_ovh/_internal/__init__.py
silverbacknet/certbot
270b5535e24fd3dab4c05fa8929adca8117942f1
[ "Apache-2.0" ]
2,974
2016-05-06T19:51:23.000Z
2022-03-31T21:01:36.000Z
"""Internal implementation of `~certbot_dns_ovh.dns_ovh` plugin."""
34
67
0.764706
9
68
5.444444
0.777778
0.244898
0
0
0
0
0
0
0
0
0
0
0.073529
68
1
68
68
0.777778
0.897059
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
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
5
13623477bec4f701aa57f2c4c95cd3f57c82313b
1,044
py
Python
python/anyascii/_data/_098.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_098.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_098.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
b='Hu Ye Ding Qing Kui Xiang Shun Han Xu Yi Xu E Song Kui Qi Hang Yu Wan Ban Dun Di Dan Pan Po Ling Che Jing Lei He Qiao E E Wei Xie Kuo Shen Yi Yi Hai Dui Yu Ping Lei Fu Jia Tou Hui Kui Jia Luo Ting Cheng Ying Yun Hu Han Jing Tui Tui Pin Lai Tui Zi Zi Chui Ding Lai Tan Han Qian Ke Cui Xuan Qin Yi Sai Ti E E Yan Wen Ka...
1,044
1,044
0.752874
257
1,044
3.058366
0.494163
0.030534
0.025445
0
0
0
0
0
0
0
0
0
0.244253
1,044
1
1,044
1,044
0.996198
0
0
0
0
1
0.995215
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1396002f058fd26d6ac00f719a95c2ee1ea2ab16
306
py
Python
linkedlists/src/base.py
cozek/linpylists
fd02a7dd5b12493c4508ddb207d4d23609f0d7ab
[ "MIT" ]
null
null
null
linkedlists/src/base.py
cozek/linpylists
fd02a7dd5b12493c4508ddb207d4d23609f0d7ab
[ "MIT" ]
null
null
null
linkedlists/src/base.py
cozek/linpylists
fd02a7dd5b12493c4508ddb207d4d23609f0d7ab
[ "MIT" ]
null
null
null
"""Base class for Node and LinkedLists""" class BaseLinkedList: def __init__(self): pass class BaseNode: def __init__(self, val=0, next_node=None): self._val = val self._next_node = next_node def __repr__(self): return f"Node({self.val, self._next_node})"
23.538462
51
0.633987
41
306
4.268293
0.463415
0.182857
0.125714
0.171429
0
0
0
0
0
0
0
0.004386
0.254902
306
13
51
23.538462
0.763158
0.114379
0
0
0
0
0.12406
0
0
0
0
0
0
1
0.333333
false
0.111111
0
0.111111
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
13af8811c86f82fbf81286f1e10b77c559924a5b
16,562
py
Python
nova/tests/functional/db/test_quotas.py
hemanthnakkina/nova
3756f4ffa6ff670bfd6b491a12b833da0a36b017
[ "Apache-2.0" ]
2
2021-10-11T04:56:25.000Z
2022-02-16T08:49:29.000Z
nova/tests/functional/db/test_quotas.py
woraser/nova
fc3890667e4971e3f0f35ac921c2a6c25f72adec
[ "Apache-2.0" ]
132
2017-03-27T11:31:52.000Z
2022-03-30T08:45:02.000Z
nova/tests/functional/db/test_quotas.py
woraser/nova
fc3890667e4971e3f0f35ac921c2a6c25f72adec
[ "Apache-2.0" ]
8
2017-03-27T07:50:38.000Z
2020-02-14T16:55:56.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
51.75625
79
0.573904
1,867
16,562
4.7579
0.083021
0.100304
0.081954
0.116402
0.818755
0.78532
0.757177
0.738152
0.667117
0.634583
0
0.014321
0.333836
16,562
319
80
51.918495
0.790809
0.063821
0
0.527344
0
0
0.095961
0
0
0
0
0
0.203125
1
0.105469
false
0
0.023438
0
0.132813
0
0
0
0
null
0
0
0
1
1
1
1
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
5
13c5d630924bdfb2168aac36ee9f11cffd09d150
35
py
Python
semcal/__main__.py
jamesabel/semcal
b73d8eb9504fa801157c861e6dd5944f0fe6f5dc
[ "MIT" ]
null
null
null
semcal/__main__.py
jamesabel/semcal
b73d8eb9504fa801157c861e6dd5944f0fe6f5dc
[ "MIT" ]
null
null
null
semcal/__main__.py
jamesabel/semcal
b73d8eb9504fa801157c861e6dd5944f0fe6f5dc
[ "MIT" ]
null
null
null
from semcal import app app.run()
7
22
0.714286
6
35
4.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.2
35
4
23
8.75
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
13f19d0196cdb216f826ac96a84029aaa8007ebb
185
py
Python
project/twittr/models.py
evrom/django-example-for-class
c53b9e0ffe01014efa1229255887fc23b810d265
[ "MIT" ]
1
2017-10-27T14:22:27.000Z
2017-10-27T14:22:27.000Z
project/twittr/models.py
evrom/django-example-for-class
c53b9e0ffe01014efa1229255887fc23b810d265
[ "MIT" ]
null
null
null
project/twittr/models.py
evrom/django-example-for-class
c53b9e0ffe01014efa1229255887fc23b810d265
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Message(models.Model): message = models.CharField(max_length=140) def __str__(self): return self.message
20.555556
46
0.718919
25
185
5.12
0.76
0.203125
0
0
0
0
0
0
0
0
0
0.020134
0.194595
185
8
47
23.125
0.838926
0.12973
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
1
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
1
1
0
0
5
13f5787b4d765bbdce9b90301e63997c86bf2dc7
40
py
Python
services/trackers/exceptions.py
hsnprsd/capitalism
b486755e81277e084830b08d3c792c9646cb8ef0
[ "Apache-2.0" ]
null
null
null
services/trackers/exceptions.py
hsnprsd/capitalism
b486755e81277e084830b08d3c792c9646cb8ef0
[ "Apache-2.0" ]
2
2020-11-20T13:27:02.000Z
2020-11-20T13:27:18.000Z
services/trackers/exceptions.py
hsnprsd/capitalism
b486755e81277e084830b08d3c792c9646cb8ef0
[ "Apache-2.0" ]
null
null
null
class UnknownPrice(Exception): pass
13.333333
30
0.75
4
40
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.175
40
2
31
20
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
b9152115e646ddd1fac655b7e432f79f750671c0
157
py
Python
hello/views.py
lekhanaChilukuri/python-docs-hello-django-1
1d7ff72435a7ed5c016e1c1a32df80f72e0d2dea
[ "MIT" ]
null
null
null
hello/views.py
lekhanaChilukuri/python-docs-hello-django-1
1d7ff72435a7ed5c016e1c1a32df80f72e0d2dea
[ "MIT" ]
null
null
null
hello/views.py
lekhanaChilukuri/python-docs-hello-django-1
1d7ff72435a7ed5c016e1c1a32df80f72e0d2dea
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render def hello(request): return HttpResponse("Hey guys, This is Lekhana Chowdary!")
26.166667
62
0.789809
21
157
5.904762
0.809524
0.16129
0
0
0
0
0
0
0
0
0
0
0.140127
157
5
63
31.4
0.918519
0
0
0
0
0
0.22293
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
5
b91bad42e46c9440380f0096c01e7a8449b6e698
194
py
Python
day11/script2.py
Moremar/advent_of_code_2015
67760a542bea3f0c9a231365e3674b527a171ed5
[ "Apache-2.0" ]
null
null
null
day11/script2.py
Moremar/advent_of_code_2015
67760a542bea3f0c9a231365e3674b527a171ed5
[ "Apache-2.0" ]
null
null
null
day11/script2.py
Moremar/advent_of_code_2015
67760a542bea3f0c9a231365e3674b527a171ed5
[ "Apache-2.0" ]
null
null
null
from day11.script1 import parse, get_next_valid def solve(current_pwd): return get_next_valid(get_next_valid(current_pwd)) if __name__ == '__main__': print(solve(parse("data.txt")))
19.4
54
0.747423
29
194
4.448276
0.655172
0.162791
0.27907
0
0
0
0
0
0
0
0
0.017857
0.134021
194
9
55
21.555556
0.75
0
0
0
0
0
0.082474
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
5
b928277a9e3543a64494269271367883c28b5271
166
py
Python
filemanager/models/BLOCK.py
threefoldtech/jumpscalex_3bot_packages_archived
58ca0d40b453cfae7a2a4c8ba5daa77b95621988
[ "Apache-2.0" ]
null
null
null
filemanager/models/BLOCK.py
threefoldtech/jumpscalex_3bot_packages_archived
58ca0d40b453cfae7a2a4c8ba5daa77b95621988
[ "Apache-2.0" ]
null
null
null
filemanager/models/BLOCK.py
threefoldtech/jumpscalex_3bot_packages_archived
58ca0d40b453cfae7a2a4c8ba5daa77b95621988
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j class BLOCK(j.data.bcdb._BCDBModelClass): def _schema_get(self): return j.data.schema.get_from_url("jumpscale.bcdb.fs.block.2")
23.714286
70
0.73494
26
166
4.5
0.653846
0.08547
0
0
0
0
0
0
0
0
0
0.007042
0.144578
166
6
71
27.666667
0.816901
0
0
0
0
0
0.150602
0.150602
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
b945fc9b3fc5e8c3ea6f7328936b15577a6b6e5d
48
py
Python
dicomsorter/errors.py
suever/dicomsorter
1a1e14eb58c56b68adefbb0c28d75446a20af83c
[ "MIT" ]
5
2018-01-29T20:24:55.000Z
2021-11-12T15:32:43.000Z
dicomsorter/errors.py
suever/dicomsorter
1a1e14eb58c56b68adefbb0c28d75446a20af83c
[ "MIT" ]
4
2019-01-09T00:57:41.000Z
2020-04-28T04:33:27.000Z
dicomsorter/errors.py
suever/dicomsorter
1a1e14eb58c56b68adefbb0c28d75446a20af83c
[ "MIT" ]
null
null
null
class DicomsorterException(Exception): pass
16
38
0.791667
4
48
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.145833
48
2
39
24
0.926829
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
b971f4ad863ba3b22a2cb9a31eca1f4b55848397
28
py
Python
test/login.py
linlimengGIT/gz_01
08ff3bd064d5011d305942bae3e46f475e795512
[ "MIT" ]
null
null
null
test/login.py
linlimengGIT/gz_01
08ff3bd064d5011d305942bae3e46f475e795512
[ "MIT" ]
null
null
null
test/login.py
linlimengGIT/gz_01
08ff3bd064d5011d305942bae3e46f475e795512
[ "MIT" ]
null
null
null
num1 = 10 num2 = 20 a = 100
7
9
0.571429
6
28
2.666667
1
0
0
0
0
0
0
0
0
0
0
0.473684
0.321429
28
3
10
9.333333
0.368421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b9735354f3152994243dbb5aa5c75dbe2e5d5a3d
110
py
Python
lwlPackage/__init__.py
2892211452/myPackage
acadc6a2dcc36900e6e742745af95c1a60a37448
[ "MIT" ]
null
null
null
lwlPackage/__init__.py
2892211452/myPackage
acadc6a2dcc36900e6e742745af95c1a60a37448
[ "MIT" ]
null
null
null
lwlPackage/__init__.py
2892211452/myPackage
acadc6a2dcc36900e6e742745af95c1a60a37448
[ "MIT" ]
null
null
null
from .core import * from .邮件发送 import message from .变量存储与加载 import varLD, varLDnp from .PathPro import path
18.333333
36
0.772727
16
110
5.3125
0.625
0
0
0
0
0
0
0
0
0
0
0
0.172727
110
5
37
22
0.934066
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b9a692133ddb8f19dac39b5ec2142825c1757876
2,048
py
Python
pythonChallenge/10.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
pythonChallenge/10.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
pythonChallenge/10.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
__author__ = 'talluri' from PIL import Image coords = '''146,399,163,403,170,393,169,391,166,386,170,381,170,371,170,355,169,346,167,335,170,329,170,320,170,310,171, 301,173,290,178,289,182,287,188,286,190,286,192,291,194,296,195,305,194,307,191,312,190,316,190,321,192,331,193,338,196, 341,197,346,199,352,198,360,197...
66.064516
120
0.726074
488
2,048
3.036885
0.520492
0.008097
0.010796
0
0
0
0
0
0
0
0
0.665996
0.029297
2,048
30
121
68.266667
0.079477
0
0
0
0
0.652174
0.875855
0.856305
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b9b96f063e7dfc0c595691a49672324bba2f053b
74
py
Python
serpent-moltres/full-core/pathmagic.py
arfc/mhtgr350-benchmark
18f7b3fe5742dabb1114c3bf7760b84590d16062
[ "BSD-3-Clause" ]
1
2021-07-24T16:20:34.000Z
2021-07-24T16:20:34.000Z
serpent-moltres/full-core/pathmagic.py
arfc/mhtgr350-benchmark
18f7b3fe5742dabb1114c3bf7760b84590d16062
[ "BSD-3-Clause" ]
51
2020-05-26T16:17:57.000Z
2021-02-22T20:08:59.000Z
serpent-moltres/full-core/pathmagic.py
robfairh/mhtgr350-benchmark
a99d440bef498d781a1a4a193b876fc1611d1d03
[ "BSD-3-Clause" ]
2
2020-01-02T19:22:59.000Z
2020-01-11T15:42:36.000Z
import sys sys.path.insert(1, "/home/roberto/github/mhtgr350-benchmark")
18.5
61
0.77027
11
74
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.057971
0.067568
74
3
62
24.666667
0.768116
0
0
0
0
0
0.527027
0.527027
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
b9baf7ee0687258162a342767d80323341954a16
76
py
Python
Adafruit_GPIO/__init__.py
lockan/Raspi_IPDisplay
8fc1a5f20de6b720ddb8d40a701637450e398311
[ "MIT" ]
1
2017-11-13T12:48:43.000Z
2017-11-13T12:48:43.000Z
Adafruit_GPIO/__init__.py
lockan/Raspi_IPDisplay
8fc1a5f20de6b720ddb8d40a701637450e398311
[ "MIT" ]
null
null
null
Adafruit_GPIO/__init__.py
lockan/Raspi_IPDisplay
8fc1a5f20de6b720ddb8d40a701637450e398311
[ "MIT" ]
null
null
null
from __future__ import absolute_import from Adafruit_GPIO.GPIO import *
19
39
0.815789
10
76
5.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0.157895
76
3
40
25.333333
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b9d09949b6675e55135c775d570d7728459eab62
5,951
py
Python
scripts/transformRefstreams.py
TimMolleman/ProgrammeerProject
1edcb69ed4f175cf842c37319c60b0122c3a140e
[ "MIT" ]
null
null
null
scripts/transformRefstreams.py
TimMolleman/ProgrammeerProject
1edcb69ed4f175cf842c37319c60b0122c3a140e
[ "MIT" ]
2
2017-01-09T21:38:26.000Z
2021-01-07T20:43:58.000Z
scripts/transformRefstreams.py
TimMolleman/ProgrammeerProject
1edcb69ed4f175cf842c37319c60b0122c3a140e
[ "MIT" ]
null
null
null
''' Name: Tim Molleman Doel: Dit script wordt gebruikt om refstreams.csv naar een json-file om te zetten. Een deel van de json wordt nog handmatig ingevuld aangezien ik het script niet goed kreeg. ''' import csv import json jsonfile = open('refstreams.json', 'w') data = [] def createRefstreams(years, route, number):...
170.028571
5,127
0.631491
683
5,951
5.502196
0.215227
0.240021
0.191591
0.055349
0.765833
0.364023
0.221394
0.221394
0.221394
0.180681
0
0.079149
0.123173
5,951
35
5,128
170.028571
0.64105
0.032263
0
0.1
0
0
0.614221
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.15
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b9d3bd0774fed0395a5355a6401208634a1b799a
314
py
Python
pythagoras/__init__.py
vdesyatka/Pythagoras
e1e87dc45e6bee0747aace073b91426bec9e580f
[ "MIT" ]
null
null
null
pythagoras/__init__.py
vdesyatka/Pythagoras
e1e87dc45e6bee0747aace073b91426bec9e580f
[ "MIT" ]
null
null
null
pythagoras/__init__.py
vdesyatka/Pythagoras
e1e87dc45e6bee0747aace073b91426bec9e580f
[ "MIT" ]
null
null
null
import logging as lg from pythagoras.dicts import * from pythagoras.p_hash_address import * from pythagoras.misc_utils import * from pythagoras.not_known import * from pythagoras.loggers import * from pythagoras.caching import * from pythagoras.serverless_cloud import * from pythagoras.cloud_module import *
20.933333
41
0.818471
42
314
5.97619
0.452381
0.446215
0.557769
0
0
0
0
0
0
0
0
0
0.130573
314
14
42
22.428571
0.919414
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
5
6a398544f824ae252856663450a55f7456575bf8
107
py
Python
websauna/tests/__init__.py
maikroeder/websauna
fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa
[ "CNRI-Python" ]
null
null
null
websauna/tests/__init__.py
maikroeder/websauna
fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa
[ "CNRI-Python" ]
null
null
null
websauna/tests/__init__.py
maikroeder/websauna
fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa
[ "CNRI-Python" ]
1
2021-04-15T17:35:57.000Z
2021-04-15T17:35:57.000Z
"""Contains Websauna test suite and reusable test utilities you can use in your applications and addons."""
107
107
0.794393
16
107
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.140187
107
1
107
107
0.923913
0.943925
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
dbf16cb74020d69e99259d8c5108f8f7050c6f07
153,913
py
Python
verticapy/tests/geo/test_geo.py
vertica/vertica_ml_python
9e82dba94afe8447bfa2492f343af6669128e2fb
[ "Apache-2.0" ]
7
2018-05-10T08:16:31.000Z
2018-05-15T00:59:26.000Z
verticapy/tests/geo/test_geo.py
vertica/vertica_ml_python
9e82dba94afe8447bfa2492f343af6669128e2fb
[ "Apache-2.0" ]
1
2018-05-15T00:15:35.000Z
2018-05-15T13:40:19.000Z
verticapy/tests/geo/test_geo.py
vertica/vertica_ml_python
9e82dba94afe8447bfa2492f343af6669128e2fb
[ "Apache-2.0" ]
null
null
null
# (c) Copyright [2018-2022] Micro Focus or one of its affiliates. # 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 applicabl...
1,900.160494
150,798
0.822991
21,358
153,913
5.927709
0.351952
0.001043
0.001216
0.000253
0.035654
0.002844
0.001517
0.000474
0
0
0
0.873073
0.072164
153,913
80
150,799
1,923.9125
0.013473
0.003885
0
0.036364
0
0.018182
0.986725
0.000685
0
0
0
0
0.218182
1
0.090909
false
0
0.072727
0
0.181818
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e01904fbeb263a0b55d103e7e03061236bf864ae
131
py
Python
users/admin.py
Sovushka-sever/Reserv_Meeting_Room
39221d06e75bee9faa066b9c9db621c84fcda99e
[ "Apache-2.0" ]
null
null
null
users/admin.py
Sovushka-sever/Reserv_Meeting_Room
39221d06e75bee9faa066b9c9db621c84fcda99e
[ "Apache-2.0" ]
null
null
null
users/admin.py
Sovushka-sever/Reserv_Meeting_Room
39221d06e75bee9faa066b9c9db621c84fcda99e
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from users.models import User @admin.register(User) class UserAdmin(admin.ModelAdmin): pass
16.375
34
0.78626
18
131
5.722222
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.137405
131
7
35
18.714286
0.911504
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
e01e196f573b39d507402a05e108428567740b0b
71
py
Python
session_01/hello.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
null
null
null
session_01/hello.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
null
null
null
session_01/hello.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
1
2021-07-27T14:16:39.000Z
2021-07-27T14:16:39.000Z
print ("Hello - \n Let us learn Python to crunch Data!", "again hello")
71
71
0.690141
12
71
4.083333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.169014
71
1
71
71
0.830508
0
0
0
0
0
0.791667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
e047f875ae9c6e1f3018c64d5e96b684e5132839
188
py
Python
pureskillgg_dsdk/ds_io/__init__.py
pureskillgg/dsdk
2e91a815dc06cc37ac8272d87014301c64c1b46e
[ "MIT" ]
null
null
null
pureskillgg_dsdk/ds_io/__init__.py
pureskillgg/dsdk
2e91a815dc06cc37ac8272d87014301c64c1b46e
[ "MIT" ]
1
2022-03-31T15:16:17.000Z
2022-03-31T19:38:05.000Z
pureskillgg_dsdk/ds_io/__init__.py
pureskillgg/dsdk
2e91a815dc06cc37ac8272d87014301c64c1b46e
[ "MIT" ]
null
null
null
from .reader_s3 import DsReaderS3 from .reader_fs import DsReaderFs from .game_ds_loader import GameDsLoader, ChannelInstruction from .normalize_instructions import normalize_instructions
37.6
60
0.882979
23
188
6.956522
0.608696
0.125
0
0
0
0
0
0
0
0
0
0.011696
0.090426
188
4
61
47
0.923977
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e0521e17e3c121a08adde3ac9d23540a72ccf489
224
py
Python
hexrd/xrdutil/__init__.py
donald-e-boyce/hexrd3
476709ee6929ab9841768912665fbed437488a68
[ "BSD-3-Clause" ]
null
null
null
hexrd/xrdutil/__init__.py
donald-e-boyce/hexrd3
476709ee6929ab9841768912665fbed437488a68
[ "BSD-3-Clause" ]
null
null
null
hexrd/xrdutil/__init__.py
donald-e-boyce/hexrd3
476709ee6929ab9841768912665fbed437488a68
[ "BSD-3-Clause" ]
null
null
null
from .utils import * # For now import these private members! from .utils import _project_on_detector_plane from .utils import _fetch_hkls_from_planedata from .utils import _filter_hkls_eta_ome from .utils import _memo_hkls
28
45
0.839286
35
224
4.971429
0.542857
0.258621
0.431034
0
0
0
0
0
0
0
0
0
0.125
224
7
46
32
0.887755
0.165179
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
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
1
0
1
0
0
0
0
5
e076853b256d9577ea7b210845c51908c23c8d6d
45
py
Python
tests/admin_scripts/custom_templates/project_template/.hidden/render.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
61,676
2015-01-01T00:05:13.000Z
2022-03-31T20:37:54.000Z
tests/admin_scripts/custom_templates/project_template/.hidden/render.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
8,884
2015-01-01T00:12:05.000Z
2022-03-31T19:53:11.000Z
tests/admin_scripts/custom_templates/project_template/.hidden/render.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
33,143
2015-01-01T02:04:52.000Z
2022-03-31T19:42:46.000Z
# The {{ project_name }} should be rendered.
22.5
44
0.688889
6
45
5
1
0
0
0
0
0
0
0
0
0
0
0
0.177778
45
1
45
45
0.810811
0.933333
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
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
5
0ec4f2dbdbdb5aeb52521e5f4286d0c2046e8037
842
py
Python
pyequion2/datamods/reactions_irreversible.py
pyequion/pyequion
733cf1c59b5a63f7346d4cb4c21a9ffd2218a5fc
[ "BSD-3-Clause" ]
null
null
null
pyequion2/datamods/reactions_irreversible.py
pyequion/pyequion
733cf1c59b5a63f7346d4cb4c21a9ffd2218a5fc
[ "BSD-3-Clause" ]
null
null
null
pyequion2/datamods/reactions_irreversible.py
pyequion/pyequion
733cf1c59b5a63f7346d4cb4c21a9ffd2218a5fc
[ "BSD-3-Clause" ]
null
null
null
reactions_irreversible = [ # FIXME Automatic irreversible for: Cl- {"CaCl2": -1, "Ca++": 1, "Cl-": 2, "type": "irrev", "id_db": -1}, {"NaCl": -1, "Na+": 1, "Cl-": 1, "type": "irrev", "id_db": -1}, {"KCl": -1, "K+": 1, "Cl-": 1, "type": "irrev", "id_db": -1}, {"KOH": -1, "K+": 1, "OH-": 1, "type": "i...
60.142857
76
0.418052
130
842
2.615385
0.261538
0.291176
0.355882
0.420588
0.573529
0.532353
0.488235
0.376471
0
0
0
0.091852
0.198337
842
14
77
60.142857
0.411852
0.043943
0
0
0
0
0.355721
0
0
0
0
0.071429
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
5
0ee6d8b432397631d997bf7611e5398ea1d5cfb3
131
py
Python
templatetags/quiz.py
myles/django-quiz
92d3137b5b6a905953d6e9564228297b03f044ed
[ "BSD-3-Clause" ]
9
2015-06-08T14:51:14.000Z
2022-01-15T18:58:36.000Z
templatetags/quiz.py
TimGebhardt/django-quiz
0dae1bce0e3610c99a553a70a1f643f8106ef1f6
[ "BSD-3-Clause" ]
null
null
null
templatetags/quiz.py
TimGebhardt/django-quiz
0dae1bce0e3610c99a553a70a1f643f8106ef1f6
[ "BSD-3-Clause" ]
13
2016-01-08T11:46:14.000Z
2021-05-25T04:31:16.000Z
from django.template import Library register = Library() @register.filter def intequaltest(value, arg): return (value == arg)
14.555556
35
0.740458
16
131
6.0625
0.75
0.309278
0
0
0
0
0
0
0
0
0
0
0.152672
131
8
36
16.375
0.873874
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
1
1
0
0
5
160a6bb67f51103d6747d8783aac65a6bb4a93d1
7,190
py
Python
commonregex.py
starlightdreamer/CommonRegex
7c40ebd86331bd550e415687d5f4338df1ccc358
[ "MIT" ]
null
null
null
commonregex.py
starlightdreamer/CommonRegex
7c40ebd86331bd550e415687d5f4338df1ccc358
[ "MIT" ]
null
null
null
commonregex.py
starlightdreamer/CommonRegex
7c40ebd86331bd550e415687d5f4338df1ccc358
[ "MIT" ]
null
null
null
# coding: utf-8 from types import MethodType import re date = re.compile('(?:(?<!\:)(?<!\:\d)[0-3]?\d(?:st|nd|rd|th)?\s+(?:of\s+)?(?:jan\.?|january|feb\.?|february|mar\.?|march|apr\.?|april|may|jun\.?|june|jul\.?|july|aug\.?|august|sep\.?|september|oct\.?|october|nov\.?|november|dec\.?|december)|(?:jan\.?|...
108.939394
3,161
0.428373
1,073
7,190
2.830382
0.498602
0.013829
0.010537
0.009878
0.178795
0.167929
0.161673
0.145209
0.145209
0.136648
0
0.048966
0.085396
7,190
65
3,162
110.615385
0.412865
0.001808
0
0
0
0.109091
0.745784
0.712334
0
0
0
0
0
1
0.072727
false
0
0.036364
0.018182
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
162ecd77552f7c32126ce5af02e170a82160f69b
87
py
Python
anndata/_io/specs/__init__.py
michalk8/anndata
664e32b0aa6625fe593370d37174384c05abfd4e
[ "BSD-3-Clause" ]
null
null
null
anndata/_io/specs/__init__.py
michalk8/anndata
664e32b0aa6625fe593370d37174384c05abfd4e
[ "BSD-3-Clause" ]
null
null
null
anndata/_io/specs/__init__.py
michalk8/anndata
664e32b0aa6625fe593370d37174384c05abfd4e
[ "BSD-3-Clause" ]
null
null
null
from . import methods from .registry import write_elem, read_elem, get_spec, _REGISTRY
29
64
0.816092
13
87
5.153846
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.126437
87
2
65
43.5
0.881579
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
16396276410360f4ed7dca4379065a8e359c938e
51
py
Python
pdml2flow/plugin-skeleton/plugin/__init__.py
Enteee/pdml2flow
2e5da6f03bc799f0e8ef77dd987031b969d4a5df
[ "Apache-2.0" ]
12
2016-04-01T10:59:14.000Z
2022-01-27T04:05:43.000Z
plugin/__init__.py
Enteee/pdml2flow-frame-inter-arrival-time
970c01aee64a1168258dd06b5d243b93133157d1
[ "Apache-2.0" ]
16
2016-03-18T10:44:00.000Z
2019-08-12T05:52:24.000Z
plugin/__init__.py
Enteee/pdml2flow-frame-inter-arrival-time
970c01aee64a1168258dd06b5d243b93133157d1
[ "Apache-2.0" ]
2
2016-09-08T11:49:39.000Z
2020-09-09T04:39:15.000Z
# vim: set fenc=utf8 ts=4 sw=4 et from . import *
17
34
0.627451
11
51
2.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0.076923
0.235294
51
2
35
25.5
0.74359
0.607843
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
163c461cdd4f205eb55ef305759c5f9dc3e8df6d
42
py
Python
examples/str.rstrip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/str.rstrip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/str.rstrip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
print('www.example.com'.rstrip('cmowz.'))
21
41
0.690476
6
42
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.02381
42
1
42
42
0.707317
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
163e2e6568293cdca7f80b467fe55407cfe84f0c
82
py
Python
wazabee/__init__.py
RCayre/wazabee_cli
fb7c644c2c3e2832cd6b62d6cca3eed85efe997e
[ "MIT" ]
null
null
null
wazabee/__init__.py
RCayre/wazabee_cli
fb7c644c2c3e2832cd6b62d6cca3eed85efe997e
[ "MIT" ]
null
null
null
wazabee/__init__.py
RCayre/wazabee_cli
fb7c644c2c3e2832cd6b62d6cca3eed85efe997e
[ "MIT" ]
null
null
null
from .device import WazabeeDevice from .pcap import * from .helpers import banner
20.5
33
0.804878
11
82
6
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.146341
82
3
34
27.333333
0.942857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
164947bfcc93e6c4cf5d86d63a4315c6f096fb17
110
py
Python
conductor/app/schemas/__init__.py
PHT-EU/central-conductor
59e394128be1385664064f62400914b98a2e9104
[ "MIT" ]
null
null
null
conductor/app/schemas/__init__.py
PHT-EU/central-conductor
59e394128be1385664064f62400914b98a2e9104
[ "MIT" ]
null
null
null
conductor/app/schemas/__init__.py
PHT-EU/central-conductor
59e394128be1385664064f62400914b98a2e9104
[ "MIT" ]
null
null
null
from .station import Station, StationCreate, StationUpdate from .train import Train, TrainCreate, TrainUpdate
36.666667
58
0.836364
12
110
7.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.109091
110
2
59
55
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
164db8d2a3060dab47c7e16cfe5ac6b3e54d8ad2
31,584
py
Python
cumulusci/salesforce_api/tests/test_metadata.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
null
null
null
cumulusci/salesforce_api/tests/test_metadata.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
2
2021-03-25T23:56:47.000Z
2021-03-31T19:52:05.000Z
cumulusci/salesforce_api/tests/test_metadata.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
null
null
null
import ast import httplib import os import shutil import tempfile import unittest import urllib from xml.dom.minidom import parseString import requests import responses from nose.tools import raises from cumulusci.tests.util import create_project_config from cumulusci.tests.util import DummyOrgConfig from cumulusci...
36.013683
145
0.631554
3,476
31,584
5.415132
0.06473
0.039314
0.02752
0.035382
0.800032
0.766668
0.72948
0.706742
0.695426
0.670775
0
0.038506
0.264913
31,584
876
146
36.054795
0.772236
0.004844
0
0.615085
0
0.003901
0.15897
0.041915
0
0
0
0
0.050715
1
0.080624
false
0.0013
0.042913
0.020806
0.178153
0
0
0
0
null
0
0
0
1
1
1
1
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
5
164faa43eaaf5e2bbf9dc16ab53a13422d24ce5b
114
py
Python
hello.py
EuclideanDreamer/hello-world
2efcccd47aa84f711d73cb14e1274fc7f396a28f
[ "CC0-1.0" ]
null
null
null
hello.py
EuclideanDreamer/hello-world
2efcccd47aa84f711d73cb14e1274fc7f396a28f
[ "CC0-1.0" ]
null
null
null
hello.py
EuclideanDreamer/hello-world
2efcccd47aa84f711d73cb14e1274fc7f396a28f
[ "CC0-1.0" ]
null
null
null
""" This program displays 'Hello World' on the console by Bailey Nichols dated 1-29-2021 """ print('Hello World')
19
50
0.72807
18
114
4.611111
0.888889
0.240964
0
0
0
0
0
0
0
0
0
0.072165
0.149123
114
6
51
19
0.783505
0.745614
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
5
165c7319d5f8a29c0b7237d7477bce365868ee68
41
py
Python
Chapter 02/ch2_6.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 02/ch2_6.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 02/ch2_6.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
print(round(45.236,-1)) print(globals())
20.5
24
0.682927
7
41
4
0.857143
0
0
0
0
0
0
0
0
0
0
0.153846
0.04878
41
2
25
20.5
0.564103
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
167a9431ceb0041c9088adb858f83c8e8f5a4edf
270
py
Python
harnessed_jobs/rtm_aliveness_power_on/v0/producer_rtm_aliveness_power_on.py
lsst-camera-dh/IandT-jobs
f62f9f796208d23a4f775752c084f8ef3dd6cf35
[ "BSD-3-Clause-LBNL" ]
1
2017-05-22T20:53:12.000Z
2017-05-22T20:53:12.000Z
harnessed_jobs/rtm_aliveness_power_on/v0/producer_rtm_aliveness_power_on.py
lsst-camera-dh/IandT-jobs
f62f9f796208d23a4f775752c084f8ef3dd6cf35
[ "BSD-3-Clause-LBNL" ]
21
2016-10-12T22:42:16.000Z
2020-09-29T05:37:54.000Z
harnessed_jobs/rtm_aliveness_power_on/v0/producer_rtm_aliveness_power_on.py
lsst-camera-dh/IandT-jobs
f62f9f796208d23a4f775752c084f8ef3dd6cf35
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python import os from ccsTools import ccsProducer, CcsRaftSetup ccsProducer('rtm_aliveness_power_on', 'ccs_rtm_aliveness_power_on.py', ccs_setup_class=CcsRaftSetup, sys_paths=(os.path.join(os.environ['IANDTJOBSDIR'], 'python'),))
33.75
76
0.733333
35
270
5.371429
0.685714
0.12766
0.180851
0.202128
0
0
0
0
0
0
0
0
0.144444
270
7
77
38.571429
0.813853
0.074074
0
0
0
0
0.277108
0.204819
0
0
0
0
0
1
0
true
0
0.4
0
0.4
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
1
0
1
0
0
0
0
5
16971cd2b881e5dbeda2f5ab9fffad21cd833ff0
519
py
Python
project/td-modules/base_com/text_par_execute.py
raganmd/touchdesigner-skl-project
db0028df9f0d3375c10820d04a497846f1ed0a47
[ "MIT" ]
6
2019-01-27T14:38:42.000Z
2021-08-29T17:22:21.000Z
project/td-modules/base_com/text_par_execute.py
raganmd/touchdesigner-skl-project
db0028df9f0d3375c10820d04a497846f1ed0a47
[ "MIT" ]
null
null
null
project/td-modules/base_com/text_par_execute.py
raganmd/touchdesigner-skl-project
db0028df9f0d3375c10820d04a497846f1ed0a47
[ "MIT" ]
1
2019-11-09T23:30:02.000Z
2019-11-09T23:30:02.000Z
# me - this DAT # par - the Par object that has changed # val - the current value # prev - the previous value # # Make sure the corresponding toggle is enabled in the Parameter Execute DAT. def onValueChange(par, prev): if par.name == 'Heartbeatrole': parent().Role_setup(par) else: pass return def onPuls...
16.741935
77
0.712909
73
519
5.054795
0.534247
0.121951
0.108401
0.173442
0.154472
0
0
0
0
0
0
0
0.190751
519
31
78
16.741935
0.878571
0.342967
0
0.375
0
0
0.038806
0
0
0
0
0
0
1
0.375
false
0.0625
0
0.3125
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
16a34670ed97c04d901186ce7216fc6624958f77
342,911
py
Python
perceptron/examples/data_plane_3d.py
pedro823/machine-learning
5988a45e730c9244a543c884268ac8f96252100b
[ "Apache-2.0" ]
null
null
null
perceptron/examples/data_plane_3d.py
pedro823/machine-learning
5988a45e730c9244a543c884268ac8f96252100b
[ "Apache-2.0" ]
null
null
null
perceptron/examples/data_plane_3d.py
pedro823/machine-learning
5988a45e730c9244a543c884268ac8f96252100b
[ "Apache-2.0" ]
null
null
null
INPUT = [(-13.444944823220183, -16.04896581673598, 0.005173936628416698), (-11.058239388955005, 5.5994558581962615, -22.939205735409267), (-23.18347168479259, 20.729312072432762, 24.140606715912163), (12.113472970056527, 16.67811449977534, -3.569857503524137), (8.536236560359278, -3.12595693383998, 20.704377676345167),...
114,303.666667
310,497
0.788202
35,002
342,911
7.72193
0.429375
0.039337
0.029702
0.02258
0.082884
0.082884
0.082884
0.082884
0.082884
0.082884
0
0.767617
0.058336
342,911
2
310,498
171,455.5
0.069413
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
16c540e106409ba742d46bc5bc311685723577a3
2,829
py
Python
src/pytest/test_fuzzy.py
mahemoff/RediSearch
83e6790c849ebd27b311e347ee2c2ca50e31a267
[ "Ruby", "MIT" ]
null
null
null
src/pytest/test_fuzzy.py
mahemoff/RediSearch
83e6790c849ebd27b311e347ee2c2ca50e31a267
[ "Ruby", "MIT" ]
null
null
null
src/pytest/test_fuzzy.py
mahemoff/RediSearch
83e6790c849ebd27b311e347ee2c2ca50e31a267
[ "Ruby", "MIT" ]
1
2019-02-04T11:54:56.000Z
2019-02-04T11:54:56.000Z
def testBasicFuzzy(env): r = env env.assertOk(r.execute_command( 'ft.create', 'idx', 'schema', 'title', 'text', 'body', 'text')) env.assertOk(r.execute_command('ft.add', 'idx', 'doc1', 1.0, 'fields', 'title', 'hello world', 'b...
51.436364
208
0.489926
332
2,829
4.138554
0.189759
0.094614
0.131004
0.148472
0.797671
0.77147
0.752547
0.731441
0.66885
0.641921
0
0.016219
0.30258
2,829
55
209
51.436364
0.680182
0.012018
0
0.479167
0
0
0.29201
0
0
0
0
0
0.3125
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
5
16cc5907b8c129bf1742586326fd2a72fd4de03e
327
py
Python
src/instances/__init__.py
thiagojobson/instances
084d23834c1b65d6711930e070eab9bb87a3c9e5
[ "MIT" ]
null
null
null
src/instances/__init__.py
thiagojobson/instances
084d23834c1b65d6711930e070eab9bb87a3c9e5
[ "MIT" ]
null
null
null
src/instances/__init__.py
thiagojobson/instances
084d23834c1b65d6711930e070eab9bb87a3c9e5
[ "MIT" ]
null
null
null
from .utils import (Graph, load_instance, export_instance, write_instance, import_solution, export_solution, write_solution) from .generate import (grid, grid_uniform, hexagonal, generate_graph, generate_instance) from .notebook_utils import plot_accumulated_risk, plot_gantt_d...
54.5
74
0.743119
37
327
6.189189
0.513514
0.09607
0
0
0
0
0
0
0
0
0
0
0.201835
327
5
75
65.4
0.877395
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
bc5dde5f75013fb12acd517fa26e00477b8c0e92
4,575
py
Python
tests/trainer/test_optimizers.py
dangpzanco/pytorch-lightning
d70ac99f8cc05f3504cad596440b2670926b01e5
[ "Apache-2.0" ]
null
null
null
tests/trainer/test_optimizers.py
dangpzanco/pytorch-lightning
d70ac99f8cc05f3504cad596440b2670926b01e5
[ "Apache-2.0" ]
null
null
null
tests/trainer/test_optimizers.py
dangpzanco/pytorch-lightning
d70ac99f8cc05f3504cad596440b2670926b01e5
[ "Apache-2.0" ]
null
null
null
import math import os import pytest import torch import tests.models.utils as tutils from pytorch_lightning import Trainer from tests.models import ( TestModelBase, LightTrainDataloader, LightTestOptimizerWithSchedulingMixin, LightTestMultipleOptimizersWithSchedulingMixin, LightTestOptimizersWith...
31.122449
114
0.68306
582
4,575
5.195876
0.182131
0.047288
0.016204
0.018519
0.792989
0.771495
0.750661
0.713294
0.701058
0.701058
0
0.0246
0.235847
4,575
146
115
31.335616
0.840389
0.067541
0
0.633663
0
0
0.155676
0
0
0
0
0
0.118812
1
0.029703
false
0.029703
0.069307
0
0.128713
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
bc5fb460945753b835a17d907b5dc396f4b4adee
242
py
Python
util/event.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
util/event.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
util/event.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
class Event: def __init__(self): self.handlers = [] def call(self, *args, **kwargs): for h in self.handlers: h(*args, **kwargs) def __call__(self, *args, **kwargs): self.call(*args, **kwargs)
22
40
0.53719
29
242
4.206897
0.413793
0.327869
0.180328
0.245902
0.344262
0
0
0
0
0
0
0
0.301653
242
10
41
24.2
0.721893
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0
0.5
0
1
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
1
0
0
0
0
0
0
0
5
bc6d80bf8c55fc2581738cab9c68d374059ab931
253
py
Python
yourss/__init__.py
essembeh/YouRSS
c9ceda791296cdf7c92f0bcec58922e0552b5505
[ "Apache-2.0" ]
null
null
null
yourss/__init__.py
essembeh/YouRSS
c9ceda791296cdf7c92f0bcec58922e0552b5505
[ "Apache-2.0" ]
2
2021-05-31T11:56:17.000Z
2021-06-30T22:32:07.000Z
yourss/__init__.py
essembeh/youtube-rss-viewer
c9ceda791296cdf7c92f0bcec58922e0552b5505
[ "Apache-2.0" ]
null
null
null
""" project metadata """ try: import importlib.metadata as importlib_metadata except ModuleNotFoundError: import importlib_metadata __version__ = importlib_metadata.version(__name__) from .webapp import app def create_app(): return app
14.882353
51
0.770751
28
253
6.535714
0.571429
0.371585
0.251366
0
0
0
0
0
0
0
0
0
0.162055
253
17
52
14.882353
0.863208
0.063241
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0.125
0.75
0
1
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
0
0
1
1
0
0
0
5
bc77e0e57f78ba06277719367a321214b2ed6b6f
723
py
Python
exploits/staff/user.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
23
2019-11-23T19:53:10.000Z
2021-02-19T06:13:28.000Z
exploits/staff/user.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
1
2019-11-30T16:10:52.000Z
2019-12-01T15:23:39.000Z
exploits/staff/user.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
3
2019-11-24T09:35:43.000Z
2021-02-19T06:13:29.000Z
from utils.generators import generate_random_text class User: def __init__(self): self.username = generate_random_text() self.password = generate_random_text() self.biography = generate_random_text() self.last_name = generate_random_text() self.first_name = generate_random_...
27.807692
49
0.603043
74
723
5.567568
0.337838
0.203884
0.262136
0.213592
0.262136
0.262136
0.262136
0.262136
0.262136
0
0
0
0.302905
723
25
50
28.92
0.81746
0
0
0.190476
1
0
0.080221
0
0
0
0
0
0
1
0.142857
false
0.142857
0.047619
0.095238
0.333333
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
bcbc7dfb363430efb27511eba568f198b8ff6493
116
py
Python
zipa/__init__.py
calind/zipa
d2f3572454456aafe952a911b4881f4862b3730c
[ "Apache-2.0" ]
null
null
null
zipa/__init__.py
calind/zipa
d2f3572454456aafe952a911b4881f4862b3730c
[ "Apache-2.0" ]
null
null
null
zipa/__init__.py
calind/zipa
d2f3572454456aafe952a911b4881f4862b3730c
[ "Apache-2.0" ]
null
null
null
import sys from .magic import SelfWrapper self = sys.modules[__name__] sys.modules[__name__] = SelfWrapper(self)
14.5
41
0.775862
15
116
5.466667
0.533333
0.365854
0.341463
0
0
0
0
0
0
0
0
0
0.12931
116
7
42
16.571429
0.811881
0
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
1
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
1
0
0
0
0
5
bce68b748cd829578f5e8fce1e4cdd91e120bb1c
237
py
Python
poop/hfdp/factory/challenge/zone.py
cassiobotaro/poop
fc218fbf638c50da8ea98dab7de26ad2a52e83f5
[ "MIT" ]
37
2020-12-27T00:13:07.000Z
2022-01-31T19:30:18.000Z
poop/hfdp/factory/challenge/zone.py
cassiobotaro/poop
fc218fbf638c50da8ea98dab7de26ad2a52e83f5
[ "MIT" ]
null
null
null
poop/hfdp/factory/challenge/zone.py
cassiobotaro/poop
fc218fbf638c50da8ea98dab7de26ad2a52e83f5
[ "MIT" ]
7
2020-12-26T22:33:47.000Z
2021-11-07T01:29:59.000Z
class Zone: def __init__(self) -> None: self._display_name = "" self._offset = 0 def get_display_name(self) -> str: return self._display_name def get_offset(self) -> int: return self._offset
21.545455
38
0.603376
30
237
4.333333
0.466667
0.253846
0.230769
0
0
0
0
0
0
0
0
0.005988
0.295359
237
10
39
23.7
0.772455
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
4c435f75a31ce3b1f85faab5fb29a7cfcc0dc746
1,839
py
Python
tests/test_testing_oauth2_implicit.py
StijnCaerts/requests_auth
5cbdd329555dbabd4d6347ba2104a950eb72ab2c
[ "MIT" ]
24
2018-07-23T09:43:00.000Z
2022-02-07T18:05:21.000Z
tests/test_testing_oauth2_implicit.py
StijnCaerts/requests_auth
5cbdd329555dbabd4d6347ba2104a950eb72ab2c
[ "MIT" ]
48
2018-09-06T05:29:08.000Z
2022-02-14T14:28:59.000Z
tests/test_testing_oauth2_implicit.py
StijnCaerts/requests_auth
5cbdd329555dbabd4d6347ba2104a950eb72ab2c
[ "MIT" ]
11
2018-09-29T16:30:39.000Z
2022-02-23T13:06:41.000Z
import pytest from responses import RequestsMock import requests_auth from requests_auth.testing import token_cache_mock from tests.auth_helper import get_header @pytest.fixture def token_mock() -> str: return "2YotnFZFEjr1zCsicMWpAA" def test_oauth2_implicit_flow(token_cache_mock, responses: RequestsMock): ...
30.65
86
0.730288
192
1,839
6.75
0.239583
0.064815
0.064815
0.111111
0.744599
0.744599
0.744599
0.744599
0.744599
0.744599
0
0.080052
0.171289
1,839
59
87
31.169492
0.770341
0
0
0.413043
0
0
0.280587
0.215334
0
0
0
0
0.108696
1
0.130435
false
0
0.108696
0.021739
0.26087
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4c5bd5beb07badc60a0c21498cd67d1dc5d520c2
94
py
Python
tests/test_protocol.py
rsnodgrass/pyanthem
24293960b0edbb4b456b68eb548a68cecd5d0df6
[ "MIT" ]
null
null
null
tests/test_protocol.py
rsnodgrass/pyanthem
24293960b0edbb4b456b68eb548a68cecd5d0df6
[ "MIT" ]
1
2021-09-07T04:59:28.000Z
2021-09-07T04:59:28.000Z
tests/test_protocol.py
rsnodgrass/python-anthemav-serial
24293960b0edbb4b456b68eb548a68cecd5d0df6
[ "MIT" ]
null
null
null
"""FIXME: see https://github.com/nugget/python-anthemav/blob/master/tests/test_protocol.py"""
47
93
0.765957
14
94
5.071429
1
0
0
0
0
0
0
0
0
0
0
0
0.031915
94
1
94
94
0.78022
0.925532
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
5
d5b9fdba0192241922a40fb45f1b2c4d682f442b
3,688
py
Python
helper/surround_with_command.py
Bhanditz/JavaScriptEnhancements
f87ff0ae9dba99bab69bf4fe4e73ca29d198f81e
[ "MIT" ]
null
null
null
helper/surround_with_command.py
Bhanditz/JavaScriptEnhancements
f87ff0ae9dba99bab69bf4fe4e73ca29d198f81e
[ "MIT" ]
null
null
null
helper/surround_with_command.py
Bhanditz/JavaScriptEnhancements
f87ff0ae9dba99bab69bf4fe4e73ca29d198f81e
[ "MIT" ]
null
null
null
import sublime, sublime_plugin class surround_withCommand(sublime_plugin.TextCommand): def run(self, edit, **args): view = self.view selections = view.sel() case = args.get("case") if case == "if_else_statement" : if len(selections) != 2 : return sel_1 = Util.trim_Region(view, se...
44.97561
185
0.621475
505
3,688
4.338614
0.124752
0.136924
0.155637
0.120493
0.803743
0.75445
0.744865
0.717937
0.654952
0.654952
0
0.006892
0.213124
3,688
82
186
44.97561
0.748105
0
0
0.411765
0
0
0.11575
0.013012
0
0
0
0
0
1
0.044118
false
0
0.014706
0
0.176471
0
0
0
0
null
0
0
0
1
1
1
1
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
5
d5c42a39faaefed0b5943ad6d93d5155822edd29
233
py
Python
src/stackoverflow/64329623/database/db_init.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/64329623/database/db_init.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/64329623/database/db_init.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
3
2020-02-19T08:02:04.000Z
2021-06-08T13:27:51.000Z
class Session: pass class DB: @staticmethod def get_rds_host(): return '127.0.0.1' def __init__(self, user, password, host, database) -> None: pass def getSession(self): return Session
15.533333
63
0.596567
29
233
4.586207
0.689655
0
0
0
0
0
0
0
0
0
0
0.037037
0.304721
233
14
64
16.642857
0.783951
0
0
0.2
0
0
0.038627
0
0
0
0
0
0
1
0.3
false
0.3
0
0.2
0.7
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
d5d0364bd36e99fec65d4c8fb6e344b36c33b2fa
31
py
Python
Main Server/test_cases/user/config.py
harsha-ys/e16-3yp-automatic-fish-tank-control-system
e5541a97fc10c2e0588290d2a1b9b115fde4add8
[ "MIT" ]
null
null
null
Main Server/test_cases/user/config.py
harsha-ys/e16-3yp-automatic-fish-tank-control-system
e5541a97fc10c2e0588290d2a1b9b115fde4add8
[ "MIT" ]
1
2020-11-07T12:07:05.000Z
2020-11-07T12:07:05.000Z
Main Server/test_cases/user/config.py
harsha-ys/e16-3yp-automatic-fish-tank-control-system
e5541a97fc10c2e0588290d2a1b9b115fde4add8
[ "MIT" ]
6
2020-10-25T10:43:09.000Z
2020-11-14T07:27:41.000Z
IP="35.173.230.92" PORT="33000"
15.5
18
0.677419
7
31
3
1
0
0
0
0
0
0
0
0
0
0
0.5
0.032258
31
2
19
15.5
0.2
0
0
0
0
0
0.5625
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d5d56d34fb47f728e9a8fef389449656f41e981e
256
py
Python
src/data.py
IreneZR/test
aa14c19822bb39fa97e57b9ef513df8a4b78ae67
[ "Apache-2.0" ]
null
null
null
src/data.py
IreneZR/test
aa14c19822bb39fa97e57b9ef513df8a4b78ae67
[ "Apache-2.0" ]
null
null
null
src/data.py
IreneZR/test
aa14c19822bb39fa97e57b9ef513df8a4b78ae67
[ "Apache-2.0" ]
null
null
null
class Coord(object): """ Represent Cartesian coordinates. """ def __init__(self, x=0, y=0): self._x = x self._y = y class Data(object): """ Represent list of coordinates. """ def __init__(self): self._data = []
12.190476
34
0.558594
31
256
4.258065
0.483871
0.227273
0.272727
0.333333
0
0
0
0
0
0
0
0.01105
0.292969
256
20
35
12.8
0.718232
0.246094
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.571429
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
1
0
0
0
0
1
0
0
5
d5dc1ccdf91c2fa3d732f7c601bffd1e1044b503
3,277
py
Python
tests/plugins/test_polyline_offset.py
iwpnd/folium
67aab11039cd990d73fdf14566380286835ff84b
[ "MIT" ]
1
2022-03-11T00:37:00.000Z
2022-03-11T00:37:00.000Z
tests/plugins/test_polyline_offset.py
iwpnd/folium
67aab11039cd990d73fdf14566380286835ff84b
[ "MIT" ]
null
null
null
tests/plugins/test_polyline_offset.py
iwpnd/folium
67aab11039cd990d73fdf14566380286835ff84b
[ "MIT" ]
null
null
null
""" Test PolyLineOffset ------------------- """ import folium from folium import plugins from folium.utilities import normalize import pytest @pytest.mark.parametrize("offset", [0, 10, -10]) def test_polylineoffset(offset): m = folium.Map([20.0, 0.0], zoom_start=3) locations = [ [59.355600, -31.992...
26.007937
134
0.597803
373
3,277
5.182306
0.372654
0.004139
0.024832
0.03104
0.786342
0.731505
0.731505
0.731505
0.731505
0.731505
0
0.125099
0.229173
3,277
125
135
26.216
0.640143
0.068966
0
0.606061
0
0.020202
0.380184
0.014483
0
0
0
0
0.040404
1
0.020202
false
0
0.040404
0
0.060606
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d5e95ae91d896b437c2b5d9333541c705fb7d523
119
py
Python
petugas/admin.py
raismaulana/srfapp
6fc3263f6a996f3359ca81e992eb4b190ee00a7e
[ "MIT" ]
null
null
null
petugas/admin.py
raismaulana/srfapp
6fc3263f6a996f3359ca81e992eb4b190ee00a7e
[ "MIT" ]
null
null
null
petugas/admin.py
raismaulana/srfapp
6fc3263f6a996f3359ca81e992eb4b190ee00a7e
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Radiasi # Register your models here. admin.site.register(Radiasi)
23.8
32
0.815126
17
119
5.705882
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.117647
119
5
33
23.8
0.92381
0.218487
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
d5f2512d7ef75a075fadfdaa5a684e91998144ee
2,315
py
Python
graph/weigthsCalc.py
AlexisMolinaMR/BindPredGNN
92f8fd7472eb907b83b413276d2b0d90ff150ebe
[ "MIT" ]
null
null
null
graph/weigthsCalc.py
AlexisMolinaMR/BindPredGNN
92f8fd7472eb907b83b413276d2b0d90ff150ebe
[ "MIT" ]
null
null
null
graph/weigthsCalc.py
AlexisMolinaMR/BindPredGNN
92f8fd7472eb907b83b413276d2b0d90ff150ebe
[ "MIT" ]
null
null
null
import os import math import numpy as np import pandas as pd def elementSubgraphsWeights(atom_interactions, types, decay_function, ligand_atom_types, protein_atom_types): ''' Compute subgraph weights using either exponential or Lorentz decay functions. ''' weights = [] count = 0 atom_atom = ...
30.460526
141
0.610367
288
2,315
4.65625
0.204861
0.09396
0.0783
0.04176
0.783743
0.783743
0.783743
0.783743
0.702461
0.644295
0
0.015973
0.242765
2,315
75
142
30.866667
0.749002
0.066955
0
0.653061
0
0
0.027713
0
0
0
0
0
0
1
0.040816
false
0
0.081633
0
0.163265
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
910c9e3b383ae0c30963043a92a550c7c03c87b3
2,562
py
Python
src/leetcode_1931_painting_a_grid_with_three_different_colors.py
yurirocha15/coding_practice
952506932c47414da689454853ee745637413160
[ "MIT" ]
2
2020-12-08T13:59:10.000Z
2021-05-01T05:07:39.000Z
src/leetcode_1931_painting_a_grid_with_three_different_colors.py
yurirocha15/coding_practice
952506932c47414da689454853ee745637413160
[ "MIT" ]
null
null
null
src/leetcode_1931_painting_a_grid_with_three_different_colors.py
yurirocha15/coding_practice
952506932c47414da689454853ee745637413160
[ "MIT" ]
1
2021-05-02T17:42:02.000Z
2021-05-02T17:42:02.000Z
# @l2g 1931 python3 # [1931] Painting a Grid With Three Different Colors # Difficulty: Hard # https://leetcode.com/problems/painting-a-grid-with-three-different-colors # # You are given two integers m and n.Consider an m x n grid where each cell is initially white. # You can paint each cell red,green,or blue.All cells ...
23.504587
95
0.604606
400
2,562
3.845
0.3075
0.009103
0.03381
0.044213
0.768531
0.768531
0.768531
0.768531
0.768531
0.768531
0
0.061323
0.274395
2,562
108
96
23.722222
0.766003
0.617877
0
0
0
0
0.027624
0
0
0
0
0
0
1
0.083333
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5