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
04b2e7596426bcc6c2e793041756d9bea09c0965
894
py
Python
tests/conftest.py
nnseva/starlette-i18n
8702507ae0e78616f66cb02de77cc1f4c1c65da6
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
nnseva/starlette-i18n
8702507ae0e78616f66cb02de77cc1f4c1c65da6
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
nnseva/starlette-i18n
8702507ae0e78616f66cb02de77cc1f4c1c65da6
[ "Apache-2.0" ]
null
null
null
import pytest from starlette.applications import Starlette from starlette.responses import PlainTextResponse from starlette.testclient import TestClient from starlette_i18n import LocaleMiddleware, load_gettext_translations from . import constants, messages @pytest.fixture() def load_translations(): load_gettex...
25.542857
100
0.775168
101
894
6.663366
0.39604
0.077266
0.071322
0.112927
0
0
0
0
0
0
0
0.010336
0.134228
894
34
101
26.294118
0.859173
0
0
0.086957
0
0
0.036913
0
0
0
0
0
0
1
0.217391
false
0
0.26087
0.130435
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
04bed2e5cc3012782b64b5516291625e921f329b
897
py
Python
src/mbed_cloud/_backends/enrollment/models/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
12
2017-12-28T11:18:43.000Z
2020-10-04T12:11:15.000Z
src/mbed_cloud/_backends/enrollment/models/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
50
2017-12-21T12:50:41.000Z
2020-01-13T16:07:08.000Z
src/mbed_cloud/_backends/enrollment/models/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
8
2018-04-25T17:47:29.000Z
2019-08-29T06:38:27.000Z
# coding: utf-8 """ Enrollment API Connect Enrollment Service allows users to claim the ownership of a device which is not yet assigned to an account. A device without an assigned account can be a device purchased from the open market (OEM dealer) or a device transferred from an account to another. More infor...
39
416
0.799331
125
897
5.656
0.608
0.039604
0.056577
0.062235
0.076379
0
0
0
0
0
0
0.002604
0.143813
897
22
417
40.772727
0.917969
0.632107
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
04d2eb8864c03521f4c2f568b362b52e8a9c032b
242
py
Python
experiments/simulation_experiments/out/convert_to_grayscale.py
vishalbelsare/cplvm
d8f715258b2c363beb2d59e95e5b5b9e73b503a7
[ "MIT" ]
null
null
null
experiments/simulation_experiments/out/convert_to_grayscale.py
vishalbelsare/cplvm
d8f715258b2c363beb2d59e95e5b5b9e73b503a7
[ "MIT" ]
null
null
null
experiments/simulation_experiments/out/convert_to_grayscale.py
vishalbelsare/cplvm
d8f715258b2c363beb2d59e95e5b5b9e73b503a7
[ "MIT" ]
null
null
null
from skimage import color from skimage import io import matplotlib.pyplot as plt img_fname = "bfs_gene_sets_robustness" img = color.rgb2gray(io.imread(img_fname + ".png")) plt.imsave(fname=img_fname + "_grayscale.png", arr=img, cmap="gray")
30.25
68
0.772727
38
242
4.736842
0.605263
0.133333
0.188889
0
0
0
0
0
0
0
0
0.00463
0.107438
242
7
69
34.571429
0.828704
0
0
0
0
0
0.190083
0.099174
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
1
0
0
0
0
3
04f41b4be228b33fbec69856cb6d7cbe8f4d7094
221
py
Python
bnn/__init__.py
vinayksk/BNN-PYNQ
c079f6b13a24c8b6e86a7d63908c9300ee5d0d9f
[ "BSD-3-Clause" ]
null
null
null
bnn/__init__.py
vinayksk/BNN-PYNQ
c079f6b13a24c8b6e86a7d63908c9300ee5d0d9f
[ "BSD-3-Clause" ]
null
null
null
bnn/__init__.py
vinayksk/BNN-PYNQ
c079f6b13a24c8b6e86a7d63908c9300ee5d0d9f
[ "BSD-3-Clause" ]
null
null
null
from .bnn import PynqBNN, CnvClassifier, LfcClassifier, RUNTIME_HW, RUNTIME_SW from .bnn import NETWORK_CNVW1A1, NETWORK_CNVW1A2, NETWORK_CNVW2A2, NETWORK_LFCW1A1, NETWORK_LFCW1A2, available_params __version__ = 0.1
44.2
119
0.828054
28
221
6.107143
0.714286
0.081871
0.152047
0
0
0
0
0
0
0
0
0.061224
0.113122
221
4
120
55.25
0.811224
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
04f72a9a6dbbb6fb3387150f544617fb3cc739aa
805
py
Python
src/model/boat.py
mjovanc/mvc-simple-registry
1db4c8d6d0ca80fe83bf38196d0a839454145ddf
[ "MIT" ]
null
null
null
src/model/boat.py
mjovanc/mvc-simple-registry
1db4c8d6d0ca80fe83bf38196d0a839454145ddf
[ "MIT" ]
null
null
null
src/model/boat.py
mjovanc/mvc-simple-registry
1db4c8d6d0ca80fe83bf38196d0a839454145ddf
[ "MIT" ]
null
null
null
from enum import Enum class Boat: """ The model class Boat. """ def __init__(self, boat_name, boat_id, boat_type, length): self.__boat_name = boat_name self.__length = length self.__boat_id = boat_id self.__boat_type = boat_type def get_name(self): return ...
19.166667
62
0.624845
109
805
4.155963
0.238532
0.1766
0.10596
0.119205
0.0883
0
0
0
0
0
0
0.007055
0.295652
805
41
63
19.634146
0.791887
0.026087
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.038462
0.153846
0.730769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b6d232f1ec9baa78c8d219f278559497d7bd1a9e
477
py
Python
setting.py
ehsanbarkhordar/radio_twt
e2d47f7f7e457418543681653d08d2601d931b48
[ "Apache-2.0" ]
1
2020-08-10T16:44:28.000Z
2020-08-10T16:44:28.000Z
setting.py
ehsanbarkhordar/radio_twt
e2d47f7f7e457418543681653d08d2601d931b48
[ "Apache-2.0" ]
null
null
null
setting.py
ehsanbarkhordar/radio_twt
e2d47f7f7e457418543681653d08d2601d931b48
[ "Apache-2.0" ]
null
null
null
import os from dotenv import load_dotenv load_dotenv('.env') CHANNEL_CHAT_ID = os.getenv("CHANNEL_CHAT_ID") BOT_TOKEN = os.getenv("BOT_TOKEN") DEVELOPER_CHAT_ID = os.getenv("DEVELOPER_CHAT_ID") DATABASE_NAME = os.getenv("DATABASE_NAME") DATABASE_HOST = os.getenv("DATABASE_HOST") DATABASE_PORT = os.getenv("DATABASE_P...
29.8125
56
0.798742
70
477
5.071429
0.314286
0.202817
0.225352
0.078873
0
0
0
0
0
0
0
0
0.077568
477
15
57
31.8
0.806818
0
0
0
0
0
0.280922
0
0
0
0
0
0
1
0
false
0.083333
0.166667
0
0.166667
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
0
1
0
0
0
0
0
3
b6de6795c7c2611101b2b5e5ff14f9fa18bdcb7a
100
py
Python
oop.py
wajahatahmed245/python-flask-boilerplate
671298eb25dc3de0673b7a2d6d457f701014d557
[ "MIT" ]
null
null
null
oop.py
wajahatahmed245/python-flask-boilerplate
671298eb25dc3de0673b7a2d6d457f701014d557
[ "MIT" ]
null
null
null
oop.py
wajahatahmed245/python-flask-boilerplate
671298eb25dc3de0673b7a2d6d457f701014d557
[ "MIT" ]
null
null
null
def printing(T): print (f'hello {T}') w=__name__ if w=="__main__": printing("wajaht")
11.111111
24
0.58
14
100
3.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.23
100
9
25
11.111111
0.649351
0
0
0
0
0
0.227723
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.6
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b6ea94a98da15b1071858a57808e26991256e01f
849
py
Python
information/api.py
AlanLatte/PerformanceTracking
1ab8c9c5f9d1ce510c18fb5f126a5e16c252b2f0
[ "MIT" ]
null
null
null
information/api.py
AlanLatte/PerformanceTracking
1ab8c9c5f9d1ce510c18fb5f126a5e16c252b2f0
[ "MIT" ]
6
2021-03-18T23:06:26.000Z
2021-09-22T18:36:07.000Z
information/api.py
AlanLatte/PerformanceTracking
1ab8c9c5f9d1ce510c18fb5f126a5e16c252b2f0
[ "MIT" ]
1
2020-01-30T11:40:24.000Z
2020-01-30T11:40:24.000Z
from .models import * from rest_framework import viewsets, permissions from .serializers import * class TermsViewSet(viewsets.ModelViewSet): queryset = Terms.objects.all() permission_classes = [ permissions.AllowAny ] serializer_class = TermsSerializer class MarksViewSet(viewsets.ModelViewSe...
23.583333
49
0.729093
72
849
8.472222
0.402778
0.131148
0.183607
0.177049
0.4
0.4
0.4
0.4
0
0
0
0
0.199058
849
35
50
24.257143
0.897059
0
0
0.296296
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.703704
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b6f14b4524b45fb3858e6636a044cda531a4f6b7
3,435
py
Python
reference/sketchbook/regex/deriv1.py
JaDogg/__py_playground
416f88db10e03f5380bcb5cfcad0bca50ffa657c
[ "MIT" ]
1
2015-10-28T00:00:16.000Z
2015-10-28T00:00:16.000Z
reference/sketchbook/regex/deriv1.py
JaDogg/__py_playground
416f88db10e03f5380bcb5cfcad0bca50ffa657c
[ "MIT" ]
null
null
null
reference/sketchbook/regex/deriv1.py
JaDogg/__py_playground
416f88db10e03f5380bcb5cfcad0bca50ffa657c
[ "MIT" ]
null
null
null
""" Regular expression matching using simplified and memoized Brzozowski derivatives. """ def match(re, s): for c in s: re = re(c) return re.nullable def mark(nullable, deriv): deriv.nullable = nullable return deriv fail = mark(False, lambda c: fail) empty = mark(True, lambda c: fail) def _l...
25.257353
142
0.565357
543
3,435
3.554328
0.127072
0.106218
0.05285
0.045596
0.41658
0.266839
0.241969
0.220207
0.063212
0.040415
0
0.01394
0.206405
3,435
135
143
25.444444
0.694057
0.439301
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0
0.125
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8e037dd0bd249df78142f6aaaf2b1404cc155c98
2,120
py
Python
aliyun-python-sdk-ccc/aliyunsdkccc/request/v20200701/CreateInstanceRequest.py
jorsonzen/aliyun-openapi-python-sdk
0afbfa8e5f9e19455695aa799f7dcc1cd853d827
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-ccc/aliyunsdkccc/request/v20200701/CreateInstanceRequest.py
jorsonzen/aliyun-openapi-python-sdk
0afbfa8e5f9e19455695aa799f7dcc1cd853d827
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-ccc/aliyunsdkccc/request/v20200701/CreateInstanceRequest.py
jorsonzen/aliyun-openapi-python-sdk
0afbfa8e5f9e19455695aa799f7dcc1cd853d827
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
34.193548
74
0.763208
284
2,120
5.535211
0.390845
0.038168
0.044529
0.054071
0.098601
0.098601
0.098601
0
0
0
0
0.006561
0.137264
2,120
62
75
34.193548
0.852925
0.35566
0
0
0
0
0.144267
0
0
0
0
0
0
1
0.366667
false
0
0.066667
0.166667
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8e49522483555567cba5a12aa9ab2a60615b13b4
259
py
Python
tutorial/test_maths.py
kws/tutorial-unittesting
2e1508b36fc941778152a3cf52c0e2736fb1f440
[ "MIT" ]
null
null
null
tutorial/test_maths.py
kws/tutorial-unittesting
2e1508b36fc941778152a3cf52c0e2736fb1f440
[ "MIT" ]
null
null
null
tutorial/test_maths.py
kws/tutorial-unittesting
2e1508b36fc941778152a3cf52c0e2736fb1f440
[ "MIT" ]
null
null
null
import unittest import tutorial import math class MathsTestCase(unittest.TestCase): def test_subtract(self): self.assertEqual(5, tutorial.subtract(10, 5)) def test_subtract_zero(self): self.assertEqual(0, tutorial.subtract(0, 0))
18.5
53
0.718147
33
259
5.545455
0.484848
0.076503
0.163934
0
0
0
0
0
0
0
0
0.033019
0.181467
259
13
54
19.923077
0.830189
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
8e51babd392c24d7dae2b224026d74924fde627f
1,226
py
Python
Desafios/Ex-059.py
LuckyCards/Curso-Python3
b39c7b2645220c71c35012f16c102428053fee25
[ "MIT" ]
1
2021-04-06T16:14:43.000Z
2021-04-06T16:14:43.000Z
Desafios/Ex-059.py
LuckyCards/Curso-Python3
b39c7b2645220c71c35012f16c102428053fee25
[ "MIT" ]
null
null
null
Desafios/Ex-059.py
LuckyCards/Curso-Python3
b39c7b2645220c71c35012f16c102428053fee25
[ "MIT" ]
null
null
null
print(f'\033[33m{"—"*30:^30}\033[m') print(f'\033[36m{"EXERCÍCIO Nº 59":^30}\033[m') print(f'\033[33m{"—"*30:^30}\033[m') n1 = 0 n2 = 0 choice = 4 while choice != 5: if choice == 4: print('Digite dois valores e escolha as opções a seguir!') n1 = int(input('Digite um valor: ')) n2 = int(inpu...
37.151515
97
0.510604
212
1,226
3
0.268868
0.141509
0.15566
0.188679
0.556604
0.556604
0.539308
0.539308
0.539308
0.47327
0
0.176923
0.257749
1,226
33
98
37.151515
0.510989
0
0
0.322581
0
0.032258
0.517522
0.211899
0
0
0
0
0
0
null
null
0
0
null
null
0.580645
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
f3f6d0d161ef542d07020c8b1dbf15be22062802
593
py
Python
balls.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
balls.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
balls.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
class Coord: def __init__(self, x, y): self.x = x self.y = y class Ball: def __init__(self, x, y): self.diameter = 0.1 self.x = x self.y = y self.coord = Coord(x,y) class ObjectBall(Ball): pass class One(ObjectBall): pass class Two(ObjectBall): pas...
13.177778
31
0.602024
79
593
4.417722
0.291139
0.25788
0.489971
0.068768
0.154728
0.154728
0
0
0
0
0
0.004785
0.29511
593
44
32
13.477273
0.830144
0
0
0.53125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0.34375
0
0
0.46875
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
0
1
0
0
0
0
0
3
6d039272cab67601c499fbf4ebabc8c2d9c6bf39
59
py
Python
django/apps/issues/__init__.py
Haakenlid/tassen
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
16
2017-03-21T03:53:37.000Z
2021-08-14T06:28:02.000Z
django/apps/issues/__init__.py
universitas/universitas.no
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
104
2017-03-25T00:12:46.000Z
2021-03-09T22:40:58.000Z
django/apps/issues/__init__.py
Haakenlid/tassen
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
6
2017-03-21T03:53:40.000Z
2020-06-07T14:15:38.000Z
default_app_config = 'apps.issues.appconf.IssuesAppConfig'
29.5
58
0.847458
7
59
6.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.857143
0
0
0
0
0
0.59322
0.59322
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d0409e7cc07b2f4ce8f665f7940b3522f91c149
1,200
py
Python
Antecedent.py
Ronnasayd/Ifuzzy2py
cc8bdaff1f302516d44b0e505e358adc84fceea6
[ "Apache-2.0" ]
4
2019-07-15T09:44:35.000Z
2020-07-11T07:29:07.000Z
Antecedent.py
Ronnasayd/Ifuzzy2py
cc8bdaff1f302516d44b0e505e358adc84fceea6
[ "Apache-2.0" ]
null
null
null
Antecedent.py
Ronnasayd/Ifuzzy2py
cc8bdaff1f302516d44b0e505e358adc84fceea6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Copyright 2017 Ronnasayd Machado <ronnasayd@hotmail.com> 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....
26.086957
79
0.675833
170
1,200
4.747059
0.558824
0.074349
0.032218
0.039653
0
0
0
0
0
0
0
0.013015
0.231667
1,200
45
80
26.666667
0.862256
0.65
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6d4dda9788c5c8ced2754c61e75abe11a3d95ba4
573
py
Python
instagram/forms.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
instagram/forms.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
instagram/forms.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
from django import forms from .models import Profile, Image, Comment from django.contrib.auth.models import User class ProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['user'] class ImageForm(forms.ModelForm): class Meta: model = Image fields = ('i...
21.222222
57
0.621291
61
573
5.803279
0.393443
0.158192
0.214689
0.259887
0.316384
0
0
0
0
0
0
0
0.275742
573
27
58
21.222222
0.853012
0
0
0.210526
0
0
0.076655
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.578947
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6d5f70a26fd9fa998a0a14c98533696db78a7287
587
py
Python
hooks/pre_gen_project.py
timmyomahony/cookiecutter-django
1947d552d858a9987178c98bdb1a0fec527af07c
[ "BSD-3-Clause" ]
1
2019-09-23T02:26:19.000Z
2019-09-23T02:26:19.000Z
hooks/pre_gen_project.py
timmyomahony/cookiecutter-django
1947d552d858a9987178c98bdb1a0fec527af07c
[ "BSD-3-Clause" ]
null
null
null
hooks/pre_gen_project.py
timmyomahony/cookiecutter-django
1947d552d858a9987178c98bdb1a0fec527af07c
[ "BSD-3-Clause" ]
null
null
null
""" NOTE: the below code is to be maintained Python 2.x-compatible as the whole Cookiecutter Django project initialization can potentially be run in Python 2.x environment. TODO: ? restrict Cookiecutter Django project initialization to Python 3.x environments only """ project_slug = '{{ cookiecutter.proje...
39.133333
114
0.747871
78
587
5.551282
0.564103
0.152425
0.036952
0.180139
0
0
0
0
0
0
0
0.006036
0.153322
587
14
115
41.928571
0.865191
0.465077
0
0
0
0
0.545752
0.160131
0
0
0
0.071429
0.5
1
0
false
0
0
0
0
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
1
1
0
0
0
0
0
0
0
0
0
3
ed972146c32f0b620a3a8f9247e948f930aa965b
125
py
Python
01-Introductions/02-While_loops/syntax.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
01-Introductions/02-While_loops/syntax.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
01-Introductions/02-While_loops/syntax.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
#!/usr/bin/python3.4 count = 0 while count < 9: print("The count is: ", count) count = count + 1 print("Good bye")
13.888889
34
0.592
20
125
3.7
0.7
0.27027
0
0
0
0
0
0
0
0
0
0.052632
0.24
125
8
35
15.625
0.726316
0.152
0
0
0
0
0.209524
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
610c6ef525ac59b0f83a8fe532a6ea78ddcc4d46
426
py
Python
problems/dp/Solution1155.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/dp/Solution1155.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/dp/Solution1155.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" You have d dice, and each die has f faces numbered 1, 2, ..., f. Return the number of possible ways (out of fd total ways) modulo 10^9 + 7 to roll the dice so the sum of the face up numbers equals target. Example 1: Input: d = 1, f = 6, target = 3 Output: 1 Explanation: You...
23.666667
79
0.619718
76
426
3.473684
0.697368
0.037879
0
0
0
0
0
0
0
0
0
0.057823
0.309859
426
17
80
25.058824
0.840136
0.816901
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
61123eebcd1503b2a7ec3382539a18869015683d
1,922
py
Python
gym_microrts/microrts_ai.py
Agents-Bar/gym-microrts
69267b05f0fff557f6318ab15182758d6d8889f4
[ "Apache-2.0" ]
null
null
null
gym_microrts/microrts_ai.py
Agents-Bar/gym-microrts
69267b05f0fff557f6318ab15182758d6d8889f4
[ "Apache-2.0" ]
null
null
null
gym_microrts/microrts_ai.py
Agents-Bar/gym-microrts
69267b05f0fff557f6318ab15182758d6d8889f4
[ "Apache-2.0" ]
null
null
null
def randomBiasedAI(utt): from ai import RandomBiasedAI return RandomBiasedAI() def randomAI(utt): from ai import RandomBiasedSingleUnitAI return RandomBiasedSingleUnitAI() def passiveAI(utt): from ai import PassiveAI return PassiveAI() def workerRushAI(utt): from ai.abstraction import Wor...
23.439024
68
0.740375
226
1,922
6.292035
0.221239
0.078762
0.088608
0.083685
0.216596
0.064698
0
0
0
0
0
0.004403
0.172737
1,922
82
69
23.439024
0.889937
0.213319
0
0
0
0
0
0
0
0
0
0
0
1
0.277778
false
0.074074
0.277778
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
61213d7a70a811de6636bdf3fcb5d1c65fb7813e
9,203
py
Python
tests/test_umsgpack_conn.py
fabioz/u-msgpack-python
75029b567431d1dbc04fc0da44195005afbc3164
[ "MIT" ]
1
2017-09-01T20:34:48.000Z
2017-09-01T20:34:48.000Z
tests/test_umsgpack_conn.py
fabioz/u-msgpack-python
75029b567431d1dbc04fc0da44195005afbc3164
[ "MIT" ]
null
null
null
tests/test_umsgpack_conn.py
fabioz/u-msgpack-python
75029b567431d1dbc04fc0da44195005afbc3164
[ "MIT" ]
1
2020-07-28T17:01:40.000Z
2020-07-28T17:01:40.000Z
''' @license: MIT @author: Fabio Zadrozny ''' import threading import time import unittest from umsgpack_s_conn import ConnectionHandler, assert_waited_condition import umsgpack_s_conn class Test(unittest.TestCase): def _setup(self): server_received = [] server_handlers = [] ...
35.396154
95
0.628708
1,032
9,203
5.281008
0.11531
0.068257
0.11945
0.148624
0.77211
0.720917
0.705872
0.694495
0.647339
0.602202
0
0.022795
0.270673
9,203
259
96
35.532819
0.789184
0.011627
0
0.603352
0
0
0.03285
0
0
0
0
0
0.318436
1
0.072626
false
0.005587
0.039106
0
0.145251
0.039106
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b624d6b4510a8821fbdbb2fee3c1e6da377188fd
629
py
Python
Python/DS/queue.py
salikansari6/interview-prep
17e98fbb15f87c9f2ecd293896e613f5fe01d3a3
[ "MIT" ]
1
2021-08-23T18:18:41.000Z
2021-08-23T18:18:41.000Z
Python/DS/queue.py
salikansari6/interview-prep
17e98fbb15f87c9f2ecd293896e613f5fe01d3a3
[ "MIT" ]
null
null
null
Python/DS/queue.py
salikansari6/interview-prep
17e98fbb15f87c9f2ecd293896e613f5fe01d3a3
[ "MIT" ]
1
2021-08-24T15:40:15.000Z
2021-08-24T15:40:15.000Z
from collections import deque print("============ deque ============") print() print("====== append() & appendleft ======") print() queue = deque(["Eric", "John", "Michael"]) queue.append("Terry") queue.appendleft("Graham") print(queue) print() print("====== pop() & popleft ======") print() queue.pop() queue.popleft...
15.341463
44
0.586645
73
629
5.054795
0.328767
0.216802
0.203252
0.108401
0
0
0
0
0
0
0
0.014363
0.114467
629
40
45
15.725
0.648115
0.052464
0
0.5
0
0
0.300676
0
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.666667
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
0
0
0
0
0
1
0
3
b632c3a6ade63f424a5f15d9fc881807429b1aaf
556
py
Python
policies/policy_base.py
ngoodger/Zuki
e8c46c89eefc807eca7379d90ed93a147fdf7a04
[ "MIT" ]
null
null
null
policies/policy_base.py
ngoodger/Zuki
e8c46c89eefc807eca7379d90ed93a147fdf7a04
[ "MIT" ]
null
null
null
policies/policy_base.py
ngoodger/Zuki
e8c46c89eefc807eca7379d90ed93a147fdf7a04
[ "MIT" ]
null
null
null
import abc import numpy as np class PolicyBase(): __metaclass__ = abc.ABCMeta @abc.abstractmethod def setup(self, saved_policy_path: str=""): """ Setup policy. Including initialization of variables and DAG. """ pass @abc.abstractmethod def choose_action(self, state: np.array): ...
25.272727
76
0.642086
67
556
5.223881
0.507463
0.145714
0.171429
0.137143
0
0
0
0
0
0
0
0
0.255396
556
21
77
26.47619
0.845411
0.260791
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.230769
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b637dfa8e455172c2b4a6dcaa860d3cd992fad10
3,810
py
Python
OO/carro.py
tvcastro1/pythonbirds
413571f5aad6507ef0fbeddc54b3e5158d53b45f
[ "MIT" ]
null
null
null
OO/carro.py
tvcastro1/pythonbirds
413571f5aad6507ef0fbeddc54b3e5158d53b45f
[ "MIT" ]
null
null
null
OO/carro.py
tvcastro1/pythonbirds
413571f5aad6507ef0fbeddc54b3e5158d53b45f
[ "MIT" ]
null
null
null
"""Você deve criar uma classe carro que vai possuir dois atributos compostos por outras duas classes: 1.Motor 2.Direção O Motor terá a responsabilidade de controlar a velocidade. Ele oferece os seguintes atributos: 1.Atributo de dado velocidade 2.Método acelerar, que deverá incremetar a velocidade de ...
23.8125
81
0.614698
443
3,810
5.137698
0.182844
0.050088
0.061511
0.043937
0.377417
0.267575
0.079525
0
0
0
0
0.008909
0.263517
3,810
159
82
23.962264
0.80221
0.606037
0
0.255319
0
0
0.036217
0
0
0
0
0.025157
0
1
0.276596
false
0
0
0.12766
0.510638
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
b690832fa203735edd63e8005ecb45e0e639d2dd
1,847
py
Python
desktop_local_tests/windows/test_windows_ip_responder_disrupt_adapter.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
219
2017-12-12T09:42:46.000Z
2022-03-13T08:25:13.000Z
desktop_local_tests/windows/test_windows_ip_responder_disrupt_adapter.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
11
2017-12-14T08:14:51.000Z
2021-08-09T18:37:45.000Z
desktop_local_tests/windows/test_windows_ip_responder_disrupt_adapter.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
45
2017-12-14T07:26:36.000Z
2022-03-11T09:36:56.000Z
from desktop_local_tests.local_ip_responder_test_case_with_disrupter import LocalIPResponderTestCaseWithDisrupter from desktop_local_tests.windows.windows_adapter_disrupter import WindowsAdapterDisrupter class TestWindowsIPResponderDisruptAdapter(LocalIPResponderTestCaseWithDisrupter): '''Summary: Tests whet...
35.519231
113
0.746616
251
1,847
5.414343
0.525896
0.029433
0.023547
0.030905
0
0
0
0
0
0
0
0
0.217109
1,847
51
114
36.215686
0.939834
0.715214
0
0
0
0
0
0
0
0
0
0.019608
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
b69ea6bf05058b3fc7c26e861e33153aa411bf88
161
py
Python
env-pipenv/main.py
kkrull/python-sandbox
b70956e697846077ebd93a643cf3cbb443756189
[ "MIT" ]
null
null
null
env-pipenv/main.py
kkrull/python-sandbox
b70956e697846077ebd93a643cf3cbb443756189
[ "MIT" ]
null
null
null
env-pipenv/main.py
kkrull/python-sandbox
b70956e697846077ebd93a643cf3cbb443756189
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import clock def main(): print('The current time is: {}'.format(clock.get_current_time())) if __name__ == '__main__': main()
13.416667
69
0.645963
22
161
4.272727
0.772727
0.234043
0
0
0
0
0
0
0
0
0
0.007576
0.180124
161
11
70
14.636364
0.704545
0.130435
0
0
0
0
0.223022
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b6a4c6dc52a465a3f28b729b38ef99230d8e7198
108
py
Python
pytube/test1.py
Yecgaa1/daily
8640527e055140908034f15ddac24a0413d04d61
[ "MIT" ]
null
null
null
pytube/test1.py
Yecgaa1/daily
8640527e055140908034f15ddac24a0413d04d61
[ "MIT" ]
null
null
null
pytube/test1.py
Yecgaa1/daily
8640527e055140908034f15ddac24a0413d04d61
[ "MIT" ]
null
null
null
from pytube import YouTube yt=YouTube('https://www.youtube.com/watch?v=N5nKlyxnGGc') print(yt.streams.all())
36
57
0.777778
17
108
4.941176
0.823529
0
0
0
0
0
0
0
0
0
0
0.009709
0.046296
108
3
58
36
0.805825
0
0
0
0
0
0.394495
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b6b313ed9acabe559526f994a403d64e5839fd9d
2,576
py
Python
demo/demo.py
DecentMark/decentmark
52cc80f2b13b13a249326f953615e8386f9d4155
[ "MIT" ]
null
null
null
demo/demo.py
DecentMark/decentmark
52cc80f2b13b13a249326f953615e8386f9d4155
[ "MIT" ]
1
2018-09-05T12:07:44.000Z
2018-09-05T12:07:44.000Z
demo/demo.py
DecentMark/decentmark
52cc80f2b13b13a249326f953615e8386f9d4155
[ "MIT" ]
3
2018-08-28T06:02:47.000Z
2018-09-03T10:53:07.000Z
from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get("http://localhost:8000") driver.find_element_by_id("id_username").send_keys("demo") driver.find_element_by_id ("id_password").send_keys("demo") driver.find_element_by_xpath("/html/body/form[1]/input[2...
35.777778
67
0.80163
418
2,576
4.543062
0.15311
0.184308
0.313323
0.350184
0.745129
0.729858
0.68931
0.561348
0.523433
0.423907
0
0.022848
0.048525
2,576
71
68
36.28169
0.751938
0
0
0.327273
0
0
0.229903
0.04932
0
0
0
0
0
1
0
false
0.018182
0.036364
0
0.036364
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fcbd9e1e6136d72f930126d932e00b32886b9ef2
30
py
Python
bluespot/guest/settings.py
unifispot/unifispot-free
186c906aa79e8671e03d0808469a3f27d67e34e1
[ "MIT" ]
21
2015-11-10T11:40:39.000Z
2021-12-02T22:58:45.000Z
bluespot/guest/settings.py
unifispot/unifispot-free
186c906aa79e8671e03d0808469a3f27d67e34e1
[ "MIT" ]
null
null
null
bluespot/guest/settings.py
unifispot/unifispot-free
186c906aa79e8671e03d0808469a3f27d67e34e1
[ "MIT" ]
10
2016-02-03T14:45:41.000Z
2019-11-08T08:21:25.000Z
GUEST_URL_PREFIX = '/guest'
7.5
27
0.7
4
30
4.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.166667
30
3
28
10
0.76
0
0
0
0
0
0.214286
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fcca423bab9cebdfd5219790e85793f57ccbc3d2
199
py
Python
tf_utils/activation.py
divs4debu/Json2Tensorflow
4aff5af31a072c8685a013a5cbb5dd43ac4d1b51
[ "Apache-2.0" ]
null
null
null
tf_utils/activation.py
divs4debu/Json2Tensorflow
4aff5af31a072c8685a013a5cbb5dd43ac4d1b51
[ "Apache-2.0" ]
null
null
null
tf_utils/activation.py
divs4debu/Json2Tensorflow
4aff5af31a072c8685a013a5cbb5dd43ac4d1b51
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf def get_activation_function(function, args): return { 'sigmoid': tf.sigmoid(args), 'rect_linear': tf.nn.relu(args), 'None': args }[function]
19.9
44
0.61809
24
199
5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.251256
199
9
45
22.111111
0.805369
0
0
0
0
0
0.110553
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
fccd544da2866928a269e1a4b6b690ee6675d369
33
py
Python
workflows/arlexecute/skymodel/__init__.py
ska-telescope/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
22
2016-12-14T11:20:07.000Z
2021-08-13T15:23:41.000Z
workflows/arlexecute/skymodel/__init__.py
ska-telescope/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
30
2017-06-27T09:15:38.000Z
2020-09-11T18:16:37.000Z
workflows/arlexecute/skymodel/__init__.py
SKA-ScienceDataProcessor/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
20
2017-07-02T03:45:49.000Z
2019-12-11T17:19:01.000Z
__all__ = ['skymodel_arlexecute']
33
33
0.787879
3
33
7
1
0
0
0
0
0
0
0
0
0
0
0
0.060606
33
1
33
33
0.677419
0
0
0
0
0
0.558824
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e04240ee79cf5fe19e891b6c117e3159469083e
408
py
Python
web/controllers/restservice.py
emrahayanoglu/Flask-Skeleton
64fda9eb9881ff50c88584049f0b1a8d1fa0e6c7
[ "MIT" ]
null
null
null
web/controllers/restservice.py
emrahayanoglu/Flask-Skeleton
64fda9eb9881ff50c88584049f0b1a8d1fa0e6c7
[ "MIT" ]
null
null
null
web/controllers/restservice.py
emrahayanoglu/Flask-Skeleton
64fda9eb9881ff50c88584049f0b1a8d1fa0e6c7
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, flash, request, redirect, url_for from flask_login import login_user, logout_user, login_required from flask_restful import Resource, Api restservice = Blueprint('restservice', __name__, url_prefix='/api/v1.0/hello') api = Api(restservice) class HelloService(Resource): ...
31.384615
79
0.762255
53
408
5.622642
0.603774
0.090604
0
0
0
0
0
0
0
0
0
0.005618
0.127451
408
12
80
34
0.831461
0
0
0
0
0
0.090686
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.666667
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
1e12d959487b8a4b318acdc195b95b697c8d1f89
632
py
Python
ELEMENTARY/MaxDigit.py
estoyun/CheckiO_Solutions_Python
037177a415915903961b7f7c351b752aae2d7a4d
[ "MIT" ]
null
null
null
ELEMENTARY/MaxDigit.py
estoyun/CheckiO_Solutions_Python
037177a415915903961b7f7c351b752aae2d7a4d
[ "MIT" ]
null
null
null
ELEMENTARY/MaxDigit.py
estoyun/CheckiO_Solutions_Python
037177a415915903961b7f7c351b752aae2d7a4d
[ "MIT" ]
null
null
null
def max_digit(number: int) -> int: # your code here # # 1. 기본적인 답 # maxValue = -1 # for i in str(number): # maxValue = max(int(i),maxValue) # return maxValue # 2. one-liner # String max() 활용 return int(max(str(number))) if __name__ == '__main__': print("Example:") prin...
25.28
76
0.606013
93
632
3.956989
0.569892
0.152174
0.190217
0
0
0
0
0
0
0
0
0.044968
0.261076
632
24
77
26.333333
0.743041
0.337025
0
0
0
0
0.166667
0
0
0
0
0.041667
0.454545
1
0.090909
false
0
0
0.090909
0.181818
0.272727
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
3
1e32de36102341b60f069b522da405e588d86086
98
py
Python
spotifyLocalExport/main.py
ValdrST/spotify-local-export
6fb8db9f20a8cd815b4cd85c1904cb580c82650e
[ "MIT" ]
1
2020-07-23T18:55:36.000Z
2020-07-23T18:55:36.000Z
spotifyLocalExport/main.py
ValdrST/spotify-local-export
6fb8db9f20a8cd815b4cd85c1904cb580c82650e
[ "MIT" ]
null
null
null
spotifyLocalExport/main.py
ValdrST/spotify-local-export
6fb8db9f20a8cd815b4cd85c1904cb580c82650e
[ "MIT" ]
null
null
null
#!/usr/bin/env python from .interfaz import Console def main(): c = Console() c.iniciar()
16.333333
29
0.642857
14
98
4.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.204082
98
5
30
19.6
0.807692
0.204082
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1e3b62846ef3e1d57b2b9b8d488ee180217c318e
176
py
Python
arteria/decorators.py
arteria-project/arteria-core
57b0a44da63a14c8a535eef0cc6b231887700e2c
[ "MIT" ]
4
2015-11-27T10:53:05.000Z
2019-04-12T18:33:04.000Z
arteria/decorators.py
arteria-project/arteria-core
57b0a44da63a14c8a535eef0cc6b231887700e2c
[ "MIT" ]
7
2015-09-02T13:27:36.000Z
2018-11-22T15:29:44.000Z
arteria/decorators.py
arteria-project/arteria-core
57b0a44da63a14c8a535eef0cc6b231887700e2c
[ "MIT" ]
6
2015-08-24T14:51:33.000Z
2019-02-12T12:12:56.000Z
def undocumented(f): """ Apply the undocumented decorator to handler methods if they should not turn up in the API help """ f.undocumented = True return f
22
98
0.670455
25
176
4.72
0.8
0
0
0
0
0
0
0
0
0
0
0
0.267045
176
7
99
25.142857
0.914729
0.534091
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
0
0
0
0
0
0
0
3
1e504065da2c58ed8626ce35e6d330b278a77637
559
py
Python
rosetta_code/word_frequency/word_frequency.py
JCPedroza/freeCodeCamp-coding-interview-prep-python
56d40d42d127e98f2d8132e043054ba72cc5faaa
[ "MIT" ]
null
null
null
rosetta_code/word_frequency/word_frequency.py
JCPedroza/freeCodeCamp-coding-interview-prep-python
56d40d42d127e98f2d8132e043054ba72cc5faaa
[ "MIT" ]
null
null
null
rosetta_code/word_frequency/word_frequency.py
JCPedroza/freeCodeCamp-coding-interview-prep-python
56d40d42d127e98f2d8132e043054ba72cc5faaa
[ "MIT" ]
null
null
null
from string import punctuation from collections import Counter def word_split(text: str) -> list[str]: punctuation_remover = str.maketrans('', '', punctuation) return (text .translate(punctuation_remover) .lower() .split()) def word_count(text: str) -> Counter: return...
26.619048
75
0.611807
66
559
5.075758
0.469697
0.062687
0.077612
0
0
0
0
0
0
0
0
0.007194
0.254025
559
20
76
27.95
0.796163
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e55d3c0fba558a1ef5b5a4b746826457a35356f
134
py
Python
ABC/183/b.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/183/b.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/183/b.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
def main(): SX, SY, GX, GY = map(int, input().split()) print((SY*GX+SX*GY) / (SY+GY)) if __name__ == "__main__": main()
16.75
46
0.522388
21
134
2.952381
0.619048
0.129032
0
0
0
0
0
0
0
0
0
0
0.231343
134
7
47
19.142857
0.601942
0
0
0
0
0
0.059701
0
0
0
0
0
0
1
0.2
true
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1e62bc494f77a85f5037e01ca7395979d040a2eb
572
py
Python
lambda/states/face.py
athewsey/liveness-detection
2bf0ddbf817f760405833e6c278c0c11c1d3637d
[ "MIT-0" ]
58
2020-10-17T01:02:42.000Z
2022-03-22T20:29:03.000Z
lambda/states/face.py
athewsey/liveness-detection
2bf0ddbf817f760405833e6c278c0c11c1d3637d
[ "MIT-0" ]
6
2021-08-13T09:07:43.000Z
2021-12-09T17:41:50.000Z
lambda/states/face.py
athewsey/liveness-detection
2bf0ddbf817f760405833e6c278c0c11c1d3637d
[ "MIT-0" ]
25
2020-10-17T14:59:56.000Z
2022-03-18T05:27:01.000Z
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 from states.area import AreaState class FaceState: MAXIMUM_DURATION_IN_SECONDS = None def __init__(self, challenge): self.challenge = challenge def process(self, frame): success = Fals...
22.88
68
0.673077
71
572
5.239437
0.647887
0.056452
0.053763
0.075269
0.102151
0
0
0
0
0
0
0.004662
0.25
572
24
69
23.833333
0.862471
0.16958
0
0
0
0
0.023305
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e67897d4e9b63ad48541e46f7e09f4a4453676f
44
py
Python
controller/src/templates/gunicorn.conf.py
ssingh484/RTES_Project
545b595db9c62002623b4a5db9e43097c9fe21a8
[ "Apache-2.0" ]
null
null
null
controller/src/templates/gunicorn.conf.py
ssingh484/RTES_Project
545b595db9c62002623b4a5db9e43097c9fe21a8
[ "Apache-2.0" ]
null
null
null
controller/src/templates/gunicorn.conf.py
ssingh484/RTES_Project
545b595db9c62002623b4a5db9e43097c9fe21a8
[ "Apache-2.0" ]
null
null
null
bind = "{{ bind }}" workers = {{ workers }}
14.666667
23
0.5
4
44
5.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.227273
44
2
24
22
0.647059
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e6b430f81884173094d1d730a706e35c9f51f4d
3,850
py
Python
ChoreographyHive/choreography/paths/AirShowPath.py
jeroen11dijk/Choreography
aadafb86fb86445489afed4535c852801097168e
[ "MIT" ]
null
null
null
ChoreographyHive/choreography/paths/AirShowPath.py
jeroen11dijk/Choreography
aadafb86fb86445489afed4535c852801097168e
[ "MIT" ]
null
null
null
ChoreographyHive/choreography/paths/AirShowPath.py
jeroen11dijk/Choreography
aadafb86fb86445489afed4535c852801097168e
[ "MIT" ]
null
null
null
from rlutilities.linear_algebra import vec3 from choreography.utils.bezier import BezierPath zero = BezierPath([ vec3(0, 5200, 1600), vec3(0, 3781, 1783), vec3(0, 1998, 1624), vec3(-882, -58, 1500), vec3(748, -374, 1871), vec3(838, 1609, 823), vec3(-230, 3167, 550), vec3(0, 4800, 300), ...
24.83871
65
0.55039
527
3,850
4.017078
0.373814
0.207841
0.062352
0.022674
0.480869
0.46103
0.46103
0.46103
0.46103
0.46103
0
0.509891
0.238442
3,850
154
66
25
0.212142
0
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.006993
false
0
0.013986
0.006993
0.027972
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e823531a29729574f24fa3ce5830f22099dd3f1
1,078
py
Python
plot.py
nissmar/VSA
26fdfc51a83be0aacad4cc0a089c005a24fdf1e8
[ "MIT" ]
1
2021-05-03T09:31:08.000Z
2021-05-03T09:31:08.000Z
plot.py
nissmar/VSA
26fdfc51a83be0aacad4cc0a089c005a24fdf1e8
[ "MIT" ]
null
null
null
plot.py
nissmar/VSA
26fdfc51a83be0aacad4cc0a089c005a24fdf1e8
[ "MIT" ]
1
2022-03-30T12:53:14.000Z
2022-03-30T12:53:14.000Z
import matplotlib.pyplot as plt L="""0.814047 0.611567 0.527518 0.47944 0.462286 0.444297 0.425644 0.420103 0.416443 0.412252 0.40803 0.404136 0.421538 0.413485 0.411423 0.409107 0.402446 0.400531 0.399446 0.398468 0.397978 0.39706 0.396172 0.389989 0.391551 0.38777 0.390937 0.387583 0.388577 0.386944 0.386782 0.3880...
11.229167
51
0.719852
217
1,078
3.576037
0.483871
0.030928
0.030928
0.03866
0.082474
0
0
0
0
0
0
0.54709
0.123377
1,078
96
52
11.229167
0.274074
0.124304
0
0.024096
0
0
0.760893
0
0
0
0
0
0
1
0
false
0
0.012048
0
0.012048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e88aa371fa7e835714fb2047aeb62aed8aa8116
559
py
Python
FLB_Makefile.py
hiroog/RemoteConsole2
7a171f1a6682fa52df34cd76dc83d1280735e6b8
[ "MIT" ]
null
null
null
FLB_Makefile.py
hiroog/RemoteConsole2
7a171f1a6682fa52df34cd76dc83d1280735e6b8
[ "MIT" ]
null
null
null
FLB_Makefile.py
hiroog/RemoteConsole2
7a171f1a6682fa52df34cd76dc83d1280735e6b8
[ "MIT" ]
null
null
null
# vim:ts=4 sw=4 et: sys.path.append( os.path.join( tool.getEnv( 'UALIB' ), '../FileListLib' ) ) def func_nop( task ): pass tool.addScriptTask( genv, 'build', func_nop ) def func_copyto3( task ): import FileTools cmd= [ '', '-i', '.fl_copyto3', '--verbose', '--copy', '../re3/RemoteConsole2' ] File...
20.703704
85
0.615385
70
559
4.8
0.485714
0.0625
0.1875
0.130952
0.410714
0.410714
0.190476
0
0
0
0
0.019912
0.191413
559
26
86
21.5
0.723451
0.030411
0
0.285714
0
0
0.191095
0.038961
0
0
0
0
0
1
0.214286
false
0.071429
0.142857
0
0.357143
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1ea43ede858f9e28f033210c1134f9aa1dd8611e
853
py
Python
menus/IBook/Chapter7 Binary-Image/__init__.py
Image-Py/IBook
37a726bb83ea2bb16068a61ad8210b873ea5e1c5
[ "BSD-3-Clause" ]
2
2018-05-30T10:06:36.000Z
2018-05-31T02:01:53.000Z
menus/IBook/Chapter7 Binary-Image/__init__.py
Image-Py/IBook
37a726bb83ea2bb16068a61ad8210b873ea5e1c5
[ "BSD-3-Clause" ]
null
null
null
menus/IBook/Chapter7 Binary-Image/__init__.py
Image-Py/IBook
37a726bb83ea2bb16068a61ad8210b873ea5e1c5
[ "BSD-3-Clause" ]
null
null
null
catlog = ['Show Filter On Binary', 'Show Smooth The Rec', 'Show Smooth The Gear', 'Show Dog The Gear', 'Show QRCode Art', '-', 'Show Dilation', 'Show Erosion', 'Show Open And Close', '-', 'Show Fill Holes', 'Show Outline', 'Show ConvexHull', 'Show Skeleton', '-', 'Show Distance', 'Show Max Circle', 'Show Medial Axis'...
94.777778
119
0.68347
118
853
4.940678
0.466102
0.082333
0.044597
0
0
0
0
0
0
0
0
0
0.152403
853
8
120
106.625
0.806362
0
0
0
0
0
0.776084
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
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ed57fba4649e6199f7412bf213f93876be1e658
152
py
Python
scripts/field/momiji_Enter.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/field/momiji_Enter.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/field/momiji_Enter.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Map ID :: 807000000 # Momijigaoka : Momijigaoka sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(False, True, False, False)
25.333333
52
0.782895
17
152
7
0.764706
0
0
0
0
0
0
0
0
0
0
0.074627
0.118421
152
6
52
25.333333
0.813433
0.427632
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1ee211337dfa6678f9073ab88e493f52479f5739
723
py
Python
for_turtle.py
juhyun0/python_turtle2
59943c03a07a71aa33ab7124bca56f6b880b6883
[ "Unlicense" ]
null
null
null
for_turtle.py
juhyun0/python_turtle2
59943c03a07a71aa33ab7124bca56f6b880b6883
[ "Unlicense" ]
null
null
null
for_turtle.py
juhyun0/python_turtle2
59943c03a07a71aa33ab7124bca56f6b880b6883
[ "Unlicense" ]
null
null
null
#2부터 100사이의 모든 짝수 출력 x=2 for x in range(100): x=x+1 if x%2 == 0: print(x,end="") #눈모양 color=["red","blue","green","yellow","black","pink"] x=1 for x in range(6): t.forward(100) t.forward(-30) t.left(60) t.forward(30) t.forward(-30) t.right(120) t.forward(30) t.forward(-30) t.goto(0,0) t.pencolor(c...
10.183099
52
0.603043
160
723
2.725
0.2625
0.275229
0.201835
0.220183
0.440367
0.401376
0.341743
0.245413
0.245413
0.245413
0
0.157454
0.174274
723
70
53
10.328571
0.572864
0.030429
0
0.7
0
0
0.038905
0
0
0
0
0
0
1
0
false
0
0
0
0
0.02
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ee3abf94bfd7d5ad7b2d15df4ff7754d6f798df
165
py
Python
ic/canister.py
neeboo/ic-py
41b3bd7b961a259fddc732ba95bc5136698ca9a4
[ "MIT" ]
null
null
null
ic/canister.py
neeboo/ic-py
41b3bd7b961a259fddc732ba95bc5136698ca9a4
[ "MIT" ]
null
null
null
ic/canister.py
neeboo/ic-py
41b3bd7b961a259fddc732ba95bc5136698ca9a4
[ "MIT" ]
null
null
null
class Canister: def __init__(self, agent, canister_id, candid): self.agent = agent self.canister_id = canister_id self.candid = candid
20.625
51
0.642424
20
165
4.95
0.4
0.30303
0
0
0
0
0
0
0
0
0
0
0.278788
165
7
52
23.571429
0.831933
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94c9ec835f06b6c1093c6e46137e39d292af3dc0
9,903
py
Python
run.py
BLAIRCARSON/PasswordLocker
46bdaa695cc851d5258fe80cf67f386068090d15
[ "MIT" ]
null
null
null
run.py
BLAIRCARSON/PasswordLocker
46bdaa695cc851d5258fe80cf67f386068090d15
[ "MIT" ]
null
null
null
run.py
BLAIRCARSON/PasswordLocker
46bdaa695cc851d5258fe80cf67f386068090d15
[ "MIT" ]
null
null
null
from password import User, Credential import random import string import getpass def create_user(name, user_password): """ Parameters ---------- name user_password Returns ------- """ new_user = User(name, user_password) return new_user def generate_password(user): """ ...
30.192073
105
0.520246
965
9,903
5.178238
0.14715
0.090054
0.044026
0.048029
0.71723
0.69962
0.690214
0.670002
0.670002
0.647989
0
0.004831
0.372917
9,903
328
106
30.192073
0.799839
0.069878
0
0.754098
0
0.005464
0.319159
0.037208
0
0
0
0
0
1
0.071038
false
0.20765
0.021858
0
0.136612
0.349727
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
94d119e5a6cbfc13e8018f302946c437aafa78c2
411
py
Python
oneops/apps/user/views.py
sunsongpy/oneops
a98e0d2e8fd80f9a05abf6fc446ca9d4fdfeef90
[ "MIT" ]
null
null
null
oneops/apps/user/views.py
sunsongpy/oneops
a98e0d2e8fd80f9a05abf6fc446ca9d4fdfeef90
[ "MIT" ]
null
null
null
oneops/apps/user/views.py
sunsongpy/oneops
a98e0d2e8fd80f9a05abf6fc446ca9d4fdfeef90
[ "MIT" ]
null
null
null
from rest_framework.viewsets import ModelViewSet from .serializers import * from .models import * class UserApi(ModelViewSet): queryset = User.objects.all() serializer_class = UserSerializer class MenuApi(ModelViewSet): queryset = Menu.objects.all() serializer_class = MenuSerializer class RoleApi...
17.869565
48
0.751825
42
411
7.261905
0.52381
0.196721
0.196721
0.245902
0
0
0
0
0
0
0
0
0.170316
411
22
49
18.681818
0.894428
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
94d139fe5061d9c558934f34e7a917aa82d07cb6
13,509
py
Python
mykit/vasp/pv_calc_utils.py
minyez/mykit
911413120c081be2cfcaef06d62dc40b2abd2747
[ "MIT" ]
4
2019-01-02T09:17:54.000Z
2019-12-26T07:15:59.000Z
mykit/vasp/pv_calc_utils.py
minyez/mykit
911413120c081be2cfcaef06d62dc40b2abd2747
[ "MIT" ]
6
2019-03-06T03:16:12.000Z
2019-03-14T14:36:01.000Z
mykit/vasp/pv_calc_utils.py
minyez/mykit
911413120c081be2cfcaef06d62dc40b2abd2747
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 # ==================================================== # File Name : # Creation Date : 2017-05-01 # Last Modified : Thu 30 Nov 2017 09:15:02 AM CST # Created By : Min-Ye Zhang # Contact : stevezhang@pku.edu.cn # Purpose : This script offers utilities for initiali...
35.456693
236
0.508328
1,724
13,509
3.865429
0.233759
0.036014
0.012605
0.013505
0.127701
0.106543
0.070228
0.070228
0.04892
0.02581
0
0.017529
0.298986
13,509
380
237
35.55
0.686167
0.923458
0
0
0
0
0.019908
0
0
0
0
0.002632
0
1
0.2
false
0
0.8
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
94e36f7460d20b2c4b793642142810e7a38bbdba
27
py
Python
changegen/__init__.py
trailbehind/changegen
ba1ed0f4165b5c64a146e2a3bc1cd2030d692f4d
[ "MIT" ]
3
2021-01-30T13:00:33.000Z
2021-02-03T21:32:13.000Z
changegen/__init__.py
trailbehind/changegen
ba1ed0f4165b5c64a146e2a3bc1cd2030d692f4d
[ "MIT" ]
9
2021-04-26T16:42:34.000Z
2021-11-01T20:55:02.000Z
changegen/__init__.py
trailbehind/changegen
ba1ed0f4165b5c64a146e2a3bc1cd2030d692f4d
[ "MIT" ]
null
null
null
PACKAGE_NAME = "changegen"
13.5
26
0.777778
3
27
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.833333
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94e97d41174e2cd662c74e54d6327f9e739bc7ca
62
py
Python
baekjoon/10925.py
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
1
2019-07-15T00:27:37.000Z
2019-07-15T00:27:37.000Z
baekjoon/10925.py
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
null
null
null
baekjoon/10925.py
3-24/Competitive-Programming
8cb3b85bf89db2c173cb0b136de27f2983f335fc
[ "MIT" ]
null
null
null
def binary_search(list,e): left = 0 right = len(list)
15.5
26
0.612903
10
62
3.7
0.9
0
0
0
0
0
0
0
0
0
0
0.021739
0.258065
62
3
27
20.666667
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
94f2beb8526751b8266c6d68056416b44bfaf116
312
py
Python
src/diamondquest/eventmanager/event.py
mousepawgames/diamondquest
0f1488cffceee04766c3d35b42806c5d54a54d1d
[ "BSD-3-Clause" ]
2
2020-06-09T17:44:55.000Z
2021-05-27T02:01:52.000Z
src/diamondquest/eventmanager/event.py
mousepawgames/diamondquest
0f1488cffceee04766c3d35b42806c5d54a54d1d
[ "BSD-3-Clause" ]
10
2021-05-16T01:57:53.000Z
2021-05-16T02:44:30.000Z
src/diamondquest/eventmanager/event.py
mousepawgames/diamondquest
0f1488cffceee04766c3d35b42806c5d54a54d1d
[ "BSD-3-Clause" ]
4
2020-07-20T13:09:26.000Z
2021-05-13T21:07:57.000Z
class Event: """ Superclass representing any sort of event that can be managed by the EventManager """ def __init__(self): self.name = "Generic Event" class TickEvent(Event): """ An event to tick the game state """ def __init__(self): self.name = "Tick Event"
18.352941
85
0.608974
39
312
4.666667
0.641026
0.076923
0.120879
0.164835
0.208791
0
0
0
0
0
0
0
0.294872
312
16
86
19.5
0.827273
0.362179
0
0.333333
0
0
0.136905
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
1
0
0
3
bf5234b6e4ba40c99ff642e269a06cbd9e0d4b27
1,457
py
Python
libxlsxwriter/test/functional/test_print_area.py
White-116/xlsxd
b7f467cda76e93dd17bc7aaa2879e6c112ce4cf9
[ "BSD-3-Clause" ]
7
2019-07-24T14:25:45.000Z
2022-03-06T04:29:39.000Z
libxlsxwriter/test/functional/test_print_area.py
White-116/xlsxd
b7f467cda76e93dd17bc7aaa2879e6c112ce4cf9
[ "BSD-3-Clause" ]
14
2019-07-03T11:03:05.000Z
2022-01-18T13:55:13.000Z
libxlsxwriter/test/functional/test_print_area.py
White-116/xlsxd
b7f467cda76e93dd17bc7aaa2879e6c112ce4cf9
[ "BSD-3-Clause" ]
3
2019-08-06T21:35:29.000Z
2021-07-08T08:11:34.000Z
############################################################################### # # Tests for libxlsxwriter. # # Copyright 2014-2019, John McNamara, jmcnamara@cpan.org # import base_test_class class TestCompareXLSXFiles(base_test_class.XLSXBaseTest): """ Test file created with libxlsxwriter against a file cre...
33.883721
79
0.654084
172
1,457
5.232558
0.25
0.14
0.093333
0.171111
0.598889
0.598889
0.598889
0.598889
0.598889
0.598889
0
0.035391
0.166095
1,457
42
80
34.690476
0.70535
0.102951
0
0.304348
0
0
0.307374
0.139188
0
0
0
0
0
1
0.304348
false
0
0.043478
0
0.391304
0.608696
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
bf544538b352afe794a216bc450446ddcc470b46
1,703
py
Python
cloudcafe/openstackcli/cindercli/config.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/openstackcli/cindercli/config.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/openstackcli/cindercli/config.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
1
2020-04-13T17:44:28.000Z
2020-04-13T17:44:28.000Z
""" Copyright 2013 Rackspace 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 dist...
27.918033
78
0.711685
226
1,703
5.216814
0.464602
0.07464
0.077184
0.072095
0.094996
0.047498
0
0
0
0
0
0.005926
0.207281
1,703
60
79
28.383333
0.867407
0.402231
0
0.285714
0
0
0.151329
0.05317
0
0
0
0
0
1
0.285714
false
0
0.071429
0.178571
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf6506dcdbec0ca8d6880e7378130af27597c08d
272
py
Python
nixpkgs_review/cli/merge.py
andersk/nixpkgs-review
662fc7d680f2cd9c65e509163ffdd9ff7746e009
[ "MIT" ]
101
2019-12-23T15:53:27.000Z
2022-03-30T16:44:59.000Z
nixpkgs_review/cli/merge.py
andersk/nixpkgs-review
662fc7d680f2cd9c65e509163ffdd9ff7746e009
[ "MIT" ]
126
2019-12-07T16:36:00.000Z
2022-03-27T06:53:19.000Z
nixpkgs_review/cli/merge.py
andersk/nixpkgs-review
662fc7d680f2cd9c65e509163ffdd9ff7746e009
[ "MIT" ]
36
2019-12-21T16:08:02.000Z
2022-02-26T09:18:35.000Z
import argparse from ..github import GithubClient from .utils import ensure_github_token, get_current_pr def merge_command(args: argparse.Namespace) -> None: github_client = GithubClient(ensure_github_token(args.token)) github_client.merge_pr(get_current_pr())
27.2
65
0.805147
37
272
5.594595
0.486486
0.115942
0.164251
0
0
0
0
0
0
0
0
0
0.113971
272
9
66
30.222222
0.858921
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bf663100fb6a180c1ef245f6566794417d895ce7
3,247
py
Python
commands.py
adisuciu/AeB-Bot
a186f437a6f36eb02cdf6a23be5ec66f966e17ff
[ "MIT" ]
null
null
null
commands.py
adisuciu/AeB-Bot
a186f437a6f36eb02cdf6a23be5ec66f966e17ff
[ "MIT" ]
5
2020-03-31T08:00:10.000Z
2022-03-12T00:01:15.000Z
commands.py
adisuciu/AeB-Bot
a186f437a6f36eb02cdf6a23be5ec66f966e17ff
[ "MIT" ]
1
2019-10-07T12:01:35.000Z
2019-10-07T12:01:35.000Z
import settings import common import random import links import imgur_api import meme import db import os def about(request=0): return settings.about_message # noinspection PyUnusedLocal def uptime(request=0): d = common.get_uptime() return "Uptime: %d days, %02d:%02d:%02d " % (d.day - 1, d.hour, d.minut...
30.345794
128
0.664306
456
3,247
4.635965
0.309211
0.060549
0.086093
0.034059
0.124409
0.070483
0.030274
0
0
0
0
0.013013
0.218971
3,247
106
129
30.632075
0.820584
0.052972
0
0
0
0.055556
0.323664
0
0
0
0
0
0
1
0.236111
false
0.013889
0.111111
0.180556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf9fdd62f126197fb334ab5da3f0828bd0358bad
216
py
Python
examples/sandboxerlib/sandboxCollectd.py
Jumpscale/jumpscale_examples7
7d7be2401489a0c5465950c66bbdbb266fe57fe7
[ "Apache-2.0" ]
1
2015-10-26T10:38:37.000Z
2015-10-26T10:38:37.000Z
examples/sandboxerlib/sandboxCollectd.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
examples/sandboxerlib/sandboxCollectd.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
from JumpScale import j import JumpScale.lib.sandboxer j.application.start("jsexamples:libsandboxer") j.tools.sandboxer.copyLibsTo("/tmp/collectd/bin","/tmp/collectd/libs",recursive=False) j.application.stop()
18
86
0.787037
28
216
6.071429
0.678571
0.141176
0
0
0
0
0
0
0
0
0
0
0.069444
216
11
87
19.636364
0.845771
0
0
0
0
0
0.268519
0.106481
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
bfb84910858ac0ab553874d2d4b57f2342b500e7
302
py
Python
backend/app/database/Circuit.py
henriqueup/Photonic-Circuit-Simulator
4e08174c2644a59769c54c8f36c9e835e25a9dd6
[ "MIT" ]
1
2021-07-10T13:10:23.000Z
2021-07-10T13:10:23.000Z
backend/app/database/Circuit.py
Arthur-agl/Photonic-Circuit-Simulator
6c6acdf1ba4d0a7d616f07395323e8e3cf8d127d
[ "MIT" ]
null
null
null
backend/app/database/Circuit.py
Arthur-agl/Photonic-Circuit-Simulator
6c6acdf1ba4d0a7d616f07395323e8e3cf8d127d
[ "MIT" ]
1
2021-06-11T03:34:01.000Z
2021-06-11T03:34:01.000Z
from app.database.db import db import mongoengine_goodjson as gj from app.database.Component import Component class Circuit(gj.Document): id = db.ObjectIdField(primary_key=True) label = db.StringField(required=True, unique=True) components = db.ListField(db.LazyReferenceField(Component))
37.75
61
0.788079
40
302
5.9
0.625
0.059322
0.127119
0
0
0
0
0
0
0
0
0
0.122517
302
8
61
37.75
0.890566
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bfbcdfba197a8649629b56b5a7f8935bd3570c93
22
py
Python
pyreisejl/__init__.py
danielolsen/REISE.jl
4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2
[ "MIT" ]
15
2021-03-02T11:54:51.000Z
2022-02-01T05:52:33.000Z
pyreisejl/__init__.py
danielolsen/REISE.jl
4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2
[ "MIT" ]
51
2021-01-23T00:53:54.000Z
2022-03-28T22:05:16.000Z
pyreisejl/__init__.py
danielolsen/REISE.jl
4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2
[ "MIT" ]
14
2021-02-01T21:19:34.000Z
2022-02-11T13:15:10.000Z
__all__ = ["utility"]
11
21
0.636364
2
22
5
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.526316
0
0
0
0
0
0.318182
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bfbe55c21655d169977537a9f6468d9cca48e2de
2,301
py
Python
release/stubs.min/System/Net/__init___parts/DnsEndPoint.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/DnsEndPoint.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/DnsEndPoint.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class DnsEndPoint(EndPoint): """ Represents a network endpoint as a host name or a string representation of an IP address and a port number. DnsEndPoint(host: str,port: int) DnsEndPoint(host: str,port: int,addressFamily: AddressFamily) """ def Equals(self, comparand): """ Equals...
21.305556
109
0.626684
277
2,301
5.119134
0.263538
0.06347
0.112835
0.039492
0.419605
0.308181
0.261636
0.17842
0.126939
0.126939
0
0
0.273794
2,301
107
110
21.504673
0.848594
0.465884
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.315789
false
0.315789
0
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
bfc43119e090464efd43490a7307943b2a2cf6a2
231
py
Python
python/100 exercicios em Python/exercicios/python002.py
AlphaLawless/Exercises
ccfd3fe20cb8cb695d405130591877c326a39268
[ "MIT" ]
null
null
null
python/100 exercicios em Python/exercicios/python002.py
AlphaLawless/Exercises
ccfd3fe20cb8cb695d405130591877c326a39268
[ "MIT" ]
null
null
null
python/100 exercicios em Python/exercicios/python002.py
AlphaLawless/Exercises
ccfd3fe20cb8cb695d405130591877c326a39268
[ "MIT" ]
null
null
null
nome = input('Qual é o seu nome? ') print('Muito prazer,', nome, 'e boas vindas ao VSCode!') # um jeito mais fácil de fazer isso é esse => nome = input('Qual é o seu nome? ') print('Muito prazer em te conhecer {}!'.format(nome))
28.875
56
0.662338
40
231
3.825
0.65
0.117647
0.169935
0.183007
0.496732
0.496732
0.496732
0.496732
0.496732
0.496732
0
0
0.186147
231
7
57
33
0.81383
0.186147
0
0.5
0
0
0.569892
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
449bb96c644e6671fdbc3de1651906fc2e8945d7
79
py
Python
lang/py/cookbook/v2/source/cb2_6_4_sol_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_4_sol_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_4_sol_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
import __builtin__ pylookup = Chainmap(locals(), globals(), vars(__builtin__))
26.333333
59
0.772152
8
79
6.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.088608
79
2
60
39.5
0.736111
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
449e351fa41c9de791216e29cabe0063cc1dd57f
402
py
Python
forum/models.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
1
2018-03-21T07:51:36.000Z
2018-03-21T07:51:36.000Z
forum/models.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
null
null
null
forum/models.py
asmaasalih/my_project
89183d7a2578fa302e94ea29570ab527e9ca47b5
[ "MIT" ]
null
null
null
class Member: def __init__(self, name , age): self.name = name self.age=age self.id=0 def __str__(self): return "name:{} ,age: {},id:{}".format(self.name,self.age,self.id) class Post: def __init__(self , title , content): self.title = title self.content = content self.id=0 def __str__(self): re...
18.272727
76
0.646766
60
402
4.066667
0.266667
0.098361
0.090164
0.081967
0.188525
0.188525
0.188525
0
0
0
0
0.006116
0.186567
402
22
77
18.272727
0.740061
0
0
0.285714
0
0
0.136476
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
449fa887a684384ef329ead5fb5fb8f32c9be09e
3,603
py
Python
tests/test_arrays.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
tests/test_arrays.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
tests/test_arrays.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
import pydashlite.arrays as pdl from . import fixtures from .fixtures import parametrize @parametrize('case,expected', [ (([1, 2, 3, 2, 1, 5, 6, 5, 5, 5],), [1, 2, 5]), ((['A', 'b', 'C', 'a', 'B', 'c'], lambda letter: letter.lower()), ['a', 'B', 'c']) ]) def test_duplicates_hash(case, expected): assert...
27.090226
87
0.485151
538
3,603
3.20632
0.107807
0.292174
0.052174
0.170435
0.62087
0.504348
0.492174
0.48
0.434203
0.39942
0
0.107006
0.203719
3,603
132
88
27.295455
0.494249
0
0
0.39604
0
0
0.068592
0
0
0
0
0
0.138614
1
0.138614
false
0
0.029703
0
0.168317
0
0
0
0
null
1
0
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
0
0
0
0
0
0
0
0
0
0
0
3
44a33aa08ee8665f898b66318c328999e2afb829
281
py
Python
mmdet/datasets/loader/__init__.py
apulis/lvis
b7bc8e089d7e3fd1c4f8c8af0ade06f80c081275
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/loader/__init__.py
apulis/lvis
b7bc8e089d7e3fd1c4f8c8af0ade06f80c081275
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/loader/__init__.py
apulis/lvis
b7bc8e089d7e3fd1c4f8c8af0ade06f80c081275
[ "Apache-2.0" ]
null
null
null
from .build_loader import build_dataloader from .sampler import (DistributedGroupSampler, DistributedRepeatedRandomSampler, GroupSampler) __all__ = [ 'GroupSampler', 'DistributedGroupSampler', 'build_dataloader', 'DistributedRepeatedRandomSampler' ]
31.222222
69
0.754448
18
281
11.388889
0.555556
0.146341
0
0
0
0
0
0
0
0
0
0
0.174377
281
8
70
35.125
0.883621
0
0
0
0
0
0.295374
0.19573
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44c059bea5c6e1ecfd025d2b66706c5398c35d72
187
py
Python
curso-python/CursoemVideo/desafio047.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
curso-python/CursoemVideo/desafio047.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
curso-python/CursoemVideo/desafio047.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
# Crie um programa que mostre na tela todos os números que forem pares entre 1 e 50. #for c in range(2, 51, 2): # print(c) # plus for c in range(2, 51, 2): print(c , end= ' ')
17
84
0.609626
37
187
3.081081
0.675676
0.070175
0.105263
0.192982
0.368421
0.368421
0.368421
0.368421
0.368421
0
0
0.080292
0.26738
187
10
85
18.7
0.751825
0.663102
0
0
0
0
0.017241
0
0
0
0
0.1
0
1
0
false
0
0
0
0
0.5
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
1
0
0
0
0
0
0
0
0
1
0
3
44df8f7908c39a62b0a8de787ba55cd7355850cd
2,484
py
Python
Models/TubeThermal.py
AndrewFalkowski/SODIS_SIM
4d5da3e0872ee747d399d66fdee1633e7d2b8ab1
[ "MIT" ]
null
null
null
Models/TubeThermal.py
AndrewFalkowski/SODIS_SIM
4d5da3e0872ee747d399d66fdee1633e7d2b8ab1
[ "MIT" ]
null
null
null
Models/TubeThermal.py
AndrewFalkowski/SODIS_SIM
4d5da3e0872ee747d399d66fdee1633e7d2b8ab1
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from Utils.utils import * class TubeThermal: def __init__(self, TP_len, v_len, n_tube_units, mod_width, D_ri=66E-3, D_ro=70E-3, D_ci=109E-3, D_co=115E-3, T_am=298, Irr=1000, V=0.025, T_in=298, Re=156, Pr=5, Wa=0.5, C=26): self.model...
2,484
2,484
0.502818
387
2,484
3.015504
0.330749
0.051414
0.010283
0.010283
0.046272
0
0
0
0
0
0
0.054409
0.35628
2,484
1
2,484
2,484
0.675422
0.267311
0
0
0
0
0.086689
0
0
0
0
0
0
1
0.035088
false
0
0.052632
0
0.122807
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44f042b7cae6e42eb4e63f4db79d27214b84d320
3,437
py
Python
aacharts/aaoptionsmodel/AAChart.py
AAChartModel/AACharts-PyQt
7c1e4aea4a37c77f82d30507c320a38a76d8dbce
[ "MIT" ]
null
null
null
aacharts/aaoptionsmodel/AAChart.py
AAChartModel/AACharts-PyQt
7c1e4aea4a37c77f82d30507c320a38a76d8dbce
[ "MIT" ]
null
null
null
aacharts/aaoptionsmodel/AAChart.py
AAChartModel/AACharts-PyQt
7c1e4aea4a37c77f82d30507c320a38a76d8dbce
[ "MIT" ]
null
null
null
from aacharts.aachartcreator.AAChartModel import AAChartType, AAChartZoomType from typing import List from aacharts.aaoptionsmodel.AAAnimation import AAAnimation from aacharts.aaoptionsmodel.AACredits import AAPosition from aacharts.aaoptionsmodel.AAScrollablePlotArea import AAScrollablePlotArea class AAResetZoomButto...
20.217647
77
0.609543
331
3,437
6.347432
0.238671
0.091385
0.146597
0.161828
0
0
0
0
0
0
0
0
0.325866
3,437
170
78
20.217647
0.903323
0.012802
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.04902
0.009804
0.77451
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
44f48ea60bb6732e5634cc78b649d07a2be6413c
187
py
Python
challenges/vulnclasses/denialofservice/grader/grader.py
NUSGreyhats/CTF101-Systems-Security-Fall2015
fd4f37a963df4498de176c062201097f1ae8a96d
[ "MIT" ]
3
2016-01-12T17:43:17.000Z
2021-01-05T16:35:23.000Z
challenges/vulnclasses/denialofservice/grader/grader.py
NUSGreyhats/CTF101-Systems-Security-Fall2015
fd4f37a963df4498de176c062201097f1ae8a96d
[ "MIT" ]
null
null
null
challenges/vulnclasses/denialofservice/grader/grader.py
NUSGreyhats/CTF101-Systems-Security-Fall2015
fd4f37a963df4498de176c062201097f1ae8a96d
[ "MIT" ]
3
2016-08-20T14:15:05.000Z
2017-09-28T07:23:29.000Z
def grade(arg, key): if "flag{crash}".lower() == key.lower(): return True, "Denial of service attacks are boring." else: return False, "Try crashing the program."
31.166667
60
0.614973
25
187
4.6
0.88
0
0
0
0
0
0
0
0
0
0
0
0.245989
187
5
61
37.4
0.815603
0
0
0
0
0
0.390374
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
44fee14260998167b43d3f90a371d49d97546021
247
py
Python
m1a010/d034.py
walace100/python
f565770eddc6f20d57d91ff3c48f55e7f2c3fee8
[ "MIT" ]
null
null
null
m1a010/d034.py
walace100/python
f565770eddc6f20d57d91ff3c48f55e7f2c3fee8
[ "MIT" ]
null
null
null
m1a010/d034.py
walace100/python
f565770eddc6f20d57d91ff3c48f55e7f2c3fee8
[ "MIT" ]
null
null
null
salario = float(input('Qual é o salario do funcionário? R$')) if salario <= 1250: novo = salario + (salario * .15) else: novo = salario + (salario * .10) print('Quem ganhava R${:.2f} passa a ganhar R${:.2f} agora.'.format(salario, novo))
35.285714
84
0.635628
36
247
4.361111
0.666667
0.140127
0.229299
0
0
0
0
0
0
0
0
0.049751
0.186235
247
6
85
41.166667
0.731343
0
0
0
0
0
0.352227
0
0
0
0
0
0
1
0
false
0.166667
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
78001ee5d511015cda833d14a29b234ab7490ad1
1,144
py
Python
lang/py/pylib/01/re/re_email_verbose_withname.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/01/re/re_email_verbose_withname.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/01/re/re_email_verbose_withname.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:UTF-8 -*- import re address = re.compile(''' ((?P<name> ([\w.,]+\s+)*[\w.,]+) \s* < # < 和名字同时出现 )? #the entire name is optional #the address itself (?P<email> [\w\d.+-]+ #username @ ([\...
24.869565
57
0.522727
136
1,144
4.397059
0.419118
0.135452
0.160535
0.190635
0.250836
0.232441
0.145485
0
0
0
0
0.001252
0.301573
1,144
45
58
25.422222
0.747184
0.035839
0
0
0
0
0.635786
0.2198
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.131579
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
780989c2b278c5bdcb9d2cb387f33a32636b8aaa
324
py
Python
load_test/common/conf.py
sohailchd/RobotAndLocust
9ae953e293e12129db761b553691da935f6db89f
[ "MIT" ]
null
null
null
load_test/common/conf.py
sohailchd/RobotAndLocust
9ae953e293e12129db761b553691da935f6db89f
[ "MIT" ]
null
null
null
load_test/common/conf.py
sohailchd/RobotAndLocust
9ae953e293e12129db761b553691da935f6db89f
[ "MIT" ]
null
null
null
import os root_dir = os.getcwd() base_url = "https://www.football-data.org/" api_quickstart_url = "https://www.football-data.org/documentation/quickstart" api_url = "https://www.football-data.org/documentation/api" login_url = "https://www.football-data.org/client/login" user_email = "email_here" auth_token = "token_h...
36
77
0.765432
49
324
4.857143
0.44898
0.134454
0.184874
0.319328
0.546218
0.546218
0.327731
0
0
0
0
0
0.070988
324
9
78
36
0.790698
0
0
0
0
0
0.593846
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
781831f2a45e72bc07d28755859110e3f1135548
144
py
Python
setup.py
RyanSquared/weeaux-python
1a3b8f8231a067ceb31ba191b3f76ac33d276b70
[ "MIT" ]
null
null
null
setup.py
RyanSquared/weeaux-python
1a3b8f8231a067ceb31ba191b3f76ac33d276b70
[ "MIT" ]
null
null
null
setup.py
RyanSquared/weeaux-python
1a3b8f8231a067ceb31ba191b3f76ac33d276b70
[ "MIT" ]
null
null
null
# pylint: disable=missing-docstring from distutils.core import setup setup( name='weeaux', version='0.1-dev', packages=['weeaux'])
18
35
0.680556
18
144
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.016667
0.166667
144
7
36
20.571429
0.8
0.229167
0
0
0
0
0.174312
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
781d3efbb032623a237e475177496cc3eaedeb29
270
py
Python
swingtime/__init__.py
dgabrielson/django-dept-swingtime
5ba61408c49fdc53a5f97857e9a7aa789017f726
[ "MIT" ]
null
null
null
swingtime/__init__.py
dgabrielson/django-dept-swingtime
5ba61408c49fdc53a5f97857e9a7aa789017f726
[ "MIT" ]
null
null
null
swingtime/__init__.py
dgabrielson/django-dept-swingtime
5ba61408c49fdc53a5f97857e9a7aa789017f726
[ "MIT" ]
null
null
null
############################################################### VERSION = '0.11.11' ############################################################### default_app_config = 'swingtime.apps.SwingtimeConfig' ###############################################################
27
63
0.214815
10
270
5.6
0.9
0
0
0
0
0
0
0
0
0
0
0.019455
0.048148
270
9
64
30
0.198444
0
0
0
0
0
0.45679
0.37037
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
78218afea97feda7f22a68f78c602f5b4b65af8f
450
py
Python
pylm_scripts/server.py
cperales/Ridge-ELM-framework
29acbcd2acc3db8133d059b2730e400c3f146ff4
[ "MIT" ]
null
null
null
pylm_scripts/server.py
cperales/Ridge-ELM-framework
29acbcd2acc3db8133d059b2730e400c3f146ff4
[ "MIT" ]
null
null
null
pylm_scripts/server.py
cperales/Ridge-ELM-framework
29acbcd2acc3db8133d059b2730e400c3f146ff4
[ "MIT" ]
null
null
null
from pylm.servers import Master import logging server = Master(name='matlab_pylm', log_level=logging.DEBUG, pull_address='tcp://127.0.0.1:5555', pub_address='tcp://127.0.0.1:5556', worker_pull_address='tcp://127.0.0.1:5557', worker_push_a...
28.125
59
0.562222
63
450
3.746032
0.47619
0.211864
0.275424
0.29661
0.372881
0.372881
0.169492
0
0
0
0
0.153374
0.275556
450
15
60
30
0.570552
0
0
0
0
0
0.264444
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
782673a76121d9815fcfdf50d35aba6f1188289c
345
py
Python
bann/b_frameworks/pytorch/p_truth/p_truth_fun_arg_types.py
arturOnRails/BANN
027af04349304941fb73c2ede502aca4b76f1ad1
[ "MIT" ]
null
null
null
bann/b_frameworks/pytorch/p_truth/p_truth_fun_arg_types.py
arturOnRails/BANN
027af04349304941fb73c2ede502aca4b76f1ad1
[ "MIT" ]
null
null
null
bann/b_frameworks/pytorch/p_truth/p_truth_fun_arg_types.py
arturOnRails/BANN
027af04349304941fb73c2ede502aca4b76f1ad1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """.. moduleauthor:: Artur Lissin""" from dataclasses import dataclass from typing import final import torch @final @dataclass class TruthFunArgCon: output: torch.Tensor target: torch.Tensor device: torch.device @final @dataclass class TruthFunNoDevCon: output: torch.Tensor ...
15.681818
36
0.718841
39
345
6.358974
0.512821
0.177419
0.153226
0.185484
0.274194
0.274194
0
0
0
0
0
0.003534
0.17971
345
21
37
16.428571
0.872792
0.153623
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.714286
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
0
0
0
1
0
0
3
782d299d1679362fb734244f88033be999343423
19,574
py
Python
cifar_net_search/syclop_cifar_cnn_convlstm.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
2
2021-04-28T13:33:45.000Z
2021-11-09T14:31:09.000Z
cifar_net_search/syclop_cifar_cnn_convlstm.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
null
null
null
cifar_net_search/syclop_cifar_cnn_convlstm.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
1
2021-03-07T13:25:59.000Z
2021-03-07T13:25:59.000Z
''' The follwing code runs a test lstm network on the CIFAR dataset I will explicitly write the networks here for ease of understanding epochs = 50, sample = 10, h = 256, lr = 1e-3 out.419516 ################# cnn_convlstm_True Validation Accuracy = [0.3677999973297119, 0.41780000925064087, 0.42480000853538513, 0...
84.37069
4,047
0.778379
2,233
19,574
6.749664
0.328706
0.025544
0.012938
0.026008
0.160629
0.138933
0.106024
0.087248
0.076035
0.076035
0
0.589155
0.098345
19,574
232
4,048
84.37069
0.264831
0.701645
0
0.210084
0
0
0.152102
0.07326
0
0
0
0
0
1
0.033613
false
0
0.109244
0
0.176471
0.092437
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
783760eb857c5bd58b940e7a15c59020700b4ca3
1,904
py
Python
app/resources/traceroute.py
alexandrecorso/actraceroute
3d4889fd769f5801a9bf3ef49cf063c0e4a6b060
[ "MIT" ]
null
null
null
app/resources/traceroute.py
alexandrecorso/actraceroute
3d4889fd769f5801a9bf3ef49cf063c0e4a6b060
[ "MIT" ]
1
2021-05-10T10:32:29.000Z
2021-05-10T10:32:29.000Z
app/resources/traceroute.py
alexandrecorso/actraceroute
3d4889fd769f5801a9bf3ef49cf063c0e4a6b060
[ "MIT" ]
null
null
null
from flask_restplus import Resource, Namespace from marshmallow import fields, Schema from tools import schemas from tools import utils traceroute_ns = Namespace('traceroute', description="Traceroute endpoints") class TracerouteDataSchema(Schema): is_valid = fields.Boolean(required=True) data = fields.List...
35.259259
80
0.708508
217
1,904
6.0553
0.235023
0.063927
0.182648
0.194825
0.636986
0.636986
0.583714
0.583714
0.583714
0.583714
0
0.007505
0.160189
1,904
53
81
35.924528
0.814259
0
0
0.410256
0
0
0.134524
0.076721
0
0
0
0
0
1
0.102564
false
0
0.102564
0
0.615385
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
783db9534c3f8fefa5bef8357b8bc7b0d48a0654
1,202
py
Python
saleor/core/permissions/auth_filters.py
eanknd/saleor
08aa724176be00d7aaf654f14e9ae99dd4327f97
[ "CC-BY-4.0" ]
1,392
2021-10-06T15:54:28.000Z
2022-03-31T20:50:55.000Z
saleor/core/permissions/auth_filters.py
eanknd/saleor
08aa724176be00d7aaf654f14e9ae99dd4327f97
[ "CC-BY-4.0" ]
888
2021-10-06T10:48:54.000Z
2022-03-31T11:00:30.000Z
saleor/core/permissions/auth_filters.py
gustavoarmoa/saleor
f81b2f347e4c7a624cd68a1eca3b0a5611498f6e
[ "CC-BY-4.0" ]
538
2021-10-07T16:21:27.000Z
2022-03-31T22:58:57.000Z
from .enums import BasePermissionEnum def is_app(context): return bool(context.app) def is_user(context): return context.user.is_active and context.user.is_authenticated def is_staff_user(context): return is_user(context) and context.user.is_staff class AuthorizationFilters(BasePermissionEnum): ...
29.317073
87
0.787854
147
1,202
6.204082
0.346939
0.059211
0.061404
0.055921
0.098684
0
0
0
0
0
0
0
0.153078
1,202
40
88
30.05
0.895874
0.244592
0
0
0
0
0.168701
0.168701
0
0
0
0
0
1
0.210526
false
0
0.052632
0.210526
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
783ffcf5c2f8ebea7bd0a1161fc6903e11a44043
233
py
Python
codeArena/competition/urls.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
null
null
null
codeArena/competition/urls.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
10
2021-08-15T08:48:26.000Z
2021-11-25T15:09:27.000Z
codeArena/competition/urls.py
IT-Academy-Social-Projects-KRV/CodeArena
c0a5170ed46bcd7808b2cbe4f3a7aaeb4ff49384
[ "MIT" ]
1
2022-01-05T09:16:28.000Z
2022-01-05T09:16:28.000Z
from django.urls import path from .views import CompetitionInfoView, CreateCompetitionView urlpatterns = [ path('competition/', CompetitionInfoView.as_view()), path('create_competition/', CreateCompetitionView.as_view()), ]
29.125
65
0.776824
22
233
8.090909
0.590909
0.067416
0
0
0
0
0
0
0
0
0
0
0.111588
233
7
66
33.285714
0.859903
0
0
0
0
0
0.133047
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
78619d39a18eec15d3fa867b3af796f2619c3303
205
py
Python
regret/__init__.py
adiroiban/regret
a0a9eb452a902967cdfab4fceadf55f910ccd5a3
[ "MIT" ]
10
2019-10-21T14:57:52.000Z
2021-10-04T08:46:31.000Z
regret/__init__.py
adiroiban/regret
a0a9eb452a902967cdfab4fceadf55f910ccd5a3
[ "MIT" ]
35
2019-11-07T00:48:01.000Z
2020-12-09T14:28:12.000Z
regret/__init__.py
adiroiban/regret
a0a9eb452a902967cdfab4fceadf55f910ccd5a3
[ "MIT" ]
2
2020-08-11T13:37:27.000Z
2020-12-05T14:19:55.000Z
from regret._api import _DEPRECATOR, Deprecator callable = _DEPRECATOR.callable inheritance = _DEPRECATOR.inheritance parameter = _DEPRECATOR.parameter optional_parameter = _DEPRECATOR.optional_parameter
29.285714
51
0.863415
20
205
8.45
0.45
0.213018
0
0
0
0
0
0
0
0
0
0
0.087805
205
6
52
34.166667
0.903743
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
78a8439fb7d82e39fad74b39444c9bd692d6bd61
210
py
Python
problem0195.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0195.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0195.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #195 Inscribed circles of triangles with one angle of 60 degrees - Project Euler # https://projecteuler.net/problem=195 # # Code by Kevin Marciniak # ###########################
23.333333
82
0.547619
22
210
5.227273
0.909091
0
0
0
0
0
0
0
0
0
0
0.043716
0.128571
210
8
83
26.25
0.584699
0.666667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
78b1a958203494c606943b89d4fe1f82dccb80e7
6,953
py
Python
miniworld/model/network/backends/NetworkBackendNotifications.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
5
2019-05-11T14:57:15.000Z
2021-07-05T00:35:25.000Z
miniworld/model/network/backends/NetworkBackendNotifications.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
27
2017-03-17T07:11:02.000Z
2019-05-26T23:36:56.000Z
miniworld/model/network/backends/NetworkBackendNotifications.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
6
2017-05-03T12:11:33.000Z
2020-04-03T11:44:27.000Z
# TODO: #54: DOC # TODO: provide context managers! class NetworkBackendNotifications: """ This interface describes the interaction between the :py:class:`.SimulationManager`, the :py:class:`.NetworkManager` and the :py:class:`.NetworkBackend`. """ ######################################### # ...
29.713675
140
0.575579
647
6,953
5.846986
0.180835
0.082474
0.085118
0.085646
0.681205
0.667195
0.616971
0.616971
0.616971
0.586836
0
0.000843
0.317417
6,953
233
141
29.841202
0.796249
0.420969
0
0.487805
0
0
0
0
0
0
0
0.012876
0
1
0.292683
false
0.268293
0
0
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
78b8a2cfaa2177085dfc7e4abfe414aaee91ce50
531
py
Python
sqlhild/exception.py
willemt/sqlhild
13815095cc38b0b72479891640a8b385d8db46d5
[ "BSD-3-Clause" ]
null
null
null
sqlhild/exception.py
willemt/sqlhild
13815095cc38b0b72479891640a8b385d8db46d5
[ "BSD-3-Clause" ]
null
null
null
sqlhild/exception.py
willemt/sqlhild
13815095cc38b0b72479891640a8b385d8db46d5
[ "BSD-3-Clause" ]
null
null
null
class UnknownColumn(Exception): pass class HasNoColumns(Exception): pass class TableDoesNotExist(Exception): pass class TableExists(Exception): pass class EmptySet(Exception): pass class AmbiguousColumn(Exception): pass class UnknownOperator(Exception): pass class ColumnMetadat...
12.95122
66
0.689266
53
531
6.886792
0.528302
0.19726
0.345205
0
0
0
0
0
0
0
0
0
0.231638
531
40
67
13.275
0.894608
0.171375
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
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
1
0
0
0
0
0
3
78c158f5f37b02f4182b4fb953f156ef5c6100fe
638
py
Python
np/8_assure_quality_with_testing/2_almost_equal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/8_assure_quality_with_testing/2_almost_equal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/8_assure_quality_with_testing/2_almost_equal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- """ Project : numpy File Name : 2_almost_equal Author : Focus Date : 8/23/2021 12:32 AM Keywords : assert_almost_equal Abstract : np.testing.assert_almost_equal Param : (a, b, decimal=7) Usage : py 2_almost_equal Reference : """ import numpy as np import matplotlib.pyplot as p...
27.73913
87
0.722571
97
638
4.628866
0.546392
0.171492
0.151448
0.140312
0.293987
0.23608
0.23608
0.23608
0.23608
0.23608
0
0.149254
0.159875
638
23
88
27.73913
0.688433
0.595611
0
0
0
0
0.073171
0
0
0
0
0
0.4
1
0
true
0
0.6
0
0.6
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
78c311200b1c054f7d70c5a718a7b00ebf1f0e18
240
py
Python
db/main.py
oxtna/pokedata
6ad0d133a6f154126e10940c62cd9de8f13de8e2
[ "MIT" ]
null
null
null
db/main.py
oxtna/pokedata
6ad0d133a6f154126e10940c62cd9de8f13de8e2
[ "MIT" ]
null
null
null
db/main.py
oxtna/pokedata
6ad0d133a6f154126e10940c62cd9de8f13de8e2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import get_csv import populate_db def main() -> None: """ Download, extract and save Pokemon data as a csv file, and insert it into a MongoDB database. """ get_csv.main() populate_db.main()
17.142857
58
0.654167
36
240
4.25
0.722222
0.078431
0
0
0
0
0
0
0
0
0
0.005495
0.241667
240
13
59
18.461538
0.835165
0.479167
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
78c85739d15b50f5704710cd7c0f2bf666a6f974
197
py
Python
meme/api/urls.py
aryanndhir/Xmeme
3064922b1f1223851ef7e75a02dc68c1288be249
[ "MIT" ]
4
2021-02-20T19:42:15.000Z
2021-02-22T18:19:38.000Z
meme/api/urls.py
aryanndhir/Xmeme
3064922b1f1223851ef7e75a02dc68c1288be249
[ "MIT" ]
null
null
null
meme/api/urls.py
aryanndhir/Xmeme
3064922b1f1223851ef7e75a02dc68c1288be249
[ "MIT" ]
1
2021-02-19T11:03:40.000Z
2021-02-19T11:03:40.000Z
from django.urls import path from meme.api.views import api_post, api_post_id urlpatterns = [ path('', api_post, name="meme-api"), path('<id>', api_post_id, name="meme-api-id") ]
21.888889
50
0.654822
31
197
3.967742
0.387097
0.227642
0.146341
0
0
0
0
0
0
0
0
0
0.187817
197
8
51
24.625
0.76875
0
0
0
0
0
0.121693
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
78d2ec3cb1809e4cc03df775e977c47dfefe074e
411
py
Python
ex020.py
gabrielwai/exercicios_de_Python
3767775748db7c501a6e0364edf7ba4f079e62f9
[ "MIT" ]
null
null
null
ex020.py
gabrielwai/exercicios_de_Python
3767775748db7c501a6e0364edf7ba4f079e62f9
[ "MIT" ]
null
null
null
ex020.py
gabrielwai/exercicios_de_Python
3767775748db7c501a6e0364edf7ba4f079e62f9
[ "MIT" ]
null
null
null
from random import choice, shuffle n1 = str(input('Digite o nome do(a) primeiro(a) estudante: ')) n2 = str(input('Digite o nome do(a) segundo(a) estudante: ')) n3 = str(input('Digite o nome do(a) terceiro(a) estudante: ')) n4 = str(input('Digite o nome do(a) quarto(a) estudante: ')) alunos = [n1, n2, n3, n4] ...
45.666667
73
0.671533
66
411
4.181818
0.454545
0.115942
0.202899
0.217391
0.318841
0.318841
0.318841
0
0
0
0
0.023324
0.16545
411
8
74
51.375
0.781341
0
0
0
0
0
0.548387
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1521949d1f51fbf15b1a164597bc5e74927f324b
396
py
Python
baadaltesting/data/fact.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
8
2017-01-30T17:40:18.000Z
2022-02-07T19:37:32.000Z
baadaltesting/data/fact.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
null
null
null
baadaltesting/data/fact.py
iitd-plos/baadal2.0
0496a8ddb5c0620f3448f018ba48b080b96cbe61
[ "Apache-2.0" ]
7
2016-11-08T13:38:10.000Z
2019-11-26T04:33:17.000Z
import os import datetime c_time=datetime.datetime.now() e_time=c_time + datetime.timedelta(seconds=850) i=1 fact=1 print datetime.datetime.now() while(e_time>=datetime.datetime.now()): #os.system("sysbench --test=mutex --memory-total-size=1G --memory-oper=read run ") # os.system("sysbench --test=mutex --memory-...
28.285714
90
0.722222
60
396
4.683333
0.5
0.128114
0.202847
0.163701
0.398577
0.398577
0.398577
0.398577
0.398577
0.398577
0
0.045455
0.111111
396
13
91
30.461538
0.752841
0.421717
0
0
0
0
0.004444
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
152eb72d7507bd72157d1c3d601732ac52085a01
1,724
py
Python
ooobuild/csslo/mozilla/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/csslo/mozilla/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/csslo/mozilla/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
55.612903
97
0.823086
235
1,724
5.919149
0.438298
0.060388
0.130841
0.080518
0.094896
0.03307
0
0
0
0
0
0.005867
0.110209
1,724
30
98
57.466667
0.900913
0.334107
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
154005d26c9d70237a5abdac8d2cf3987316c2bc
330
py
Python
constants/__init__.py
CataLatas/earthbound-script-dumper
167f6cfb8881e0c8bef64de46bad27a8f1ceb579
[ "MIT" ]
2
2021-01-03T06:44:15.000Z
2021-06-20T14:33:02.000Z
constants/__init__.py
CataLatas/earthbound-script-dumper
167f6cfb8881e0c8bef64de46bad27a8f1ceb579
[ "MIT" ]
null
null
null
constants/__init__.py
CataLatas/earthbound-script-dumper
167f6cfb8881e0c8bef64de46bad27a8f1ceb579
[ "MIT" ]
null
null
null
# Is this a good way to handle constants? I don't know! from .charset import * from .emotes import * from .flags import * from .items import * from .party import * from .script_blocks import * from .script_codes import * from .stats import * from .status import * GET_DIR_FROM_TYPES = ('PMEMBER', 'NPC', 'OBJ') NPC_COU...
22
55
0.721212
51
330
4.54902
0.627451
0.344828
0.137931
0
0
0
0
0
0
0
0
0.014706
0.175758
330
14
56
23.571429
0.838235
0.160606
0
0
0
0
0.047273
0
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1551a0ca7fd7e65cfc7e30816111e756934b1b0f
278
py
Python
snacks/mypkgdemo1/module2.py
msakamoto-sf/pythonsnack
20de2be963caa486f0bde68dd75cf417bd7f28b9
[ "Apache-2.0" ]
1
2020-03-12T09:38:01.000Z
2020-03-12T09:38:01.000Z
snacks/mypkgdemo1/module2.py
msakamoto-sf/pythonsnack
20de2be963caa486f0bde68dd75cf417bd7f28b9
[ "Apache-2.0" ]
null
null
null
snacks/mypkgdemo1/module2.py
msakamoto-sf/pythonsnack
20de2be963caa486f0bde68dd75cf417bd7f28b9
[ "Apache-2.0" ]
null
null
null
import snacks.mypkgdemo1.module1 as module1 from .module1 import module1_add as add1 def module2_add(n1, n2, n3): return module1.module1_add(n1, n2, n3) + 1 class ClassInModule2: @staticmethod def add(n1, n2, n3): return add1(n1, n2, n3) + 2
21.384615
47
0.658273
41
278
4.390244
0.463415
0.088889
0.133333
0.15
0.166667
0
0
0
0
0
0
0.119617
0.248201
278
12
48
23.166667
0.741627
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1551d8d018a5e60c6ea8994ab17422971bfcc12e
25
py
Python
app/instance/config.py
Fahari/Blog
25991337a60f9aefebc3708475a557420f0a7349
[ "MIT" ]
null
null
null
app/instance/config.py
Fahari/Blog
25991337a60f9aefebc3708475a557420f0a7349
[ "MIT" ]
null
null
null
app/instance/config.py
Fahari/Blog
25991337a60f9aefebc3708475a557420f0a7349
[ "MIT" ]
null
null
null
SECRET_KEY = 'safezone1'
12.5
24
0.76
3
25
6
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.12
25
1
25
25
0.772727
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1560db79be7a5d42c3412ea401f3710f4a787f4c
1,833
py
Python
setup.py
pykit3/k3color
e9976906ab09f095b76ee98b8497b5de8d1525f1
[ "MIT" ]
null
null
null
setup.py
pykit3/k3color
e9976906ab09f095b76ee98b8497b5de8d1525f1
[ "MIT" ]
null
null
null
setup.py
pykit3/k3color
e9976906ab09f095b76ee98b8497b5de8d1525f1
[ "MIT" ]
1
2021-08-05T09:22:26.000Z
2021-08-05T09:22:26.000Z
# DO NOT EDIT!!! built with `python _building/build_setup.py` import setuptools setuptools.setup( name="k3color", packages=["k3color"], version="0.1.2", license='MIT', description='create colored text on terminal', long_description="# k3color\n\n[![Build Status](https://travis-ci.com/pykit3/k3co...
76.375
891
0.680306
268
1,833
4.615672
0.466418
0.021019
0.012126
0.033953
0.085691
0.085691
0.038804
0.038804
0
0
0
0.042724
0.118931
1,833
23
892
79.695652
0.72322
0.032188
0
0
1
0.047619
0.769187
0.093679
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
156469f60e076871f34f851f0defe4b5512f239e
489
py
Python
planner/meta/retired/iterative_deepening.py
yijiangh/pyplanners
ef1ae33e233f20cd93ce03cba363b0f14fd078bc
[ "MIT" ]
23
2017-11-13T23:56:25.000Z
2022-02-12T08:56:28.000Z
planner/meta/retired/iterative_deepening.py
yijiangh/pyplanners
ef1ae33e233f20cd93ce03cba363b0f14fd078bc
[ "MIT" ]
1
2022-01-04T17:07:47.000Z
2022-01-04T17:07:47.000Z
planner/meta/retired/iterative_deepening.py
yijiangh/pyplanners
ef1ae33e233f20cd93ce03cba363b0f14fd078bc
[ "MIT" ]
6
2017-07-13T07:21:13.000Z
2022-03-25T08:21:57.000Z
from state_expanders import * # TODO # - store previous search states to avoid recomputing same structure (see IDA*) def increment(parameters): return {p: v + 1 for p, v in parameters.items()} def iterative_deepening(search, initial_parameters, iterate_parameters): parameters = initial_parameters while True: ...
27.166667
79
0.744376
63
489
5.650794
0.603175
0.089888
0.151685
0.207865
0
0
0
0
0
0
0
0.002494
0.179959
489
17
80
28.764706
0.885287
0.167689
0
0
0
0
0
0
0
0
0
0.058824
0
1
0.181818
false
0
0.090909
0.090909
0.545455
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
1
0
0
0
0
0
0
0
1
0
0
3
ec710cd4dd41d9a27d10ae46817c8649eb3c19a3
144
py
Python
src/test/testblock.py
eehello/Dshield
4265e8c45d5be142bbe8e25e8e2da5a3b3bf269c
[ "Artistic-1.0-Perl" ]
49
2016-12-10T13:26:51.000Z
2022-03-02T05:46:20.000Z
src/test/testblock.py
knickersgod/Dshield
ef5b58d99bc479b92a97404b49d057d503e1a368
[ "Artistic-1.0-Perl" ]
4
2016-12-14T07:40:28.000Z
2019-02-20T06:09:02.000Z
src/test/testblock.py
knickersgod/Dshield
ef5b58d99bc479b92a97404b49d057d503e1a368
[ "Artistic-1.0-Perl" ]
36
2016-12-11T01:44:36.000Z
2021-06-29T03:51:13.000Z
#!/usr/bin/env python # encoding=utf-8 import sys sys.path.append("..") from lib.dUtil import CC if __name__ == '__main__': CC().run()
11.076923
26
0.638889
22
144
3.818182
0.863636
0
0
0
0
0
0
0
0
0
0
0.008403
0.173611
144
12
27
12
0.697479
0.243056
0
0
0
0
0.096154
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ec8c68e522b957e6e72e4828b85a5b3e984429ff
235
py
Python
app/modules/api/__init__.py
ramses132/pedidosya-feedback
35acaae9e3850294babcdeac68a175b464e403db
[ "MIT" ]
null
null
null
app/modules/api/__init__.py
ramses132/pedidosya-feedback
35acaae9e3850294babcdeac68a175b464e403db
[ "MIT" ]
null
null
null
app/modules/api/__init__.py
ramses132/pedidosya-feedback
35acaae9e3850294babcdeac68a175b464e403db
[ "MIT" ]
null
null
null
from flask import Blueprint from app import api def init_app(app, *kwargs): api_v1_blueprints = Blueprint('api', __name__, url_prefix='/api/v1') api.init_app(api_v1_blueprints) app.register_blueprint(api_v1_blueprints)
21.363636
72
0.757447
35
235
4.685714
0.428571
0.121951
0.27439
0
0
0
0
0
0
0
0
0.019901
0.144681
235
10
73
23.5
0.79602
0
0
0
0
0
0.042553
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.666667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
ecac31c21881edcd4ca9ad064babfbe101c02f16
1,432
py
Python
jupyter-notebooks/algorithems/BST/Node.py
alexwhb/algorithm-practice
b15cffcefbd2b68ad280dd37ef1afc0305bf9d62
[ "MIT" ]
1
2015-10-29T01:51:48.000Z
2015-10-29T01:51:48.000Z
python/BST/BST/Node.py
alexwhb/algorithm-practice
b15cffcefbd2b68ad280dd37ef1afc0305bf9d62
[ "MIT" ]
null
null
null
python/BST/BST/Node.py
alexwhb/algorithm-practice
b15cffcefbd2b68ad280dd37ef1afc0305bf9d62
[ "MIT" ]
null
null
null
class Node(object): def __init__(self, key, value, left=None, right=None, parent=None): self.key = key self.value = value self.parent = parent self.right_child = right self.left_child = left self.balance_factor = 0 def has_right_child(self): return self.r...
31.130435
94
0.652235
213
1,432
4.173709
0.267606
0.101237
0.110236
0.07874
0.339708
0.268841
0.24297
0.24297
0.105737
0.105737
0
0.000961
0.273045
1,432
45
95
31.822222
0.853026
0.103352
0
0
0
0
0.010938
0
0
0
0
0
0.03125
1
0.34375
false
0
0
0.28125
0.71875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ecc8c8d3b26e69634882ec7a187fd7c71f5699e8
285
py
Python
Groups/Group_ID_39/examples/edge_direction_histogram_example.py
aryapushpa/DataScience
89ba01c18d3ed36942ffdf3e1f3c68fd08b05324
[ "MIT" ]
5
2020-12-13T07:53:22.000Z
2020-12-20T18:49:27.000Z
Groups/Group_ID_39/examples/edge_direction_histogram_example.py
Gulnaz-Tabassum/DataScience
1fd771f873a9bc0800458fd7c05e228bb6c4e8a0
[ "MIT" ]
null
null
null
Groups/Group_ID_39/examples/edge_direction_histogram_example.py
Gulnaz-Tabassum/DataScience
1fd771f873a9bc0800458fd7c05e228bb6c4e8a0
[ "MIT" ]
24
2020-12-12T11:23:28.000Z
2021-10-04T13:09:38.000Z
import cv2 as cv from package.edge_direction_histogram import edge_direction_histogram as edh # while running please ensure this example is in same directory as package image = cv.imread('images/lines.jpg', 0) # read in gray scale features = edh.edge_direction(image) print(features)
35.625
76
0.807018
45
285
5
0.688889
0.173333
0.195556
0
0
0
0
0
0
0
0
0.008065
0.129825
285
7
77
40.714286
0.899194
0.319298
0
0
0
0
0.08377
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
01a8ba75410123c9865156165a8e16f231ea5c09
557
py
Python
synapse/tests/test_init.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
216
2017-01-17T18:52:50.000Z
2022-03-31T18:44:49.000Z
synapse/tests/test_init.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
2,189
2017-01-17T22:31:48.000Z
2022-03-31T20:41:45.000Z
synapse/tests/test_init.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
44
2017-01-17T16:50:57.000Z
2022-03-16T18:35:52.000Z
import synapse.tests.utils as s_t_utils class InitTest(s_t_utils.SynTest): pass ''' def test_init_modules(self): os.environ['SYN_MODULES'] = 'fakenotrealmod , badnothere,math' msg = 'SYN_MODULES failed: badnothere (NoSuchDyn: name=\'badnothere\')' with self.getLoggerStream('synaps...
29.315789
79
0.61939
70
557
4.814286
0.628571
0.011869
0.041543
0
0
0
0
0
0
0
0
0.014052
0.233393
557
18
80
30.944444
0.775176
0
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3