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
0b062b2ed29dd235a2014e885966077d43827e1e
91
py
Python
setup.py
melanieihuei/Web-Traffic-Forecasting
d40c3e9c3900eccde271a0e82401f4f5283ee426
[ "MIT" ]
2
2018-05-05T16:45:14.000Z
2018-07-18T23:22:50.000Z
setup.py
dsp-uga/Edamame
d40c3e9c3900eccde271a0e82401f4f5283ee426
[ "MIT" ]
null
null
null
setup.py
dsp-uga/Edamame
d40c3e9c3900eccde271a0e82401f4f5283ee426
[ "MIT" ]
3
2018-04-29T20:48:38.000Z
2018-10-28T20:41:46.000Z
#!/usr/bin/env python3 from setuptools import setup setup( packages = ['ARIMA','LSTM'] )
15.166667
29
0.692308
12
91
5.25
0.916667
0
0
0
0
0
0
0
0
0
0
0.012821
0.142857
91
5
30
18.2
0.794872
0.230769
0
0
0
0
0.130435
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9bcea3d30fa88da6ee6aeb63dc0657dc30089150
303
py
Python
tests/test_utils/test_request.py
daniktl/request-tools
693c7851c180c7571c8f224c32e9740d87c76745
[ "Apache-2.0" ]
null
null
null
tests/test_utils/test_request.py
daniktl/request-tools
693c7851c180c7571c8f224c32e9740d87c76745
[ "Apache-2.0" ]
4
2021-08-16T13:55:27.000Z
2021-08-17T05:44:39.000Z
tests/test_utils/test_request.py
daniktl/request-tools
693c7851c180c7571c8f224c32e9740d87c76745
[ "Apache-2.0" ]
null
null
null
from meta_requests.utils.request import * from tests.utils import get_response_with_text def test_response_detect_blocking_messages(): blocked_message: str = "You got blocked" text = get_response_with_text(blocked_message) assert response_detect_blocking_messages(text, [blocked_message])
33.666667
69
0.818482
41
303
5.634146
0.536585
0.181818
0.12987
0.164502
0
0
0
0
0
0
0
0
0.118812
303
8
70
37.875
0.865169
0
0
0
0
0
0.049505
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9bd8ce6c44d3c89c25ba2bb4c85e847522141c93
202
py
Python
hatefull/apps/tests/admin.py
MauricioDinki/hatefull
fdefd69251ea136798ff483bfa90a3b08a871ec7
[ "BSD-3-Clause" ]
null
null
null
hatefull/apps/tests/admin.py
MauricioDinki/hatefull
fdefd69251ea136798ff483bfa90a3b08a871ec7
[ "BSD-3-Clause" ]
null
null
null
hatefull/apps/tests/admin.py
MauricioDinki/hatefull
fdefd69251ea136798ff483bfa90a3b08a871ec7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.contrib import admin from .models import Test @admin.register(Test) class TestAdmin(admin.ModelAdmin): list_display = ('user', 'name',)
16.833333
36
0.688119
27
202
5.111111
0.814815
0
0
0
0
0
0
0
0
0
0
0.005814
0.148515
202
11
37
18.363636
0.796512
0.207921
0
0
0
0
0.050633
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9bdf7ca43bd0631282348a799537e089e5ecb616
5,013
py
Python
tests/examples/minlplib/st_qpc-m3a.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/st_qpc-m3a.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/st_qpc-m3a.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# NLP written by GAMS Convert at 04/21/18 13:54:25 # # Equation counts # Total E G L N X C B # 11 1 0 10 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
60.39759
120
0.453421
1,163
5,013
1.954428
0.115219
0.042235
0.021117
0.087989
0.549054
0.16894
0.1663
0.16278
0.16278
0
0
0.259401
0.320965
5,013
82
121
61.134146
0.408343
0.135248
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.020408
0
0.020408
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9bdf9c00451a91835068fb9144e88d99ee42491a
1,045
py
Python
mdstudio/mdstudio/cache/cache.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
10
2017-09-14T07:26:15.000Z
2021-04-01T09:33:03.000Z
mdstudio/mdstudio/cache/cache.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
117
2017-09-13T08:09:48.000Z
2019-10-03T12:19:13.000Z
mdstudio/mdstudio/cache/cache.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
1
2018-09-26T09:40:51.000Z
2018-09-26T09:40:51.000Z
import abc import six from typing import Any, Union, List, Optional, Tuple @six.add_metaclass(abc.ABCMeta) class ICache(object): @abc.abstractmethod def put(self, key, value, expiry=None): # type: (str, Any, Optional[int]) -> dict raise NotImplementedError @abc.abstractmethod def put...
24.302326
62
0.62201
114
1,045
5.684211
0.333333
0.183642
0.216049
0.287037
0.572531
0.572531
0.572531
0.572531
0.487654
0.487654
0
0
0.265072
1,045
42
63
24.880952
0.84375
0.200957
0
0.538462
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0.115385
0
0.423077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9be919a6f8c1164bbc69f57c32f89660b47f4ec7
307
py
Python
visdialch/utils/connection_counter.py
gicheonkang/sglkt-visdial
b2927e8bc8e45c2d2a2a76fbf75a15f8ecb78b88
[ "MIT" ]
9
2021-08-30T16:43:46.000Z
2022-03-19T12:22:08.000Z
visdialch/utils/connection_counter.py
gicheonkang/sglkt-visdial
b2927e8bc8e45c2d2a2a76fbf75a15f8ecb78b88
[ "MIT" ]
null
null
null
visdialch/utils/connection_counter.py
gicheonkang/sglkt-visdial
b2927e8bc8e45c2d2a2a76fbf75a15f8ecb78b88
[ "MIT" ]
4
2021-09-01T01:33:17.000Z
2021-10-12T05:33:20.000Z
class ConnectionCounter(object): def __init__(self): self.n_connct = 0 def add(self, mask): # mask to the number new_connct = 0 self.n_connct += new_connct def retrieve(self): return self.n_connct def reset(self): self.n_connct = 0
18.058824
35
0.57329
40
307
4.15
0.45
0.120482
0.26506
0.180723
0.192771
0
0
0
0
0
0
0.014851
0.34202
307
16
36
19.1875
0.806931
0.058632
0
0.2
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
9bf808cf6c0101b45370afcb4e61de3f0b38d0f6
226
py
Python
src/test.py
EricSekyere/gtools
781878c9bbc6f3698ae20cdca3b6a4a0b92502e7
[ "MIT" ]
null
null
null
src/test.py
EricSekyere/gtools
781878c9bbc6f3698ae20cdca3b6a4a0b92502e7
[ "MIT" ]
3
2020-03-24T16:23:15.000Z
2021-02-02T21:53:53.000Z
src/test.py
EricSekyere/gentool
781878c9bbc6f3698ae20cdca3b6a4a0b92502e7
[ "MIT" ]
null
null
null
import unittest class TestScripts(unittest.TestCase): def setUp(self): pass # self.files = get_files("./mock", filters) def teardown(self): pass def testget_files(self): pass
16.142857
50
0.59292
25
226
5.28
0.6
0.181818
0
0
0
0
0
0
0
0
0
0
0.30531
226
13
51
17.384615
0.840764
0.181416
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.125
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
50045e63879e98a525821a1eba33ae22f46275f9
245
py
Python
apps/inventory/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
null
null
null
apps/inventory/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
6
2020-06-07T15:18:58.000Z
2021-09-22T19:07:33.000Z
apps/inventory/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
null
null
null
from django.apps import AppConfig class InventoryConfig(AppConfig): name = 'apps.inventory' verbose_name = "Inventory" def ready(self): import apps.inventory.signals default_app_config = 'apps.inventory.InventoryConfig'
18.846154
53
0.734694
27
245
6.555556
0.62963
0.220339
0
0
0
0
0
0
0
0
0
0
0.179592
245
12
54
20.416667
0.880597
0
0
0
0
0
0.216327
0.122449
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5015e6bcc7489d81acc008afbc89da13111cb6ee
535
py
Python
ics/structures/rad_reporting_settings.py
hollinsky-intrepid/python_ics
b6ec5486ec3cc2548e33845c265faccf293b88f5
[ "Unlicense" ]
null
null
null
ics/structures/rad_reporting_settings.py
hollinsky-intrepid/python_ics
b6ec5486ec3cc2548e33845c265faccf293b88f5
[ "Unlicense" ]
null
null
null
ics/structures/rad_reporting_settings.py
hollinsky-intrepid/python_ics
b6ec5486ec3cc2548e33845c265faccf293b88f5
[ "Unlicense" ]
null
null
null
# This file was auto generated; Do not modify, if you value your sanity! import ctypes class rad_reporting_settings(ctypes.Structure): _pack_ = 2 _fields_ = [ ('flags', ctypes.c_uint32), ('temp_interval_ms', ctypes.c_uint16), ('gps_interval_ms', ctypes.c_uint16), ('serdes_int...
28.157895
72
0.663551
71
535
4.661972
0.591549
0.126888
0.193353
0.205438
0.277946
0
0
0
0
0
0
0.031401
0.226168
535
18
73
29.722222
0.768116
0.205607
0
0
1
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
502c44690b715400b4af7192c3b92d551666b4d8
444
py
Python
schieber/deck.py
JoelNiklaus/pyschieber
29ef6def16db90765849be7f572ef81f03c5f6fb
[ "MIT" ]
null
null
null
schieber/deck.py
JoelNiklaus/pyschieber
29ef6def16db90765849be7f572ef81f03c5f6fb
[ "MIT" ]
null
null
null
schieber/deck.py
JoelNiklaus/pyschieber
29ef6def16db90765849be7f572ef81f03c5f6fb
[ "MIT" ]
null
null
null
from schieber.suit import Suit from schieber.card import Card class Deck: def __init__(self): """ Initializes a deck of cards used for Jassen (from 6 to 10, Jack, Queen, King and Ace; each card in 4 suits) """ self.cards = [] for suit in Suit: self.cards += [Car...
27.75
115
0.601351
68
444
3.808824
0.514706
0.104247
0
0
0
0
0
0
0
0
0
0.022364
0.295045
444
15
116
29.6
0.805112
0.240991
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
50548217671bbbdff97866cd4c00f484a988e736
78
py
Python
private_data.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
2
2019-09-18T10:47:48.000Z
2021-03-02T09:01:52.000Z
private_data.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
null
null
null
private_data.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
2
2019-09-18T10:47:50.000Z
2019-09-18T11:04:55.000Z
#!/usr/bin/python admin_email="ryder@onymail.com" admin_password="123456789T"
19.5
31
0.794872
11
78
5.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.12
0.038462
78
3
32
26
0.68
0.205128
0
0
0
0
0.442623
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ac9006abf9f3565cde9d71a5bcf046923dc2de66
956
py
Python
parsing/views.py
playyard/infomate.club
a674d85afd8d734f7383880338b9819bc1ea08d3
[ "Apache-2.0" ]
327
2020-01-05T16:28:30.000Z
2022-03-26T12:32:35.000Z
parsing/views.py
YAR-SEN/infomate.club
787419bda209759976b3e6144063ddc40c9cd599
[ "Apache-2.0" ]
44
2020-01-10T18:50:23.000Z
2022-03-29T09:04:11.000Z
parsing/views.py
YAR-SEN/infomate.club
787419bda209759976b3e6144063ddc40c9cd599
[ "Apache-2.0" ]
79
2020-01-10T12:20:32.000Z
2022-03-12T15:10:12.000Z
from django.contrib.syndication.views import Feed from parsing.telegram.parser import parse_channel class TelegramChannelFeed(Feed): FEED_ITEMS = 30 def get_object(self, request, channel_name): limit = int(request.GET.get("size") or self.FEED_ITEMS) only = str(request.GET.get("only") or "") ...
24.512821
81
0.619247
126
956
4.595238
0.373016
0.048359
0.067358
0.082902
0
0
0
0
0
0
0
0.002861
0.268828
956
38
82
25.157895
0.825465
0
0
0
0
0
0.028243
0
0
0
0
0
0
1
0.296296
false
0
0.074074
0.222222
0.740741
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
ac9724e050654108151e921c3de2882c4a6d28e0
1,054
py
Python
src/Services/SlackCommandService.py
alchamp/slack-click-bot
aec1ab9d447a8260ae844cab27cfe2432e6fd15b
[ "MIT" ]
null
null
null
src/Services/SlackCommandService.py
alchamp/slack-click-bot
aec1ab9d447a8260ae844cab27cfe2432e6fd15b
[ "MIT" ]
null
null
null
src/Services/SlackCommandService.py
alchamp/slack-click-bot
aec1ab9d447a8260ae844cab27cfe2432e6fd15b
[ "MIT" ]
null
null
null
import os import src.Models.SlackCommandModel as SlackCommandModel class SlackCommandService(object): def __init__(self,container): self._container = container self.directory = os.path.join(os.getcwd(), "commands\slackcommands") self.slackCommands = {} def LoadSlackCommands(self): ...
35.133333
135
0.664137
99
1,054
7.020202
0.454545
0.146763
0.099281
0.077698
0
0
0
0
0
0
0
0.00125
0.240987
1,054
29
136
36.344828
0.8675
0
0
0
0
0
0.026565
0.020873
0
0
0
0
0
1
0.26087
false
0
0.086957
0.173913
0.565217
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
acc62d3d317f07f50ae2c990c18df499bc94b8b8
49
py
Python
geocube/_version.py
snowman2/geocube
02a137c3f867cb2cb9f18133fc6a34a046f6cc8f
[ "BSD-3-Clause" ]
152
2019-04-08T05:41:23.000Z
2022-03-24T12:04:30.000Z
geocube/_version.py
snowman2/geocube
02a137c3f867cb2cb9f18133fc6a34a046f6cc8f
[ "BSD-3-Clause" ]
59
2019-07-17T13:37:52.000Z
2022-03-30T18:11:32.000Z
geocube/_version.py
snowman2/geocube
02a137c3f867cb2cb9f18133fc6a34a046f6cc8f
[ "BSD-3-Clause" ]
21
2019-04-04T16:30:52.000Z
2022-02-15T13:27:08.000Z
"""GeoCube Version""" __version__ = "0.1.1.dev0"
16.333333
26
0.653061
7
49
4
0.714286
0
0
0
0
0
0
0
0
0
0
0.090909
0.102041
49
2
27
24.5
0.545455
0.306122
0
0
0
0
0.357143
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
acc97bcdc1d694209e0a5dae3cfc3d4d0a00aa0e
294
py
Python
src/__init__.py
WilliamAshbee/segmentation
aeb2b57faa77eac62fc30ed0222f3b8264bd888f
[ "Apache-2.0" ]
35
2019-04-23T19:59:52.000Z
2021-09-15T06:22:01.000Z
src/__init__.py
catalyst-team/segmentator
eaa89af4f233ed40ce35cf0743507beec49e3a23
[ "Apache-2.0" ]
37
2019-06-19T05:58:23.000Z
2021-07-30T05:50:18.000Z
src/__init__.py
catalyst-team/segmentator
eaa89af4f233ed40ce35cf0743507beec49e3a23
[ "Apache-2.0" ]
11
2019-09-16T14:38:58.000Z
2021-05-12T02:59:37.000Z
# flake8: noqa # isort:skip_file from catalyst.dl import registry, SupervisedRunner as Runner from catalyst.contrib.models.cv import segmentation as m from .experiment import Experiment from . import callbacks registry.MODELS.add_from_module(m) registry.CALLBACKS.add_from_module(callbacks)
24.5
60
0.829932
41
294
5.829268
0.536585
0.100418
0.108787
0
0
0
0
0
0
0
0
0.003802
0.105442
294
11
61
26.727273
0.904943
0.095238
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
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
acce089a9d49d4f8e7118962fc8f1d2eaff0b765
1,015
py
Python
src/algo/stmts/GLineStmt.py
TuringApp/Turing
787bc0eb15af632e7a7a95fd6848db62e91822ea
[ "MIT" ]
42
2018-05-02T07:07:27.000Z
2022-02-01T19:49:49.000Z
src/algo/stmts/GLineStmt.py
TuringApp/Turing
787bc0eb15af632e7a7a95fd6848db62e91822ea
[ "MIT" ]
65
2018-03-08T11:53:13.000Z
2018-09-17T09:00:09.000Z
src/algo/stmts/GLineStmt.py
TuringApp/Turing
787bc0eb15af632e7a7a95fd6848db62e91822ea
[ "MIT" ]
8
2018-03-31T16:01:36.000Z
2022-03-06T14:49:24.000Z
# -*- coding: utf-8 -*- from .BaseStmt import * class GLineStmt(BaseStmt): def __init__(self, start_x: AstNode, start_y: AstNode, end_x: AstNode, end_y: AstNode, color: AstNode): super().__init__() self.start_x = start_x self.start_y = start_y self.end_x = end_x self.end_y...
36.25
116
0.595074
161
1,015
3.465839
0.204969
0.177419
0.107527
0.107527
0.378136
0.302867
0.302867
0.302867
0.302867
0.252688
0
0.001284
0.232512
1,015
27
117
37.592593
0.715019
0.02069
0
0
0
0
0.087702
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.210526
0.578947
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
acd65cbe4a839bed0d5228be267c0bd9fcc0f6b6
132
py
Python
we-dap/__init__.py
jeremyleung521/WE_dap
f75925189cae59082de5be35ca6bfff43b226072
[ "BSD-3-Clause" ]
1
2021-09-21T19:56:11.000Z
2021-09-21T19:56:11.000Z
we-dap/__init__.py
jeremyleung521/WE_dap
f75925189cae59082de5be35ca6bfff43b226072
[ "BSD-3-Clause" ]
null
null
null
we-dap/__init__.py
jeremyleung521/WE_dap
f75925189cae59082de5be35ca6bfff43b226072
[ "BSD-3-Clause" ]
null
null
null
""" Author: Darian T. Yang Date of Creation: September 13th, 2021 Description: """ # Welcome to the WE-dap module!
12
40
0.621212
17
132
4.823529
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.272727
132
10
41
13.2
0.791667
0.810606
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ace0310f4773e1d9905951146bdc3822a1a84515
685
py
Python
Includes/include/python3.py
WikiLibs/Parser
1a20978a29ab285f80a35c7b55fc484c40d20bbb
[ "BSD-3-Clause" ]
null
null
null
Includes/include/python3.py
WikiLibs/Parser
1a20978a29ab285f80a35c7b55fc484c40d20bbb
[ "BSD-3-Clause" ]
null
null
null
Includes/include/python3.py
WikiLibs/Parser
1a20978a29ab285f80a35c7b55fc484c40d20bbb
[ "BSD-3-Clause" ]
null
null
null
import python31 as p3 from python31 import Test as t3 import sys print('Python', sys.version) print('\ntiming range()') print('Python', sys.version) print('Hello, World!') print("some text,", end="") print(' print more text on the same line') print('Python', sys.version) print('3 / 2 =', 3 / 2) print('3 // 2 =', 3...
18.513514
49
0.643796
112
685
3.892857
0.4375
0.036697
0.220183
0.240826
0.318807
0.103211
0.103211
0.103211
0
0
0
0.071181
0.159124
685
36
50
19.027778
0.685764
0
0
0.2
0
0
0.310949
0
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0.64
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
0
1
0
3
acee188b6b63f8911798baa2cfe32eee4347f778
279
py
Python
rpisec/telegram_bot/commands/status.py
marclr/rpi-security
2f7b39c572c45169fa10a9c571bba9cf5f869254
[ "MIT" ]
null
null
null
rpisec/telegram_bot/commands/status.py
marclr/rpi-security
2f7b39c572c45169fa10a9c571bba9cf5f869254
[ "MIT" ]
1
2021-06-01T23:14:14.000Z
2021-06-01T23:14:14.000Z
rpisec/telegram_bot/commands/status.py
marclr/rpi-security
2f7b39c572c45169fa10a9c571bba9cf5f869254
[ "MIT" ]
null
null
null
def status(bot, update, webcontrol): chat_id = update.message.chat_id code, text = webcontrol.execute('detection', 'status') if code == 200: bot.sendMessage(chat_id=chat_id, text=text) else: bot.sendMessage(chat_id=chat_id, text="Try it later")
27.9
61
0.666667
39
279
4.615385
0.487179
0.2
0.2
0.222222
0.333333
0.333333
0.333333
0
0
0
0
0.013514
0.204301
279
9
62
31
0.797297
0
0
0
0
0
0.097473
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
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
acf0d20b12715a5d2af2850faeed0941262633b4
741
py
Python
project/tests/test_string_replace.py
TobiasPrt/Smartphoniker-shop
6b74a3cc1c81db7a56d70609dbca29ddeec3053f
[ "MIT" ]
2
2020-05-11T08:46:45.000Z
2020-05-11T09:09:57.000Z
project/tests/test_string_replace.py
TobiasPrt/Smartphoniker-shop
6b74a3cc1c81db7a56d70609dbca29ddeec3053f
[ "MIT" ]
4
2021-02-19T13:31:53.000Z
2022-02-20T13:34:10.000Z
project/tests/test_string_replace.py
TobiasPrt/Smartphoniker-shop
6b74a3cc1c81db7a56d70609dbca29ddeec3053f
[ "MIT" ]
5
2020-04-27T16:25:39.000Z
2020-06-07T16:03:15.000Z
from project.server.common.escape import cleanify class TestReplacements: def test_ae(self): assert cleanify("") == "" assert cleanify("Äpfel") == "Aepfel" assert cleanify("äpfel") == "aepfel" assert cleanify("Äpfel Äpfel äpfel") == "Aepfel Aepfel aepfel" def test_...
30.875
71
0.585695
79
741
5.443038
0.316456
0.35814
0.167442
0.116279
0.45814
0.45814
0.45814
0
0
0
0
0
0.273954
741
23
72
32.217391
0.799257
0
0
0
0
0
0.239554
0
0
0
0
0
0.647059
1
0.235294
false
0
0.058824
0
0.352941
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
1
0
1
0
0
0
0
0
0
0
3
acf626e0b9f34a3e3c5c3f87bb9bba488db9bdbc
357
py
Python
pytest_faker/plugin.py
pytest-dev/pytest-faker
5d21f742980c1750749919ebe5f5ce7a6e7ed111
[ "MIT" ]
37
2015-04-19T12:00:50.000Z
2021-11-12T11:42:30.000Z
pytest_faker/plugin.py
pytest-dev/pytest-faker
5d21f742980c1750749919ebe5f5ce7a6e7ed111
[ "MIT" ]
11
2015-08-20T20:08:46.000Z
2020-05-14T13:23:18.000Z
pytest_faker/plugin.py
pytest-dev/pytest-faker
5d21f742980c1750749919ebe5f5ce7a6e7ed111
[ "MIT" ]
3
2016-09-19T05:00:14.000Z
2020-07-09T10:23:52.000Z
"""pytest-faker plugin.""" import pytest from faker import Factory @pytest.fixture(scope='session') def faker_locale(): """Faker locale. None by default which means faker's default locale. """ return None @pytest.fixture(scope='session') def faker(faker_locale): """Faker factory object.""" ...
17.85
55
0.694678
45
357
5.444444
0.444444
0.179592
0.146939
0.204082
0.269388
0.269388
0
0
0
0
0
0
0.173669
357
19
56
18.789474
0.830508
0.305322
0
0.25
0
0
0.06278
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
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
4a0fefe10987338a0f2f17fcead267a002316884
23
py
Python
aio_telegraph/__init__.py
bluzir/aio-telegraph
cd5cb110067a1ad44a535197fc9a6cdc05d4c317
[ "MIT" ]
1
2019-08-19T09:15:14.000Z
2019-08-19T09:15:14.000Z
aio_telegraph/__init__.py
bluzir/aio-telegraph
cd5cb110067a1ad44a535197fc9a6cdc05d4c317
[ "MIT" ]
null
null
null
aio_telegraph/__init__.py
bluzir/aio-telegraph
cd5cb110067a1ad44a535197fc9a6cdc05d4c317
[ "MIT" ]
1
2019-05-17T19:00:30.000Z
2019-05-17T19:00:30.000Z
name = 'aio_telegraph'
11.5
22
0.73913
3
23
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.8
0
0
0
0
0
0.565217
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
4a21f70bbf38998b13ceefdcfd94e54a814ffcb9
706
py
Python
util/chplenv/chplenv.py
MayukhSobo/chapel
c64476af40e5b49689983ac172fa201deb133af9
[ "ECL-2.0", "Apache-2.0" ]
1,602
2015-01-06T11:26:31.000Z
2022-03-30T06:17:21.000Z
util/chplenv/chplenv.py
sthagen/chapel
888fcc282385f31fe866511e3652c4e88b7721a1
[ "ECL-2.0", "Apache-2.0" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
util/chplenv/chplenv.py
sthagen/chapel
888fcc282385f31fe866511e3652c4e88b7721a1
[ "ECL-2.0", "Apache-2.0" ]
498
2015-01-08T18:58:18.000Z
2022-03-20T15:37:45.000Z
import chpl_cpu import chpl_atomics import chpl_aux_filesys import chpl_bin_subdir import chpl_make import chpl_platform import chpl_comm import chpl_comm_debug import chpl_comm_segment import chpl_comm_substrate import chpl_compiler import chpl_gasnet import chpl_gmp import chpl_hwloc import chpl_jemalloc import chpl_...
19.611111
26
0.896601
112
706
5.285714
0.383929
0.523649
0.094595
0
0
0
0
0
0
0
0
0.001577
0.101983
706
35
27
20.171429
0.932177
0.032578
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
3
4a23ab7ccd55e3884e4c3bf1103088fce8798c47
133
py
Python
python_scripts_youtube/desafio16_final.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
python_scripts_youtube/desafio16_final.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
python_scripts_youtube/desafio16_final.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
from math import trunc num = float(input('Digite um número: ')) print('A parte inteira de {} é igual a {}'.format(num, trunc(num)))
26.6
67
0.676692
22
133
4.090909
0.818182
0.177778
0
0
0
0
0
0
0
0
0
0
0.157895
133
4
68
33.25
0.803571
0
0
0
0
0
0.390977
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
c5812471ca42d8ead57cc51c5689116c7341871f
533
py
Python
tests/database.py
AnthonyPerez/bigorm
67ecdbb1f99cd5c8ec2ca24c7ba5f5dbed7493bb
[ "MIT" ]
null
null
null
tests/database.py
AnthonyPerez/bigorm
67ecdbb1f99cd5c8ec2ca24c7ba5f5dbed7493bb
[ "MIT" ]
3
2020-04-06T19:13:58.000Z
2020-05-22T22:21:31.000Z
tests/database.py
AnthonyPerez/bigorm
67ecdbb1f99cd5c8ec2ca24c7ba5f5dbed7493bb
[ "MIT" ]
null
null
null
""" python -m tests.database """ try: import _thread except ImportError: import thread as _thread from bigorm.database import BigQueryDatabaseContext as DatabaseContext from tests import UNIT_TEST_PROJECT def _open_context(): with DatabaseContext(project=UNIT_TEST_PROJECT): DatabaseContext.get_s...
19.740741
70
0.750469
61
533
6.114754
0.508197
0.064343
0.120643
0.160858
0.219839
0.219839
0
0
0
0
0
0
0.170732
533
26
71
20.5
0.843891
0.045028
0
0.133333
0
0
0.015968
0
0
0
0
0
0
1
0.133333
false
0.066667
0.333333
0
0.466667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
c5824598c1e01e74bf2921f77bdbc2a792870f19
781
py
Python
api/lms/models/location.py
hachimihamza/leavemanager
008e8a9d32dff139e8e7bc0745ab70e672721dbb
[ "MIT" ]
null
null
null
api/lms/models/location.py
hachimihamza/leavemanager
008e8a9d32dff139e8e7bc0745ab70e672721dbb
[ "MIT" ]
null
null
null
api/lms/models/location.py
hachimihamza/leavemanager
008e8a9d32dff139e8e7bc0745ab70e672721dbb
[ "MIT" ]
null
null
null
from django.db import models class Region(models.Model): region_name = models.CharField(max_length=30, primary_key=True) def __str__(self): return self.region_name class Country(models.Model): country_name = models.CharField(max_length=30, primary_key=True) region = models.ForeignKey(Region, on_delete=models....
31.24
112
0.774648
112
781
5.133929
0.339286
0.104348
0.125217
0.166957
0.413913
0.281739
0.281739
0.281739
0.153043
0
0
0.011494
0.108835
781
25
112
31.24
0.814655
0
0
0.166667
0
0
0.017903
0
0
0
0
0
0
1
0.166667
false
0
0.055556
0.166667
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
c59f5ecb464171a2d393c38c98fc7b06359b97e1
185
py
Python
tests/config.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
tests/config.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
tests/config.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
from app.config import Config class TestConfig(Config): TESTING = True SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:' SQLALCHEMY_ECHO = False WTF_CSRF_ENABLED = False
20.555556
50
0.718919
22
185
5.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.194595
185
8
51
23.125
0.85906
0
0
0
0
0
0.097297
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c5c4877b08b421a433e20ac5d3eaf53b10b685df
221
py
Python
examples/tenant_tutorial/customers/apps.py
buraketmen/django-tenants
39bc6f9de7dff05eed5c2b062809493ef6f77571
[ "MIT" ]
514
2015-06-12T00:31:32.000Z
2020-06-08T17:49:23.000Z
examples/tenant_tutorial/customers/apps.py
david-luk4s/django-tenants
67c8b2bbcdb467943d7271eb618a608e3ebc660d
[ "MIT" ]
363
2015-06-12T07:04:04.000Z
2020-06-09T17:10:17.000Z
examples/tenant_tutorial/customers/apps.py
david-luk4s/django-tenants
67c8b2bbcdb467943d7271eb618a608e3ebc660d
[ "MIT" ]
159
2015-06-12T13:09:15.000Z
2020-06-04T00:48:35.000Z
from __future__ import unicode_literals from django.apps import AppConfig class CustomersConfig(AppConfig): name = 'customers' verbose_name = 'Customers' def ready(self): import customers.handlers
18.416667
39
0.737557
24
221
6.541667
0.708333
0.165605
0
0
0
0
0
0
0
0
0
0
0.199095
221
11
40
20.090909
0.887006
0
0
0
0
0
0.081448
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c5e824b02c6514046183099a475950f852fa68cb
105
py
Python
make/photon/prepare/migrations/__init__.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
1
2020-07-31T15:00:54.000Z
2020-07-31T15:00:54.000Z
make/photon/prepare/migrations/__init__.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
10
2021-05-31T00:06:59.000Z
2022-02-11T12:34:16.000Z
make/photon/prepare/migrations/__init__.py
gerhardgossen/harbor
1d03b8727acb9a3935bf45cd76b61f87c68e2a08
[ "Apache-2.0" ]
1
2020-07-12T16:51:07.000Z
2020-07-12T16:51:07.000Z
import os MIGRATION_BASE_DIR = os.path.dirname(__file__) accept_versions = {'1.9.0', '1.10.0', '2.0.0'}
21
46
0.685714
20
105
3.25
0.75
0
0
0
0
0
0
0
0
0
0
0.106383
0.104762
105
5
47
21
0.585106
0
0
0
0
0
0.150943
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
c5f10161a8f17c8cd99d7f0a94d2a5272f1a9359
2,772
py
Python
porespy/filters/__init__.py
xu-kai-xu/porespy
9df231bfd4010e3a13efc66585474e148cd08d6c
[ "MIT" ]
null
null
null
porespy/filters/__init__.py
xu-kai-xu/porespy
9df231bfd4010e3a13efc66585474e148cd08d6c
[ "MIT" ]
null
null
null
porespy/filters/__init__.py
xu-kai-xu/porespy
9df231bfd4010e3a13efc66585474e148cd08d6c
[ "MIT" ]
null
null
null
r""" Filters ####### **Highlight Features of Interest** This module contains a variety of functions for altering images based on the structural characteristics, such as pore sizes. A definition of a *filter* is a function that returns an image the shape as the original image, but with altered values. .. currentmod...
28.285714
72
0.810245
379
2,772
5.559367
0.292876
0.089701
0.149502
0.045088
0.129094
0.029426
0
0
0
0
0
0.000848
0.14899
2,772
97
73
28.57732
0.892327
0.526696
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.972973
0
0.972973
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
c5ffea6c5ac3ce9f91f981860328783049625968
6,311
py
Python
iot_detector.py
perygee/IoT-device-type-identification
3de6669457d806ea7ca6ad9172e38a8c9d9ff059
[ "MIT" ]
26
2019-01-05T08:39:25.000Z
2022-02-22T07:51:03.000Z
iot_detector.py
BaoanhTrinh/IoT-device-type-identification
71f38f081ad2257da71cd600be6ed6ccbb5a1260
[ "MIT" ]
1
2020-11-26T07:42:44.000Z
2020-11-26T07:42:44.000Z
iot_detector.py
BaoanhTrinh/IoT-device-type-identification
71f38f081ad2257da71cd600be6ed6ccbb5a1260
[ "MIT" ]
20
2019-03-28T07:03:58.000Z
2021-12-14T14:32:26.000Z
import os import numpy as np import pandas as pd import tensorflow as tf def load_data(data_path, label_col, feature_cols=None): # Load data csv with pandas and divide it to features and labels if feature_cols: data = pd.read_csv(os.path.abspath(data_path), usecols=feature_cols + [label_col], low_memo...
38.248485
118
0.708446
954
6,311
4.384696
0.132075
0.068611
0.043031
0.028688
0.589768
0.44394
0.383457
0.289266
0.193163
0.163997
0
0.008617
0.209317
6,311
164
119
38.481707
0.829659
0.294248
0
0.047059
0
0
0.045341
0
0
0
0
0.006098
0
1
0.223529
false
0
0.047059
0.105882
0.517647
0.011765
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
6804867a649d7b6b19c51aa50c81c88fe4dc96fb
1,004
py
Python
SmartStats/roster/tests.py
waztaz/Basketball-Stats
1c5e4df5fc138f746b21137cb773ed4c82500def
[ "MIT" ]
1
2021-04-08T14:54:12.000Z
2021-04-08T14:54:12.000Z
SmartStats/roster/tests.py
waztaz/Basketball-Stats
1c5e4df5fc138f746b21137cb773ed4c82500def
[ "MIT" ]
null
null
null
SmartStats/roster/tests.py
waztaz/Basketball-Stats
1c5e4df5fc138f746b21137cb773ed4c82500def
[ "MIT" ]
null
null
null
from django.test import TestCase from myapp.models import Coach, Team, Player, Scout, Game, CumulativeStats, BasketballStats # Create your tests here. class CoachTestCase(TestCase): def setUp(self): Coach.objects.create(first_name="Test" , last_name="Coach") def test_coach_exists(self): "Testing for properly ge...
27.135135
116
0.757968
130
1,004
5.761538
0.353846
0.102804
0.149533
0.186916
0.236315
0.149533
0.149533
0.104139
0
0
0
0.00558
0.10757
1,004
36
117
27.888889
0.830357
0.333665
0
0.25
0
0
0.117816
0
0
0
0
0
0
1
0.3125
false
0
0.125
0
0.6875
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
6808e6b71789fd723a551fca63a4764904a6e1bc
590
py
Python
examples/get_started.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
null
null
null
examples/get_started.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
2
2021-04-27T21:43:24.000Z
2021-04-27T21:46:21.000Z
examples/get_started.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
null
null
null
from datetime import datetime from whattime import whattime, Hemisphere # Asking for all types of time descriptors for a e.g. a monday afternoon in summer time on the southern hemisphere: now = datetime.now() info = whattime(now, Hemisphere.SOUTHERN) print(info.types) # {<TimeType.WEEKDAY: 'weekday'>, <TimeType.MOND...
16.857143
115
0.749153
87
590
4.988506
0.390805
0.186636
0.202765
0.172811
0
0
0
0
0
0
0
0
0.133898
590
34
116
17.352941
0.849315
0.376271
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.692308
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
0
1
0
3
681ae8638f03385f409b04556a5dde5c07c107c8
1,156
py
Python
src/genie/libs/parser/iosxe/tests/ShowHwModuleSlotPortGroupMode/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowHwModuleSlotPortGroupMode/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowHwModuleSlotPortGroupMode/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
expected_output = { 'slot':{ 2:{ 'port_group':{ 1:{ 'port':{ 'Hu2/0/25':{ 'mode':'inactive' }, 'Hu2/0/26':{ 'mode':'inactive' ...
28.195122
45
0.153979
50
1,156
3.52
0.42
0.136364
0.090909
0.181818
0
0
0
0
0
0
0
0.13099
0.729239
1,156
40
46
28.9
0.43131
0
0
0.3
0
0
0.152249
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
a847ea629656f111f7a089e59134ec706b1f9f5d
403
py
Python
bitcounting.py
boachiejude/kata
31fbb6ab3d0705408051ec51ce1456cc9c02e37d
[ "MIT" ]
null
null
null
bitcounting.py
boachiejude/kata
31fbb6ab3d0705408051ec51ce1456cc9c02e37d
[ "MIT" ]
null
null
null
bitcounting.py
boachiejude/kata
31fbb6ab3d0705408051ec51ce1456cc9c02e37d
[ "MIT" ]
null
null
null
""" Write a function that takes an integer as input, and returns the number of bits that are equal to one in the binary representation of that number. You can guarantee that input is non-negative. Example: The binary representation of 1234 is 10011010010, so the function should return 5 in this case. """ def count_bit...
40.3
146
0.751861
66
403
4.575758
0.681818
0.059603
0.152318
0.165563
0
0
0
0
0
0
0
0.053892
0.171216
403
9
147
44.777778
0.850299
0.736973
0
0
0
0
0.010204
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
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
a84da06113d2055bc49fa6b7db176efffbe37dd3
193
py
Python
mangle-infra-agent/Faults/NetworkFaults.py
vmaligireddy/mangle
caf4d4a1314a5bc073d686327483cc08c77ab7be
[ "Apache-2.0" ]
151
2019-05-21T13:15:43.000Z
2022-02-23T15:04:49.000Z
mangle-infra-agent/Faults/NetworkFaults.py
vmaligireddy/mangle
caf4d4a1314a5bc073d686327483cc08c77ab7be
[ "Apache-2.0" ]
80
2019-10-24T07:12:58.000Z
2022-03-31T14:08:44.000Z
mangle-infra-agent/Faults/NetworkFaults.py
vmaligireddy/mangle
caf4d4a1314a5bc073d686327483cc08c77ab7be
[ "Apache-2.0" ]
45
2019-05-23T05:21:26.000Z
2022-02-17T09:57:32.000Z
from enum import Enum class NetworkFaults(Enum): NETWORK_DELAY_MILLISECONDS = 1 PACKET_DUPLICATE_PERCENTAGE = 2 PACKET_CORRUPT_PERCENTAGE = 3 PACKET_LOSS_PERCENTAGE = 4
24.125
36
0.746114
23
193
5.913043
0.73913
0
0
0
0
0
0
0
0
0
0
0.02649
0.217617
193
8
37
24.125
0.874172
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a8544d00595182565d70a980c27452b5c93cdb34
414
py
Python
mlflow/entities/model_registry/__init__.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
10,351
2018-07-31T02:52:49.000Z
2022-03-31T23:33:13.000Z
mlflow/entities/model_registry/__init__.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
3,733
2018-07-31T01:38:51.000Z
2022-03-31T23:56:25.000Z
mlflow/entities/model_registry/__init__.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
2,596
2018-07-31T06:38:39.000Z
2022-03-31T23:56:32.000Z
from mlflow.entities.model_registry.registered_model import RegisteredModel from mlflow.entities.model_registry.model_version import ModelVersion from mlflow.entities.model_registry.registered_model_tag import RegisteredModelTag from mlflow.entities.model_registry.model_version_tag import ModelVersionTag __all__ = [ ...
31.846154
82
0.833333
43
414
7.697674
0.325581
0.120846
0.217523
0.277946
0.537764
0.537764
0.537764
0
0
0
0
0
0.101449
414
12
83
34.5
0.889785
0
0
0
0
0
0.144928
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
3
a85823c79e6bb0dff78133a5a897a7c9d29e0663
141
py
Python
question_repo/apps/repo/validator.py
Quizas007/question_repo
e377257137077b17ed039b06d3d6990d56d63743
[ "Apache-2.0" ]
null
null
null
question_repo/apps/repo/validator.py
Quizas007/question_repo
e377257137077b17ed039b06d3d6990d56d63743
[ "Apache-2.0" ]
3
2020-02-12T03:00:58.000Z
2021-06-10T21:46:14.000Z
question_repo/apps/repo/validator.py
Quizas007/question_repo
e377257137077b17ed039b06d3d6990d56d63743
[ "Apache-2.0" ]
1
2021-07-10T16:47:03.000Z
2021-07-10T16:47:03.000Z
from django.core.exceptions import ValidationError def valid_difficulty(n): if n > 5 or n <1: raise ValidationError("难度介于1到5之间")
28.2
50
0.723404
19
141
5.315789
0.842105
0
0
0
0
0
0
0
0
0
0
0.035088
0.191489
141
5
51
28.2
0.850877
0
0
0
0
0
0.06338
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
a880ba2c024630c27bb4f1acc4bb0608d243ed72
157
py
Python
ui/data/polygon.py
Simi4/imgmalibu
820221f0cbce177bec3bef51c147847533d19768
[ "MIT" ]
null
null
null
ui/data/polygon.py
Simi4/imgmalibu
820221f0cbce177bec3bef51c147847533d19768
[ "MIT" ]
null
null
null
ui/data/polygon.py
Simi4/imgmalibu
820221f0cbce177bec3bef51c147847533d19768
[ "MIT" ]
null
null
null
polygon = [ [2000, 1333], [2000, 300], [500, 900], [0, 1333], [2000, 1333] ] ''' polygon = [ [0, 0], [0, 600], [900, 600], [1800, 0], [0, 0] ] '''
9.235294
14
0.426752
22
157
3.045455
0.409091
0.119403
0.089552
0
0
0
0
0
0
0
0
0.452991
0.254777
157
17
15
9.235294
0.119658
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
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
a88fc587b822615ff56475180e9cb37e3c5cad51
61
py
Python
FastApi/sima/src/apps/comment/__init__.py
parker-pu/SiMa
58353d79c99c0ac05d27960b57705ac3b94f528d
[ "MIT" ]
2
2020-12-11T05:46:36.000Z
2020-12-15T07:47:59.000Z
FastApi/sima/src/apps/comment/__init__.py
parker-pu/SiMa
58353d79c99c0ac05d27960b57705ac3b94f528d
[ "MIT" ]
null
null
null
FastApi/sima/src/apps/comment/__init__.py
parker-pu/SiMa
58353d79c99c0ac05d27960b57705ac3b94f528d
[ "MIT" ]
null
null
null
from src.apps.comment.urls import router __all__ = [router]
15.25
40
0.770492
9
61
4.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.131148
61
3
41
20.333333
0.811321
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
a8b062fdaee8df11d83cffa9d648c76e10ed43ac
942
py
Python
src/common/database.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
src/common/database.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
src/common/database.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
import pymongo class Database: URI = 'mongodb://127.0.0.1:27017' DATABASE = None @staticmethod def initialize(): client = pymongo.MongoClient(Database.URI) Database.DATABASE = client['fullstack'] @staticmethod def insert(collection, data): """Insert data into a collection""" Database.DATABASE[collectio...
26.914286
64
0.745223
113
942
6.19469
0.300885
0.128571
0.185714
0.115714
0.352857
0.3
0.3
0.3
0
0
0
0.013415
0.129512
942
35
65
26.914286
0.840244
0.200637
0
0.26087
0
0
0.046703
0.034341
0
0
0
0
0
1
0.26087
false
0
0.043478
0
0.521739
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a8b9432b2016c0b08979cca6d4d917338146132d
1,359
py
Python
python_patterns/factory_method.py
detector-m/AppPythonServer
93494d50a14f172434829db14a9ac920dee6d928
[ "MIT" ]
null
null
null
python_patterns/factory_method.py
detector-m/AppPythonServer
93494d50a14f172434829db14a9ac920dee6d928
[ "MIT" ]
null
null
null
python_patterns/factory_method.py
detector-m/AppPythonServer
93494d50a14f172434829db14a9ac920dee6d928
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @文件 :factory_method.py @说明 :工厂方法模式(Factory Method) https://www.cnblogs.com/taosiyu/p/11293949.html @时间 :2020/08/14 22:33:15 @作者 :Riven @版本 :1.0.0 ''' ''' 工厂方法模式(Factory Method): 定义一个用于创建对象的接口(工厂接口),让子类决定实例化哪一个产品类。 角色: 抽象工厂角色(Creat...
18.12
47
0.684327
154
1,359
5.948052
0.590909
0.070961
0.032751
0.049127
0.148472
0.148472
0.061135
0
0
0
0
0.029224
0.19426
1,359
74
48
18.364865
0.807306
0.166299
0
0.357143
0
0
0.04125
0
0
0
0
0
0
1
0.214286
false
0.071429
0.035714
0.071429
0.535714
0.071429
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
764332902250cc5717d123042918f759de7169a7
760
py
Python
setup.py
cloudify-incubator/cloudify-ecosystem-test
a3c514408b4295cb33cb2a7090d44825ed0d601f
[ "Apache-2.0" ]
1
2019-07-21T01:44:05.000Z
2019-07-21T01:44:05.000Z
setup.py
cloudify-incubator/cloudify-ecosystem-test
a3c514408b4295cb33cb2a7090d44825ed0d601f
[ "Apache-2.0" ]
2
2021-08-25T15:56:12.000Z
2022-02-22T19:03:40.000Z
setup.py
cloudify-incubator/cloudify-ecosystem-test
a3c514408b4295cb33cb2a7090d44825ed0d601f
[ "Apache-2.0" ]
3
2020-04-08T07:34:46.000Z
2020-05-19T07:46:58.000Z
from setuptools import setup, find_packages setup( name='cloudify-ecosystem-test', version='2.5.35', license='LICENSE', packages=find_packages(), description='Stuff that Ecosystem Tests Use', entry_points={ "console_scripts": [ "ecosystem-test = ecosystem_tests.ecosystem_tes...
25.333333
88
0.571053
81
760
5.17284
0.617284
0.200477
0.164678
0.200477
0.293556
0.293556
0.229117
0.229117
0
0
0
0.045788
0.281579
760
29
89
26.206897
0.721612
0
0
0
0
0
0.471053
0.206579
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
76544d950687cf8c90b343225bd49ef1faf2d0e8
19
py
Python
ttsplay/__init__.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
ttsplay/__init__.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
ttsplay/__init__.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
__all__=['ttsmake']
19
19
0.736842
2
19
5
1
0
0
0
0
0
0
0
0
0
0
0
0
19
1
19
19
0.526316
0
0
0
0
0
0.35
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
765e13f8b3e6f7cc02a3d2c2b759e118c73ccaf3
1,492
py
Python
chat/discord/discordprivatemessagingserver.py
squahtx/hal9000
80e13911d0cf240c786f016993cd18bb063e687f
[ "MIT" ]
null
null
null
chat/discord/discordprivatemessagingserver.py
squahtx/hal9000
80e13911d0cf240c786f016993cd18bb063e687f
[ "MIT" ]
null
null
null
chat/discord/discordprivatemessagingserver.py
squahtx/hal9000
80e13911d0cf240c786f016993cd18bb063e687f
[ "MIT" ]
null
null
null
from base import InternedCollection from base import InternedNamedCollection from chat import ChatServer from .discordchatchannel import DiscordChatChannel from .discorduser import DiscordUser class DiscordPrivateMessagingServer(ChatServer): def __init__(self, chatService, client): super(DiscordPrivateMess...
22.606061
115
0.753351
172
1,492
6.453488
0.27907
0.079279
0.048649
0.036036
0.054054
0.054054
0.054054
0.054054
0
0
0
0
0.151475
1,492
65
116
22.953846
0.876777
0.051609
0
0.195122
0
0
0.018479
0
0
0
0
0
0
1
0.317073
false
0
0.121951
0.243902
0.658537
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
7665d49ace301a6484cf99dc8f33bfb400681b15
436
py
Python
SourceCode/Module13/PartB/taxi.py
hackettccp/CIS106SampleCode
0717fa0f6dc0c48bc51f16ab44e7425b186a35c3
[ "MIT" ]
2
2019-10-23T03:25:37.000Z
2021-02-23T04:09:03.000Z
SourceCode/Module13/PartB/taxi.py
hackettccp/CIS106
0717fa0f6dc0c48bc51f16ab44e7425b186a35c3
[ "MIT" ]
null
null
null
SourceCode/Module13/PartB/taxi.py
hackettccp/CIS106
0717fa0f6dc0c48bc51f16ab44e7425b186a35c3
[ "MIT" ]
null
null
null
#Imports the Bus and Car object from bus import Bus from car import Car """ Taxi Object. """ #Class Header class Taxi(Bus, Car) : #Initializer def __init__(self, make_in, model_in, year_in, riders_in , doors_in) : Bus.__init__(self, make_in, model_in, year_in, riders_in) Car.__init__(self, make_in, model...
18.956522
72
0.704128
71
436
3.971831
0.380282
0.085106
0.12766
0.148936
0.343972
0.343972
0.343972
0.343972
0.248227
0.248227
0
0.005698
0.194954
436
22
73
19.818182
0.797721
0.165138
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
76680d9a29f730f10a7575a645f2be66fcc9f794
96
py
Python
exe0403.py
juniorpedroso/Curso-Intensivo-de-Python
4357e313660e77f5e43bb516c1b19fd979de5070
[ "MIT" ]
null
null
null
exe0403.py
juniorpedroso/Curso-Intensivo-de-Python
4357e313660e77f5e43bb516c1b19fd979de5070
[ "MIT" ]
null
null
null
exe0403.py
juniorpedroso/Curso-Intensivo-de-Python
4357e313660e77f5e43bb516c1b19fd979de5070
[ "MIT" ]
null
null
null
# Exercício 4.3 - List Comprehensions numbers = [value for value in range(1, 21)] print(numbers)
32
43
0.739583
15
96
4.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0.060976
0.145833
96
3
44
32
0.804878
0.364583
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
767c2c558186a8f222a9f474e8fe993746b0cd4b
137
py
Python
actions/video.py
paulomcnally/pi-voice
feda3210f7cde72b98d263a8dce66d699bbc3608
[ "Apache-2.0" ]
1
2019-02-13T04:58:30.000Z
2019-02-13T04:58:30.000Z
actions/video.py
paulomcnally/pi-voice
feda3210f7cde72b98d263a8dce66d699bbc3608
[ "Apache-2.0" ]
null
null
null
actions/video.py
paulomcnally/pi-voice
feda3210f7cde72b98d263a8dce66d699bbc3608
[ "Apache-2.0" ]
null
null
null
import subprocess class Video: @staticmethod def run(): subprocess.run(['sh', '/home/pi/pi-voice/actions/video.sh'])
13.7
68
0.627737
17
137
5.058824
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.211679
137
9
69
15.222222
0.796296
0
0
0
0
0
0.266667
0.251852
0
0
0
0
0
1
0.2
true
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
76802fd02ee62a8298ab64644a7c0a734f1b8ac4
618
py
Python
Exercises/grade_determiner.py
Peabody29/Python_Projects-ST
e15eec8ac00a501c09296163c9adaf25ca928f5b
[ "MIT" ]
null
null
null
Exercises/grade_determiner.py
Peabody29/Python_Projects-ST
e15eec8ac00a501c09296163c9adaf25ca928f5b
[ "MIT" ]
null
null
null
Exercises/grade_determiner.py
Peabody29/Python_Projects-ST
e15eec8ac00a501c09296163c9adaf25ca928f5b
[ "MIT" ]
null
null
null
"""This program takes a score between 0.0 and 1.0 and returns an appropriate grade for score inputted""" try: grade = float(input('Enter your score: ')) if grade < 0.6: print('Your score', grade, 'is F') elif 0.6 <= grade <= 0.7: print('Your score', grade, 'is D') elif 0.7 <= grade <= 0....
34.333333
53
0.556634
100
618
3.44
0.37
0.18314
0.244186
0.331395
0.406977
0.162791
0.162791
0.162791
0
0
0
0.053571
0.275081
618
18
54
34.333333
0.714286
0.158576
0
0
0
0
0.236893
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4375
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
0
1
0
3
76982a83c32ac92a125693c769876e40c85112a2
14,334
py
Python
Code-Sleep-Python/Encryption-Techniques/AES/tables.py
shardul08/Code-Sleep-Python
b76e6eccca62f92d6064eaeeaadc385a6f2b39d8
[ "MIT" ]
420
2017-05-13T13:43:46.000Z
2022-03-29T20:22:39.000Z
Code-Sleep-Python/Encryption-Techniques/AES/tables.py
shardul08/Code-Sleep-Python
b76e6eccca62f92d6064eaeeaadc385a6f2b39d8
[ "MIT" ]
162
2017-10-04T15:48:10.000Z
2022-02-04T07:32:07.000Z
Code-Sleep-Python/Encryption-Techniques/AES/tables.py
shardul08/Code-Sleep-Python
b76e6eccca62f92d6064eaeeaadc385a6f2b39d8
[ "MIT" ]
280
2017-10-04T16:20:04.000Z
2022-02-04T07:15:06.000Z
sbox = [ 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76, 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0, 0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15, 0x04, 0xC7, 0x23, 0...
87.93865
107
0.649086
2,337
14,334
3.978177
0.114677
0.005163
0.006454
0.008605
0.111434
0.111434
0.111434
0.110143
0.110143
0.110143
0
0.4483
0.187666
14,334
163
108
87.93865
0.350137
0
0
0
0
0
0
0
0
0
0.642902
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
76a38ade7678aadad9c41229f564a52de61cfa79
1,356
py
Python
src/comparators/compare_functions/__init__.py
asd249180/similarity_and_matching
225cbc4850a790a37ea18d4c519a4306e9db3590
[ "Apache-2.0" ]
null
null
null
src/comparators/compare_functions/__init__.py
asd249180/similarity_and_matching
225cbc4850a790a37ea18d4c519a4306e9db3590
[ "Apache-2.0" ]
null
null
null
src/comparators/compare_functions/__init__.py
asd249180/similarity_and_matching
225cbc4850a790a37ea18d4c519a4306e9db3590
[ "Apache-2.0" ]
null
null
null
from src.comparators.compare_functions.cka import cka from src.comparators.compare_functions.cca import cca from src.comparators.compare_functions.l2 import l2 from src.comparators.compare_functions.ps_inv import ps_inv from src.comparators.compare_functions.correlation import correlation from src.comparators.compare_f...
36.648649
76
0.738201
186
1,356
5.139785
0.204301
0.095188
0.24477
0.339958
0.483264
0.23431
0
0
0
0
0
0.007201
0.180678
1,356
36
77
37.666667
0.853285
0
0
0
0
0
0.061209
0
0
0
0
0
0
1
0.03125
false
0
0.40625
0
0.46875
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
1
0
0
0
0
3
76bbd7448813cebfd9cf6fd600cd4702412b43e6
1,344
py
Python
vel/modules/layers.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
vel/modules/layers.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
vel/modules/layers.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
""" Code (partially) based on: https://github.com/fastai/fastai/blob/master/fastai/layers.py """ import torch import torch.nn as nn from vel.util.tensor_util import one_hot_encoding class AdaptiveConcatPool2d(nn.Module): """ Concat pooling - combined average pool and max pool """ def __init__(self, sz=None):...
22.4
63
0.620536
180
1,344
4.361111
0.383333
0.071338
0.070064
0.095541
0.187261
0.107006
0.107006
0.107006
0.107006
0.107006
0
0.007843
0.241071
1,344
59
64
22.779661
0.761765
0.196429
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.30303
false
0
0.090909
0.151515
0.69697
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
76c4d00a3bee177f4d43fb4b3713233f4ea4188e
5,147
py
Python
app/models.py
francismuk/blog
bc96dd423777805fa6175ecd0fc5c06aec845166
[ "MIT" ]
null
null
null
app/models.py
francismuk/blog
bc96dd423777805fa6175ecd0fc5c06aec845166
[ "MIT" ]
null
null
null
app/models.py
francismuk/blog
bc96dd423777805fa6175ecd0fc5c06aec845166
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from . import login_manager from sqlalchemy.sql import func @login_manager.user_loader def load_user(user_id): ''' @login_manager.user_loader Passes in a user_id to this function ...
29.924419
120
0.656693
686
5,147
4.811953
0.182216
0.033929
0.042411
0.029082
0.44017
0.349591
0.299909
0.266586
0.225689
0.215389
0
0.003916
0.255877
5,147
172
121
29.924419
0.857963
0.368176
0
0.235294
1
0
0.064155
0
0
0
0
0
0
1
0.176471
false
0.132353
0.073529
0.029412
0.720588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
4f11dc06734383b7c7359584bb6e11ee5ad272a1
262
py
Python
metadeploy/api/migrations/0053_merge_20190213_1622.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
33
2019-03-20T15:34:39.000Z
2022-03-30T15:59:40.000Z
metadeploy/api/migrations/0053_merge_20190213_1622.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
2,718
2019-02-27T19:46:07.000Z
2022-03-11T23:18:09.000Z
metadeploy/api/migrations/0053_merge_20190213_1622.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
28
2019-03-28T04:57:16.000Z
2022-02-04T16:49:25.000Z
# Generated by Django 2.1.7 on 2019-02-13 16:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("api", "0052_merge_20190213_1447"), ("api", "0052_merge_20190213_1501"), ] operations = []
18.714286
47
0.652672
33
262
5
0.787879
0.084848
0.145455
0.242424
0
0
0
0
0
0
0
0.230392
0.221374
262
13
48
20.153846
0.578431
0.171756
0
0
1
0
0.251163
0.223256
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f2163d4f9075aaa8bcd5eba84b93cbdae7b46a5
9,241
py
Python
ext/roles.py
kenunotdeveloper/leaks.ro-discord-bot
5795d68776c7c6d642c36e3a2d6163a2505918b2
[ "MIT" ]
null
null
null
ext/roles.py
kenunotdeveloper/leaks.ro-discord-bot
5795d68776c7c6d642c36e3a2d6163a2505918b2
[ "MIT" ]
null
null
null
ext/roles.py
kenunotdeveloper/leaks.ro-discord-bot
5795d68776c7c6d642c36e3a2d6163a2505918b2
[ "MIT" ]
1
2020-12-27T20:39:26.000Z
2020-12-27T20:39:26.000Z
import discord from discord.ext import commands import os, datetime import re import asyncio import aiohttp import json import feedparser import time class Roles: def __init__(self, bot): self.bot = bot self.loop = bot.loop self._leaks = {} self._it = {} self._web = {} self._samp = {}...
51.625698
165
0.689428
1,435
9,241
4.345645
0.119861
0.042656
0.065427
0.03592
0.831623
0.81703
0.759622
0.647691
0.640314
0.598942
0
0.045564
0.149767
9,241
178
166
51.91573
0.747614
0.008008
0
0.372671
0
0.093168
0.274032
0.041389
0
0
0
0
0
1
0.012422
false
0.037267
0.055901
0
0.080745
0.062112
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f2b25a1573383ff22f90c67738847c60b40d5ad
170
py
Python
bread/tests/urls.py
basxsoftwareassociation/bread
062ec82a565f81eff51ea91dc0f211139bc7fe96
[ "Apache-2.0", "BSD-3-Clause" ]
13
2021-01-19T08:28:08.000Z
2022-01-28T03:44:34.000Z
bread/tests/urls.py
basxsoftwareassociation/bread
062ec82a565f81eff51ea91dc0f211139bc7fe96
[ "Apache-2.0", "BSD-3-Clause" ]
80
2020-12-07T04:37:39.000Z
2022-03-08T14:42:13.000Z
bread/tests/urls.py
basxsoftwareassociation/bread
062ec82a565f81eff51ea91dc0f211139bc7fe96
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-12-03T15:06:53.000Z
2021-03-16T03:47:29.000Z
from django.contrib import admin from django.urls import include, path urlpatterns = [ path("admin/", admin.site.urls), path("bread/", include("bread.urls")), ]
21.25
42
0.688235
22
170
5.318182
0.5
0.17094
0
0
0
0
0
0
0
0
0
0
0.152941
170
7
43
24.285714
0.8125
0
0
0
0
0
0.129412
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
4f431f44423bce7fa92b2c14331b9135c79ac92b
223
py
Python
daiquiri/core/management/commands/show_databases.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
14
2018-12-23T18:35:02.000Z
2021-12-15T04:55:12.000Z
daiquiri/core/management/commands/show_databases.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
40
2018-12-20T12:44:05.000Z
2022-03-21T11:35:20.000Z
daiquiri/core/management/commands/show_databases.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
5
2019-05-16T08:03:35.000Z
2021-08-23T20:03:11.000Z
import pprint from django.conf import settings from django.core.management.base import BaseCommand class Command(BaseCommand): def handle(self, *args, **options): pprint.pprint(settings.DATABASES, indent=4)
20.272727
51
0.753363
28
223
6
0.714286
0.119048
0
0
0
0
0
0
0
0
0
0.005291
0.152466
223
10
52
22.3
0.883598
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4f4942fe401ad76ece784f9dfb81369e0b919af5
357
py
Python
copycat/replacement.py
jalanb/co.py.cat
63ba9612a6ee62435c129ae5d04179db258c9c9c
[ "MIT" ]
27
2015-04-22T02:48:48.000Z
2021-07-21T18:07:52.000Z
copycat/replacement.py
jalanb/co.py.cat
63ba9612a6ee62435c129ae5d04179db258c9c9c
[ "MIT" ]
8
2015-05-31T00:33:36.000Z
2022-02-18T16:06:55.000Z
copycat/replacement.py
jalanb/co.py.cat
63ba9612a6ee62435c129ae5d04179db258c9c9c
[ "MIT" ]
12
2015-05-15T18:06:53.000Z
2021-04-26T13:33:57.000Z
from .workspace_structure import WorkspaceStructure class Replacement(WorkspaceStructure): def __init__(self, object_from_initial, object_from_modified, relation): WorkspaceStructure.__init__(self) self.object_from_initial = object_from_initial self.object_from_modified = object_from_modif...
35.7
76
0.781513
38
357
6.789474
0.368421
0.232558
0.162791
0.162791
0.24031
0.24031
0
0
0
0
0
0
0.165266
357
9
77
39.666667
0.865772
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f6d3da01581681283c466c11dc48c9f7dc82381
86
py
Python
doc_v3/apps.py
julics129/clinic_v3
67438bd537886714e8c243d7909d270d38f3c4ad
[ "MIT" ]
null
null
null
doc_v3/apps.py
julics129/clinic_v3
67438bd537886714e8c243d7909d270d38f3c4ad
[ "MIT" ]
null
null
null
doc_v3/apps.py
julics129/clinic_v3
67438bd537886714e8c243d7909d270d38f3c4ad
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DocV3Config(AppConfig): name = 'doc_v3'
14.333333
33
0.744186
11
86
5.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.028169
0.174419
86
5
34
17.2
0.859155
0
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4f70ef7be3b374aa0877827fb9db926a624f9efb
564
py
Python
web/schema/__init__.py
ShenTengTu/py_sms_impl
604c8d66c2a4762975016595af83a108df0d14f4
[ "MIT" ]
null
null
null
web/schema/__init__.py
ShenTengTu/py_sms_impl
604c8d66c2a4762975016595af83a108df0d14f4
[ "MIT" ]
null
null
null
web/schema/__init__.py
ShenTengTu/py_sms_impl
604c8d66c2a4762975016595af83a108df0d14f4
[ "MIT" ]
null
null
null
from functools import lru_cache from pydantic import BaseSettings, BaseModel class StringConstraint(BaseModel): min_length: int = None max_length: int = None regex: str = None class _Constraints(BaseSettings): user_id: StringConstraint = StringConstraint( min_length=4, max_length=32, regex=r...
24.521739
87
0.643617
70
564
5.014286
0.471429
0.034188
0.074074
0.233618
0.05698
0.05698
0.05698
0
0
0
0
0.023656
0.175532
564
22
88
25.636364
0.731183
0
0
0
0
0.0625
0.152482
0.152482
0
0
0
0
0
1
0.0625
true
0.0625
0.125
0.0625
0.6875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
4f834fa617ddded06c55e4a6d4400d4076d6f633
484
py
Python
setup.py
messa/aiohttp-request-id-logging
c76b1148741a1922dad0a7e85e880dad31b8809c
[ "MIT" ]
8
2019-11-13T14:36:32.000Z
2022-03-04T15:11:16.000Z
setup.py
messa/aiohttp-request-id-logging
c76b1148741a1922dad0a7e85e880dad31b8809c
[ "MIT" ]
1
2020-01-15T15:30:12.000Z
2020-01-15T15:30:12.000Z
setup.py
messa/aiohttp-request-id-logging
c76b1148741a1922dad0a7e85e880dad31b8809c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='aiohttp-request-id-logging', version='0.0.1', description='Setup proper request id logging for your Aiohttp app', classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3....
26.888889
71
0.623967
55
484
5.436364
0.654545
0.190635
0.250836
0.26087
0
0
0
0
0
0
0
0.026738
0.227273
484
17
72
28.470588
0.772727
0.043388
0
0
0
0
0.454545
0.056277
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4f9fdd6b25b16c0531a4437b643dd830f576fd2a
33
py
Python
thrift/__init__.py
PythonRebirth/SB
d20f757752461c7ca68d0e5c086a490bcc47df94
[ "MIT" ]
1
2021-05-02T12:03:01.000Z
2021-05-02T12:03:01.000Z
thrift/__init__.py
PythonRebirth/SB
d20f757752461c7ca68d0e5c086a490bcc47df94
[ "MIT" ]
null
null
null
thrift/__init__.py
PythonRebirth/SB
d20f757752461c7ca68d0e5c086a490bcc47df94
[ "MIT" ]
1
2021-08-11T16:42:16.000Z
2021-08-11T16:42:16.000Z
__all__ = ['unverting', 'Boxup']
16.5
32
0.636364
3
33
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.586207
0
0
0
0
0
0.424242
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
96e4967148b96d59da43f21daaae305b1631e580
300
py
Python
ethereum_common/src/ethereum_common/nodes.py
Vourhey/robonomics_comm
1b7c6dc85985909cb925d82b1081ec556423029e
[ "BSD-3-Clause" ]
16
2017-11-15T15:20:34.000Z
2021-08-05T03:08:13.000Z
ethereum_common/src/ethereum_common/nodes.py
aang1985/robonomics_comm
4f7a339e01cbd00fc0f51405c77d89d6ae5e0d7d
[ "BSD-3-Clause" ]
80
2018-02-08T22:44:41.000Z
2021-07-15T10:12:09.000Z
ethereum_common/src/ethereum_common/nodes.py
aang1985/robonomics_comm
4f7a339e01cbd00fc0f51405c77d89d6ae5e0d7d
[ "BSD-3-Clause" ]
13
2018-02-08T14:22:26.000Z
2021-11-20T00:29:14.000Z
# -*- coding: utf-8 -*- # # ethereum common related nodes. # from .erc20_services import ERC20Services from .eth_services import ETHServices from .signer import Signer def erc20_node(): ERC20Services().spin() def eth_node(): ETHServices().spin() def signer_node(): Signer().spin()
14.285714
41
0.693333
36
300
5.638889
0.5
0.137931
0
0
0
0
0
0
0
0
0
0.03629
0.173333
300
20
42
15
0.782258
0.173333
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
3
96f7d22e2bd29022be009281db5e867217754dba
21
py
Python
ckan_cloud_operator/providers/users/gcloud/constants.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
14
2019-11-18T12:01:03.000Z
2021-09-15T15:29:50.000Z
ckan_cloud_operator/providers/users/gcloud/constants.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
52
2019-09-09T14:22:41.000Z
2021-09-29T08:29:24.000Z
ckan_cloud_operator/providers/users/gcloud/constants.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
8
2019-10-05T12:46:25.000Z
2021-09-15T15:13:05.000Z
PROVIDER_ID='gcloud'
10.5
20
0.809524
3
21
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.047619
21
1
21
21
0.8
0
0
0
0
0
0.285714
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
8c0376c3c44a8fd1cf9f6e45ed7efef2554a6e4c
398
py
Python
fractal/core/command_bus/command_handler.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
2
2021-08-12T05:19:08.000Z
2022-01-29T16:22:37.000Z
fractal/core/command_bus/command_handler.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
fractal/core/command_bus/command_handler.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List, Type from fractal.core.command_bus.command import Command class CommandHandler(ABC): @abstractmethod def commands(self) -> List[Type[Command]]: """Returns list of commands that this handler can handle.""" @abstractmethod def handle...
26.533333
68
0.708543
49
398
5.734694
0.55102
0.120996
0
0
0
0
0
0
0
0
0
0
0.193467
398
14
69
28.428571
0.875389
0.231156
0
0.25
0
0
0
0
0
0
0
0
0
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
8c0674f0c2097a4cb3043e7f0ce28d874e3cde4e
629
py
Python
Aula12/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
3
2021-02-08T22:29:57.000Z
2022-03-28T21:36:23.000Z
Aula12/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
1
2021-12-22T17:21:12.000Z
2021-12-22T17:21:12.000Z
Aula12/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
null
null
null
#open("caminho","r") # Mode # r - Leitura # a - Append / incrementar # w - Escrita # x - Criar Arquivo # r+ - Leitura + Escrita arquivo = open("Aula12/test3.txt","x") print(arquivo.readable()) print(arquivo.read()) print(arquivo.readline()) print(arquivo.readline()) print(arquivo.readline()) print(arquivo.readline()...
16.128205
38
0.691574
87
629
4.988506
0.482759
0.193548
0.184332
0.172811
0.184332
0.184332
0.184332
0.184332
0.184332
0
0
0.021544
0.114467
629
39
39
16.128205
0.75763
0.18124
0
0.2
0
0
0.212181
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.45
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
0
1
0
3
8c1402b3e83f95f07bdaed250bba5eabfe14ada3
4,718
py
Python
pychron/pipeline/nodes/base.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
31
2016-03-07T02:38:17.000Z
2022-02-14T18:23:43.000Z
pychron/pipeline/nodes/base.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
1,626
2015-01-07T04:52:35.000Z
2022-03-25T19:15:59.000Z
pychron/pipeline/nodes/base.py
UIllinoisHALPychron/pychron
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
[ "Apache-2.0" ]
26
2015-05-23T00:10:06.000Z
2022-03-07T16:51:57.000Z
# =============================================================================== # Copyright 2015 Jake Ross # # 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...
25.365591
81
0.561043
515
4,718
4.932039
0.316505
0.024803
0.021654
0.012598
0.050394
0
0
0
0
0
0
0.002687
0.289953
4,718
185
82
25.502703
0.755522
0.212166
0
0.205128
0
0
0.012453
0
0
0
0
0
0
1
0.213675
false
0.094017
0.034188
0.017094
0.521368
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
8c1cfbd74cd3b4c47266058614c5a76e116bd394
79
py
Python
twisted/plugins/txgsm_plugin.py
smn/txgsm
5ee35ee4dc8dec40a6bc2023744e7c8745e38c1d
[ "BSD-3-Clause" ]
12
2015-06-08T20:55:04.000Z
2020-09-29T14:07:09.000Z
twisted/plugins/txgsm_plugin.py
smn/txgsm
5ee35ee4dc8dec40a6bc2023744e7c8745e38c1d
[ "BSD-3-Clause" ]
13
2015-11-06T20:30:56.000Z
2019-02-21T05:10:06.000Z
twisted/plugins/txgsm_plugin.py
smn/txgsm
5ee35ee4dc8dec40a6bc2023744e7c8745e38c1d
[ "BSD-3-Clause" ]
7
2015-06-13T12:17:58.000Z
2021-12-14T06:49:31.000Z
from txgsm.service import TxGSMServiceMaker serviceMaker = TxGSMServiceMaker()
26.333333
43
0.860759
7
79
9.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.088608
79
2
44
39.5
0.944444
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
8c272a42d11944181c91eb3c1b7ae56faa19a7e1
496
py
Python
source/funwithflags/entities/auth.py
zywangzy/fun_with_flags
ab2fccfc8a56513d842aa7fda81f3f4224f89be3
[ "MIT" ]
null
null
null
source/funwithflags/entities/auth.py
zywangzy/fun_with_flags
ab2fccfc8a56513d842aa7fda81f3f4224f89be3
[ "MIT" ]
26
2019-08-24T05:54:37.000Z
2020-04-06T01:23:29.000Z
source/funwithflags/entities/auth.py
andrewwangzy/fun_with_flags
ab2fccfc8a56513d842aa7fda81f3f4224f89be3
[ "MIT" ]
null
null
null
"""Module for authentication utilities.""" import bcrypt def hash_password_with_salt(password: str, salt: bytes) -> bytes: """Hash a password string with a salt bytes.""" return bcrypt.hashpw(bytes(password.encode()), salt) def generate_salt_hash_password(password: str) -> (bytes, bytes): """Hash a pass...
35.428571
108
0.72379
67
496
5.223881
0.358209
0.102857
0.091429
0.114286
0.348571
0.188571
0.188571
0
0
0
0
0
0.155242
496
13
109
38.153846
0.835322
0.356855
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.666667
0.166667
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
8c40ccf554ad759e7e24597ee3237f92a00bfa5f
495
py
Python
src/shopping_cart/migrations/0002_auto_20180531_0944.py
ciphertz/final
28cf265b0e3f1e71cd95d2bd90b5662ad6f3d4a6
[ "bzip2-1.0.6" ]
null
null
null
src/shopping_cart/migrations/0002_auto_20180531_0944.py
ciphertz/final
28cf265b0e3f1e71cd95d2bd90b5662ad6f3d4a6
[ "bzip2-1.0.6" ]
null
null
null
src/shopping_cart/migrations/0002_auto_20180531_0944.py
ciphertz/final
28cf265b0e3f1e71cd95d2bd90b5662ad6f3d4a6
[ "bzip2-1.0.6" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-05-31 09:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shopping_cart', '0001_initial'), ] operations = [ migrations.RemoveField( ...
20.625
48
0.579798
50
495
5.54
0.72
0.151625
0.187726
0.216607
0.281588
0.281588
0
0
0
0
0
0.06087
0.30303
495
23
49
21.521739
0.742029
0.137374
0
0.375
1
0
0.125
0
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c47226c46d6f449f235487576773fdd6a29dd75
9,712
py
Python
test.py
l-bdx/iso639
bde4ff7f21e93bd20df0d78cd4a1f753f77d64c5
[ "MIT" ]
6
2020-11-04T17:30:12.000Z
2022-03-09T20:21:53.000Z
test.py
l-bdx/iso639
bde4ff7f21e93bd20df0d78cd4a1f753f77d64c5
[ "MIT" ]
6
2020-07-23T06:10:23.000Z
2022-03-19T09:58:33.000Z
test.py
l-bdx/iso639
bde4ff7f21e93bd20df0d78cd4a1f753f77d64c5
[ "MIT" ]
2
2020-07-23T06:01:44.000Z
2020-11-04T19:12:10.000Z
import unittest from iso639 import Lang, iter_langs from iso639.exceptions import InvalidLanguageValue, DeprecatedLanguageValue class TestLang(unittest.TestCase): """Test the Lang class.""" lang_vals = {tg: set(d.keys()) for tg, d in Lang._data.items()} lang_vals["changed_to"] = { d["change_to"] ...
31.738562
75
0.5764
1,121
9,712
4.859054
0.125781
0.212043
0.19038
0.124839
0.561594
0.526345
0.505049
0.453093
0.357077
0.339453
0
0.016952
0.283258
9,712
305
76
31.842623
0.765551
0.002059
0
0.408
0
0
0.05766
0
0
0
0
0
0.42
1
0.188
false
0
0.012
0
0.208
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
1
0
0
0
0
0
0
0
0
0
3
4fbdaa3d597e832a40aaadfef9798771d9d87fa4
258
py
Python
multi_ear_services/util/__init__.py
Multi-EAR/Multi-EAR-software
50f753a5e6779a0d8283a43c3708bb0cd7cfc3fb
[ "MIT" ]
null
null
null
multi_ear_services/util/__init__.py
Multi-EAR/Multi-EAR-software
50f753a5e6779a0d8283a43c3708bb0cd7cfc3fb
[ "MIT" ]
8
2021-11-19T10:15:55.000Z
2022-01-14T21:10:22.000Z
multi_ear_services/util/__init__.py
Multi-EAR/Multi-EAR-software
50f753a5e6779a0d8283a43c3708bb0cd7cfc3fb
[ "MIT" ]
null
null
null
""" multi_ear_services.util init """ # import all modules from ..util.dataselect import DataSelect from ..util.is_raspberry_pi import is_raspberry_pi from ..util.parse_config import parse_config __all__ = ['DataSelect', 'is_raspberry_pi', 'parse_config']
21.5
59
0.782946
36
258
5.194444
0.416667
0.128342
0.208556
0
0
0
0
0
0
0
0
0
0.108527
258
11
60
23.454545
0.813043
0.186047
0
0
0
0
0.183168
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4fc7d2b65149e2c4e1c73728c02227156fbbf1ad
301
py
Python
setup.py
alserranor/distributions
ff40d451036e4d5218fe729203ae3af8cbef2e2d
[ "MIT" ]
null
null
null
setup.py
alserranor/distributions
ff40d451036e4d5218fe729203ae3af8cbef2e2d
[ "MIT" ]
null
null
null
setup.py
alserranor/distributions
ff40d451036e4d5218fe729203ae3af8cbef2e2d
[ "MIT" ]
null
null
null
from setuptools import setup setup(name = 'statDistributions', version = '1.0', description = 'Gaussian and Binominal distributions', packages = ['statDistributions'], author = 'Alberto Serrano', author_email = 'albertoserranoreigosa@gmail.com', zip_safe = False)
30.1
59
0.674419
28
301
7.178571
0.892857
0
0
0
0
0
0
0
0
0
0
0.008511
0.219269
301
9
60
33.444444
0.846809
0
0
0
0
0
0.395349
0.10299
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
4fcc6af12256d4e2b2a5664c0837fe7c1dc28f4d
7,040
py
Python
in-develop/src/autobridge/Codegen/InjectPipelineLogic.py
Blaok/AutoBridge
e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670
[ "MIT" ]
76
2020-12-30T05:47:35.000Z
2022-02-21T20:05:20.000Z
in-develop/src/autobridge/Codegen/InjectPipelineLogic.py
Blaok/AutoBridge
e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670
[ "MIT" ]
16
2021-01-08T23:49:08.000Z
2022-03-28T22:08:31.000Z
in-develop/src/autobridge/Codegen/InjectPipelineLogic.py
Blaok/AutoBridge
e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670
[ "MIT" ]
15
2021-03-02T05:56:58.000Z
2021-12-23T01:28:25.000Z
from collections import defaultdict from typing import List, Dict from autobridge.Opt.Slot import Slot def get_ap_start_pipeline_def(slot_list: List[Slot], pipeline_level=4) -> List[str]: pipeline_def = [] pipeline_def.append(f'// ----- pipelining the ap_start signal -----') pipeline_def.append(f'wire ap_st...
45.714286
258
0.708381
1,097
7,040
4.206016
0.106655
0.147811
0.173169
0.183355
0.783485
0.736021
0.680971
0.680971
0.649328
0.605765
0
0.005681
0.149858
7,040
153
259
46.013072
0.765246
0.110085
0
0.405941
0
0.069307
0.441808
0.230362
0
0
0
0
0.009901
1
0.039604
false
0
0.029703
0
0.09901
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fcf28599fd170dd46f2c93607ba5a03836fba00
1,573
py
Python
src/templates/django/boilerplate/settings/development.py
GBrachetta/frames
d0f4151307d7922b8ff9fe19ed7b85b00a41e435
[ "MIT" ]
null
null
null
src/templates/django/boilerplate/settings/development.py
GBrachetta/frames
d0f4151307d7922b8ff9fe19ed7b85b00a41e435
[ "MIT" ]
4
2021-05-23T19:45:36.000Z
2021-06-19T09:07:16.000Z
src/templates/django/boilerplate/settings/development.py
GBrachetta/frames
d0f4151307d7922b8ff9fe19ed7b85b00a41e435
[ "MIT" ]
2
2021-05-23T18:29:39.000Z
2021-05-24T10:52:07.000Z
import os # Import below from the common config as needed, and append to the list (+=) from boilerplate.settings.common import INSTALLED_APPS, MIDDLEWARE DEBUG = True ALLOWED_HOSTS = [ os.environ.get("DOMAIN_NAME"), # Add in .env "localhost", "127.0.0.1", ] INSTALLED_APPS += [ "debug_toolbar", ...
28.6
76
0.72918
177
1,573
6.299435
0.502825
0.193722
0.242152
0.010762
0
0
0
0
0
0
0
0.011169
0.146217
1,573
54
77
29.12963
0.819062
0.089002
0
0
0
0
0.629552
0.551821
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fd32fa143000fae8a06b2cf3b260957f51670f0
435
py
Python
qiskit/transpiler/propertyset.py
jagunnels/qiskit-sdk-py
153cdde972e65c0f23675bbe17c93e18be27bd51
[ "Apache-2.0" ]
null
null
null
qiskit/transpiler/propertyset.py
jagunnels/qiskit-sdk-py
153cdde972e65c0f23675bbe17c93e18be27bd51
[ "Apache-2.0" ]
null
null
null
qiskit/transpiler/propertyset.py
jagunnels/qiskit-sdk-py
153cdde972e65c0f23675bbe17c93e18be27bd51
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018, IBM. # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. """ A property set is maintained by the PassManager to keep information about the current state of the circuit """ class Pr...
25.588235
77
0.703448
64
435
4.71875
0.8125
0.066225
0
0
0
0
0
0
0
0
0
0.02029
0.206897
435
16
78
27.1875
0.855072
0.747126
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4fd611a7a00389575128f381a11fff151390d2ab
5,836
py
Python
test/test_pwm_setup.py
mrtnschltr/CHIP_IO
84df4376f83bb4de2b4e2f77447cb75704ebdaf4
[ "MIT" ]
295
2016-03-06T14:16:17.000Z
2022-03-25T18:36:19.000Z
test/test_pwm_setup.py
OG-kingstatement/CHIP_IO
50a524cca72f1cb0af0adeed9cf97365ffed4b74
[ "MIT" ]
80
2016-03-25T18:37:38.000Z
2021-03-06T09:17:14.000Z
test/test_pwm_setup.py
OG-kingstatement/CHIP_IO
50a524cca72f1cb0af0adeed9cf97365ffed4b74
[ "MIT" ]
68
2016-04-07T15:58:04.000Z
2021-11-07T23:37:44.000Z
import pytest import os import time import CHIP_IO.PWM as PWM import CHIP_IO.OverlayManager as OM import CHIP_IO.Utilities as UT def setup_module(module): if not UT.is_chip_pro(): OM.load("PWM0") def teardown_module(module): PWM.cleanup() if not UT.is_chip_pro(): OM.unload("PWM0") class ...
31.545946
77
0.622687
764
5,836
4.513089
0.129581
0.074246
0.060905
0.060325
0.859339
0.836427
0.775232
0.678944
0.596578
0.484919
0
0.039663
0.248287
5,836
184
78
31.717391
0.746296
0.011309
0
0.578571
0
0
0.081498
0.025143
0
0
0
0
0.121429
1
0.2
false
0
0.042857
0
0.25
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fe0ae1b481be477907699569c9432310305f283
97
py
Python
useroptions/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
null
null
null
useroptions/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
null
null
null
useroptions/apps.py
VisheshJain112/predective-ai
2faf16f31020d5e3a5e5a13da6a3ad9310ff55dc
[ "MIT" ]
null
null
null
from django.apps import AppConfig class UseroptionsConfig(AppConfig): name = 'useroptions'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4fea730588020ddd6c8de7e57f27ee63c33dabb5
65
py
Python
zuoye/5.py
ASAv123456789/ASAv
3623c19bb4e7a4b5a268528e5c4291fa118bdb81
[ "Apache-2.0" ]
null
null
null
zuoye/5.py
ASAv123456789/ASAv
3623c19bb4e7a4b5a268528e5c4291fa118bdb81
[ "Apache-2.0" ]
null
null
null
zuoye/5.py
ASAv123456789/ASAv
3623c19bb4e7a4b5a268528e5c4291fa118bdb81
[ "Apache-2.0" ]
null
null
null
ce,nll=input("<<") lx=ce*(nll/1200) print("The interest is",lx)
13
27
0.630769
12
65
3.416667
0.75
0.243902
0
0
0
0
0
0
0
0
0
0.067797
0.092308
65
4
28
16.25
0.627119
0
0
0
0
0
0.265625
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4ff5562fc8d7425fc1c68b8fc104ed5b36f3659f
178
py
Python
Ex003.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
Ex003.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
Ex003.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
valor1 = int(input('Digite um valor:')) valor2 = int(input('Digite outro valor:')) soma = valor1 + valor2 print(f'A soma entre os valores {valor1} e {valor2} é igual a {soma}!')
35.6
71
0.685393
29
178
4.206897
0.62069
0.131148
0.229508
0
0
0
0
0
0
0
0
0.039735
0.151685
178
4
72
44.5
0.768212
0
0
0
0
0
0.539326
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b03f0a12e428951485c79dc10fbc9727534fe3a
348
py
Python
runtime/hetdesrun/adapters/local_file/utils.py
mmalki-neusta/hetida-designer
6a4e7af627ff68b5daaf91313265fbec9a207694
[ "MIT" ]
41
2020-11-18T10:12:29.000Z
2022-03-28T21:46:41.000Z
runtime/hetdesrun/adapters/local_file/utils.py
mmalki-neusta/hetida-designer
6a4e7af627ff68b5daaf91313265fbec9a207694
[ "MIT" ]
4
2020-12-08T15:28:15.000Z
2022-02-01T11:40:17.000Z
runtime/hetdesrun/adapters/local_file/utils.py
mmalki-neusta/hetida-designer
6a4e7af627ff68b5daaf91313265fbec9a207694
[ "MIT" ]
14
2020-11-18T11:39:17.000Z
2022-03-21T15:05:11.000Z
def to_url_representation(path: str) -> str: """Convert path to a representation that can be used in urls/queries""" return path.replace("_", "-_-").replace("/", "__") def from_url_representation(url_rep: str) -> str: """Reconvert url representation of path to actual path""" return url_rep.replace("__...
38.666667
75
0.66092
44
348
4.909091
0.5
0.236111
0
0
0
0
0
0
0
0
0
0
0.158046
348
8
76
43.5
0.737201
0.336207
0
0
0
0
0.063636
0
0
0
0
0
0
1
0.5
false
0
0
0
1
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
1
0
0
0
0
0
0
0
3
8b130081f7bd2f847a32056b0953fc97e09de9f0
650
py
Python
Python/Behavioral/Strategy.py
mildmelon/design-patterns-for-humans-python
141b1ea2b25634ffa9e174d8fe51b923b75b31c6
[ "CC-BY-4.0" ]
10
2019-11-21T23:43:55.000Z
2021-09-14T23:48:52.000Z
Python/Behavioral/Strategy.py
mildmelon/design-patterns-for-humans-python
141b1ea2b25634ffa9e174d8fe51b923b75b31c6
[ "CC-BY-4.0" ]
null
null
null
Python/Behavioral/Strategy.py
mildmelon/design-patterns-for-humans-python
141b1ea2b25634ffa9e174d8fe51b923b75b31c6
[ "CC-BY-4.0" ]
1
2021-01-13T13:25:45.000Z
2021-01-13T13:25:45.000Z
class SortStrategy: def sort(self, dataset): pass class BubbleSortStrategy(SortStrategy): def sort(self, dataset): print('Sorting using bubble sort') return dataset class QuickSortStrategy(SortStrategy): def sort(self, dataset): print('Sorting using quick sort') re...
20.967742
42
0.669231
74
650
5.783784
0.324324
0.065421
0.102804
0.168224
0.28972
0.219626
0.219626
0.219626
0
0
0
0.011952
0.227692
650
31
43
20.967742
0.840637
0
0
0.363636
0
0
0.075269
0
0
0
0
0
0
1
0.227273
false
0.045455
0
0.045455
0.590909
0.090909
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
8b4bb35aaed893283f67a270e03dc5d662578392
350
py
Python
Swish_Function.py
Ali-Sahili/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
5
2021-05-17T06:52:28.000Z
2022-02-20T15:35:51.000Z
Swish_Function.py
WN1695173791/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
null
null
null
Swish_Function.py
WN1695173791/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
1
2021-05-17T06:52:33.000Z
2021-05-17T06:52:33.000Z
import torch import torch.nn as nn class Swish(nn.Module): def __init__(self): super().__init__() def forward(self, x): return x * torch.sigmoid(x) """ class Swish(nn.Module): def forward(self, input): return (input * torch.sigmoid(input)) def __repr__(self): return self._...
14.583333
42
0.617143
45
350
4.355556
0.4
0.112245
0.122449
0.183673
0.214286
0
0
0
0
0
0
0
0.237143
350
23
43
15.217391
0.734082
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
8c72cf57b074556e99c640ab1e89c24929a63eda
142
py
Python
Aula55_0403_TDD/par/calcula_se_um_numero_eh_par.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula55_0403_TDD/par/calcula_se_um_numero_eh_par.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula55_0403_TDD/par/calcula_se_um_numero_eh_par.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
def calcula_se_um_numero_eh_par(numero): if type(numero) == int: if numero % 2 == 0: return True return False
23.666667
40
0.577465
20
142
3.85
0.75
0
0
0
0
0
0
0
0
0
0
0.021277
0.338028
142
5
41
28.4
0.797872
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
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
8c7d262eec6a162bb6ae56380f192daba95032dc
44
py
Python
for.py
praveenpmin/Python
513fcde7430b03a187e2c7e58302b88645388eed
[ "MIT" ]
null
null
null
for.py
praveenpmin/Python
513fcde7430b03a187e2c7e58302b88645388eed
[ "MIT" ]
null
null
null
for.py
praveenpmin/Python
513fcde7430b03a187e2c7e58302b88645388eed
[ "MIT" ]
null
null
null
s = "Hello World" for i in s : print (i)
14.666667
17
0.545455
9
44
2.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.318182
44
3
18
14.666667
0.8
0
0
0
0
0
0.244444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
8c7e1da54c5ee6fee85933f758f409edb2b79a54
28,784
py
Python
client/python/lib/tests/tfs_compat_grpc/config.py
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
null
null
null
client/python/lib/tests/tfs_compat_grpc/config.py
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
null
null
null
client/python/lib/tests/tfs_compat_grpc/config.py
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2021 Intel Corporation # # 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...
37.140645
123
0.568476
2,959
28,784
5.243325
0.095302
0.049307
0.058975
0.039188
0.811795
0.769191
0.734902
0.691267
0.628682
0.594264
0
0.032841
0.3018
28,784
774
124
37.18863
0.739165
0.1102
0
0.427711
0
0.001506
0.332642
0.064759
0
0
0.003759
0
0
1
0
false
0
0.019578
0
0.019578
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c8b35a5bcb8311d2dae4b23c2a1bd7c53cd6734
1,335
py
Python
FWCore/GuiBrowsers/python/Vispa/Share/ParticleDataAccessor.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
FWCore/GuiBrowsers/python/Vispa/Share/ParticleDataAccessor.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
FWCore/GuiBrowsers/python/Vispa/Share/ParticleDataAccessor.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
class ParticleDataAccessor(object): """ This class provides access to the underlying data model. """ LINE_STYLE_SOLID = 0 LINE_STYLE_DASH = 1 LINE_STYLE_WAVE = 2 LINE_STYLE_SPIRAL = 3 LINE_VERTEX = 4 def id(self, object): """ Returns an id to identify given object. ...
26.176471
85
0.63221
134
1,335
6.231343
0.462687
0.131737
0.323353
0.325749
0.354491
0
0
0
0
0
0
0.005441
0.31161
1,335
51
86
26.176471
0.903156
0.182022
0
0.366667
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.633333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8ca46a06311193d3af211def782d2b1e960a0c93
136
py
Python
#1 Mundo/#9/25.py
Henrique-Navarro/phyton
26d66847afa2b15c254677a36eb22f7558816b59
[ "MIT" ]
null
null
null
#1 Mundo/#9/25.py
Henrique-Navarro/phyton
26d66847afa2b15c254677a36eb22f7558816b59
[ "MIT" ]
null
null
null
#1 Mundo/#9/25.py
Henrique-Navarro/phyton
26d66847afa2b15c254677a36eb22f7558816b59
[ "MIT" ]
null
null
null
nome= str(input('Digite um nome: ')) print(nome.upper().find('SILVA')) print('seu nome tem silva? {}' .format('silva' in nome.lower()))
34
64
0.654412
21
136
4.238095
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.102941
136
4
64
34
0.729508
0
0
0
0
0
0.350365
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8ca63f11b62454dd1139ba33a1da36a013104d1d
302
py
Python
tests/sys/host_sim_test.py
south-coast-science/scs_host_cpc
08b4a28c022936462b60823cca136ba6746eac57
[ "MIT" ]
null
null
null
tests/sys/host_sim_test.py
south-coast-science/scs_host_cpc
08b4a28c022936462b60823cca136ba6746eac57
[ "MIT" ]
null
null
null
tests/sys/host_sim_test.py
south-coast-science/scs_host_cpc
08b4a28c022936462b60823cca136ba6746eac57
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Created on 24 Mar 2021 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ from scs_host.sys.host import Host # -------------------------------------------------------------------------------------------------------------------- sim = Host.sim() print(sim)
17.764706
118
0.427152
28
302
4.571429
0.75
0.171875
0
0
0
0
0
0
0
0
0
0.025735
0.099338
302
16
119
18.875
0.444853
0.731788
0
0
0
0
0
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8cba6b3a68a7d293ebf6969fae3249456bd40df6
873
py
Python
Digits.py
brucestull/RaspberryPiClock
1e04947625bc35d02680f0a00ec2a2a5455742d3
[ "MIT" ]
null
null
null
Digits.py
brucestull/RaspberryPiClock
1e04947625bc35d02680f0a00ec2a2a5455742d3
[ "MIT" ]
null
null
null
Digits.py
brucestull/RaspberryPiClock
1e04947625bc35d02680f0a00ec2a2a5455742d3
[ "MIT" ]
null
null
null
# ============================================================================================= # # ============================================================================================= # # 2 16 20 3 4 21 # GPIO Pin number # | | | | | | # --...
34.92
95
0.20504
67
873
2.671642
0.567164
0.201117
0.145251
0
0
0
0
0
0
0
0
0.09697
0.43299
873
24
96
36.375
0.264646
0.87858
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8cc59810bc9433a95a5cd58ce5d3d6644997cbef
379
py
Python
malcolm/modules/aravisGigE/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
11
2016-10-04T23:11:39.000Z
2022-01-25T15:44:43.000Z
malcolm/modules/aravisGigE/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
153
2016-06-01T13:31:02.000Z
2022-03-31T11:17:18.000Z
malcolm/modules/aravisGigE/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
16
2016-06-10T13:45:27.000Z
2020-10-24T13:45:04.000Z
from malcolm.yamlutil import check_yaml_names, make_block_creator aravisGigE_driver_block = make_block_creator(__file__, "aravisGigE_driver_block.yaml") aravisGigE_runnable_block = make_block_creator( __file__, "aravisGigE_runnable_block.yaml" ) aravisGigE_manager_block = make_block_creator(__file__, "aravisGigE_m...
37.9
88
0.852243
48
379
5.895833
0.354167
0.127208
0.226148
0.222615
0.371025
0.371025
0
0
0
0
0
0
0.073879
379
9
89
42.111111
0.806268
0
0
0
0
0
0.229551
0.229551
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
8cc8a79a39ad68b6d14c39f62a950badbc4efed3
8,817
py
Python
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_MainMenu.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_MainMenu.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_MainMenu.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
# Embedded file name: /usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_MainMenu.py from Plugins.Plugin import PluginDescriptor from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Screens.ChoiceBox import ChoiceBox from uuid import getnode as get_id from Screens.Console import Cons...
59.574324
1,708
0.719065
1,018
8,817
6.166994
0.301572
0.01784
0.010194
0.018159
0.413985
0.378146
0.358872
0.29468
0.29468
0.273654
0
0.05405
0.145968
8,817
147
1,709
59.979592
0.779681
0.010208
0
0.076923
0
0.015385
0.433926
0.152321
0
0
0
0
0
0
null
null
0
0.407692
null
null
0.007692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
50772b3daea7712a488681ad9859108c401f233e
279
py
Python
test/test_photokeeper.py
virantha/photokeeper
b3f2de7e81e1384be868f149bd972055a05fd867
[ "Apache-2.0" ]
null
null
null
test/test_photokeeper.py
virantha/photokeeper
b3f2de7e81e1384be868f149bd972055a05fd867
[ "Apache-2.0" ]
null
null
null
test/test_photokeeper.py
virantha/photokeeper
b3f2de7e81e1384be868f149bd972055a05fd867
[ "Apache-2.0" ]
null
null
null
import photokeeper.photokeeper as P import pytest import os import logging import smtplib from mock import Mock from mock import patch, call from mock import MagicMock from mock import PropertyMock class Testphotokeeper: def setup(self): self.p = P.PhotoKeeper()
16.411765
35
0.774194
39
279
5.538462
0.487179
0.148148
0.259259
0
0
0
0
0
0
0
0
0
0.18638
279
16
36
17.4375
0.951542
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.75
0
0.916667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
507b3a1811120b6ab44799150f91974dbe57a8aa
9,200
py
Python
maya/app/renderSetup/model/dragAndDropBehavior.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/model/dragAndDropBehavior.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/model/dragAndDropBehavior.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
""" This module provides the drag and drop base and concrete classes. They are derived from the API class MPxDragAndDropBehavior and are used to handle the connections to make when the user drops a node or an attribute on to another node or attribute. The interface to implement for each derived class is the followin...
34.586466
598
0.658913
1,059
9,200
5.694051
0.217186
0.017413
0.020066
0.01393
0.513765
0.447098
0.418076
0.3801
0.370149
0.331343
0
0.000153
0.288478
9,200
265
599
34.716981
0.92102
0.666304
0
0.346154
0
0
0.01273
0.01273
0
0
0
0
0
1
0.346154
false
0.346154
0.019231
0
0.653846
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
50c74194935138483180da8f8d9f7cb4200af9a6
146
py
Python
ryu/app/controller_heart_packet_check.py
wwmm1/MC
368c3b7d461e3b4573728f9d480d0be564e1e9ad
[ "Apache-2.0" ]
3
2020-08-02T15:01:01.000Z
2020-11-22T05:25:40.000Z
ryu/app/controller_heart_packet_check.py
wwmm1/MC
368c3b7d461e3b4573728f9d480d0be564e1e9ad
[ "Apache-2.0" ]
1
2020-11-22T05:44:51.000Z
2020-11-22T05:44:51.000Z
ryu/app/controller_heart_packet_check.py
wwmm1/MC
368c3b7d461e3b4573728f9d480d0be564e1e9ad
[ "Apache-2.0" ]
null
null
null
import schedule import time from multiple_Controller import SimpleSwitch13 s = SimpleSwitch13() s time.sleep(20) s.send_heartbeat_packet()
9.733333
46
0.794521
19
146
5.947368
0.684211
0.265487
0
0
0
0
0
0
0
0
0
0.048
0.143836
146
14
47
10.428571
0.856
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
50c98e455d88369b2c7bd8cfe7153c7d72308cf7
11,775
py
Python
src/models/pytorch/metrics.py
AntonioGUJ/AirwaySegmentation_Keras
7da4c88dfde6f0dd2f8f181b2d3fd07dc2d28638
[ "MIT" ]
15
2021-04-09T12:42:35.000Z
2022-03-22T09:01:57.000Z
src/models/pytorch/metrics.py
id-b3/bronchinet
5acf5243da2a0e38041bbbf2ffd033291eff13a4
[ "MIT" ]
13
2021-03-31T11:16:12.000Z
2022-02-10T06:11:16.000Z
src/models/pytorch/metrics.py
id-b3/bronchinet
5acf5243da2a0e38041bbbf2ffd033291eff13a4
[ "MIT" ]
9
2021-04-13T13:27:51.000Z
2022-02-25T07:03:25.000Z
from typing import Tuple import torch.nn as nn import torch from models.metrics import MetricBase _EPS = 1e-7 _SMOOTH = 1.0 LIST_AVAIL_METRICS = ['MeanSquaredError', 'MeanSquaredErrorLogarithmic', 'BinaryCrossEntropy', 'WeightedBinaryCrossEntropy', ...
44.266917
120
0.658769
1,455
11,775
5.024742
0.081787
0.138422
0.074408
0.089044
0.684448
0.667898
0.644098
0.618657
0.591027
0.551361
0
0.015376
0.221231
11,775
265
121
44.433962
0.781897
0.010786
0
0.300546
0
0
0.0323
0.012026
0
0
0
0
0
1
0.251366
false
0
0.021858
0.120219
0.551913
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
50d4a9db724ebe5d2d9b16c11a957fbf63d0ac71
887
py
Python
exercises/test_02_01.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
5
2021-05-03T05:09:17.000Z
2021-05-05T11:45:12.000Z
exercises/test_02_01.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
13
2021-06-10T20:10:25.000Z
2021-07-12T18:59:15.000Z
exercises/test_02_01.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
3
2021-05-01T00:08:07.000Z
2021-05-21T03:36:46.000Z
def test(): # if an assertion fails, the message will be displayed # --> must have the output in a comment assert "Mean: 5.0" in __solution__, "Did you record the correct program output as a comment?" # --> must have the output in a comment assert "Mean: 4.0" in __solution__, "Did you record the cor...
59.133333
107
0.706877
136
887
4.404412
0.375
0.083472
0.108514
0.133556
0.579299
0.482471
0.482471
0.482471
0.482471
0.377295
0
0.005739
0.214205
887
14
108
63.357143
0.853659
0.340474
0
0
0
0
0.580589
0
0
0
0
0.071429
0.714286
1
0.142857
true
0
0
0
0.142857
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
1
0
0
1
0
0
0
0
0
0
3
50d6b23b24d60b7cc2ab6f2c4ef8029609bab165
219
py
Python
madrona/openid/tests/__init__.py
movermeyer/madrona
fcdced0a03408754b88a3d88f416e04d500c32d4
[ "BSD-3-Clause" ]
9
2015-03-09T11:04:21.000Z
2022-01-16T09:45:36.000Z
madrona/openid/tests/__init__.py
movermeyer/madrona
fcdced0a03408754b88a3d88f416e04d500c32d4
[ "BSD-3-Clause" ]
1
2020-04-24T14:38:43.000Z
2020-04-24T14:38:43.000Z
madrona/openid/tests/__init__.py
movermeyer/madrona
fcdced0a03408754b88a3d88f416e04d500c32d4
[ "BSD-3-Clause" ]
2
2016-12-06T15:31:35.000Z
2018-03-04T20:04:44.000Z
import unittest def suite(): suite = unittest.TestSuite() for name in ['test_store']: mod = __import__('%s.%s' % (__name__, name), {}, {}, ['suite']) suite.addTest(mod.suite()) return suite
24.333333
71
0.575342
25
219
4.68
0.56
0.17094
0
0
0
0
0
0
0
0
0
0
0.237443
219
8
72
27.375
0.700599
0
0
0
0
0
0.091324
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
50e0184f2924628249de77df1f883aa5fc42d050
255
py
Python
layers/water_connection.py
JinIgarashi/postgis2qfield
31e3a2e954708e979b98a007ff75cb0b405e381b
[ "MIT" ]
2
2021-01-12T09:24:27.000Z
2021-07-12T08:56:16.000Z
layers/water_connection.py
JinIgarashi/postgis2qfield
31e3a2e954708e979b98a007ff75cb0b405e381b
[ "MIT" ]
10
2020-02-22T05:46:00.000Z
2021-05-04T07:55:37.000Z
layers/water_connection.py
JinIgarashi/postgis2qfield
31e3a2e954708e979b98a007ff75cb0b405e381b
[ "MIT" ]
2
2020-08-06T17:58:55.000Z
2021-07-12T08:56:23.000Z
from layers.layer_base import LayerBase class WaterConnection(LayerBase): def __init__(self): super().__init__("water_connection") self.parse_dates = ['input_date', 'meter_installation_date', 'connection_date', 'disconnection_date']
31.875
109
0.741176
28
255
6.178571
0.75
0
0
0
0
0
0
0
0
0
0
0
0.145098
255
7
110
36.428571
0.793578
0
0
0
0
0
0.321569
0.090196
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0fb3853838645968a2c9d271705680bdefc11781
702
py
Python
coursinary_app/migrations/0009_auto_20200510_0741.py
ranybal17/Coursinary
d3ce21b3a17706e547b871e6faba020f15f60509
[ "MIT" ]
null
null
null
coursinary_app/migrations/0009_auto_20200510_0741.py
ranybal17/Coursinary
d3ce21b3a17706e547b871e6faba020f15f60509
[ "MIT" ]
null
null
null
coursinary_app/migrations/0009_auto_20200510_0741.py
ranybal17/Coursinary
d3ce21b3a17706e547b871e6faba020f15f60509
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-10 07:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coursinary_app', '0008_auto_20200510_0739'), ] operations = [ migrations.AlterField( model_name='course', name='code...
24.206897
54
0.565527
70
702
5.514286
0.557143
0.15544
0.194301
0.225389
0.468912
0.393782
0.202073
0.202073
0
0
0
0.075472
0.320513
702
28
55
25.071429
0.733753
0.064103
0
0.545455
1
0
0.117557
0.035115
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3