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
e64a8568b52a1832a0a886a8d46529eefd7e6004
23
py
Python
MPUAPD_Rip.py
amrosado/BRFSS_Master
1bb3f0f6b26668cf1014976697a8aba29ffa7760
[ "MIT" ]
null
null
null
MPUAPD_Rip.py
amrosado/BRFSS_Master
1bb3f0f6b26668cf1014976697a8aba29ffa7760
[ "MIT" ]
null
null
null
MPUAPD_Rip.py
amrosado/BRFSS_Master
1bb3f0f6b26668cf1014976697a8aba29ffa7760
[ "MIT" ]
null
null
null
__author__ = 'arosado'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
e65db3158c371825167d3dce2be535cf55981fc2
274
py
Python
pyplan/pyplan/modelmanager/serializers/NodePropertySerializer.py
jorgedouglas71/pyplan-ide
5ad0e4a2592b5f2716ff680018f717c65de140f5
[ "MIT" ]
17
2019-12-04T19:22:19.000Z
2021-07-28T11:17:05.000Z
pyplan/pyplan/modelmanager/serializers/NodePropertySerializer.py
jorgedouglas71/pyplan-ide
5ad0e4a2592b5f2716ff680018f717c65de140f5
[ "MIT" ]
9
2019-12-13T15:34:43.000Z
2022-02-10T11:43:00.000Z
pyplan/pyplan/modelmanager/serializers/NodePropertySerializer.py
jorgedouglas71/pyplan-ide
5ad0e4a2592b5f2716ff680018f717c65de140f5
[ "MIT" ]
5
2019-12-04T15:57:06.000Z
2021-08-20T19:59:26.000Z
from rest_framework import serializers class NodePropertySerializer(serializers.Serializer): name = serializers.CharField(required=True, allow_blank=False, max_length=200) value = serializers.CharField(required=False, allow_blank=True, allow_null=True, default="")
45.666667
96
0.810219
32
274
6.78125
0.65625
0.184332
0.258065
0
0
0
0
0
0
0
0
0.012097
0.094891
274
5
97
54.8
0.862903
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
1
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
e661f72f9dbb36bbf7ba5105acab698ce68c4bce
139
py
Python
homeworks/aleksey_gukov/lesson09/level02.py
tgrx/Z22
b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff
[ "Apache-2.0" ]
null
null
null
homeworks/aleksey_gukov/lesson09/level02.py
tgrx/Z22
b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff
[ "Apache-2.0" ]
8
2019-11-15T18:15:56.000Z
2020-02-03T18:05:05.000Z
homeworks/aleksey_gukov/lesson09/level02.py
tgrx/Z22
b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff
[ "Apache-2.0" ]
null
null
null
def rotate_left(list_f, step): for _ in range(step): list_f.append(list_f.pop(0)) list_s = list_f[:] return list_s
23.166667
36
0.611511
24
139
3.208333
0.583333
0.25974
0
0
0
0
0
0
0
0
0
0.009804
0.266187
139
5
37
27.8
0.745098
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e665c89fef0429073d891d3130be6ad51c0bca4b
7,460
py
Python
scripts/ndvilog.py
omad/dratools
9c7edac30606f7d8105feb4db62ef1e567d20d3e
[ "Apache-2.0" ]
null
null
null
scripts/ndvilog.py
omad/dratools
9c7edac30606f7d8105feb4db62ef1e567d20d3e
[ "Apache-2.0" ]
null
null
null
scripts/ndvilog.py
omad/dratools
9c7edac30606f7d8105feb4db62ef1e567d20d3e
[ "Apache-2.0" ]
null
null
null
times = [{'writing_data': 6.627535581588745, 'ndvi_pc10': 27.36231303215027, 'loading_data': 109.62806057929993, 'ndvi_pc90': 21.421257734298706, 'ndvi_pc50': 27.33169937133789}, {'writing_data': 6.443411588668823, 'ndvi_pc10': 39.16243243217468, 'loading_data': 123.19368815422058, 'ndvi_pc90': 38.72961163520813, 'ndvi...
165.777778
178
0.781233
881
7,460
6.365494
0.331442
0.086305
0.083452
0
0
0
0
0
0
0
0
0.547592
0.059249
7,460
44
179
169.545455
0.251496
0
0
0
0
0
0.300804
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e66654b8447a56b134aceb85a995affba3faf8dc
168
py
Python
shop/products/urls.py
jsulopz/django-tutorial
a37361a9b715bd0d183d0d7bd69ef59aacd230d3
[ "MIT" ]
null
null
null
shop/products/urls.py
jsulopz/django-tutorial
a37361a9b715bd0d183d0d7bd69ef59aacd230d3
[ "MIT" ]
null
null
null
shop/products/urls.py
jsulopz/django-tutorial
a37361a9b715bd0d183d0d7bd69ef59aacd230d3
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.view_for_products, name='index'), path('pepa', views.new_view, name='pepa'), ]
21
52
0.678571
23
168
4.826087
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.160714
168
8
53
21
0.787234
0
0
0
0
0
0.076923
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
050da5298ea848311016c309c2041ee71e6847b8
614
py
Python
users/signals.py
maks-nurgazy/student-attendance-menegement
6389b02ee8309aacbadfeac135146ee7091a85bb
[ "MIT" ]
null
null
null
users/signals.py
maks-nurgazy/student-attendance-menegement
6389b02ee8309aacbadfeac135146ee7091a85bb
[ "MIT" ]
null
null
null
users/signals.py
maks-nurgazy/student-attendance-menegement
6389b02ee8309aacbadfeac135146ee7091a85bb
[ "MIT" ]
null
null
null
from django.core.signals import request_finished from django.db.models.signals import post_save from django.dispatch import receiver from users.models import User # @receiver(request_finished, sender=User) # def create_user_profile(sender, instance, created, **kwargs): # print(kwargs) # if created: # ...
29.238095
63
0.71987
78
614
5.538462
0.410256
0.069444
0.060185
0.115741
0
0
0
0
0
0
0
0
0.172638
614
20
64
30.7
0.850394
0.687296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
053f51cb4db6fe7eb0deb7288a51515320878c20
87
py
Python
utils/clear_terminal.py
LeandroLFE/capmon
9d1200301628ea4fec0e8ed09d5e9b67a426d923
[ "MIT" ]
null
null
null
utils/clear_terminal.py
LeandroLFE/capmon
9d1200301628ea4fec0e8ed09d5e9b67a426d923
[ "MIT" ]
null
null
null
utils/clear_terminal.py
LeandroLFE/capmon
9d1200301628ea4fec0e8ed09d5e9b67a426d923
[ "MIT" ]
null
null
null
from os import system, name clear_terminal = system('cls' if name == 'nt' else 'clear')
43.5
59
0.712644
14
87
4.357143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
2
59
43.5
0.824324
0
0
0
0
0
0.113636
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
0566abdb65db9fbc62bb3dc2a69e7540ff6a2ad1
339
py
Python
pystratis/api/federation/requestmodels/atheightrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/federation/requestmodels/atheightrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/federation/requestmodels/atheightrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.api import Model # noinspection PyUnresolvedReferences class AtHeightRequest(Model): """A request model for the federation/mineratheight and federationatheight endpoints. Args: block_height (int): The height to query. """ block_height: int = Field(al...
24.214286
89
0.743363
38
339
6.578947
0.736842
0.088
0.112
0
0
0
0
0
0
0
0
0
0.182891
339
13
90
26.076923
0.902527
0.504425
0
0
0
0
0.074324
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
05827522d49be07384007825cbee0282c1975d19
384
py
Python
nxbt/__init__.py
zfghterb721/nxbt
f27f9aec539199aad92a0edd2bf875649b31ea5b
[ "MIT" ]
257
2020-09-16T05:29:05.000Z
2022-03-31T07:38:01.000Z
nxbt/__init__.py
zfghterb721/nxbt
f27f9aec539199aad92a0edd2bf875649b31ea5b
[ "MIT" ]
48
2020-10-18T00:52:13.000Z
2022-03-27T02:02:21.000Z
nxbt/__init__.py
zfghterb721/nxbt
f27f9aec539199aad92a0edd2bf875649b31ea5b
[ "MIT" ]
37
2020-09-16T05:50:05.000Z
2022-03-31T21:39:55.000Z
from .controller import ControllerServer from .controller import ControllerProtocol from .controller import SwitchReportParser from .controller import SwitchResponses from .controller import Controller from .bluez import * from .nxbt import Nxbt from .nxbt import Buttons from .nxbt import Sticks from .nxbt import JOYCO...
29.538462
42
0.841146
50
384
6.4
0.3
0.15
0.2625
0.125
0
0
0
0
0
0
0
0
0.125
384
12
43
32
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
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
556747fbf93023c2764ce2504210ac942a3a6f29
1,027
py
Python
src/asphalt/serialization/serializers/pickle.py
Asphalt-framework/asphalt-serialization
07fbf1e2295e6e27c9b396f2b88943166759cf32
[ "Apache-2.0" ]
null
null
null
src/asphalt/serialization/serializers/pickle.py
Asphalt-framework/asphalt-serialization
07fbf1e2295e6e27c9b396f2b88943166759cf32
[ "Apache-2.0" ]
null
null
null
src/asphalt/serialization/serializers/pickle.py
Asphalt-framework/asphalt-serialization
07fbf1e2295e6e27c9b396f2b88943166759cf32
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import pickle from typing import Any from ..api import Serializer class PickleSerializer(Serializer): """ Serializes objects using the standard library :mod:`pickle` module. .. warning:: This serializer is insecure because it allows execution of arbitrary code...
27.756757
85
0.685492
121
1,027
5.694215
0.570248
0.047896
0.091437
0
0
0
0
0
0
0
0
0.002528
0.229796
1,027
36
86
28.527778
0.868521
0.290166
0
0
0
0
0.129815
0.071327
0
0
0
0
0.055556
1
0.222222
false
0
0.222222
0.166667
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
558731a52addd34709dde7921bc67fe971c73ba9
99
py
Python
mywebsite/customercare/apps.py
Zadigo/ecommerce_template
a4572c3faeaeb9cd399351c0fd1f19a4ef94de27
[ "MIT" ]
16
2020-07-01T03:42:40.000Z
2022-02-21T21:02:27.000Z
mywebsite/customercare/apps.py
Zadigo/ecommerce_template
a4572c3faeaeb9cd399351c0fd1f19a4ef94de27
[ "MIT" ]
14
2020-11-19T18:55:28.000Z
2022-02-01T22:08:23.000Z
mywebsite/customercare/apps.py
Zadigo/ecommerce_template
a4572c3faeaeb9cd399351c0fd1f19a4ef94de27
[ "MIT" ]
7
2020-06-30T23:55:36.000Z
2021-11-12T00:06:40.000Z
from django.apps import AppConfig class CustomercareConfig(AppConfig): name = 'customercare'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
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
55873900a38007b737e2e82333a9960afdfbad3b
434
py
Python
cgi-bin/nph-sys-reboot.py
kuuen/drive-recorder
9fac7e629460d5358af417f759573bbbff83519d
[ "MIT" ]
null
null
null
cgi-bin/nph-sys-reboot.py
kuuen/drive-recorder
9fac7e629460d5358af417f759573bbbff83519d
[ "MIT" ]
null
null
null
cgi-bin/nph-sys-reboot.py
kuuen/drive-recorder
9fac7e629460d5358af417f759573bbbff83519d
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import os import subprocess import multrunchk import time # 多重起動チェック if multrunchk.chekMultipleRun('nph-sys-reboot.py', '') == False: print('HTTP/1.1 302 Found') print('Location: ../index.html') print('') quit() # 再起動コマンド発行。事前にvisudoに登録しておく必要がある subprocess.Popen(['...
17.36
64
0.679724
54
434
5.462963
0.62963
0.061017
0.067797
0.074576
0.311864
0.311864
0.311864
0.311864
0.311864
0.311864
0
0.031579
0.124424
434
24
65
18.083333
0.744737
0.218894
0
0.461538
0
0
0.345345
0
0
0
0
0
0
1
0
true
0
0.307692
0
0.307692
0.461538
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
0
1
0
3
55ad8013f89b7b4ed6a37bb911cfa22884a597fb
44,840
py
Python
pycolo/layers.py
sieben/pycolo
a272db31e33a384e050c0b68513b96ead76d10ae
[ "0BSD" ]
null
null
null
pycolo/layers.py
sieben/pycolo
a272db31e33a384e050c0b68513b96ead76d10ae
[ "0BSD" ]
1
2021-01-05T13:32:43.000Z
2021-01-05T13:32:43.000Z
pycolo/layers.py
remyleone/pycolo
a272db31e33a384e050c0b68513b96ead76d10ae
[ "0BSD" ]
1
2015-05-13T13:59:52.000Z
2015-05-13T13:59:52.000Z
# coding=utf-8 import logging import random from threading import Thread, Timer from pycolo import DEFAULT_OVERALL_TIMEOUT from pycolo.message import Message class Layer: """ An abstract Layer class that enforced a uniform interface for building a layered communications stack. """ receivers = list(...
38.259386
238
0.604862
4,253
44,840
6.351987
0.167411
0.055081
0.01799
0.008551
0.227392
0.179197
0.139182
0.121414
0.083065
0.05323
0
0.002562
0.295049
44,840
1,171
239
38.292058
0.852072
0.803747
0
0.536585
0
0
0
0
0
0
0
0.00427
0
1
0.402439
false
0.012195
0.030488
0
0.54878
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e951b065304a1d1aaefd84a7567d6fc5594c4297
5,243
py
Python
flask_identity/mixins.py
SolardiaX/flask-identity
1af5c6b8422abd434f3b534d72c22adb0d435679
[ "MIT" ]
null
null
null
flask_identity/mixins.py
SolardiaX/flask-identity
1af5c6b8422abd434f3b534d72c22adb0d435679
[ "MIT" ]
null
null
null
flask_identity/mixins.py
SolardiaX/flask-identity
1af5c6b8422abd434f3b534d72c22adb0d435679
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ identity.mixins ~~~~~~~~~~~~~~~~~~~ Mixins of Flask-Identity :author: solardiax <solardiax@hotmail.com> :copyright: (c) 2020 by DreamEx Works. :license: GPL-3.0, see LICENSE for more details. """ # noinspection PyUnresolvedReferences class RoleMixin(object): "...
29.621469
91
0.611673
592
5,243
5.221284
0.277027
0.023293
0.025235
0.031058
0.296344
0.225817
0.159172
0.087997
0.087997
0.087997
0
0.002737
0.303071
5,243
176
92
29.789773
0.843186
0.345031
0
0.481013
0
0
0.045556
0
0
0
0
0
0
1
0.21519
false
0.025316
0.037975
0.126582
0.582278
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
e95c3417ff52f5d1b48338785a71f6559401b18d
856
py
Python
hio/server/fo/fo.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
78
2018-12-31T09:06:05.000Z
2022-03-28T09:02:11.000Z
hio/server/fo/fo.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
1
2018-02-19T17:34:00.000Z
2018-02-19T19:19:21.000Z
hio/server/fo/fo.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
27
2018-12-03T15:09:22.000Z
2022-03-22T09:55:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Created by tianhao.wang at 9/18/18 """ import abc import math import numpy as np from scipy.stats import norm class FO(object): __metaclass__ = abc.ABCMeta def __init__(self, args): self.args = args self.ee = 0.0 self.estimat...
18.212766
49
0.575935
111
856
4.324324
0.522523
0.072917
0.166667
0.1625
0
0
0
0
0
0
0
0.027491
0.320093
856
46
50
18.608696
0.797251
0.089953
0
0.290323
0
0
0
0
0
0
0
0
0
1
0.193548
false
0
0.129032
0.16129
0.548387
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
e9c9ff18cb418e9b07b8975619e6c01f149273f7
17,047
py
Python
Arlo.py
LenShustek/ArloCamera
c10b481f3ed6cf660846ccac5735ab2f0cd42e90
[ "MIT" ]
11
2016-05-15T17:01:31.000Z
2021-08-31T07:51:46.000Z
Arlo.py
LenShustek/ArloCamera
c10b481f3ed6cf660846ccac5735ab2f0cd42e90
[ "MIT" ]
1
2016-09-04T06:01:51.000Z
2016-09-21T00:17:58.000Z
Arlo.py
LenShustek/ArloCamera
c10b481f3ed6cf660846ccac5735ab2f0cd42e90
[ "MIT" ]
3
2016-01-19T22:46:13.000Z
2020-03-28T01:52:19.000Z
## # Copyright 2016 Jeffrey D. Walter # # 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 i...
48.291785
908
0.659412
1,890
17,047
5.87672
0.240212
0.020167
0.028811
0.034213
0.429639
0.402809
0.358603
0.354191
0.327541
0.289547
0
0.032018
0.17921
17,047
352
909
48.428977
0.761792
0.538687
0
0.306306
0
0
0.249115
0.002752
0
0
0
0
0
1
0.288288
false
0.072072
0.018018
0.207207
0.576577
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
e9d5ef34f4f1e3542bf02b5a42e224fd812cc2d5
354
py
Python
catalyst/dl/utils/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
null
null
null
catalyst/dl/utils/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
null
null
null
catalyst/dl/utils/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
null
null
null
# flake8: noqa from catalyst.utils import * # from .trace import * from .callbacks import process_callbacks from .criterion import ( accuracy, average_accuracy, dice, f1_score, iou, jaccard, mean_average_accuracy, reduced_focal_loss, sigmoid_focal_loss ) from .torch import get_loader, process_components from ....
29.5
65
0.80226
46
354
5.913043
0.630435
0.073529
0
0
0
0
0
0
0
0
0
0.006536
0.135593
354
11
66
32.181818
0.882353
0.09322
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.625
0
0.625
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
759b7ced84530f54c2df12b863106d9d265111fe
412
py
Python
bomber_monkey/features/player/player.py
MonkeyPatchIo/bomber-monkey
8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b
[ "MIT" ]
null
null
null
bomber_monkey/features/player/player.py
MonkeyPatchIo/bomber-monkey
8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b
[ "MIT" ]
null
null
null
bomber_monkey/features/player/player.py
MonkeyPatchIo/bomber-monkey
8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b
[ "MIT" ]
null
null
null
from bomber_monkey.features.player.player_slot import PlayerSlot from python_ecs.ecs import Component class Player(Component): def __init__(self, slot: PlayerSlot, power: int) -> None: super().__init__() self.power = power self.slot = slot @property def player_id(self): re...
22.888889
64
0.669903
52
412
5.057692
0.442308
0.121673
0.106464
0.136882
0
0
0
0
0
0
0
0
0.240291
412
17
65
24.235294
0.840256
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
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
75d7592a83afb095a37efba0a976f07a9d4a320c
407
py
Python
changetext/common_state.py
dfint/changetextpy_script
0481ab9225e070bfb17cfa0d194e1ed6c6c15e4d
[ "MIT" ]
null
null
null
changetext/common_state.py
dfint/changetextpy_script
0481ab9225e070bfb17cfa0d194e1ed6c6c15e4d
[ "MIT" ]
1
2021-11-03T06:53:22.000Z
2021-11-03T06:53:22.000Z
changetext/common_state.py
dfint/changetextpy_script
0481ab9225e070bfb17cfa0d194e1ed6c6c15e4d
[ "MIT" ]
null
null
null
class ChangeTextState: def __init__(self): self.prev_tail = '' self.context = None _change_text_state = None def init(): global _change_text_state _change_text_state = ChangeTextState() init() def get_state() -> ChangeTextState: global _change_text_state if _change_text_state...
17.695652
46
0.70516
48
407
5.416667
0.354167
0.269231
0.403846
0.146154
0
0
0
0
0
0
0
0
0.226044
407
22
47
18.5
0.825397
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.357143
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
75f5b186a011063efa4c17887c5384c8551e5511
413
py
Python
util/tree.py
aliaksandr-klimovich/sandbox
adab6b18f3d78a891c38609abc71b5d7a751919c
[ "Unlicense" ]
1
2020-12-25T18:21:18.000Z
2020-12-25T18:21:18.000Z
util/tree.py
aliaksandr-klimovich/sandbox
adab6b18f3d78a891c38609abc71b5d7a751919c
[ "Unlicense" ]
1
2021-02-11T15:05:59.000Z
2021-02-11T15:05:59.000Z
util/tree.py
aliaksandr-klimovich/sandbox
adab6b18f3d78a891c38609abc71b5d7a751919c
[ "Unlicense" ]
null
null
null
from collections import defaultdict class PrettyDefaultDict(defaultdict): def __str__(self): return dict.__str__(self) def __repr__(self): return dict.__repr__(self) def tree(): """ >>> t = tree() >>> t['a']['b']['c'] = 1 >>> t {'a': {'b': {'c': 1}}} """ return P...
16.52
37
0.559322
45
413
4.6
0.511111
0.067633
0.135266
0.038647
0.048309
0
0
0
0
0
0
0.006557
0.261501
413
24
38
17.208333
0.672131
0.164649
0
0
0
0
0.025237
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f93c35d57bdbb73dc7d2f76e61f5dbd04a57b802
96
py
Python
tests/test_exception.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
108
2015-02-04T14:16:51.000Z
2022-03-06T13:52:45.000Z
tests/test_exception.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
92
2015-01-19T14:58:06.000Z
2021-04-19T17:28:50.000Z
tests/test_exception.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
31
2015-03-03T23:53:59.000Z
2021-11-11T04:23:44.000Z
def y(): raise TypeError def x(): y() try: x() except TypeError: print("x")
7.384615
19
0.5
13
96
3.692308
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.333333
96
12
20
8
0.75
0
0
0
0
0
0.010417
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.125
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
1
0
0
0
0
0
0
3
f94214986bce56369b90ec0db6184c796c528aae
300
py
Python
data/juno_nominal/coordinates_reactors_equal.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
data/juno_nominal/coordinates_reactors_equal.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
data/juno_nominal/coordinates_reactors_equal.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
# nominal reactor positions data = dict([ ('YJ1', [52.5]), ('YJ2', [52.5]), ('YJ3', [52.5]), ('YJ4', [52.5]), ('YJ5', [52.5]), ('YJ6', [52.5]), ('TS1', [52.5]), ('TS2', [52.5]), ('TS3', [52.5]), ('TS4', [52.5]), ('DYB', [215.0]), ('HZ', [265.0]), ])
17.647059
27
0.346667
41
300
2.536585
0.536585
0.288462
0
0
0
0
0
0
0
0
0
0.220183
0.273333
300
16
28
18.75
0.256881
0.083333
0
0
0
0
0.128205
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
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
f955be5cd5c1b23ffcdfcc8c4ea4a60916313772
701
py
Python
taxman/calculator/summary.py
robinmitra/taxman
a7afc0b4a1449cd46e90cd3af05f4a5d65a8acbf
[ "MIT" ]
3
2019-01-07T13:08:59.000Z
2021-01-11T10:34:52.000Z
taxman/calculator/summary.py
robinmitra/taxman
a7afc0b4a1449cd46e90cd3af05f4a5d65a8acbf
[ "MIT" ]
null
null
null
taxman/calculator/summary.py
robinmitra/taxman
a7afc0b4a1449cd46e90cd3af05f4a5d65a8acbf
[ "MIT" ]
null
null
null
class Summary: def __init__(self, total_income, net_income, income_tax, employees_ni, employers_ni): self._total_income = total_income self._net_income = net_income self._income_tax = income_tax self._employees_ni = employees_ni self._employers_ni = employers...
24.172414
74
0.659058
85
701
4.976471
0.164706
0.130024
0.165485
0.094563
0
0
0
0
0
0
0
0
0.278174
701
28
75
25.035714
0.835968
0
0
0.217391
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0
0.217391
0.521739
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
f95addc59232628a2deac81ce824f616a4317ca3
227
py
Python
tools/polly/bin/detail/ios_dev_root.py
Kondr11/LABA7
7c5628192f8bac7ea68df725bc0529f8f94302bc
[ "MIT" ]
861
2015-02-03T10:20:11.000Z
2022-03-13T20:19:12.000Z
tools/polly/bin/detail/ios_dev_root.py
Kondr11/LABA7
7c5628192f8bac7ea68df725bc0529f8f94302bc
[ "MIT" ]
197
2015-04-15T20:13:30.000Z
2021-03-22T14:18:33.000Z
tools/polly/bin/detail/ios_dev_root.py
Kondr11/LABA7
7c5628192f8bac7ea68df725bc0529f8f94302bc
[ "MIT" ]
236
2015-03-05T19:52:07.000Z
2021-12-24T06:02:07.000Z
# Copyright (c) 2014, Ruslan Baratov # All rights reserved. import os import re def get(ios_version): dev_dir = re.sub(r'\.', '_', ios_version) dev_dir = 'IOS_{}_DEVELOPER_DIR'.format(dev_dir) return os.getenv(dev_dir)
20.636364
50
0.709251
36
227
4.194444
0.638889
0.15894
0.172185
0.211921
0
0
0
0
0
0
0
0.020725
0.14978
227
10
51
22.7
0.761658
0.242291
0
0
0
0
0.136095
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f9634b3fc173dcbff32d340a448316b1f290665f
164
py
Python
instructors/course-2015/functions_gens_and_ducks/examples/gen_lines_of_file.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
46
2017-09-27T20:19:36.000Z
2020-12-08T10:07:19.000Z
instructors/course-2015/functions_gens_and_ducks/examples/gen_lines_of_file.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
6
2018-01-09T08:07:37.000Z
2020-09-07T12:25:13.000Z
instructors/course-2015/functions_gens_and_ducks/examples/gen_lines_of_file.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
18
2017-10-10T02:06:51.000Z
2019-12-01T10:18:13.000Z
"""utility functions to read in and parse a file efficiently """ def gen_file_line(text): with open(text) as fp: for line in fp: yield line
23.428571
60
0.634146
26
164
3.923077
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.286585
164
7
61
23.428571
0.871795
0.347561
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f998d55860cb60330d4722550f0cd3c396cba071
527
py
Python
editor_api/helpers/executable_api.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
8
2020-06-28T07:50:29.000Z
2022-01-05T16:29:48.000Z
editor_api/helpers/executable_api.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
null
null
null
editor_api/helpers/executable_api.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
5
2020-06-28T07:50:31.000Z
2021-08-16T07:09:59.000Z
import json, sys class Unbuffered(object): def __init__(self, stream): self.stream = stream def write(self, data): self.stream.write(data) self.stream.flush() def writelines(self, datas): self.stream.writelines(datas) self.stream.flush() def __getattr__(self, attr): return getattr(s...
26.35
100
0.667932
69
527
4.971014
0.463768
0.204082
0.081633
0.104956
0
0
0
0
0
0
0
0.006993
0.185958
527
19
101
27.736842
0.792541
0
0
0.125
0
0
0.074144
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.0625
0.5625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f99b650e4e26f321485e30cd9938a83f3e79873d
404
py
Python
tests/beta_tests/test_grasshopper_if_else_syntax_debug.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/beta_tests/test_grasshopper_if_else_syntax_debug.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/beta_tests/test_grasshopper_if_else_syntax_debug.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_8.grasshopper_if_else_syntax_debug import checkAlive class CheckAliveTestCase(unittest.TestCase): def test_true_1(self): self.assertTrue(checkAlive(1)) def test_true_2(self): self.assertTrue(checkAlive(3)) def test_false_1(self): self.assertFalse(c...
22.444444
67
0.720297
53
404
5.245283
0.490566
0.100719
0.079137
0.201439
0
0
0
0
0
0
0
0.027273
0.183168
404
17
68
23.764706
0.815152
0
0
0
0
0
0
0
0
0
0
0
0.363636
1
0.363636
false
0
0.181818
0
0.636364
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
f9da27cb6e50b155cae8ccf9b2d900c966758ee9
284
py
Python
coursesessions/api/urls.py
s-wirth/thesis
a093dfb39a644b95509e2f5b25fbf3b2efa72545
[ "MIT" ]
null
null
null
coursesessions/api/urls.py
s-wirth/thesis
a093dfb39a644b95509e2f5b25fbf3b2efa72545
[ "MIT" ]
null
null
null
coursesessions/api/urls.py
s-wirth/thesis
a093dfb39a644b95509e2f5b25fbf3b2efa72545
[ "MIT" ]
null
null
null
from django.conf.urls import url from coursesessions.api.views import SessionListAPIView, SessionDetailAPIView urlpatterns = [ url(r'^$', SessionListAPIView.as_view(), name='session-list'), url(r'^(?P<pk>[0-9]+)/$', SessionDetailAPIView.as_view(), name='session-detail'), ]
31.555556
85
0.721831
34
284
5.970588
0.676471
0.039409
0.098522
0.167488
0
0
0
0
0
0
0
0.007843
0.102113
284
8
86
35.5
0.788235
0
0
0
0
0
0.158451
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
f9dd4554210e6bbb69453f81622bcccffb72124c
346
py
Python
main/controller/demo.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
main/controller/demo.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
main/controller/demo.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
from common.controller import get, router, post from service.demo import DemoService @router('/demos', tags=['demo']) class DemoController: def __init__(self, demo_service: DemoService) -> None: super().__init__() self.demo_service = demo_service @get("/?") def list(self): return...
23.066667
58
0.67052
41
346
5.365854
0.512195
0.2
0.204545
0.172727
0
0
0
0
0
0
0
0
0.199422
346
14
59
24.714286
0.794224
0
0
0
0
0
0.034682
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f9e49ed02fee4b9a0c608fb1f944e47bee3c6794
190
py
Python
helper/math/modular_exp.py
AlbertoDuarte/criptography
1778da9027d340c8aa96004258b2da0be5df22cd
[ "MIT" ]
null
null
null
helper/math/modular_exp.py
AlbertoDuarte/criptography
1778da9027d340c8aa96004258b2da0be5df22cd
[ "MIT" ]
null
null
null
helper/math/modular_exp.py
AlbertoDuarte/criptography
1778da9027d340c8aa96004258b2da0be5df22cd
[ "MIT" ]
null
null
null
def modular_exp(b, e, mod): if e == 0: return 1 res = modular_exp(b, e//2, mod) res = (res * res ) % mod if e%2 == 1: res = (res * b) % mod return res
15.833333
35
0.452632
32
190
2.625
0.375
0.214286
0.261905
0.285714
0
0
0
0
0
0
0
0.043478
0.394737
190
11
36
17.272727
0.686957
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ddb5a838b7d0b0ef5054b93e5a6e6d6f3dcd2a20
214
py
Python
api/purepage/dbinit.py
guyskk/purepage
64e2180b751e787f9fe477f9b212b31c84d34cfb
[ "MIT" ]
13
2016-05-03T07:56:43.000Z
2019-08-03T05:58:58.000Z
api/purepage/dbinit.py
guyskk/purepage
64e2180b751e787f9fe477f9b212b31c84d34cfb
[ "MIT" ]
null
null
null
api/purepage/dbinit.py
guyskk/purepage
64e2180b751e787f9fe477f9b212b31c84d34cfb
[ "MIT" ]
3
2016-06-04T12:49:34.000Z
2019-04-24T08:51:34.000Z
import rethinkdb as r setups = [ r.db_create("purepage"), r.table_create("user"), r.table_create("article"), r.table("user").index_create("email"), r.table("article").index_create("author"), ]
21.4
46
0.640187
29
214
4.551724
0.482759
0.181818
0.181818
0
0
0
0
0
0
0
0
0
0.158879
214
9
47
23.777778
0.733333
0
0
0
0
0
0.191589
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ddc387e07bc35d9e56baf7a3cf9d5e844877e550
43
py
Python
MovieRecEngine/__init__.py
MrR0b0t-23/MovieRecSys
09ac6edb15b58973b5affc52c7f566cf26e9df71
[ "MIT" ]
1
2021-04-03T08:41:23.000Z
2021-04-03T08:41:23.000Z
MovieRecEngine/__init__.py
MrR0b0t-23/MovieRecSys
09ac6edb15b58973b5affc52c7f566cf26e9df71
[ "MIT" ]
null
null
null
MovieRecEngine/__init__.py
MrR0b0t-23/MovieRecSys
09ac6edb15b58973b5affc52c7f566cf26e9df71
[ "MIT" ]
1
2021-06-23T04:14:12.000Z
2021-06-23T04:14:12.000Z
#version of module __version__ = "0.0.3"
14.333333
21
0.674419
7
43
3.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0.085714
0.186047
43
3
21
14.333333
0.628571
0.395349
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ddefb967dca5431defbe3d5e1aee38f006934e58
8,667
py
Python
demo/main.py
ZiyangTian/tsp
b198a358d95389b34b04b694a6c7883cf21b53f0
[ "MIT" ]
null
null
null
demo/main.py
ZiyangTian/tsp
b198a358d95389b34b04b694a6c7883cf21b53f0
[ "MIT" ]
null
null
null
demo/main.py
ZiyangTian/tsp
b198a358d95389b34b04b694a6c7883cf21b53f0
[ "MIT" ]
null
null
null
import os import numpy as np import pandas as pd import matplotlib.pyplot as plt import problems.tspn as tspn import solvers.rkga as rkga import solvers.opt as opt def tsp_test(): # data_file = os.path.join('demo', 'problems', 'tsp_1.txt') # parameters = np.array(pd.read_csv(data_file, sep=' ')) # param...
46.596774
119
0.673705
1,109
8,667
5.191163
0.251578
0.045857
0.025013
0.030571
0.709571
0.672746
0.645649
0.623068
0.60535
0.60535
0
0.418258
0.178493
8,667
185
120
46.848649
0.390309
0.09415
0
0.572414
0
0
0.023621
0.014045
0
0
0
0
0
1
0.027586
false
0
0.055172
0
0.082759
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
1
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
fb1a54d1e2d3dfebc90291c5e0d1d169089d4524
448
py
Python
firstapp/migrations/0010_auto_20220112_1420.py
vashuteotia123/SDSGems
8c0cf0d4fe4458f727a27d64804de3201b6b1c87
[ "MIT" ]
1
2022-02-06T13:00:05.000Z
2022-02-06T13:00:05.000Z
firstapp/migrations/0010_auto_20220112_1420.py
vashuteotia123/SDSGems
8c0cf0d4fe4458f727a27d64804de3201b6b1c87
[ "MIT" ]
null
null
null
firstapp/migrations/0010_auto_20220112_1420.py
vashuteotia123/SDSGems
8c0cf0d4fe4458f727a27d64804de3201b6b1c87
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2022-01-12 08:50 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('firstapp', '0009_auto_20220109_2022'), ] operations = [ migrations.RemoveField( model_name='salesreturn', name='amount', ...
20.363636
48
0.575893
43
448
5.860465
0.72093
0.166667
0.206349
0.238095
0.357143
0.357143
0
0
0
0
0
0.100977
0.314732
448
21
49
21.333333
0.71987
0.100446
0
0.4
1
0
0.177057
0.057357
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fb20a790c8fd091da659646d73f97e41353fcc03
1,079
py
Python
riskquant/model/poisson_frequency.py
confusedcrib/riskquant
27c46f8e6df62ba7faac27ed6d5745b5026fd9a5
[ "Apache-2.0" ]
567
2020-01-31T18:02:38.000Z
2022-03-24T14:36:39.000Z
riskquant/model/poisson_frequency.py
aspat20/riskquant
7321c880f4a3e13adb10c848199b52175d8d6999
[ "Apache-2.0" ]
14
2020-02-04T15:35:33.000Z
2020-11-04T20:45:30.000Z
riskquant/model/poisson_frequency.py
aspat20/riskquant
7321c880f4a3e13adb10c848199b52175d8d6999
[ "Apache-2.0" ]
49
2020-02-01T02:22:10.000Z
2022-03-31T21:28:09.000Z
"""A Poisson model suitable for frequency. Returns an array of ints. """ # Copyright 2019-2020 Netflix, Inc. # # 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.apac...
32.69697
76
0.696942
150
1,079
4.986667
0.646667
0.080214
0.034759
0.042781
0
0
0
0
0
0
0
0.016667
0.221501
1,079
32
77
33.71875
0.87381
0.63392
0
0
0
0
0.083558
0
0
0
0
0
0.1
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fb2af56963c1ad9298c94e031abe591ba698b168
64
py
Python
src/ConfigService/__init__.py
christopher-henderson/Tweeter
9acf716821b0c799e41acc77a800961343715370
[ "MIT" ]
null
null
null
src/ConfigService/__init__.py
christopher-henderson/Tweeter
9acf716821b0c799e41acc77a800961343715370
[ "MIT" ]
1
2015-04-25T17:54:07.000Z
2015-04-25T17:54:26.000Z
src/ConfigService/__init__.py
christopher-henderson/Tweeter
9acf716821b0c799e41acc77a800961343715370
[ "MIT" ]
null
null
null
from ConfigService import ConfigService Config = ConfigService()
32
39
0.859375
6
64
9.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.09375
64
2
40
32
0.948276
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
fb2b62529199fd8060d49d3d1a33c9e1c4b1288e
20
py
Python
smos_tools/__init__.py
ARGANS/smos-tools
4a0e5bb54fdef52725e30f14a6a971ebeeb71881
[ "MIT" ]
2
2019-04-10T08:40:12.000Z
2019-08-15T01:38:31.000Z
smos_tools/__init__.py
ARGANS/smos-tools
4a0e5bb54fdef52725e30f14a6a971ebeeb71881
[ "MIT" ]
null
null
null
smos_tools/__init__.py
ARGANS/smos-tools
4a0e5bb54fdef52725e30f14a6a971ebeeb71881
[ "MIT" ]
1
2019-08-03T05:29:30.000Z
2019-08-03T05:29:30.000Z
name = "smos_tools"
10
19
0.7
3
20
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.764706
0
0
0
0
0
0.5
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
34bc8cbd46ff35b772ab2afc492bfc0727b94fcb
63
py
Python
notebooks/solutions/visualize_00.py
cpaniaguam/pandas-head-to-tail
c809b6ae5834057c51006ecc908266e6d5d05b15
[ "CC-BY-4.0" ]
88
2016-12-29T06:49:10.000Z
2022-03-19T20:37:27.000Z
notebooks/solutions/visualize_00.py
paritosh666/pandas-head-to-tail
891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b
[ "CC-BY-4.0" ]
8
2018-06-17T21:47:27.000Z
2018-07-11T22:31:17.000Z
notebooks/solutions/visualize_00.py
paritosh666/pandas-head-to-tail
891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b
[ "CC-BY-4.0" ]
76
2016-12-30T08:56:28.000Z
2022-02-27T08:05:26.000Z
sns.factorplot('embarked', data=t, kind="count", hue="class");
31.5
62
0.68254
9
63
4.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.063492
63
1
63
63
0.728814
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
34bd1a095999687dfdfdef9f3d052398d7dd9fea
297
py
Python
api/v0/const.py
xmm/fstore
ad6afe96a455619d5c3db7a2b485d4e3281c18d2
[ "BSD-3-Clause" ]
1
2015-09-10T04:25:03.000Z
2015-09-10T04:25:03.000Z
api/v0/const.py
xmm/fstore
ad6afe96a455619d5c3db7a2b485d4e3281c18d2
[ "BSD-3-Clause" ]
1
2017-12-01T04:53:47.000Z
2017-12-01T04:53:47.000Z
api/v0/const.py
xmm/fstore
ad6afe96a455619d5c3db7a2b485d4e3281c18d2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ''' Copyright (c) 2014 @author: Marat Khayrullin <xmm.dev@gmail.com> ''' API_VERSION_V0 = 0 API_VERSION = API_VERSION_V0 bp_name = 'api_v0' api_v0_prefix = '{prefix}/v{version}'.format( prefix='/api', # current_app.config['URL_PREFIX'], version=API_VERSION_V0 )
19.8
55
0.680135
44
297
4.295455
0.590909
0.21164
0.190476
0.201058
0
0
0
0
0
0
0
0.043137
0.141414
297
14
56
21.214286
0.698039
0.407407
0
0
0
0
0.173653
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34d0904ccf466f373b1a0f29b6eeb9412f52ac07
190
py
Python
blackhathacker.py
bob34-byte/pytube
30d1e1d336b3b896c15f2ef1be5432dd92441f0e
[ "MIT" ]
null
null
null
blackhathacker.py
bob34-byte/pytube
30d1e1d336b3b896c15f2ef1be5432dd92441f0e
[ "MIT" ]
null
null
null
blackhathacker.py
bob34-byte/pytube
30d1e1d336b3b896c15f2ef1be5432dd92441f0e
[ "MIT" ]
null
null
null
import pygame pygame.init() screen = pygame.display.set_mode(500,500) running = True while running: for event in pygame.event.get(): if event.type = pygame.QUIT: running = False
21.111111
41
0.710526
28
190
4.785714
0.678571
0
0
0
0
0
0
0
0
0
0
0.038462
0.178947
190
8
42
23.75
0.820513
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
34f58139b1263cdf13af270de6bb46d2a11ba19c
273
py
Python
test/fixtures.py
pmatiello/assemblage
a508b354e3a90f286e4e79e420e7d83478fc8cef
[ "MIT" ]
1
2017-12-22T21:47:48.000Z
2017-12-22T21:47:48.000Z
test/fixtures.py
pmatiello/assemblage
a508b354e3a90f286e4e79e420e7d83478fc8cef
[ "MIT" ]
null
null
null
test/fixtures.py
pmatiello/assemblage
a508b354e3a90f286e4e79e420e7d83478fc8cef
[ "MIT" ]
null
null
null
class no_deps(object): pass class one_dep(object): def __init__(self, dependency): self.dependency = dependency class two_deps(object): def __init__(self, first_dep, second_dep): self.first_dep = first_dep self.second_dep = second_dep
22.75
46
0.688645
37
273
4.621622
0.378378
0.140351
0.152047
0.19883
0
0
0
0
0
0
0
0
0.223443
273
11
47
24.818182
0.806604
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
34f5cba36d6d70e3b0dd6e5a05062754009044dc
47
py
Python
pytype/__version__.py
priyansh19/pytype
44b1f6f7cddccb326abac4c21b4f26688369764e
[ "Apache-2.0" ]
2
2019-07-25T12:53:02.000Z
2019-08-18T16:26:16.000Z
pytype/__version__.py
priyansh19/pytype
44b1f6f7cddccb326abac4c21b4f26688369764e
[ "Apache-2.0" ]
null
null
null
pytype/__version__.py
priyansh19/pytype
44b1f6f7cddccb326abac4c21b4f26688369764e
[ "Apache-2.0" ]
null
null
null
# pylint: skip-file __version__ = '2019.07.11'
15.666667
26
0.702128
7
47
4.142857
1
0
0
0
0
0
0
0
0
0
0
0.195122
0.12766
47
2
27
23.5
0.512195
0.361702
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
5519a5af8a94ff074421e2feee72e2140be2a703
8,134
py
Python
scenario_runner/srunner/tools/background_manager.py
neilsambhu/carla-simulator3
9838cd12c865950088d33a931f75424da0077fc7
[ "CNRI-Python", "RSA-MD" ]
null
null
null
scenario_runner/srunner/tools/background_manager.py
neilsambhu/carla-simulator3
9838cd12c865950088d33a931f75424da0077fc7
[ "CNRI-Python", "RSA-MD" ]
null
null
null
scenario_runner/srunner/tools/background_manager.py
neilsambhu/carla-simulator3
9838cd12c865950088d33a931f75424da0077fc7
[ "CNRI-Python", "RSA-MD" ]
null
null
null
#!/usr/bin/env python # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ Several atomic behaviors to help with the communication with the background activity, removing its interference with other scenarios """ import py_trees from srunner.scenar...
40.467662
109
0.715884
998
8,134
5.594188
0.154309
0.050152
0.050152
0.054809
0.73079
0.721118
0.687623
0.66201
0.66201
0.653054
0
0.006506
0.206295
8,134
200
110
40.67
0.858271
0.403246
0
0.47191
0
0
0.06302
0.010066
0
0
0
0
0
1
0.202247
false
0
0.022472
0
0.426966
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5521e7fb95205e5d9fdd79ded765033334c9c80e
3,258
py
Python
huaban/get_boards_url.py
kernel1994/simple_spider
5333d6ff7c20c805f528d26040c1d78b18c326db
[ "MIT" ]
null
null
null
huaban/get_boards_url.py
kernel1994/simple_spider
5333d6ff7c20c805f528d26040c1d78b18c326db
[ "MIT" ]
null
null
null
huaban/get_boards_url.py
kernel1994/simple_spider
5333d6ff7c20c805f528d26040c1d78b18c326db
[ "MIT" ]
1
2019-01-17T02:42:33.000Z
2019-01-17T02:42:33.000Z
# coding:utf-8 # author: gaozhengjie # E-mail: gaozhengj@foxmail.com # Home: https://www.gaozhengjie.cn/ # Desc: Save the urls of id (category directory) of a user in huaban.com to the local urls.txt file. import requests import json # The header is very important and interesting, so be sure to set it up, o...
66.489796
1,022
0.745242
400
3,258
5.995
0.5125
0.048791
0.070058
0.110092
0.065888
0
0
0
0
0
0
0.173352
0.120012
3,258
49
1,023
66.489796
0.663062
0.148557
0
0
0
0.314286
0.749724
0.373942
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0.028571
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
552393990bc3283a72724fc1fc2cdb860c675261
231
py
Python
src/visu/__init__.py
JonasFrey96/PLR2
a0498e6ff283a27c6db11b3d57d3b3100026f069
[ "MIT" ]
null
null
null
src/visu/__init__.py
JonasFrey96/PLR2
a0498e6ff283a27c6db11b3d57d3b3100026f069
[ "MIT" ]
2
2020-06-30T17:33:54.000Z
2020-07-07T18:12:21.000Z
src/visu/__init__.py
JonasFrey96/PLR2
a0498e6ff283a27c6db11b3d57d3b3100026f069
[ "MIT" ]
null
null
null
from .helper_functions import save_image from .visualizer import Visualizer, plot_pcd, plot_two_pcd, SequenceVisualizer __all__ = ( 'Visualizer', 'save_image', 'plot_pcd', 'plot_two_pcd', 'SequenceVisualizer' )
23.1
78
0.731602
26
231
6
0.461538
0.115385
0.141026
0.179487
0.448718
0.448718
0
0
0
0
0
0
0.17316
231
9
79
25.666667
0.816754
0
0
0
0
0
0.251082
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b277ebded23099d56ac5500c9da3f55fe644859
808
py
Python
src/Rumor/models.py
HarleyCody/rumor
9642f2fcb19c2dd486e7a18258f9d1948fa1f8b2
[ "bzip2-1.0.6" ]
null
null
null
src/Rumor/models.py
HarleyCody/rumor
9642f2fcb19c2dd486e7a18258f9d1948fa1f8b2
[ "bzip2-1.0.6" ]
6
2020-06-05T20:55:19.000Z
2021-09-22T18:32:17.000Z
src/Rumor/models.py
HarleyCody/rumor
9642f2fcb19c2dd486e7a18258f9d1948fa1f8b2
[ "bzip2-1.0.6" ]
null
null
null
from django.db import models from RumorValidator import settings # Create your models here. class RumorManager(models.Manager): def all(self, *args, **kwargs): qs = super(RumorManager, self).all(*args, **kwargs).order_by("timestamp") return qs class Rumor(models.Model): rumor = models.C...
29.925926
99
0.675743
99
808
5.373737
0.474747
0.075188
0.052632
0.090226
0.082707
0
0
0
0
0
0
0.006202
0.201733
808
26
100
31.076923
0.818605
0.029703
0
0.111111
0
0
0.014085
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.888889
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
9b2d16d63bb36dfab3fb46ea12bed9e7db395327
431
py
Python
lib/PyAMF-0.6.1/pyamf/adapters/_sqlalchemy_orm_collections.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/PyAMF-0.6.1/pyamf/adapters/_sqlalchemy_orm_collections.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/PyAMF-0.6.1/pyamf/adapters/_sqlalchemy_orm_collections.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
# Copyright (c) The PyAMF Project. # See LICENSE for details. """ SQLAlchemy adapter module. @see: U{SQLAlchemy homepage<http://www.sqlalchemy.org>} @since: 0.4 """ from sqlalchemy.orm import collections import pyamf from pyamf.adapters import util pyamf.add_type(collections.InstrumentedList, util.to_list) pyamf...
20.52381
58
0.788863
59
431
5.661017
0.59322
0.071856
0.107784
0.206587
0
0
0
0
0
0
0
0.005168
0.102088
431
20
59
21.55
0.857881
0.359629
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9b4051578dfd2b47680640a4661284413bb9fd25
46
py
Python
src/aws_assume_role/version.py
nirmesika/onelogin-sec
cfc5496b1872926375778cf0df38526503839122
[ "MIT" ]
null
null
null
src/aws_assume_role/version.py
nirmesika/onelogin-sec
cfc5496b1872926375778cf0df38526503839122
[ "MIT" ]
null
null
null
src/aws_assume_role/version.py
nirmesika/onelogin-sec
cfc5496b1872926375778cf0df38526503839122
[ "MIT" ]
null
null
null
#! /usr/bin/env python __version__ = '1.6.1'
11.5
22
0.630435
8
46
3.125
0.875
0
0
0
0
0
0
0
0
0
0
0.076923
0.152174
46
3
23
15.333333
0.564103
0.456522
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b63bb833cbad1d58fe8003a42b63d1ef1bf46ef
75,437
py
Python
krysztalki/workDir/proba/tabliczka mnozenia/symetrie_generowane.py
woblob/Crystal_Symmetry
be2984b4487d6075986ef60822a347d0b0e6b885
[ "MIT" ]
null
null
null
krysztalki/workDir/proba/tabliczka mnozenia/symetrie_generowane.py
woblob/Crystal_Symmetry
be2984b4487d6075986ef60822a347d0b0e6b885
[ "MIT" ]
null
null
null
krysztalki/workDir/proba/tabliczka mnozenia/symetrie_generowane.py
woblob/Crystal_Symmetry
be2984b4487d6075986ef60822a347d0b0e6b885
[ "MIT" ]
null
null
null
import podstawa as pod # missing matrices _matrix_inv_000_h00_miss = pod.matrices_dict["inv_000"] + pod._translation_h00 #0 _matrix_m_0yz_h00_miss = pod.matrices_dict["m_0yz"] + pod._translation_h00 #1 _matrix_m_x0z_h00_miss = pod.matrices_dict["m_x0z"] + pod._translation_h00 #2 _matrix_m_xy0_h00_miss = pod.matrice...
50.459532
112
0.78997
12,586
75,437
3.98983
0.04362
0.202406
0.147861
0.187291
0.806277
0.534471
0.4536
0.426259
0.405887
0.098096
0
0.108623
0.117913
75,437
1,494
113
50.493307
0.646028
0.018439
0
0
0
0
0.177922
0.070892
0
0
0
0
0
1
0
false
0
0.000671
0
0.000671
0
0
0
0
null
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b6bf7b206d50a8a2c5094e4b7d3be29dfc6bdd4
350
py
Python
stubs.min/System/Windows/__init___parts/DpiChangedEventArgs.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/__init___parts/DpiChangedEventArgs.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/__init___parts/DpiChangedEventArgs.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DpiChangedEventArgs(RoutedEventArgs): # no doc NewDpi=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get: NewDpi(self: DpiChangedEventArgs) -> DpiScale """ OldDpi=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get: OldDpi(self: DpiChangedEventAr...
25
78
0.691429
39
350
6.205128
0.384615
0.247934
0.14876
0.198347
0.46281
0.46281
0.46281
0.46281
0.46281
0.46281
0
0
0.165714
350
13
79
26.923077
0.828767
0.017143
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
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
0
0
0
0
1
0
0
3
9b775e0edfe332b3a1377a629abd5be759ad46cd
159
py
Python
pygears/rtl/__init__.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
pygears/rtl/__init__.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
pygears/rtl/__init__.py
Risto97/pygears
19393e85101a16762cb3bbbf3010946ef69217f2
[ "MIT" ]
null
null
null
from .connect import rtl_connect from .inst import rtl_inst from .channel import RTLChannelVisitor __all__ = ['rtl_inst', 'rtl_connect', 'RTLChannelVisitor']
26.5
58
0.798742
20
159
5.95
0.4
0.151261
0
0
0
0
0
0
0
0
0
0
0.113208
159
5
59
31.8
0.843972
0
0
0
0
0
0.226415
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9b7bf08a21231ba8ac67650869a14b89c576e3e5
1,056
py
Python
friendly_states/exceptions.py
alexmojaki/friendly_states
22fc338e8b56e25635e456f0370cd216022db304
[ "MIT" ]
20
2019-10-10T22:36:46.000Z
2021-08-20T17:55:03.000Z
friendly_states/exceptions.py
alexmojaki/friendly_states
22fc338e8b56e25635e456f0370cd216022db304
[ "MIT" ]
1
2019-09-24T07:24:10.000Z
2019-09-24T07:24:10.000Z
friendly_states/exceptions.py
alexmojaki/friendly_states
22fc338e8b56e25635e456f0370cd216022db304
[ "MIT" ]
3
2019-09-23T08:58:08.000Z
2021-04-19T04:18:30.000Z
class StateMachineException(Exception): def __init__(self, message_format, **kwargs): if kwargs: self.message = message_format.format(**kwargs) else: self.message = message_format self.__dict__.update(**kwargs) def __str__(self): return self.message cla...
17.898305
58
0.753788
80
1,056
9.7625
0.3625
0.352113
0.422535
0.06146
0
0
0
0
0
0
0
0
0.182765
1,056
58
59
18.206897
0.904983
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.060606
false
0.363636
0
0.030303
0.484848
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
9b8471539b1108aa28a393210028e0ce8b922ba7
312
py
Python
src/backend/database_migrations/versions/20210218_175604_merge_heads.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
5
2021-02-04T20:18:46.000Z
2021-09-09T13:42:42.000Z
src/backend/database_migrations/versions/20210218_175604_merge_heads.py
chanzuckerberg/aspen
9853778a7ef68b0446751657af5a835f98dde3dc
[ "MIT" ]
422
2021-01-30T04:16:00.000Z
2022-01-31T23:18:44.000Z
src/backend/database_migrations/versions/20210218_175604_merge_heads.py
chanzuckerberg/covidr
afe05d703d30ec18ac83944bfb551c313cb216c4
[ "MIT" ]
1
2021-05-20T14:54:39.000Z
2021-05-20T14:54:39.000Z
"""merge heads Create Date: 2021-02-18 17:56:04.778686 """ import enumtables # noqa: F401 # revision identifiers, used by Alembic. revision = "20210218_175604" down_revision = ("20210218_104830", "20210218_110710") branch_labels = None depends_on = None def upgrade(): pass def downgrade(): pass
14.857143
54
0.714744
41
312
5.292683
0.829268
0.147465
0
0
0
0
0
0
0
0
0
0.250965
0.169872
312
20
55
15.6
0.586873
0.330128
0
0.222222
0
0
0.225
0
0
0
0
0
0
1
0.222222
false
0.222222
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
9b88d6322ff43feb47b4024531b608741579f09d
204
py
Python
challenges/urls.py
arijit79/pythonhub
b22ac5d13fcd700a9fad1c1a9976082526e29e7d
[ "MIT" ]
null
null
null
challenges/urls.py
arijit79/pythonhub
b22ac5d13fcd700a9fad1c1a9976082526e29e7d
[ "MIT" ]
null
null
null
challenges/urls.py
arijit79/pythonhub
b22ac5d13fcd700a9fad1c1a9976082526e29e7d
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("<int:pk>", views.answer, name="challenge-answer"), path("previous/<int:pk>", views.last_challenge, name="last-challenge") ]
25.5
74
0.696078
27
204
5.222222
0.518519
0.070922
0.141844
0
0
0
0
0
0
0
0
0
0.132353
204
7
75
29.142857
0.79661
0
0
0
0
0
0.269608
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
9bae5fb2af461b5498aa7f9a23f5106edde74583
164
py
Python
src/currency/api/pagination.py
qmzrjf/currency_exchange_new
41c9947405e3fdcf60eab6ad7d573a68590c6a9f
[ "MIT" ]
null
null
null
src/currency/api/pagination.py
qmzrjf/currency_exchange_new
41c9947405e3fdcf60eab6ad7d573a68590c6a9f
[ "MIT" ]
5
2021-03-19T08:50:23.000Z
2022-02-10T13:49:42.000Z
src/currency/api/pagination.py
qmzrjf/currency_exchange_new
41c9947405e3fdcf60eab6ad7d573a68590c6a9f
[ "MIT" ]
null
null
null
from rest_framework.pagination import PageNumberPagination class RateResultsSetPagination(PageNumberPagination): page_size = 20 page_query_param = 'page'
23.428571
58
0.817073
16
164
8.125
0.8125
0
0
0
0
0
0
0
0
0
0
0.014085
0.134146
164
6
59
27.333333
0.901408
0
0
0
0
0
0.02439
0
0
0
0
0
0
1
0
false
0
0.25
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
32d1dccb36b2c057008bbd514c3f8ae5a00fef56
258
py
Python
project/apps/schools/admin.py
skoczen/pdxschoolhack
6780e96d3cd1fe7230e6692531e0a371ddd5bf0c
[ "BSD-2-Clause" ]
null
null
null
project/apps/schools/admin.py
skoczen/pdxschoolhack
6780e96d3cd1fe7230e6692531e0a371ddd5bf0c
[ "BSD-2-Clause" ]
2
2020-06-05T18:39:06.000Z
2021-06-10T20:35:03.000Z
project/apps/schools/admin.py
skoczen/pdxschoolhack
6780e96d3cd1fe7230e6692531e0a371ddd5bf0c
[ "BSD-2-Clause" ]
null
null
null
from django.contrib import admin from schools.models import SchoolType, School # class EmailSubscriptionOptions(admin.ModelAdmin): # list_display = ('email',) # search_fields = ('email',) admin.site.register(SchoolType) admin.site.register(School)
25.8
51
0.75969
29
258
6.689655
0.655172
0.092784
0.175258
0
0
0
0
0
0
0
0
0
0.124031
258
10
52
25.8
0.858407
0.426357
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fd2e930bdcd3ce39203553949273e7ea060f8981
58
py
Python
gobbli/model/transformer/__init__.py
awesome-archive/gobbli
71aacbdc1184871b164185dc0c9f615f07b83173
[ "Apache-2.0" ]
276
2019-09-13T08:25:51.000Z
2022-03-05T13:07:55.000Z
gobbli/model/transformer/__init__.py
awesome-archive/gobbli
71aacbdc1184871b164185dc0c9f615f07b83173
[ "Apache-2.0" ]
15
2019-09-06T14:05:30.000Z
2022-01-01T20:15:06.000Z
gobbli/model/transformer/__init__.py
awesome-archive/gobbli
71aacbdc1184871b164185dc0c9f615f07b83173
[ "Apache-2.0" ]
24
2019-09-18T15:11:42.000Z
2021-12-23T18:59:55.000Z
from .model import Transformer __all__ = ["Transformer"]
14.5
30
0.758621
6
58
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.137931
58
3
31
19.333333
0.8
0
0
0
0
0
0.189655
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
fd41e81488f1dc90a9fdd783f5ecb977294184fa
58
py
Python
other/ipypublish/__init__.py
KGerring/metaproj
e957de611f5268978df10184e4cedbd229ef617a
[ "MIT" ]
2
2021-04-11T01:43:09.000Z
2021-07-08T00:17:57.000Z
other/ipypublish/__init__.py
KGerring/metaproj
e957de611f5268978df10184e4cedbd229ef617a
[ "MIT" ]
1
2021-08-21T23:39:26.000Z
2021-08-21T23:39:26.000Z
other/ipypublish/__init__.py
KGerring/metaproj
e957de611f5268978df10184e4cedbd229ef617a
[ "MIT" ]
null
null
null
from __future__ import annotations __version__ = '0.6.5'
14.5
34
0.775862
8
58
4.625
1
0
0
0
0
0
0
0
0
0
0
0.06
0.137931
58
3
35
19.333333
0.68
0
0
0
0
0
0.086207
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
fd502771b00d719e10ce20be634d28bb9f6498a6
272
py
Python
rental/rents/apps.py
manuelen12/bike_test
1300cb4ebae7022dd468b46bd1ee64147f658ba6
[ "MIT" ]
null
null
null
rental/rents/apps.py
manuelen12/bike_test
1300cb4ebae7022dd468b46bd1ee64147f658ba6
[ "MIT" ]
null
null
null
rental/rents/apps.py
manuelen12/bike_test
1300cb4ebae7022dd468b46bd1ee64147f658ba6
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RentsConfig(AppConfig): name = 'rental.rents' verbose_name = "Rents" def ready(self): """Override this to put in: Users system checks Users signal registration """ pass
19.428571
37
0.591912
29
272
5.517241
0.862069
0
0
0
0
0
0
0
0
0
0
0
0.330882
272
13
38
20.923077
0.879121
0.257353
0
0
0
0
0.104294
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.833333
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
1
0
0
1
0
0
3
fd61f6d0b664ca0d99a5f26cb889ca1a0485b756
4,372
py
Python
tests/i18n_custom_test.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
null
null
null
tests/i18n_custom_test.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
4
2018-10-21T16:00:59.000Z
2019-09-14T21:05:32.000Z
tests/i18n_custom_test.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # This file is a part of pycerberus. # The source code contained in this file is licensed under the MIT license. # See LICENSE.txt in the main project directory, for more information. # SPDX-License-Identifier: MIT from __future__ import absolute_import, print_function, unicode_literals from p...
39.387387
99
0.72667
515
4,372
5.906796
0.299029
0.027613
0.027613
0.039119
0.395464
0.286654
0.190007
0.159106
0.147272
0.147272
0
0.000842
0.184812
4,372
110
100
39.745455
0.852694
0.150732
0
0.306452
0
0
0.133892
0.005951
0
0
0
0
0.241935
1
0.274194
false
0.016129
0.064516
0.112903
0.629032
0.016129
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
b5e9f2d6adf39e9daa2bb87050d1fb88a82ea568
954
py
Python
members_only/migrations/0002_auto_20190324_0319.py
TamasPalfi/FixedDB
be3e4e830b05099d33031759f4a7fc8a42f1e733
[ "BSD-2-Clause" ]
null
null
null
members_only/migrations/0002_auto_20190324_0319.py
TamasPalfi/FixedDB
be3e4e830b05099d33031759f4a7fc8a42f1e733
[ "BSD-2-Clause" ]
null
null
null
members_only/migrations/0002_auto_20190324_0319.py
TamasPalfi/FixedDB
be3e4e830b05099d33031759f4a7fc8a42f1e733
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-24 03:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('members_only', '0001_initial'), ] operations = [ migrations.AlterField( model_name='post', ...
27.257143
118
0.575472
95
954
5.663158
0.536842
0.148699
0.185874
0.215613
0.20632
0.20632
0
0
0
0
0
0.034483
0.300839
954
34
119
28.058824
0.772114
0.04717
0
0.392857
1
0
0.104741
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
b5ed686d58c97de92ced1d373cb6320c70ea2fb4
68,420
py
Python
autolens/pipeline/phase.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
autolens/pipeline/phase.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
autolens/pipeline/phase.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
import logging import os import warnings import numpy as np from astropy import cosmology as cosmo from autofit import conf from autofit.tools import phase from autofit.tools.phase_property import PhasePropertyCollection from autofit.optimize import non_linear from autolens import exc from autolens.data.array import ...
45.552597
120
0.617027
7,632
68,420
5.157495
0.049528
0.035313
0.017784
0.024592
0.797393
0.758066
0.72194
0.689396
0.642676
0.603552
0
0.001065
0.313899
68,420
1,501
121
45.582945
0.837441
0.124905
0
0.523645
0
0.002307
0.042811
0.018738
0
0
0
0
0
1
0.116494
false
0.008074
0.020761
0.032295
0.249135
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5efcf9589973cda7ad5bade65c671818f195949
237
py
Python
robot_control/robot_control/ignition/vehicle.py
blakermchale/robot-control
b2d0109950d5abb4b12055ce7a3645ca9cc07b20
[ "MIT" ]
null
null
null
robot_control/robot_control/ignition/vehicle.py
blakermchale/robot-control
b2d0109950d5abb4b12055ce7a3645ca9cc07b20
[ "MIT" ]
4
2021-06-29T05:14:13.000Z
2021-08-11T05:00:44.000Z
robot_control/robot_control/ignition/vehicle.py
blakermchale/robot-control
b2d0109950d5abb4b12055ce7a3645ca9cc07b20
[ "MIT" ]
null
null
null
#!/usr/bin/env python from robot_control.abstract_vehicle import AVehicle class Vehicle(AVehicle): def __init__(self, instance=0): super().__init__(instance=instance) self.get_logger().debug("Vehicle initialized")
23.7
54
0.725738
29
237
5.551724
0.758621
0
0
0
0
0
0
0
0
0
0
0.005
0.156118
237
9
55
26.333333
0.8
0.084388
0
0
0
0
0.087963
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b5f6ccd17210b5d97832f68468ea2ab28de09ecd
23
py
Python
logic/__init__.py
tingxin/DevIoT_IndoorLocation_Starter_Kit
df03b664f87eba77bb7ad6ed7ed53a97b6365e48
[ "Apache-2.0" ]
null
null
null
logic/__init__.py
tingxin/DevIoT_IndoorLocation_Starter_Kit
df03b664f87eba77bb7ad6ed7ed53a97b6365e48
[ "Apache-2.0" ]
1
2016-11-05T20:18:36.000Z
2016-11-08T10:40:17.000Z
sensors/__init__.py
tingxin/DevIoT_RaspberryPi_Starter_Kit
2ee0b4027e366fc9715e35c08eaac7a9bcc49bc7
[ "Apache-2.0" ]
null
null
null
__author__ = 'tingxxu'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
bd0435cf428dd88d2e05b070bb8e822e50ab28f2
412
py
Python
django_c/frm_b/mdl_frm/admin.py
mohammad716e/python_training
0654623c603c775ed2cbdc3919dc815891c8fdeb
[ "MIT" ]
null
null
null
django_c/frm_b/mdl_frm/admin.py
mohammad716e/python_training
0654623c603c775ed2cbdc3919dc815891c8fdeb
[ "MIT" ]
null
null
null
django_c/frm_b/mdl_frm/admin.py
mohammad716e/python_training
0654623c603c775ed2cbdc3919dc815891c8fdeb
[ "MIT" ]
null
null
null
from django.contrib import admin from mdl_frm.models import subscriber # Register your models here. admin.site.register(subscriber) '''(django_env_1) A:\ARC\PRJ\PY\python_training\django_c\frm_b>python manage.py createsuperuser Username (leave blank to use 'adminone'): developer Email address: mmohammadianxdev@gmail.c...
37.454545
95
0.817961
56
412
5.910714
0.767857
0
0
0
0
0
0
0
0
0
0
0.050667
0.089806
412
11
96
37.454545
0.832
0.063107
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
bd2f5dd244936acac81364d868b7393ac3abebae
186
py
Python
log_errors/models.py
erickdom/restAndroid
87ae8cfb5a4ddc207ab7b2d4e9548d316db14ad0
[ "Apache-2.0" ]
null
null
null
log_errors/models.py
erickdom/restAndroid
87ae8cfb5a4ddc207ab7b2d4e9548d316db14ad0
[ "Apache-2.0" ]
null
null
null
log_errors/models.py
erickdom/restAndroid
87ae8cfb5a4ddc207ab7b2d4e9548d316db14ad0
[ "Apache-2.0" ]
null
null
null
from django.db import models class Log_Errors(models.Model): error = models.TextField() error_human = models.TextField() date_time = models.DateTimeField(auto_now_add=True)
26.571429
55
0.752688
25
186
5.4
0.76
0.222222
0
0
0
0
0
0
0
0
0
0
0.150538
186
7
55
26.571429
0.85443
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
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
bd4e50eafccd9f7e3f57039e69696249447a460d
570
py
Python
perftest/read_large_file.py
alinabi/pyhecdss
fb94a0cd1bbc0add873eeb1c91b016d5006424de
[ "MIT" ]
18
2019-09-04T17:42:15.000Z
2021-11-15T12:16:24.000Z
perftest/read_large_file.py
alinabi/pyhecdss
fb94a0cd1bbc0add873eeb1c91b016d5006424de
[ "MIT" ]
27
2019-09-04T14:55:36.000Z
2021-12-08T01:36:08.000Z
perftest/read_large_file.py
alinabi/pyhecdss
fb94a0cd1bbc0add873eeb1c91b016d5006424de
[ "MIT" ]
5
2019-09-04T21:49:22.000Z
2022-03-24T13:41:16.000Z
import pyhecdss import datetime if __name__=='__main__': pyhecdss.set_message_level(0) d=pyhecdss.DSSFile('./ITP_PP_out_ec.dss') s=datetime.datetime.now() catdf=d.read_catalog() print('catalog read in :', datetime.datetime.now()-s ) plist=d.get_pathnames() print('Reading ',len(plist...
33.529412
62
0.633333
79
570
4.367089
0.468354
0.278261
0.330435
0.182609
0.127536
0
0
0
0
0
0
0.002193
0.2
570
16
63
35.625
0.754386
0
0
0.125
0
0
0.137184
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd550a4735583e2c6691187540b8e40f2fc9135f
13,794
py
Python
tests/test_user_pays_for_booking_endpoint.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
1
2019-04-04T12:27:55.000Z
2019-04-04T12:27:55.000Z
tests/test_user_pays_for_booking_endpoint.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
34
2019-03-26T11:18:17.000Z
2022-02-10T08:12:36.000Z
tests/test_user_pays_for_booking_endpoint.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
null
null
null
import pytest import requests from airtech_api.utils import success_messages from mock import Mock from airtech_api.utils.constants import PAYSTACK_INITIALIZE_URL from airtech_api.utils.error_messages import serialization_errors from airtech_api.booking.models import Booking from django.utils import timezone from tests...
37.281081
94
0.597941
1,388
13,794
5.600865
0.116715
0.031515
0.043736
0.064317
0.744019
0.720093
0.71379
0.681502
0.665423
0.659506
0
0.007737
0.306655
13,794
369
95
37.382114
0.805102
0.011672
0
0.654952
0
0
0.113403
0.008294
0
0
0
0
0.146965
1
0.041534
false
0
0.035144
0.003195
0.089457
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1fd0fb4dd2db013d543f097f1f61e2ce2b6b1812
2,117
py
Python
simulation/models/diet_models.py
BenLatham/Agricultural-Simulation
23ae2c6ae2ae6d0b1ca318c6e4543ccbe40a0039
[ "MIT" ]
null
null
null
simulation/models/diet_models.py
BenLatham/Agricultural-Simulation
23ae2c6ae2ae6d0b1ca318c6e4543ccbe40a0039
[ "MIT" ]
5
2016-07-08T12:05:31.000Z
2016-07-08T17:31:23.000Z
simulation/models/diet_models.py
BenLatham/FLOSS-Agricultural-Simulation
23ae2c6ae2ae6d0b1ca318c6e4543ccbe40a0039
[ "MIT" ]
null
null
null
from django.db import models from .general_models import ScenarioSpecificBase from django.forms.models import model_to_dict class Feed(ScenarioSpecificBase): me = models.FloatField() fme = models.FloatField() erdp = models.FloatField() dup = models.FloatField() adf = models.FloatField() price ...
35.881356
123
0.684459
263
2,117
5.418251
0.330798
0.202105
0.182456
0.218947
0.249825
0.175439
0.112281
0.090526
0.090526
0
0
0.017272
0.206897
2,117
58
124
36.5
0.831447
0.422296
0
0.193548
0
0
0.07265
0
0
0
0
0
0
1
0.096774
false
0
0.096774
0
0.741935
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ff4ac19544bf86a8a7056f1e4301ad5c7792ec3
5,579
py
Python
src/utils/print_code.py
BeginnerCompilers/cool-compiler-2021
fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9
[ "MIT" ]
null
null
null
src/utils/print_code.py
BeginnerCompilers/cool-compiler-2021
fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9
[ "MIT" ]
null
null
null
src/utils/print_code.py
BeginnerCompilers/cool-compiler-2021
fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9
[ "MIT" ]
null
null
null
import cmp.visitor as visitor from utils.ast.AST_Nodes import ast_nodes as nodes class PrintCode: @visitor.on('node') def visit(self, node, tabs = 0): pass @visitor.when(nodes.ProgramNode) def visit(self, node, tabs = 0): return '\n'.join(self.visit(dec, tabs) for dec in node.declarati...
36.464052
140
0.572683
781
5,579
4.072983
0.126761
0.099025
0.118516
0.135806
0.511789
0.484439
0.405847
0.30745
0.30745
0.30745
0
0.008751
0.242158
5,579
153
141
36.464052
0.743614
0
0
0.284404
0
0
0.215591
0.110036
0
0
0
0
0
1
0.247706
false
0.009174
0.018349
0.155963
0.513761
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
953077357cfd8f9828b7b4e30f3f1ede02ab6ba1
19
py
Python
main/smpeg/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
46
2021-06-10T02:27:32.000Z
2022-03-27T11:33:24.000Z
main/smpeg/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
58
2021-07-03T13:58:20.000Z
2022-03-13T16:45:35.000Z
main/smpeg/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
6
2021-07-04T10:46:40.000Z
2022-01-09T00:03:59.000Z
pkgname = "smpeg2"
9.5
18
0.684211
2
19
6.5
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.157895
19
1
19
19
0.75
0
0
0
0
0
0.315789
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
1f6d175628efd29dfa07f8931ef6ef6857546d51
183
py
Python
core/fixtures/user.py
eduardomarco/django-auth-react-tutorial
47460a9575d4a82bcb07f7703d189620bddd19b0
[ "Apache-2.0" ]
8
2021-06-28T17:59:10.000Z
2022-03-12T12:24:17.000Z
core/fixtures/user.py
eduardomarco/django-auth-react-tutorial
47460a9575d4a82bcb07f7703d189620bddd19b0
[ "Apache-2.0" ]
1
2021-08-11T17:07:37.000Z
2021-08-13T08:40:35.000Z
core/fixtures/user.py
eduardomarco/django-auth-react-tutorial
47460a9575d4a82bcb07f7703d189620bddd19b0
[ "Apache-2.0" ]
5
2021-06-29T11:53:28.000Z
2022-02-07T20:39:45.000Z
from core.user.models import User data_user = { "email": "testuser@yopmail.com", "password": "12345678", "username": "testuser" } User.objects.create_user(**data_user)
16.636364
37
0.672131
22
183
5.454545
0.681818
0.133333
0.2
0
0
0
0
0
0
0
0
0.052288
0.163934
183
10
38
18.3
0.732026
0
0
0
0
0
0.311475
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1f6ee516584929e148b400ee4e2c8ac02f2cdb98
1,397
py
Python
lung_cancer_prediction_app/views.py
MohanaRuban619/LUNG-CANCER-PREDICTION
0f70770bf7819cda38de8cabfdc9561f3b703f27
[ "MIT" ]
null
null
null
lung_cancer_prediction_app/views.py
MohanaRuban619/LUNG-CANCER-PREDICTION
0f70770bf7819cda38de8cabfdc9561f3b703f27
[ "MIT" ]
null
null
null
lung_cancer_prediction_app/views.py
MohanaRuban619/LUNG-CANCER-PREDICTION
0f70770bf7819cda38de8cabfdc9561f3b703f27
[ "MIT" ]
null
null
null
from django.shortcuts import render import joblib def frontview(request): return render(request,"fors.html",{}) def backview(request): file = joblib.load(open("data.xlsx.svc","rb")) cls = file lis = [] lis.append(request.GET["Age"]) lis.append(request.GET["Gender"]) lis.append(requ...
37.756757
59
0.663565
180
1,397
5.15
0.405556
0.223301
0.39698
0.471413
0
0
0
0
0
0
0
0
0.166786
1,397
36
60
38.805556
0.796392
0.016464
0
0
0
0
0.243263
0
0
0
0
0
0
1
0.060606
false
0.030303
0.060606
0.030303
0.181818
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f73846a61ec527a885d52773ba7a90cefb7ecf1
249
py
Python
setup.py
cybojenix/django-hybrid-properties
ee52f3132a60b9443cd9c3d9145163c235afac80
[ "Apache-2.0" ]
9
2018-05-01T09:02:54.000Z
2020-07-15T08:58:04.000Z
setup.py
antdking/django-hybrid
ee52f3132a60b9443cd9c3d9145163c235afac80
[ "Apache-2.0" ]
1
2018-05-08T18:45:29.000Z
2018-05-08T18:45:29.000Z
setup.py
antdking/django-hybrid
ee52f3132a60b9443cd9c3d9145163c235afac80
[ "Apache-2.0" ]
1
2018-05-08T18:39:45.000Z
2018-05-08T18:39:45.000Z
from setuptools import setup tests_require = [ "pytest", "pytest-cov", "pytest-django", "pytest-factoryboy", "pytest-mock", ] setup( tests_require=tests_require, extras_require={ 'test': tests_require, } )
13.833333
32
0.614458
25
249
5.92
0.52
0.324324
0.22973
0
0
0
0
0
0
0
0
0
0.253012
249
17
33
14.647059
0.795699
0
0
0
0
0
0.24498
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f759bb47f98ee5e8df11eed02ac5e5f1840f167
226
py
Python
setup.py
bergundy/android-market-api-py
55a3b0e838a37e52928b4802bea355c47a44c326
[ "MIT" ]
1
2017-04-11T15:26:01.000Z
2017-04-11T15:26:01.000Z
setup.py
bergundy/android-market-api-py
55a3b0e838a37e52928b4802bea355c47a44c326
[ "MIT" ]
null
null
null
setup.py
bergundy/android-market-api-py
55a3b0e838a37e52928b4802bea355c47a44c326
[ "MIT" ]
null
null
null
try: from setuptools import setup except ImportError: from distutils.core import setup setup(name='googleplay-api', version='0.1', packages=['googleplay_api'], install_requires=['protobuf'], )
20.545455
36
0.663717
25
226
5.92
0.76
0.148649
0
0
0
0
0
0
0
0
0
0.011299
0.216814
226
10
37
22.6
0.824859
0
0
0
0
0
0.172566
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
1f75d21ad15e62a6417f815378fe0f2ebc26bfd8
319
py
Python
app/tests/test_main.py
arthur0410/fastapi-serverless
449cdd3e807745b38cc2272f78f4236f350c9425
[ "MIT" ]
null
null
null
app/tests/test_main.py
arthur0410/fastapi-serverless
449cdd3e807745b38cc2272f78f4236f350c9425
[ "MIT" ]
null
null
null
app/tests/test_main.py
arthur0410/fastapi-serverless
449cdd3e807745b38cc2272f78f4236f350c9425
[ "MIT" ]
null
null
null
from fastapi.testclient import TestClient from main import app client = TestClient(app) def test_main_resource(): response_auth = client.get(f"/") assert response_auth.status_code == 200 def test_child_resource(): response_auth = client.get(f"/api/v1/test") assert response_auth.status_code == 200
21.266667
47
0.742947
45
319
5.044444
0.466667
0.211454
0.176211
0.229075
0.537445
0.537445
0
0
0
0
0
0.026022
0.15674
319
14
48
22.785714
0.817844
0
0
0.222222
0
0
0.040752
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.444444
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2f0b8cbca57b85c135feb65d89ccb04de5a9ed1c
316
py
Python
utils/mixins/base.py
TCC-CIMATEC/TCC-BACK
103dcdc9dba995221d0606f1fdd162aa9c43aa86
[ "MIT" ]
null
null
null
utils/mixins/base.py
TCC-CIMATEC/TCC-BACK
103dcdc9dba995221d0606f1fdd162aa9c43aa86
[ "MIT" ]
null
null
null
utils/mixins/base.py
TCC-CIMATEC/TCC-BACK
103dcdc9dba995221d0606f1fdd162aa9c43aa86
[ "MIT" ]
null
null
null
from django.db import models class BaseMixin(models.Model): class Meta: abstract = True active = models.BooleanField(default=True) created_at = models.DateTimeField(auto_now_add=True, verbose_name='Data de criação') updated_at = models.DateTimeField(auto_now=True, verbose_name='Data de atualização')
35.111111
86
0.775316
43
316
5.534884
0.627907
0.067227
0.176471
0.210084
0.411765
0
0
0
0
0
0
0
0.129747
316
9
87
35.111111
0.865455
0
0
0
0
0
0.107256
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
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
0
0
1
0
0
3
2f13ddd04e81af444a5d0064372f5ba82be74268
1,587
py
Python
Utils/Packetizer.py
alexweav/ADAF
e46e48d4183ae024dded48feb2fba6bef59cce9f
[ "MIT" ]
2
2017-10-09T21:13:56.000Z
2017-10-16T05:55:09.000Z
Utils/Packetizer.py
alexweav/ADAF
e46e48d4183ae024dded48feb2fba6bef59cce9f
[ "MIT" ]
16
2017-10-06T20:04:41.000Z
2017-11-29T22:34:02.000Z
Utils/Packetizer.py
alexweav/ADAF
e46e48d4183ae024dded48feb2fba6bef59cce9f
[ "MIT" ]
null
null
null
import math """ Helps convert bytes into network packets """ class Packetizer(object): def __init__(self, data, packet_size=1024): self.data = data self.packet_size = packet_size self.final_packet_size = len(self.data) % self.packet_size """ Size of each packet """ def...
25.596774
75
0.606175
202
1,587
4.663366
0.326733
0.118896
0.118896
0.11465
0.194268
0.147558
0.078556
0.078556
0
0
0
0.007111
0.291115
1,587
61
76
26.016393
0.830222
0
0
0
0
0
0.036301
0
0
0
0
0
0
1
0.285714
false
0
0.035714
0.214286
0.642857
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
2f322cf0d196249e072966488a9b7d388b988ee7
142
py
Python
Python/2_math_header.py
RealFilllykung/Sample-Programming-Code-Collection
3a1f5085867b82adc4c1216054dbd2dbc7adfee1
[ "MIT" ]
null
null
null
Python/2_math_header.py
RealFilllykung/Sample-Programming-Code-Collection
3a1f5085867b82adc4c1216054dbd2dbc7adfee1
[ "MIT" ]
null
null
null
Python/2_math_header.py
RealFilllykung/Sample-Programming-Code-Collection
3a1f5085867b82adc4c1216054dbd2dbc7adfee1
[ "MIT" ]
null
null
null
import sys from math import * #อันนี้คือตัวอย่างเกี่ยวกับ module math ของ python x = 3.7 print(floor(x)) print(ceil(x)) print(int(sqrt(36)))
15.777778
50
0.683099
37
142
2.864865
0.783784
0.113208
0
0
0
0
0
0
0
0
0
0.032258
0.126761
142
9
51
15.777778
0.75
0.34507
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
2f5fb3538e3435d5ced84291ead369c7fbc818ed
1,767
py
Python
compass/tasks/tasks.py
huawei-cloud/compass
1f09b2d270917ffcc3829e533dd90c04ef664ff6
[ "Apache-2.0" ]
2
2015-12-07T06:47:16.000Z
2016-01-18T05:27:52.000Z
compass/tasks/tasks.py
SysCompass/compass-core
b04d02ae97d6fbeea9a6c42c6d368778c371ccde
[ "Apache-2.0" ]
1
2016-03-17T17:36:56.000Z
2016-03-17T17:36:56.000Z
compass/tasks/tasks.py
SysCompass/compass-core
b04d02ae97d6fbeea9a6c42c6d368778c371ccde
[ "Apache-2.0" ]
4
2016-06-13T17:19:14.000Z
2018-09-10T03:11:51.000Z
"""Module to define celery tasks. .. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com> """ from celery.signals import setup_logging from compass.actions import poll_switch from compass.actions import trigger_install from compass.actions import progress_update from compass.db import database from compass.tasks...
28.967213
76
0.739672
233
1,767
5.497854
0.334764
0.077283
0.042155
0.056206
0.171741
0.110851
0.110851
0.074941
0.074941
0.074941
0
0
0.164686
1,767
60
77
29.45
0.867886
0.359932
0
0.08
0
0
0.091778
0.078394
0
0
0
0
0
1
0.16
false
0.44
0.36
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
2f6948b0645143c3cf093b2750b66a6352a3945b
407
py
Python
tools/generate_method_table.py
meghanto/tiny_vm
da19e9f4bff3b48349bf13f8dc725d387d01e1f5
[ "CC-BY-3.0" ]
2
2022-01-12T03:16:07.000Z
2022-01-15T07:52:48.000Z
tools/generate_method_table.py
meghanto/tiny_vm
da19e9f4bff3b48349bf13f8dc725d387d01e1f5
[ "CC-BY-3.0" ]
2
2022-01-25T20:52:54.000Z
2022-01-31T02:46:45.000Z
tools/generate_method_table.py
meghanto/tiny_vm
da19e9f4bff3b48349bf13f8dc725d387d01e1f5
[ "CC-BY-3.0" ]
10
2022-01-04T04:36:07.000Z
2022-01-15T00:55:27.000Z
"""Generate a method table file, initializing with the built-in methods. The method table is used in class loading to load method addresses into vtables. It is not used during vm program execution. """ import datetime PROLOG = f"""/* GENERATED ON {datetime.datetime.now()} by {__name__} DO NOT EDIT BY HAND. REGENERA...
21.421053
68
0.734644
59
407
4.932203
0.728814
0.075601
0
0
0
0
0
0
0
0
0
0
0.176904
407
19
69
21.421053
0.868657
0
0
0
1
0
0.825243
0.252427
0
0
0
0
0
0
null
null
0
0.125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2f7c7940e8c42e31b4e593427ecb7a7095d301ef
266
py
Python
lf3py/wsgi/types.py
rog-works/lf3py
e89937f7aa133ed54d85764f06101ab9abf6b960
[ "CNRI-Python" ]
null
null
null
lf3py/wsgi/types.py
rog-works/lf3py
e89937f7aa133ed54d85764f06101ab9abf6b960
[ "CNRI-Python" ]
48
2020-12-19T13:47:26.000Z
2021-01-07T22:27:56.000Z
lf3py/wsgi/types.py
rog-works/lf3py
e89937f7aa133ed54d85764f06101ab9abf6b960
[ "CNRI-Python" ]
null
null
null
from typing_extensions import Protocol from typing import Any, Callable, List, Optional, Tuple class StartResponse(Protocol): def __call__(self, status: str, headers: List[Tuple[str, str]], exc_info: Optional[Any] = ...) -> Callable[[bytes], Any]: ...
33.25
125
0.699248
33
266
5.454545
0.636364
0.111111
0
0
0
0
0
0
0
0
0
0
0.161654
266
7
126
38
0.807175
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2f807b03df0634b6e77718f34fe1faea99c1b6b7
2,358
py
Python
linalgebra/vector2.py
matthewflegg/LinearAlgebra
9de606f16d0730b8cbaa38b64fb9707c09bb1066
[ "MIT" ]
1
2022-01-03T22:36:01.000Z
2022-01-03T22:36:01.000Z
linalgebra/vector2.py
matthewflegg/linearalgebra
9de606f16d0730b8cbaa38b64fb9707c09bb1066
[ "MIT" ]
null
null
null
linalgebra/vector2.py
matthewflegg/linearalgebra
9de606f16d0730b8cbaa38b64fb9707c09bb1066
[ "MIT" ]
null
null
null
# Import math import math class Vector2D: """The Vector2D object we construct in the __init__ method has cartesian co-ordinates""" # Vector2D constructor def __init__(self, x, y): self.x, self.y = x, y def __str__(self): # Human readable string repr return '{:g}i + {:g}j'.f...
31.026316
75
0.638253
324
2,358
4.441358
0.339506
0.04517
0.029187
0.079222
0.249479
0.165393
0.165393
0.165393
0.125087
0.070883
0
0.008088
0.265903
2,358
75
76
31.44
0.823224
0.301527
0
0
0
0
0.059711
0
0
0
0
0
0
1
0.4
false
0
0.028571
0.314286
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f9e315f82db404eb4417e941ea743f79f9d2022
216
py
Python
scripts/npc/roro_Check3.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/npc/roro_Check3.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/npc/roro_Check3.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # [Magic Library Checker] | [1032220] # Ellinia : Magic Library if "1" not in sm.getQuestEx(25566, "c3"): sm.setQuestEx(25566, "c3", "1") sm.chatScript("You search the Magic Library.")
36
50
0.671296
30
216
4.833333
0.7
0.248276
0
0
0
0
0
0
0
0
0
0.117978
0.175926
216
6
50
36
0.696629
0.375
0
0
0
0
0.265152
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
85cf7c417e149027d7493e02a9c70323e5a207b6
572
py
Python
kiacopy/__init__.py
ganyariya/kiacopy
2379119a7360fec32211d31c12e37fd9daefd002
[ "MIT" ]
null
null
null
kiacopy/__init__.py
ganyariya/kiacopy
2379119a7360fec32211d31c12e37fd9daefd002
[ "MIT" ]
69
2021-06-23T05:15:49.000Z
2022-03-31T18:07:22.000Z
kiacopy/__init__.py
ganyariya/kiacopy
2379119a7360fec32211d31c12e37fd9daefd002
[ "MIT" ]
null
null
null
from logging import getLogger, NullHandler from kiacopy.colony import Colony from kiacopy.colony import Colony from kiacopy.solver import Solver from kiacopy.solverplugin import SolverPlugin from kiacopy.solution import Solution from kiacopy.ants.ant import Ant from kiacopy.ants.randomant import RandomAnt from kiacopy....
30.105263
50
0.83042
74
572
6.202703
0.364865
0.263617
0.098039
0.100218
0.150327
0.150327
0.150327
0
0
0
0
0.013699
0.106643
572
18
51
31.777778
0.88454
0
0
0.125
0
0
0.061189
0.038462
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c823dbe85d23b5116847536714a915899c74862f
324
py
Python
Nivek maths/kanu/__init__.py
ThiccTT/nivek-maths
37f222b3ddc72455313eb619a79bc6045b89b506
[ "MIT" ]
6
2020-10-18T08:15:44.000Z
2022-01-19T16:14:40.000Z
Nivek maths/kanu/__init__.py
ThiccTT/nivek-maths
37f222b3ddc72455313eb619a79bc6045b89b506
[ "MIT" ]
null
null
null
Nivek maths/kanu/__init__.py
ThiccTT/nivek-maths
37f222b3ddc72455313eb619a79bc6045b89b506
[ "MIT" ]
3
2019-06-17T15:44:58.000Z
2021-08-04T01:37:25.000Z
from .element import get_matching_paren, InvalidVariableError, Element, Variable, InvalidElementError from .expression import OperatorList, format_parens, parse_expression, to_op_list, to_rpn, all_together_now from .equation import find_variables, solve_single_linear_equation, NonLinearEquationError __version__ = '0.1...
54
107
0.858025
40
324
6.525
0.8
0
0
0
0
0
0
0
0
0
0
0.010101
0.083333
324
5
108
64.8
0.868687
0
0
0
0
0
0.015432
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c83157f749d7fe31683e613d0d7cb0bab865f887
247
py
Python
possum/exc.py
brysontyrrell/Possum
0ae7c90d7890f16d8405e346b0778bf878e29d5f
[ "MIT" ]
24
2018-03-14T15:25:52.000Z
2019-03-13T18:36:46.000Z
possum/exc.py
brysontyrrell/Possum
0ae7c90d7890f16d8405e346b0778bf878e29d5f
[ "MIT" ]
20
2018-04-11T04:36:40.000Z
2019-01-17T11:44:30.000Z
possum/exc.py
brysontyrrell/Possum
0ae7c90d7890f16d8405e346b0778bf878e29d5f
[ "MIT" ]
5
2018-01-04T21:10:15.000Z
2019-01-16T20:10:12.000Z
class PossumException(Exception): """Base Possum Exception""" class PipenvPathNotFound(PossumException): """Pipenv could not be located""" class SAMTemplateError(PossumException): """There was an error reading the template file"""
22.454545
54
0.736842
25
247
7.28
0.8
0
0
0
0
0
0
0
0
0
0
0
0.153846
247
10
55
24.7
0.870813
0.380567
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
c845b405dfb89bfc6afeaccf4fa73dab1dee293a
262
py
Python
scieio/disposition/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
scieio/disposition/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
8
2021-03-19T01:56:44.000Z
2022-03-12T00:24:21.000Z
scieio/disposition/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import viewsets from . import models, serializers class DispositionViewSet(viewsets.ModelViewSet): queryset = models.Disposition.objects.all() serializer_class = serializers.DispositionSerializer
29.111111
56
0.824427
27
262
7.925926
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.118321
262
8
57
32.75
0.926407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c847ba632fcc836780c365bf6e3ce89816b9948d
262
py
Python
Labs/Lab04/QuestionEuler01Solution.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
Labs/Lab04/QuestionEuler01Solution.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
null
null
null
Labs/Lab04/QuestionEuler01Solution.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
end = 1000 total = 0 for x in range(1,end): if x % 15 == 0: total = total + x print(x) elif x % 5 == 0: total = total + x print(x) elif x % 3 == 0: total = total + x print(x) print(f"total = {total}")
17.466667
25
0.438931
41
262
2.804878
0.390244
0.347826
0.286957
0.313043
0.556522
0.556522
0.4
0.4
0
0
0
0.085526
0.419847
262
15
26
17.466667
0.671053
0
0
0.461538
0
0
0.057252
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c85497d6792fe4c6a6dc394dfbf2b80f0877b324
234
py
Python
output/models/nist_data/atomic/long/schema_instance/nistschema_sv_iv_atomic_long_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/long/schema_instance/nistschema_sv_iv_atomic_long_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/long/schema_instance/nistschema_sv_iv_atomic_long_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.long.schema_instance.nistschema_sv_iv_atomic_long_pattern_4_xsd.nistschema_sv_iv_atomic_long_pattern_4 import NistschemaSvIvAtomicLongPattern4 __all__ = [ "NistschemaSvIvAtomicLongPattern4", ]
39
178
0.884615
28
234
6.714286
0.642857
0.159574
0.148936
0.212766
0.340426
0.340426
0.340426
0
0
0
0
0.018182
0.059829
234
5
179
46.8
0.836364
0
0
0
0
0
0.136752
0.136752
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c07b9919a990aa591ba51626c9f048e22c056d38
550
py
Python
tests/test_routes.py
jonaskaz/Noodle-API
bcfb20c58a92ddea1aa870b6f717cbf4b9aa2488
[ "MIT" ]
1
2021-11-04T16:33:34.000Z
2021-11-04T16:33:34.000Z
tests/test_routes.py
jonaskaz/Noodle-API
bcfb20c58a92ddea1aa870b6f717cbf4b9aa2488
[ "MIT" ]
null
null
null
tests/test_routes.py
jonaskaz/Noodle-API
bcfb20c58a92ddea1aa870b6f717cbf4b9aa2488
[ "MIT" ]
null
null
null
def test_post_order(client, order_payload): res = client.post("/order", json = order_payload) assert res.status_code == 200 def test_post_game(client, game_payload): res = client.post("/order", json = game_payload) assert res.status_code == 200 def test_get_order(client): res1 = client.get("/o...
26.190476
57
0.634545
74
550
4.554054
0.310811
0.094955
0.124629
0.178042
0.385757
0.385757
0.21365
0.21365
0
0
0
0.033632
0.189091
550
20
58
27.5
0.721973
0
0
0.142857
0
0
0.104015
0
0
0
0
0
0.428571
1
0.214286
false
0
0
0
0.214286
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
1
0
1
0
0
0
0
0
0
0
3
c0962c0011012f40b124a247ae3c0cc696c96587
477
py
Python
census_similarity/metrics.py
18F/census-similarity
1af03a7fc9fc865b037abcb460386fb9b73bc103
[ "CC0-1.0" ]
1
2016-09-28T16:02:58.000Z
2016-09-28T16:02:58.000Z
census_similarity/metrics.py
18F/census-similarity
1af03a7fc9fc865b037abcb460386fb9b73bc103
[ "CC0-1.0" ]
11
2016-09-26T18:44:18.000Z
2016-10-15T23:30:41.000Z
census_similarity/metrics.py
18F/census-similarity
1af03a7fc9fc865b037abcb460386fb9b73bc103
[ "CC0-1.0" ]
3
2016-09-28T10:02:17.000Z
2021-02-15T09:58:33.000Z
"""Distance metrics""" import distance from scipy import spatial def cosine(left, right): elements = set(left) | set(right) elements = list(sorted(elements)) left = [int(el in left) for el in elements] right = [int(el in right) for el in elements] return spatial.distance.cosine(left, right) def ...
23.85
61
0.704403
65
477
5.169231
0.353846
0.160714
0.089286
0.089286
0
0
0
0
0
0
0
0
0.18239
477
19
62
25.105263
0.861538
0.033543
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c09718359923b744f7ba947170a3adc6e69f2cb7
162
py
Python
lib/pylsdj/bread/__init__.py
iLambda/lsdj-wave-cruncher
b49f2f3943d396ee01263f25c8d7a38a65f63ff4
[ "MIT" ]
15
2016-10-11T16:48:58.000Z
2022-02-19T01:39:00.000Z
lib/pylsdj/bread/__init__.py
urbster1/lsdj-wave-cruncher
8da1f384f83c79a87cbd311c5dbbf3fe93fb5054
[ "MIT" ]
2
2016-10-11T11:55:30.000Z
2021-01-31T12:11:16.000Z
lib/pylsdj/bread/__init__.py
iLambda/lsdj-wave-cruncher
b49f2f3943d396ee01263f25c8d7a38a65f63ff4
[ "MIT" ]
5
2016-10-11T11:42:47.000Z
2021-07-10T12:23:25.000Z
__title__ = 'bread' __version__ = '2.2.0' __author__ = 'Alex Rasmussen' __license__ = 'MIT' __copyright__ = 'Copyright 2015 Alex Rasmussen' from .bread import *
20.25
47
0.734568
19
162
5.210526
0.736842
0.262626
0
0
0
0
0
0
0
0
0
0.050725
0.148148
162
7
48
23.142857
0.666667
0
0
0
0
0
0.345679
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0be744cb13aff37e64849df94dc5c6c0e8f9cfc
89
py
Python
okex/v5/cttype.py
quantmew/okex-py
3e96413cd4e6dd5779ff2c47b8c76be53448783d
[ "MIT" ]
32
2021-05-06T01:46:17.000Z
2022-03-09T03:34:24.000Z
okex/v5/cttype.py
PattonChen/okex-py
cced7f1419da0940a2200ce66d62b4f9539949f2
[ "MIT" ]
3
2021-05-09T14:40:54.000Z
2021-11-24T13:29:30.000Z
okex/v5/cttype.py
PattonChen/okex-py
cced7f1419da0940a2200ce66d62b4f9539949f2
[ "MIT" ]
14
2021-05-11T23:36:18.000Z
2021-12-28T09:47:35.000Z
from enum import Enum class CtType(Enum): LINEAR = "linear" INVERSE = "inverse"
14.833333
23
0.662921
11
89
5.363636
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.235955
89
6
23
14.833333
0.867647
0
0
0
0
0
0.146067
0
0
0
0
0
0
1
0
false
0
0.25
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
c0c5910e021a0d83ff30289ae62e1159af2f9c6d
7,315
py
Python
backend/externalise/tests.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
backend/externalise/tests.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
backend/externalise/tests.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
from django.test import TestCase from tools.testing import TestData from decimal import Decimal from money.models import Cost from externalise.models import ExternaliseDocument, IncorrectPriceError, IncorrectCountError, ExternaliseLine from stock.models import Stock class ExternaliseTests(TestCase, TestData): de...
54.185185
111
0.520437
684
7,315
5.317251
0.109649
0.136101
0.11218
0.063239
0.786637
0.753643
0.721199
0.675832
0.670883
0.65906
0
0.020562
0.40164
7,315
134
112
54.589552
0.810372
0
0
0.606557
0
0
0.003828
0
0
0
0
0
0.286885
1
0.065574
false
0
0.04918
0
0.122951
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0c82419820fc2654d3313e9ba40f79e72c45b38
403
py
Python
wcraas_discovery/cli.py
panagiks/wcraas_discovery
77f9a9ec8a2b00555e8176fc84294da953b3b1fa
[ "MIT" ]
null
null
null
wcraas_discovery/cli.py
panagiks/wcraas_discovery
77f9a9ec8a2b00555e8176fc84294da953b3b1fa
[ "MIT" ]
1
2021-11-15T17:49:49.000Z
2021-11-15T17:49:49.000Z
wcraas_discovery/cli.py
panagiks/wcraas_discovery
77f9a9ec8a2b00555e8176fc84294da953b3b1fa
[ "MIT" ]
1
2019-10-04T05:07:28.000Z
2019-10-04T05:07:28.000Z
# -*- coding: utf-8 -*- """Console script for wcraas_discovery.""" import sys import click from wcraas_discovery import DiscoveryWorker from wcraas_discovery.config import Config @click.command() def main(args=None): """Console script for wcraas_discovery.""" worker = DiscoveryWorker(*Config.fromenv()) ...
20.15
47
0.707196
49
403
5.571429
0.571429
0.21978
0.117216
0.161172
0.227106
0
0
0
0
0
0
0.00295
0.158809
403
19
48
21.210526
0.80236
0.280397
0
0
0
0
0.028777
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
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
0
0
1
0
0
0
0
3
c0e8f92a75016fbbf76bf2a6fb6b6f279be5b5e1
1,092
py
Python
source/detection/OCRDetector.py
FrancescoSaverioZuppichini/Smash-Bros-Melee
4ca6f67240bfe60e86a82409c4056aaa25a5a860
[ "MIT" ]
null
null
null
source/detection/OCRDetector.py
FrancescoSaverioZuppichini/Smash-Bros-Melee
4ca6f67240bfe60e86a82409c4056aaa25a5a860
[ "MIT" ]
null
null
null
source/detection/OCRDetector.py
FrancescoSaverioZuppichini/Smash-Bros-Melee
4ca6f67240bfe60e86a82409c4056aaa25a5a860
[ "MIT" ]
null
null
null
import pytesseract import cv2 from detection import Detector from PIL import Image from dataclasses import dataclass from utils import imshow import numpy as np from detection import Detector @dataclass class OCRDetector(Detector): """ Easy peasy ocr with tesseract, to improve the prediction you can pass ...
30.333333
86
0.666667
156
1,092
4.615385
0.532051
0.05
0.052778
0.075
0
0
0
0
0
0
0
0.016069
0.259158
1,092
36
87
30.333333
0.873918
0.231685
0
0.076923
0
0
0.009804
0
0
0
0
0.027778
0
1
0.038462
false
0
0.307692
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
23a0a03a2bb614c031ced5ebee63ba58401296d4
268
py
Python
Application.py
l0athe/lecture2
8505f1dc6edb9e04aeb4f6f6f9dc5a7e64b87b69
[ "MIT" ]
1
2018-07-29T18:40:47.000Z
2018-07-29T18:40:47.000Z
Application.py
l0athe/lecture2
8505f1dc6edb9e04aeb4f6f6f9dc5a7e64b87b69
[ "MIT" ]
null
null
null
Application.py
l0athe/lecture2
8505f1dc6edb9e04aeb4f6f6f9dc5a7e64b87b69
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route("/") def index(): return "MAKE IT RAINGURL, MAKE IT RAIN!" @app.route("/<string:name>") def hello(name): name = name.capitalize() return f"<h1>Oh yeah hey {name} hey wassup?</h1>"
17.866667
54
0.608209
38
268
4.184211
0.578947
0.100629
0
0
0
0
0
0
0
0
0
0.009662
0.227612
268
14
55
19.142857
0.758454
0
0
0
0
0
0.334646
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
23a0eb8783bdb2147bd53bedb25189d718eab953
835
py
Python
mnelab/dialogs/__init__.py
dmedine/mnelab
d1942da5fd274de6aa97fd9ba050a9c12a8da058
[ "BSD-3-Clause" ]
null
null
null
mnelab/dialogs/__init__.py
dmedine/mnelab
d1942da5fd274de6aa97fd9ba050a9c12a8da058
[ "BSD-3-Clause" ]
null
null
null
mnelab/dialogs/__init__.py
dmedine/mnelab
d1942da5fd274de6aa97fd9ba050a9c12a8da058
[ "BSD-3-Clause" ]
null
null
null
# Authors: Clemens Brunner <clemens.brunner@gmail.com> # # License: BSD (3-clause) from .annotationsdialog import AnnotationsDialog from .calcdialog import CalcDialog from .channelpropertiesdialog import ChannelPropertiesDialog from .cropdialog import CropDialog from .epochdialog import EpochDialog from .errormessageb...
37.954545
60
0.869461
79
835
9.189873
0.35443
0.038567
0
0
0
0
0
0
0
0
0
0.001323
0.094611
835
21
61
39.761905
0.958995
0.091018
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
23c42b3616a337da92d375cf92a907b1db17fc19
123
py
Python
data/studio21_generated/interview/1954/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1954/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1954/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def smallestSufficientTeam(self, req_skills: List[str], people: List[List[str]]) -> List[int]:
41
98
0.674797
15
123
5.466667
0.733333
0.170732
0
0
0
0
0
0
0
0
0
0
0.178862
123
3
99
41
0.811881
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3