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
0560eb796cde95bd6a8a9d9da179a30896d09450
119
py
Python
tests/urls.py
pennlabs/django-email-tools
5fce8037fcca0d635123b563fba278ad8a5df871
[ "MIT" ]
null
null
null
tests/urls.py
pennlabs/django-email-tools
5fce8037fcca0d635123b563fba278ad8a5df871
[ "MIT" ]
null
null
null
tests/urls.py
pennlabs/django-email-tools
5fce8037fcca0d635123b563fba278ad8a5df871
[ "MIT" ]
null
null
null
from django.urls import include, path urlpatterns = [path("", include("email_tools.urls", namespace="email_tools"))]
23.8
78
0.739496
15
119
5.733333
0.666667
0.232558
0
0
0
0
0
0
0
0
0
0
0.10084
119
4
79
29.75
0.803738
0
0
0
0
0
0.226891
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
057ccb83070260f86616a10292d9ffdc86f078a6
227
py
Python
backend/views.py
ledoux7/react-flask-docker
64d5533560ae5fd1bdd6b90f6c20a66b5dbdce74
[ "MIT" ]
1
2019-08-15T13:18:34.000Z
2019-08-15T13:18:34.000Z
backend/views.py
ledoux7/react-flask-docker
64d5533560ae5fd1bdd6b90f6c20a66b5dbdce74
[ "MIT" ]
null
null
null
backend/views.py
ledoux7/react-flask-docker
64d5533560ae5fd1bdd6b90f6c20a66b5dbdce74
[ "MIT" ]
null
null
null
from flask import render_template, Blueprint from extensions import db from models import * #view_blueprint = Blueprint('view', __name__) #@view_blueprint.route("/") #def index(): # return render_template("index.html")
17.461538
45
0.744493
28
227
5.75
0.571429
0.173913
0
0
0
0
0
0
0
0
0
0
0.136564
227
12
46
18.916667
0.821429
0.537445
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
0588ad6b114adb54b5b735d50fbad2d45c31cd90
71
py
Python
eduvpn/__main__.py
14mRh4X0r/python-eduvpn-client
e70e42283eb9caef1ec969cdff6a385350397aca
[ "Apache-2.0" ]
1
2021-05-25T07:51:30.000Z
2021-05-25T07:51:30.000Z
eduvpn/__main__.py
edvfb9/python-eduvpn-client
79f01aab392e9f93a517a70f371a0b110ce7e1c4
[ "Apache-2.0" ]
null
null
null
eduvpn/__main__.py
edvfb9/python-eduvpn-client
79f01aab392e9f93a517a70f371a0b110ce7e1c4
[ "Apache-2.0" ]
1
2021-05-25T07:50:14.000Z
2021-05-25T07:50:14.000Z
from eduvpn.cli import eduvpn if __name__ == '__main__': eduvpn()
14.2
29
0.690141
9
71
4.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.197183
71
4
30
17.75
0.719298
0
0
0
0
0
0.112676
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
55256ccf4abb2c724fc72dfad7ea7db3d20b756e
815
py
Python
app/__init__.py
ZehLuckmann/integracao
030f5f696367857b9a47dfec703f2a1b3021a26e
[ "MIT" ]
2
2019-03-02T22:18:18.000Z
2020-05-14T21:21:35.000Z
app/__init__.py
ZehLuckmann/integracao
030f5f696367857b9a47dfec703f2a1b3021a26e
[ "MIT" ]
null
null
null
app/__init__.py
ZehLuckmann/integracao
030f5f696367857b9a47dfec703f2a1b3021a26e
[ "MIT" ]
null
null
null
# Importa os padrões e operadores do FLask from flask import Flask # Import SQLAlchemy from flask_sqlalchemy import SQLAlchemy # Define the WSGI application object app = Flask(__name__) # Configurations app.config.from_object('config') # Define the database object which is imported # by modules and controllers db =...
28.103448
77
0.801227
111
815
5.810811
0.468468
0.086822
0.223256
0.260465
0
0
0
0
0
0
0
0
0.134969
815
29
78
28.103448
0.914894
0.402454
0
0
0
0
0.012552
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
552584ff11780154f7d3b5dd981510b0e92303d9
400
py
Python
modules/models/owners.py
birkoff/cloud-instances
cbf80523b210bd3e932bd5c933146f446550f0f4
[ "MIT" ]
1
2019-11-18T23:31:13.000Z
2019-11-18T23:31:13.000Z
modules/models/owners.py
birkoff/cloud-instances
cbf80523b210bd3e932bd5c933146f446550f0f4
[ "MIT" ]
null
null
null
modules/models/owners.py
birkoff/cloud-instances
cbf80523b210bd3e932bd5c933146f446550f0f4
[ "MIT" ]
null
null
null
class Owners: def __init__(self, github, cloud_storage): self.github = github self.cloud_storage = cloud_storage def list_all(self): return self.cloud_storage.list_all_owners() def sync(self): all_users = self.github.fetch_users() self.cloud_storage.store_owners_lis...
30.769231
69
0.6925
54
400
4.740741
0.333333
0.28125
0.25
0.164063
0
0
0
0
0
0
0
0
0.2125
400
12
70
33.333333
0.812698
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.1
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
555fbc7117f0ea928eef28c3c73a884e7eb383ed
4,215
py
Python
scripts/forms.py
dparmenter123/verbe-italiani
352a313c7e649afa14a0c3d783f32c539c0eb12e
[ "CC0-1.0" ]
null
null
null
scripts/forms.py
dparmenter123/verbe-italiani
352a313c7e649afa14a0c3d783f32c539c0eb12e
[ "CC0-1.0" ]
2
2020-03-31T11:39:00.000Z
2021-08-23T20:40:11.000Z
scripts/forms.py
dparmenter123/verbe-italiani
352a313c7e649afa14a0c3d783f32c539c0eb12e
[ "CC0-1.0" ]
null
null
null
# Its job is to identify which forms are good prompts for the key form, so given a level and a form, # we can pick a good prompt. MATCHING_FORMS = { ("A1", "INDICATIVO_PASSATO_PROSSIMO"): ["'INDICATIVO_PRESENTE'"], ("A2", "INDICATIVO_PASSATO_PROSSIMO"): ["'INDICATIVO_PRESENTE'"], ("B1", "INDICATIVO_PASSATO...
61.086957
104
0.681851
361
4,215
7.515235
0.110803
0.212311
0.165131
0.15481
0.607446
0.461482
0.392923
0.202728
0
0
0
0.013778
0.104626
4,215
69
105
61.086957
0.705087
0.029656
0
0
0
0
0.709393
0.626223
0
0
0
0
0
1
0
false
0.592593
0
0
0
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
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
5584868357ad4bee6265658dcdc551bbc8c24220
4,641
py
Python
maddpg/model.py
glab2019/MADDPG-Based-MCS
e48ee3a74c66d7fa8acaa4e3796874c4ca09519f
[ "MIT" ]
5
2020-12-31T02:35:58.000Z
2022-03-08T09:28:51.000Z
maddpg/model.py
glab2019/MADDPG-Based-MCS
e48ee3a74c66d7fa8acaa4e3796874c4ca09519f
[ "MIT" ]
null
null
null
maddpg/model.py
glab2019/MADDPG-Based-MCS
e48ee3a74c66d7fa8acaa4e3796874c4ca09519f
[ "MIT" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F def hidden_init(layer): fan_in = layer.weight.data.size()[0] lim = 1. / np.sqrt(fan_in) return -lim, lim class ActorNetwork(nn.Module): def __init__(self, observation_size, action_size, use_batch_norm, seed, ...
35.976744
86
0.618617
650
4,641
4.232308
0.138462
0.052345
0.061069
0.043621
0.822973
0.814976
0.755725
0.676845
0.654308
0.654308
0
0.036137
0.272571
4,641
128
87
36.257813
0.778732
0.210515
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.051948
0
0.220779
0
0
0
0
null
0
0
0
1
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
4
55a3a6a0ea31bc99ede78c91ac3e17a8ad9df952
59
py
Python
tests/__init__.py
Nikolay-Lysenko/servifier
6d51f0904edf650e178a95e2f5424c8ebafabb83
[ "MIT" ]
8
2019-05-09T12:45:37.000Z
2019-08-25T14:44:58.000Z
tests/__init__.py
Nikolay-Lysenko/servifier
6d51f0904edf650e178a95e2f5424c8ebafabb83
[ "MIT" ]
1
2019-11-02T20:59:51.000Z
2019-11-02T20:59:51.000Z
tests/__init__.py
Nikolay-Lysenko/servifier
6d51f0904edf650e178a95e2f5424c8ebafabb83
[ "MIT" ]
null
null
null
""" Test `servifier` package. Author: Nikolay Lysenko """
9.833333
25
0.677966
6
59
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.152542
59
5
26
11.8
0.8
0.847458
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
55b9be7d37ec60aaa3d0cec21dd6d13f61d38566
92
py
Python
nnatest_api/runner/apps.py
marcelotrevisani/nnatest_api
e4858e2348bf041ad2bc0674a6316bf046305701
[ "MIT" ]
null
null
null
nnatest_api/runner/apps.py
marcelotrevisani/nnatest_api
e4858e2348bf041ad2bc0674a6316bf046305701
[ "MIT" ]
null
null
null
nnatest_api/runner/apps.py
marcelotrevisani/nnatest_api
e4858e2348bf041ad2bc0674a6316bf046305701
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TestmanagerConfig(AppConfig): name = 'runner'
15.333333
35
0.76087
10
92
7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.163043
92
5
36
18.4
0.909091
0
0
0
0
0
0.065217
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
1
0
0
4
e99879b709d83e4a790ab15e0c7e8d0ee2b5572c
131
py
Python
randsentlist/filename/filename.py
eryktrzeciakiewicz/random-sentence-list
848224e99e73f0ef55f229edfffeef388ef857ec
[ "MIT" ]
null
null
null
randsentlist/filename/filename.py
eryktrzeciakiewicz/random-sentence-list
848224e99e73f0ef55f229edfffeef388ef857ec
[ "MIT" ]
1
2021-06-01T23:54:30.000Z
2021-06-01T23:54:30.000Z
randsentlist/filename/filename.py
eryktrzeciakiewicz/random-sentence-list
848224e99e73f0ef55f229edfffeef388ef857ec
[ "MIT" ]
null
null
null
import datetime def unique_filename(): date = datetime.datetime.now().strftime("%d_%h_%Y_%H_%M_%S") return date + ".tex"
18.714286
64
0.664122
19
131
4.263158
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.160305
131
6
65
21.833333
0.736364
0
0
0
0
0
0.160305
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
4
e9a9f3273e8f9a7b77efe9dbe3c4a3f427f8a468
276
py
Python
src/cuia/renderer/__init__.py
schneiderfelipe/kay
a7bf69e3bbd1b845286667b20eb1fba88faf9ea4
[ "MIT" ]
14
2021-11-18T14:56:48.000Z
2022-03-26T08:02:13.000Z
src/cuia/renderer/__init__.py
getcuia/cuia
685d258b3cb366d40100e6a563661b307aef5ae3
[ "MIT" ]
8
2021-11-25T13:47:12.000Z
2022-03-25T12:01:09.000Z
src/cuia/renderer/__init__.py
schneiderfelipe/kay
a7bf69e3bbd1b845286667b20eb1fba88faf9ea4
[ "MIT" ]
null
null
null
"""Renderer facilities.""" from .curses import CursesRenderer from .log import LogRenderer from .renderer import Renderer from .text import TextRenderer __all__ = ["CursesRenderer", "LogRenderer", "Renderer", "TextRenderer"] # TODO: call this module "renderers" (plural)
21.230769
71
0.757246
29
276
7.068966
0.586207
0
0
0
0
0
0
0
0
0
0
0
0.130435
276
12
72
23
0.854167
0.235507
0
0
0
0
0.219512
0
0
0
0
0.083333
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
4
756d2c3589fad123fc8b5bec1de589306c9887d7
63
py
Python
exercicio 5.2.py
LuizCostha/Nilo-Menezes-exercises
2e2f2de83868c8c02e0149fb81bc9f531c1b064d
[ "MIT" ]
null
null
null
exercicio 5.2.py
LuizCostha/Nilo-Menezes-exercises
2e2f2de83868c8c02e0149fb81bc9f531c1b064d
[ "MIT" ]
null
null
null
exercicio 5.2.py
LuizCostha/Nilo-Menezes-exercises
2e2f2de83868c8c02e0149fb81bc9f531c1b064d
[ "MIT" ]
null
null
null
x = 50 while 50 <= x <= 100: print (x) x = x + 1
10.5
22
0.365079
11
63
2.090909
0.545455
0.173913
0
0
0
0
0
0
0
0
0
0.242424
0.47619
63
5
23
12.6
0.454545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7579dbf96647a6319d436986aaeb2ae6e33c47a9
3,011
py
Python
Python3/1240.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/1240.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/1240.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 16 ms submission class Solution: def tilingRectangle(self, n: int, m: int) -> List[int]: if n < m: return self.tilingRectangle(m, n) if m == 0: return 0 if m == 1...
49.360656
1,073
0.44271
502
3,011
2.067729
0.105578
0.034682
0.042389
0.046243
0.267823
0.23025
0.23025
0.16474
0.16474
0.16474
0
0.202133
0.346064
3,011
61
1,074
49.360656
0.325038
0
0
0.269231
0
0
0.001992
0
0
0
0
0
0
0
null
null
0
0.019231
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
7595380256bc175b68743f0dcd8638484d11634d
137
py
Python
solutions/timeloop.py
dx-dt/Kattis
62856999ae2ac43dab81f87beeac5bf8979528f5
[ "Unlicense" ]
null
null
null
solutions/timeloop.py
dx-dt/Kattis
62856999ae2ac43dab81f87beeac5bf8979528f5
[ "Unlicense" ]
null
null
null
solutions/timeloop.py
dx-dt/Kattis
62856999ae2ac43dab81f87beeac5bf8979528f5
[ "Unlicense" ]
null
null
null
# https://open.kattis.com/problems/timeloop import sys for n in range(int(sys.stdin.read())): print "%s Abracadabra" % (n+1)
19.571429
44
0.642336
21
137
4.190476
0.904762
0
0
0
0
0
0
0
0
0
0
0.008929
0.182482
137
6
45
22.833333
0.776786
0.29927
0
0
0
0
0.159091
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
75c4a34e3e70e446c839190560c394f393c68f19
2,572
py
Python
h2o-hadoop-common/tests/python/pyunit_gcs_import.py
kernelrich/h2o-3
16bd6be6d0ac22b037cb55b4c647e63e2b112e1e
[ "Apache-2.0" ]
6,098
2015-05-22T02:46:12.000Z
2022-03-31T16:54:51.000Z
h2o-hadoop-common/tests/python/pyunit_gcs_import.py
kernelrich/h2o-3
16bd6be6d0ac22b037cb55b4c647e63e2b112e1e
[ "Apache-2.0" ]
2,517
2015-05-23T02:10:54.000Z
2022-03-30T17:03:39.000Z
h2o-hadoop-common/tests/python/pyunit_gcs_import.py
kernelrich/h2o-3
16bd6be6d0ac22b037cb55b4c647e63e2b112e1e
[ "Apache-2.0" ]
2,199
2015-05-22T04:09:55.000Z
2022-03-28T22:20:45.000Z
#! /usr/env/python import sys import os sys.path.insert(1, os.path.join("../../../h2o-py")) from tests import pyunit_utils import h2o def gcs_import(): # Just test the import works - no class clashes, no exception keys = h2o.import_file( "gs://gcp-public-data-nexrad-l2/2018/01/01/KABR/NWS_NEXRAD_NXL...
49.461538
116
0.738336
377
2,572
4.795756
0.254642
0.047013
0.103429
0.14104
0.652655
0.563606
0.563606
0.559181
0.543142
0.472345
0
0.250998
0.12325
2,572
51
117
50.431373
0.550776
0.062986
0
0.108108
0
0.378378
0.667775
0.658212
0
0
0
0
0.189189
1
0.027027
false
0
0.297297
0
0.324324
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
75d3927076e91e092ac2ccdcd466085efe6b2ec1
126
py
Python
setup.py
aerorahul/python_lib
b0391a84ee5cdc838530d8e6e41be6d14435c4dd
[ "Apache-2.0" ]
null
null
null
setup.py
aerorahul/python_lib
b0391a84ee5cdc838530d8e6e41be6d14435c4dd
[ "Apache-2.0" ]
null
null
null
setup.py
aerorahul/python_lib
b0391a84ee5cdc838530d8e6e41be6d14435c4dd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 -*- # pip install --user -e . # pip uninstall pyarsenal from setuptools import setup, find_packages setup()
15.75
43
0.706349
17
126
5.176471
0.882353
0
0
0
0
0
0
0
0
0
0
0.009615
0.174603
126
7
44
18
0.836538
0.515873
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
75eeefa65ed095068b6d5b98dcf71ddd92bd40e7
1,822
py
Python
pytglib/api/functions/set_password.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/functions/set_password.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/functions/set_password.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class SetPassword(Object): """ Changes the password for the user. If a new recovery email address is specified, then the change will not be applied until the new recovery email address is confirmed Attributes: ID (:obj:`str`): ``SetPassword`` Args: old_pa...
37.183673
170
0.671789
236
1,822
4.902542
0.266949
0.202247
0.31115
0.19879
0.282627
0.232498
0.206569
0.169404
0.129646
0.129646
0
0
0.245335
1,822
48
171
37.958333
0.841455
0.415478
0
0
0
0
0.108718
0.053333
0
0
0
0
0
1
0.111111
false
0.5
0.055556
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
75f9368b7ae616dd4eab0ae3b86f9bbe14a6ba09
4,251
py
Python
osc_bge/student/migrations/0001_initial.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
osc_bge/student/migrations/0001_initial.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
5
2020-06-05T19:49:47.000Z
2021-09-08T00:50:55.000Z
osc_bge/student/migrations/0001_initial.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.9 on 2018-11-28 16:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ParentInfo', fields=[ ('id', models.AutoFie...
50.607143
181
0.566925
440
4,251
5.343182
0.206818
0.10889
0.086772
0.130157
0.775415
0.741812
0.71459
0.710336
0.691195
0.489154
0
0.022244
0.280875
4,251
83
182
51.216867
0.746811
0.010586
0
0.5
1
0
0.10157
0
0
0
0
0
0
1
0
false
0
0.013158
0
0.065789
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2f04a3d4500aec924d1516e536fedc956e9599cf
158
py
Python
ProblemSolving/CatsandaMouse.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
ProblemSolving/CatsandaMouse.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
ProblemSolving/CatsandaMouse.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
def catAndMouse(x, y, z): if abs(x - z) == abs(y - z): return "Mouse C" if abs(x - z) > abs(y - z): return "Cat B" return "Cat A"
22.571429
32
0.462025
28
158
2.607143
0.464286
0.082192
0.164384
0.191781
0.493151
0.493151
0.493151
0.493151
0
0
0
0
0.360759
158
6
33
26.333333
0.722772
0
0
0
0
0
0.107595
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
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
1
0
0
4
f94e2888beba1b84684c31a9079e0f2f4a5d8491
215
py
Python
tests/pyccel/project_rel_imports/runtest.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
206
2018-06-28T00:28:47.000Z
2022-03-29T05:17:03.000Z
tests/pyccel/project_rel_imports/runtest.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
670
2018-07-23T11:02:24.000Z
2022-03-30T07:28:05.000Z
tests/pyccel/project_rel_imports/runtest.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
19
2019-09-19T06:01:00.000Z
2022-03-29T05:17:06.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ from project.folder2.mod3 import one_hundred_plus_sum_to_n_squared if __name__ == '__main__': print(one_hundred_plus_sum_to_n_squared(4))
35.833333
71
0.823256
32
215
4.90625
0.71875
0.127389
0.178344
0.216561
0.343949
0.343949
0.343949
0
0
0
0
0.015228
0.083721
215
5
72
43
0.781726
0.32093
0
0
0
0
0.055556
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
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
1
0
1
0
0
0
0
4
f95a8f88fbcf8df742b04026da3993323a6143e7
224
py
Python
codes/callbypackage.py
SanghunOh/lecture_python
52d9c3ee631f226769525056f7e0a37bc38b0bd4
[ "Apache-2.0" ]
null
null
null
codes/callbypackage.py
SanghunOh/lecture_python
52d9c3ee631f226769525056f7e0a37bc38b0bd4
[ "Apache-2.0" ]
null
null
null
codes/callbypackage.py
SanghunOh/lecture_python
52d9c3ee631f226769525056f7e0a37bc38b0bd4
[ "Apache-2.0" ]
null
null
null
from calcuration import AddMinusCal addminuscal = AddMinusCal() addminuscal = AddMinusCal(3, 2) addminuscal.setdata(3,2) addminuscal.add() from calcuration import MultipleDivideCal multipledividecal = MultipleDivideCal()
20.363636
41
0.821429
22
224
8.363636
0.409091
0.478261
0.538043
0.478261
0
0
0
0
0
0
0
0.019901
0.102679
224
10
42
22.4
0.895522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f96f96169515c7e1ab8822d692e14fce7a5e162b
107
py
Python
icbd/type_analyzer/tests/boolexprs.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
7
2015-04-06T15:17:13.000Z
2020-10-21T04:57:00.000Z
icbd/type_analyzer/tests/boolexprs.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
null
null
null
icbd/type_analyzer/tests/boolexprs.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
4
2016-05-16T17:53:08.000Z
2020-11-28T17:18:50.000Z
l1 = [1] # 0 [<bool|int>] l2 = [''] # 0 [<bool|str>] l3 = l1 or l2 l3.append(True) l3 # 0 [<bool|int|str>]
17.833333
26
0.504673
21
107
2.571429
0.52381
0.277778
0.296296
0
0
0
0
0
0
0
0
0.129412
0.205607
107
5
27
21.4
0.505882
0.448598
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f97f8d54476d9bd970739442a977d868c3e5c34e
70
py
Python
genesis/utils/pipeline/data_sources/uclales/__init__.py
leifdenby/genesis
3e4942eac74fb9c69d9b3feedfce5aa745e3bf9c
[ "BSD-3-Clause" ]
2
2019-12-18T15:39:06.000Z
2020-07-16T14:44:38.000Z
genesis/utils/pipeline/data_sources/uclales/__init__.py
leifdenby/genesis
3e4942eac74fb9c69d9b3feedfce5aa745e3bf9c
[ "BSD-3-Clause" ]
2
2019-12-26T11:23:11.000Z
2020-07-22T10:04:45.000Z
genesis/utils/pipeline/data_sources/uclales/__init__.py
leifdenby/genesis
3e4942eac74fb9c69d9b3feedfce5aa745e3bf9c
[ "BSD-3-Clause" ]
1
2019-12-18T16:48:39.000Z
2019-12-18T16:48:39.000Z
from . import tracking_2d # noqa from .base import Extract3D # noqa
23.333333
35
0.742857
10
70
5.1
0.7
0
0
0
0
0
0
0
0
0
0
0.035714
0.2
70
2
36
35
0.875
0.128571
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f99f244cb26421b434caf36f892ed97aab0171e4
163
py
Python
piebase/tests.py
chaitu210/pietrack
6a4111280da4340c274a6becacd1eb914b8e9c17
[ "MIT" ]
null
null
null
piebase/tests.py
chaitu210/pietrack
6a4111280da4340c274a6becacd1eb914b8e9c17
[ "MIT" ]
7
2020-02-11T22:37:14.000Z
2021-12-13T19:40:44.000Z
piebase/tests.py
chaitu210/pietrack
6a4111280da4340c274a6becacd1eb914b8e9c17
[ "MIT" ]
null
null
null
from django.test import TestCase # Create your tests here. class addtestcase(TestCase): def test_simple_addition(self): self.assertEquals(5, 3 + 2)
18.111111
35
0.717791
22
163
5.227273
0.863636
0
0
0
0
0
0
0
0
0
0
0.022901
0.196319
163
8
36
20.375
0.854962
0.141104
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
4
f9b829ce29310f1caf005fb25573dbf9459843c5
352
py
Python
foundationsReact/django/founddjango/inputter/models.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
foundationsReact/django/founddjango/inputter/models.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
foundationsReact/django/founddjango/inputter/models.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
from django.db import models from drf import models as custom_models class Inputter(models.Model): title = models.CharField(max_length=50, blank=False, help_text='test', default='') password = custom_models.PasswordField(max_length=50, blank=True, help_text='secret dont ', default='password1') exists = mo...
39.111111
116
0.764205
48
352
5.479167
0.625
0.091255
0.08365
0.121673
0
0
0
0
0
0
0
0.016181
0.122159
352
8
117
44
0.834951
0
0
0
0
0
0.071023
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
f9bd7966aef3c73a0c113537047d2fc318220830
1,182
py
Python
survos2/server/filtering/base.py
DiamondLightSource/SuRVoS2
42bacfb6a5cc267f38ca1337e51a443eae1a9d2b
[ "MIT" ]
4
2017-10-10T14:47:16.000Z
2022-01-14T05:57:50.000Z
survos2/server/filtering/base.py
DiamondLightSource/SuRVoS2
42bacfb6a5cc267f38ca1337e51a443eae1a9d2b
[ "MIT" ]
1
2022-01-11T21:11:12.000Z
2022-01-12T08:22:34.000Z
survos2/server/filtering/base.py
DiamondLightSource/SuRVoS2
42bacfb6a5cc267f38ca1337e51a443eae1a9d2b
[ "MIT" ]
2
2018-03-06T06:31:29.000Z
2019-03-04T03:33:18.000Z
import math import numbers import numpy as np from skimage.filters import gaussian from skimage import img_as_float from scipy import ndimage from skimage import exposure import torch from torch import nn from torch.nn import functional as F import kornia from loguru import logger def simple_invert(data): """I...
17.382353
60
0.637056
168
1,182
4.416667
0.333333
0.040431
0.040431
0.044474
0.212938
0.196766
0.196766
0.196766
0.196766
0.09973
0
0.01359
0.252961
1,182
67
61
17.641791
0.826727
0.28088
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
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
1
1
1
0
0
4
f9cfff44144f20c794d6ae519ce5f0f96bbca88a
195
py
Python
app.py
clemsonMakerspace/maintenance-manager
b358d59990e19b94b489a4cf5f8fb1befe67ae5e
[ "Apache-2.0" ]
1
2021-01-03T18:40:52.000Z
2021-01-03T18:40:52.000Z
app.py
clemsonMakerspace/maintenance-manager
b358d59990e19b94b489a4cf5f8fb1befe67ae5e
[ "Apache-2.0" ]
null
null
null
app.py
clemsonMakerspace/maintenance-manager
b358d59990e19b94b489a4cf5f8fb1befe67ae5e
[ "Apache-2.0" ]
1
2021-06-06T13:07:07.000Z
2021-06-06T13:07:07.000Z
#!/usr/bin/env python3 from aws_cdk import core from maintenance_app.maintenance_app_stack import MaintenanceAppStack app = core.App() MaintenanceAppStack(app, "maintenance-app") app.synth()
17.727273
69
0.8
26
195
5.846154
0.538462
0.276316
0.223684
0
0
0
0
0
0
0
0
0.005714
0.102564
195
10
70
19.5
0.862857
0.107692
0
0
0
0
0.086705
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f9e5bbf4cf3fae9921517046529c8d1aa4df4f55
6,514
py
Python
Old Plaindome stuff/Palindome.py
Aenimus/Pythonic-Simulators
d74233e82c66dc814244da14ec24cb477e337926
[ "MIT" ]
1
2020-02-07T13:21:51.000Z
2020-02-07T13:21:51.000Z
Old Plaindome stuff/Palindome.py
Aenimus/Pythonic-Simulators
d74233e82c66dc814244da14ec24cb477e337926
[ "MIT" ]
null
null
null
Old Plaindome stuff/Palindome.py
Aenimus/Pythonic-Simulators
d74233e82c66dc814244da14ec24cb477e337926
[ "MIT" ]
null
null
null
class RedNugget(Encounter): def __init__(self, name = ""): self.name = name def check(self, location, player_state): return not player_state.get_inventory_item("photograph of a red nugget") def run(self, location, player_state): player_state.incr_invent...
40.209877
143
0.592877
717
6,514
5.075314
0.178522
0.129981
0.078318
0.075845
0.777686
0.700742
0.700742
0.644133
0.623248
0.623248
0
0.00316
0.319773
6,514
161
144
40.459627
0.8181
0.038225
0
0.631579
0
0
0.064238
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
ddca19a959055b7a2a2df844bfdc96cb9eca62e3
46
py
Python
xero/__init__.py
kgallagher555/pyxero
4b860c1797f8f96856f19dbae3073ee090dfe519
[ "BSD-3-Clause" ]
null
null
null
xero/__init__.py
kgallagher555/pyxero
4b860c1797f8f96856f19dbae3073ee090dfe519
[ "BSD-3-Clause" ]
null
null
null
xero/__init__.py
kgallagher555/pyxero
4b860c1797f8f96856f19dbae3073ee090dfe519
[ "BSD-3-Clause" ]
null
null
null
from .api import Xero __version__ = "0.8.1"
9.2
21
0.673913
8
46
3.375
1
0
0
0
0
0
0
0
0
0
0
0.081081
0.195652
46
4
22
11.5
0.648649
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
ddd539dc79685c0f0965fde64466db65d4634063
37
py
Python
spiral/utils/__init__.py
acdaniells/spiral
d78344007969d7c991216901b4a9d3ad7d768587
[ "BSD-3-Clause" ]
null
null
null
spiral/utils/__init__.py
acdaniells/spiral
d78344007969d7c991216901b4a9d3ad7d768587
[ "BSD-3-Clause" ]
1
2020-04-01T18:39:48.000Z
2020-04-01T18:39:48.000Z
spiral/utils/__init__.py
acdaniells/spiral
d78344007969d7c991216901b4a9d3ad7d768587
[ "BSD-3-Clause" ]
1
2020-04-01T18:36:44.000Z
2020-04-01T18:36:44.000Z
""" Spiral utilities subpackage. """
9.25
28
0.675676
3
37
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.135135
37
3
29
12.333333
0.78125
0.756757
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ddd5833fc2c36dee28f54846e5d1d21613dbe686
207
py
Python
src/myapp/application/ports/api/cast_article_vote/cast_article_vote_command.py
BasicWolf/hexagonal-architecture-django
3bfa4ea2f258ba038c6e3cf73bcdae0511b6fcb6
[ "MIT" ]
15
2021-05-31T12:56:53.000Z
2022-02-06T11:44:40.000Z
src/myapp/application/ports/api/cast_article_vote/cast_article_vote_command.py
BasicWolf/hexagonal-architecture-django
3bfa4ea2f258ba038c6e3cf73bcdae0511b6fcb6
[ "MIT" ]
6
2021-06-08T17:29:47.000Z
2022-03-30T09:41:06.000Z
src/myapp/application/ports/api/cast_article_vote/cast_article_vote_command.py
BasicWolf/hexagonal-architecture-django
3bfa4ea2f258ba038c6e3cf73bcdae0511b6fcb6
[ "MIT" ]
6
2021-06-07T08:26:24.000Z
2022-02-28T11:06:49.000Z
from dataclasses import dataclass from uuid import UUID from myapp.application.domain.model.vote import Vote @dataclass class CastArticleVoteCommand: user_id: UUID article_id: UUID vote: Vote
17.25
52
0.782609
27
207
5.925926
0.555556
0.075
0
0
0
0
0
0
0
0
0
0
0.173913
207
11
53
18.818182
0.935673
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.875
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
1
0
0
4
ddeb1de06edd2a282192320c8b24934fc89cec95
127
py
Python
python/158.A.py
arechesk/cf
8d2209398f0fc4a73c139f4101634a8ed8c62ff6
[ "BSD-3-Clause" ]
null
null
null
python/158.A.py
arechesk/cf
8d2209398f0fc4a73c139f4101634a8ed8c62ff6
[ "BSD-3-Clause" ]
null
null
null
python/158.A.py
arechesk/cf
8d2209398f0fc4a73c139f4101634a8ed8c62ff6
[ "BSD-3-Clause" ]
null
null
null
n,k=tuple(map(int,input().split())) ar=list(map(int,input().split())) print(len(list(filter(lambda x:x>=ar[k-1] and x>0,ar))))
31.75
56
0.645669
27
127
3.037037
0.62963
0.146341
0.268293
0.390244
0
0
0
0
0
0
0
0.016529
0.047244
127
3
57
42.333333
0.661157
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fb0d0a19f5753e7b6a99c7d2d730467ad024be08
445,467
py
Python
sdk/python/pulumi_azure_native/machinelearningservices/v20210301preview/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/machinelearningservices/v20210301preview/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/machinelearningservices/v20210301preview/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
37.128438
515
0.634754
47,470
445,467
5.733853
0.026627
0.020034
0.031379
0.045862
0.79607
0.746967
0.710867
0.653751
0.628691
0.608973
0
0.000405
0.268698
445,467
11,997
516
37.131533
0.835108
0.238112
0
0.685543
1
0.017058
0.194232
0.061034
0
0
0
0
0
1
0.162472
false
0.002796
0.000979
0.002657
0.308865
0.000559
0
0
0
null
0
0
0
0
1
1
0
0
1
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
4
fb36b5880772cbeed5b641ee334b69ca12863d79
60
py
Python
0x15-api/0-gather_data_from_an_API.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
0x15-api/0-gather_data_from_an_API.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
0x15-api/0-gather_data_from_an_API.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import requests from sys import argv
7.5
20
0.733333
9
60
4.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
60
7
21
8.571429
0.877551
0.283333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
34cffce6b48b1e71847ac72ebf4ffa5ad0337282
818
py
Python
tests/test_config.py
bpmbank/mrq
12b0be3795164732da94d12240d9ed74f8b33601
[ "MIT" ]
null
null
null
tests/test_config.py
bpmbank/mrq
12b0be3795164732da94d12240d9ed74f8b33601
[ "MIT" ]
null
null
null
tests/test_config.py
bpmbank/mrq
12b0be3795164732da94d12240d9ed74f8b33601
[ "MIT" ]
null
null
null
import json def test_config(worker): """ Test different config passing options. """ worker.start() cfg = json.loads(worker.send_task("tests.tasks.general.GetConfig", {}, block=True)) assert "mongodb_jobs" in cfg assert cfg.get("additional_unexpected_config") is None worker.stop() worker.start(flags=...
25.5625
85
0.702934
108
818
5.222222
0.351852
0.079787
0.06383
0.095745
0.796099
0.796099
0.728723
0.728723
0.728723
0.572695
0
0.00561
0.128362
818
31
86
26.387097
0.785414
0.046455
0
0.470588
0
0
0.369171
0.286269
0
0
0
0
0.352941
1
0.058824
false
0
0.058824
0
0.117647
0
0
0
0
null
0
0
0
0
1
1
1
1
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
4
34d65d77eed064d921c2635d06997dfebcb62e87
379
py
Python
airline-app/views.py
rohitray042/JavaScript
384a9b81a05f943a60b11cddbbb9ccf7a2b0e0f6
[ "MIT" ]
null
null
null
airline-app/views.py
rohitray042/JavaScript
384a9b81a05f943a60b11cddbbb9ccf7a2b0e0f6
[ "MIT" ]
null
null
null
airline-app/views.py
rohitray042/JavaScript
384a9b81a05f943a60b11cddbbb9ccf7a2b0e0f6
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render # Create your views here. def index(request): return render(request, "hello/index.html") def pratyaydeep(request): return HttpResponse("Hello, Pratyaydeep") def greet(request, name): return render(request, "hello/...
19.947368
49
0.672823
43
379
5.930233
0.488372
0.078431
0.14902
0.188235
0
0
0
0
0
0
0
0
0.216359
379
18
50
21.055556
0.858586
0.060686
0
0
0
0
0.160714
0
0
0
0
0
0
1
0.3
false
0
0.2
0.3
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
5518e2de32997886a149e15f5cb01d6043495765
116
py
Python
rejected_article_tracker/src/SearchProvider.py
sagepublishing/rejected_article_tracker_pkg
6b7616b14816406f012980695404bc5bdd7ab93a
[ "MIT" ]
10
2020-12-15T17:28:06.000Z
2022-03-11T21:50:47.000Z
rejected_article_tracker/src/SearchProvider.py
ad48/rejected_article_tracker_pkg
90a5042b730b01b371c0be67e1e915daa322251a
[ "MIT" ]
11
2021-06-15T00:42:35.000Z
2021-08-02T16:15:58.000Z
rejected_article_tracker/src/SearchProvider.py
ad48/rejected_article_tracker_pkg
90a5042b730b01b371c0be67e1e915daa322251a
[ "MIT" ]
2
2020-09-14T14:12:38.000Z
2021-08-02T19:04:14.000Z
class SearchProvider: def search(self) -> list: """ Searches a remote data source """ return []
23.2
45
0.577586
12
116
5.583333
1
0
0
0
0
0
0
0
0
0
0
0
0.301724
116
4
46
29
0.82716
0.25
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
9b52efd8dc10863350c9ac7c14ec5a9169bc7e9a
513
py
Python
college/serializers.py
ingJSNA/django-demo
3a50f5361511085494688ab5e047affaee266d69
[ "MIT" ]
null
null
null
college/serializers.py
ingJSNA/django-demo
3a50f5361511085494688ab5e047affaee266d69
[ "MIT" ]
null
null
null
college/serializers.py
ingJSNA/django-demo
3a50f5361511085494688ab5e047affaee266d69
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Student, Score, Professor class StudentPostSerializer(serializers.ModelSerializer): class Meta: model = Student fields = ('id', 'name') class ProfessorPostSerializer(serializers.ModelSerializer): class Meta: model = Professor...
25.65
64
0.678363
47
513
7.382979
0.425532
0.224784
0.268012
0.302594
0.345821
0
0
0
0
0
0
0
0.216374
513
20
64
25.65
0.863184
0
0
0.357143
0
0
0.075875
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
9b621b4110ce6571f9224151f016277b801bc2a0
415
py
Python
operators.py
PabloFlow3103/astr-119-hw-2
a613bbca1c977e9de3651ddb1babebbadc8e8c67
[ "MIT" ]
null
null
null
operators.py
PabloFlow3103/astr-119-hw-2
a613bbca1c977e9de3651ddb1babebbadc8e8c67
[ "MIT" ]
1
2020-10-15T09:13:59.000Z
2020-10-16T23:17:18.000Z
operators.py
PabloFlow3103/astr-119-hw-2
a613bbca1c977e9de3651ddb1babebbadc8e8c67
[ "MIT" ]
null
null
null
x=9 y=3 #Im only gonna comment here but i'll separate all the operater by new lines #Same progression as the slides print(x+y) print(x-y) print(x*y) print(x/y) print(x%y) print(x**y) x=9.919555555 print(x//y) x=9 x+=3 print(x) x=9 x-=3 print(x) x*=3 print(x) x/=3 print(x) x ** 3 pri...
10.121951
76
0.578313
94
415
2.553191
0.265957
0.45
0.379167
0.5
0.5875
0.55
0.55
0.541667
0.541667
0.541667
0
0.066456
0.238554
415
41
77
10.121951
0.693038
0.250602
0
0.3
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
4
9b69e1bab544c0b203d401c1fb7bc5bdbe433e3f
2,973
py
Python
atest/testdata/keywords/type_conversion/KeywordDecoratorWithAliases.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
9
2020-04-22T08:30:52.000Z
2020-12-07T08:25:09.000Z
atest/testdata/keywords/type_conversion/KeywordDecoratorWithAliases.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
63
2020-03-04T17:31:39.000Z
2022-03-01T09:12:16.000Z
atest/testdata/keywords/type_conversion/KeywordDecoratorWithAliases.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
1
2020-11-23T03:44:31.000Z
2020-11-23T03:44:31.000Z
# Imports needed for evaluating expected result. from datetime import datetime, date, timedelta from decimal import Decimal from robot.api.deco import keyword from robot.utils import unicode @keyword(types=['Integer']) # type always is given as str def integer(argument, expected=None): _validate_t...
24.570248
78
0.707703
344
2,973
5.921512
0.171512
0.345606
0.216004
0.302406
0.643103
0.643103
0.643103
0.619539
0.590083
0.059892
0
0.000798
0.15708
2,973
120
79
24.775
0.812051
0.056172
0
0.283784
0
0
0.055714
0
0
0
0
0
0.013514
1
0.297297
false
0
0.054054
0
0.351351
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
9b74ffba8c76141aa6844ca9a3909535ac5db8fe
213
py
Python
config/utils/__init__.py
MerajRamezani/CP228W
bb7068fa267c4f12f91bce9988514d6ce28f626c
[ "BSD-3-Clause" ]
2
2020-10-30T18:44:42.000Z
2021-06-01T21:37:29.000Z
config/utils/__init__.py
MerajRamezani/CP228W
bb7068fa267c4f12f91bce9988514d6ce28f626c
[ "BSD-3-Clause" ]
20
2020-07-21T17:05:04.000Z
2021-11-08T19:43:19.000Z
config/utils/__init__.py
MerajRamezani/CP228W
bb7068fa267c4f12f91bce9988514d6ce28f626c
[ "BSD-3-Clause" ]
3
2020-05-20T19:26:48.000Z
2021-05-27T20:20:02.000Z
import sys sys.path.append("config") from utils.arg_utils import parse_command_args from utils.config_utils import get_batches, process_configuration from utils.data_split_utils import get_split_aware_site_info
26.625
65
0.868545
34
213
5.088235
0.588235
0.156069
0.16185
0
0
0
0
0
0
0
0
0
0.084507
213
7
66
30.428571
0.887179
0
0
0
0
0
0.028169
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9bb75cec2ae2c8bc2fb17c8ee16685b964a8386e
261
py
Python
tests/test_exit_codes.py
caltechlibrary/documentarist
055ad42f623c7affb584a6004e1bdba73d6312ac
[ "BSD-3-Clause" ]
10
2020-04-27T19:12:14.000Z
2022-02-11T07:06:17.000Z
tests/test_exit_codes.py
caltechlibrary/documentarist
055ad42f623c7affb584a6004e1bdba73d6312ac
[ "BSD-3-Clause" ]
null
null
null
tests/test_exit_codes.py
caltechlibrary/documentarist
055ad42f623c7affb584a6004e1bdba73d6312ac
[ "BSD-3-Clause" ]
2
2020-04-27T19:12:21.000Z
2021-03-15T10:47:16.000Z
import sys sys.path.append('../common') from common.exit_codes import * def test_exit_code(): assert ExitCode.bad_arg.value[0] == 2 assert ExitCode.exception.value[0] == 5 assert ExitCode.success.value[1] == 'success -- program completed normally'
29
79
0.716475
37
261
4.945946
0.675676
0.229508
0
0
0
0
0
0
0
0
0
0.022422
0.145594
261
8
80
32.625
0.798206
0
0
0
0
0
0.176245
0
0
0
0
0
0.428571
1
0.142857
true
0
0.285714
0
0.428571
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
1
0
0
1
0
0
0
0
0
0
4
fd08e35f0b1fbe689556df6e095abdbf9f35c68b
33
py
Python
envi/archs/z80/__init__.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
716
2015-01-01T14:41:11.000Z
2022-03-28T06:51:50.000Z
envi/archs/z80/__init__.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
266
2015-01-01T15:07:27.000Z
2022-03-30T15:19:26.000Z
envi/archs/z80/__init__.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
159
2015-01-01T16:19:44.000Z
2022-03-21T21:55:34.000Z
''' Z80 architecture base... '''
8.25
24
0.575758
3
33
6.333333
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.151515
33
3
25
11
0.607143
0.727273
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
fd0f7164917130fe94bafb4fb9c0cbe016f06afc
171
py
Python
lang/py/pylib/01/textwrap/textwrap_dedent.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/01/textwrap/textwrap_dedent.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/01/textwrap/textwrap_dedent.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:UTF-8 -*- # 去除缩进 import textwrap from example import sample print sample print print'Dedent:\n' print textwrap.dedent(sample).strip()
14.25
37
0.725146
25
171
4.96
0.68
0.177419
0
0
0
0
0
0
0
0
0
0.006711
0.128655
171
11
38
15.545455
0.825503
0.269006
0
0
0
0
0.07377
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.666667
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
1
0
0
0
1
0
0
1
0
4
fd143aa9d738bed08f0bb9dab9c307dee1b3a45b
681
py
Python
sources/t03/t03ejer09.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t03/t03ejer09.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t03/t03ejer09.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
# Estos son los módulos que necesitas import datetime import calendar import locale def get_today_as_string(): """ Funcion que me dice el día de la semana que es hoy, en formato string. Pequeña guia de implementación: 1. Obtén el día de la semana que es hoy, en formato entero (1, 2, 3, etc...
32.428571
105
0.665198
110
681
4.045455
0.545455
0.026966
0.067416
0.07191
0.14382
0.14382
0.14382
0.14382
0.14382
0.14382
0
0.017613
0.249633
681
21
106
32.428571
0.853229
0.625551
0
0
0
0
0.102564
0
0
0
0
0
0
1
0.142857
true
0.142857
0.428571
0
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
fd20c51707fac7b01e2ed541374328f3f9339c87
239
py
Python
pyleecan/Methods/Slot/VentilationTrap/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Slot/VentilationTrap/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Slot/VentilationTrap/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
class VentilationTrapInstanceError(Exception): """Raised when a Ventilation Trap parameter is not int or float""" pass class TrapezeBuildGeometryError(Exception): """raised when the parameter have not good type""" pass
21.727273
70
0.736402
27
239
6.518519
0.740741
0.170455
0.215909
0
0
0
0
0
0
0
0
0
0.188285
239
10
71
23.9
0.907216
0.439331
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
fd37fd52d76f090b6c9153bb4e985026af55145a
89
py
Python
crashes/apps.py
grigoryk/sentry-analyzer
8a48706297ea4bc8033c8c9d3223b3e59cd1cb6d
[ "Apache-2.0" ]
2
2021-07-23T19:51:39.000Z
2021-08-07T01:50:19.000Z
crashes/apps.py
grigoryk/sentry-analyzer
8a48706297ea4bc8033c8c9d3223b3e59cd1cb6d
[ "Apache-2.0" ]
6
2021-03-30T13:02:30.000Z
2021-07-19T17:01:53.000Z
crashes/apps.py
grigoryk/sentry-analyzer
8a48706297ea4bc8033c8c9d3223b3e59cd1cb6d
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class CrashesConfig(AppConfig): name = 'crashes'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
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
1
0
0
4
fd3a1ef28e3e32536d5a6d8b3f0e4bfeeb72d2d4
125
py
Python
main.py
DandelionLau/NetworkCollections
29e5cd2091f7085b3241209ed9447f2baadbce41
[ "Apache-2.0" ]
8
2019-12-20T07:18:06.000Z
2021-04-30T15:04:41.000Z
main.py
DandelionLau/NetworkCollections
29e5cd2091f7085b3241209ed9447f2baadbce41
[ "Apache-2.0" ]
null
null
null
main.py
DandelionLau/NetworkCollections
29e5cd2091f7085b3241209ed9447f2baadbce41
[ "Apache-2.0" ]
null
null
null
import operator as op import numpy as np import random import time k = sum(1 for i in range(4) for n in range(5)) print(k)
13.888889
46
0.72
27
125
3.333333
0.703704
0.155556
0
0
0
0
0
0
0
0
0
0.030303
0.208
125
8
47
15.625
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.166667
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
1
0
0
4
b5d3c07be143c9cd95c8f721a0ff16499506c5c8
99
py
Python
test/test.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
test/test.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
test/test.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Éditeur de Spyder Ceci est un script temporaire. """ print('bonjour')
12.375
30
0.626263
13
99
4.769231
1
0
0
0
0
0
0
0
0
0
0
0.012195
0.171717
99
8
31
12.375
0.743902
0.727273
0
0
0
0
0.35
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
b5da938235e6816cfd761ec8546d351be3bd180e
30
py
Python
lib/python3.4/tokenize.py
caiocsalvador/whats_the_craic
c49ef62f1acd7379f6fd90c2b93aa1fa00c8661d
[ "MIT" ]
7
2017-04-26T12:28:22.000Z
2021-02-09T18:59:50.000Z
django-ng/lib/python3.4/tokenize.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
13
2015-12-04T03:38:37.000Z
2015-12-12T00:15:46.000Z
django-ng/lib/python3.4/tokenize.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
8
2017-06-01T08:42:16.000Z
2020-07-23T12:30:19.000Z
/usr/lib/python3.4/tokenize.py
30
30
0.8
6
30
4
1
0
0
0
0
0
0
0
0
0
0
0.066667
0
30
1
30
30
0.733333
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
b5ed645ece4a9fe79a0246785769007559962466
99
py
Python
Modules/Maths/__init__.py
nesbittryan/3250GraphCalcProject
861e3e8e599e0ee00391c99cb82bacf268d9556b
[ "MIT" ]
null
null
null
Modules/Maths/__init__.py
nesbittryan/3250GraphCalcProject
861e3e8e599e0ee00391c99cb82bacf268d9556b
[ "MIT" ]
null
null
null
Modules/Maths/__init__.py
nesbittryan/3250GraphCalcProject
861e3e8e599e0ee00391c99cb82bacf268d9556b
[ "MIT" ]
null
null
null
__all__ = ['Calculation', 'TreeProcessing'] from Calculation import * from TreeProcessing import *
24.75
43
0.777778
9
99
8.111111
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.121212
99
3
44
33
0.83908
0
0
0
0
0
0.252525
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bd12233b7839feab7aeabc4ffe2ad54abb8644c6
220
py
Python
app/members/models.py
FC-Oasis/Hackerthon-Django
d92c83d42424b0f25ca2d1e7fe70c4e6de2486c5
[ "MIT" ]
null
null
null
app/members/models.py
FC-Oasis/Hackerthon-Django
d92c83d42424b0f25ca2d1e7fe70c4e6de2486c5
[ "MIT" ]
3
2018-07-20T02:05:50.000Z
2018-07-20T09:28:59.000Z
app/members/models.py
FC-Oasis/Hackerthon-Django
d92c83d42424b0f25ca2d1e7fe70c4e6de2486c5
[ "MIT" ]
1
2018-08-10T08:16:52.000Z
2018-08-10T08:16:52.000Z
from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): img_profile = models.ImageField(upload_to='user', blank=True) introduce = models.TextField(blank=True)
27.5
65
0.781818
29
220
5.862069
0.655172
0.117647
0
0
0
0
0
0
0
0
0
0
0.122727
220
7
66
31.428571
0.880829
0
0
0
0
0
0.018182
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
4
bd4ce10fe033dc1a1c6d431f1b334a300493cc47
107
py
Python
tracker_app/apps.py
djjohnsongeek/rbthours-tracker
243089ce30536accd4403cd7d3809fb71868c35d
[ "MIT" ]
null
null
null
tracker_app/apps.py
djjohnsongeek/rbthours-tracker
243089ce30536accd4403cd7d3809fb71868c35d
[ "MIT" ]
3
2020-06-05T23:37:37.000Z
2021-06-10T18:58:49.000Z
tracker_app/apps.py
djjohnsongeek/rbthours-tracker
243089ce30536accd4403cd7d3809fb71868c35d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RbtHoursTrackerConfig(AppConfig): name = 'rbt_hours_tracker'
17.833333
39
0.794393
12
107
6.916667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.140187
107
5
40
21.4
0.902174
0
0
0
0
0
0.158879
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
1
0
0
4
1fadd1e6d244ec3bf1263185c35f37526ff2b510
73
py
Python
runD.py
russell-ligon/donorFlask
546ee1c9a8a002adf4195a687755f66eaae1b668
[ "MIT" ]
1
2020-06-07T14:49:32.000Z
2020-06-07T14:49:32.000Z
runD.py
russell-ligon/donorFlask
546ee1c9a8a002adf4195a687755f66eaae1b668
[ "MIT" ]
null
null
null
runD.py
russell-ligon/donorFlask
546ee1c9a8a002adf4195a687755f66eaae1b668
[ "MIT" ]
null
null
null
#!/usr/bin/env python from donorschoose import app app.run(debug = True)
18.25
28
0.753425
12
73
4.583333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.123288
73
3
29
24.333333
0.859375
0.273973
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1fae7f562e65a43b61bbef6c0e4db8eff6556455
488
py
Python
.github/workflows/run_yarn.py
Mause/media
8f2d8c0e4dc620eb3f7d2b9095c4b564ff4a82a6
[ "MIT" ]
2
2021-07-01T08:36:59.000Z
2021-09-06T12:28:35.000Z
.github/workflows/run_yarn.py
Mause/media
8f2d8c0e4dc620eb3f7d2b9095c4b564ff4a82a6
[ "MIT" ]
78
2020-10-06T15:56:42.000Z
2021-11-03T23:23:18.000Z
.github/workflows/run_yarn.py
Mause/media
8f2d8c0e4dc620eb3f7d2b9095c4b564ff4a82a6
[ "MIT" ]
1
2020-11-02T00:52:20.000Z
2020-11-02T00:52:20.000Z
from subprocess import check_call with open('.git/HEAD') as fh: branch_name = fh.read().strip() print(branch_name) branch_name = branch_name.replace('ref: refs/heads/dependabot/npm_and_yarn/app/', '') print(branch_name) if '/' in branch_name: branch_name = "@" + branch_name branch_name = branch_name.rsplit('...
27.111111
85
0.694672
72
488
4.472222
0.5
0.372671
0.298137
0.372671
0.248447
0.248447
0.15528
0.15528
0
0
0
0.004608
0.110656
488
17
86
28.705882
0.737327
0
0
0.25
0
0
0.213115
0.079918
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.416667
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
1
0
4
1fc525ac1623730edec5b71f118f96d133fe7833
741
py
Python
applications/views/admin/__init__.py
muzhial/plr_vehicle_system
5867ee757f9cb2283ba6aa5a76c5c87a2435be8e
[ "MIT" ]
null
null
null
applications/views/admin/__init__.py
muzhial/plr_vehicle_system
5867ee757f9cb2283ba6aa5a76c5c87a2435be8e
[ "MIT" ]
null
null
null
applications/views/admin/__init__.py
muzhial/plr_vehicle_system
5867ee757f9cb2283ba6aa5a76c5c87a2435be8e
[ "MIT" ]
null
null
null
from applications.views.admin.index import admin_index from applications.views.admin.user import admin_user from applications.views.admin.file import admin_file from applications.views.admin.admin_log import admin_log from applications.views.admin.power import admin_power from applications.views.admin.role import admin...
33.681818
68
0.817814
101
741
5.742574
0.188119
0.193103
0.253448
0.313793
0
0
0
0
0
0
0
0
0.11336
741
21
69
35.285714
0.882801
0.018893
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.466667
0
0.533333
0.466667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
1fd23f0b7edcb78daa3a49a73570c01b46b91c3c
5,722
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/marketplace_entitlement/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/marketplace_entitlement/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/marketplace_entitlement/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Dict from botocore.paginate import Paginator class GetEntitlements(Paginator): def paginate(self, ProductCode: str, Filter: Dict = None, PaginationConfig: Dict = None) -> Dict: """ Creates an iterator that will paginate through responses from :py:meth:`MarketplaceEntitlementServ...
61.526882
371
0.5928
607
5,722
5.583196
0.352554
0.021245
0.012983
0.023606
0.16288
0.136028
0.070817
0.070817
0.031868
0.031868
0
0.007085
0.333974
5,722
92
372
62.195652
0.882183
0.842013
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
1fd4ad79c8474054a26aec65d1aae37601ff2cea
189
py
Python
mayan/apps/file_caching/admin.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
2
2021-09-12T19:41:19.000Z
2021-09-12T19:41:20.000Z
mayan/apps/file_caching/admin.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
37
2021-09-13T01:00:12.000Z
2021-10-02T03:54:30.000Z
mayan/apps/file_caching/admin.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
1
2021-09-22T13:17:30.000Z
2021-09-22T13:17:30.000Z
from django.contrib import admin from .models import Cache @admin.register(Cache) class CacheAdmin(admin.ModelAdmin): list_display = ('defined_storage_name', 'maximum_size')
21
60
0.746032
23
189
5.956522
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.15873
189
8
61
23.625
0.861635
0
0
0
0
0
0.176796
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
1f032c5e8668c699cd4ec66adfc7afd42d44ed64
887
py
Python
ros/build/sensing/drivers/can/packages/kvaser/cmake/kvaser-genmsg-context.py
Innovation-Cell/radar
de1bcd91e5a831e2858539241edfea3ce79f3afd
[ "MIT" ]
null
null
null
ros/build/sensing/drivers/can/packages/kvaser/cmake/kvaser-genmsg-context.py
Innovation-Cell/radar
de1bcd91e5a831e2858539241edfea3ce79f3afd
[ "MIT" ]
null
null
null
ros/build/sensing/drivers/can/packages/kvaser/cmake/kvaser-genmsg-context.py
Innovation-Cell/radar
de1bcd91e5a831e2858539241edfea3ce79f3afd
[ "MIT" ]
null
null
null
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/mayur/ros jade files/catkin_ws/src/Udacity-SDC-Radar-Driver-Micro-Challenge/ros/src/sensing/drivers/can/packages/kvaser/msg/CANESR.msg" services_str = "" pkg_name = "kvaser" dependencies_str = "std_msgs;visualization_msgs" langs = "gencpp;geneus...
73.916667
354
0.798196
134
887
5.089552
0.470149
0.035191
0.076246
0.105572
0.410557
0.313783
0.313783
0.313783
0.313783
0.313783
0
0
0.042841
887
11
355
80.636364
0.803298
0.055242
0
0
1
0.222222
0.757177
0.694976
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1f08c799153f395de703561c11ab4f794bf40c85
87,400
py
Python
python/types_pb2.py
cryptomood/api
59ab1726560d1b81f861423568b6f70713096a91
[ "Apache-2.0" ]
8
2019-08-14T12:02:57.000Z
2021-04-11T19:53:07.000Z
python/types_pb2.py
cryptomood/api
59ab1726560d1b81f861423568b6f70713096a91
[ "Apache-2.0" ]
7
2020-06-15T09:35:51.000Z
2021-11-14T03:07:19.000Z
python/types_pb2.py
cryptomood/api
59ab1726560d1b81f861423568b6f70713096a91
[ "Apache-2.0" ]
6
2019-07-02T13:08:56.000Z
2021-11-25T01:06:15.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: types.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobu...
42.717498
8,394
0.741293
10,925
87,400
5.653272
0.048055
0.058677
0.063243
0.050225
0.708251
0.671351
0.663029
0.642482
0.613452
0.60045
0
0.044109
0.131018
87,400
2,045
8,395
42.738386
0.769095
0.017712
0
0.71205
1
0.00626
0.163655
0.109181
0
0
0
0
0
1
0
false
0
0.005216
0
0.005216
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1f535d0217a4bac3d0dfd721f940b66d8f8aa966
1,218
py
Python
wallet/denomination/migrations/0002_entry.py
tateishi/django-wallet
9d9e450ca3cd43fa33ce4bd997e129fed99ea66b
[ "MIT" ]
null
null
null
wallet/denomination/migrations/0002_entry.py
tateishi/django-wallet
9d9e450ca3cd43fa33ce4bd997e129fed99ea66b
[ "MIT" ]
null
null
null
wallet/denomination/migrations/0002_entry.py
tateishi/django-wallet
9d9e450ca3cd43fa33ce4bd997e129fed99ea66b
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-23 03:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('denomination', '0001_initial'), ] operations = [ migrations.CreateModel( name='Entry', ...
36.909091
117
0.558292
117
1,218
5.769231
0.504274
0.266667
0.37037
0.385185
0
0
0
0
0
0
0
0.053057
0.288177
1,218
32
118
38.0625
0.72549
0.036946
0
0
1
0
0.079419
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2f097469b72b7db2c0bf9aa6b65a20eabcf2e980
284
py
Python
Solutions/listOfMultiplies.py
lusifer65/Python-Thunder
4653c55b0a6cdee36ae2d0c128932cf352324e23
[ "MIT" ]
81
2020-09-25T15:02:11.000Z
2020-10-12T14:20:31.000Z
Solutions/listOfMultiplies.py
lusifer65/Python-Thunder
4653c55b0a6cdee36ae2d0c128932cf352324e23
[ "MIT" ]
196
2020-09-25T13:52:13.000Z
2020-10-12T20:20:00.000Z
Solutions/listOfMultiplies.py
lusifer65/Python-Thunder
4653c55b0a6cdee36ae2d0c128932cf352324e23
[ "MIT" ]
209
2020-09-25T16:15:46.000Z
2020-10-12T20:08:08.000Z
def list_of_multiples (num, length): return [i*num for i in range(1,length+1)] #Problem statement: Create a function that takes two numbers as arguments (num, length) and returns a list of multiples of num up to length. #Problem Link: https://edabit.com/challenge/BuwHwPvt92yw574zB
47.333333
140
0.774648
47
284
4.638298
0.702128
0.055046
0.137615
0
0
0
0
0
0
0
0
0.028571
0.137324
284
5
141
56.8
0.861224
0.700704
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
2f362ccb26ac3ab4d775625124e3e65f1e0b8c3e
17,320
py
Python
src/tests/unit/platform/test_grants.py
fslds/carbon-black-cloud-sdk-python
248a3c63d6b36d6fcdbcb3f51fb7751f062ed372
[ "MIT" ]
24
2020-10-16T22:07:38.000Z
2022-03-24T14:58:03.000Z
src/tests/unit/platform/test_grants.py
fslds/carbon-black-cloud-sdk-python
248a3c63d6b36d6fcdbcb3f51fb7751f062ed372
[ "MIT" ]
63
2020-10-26T18:26:15.000Z
2022-03-31T17:31:02.000Z
src/tests/unit/platform/test_grants.py
fslds/carbon-black-cloud-sdk-python
248a3c63d6b36d6fcdbcb3f51fb7751f062ed372
[ "MIT" ]
10
2020-11-09T11:54:23.000Z
2022-03-24T20:44:00.000Z
"""Tests for the Grant and Profile objects of the CBC SDK""" import pytest import logging import copy from cbc_sdk.platform import Grant from cbc_sdk.rest_api import CBCloudAPI from cbc_sdk.errors import ApiError, NonQueryableModel from tests.unit.fixtures.CBCSDKMock import CBCSDKMock from tests.unit.fixtures.platform...
44.754522
156
0.653926
2,188
17,320
4.953382
0.10649
0.056283
0.032386
0.042351
0.79821
0.765363
0.738974
0.706127
0.69367
0.674479
0
0.039553
0.208834
17,320
386
157
44.870466
0.751368
0.091051
0
0.620579
0
0.006431
0.273327
0.175285
0
0
0
0
0.141479
1
0.090032
false
0
0.025723
0
0.144695
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2f43562eb10a20f24d8a60f79184a87615b44417
325
py
Python
baseline/test.py
billy-inn/NLP-Baseline
6217d2314cba1599043ed7af26770137e609c9f5
[ "MIT" ]
null
null
null
baseline/test.py
billy-inn/NLP-Baseline
6217d2314cba1599043ed7af26770137e609c9f5
[ "MIT" ]
null
null
null
baseline/test.py
billy-inn/NLP-Baseline
6217d2314cba1599043ed7af26770137e609c9f5
[ "MIT" ]
null
null
null
from utils.test_io_utils import test_io_utils from utils.test_data_utils import test_data_utils from models.test_esim import test_esim from utils.logging_utils import _set_basic_logging def main(): # test_io_utils() # test_data_utils() test_esim() if __name__ == "__main__": _set_basic_logging() ma...
23.214286
50
0.769231
50
325
4.4
0.3
0.163636
0.15
0.163636
0
0
0
0
0
0
0
0
0.156923
325
13
51
25
0.80292
0.101538
0
0
0
0
0.027682
0
0
0
0
0
0
1
0.111111
true
0
0.444444
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
0
1
0
1
0
1
0
0
4
2f517f807447fdb0ba5f5b7b7e717e9251b23e84
27
py
Python
data/studio21_generated/introductory/3854/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3854/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3854/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def check_dates(records):
13.5
25
0.777778
4
27
5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
2
26
13.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
2f5b39feffcf9c59d6fe68929fc7e1b788f6617b
63
py
Python
agtool/utils/__init__.py
swyo/agtool
136d09b20785196ff90e97cfb3c7717df47e7ff5
[ "MIT" ]
null
null
null
agtool/utils/__init__.py
swyo/agtool
136d09b20785196ff90e97cfb3c7717df47e7ff5
[ "MIT" ]
2
2021-12-18T09:26:01.000Z
2021-12-21T13:56:24.000Z
agtool/utils/__init__.py
swyo/agtool
136d09b20785196ff90e97cfb3c7717df47e7ff5
[ "MIT" ]
null
null
null
from .path_utils import module_path __all__ = ['module_path']
15.75
35
0.777778
9
63
4.666667
0.666667
0.47619
0
0
0
0
0
0
0
0
0
0
0.126984
63
3
36
21
0.763636
0
0
0
0
0
0.174603
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2f634971842d81db86edf0efc4450b92bac958ca
143
py
Python
WangzheSpider/WangzheSpider/debug.py
wangzihan424/TencentWangzhe
5494d4d930711ecd7668bee76efa9f3210fc762e
[ "MIT" ]
1
2018-03-28T13:14:26.000Z
2018-03-28T13:14:26.000Z
WangzheSpider/WangzheSpider/debug.py
wangzihan424/TencentWangzhe
5494d4d930711ecd7668bee76efa9f3210fc762e
[ "MIT" ]
null
null
null
WangzheSpider/WangzheSpider/debug.py
wangzihan424/TencentWangzhe
5494d4d930711ecd7668bee76efa9f3210fc762e
[ "MIT" ]
null
null
null
#coding:utf-8 import sys from scrapy import cmdline reload(sys) sys.setdefaultencoding("utf-8") cmdline.execute(['scrapy','crawl','wangzhe'])
17.875
45
0.755245
20
143
5.4
0.65
0.074074
0
0
0
0
0
0
0
0
0
0.015152
0.076923
143
7
46
20.428571
0.80303
0.083916
0
0
0
0
0.176923
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
2f837d8b8ba16d3165791947a842b25d351677ca
358
py
Python
film_details_searcher/film_details_searcher/scrappers/movie_service.py
tomaszkyc/film_details_searcher
e8e12bc739990324f6ab4110fdd363e6ef207f1a
[ "MIT" ]
null
null
null
film_details_searcher/film_details_searcher/scrappers/movie_service.py
tomaszkyc/film_details_searcher
e8e12bc739990324f6ab4110fdd363e6ef207f1a
[ "MIT" ]
null
null
null
film_details_searcher/film_details_searcher/scrappers/movie_service.py
tomaszkyc/film_details_searcher
e8e12bc739990324f6ab4110fdd363e6ef207f1a
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class MovieService(ABC): def get_movie(self, link_to_movie: str): if not isinstance(link_to_movie, str): raise TypeError('Link only accepted as str') return self._fetch_movie_from_link(link_to_movie) @abstractmethod def _fetch_movie_from_li...
25.571429
57
0.706704
50
358
4.72
0.48
0.101695
0.186441
0.127119
0
0
0
0
0
0
0
0
0.223464
358
13
58
27.538462
0.848921
0
0
0
0
0
0.069832
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
85d711d2e457e5b3a140a51c76d60ce0ee088b9a
43
py
Python
examples/cache-machine/memcache_byid.py
theatlantic/django-cache-machine
8c716b6097f67a2f544e94795637950d4cafd997
[ "BSD-3-Clause" ]
1
2019-03-16T05:19:33.000Z
2019-03-16T05:19:33.000Z
examples/cache_machine/memcache_byid.py
bradjasper/django-cache-machine
1988b6fb775e921114ded4486a931d0574a0cd12
[ "BSD-3-Clause" ]
null
null
null
examples/cache_machine/memcache_byid.py
bradjasper/django-cache-machine
1988b6fb775e921114ded4486a931d0574a0cd12
[ "BSD-3-Clause" ]
1
2019-03-16T05:19:25.000Z
2019-03-16T05:19:25.000Z
from settings import * FETCH_BY_ID = True
10.75
22
0.767442
7
43
4.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
3
23
14.333333
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
85d7fcd740620e93fe4e42892a12d7a77b44b055
196
py
Python
watchmelog/template_helpers.py
jvlar/watchmelog
c60e437d98f43da413dd95be0365fd0884568459
[ "WTFPL" ]
2
2018-07-07T05:12:44.000Z
2018-07-07T16:54:19.000Z
watchmelog/template_helpers.py
jvlar/watchmelog
c60e437d98f43da413dd95be0365fd0884568459
[ "WTFPL" ]
2
2018-07-07T04:39:52.000Z
2018-07-07T04:42:37.000Z
watchmelog/template_helpers.py
jvlar/watchmelog
c60e437d98f43da413dd95be0365fd0884568459
[ "WTFPL" ]
null
null
null
from watchmelog.config import app_config def get_curr_season() -> int: return int(app_config.current_season) def form_status_class(form) -> str: if form.errors: return "error"
17.818182
41
0.714286
28
196
4.75
0.678571
0.135338
0
0
0
0
0
0
0
0
0
0
0.193878
196
10
42
19.6
0.841772
0
0
0
0
0
0.02551
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
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
1
0
0
0
1
1
0
0
4
85e9c7e16c1aea627e8e3efaf7ab1cd6dd44d885
68
py
Python
src/__init__.py
masterWeber/showtimes
90cf8009ff82887bf117f7d1aedab8c5f3893a1c
[ "MIT" ]
15
2021-09-02T04:35:16.000Z
2022-02-23T13:35:50.000Z
src/__init__.py
masterWeber/showtimes
90cf8009ff82887bf117f7d1aedab8c5f3893a1c
[ "MIT" ]
3
2021-09-02T14:38:49.000Z
2021-12-03T18:56:19.000Z
src/__init__.py
masterWeber/showtimes
90cf8009ff82887bf117f7d1aedab8c5f3893a1c
[ "MIT" ]
3
2022-03-02T16:26:20.000Z
2022-03-25T23:09:51.000Z
import os ROOT_PATH = os.path.dirname(os.path.realpath(__file__))
13.6
55
0.764706
11
68
4.272727
0.636364
0.255319
0
0
0
0
0
0
0
0
0
0
0.102941
68
4
56
17
0.770492
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
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
4
85fbf96c7f8e36558b5818b38141c299df737b83
64
py
Python
instance/config.py
loisemuthoni/news_highlight
f0919f6fcd44ec0c6d02b3f1a1321dc0a2264280
[ "Unlicense" ]
null
null
null
instance/config.py
loisemuthoni/news_highlight
f0919f6fcd44ec0c6d02b3f1a1321dc0a2264280
[ "Unlicense" ]
1
2021-06-02T00:52:22.000Z
2021-06-02T00:52:22.000Z
instance/config.py
loisemuthoni/news_highlight
f0919f6fcd44ec0c6d02b3f1a1321dc0a2264280
[ "Unlicense" ]
1
2020-07-07T21:38:19.000Z
2020-07-07T21:38:19.000Z
NEWS_API_KEY='4775dbcae3f5456aaf9c252121f498f6' SECRET_KEY='lll'
32
47
0.890625
7
64
7.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.31746
0.015625
64
2
48
32
0.539683
0
0
0
0
0
0.538462
0.492308
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c82a47e72d6874b62a23d6e009c4375e5b84c92f
75
py
Python
python/python_backup/PRAC_PYTHON/fast.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
16
2018-11-26T08:39:42.000Z
2019-05-08T10:09:52.000Z
python/python_backup/PRAC_PYTHON/fast.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
8
2020-05-04T06:29:26.000Z
2022-02-12T05:33:16.000Z
python/python_backup/PRAC_PYTHON/fast.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
5
2020-02-11T16:02:21.000Z
2021-02-05T07:48:30.000Z
l=input("enter a no") h=input("enter another no") a=(l*h) print "area",a
18.75
28
0.626667
16
75
2.9375
0.5625
0.425532
0
0
0
0
0
0
0
0
0
0
0.146667
75
4
29
18.75
0.734375
0
0
0
0
0
0.410959
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
4
c83f9681fa0f63f5df3f3675eea14b3563d8c950
2,716
py
Python
pyargcbr/cbrs/cbr.py
jaumejordan/pyargcbr
70892360a500e83215449d98ef06746adb1ab51a
[ "MIT" ]
1
2021-06-24T17:15:16.000Z
2021-06-24T17:15:16.000Z
pyargcbr/cbrs/cbr.py
jaumejordan/pyargcbr
70892360a500e83215449d98ef06746adb1ab51a
[ "MIT" ]
null
null
null
pyargcbr/cbrs/cbr.py
jaumejordan/pyargcbr
70892360a500e83215449d98ef06746adb1ab51a
[ "MIT" ]
null
null
null
from pickle import dump from typing import Dict, List, Union, ValuesView, Sequence from ..knowledge_resources.case import Case def save_object(obj, file_name: str): """Saves an object in the file corresponding to the path; it's incremental. Args: obj (Object): The object that will be stored. ...
33.121951
92
0.635862
387
2,716
4.307494
0.276486
0.071986
0.080984
0.026995
0.239952
0.219556
0.15237
0.15237
0.109178
0.070786
0
0
0.283873
2,716
81
93
33.530864
0.857069
0.460236
0
0.096774
0
0
0.003234
0
0
0
0
0.012346
0
1
0.258065
false
0.096774
0.096774
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
c08971a9296d1bf1186792dc2a1d5de828de51de
94
py
Python
server/ext/debugger/elt/message_server/__init__.py
ARCCN/elt
3bf4e6cc0c7abbe442d6513ed294e956143c3bea
[ "BSD-3-Clause" ]
1
2016-07-14T14:45:56.000Z
2016-07-14T14:45:56.000Z
server/ext/debugger/elt/message_server/__init__.py
ARCCN/elt
3bf4e6cc0c7abbe442d6513ed294e956143c3bea
[ "BSD-3-Clause" ]
null
null
null
server/ext/debugger/elt/message_server/__init__.py
ARCCN/elt
3bf4e6cc0c7abbe442d6513ed294e956143c3bea
[ "BSD-3-Clause" ]
null
null
null
from .message_server import PythonMessageServer from .messages import Message, ClosingMessage
31.333333
47
0.87234
10
94
8.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.095745
94
2
48
47
0.952941
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c0a084d1731a493581f444701bd1c2ad7f0b6dc3
373
py
Python
arekit/contrib/networks/attention/configurations/mlp_interactive.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
18
2019-12-14T18:43:11.000Z
2022-03-21T05:55:36.000Z
arekit/contrib/networks/attention/configurations/mlp_interactive.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
284
2020-08-08T20:52:44.000Z
2022-03-31T05:26:20.000Z
arekit/contrib/networks/attention/configurations/mlp_interactive.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
1
2021-08-07T13:17:43.000Z
2021-08-07T13:17:43.000Z
from arekit.contrib.networks.attention.configurations.mlp import MLPAttentionConfig class InteractiveMLPAttentionConfig(MLPAttentionConfig): def __init__(self, keys_count): assert(isinstance(keys_count, int)) assert(keys_count >= 0) self.__keys_count = keys_count @property def Ke...
26.642857
83
0.737265
39
373
6.692308
0.589744
0.206897
0.149425
0
0
0
0
0
0
0
0
0.0033
0.187668
373
13
84
28.692308
0.858086
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0.111111
0.555556
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
1
1
0
0
4
c0ae9b4beb086be2eeaa8c2609cc0b3bfe1cdd77
32
py
Python
__init__.py
devpro-droid/youtube_search
a2ebe3c014a6e2e9a03e1c67a86bc9973bd00ee8
[ "MIT" ]
null
null
null
__init__.py
devpro-droid/youtube_search
a2ebe3c014a6e2e9a03e1c67a86bc9973bd00ee8
[ "MIT" ]
null
null
null
__init__.py
devpro-droid/youtube_search
a2ebe3c014a6e2e9a03e1c67a86bc9973bd00ee8
[ "MIT" ]
null
null
null
# Version __version__ = "1.1.1"
10.666667
21
0.65625
5
32
3.4
0.4
0.235294
0
0
0
0
0
0
0
0
0
0.111111
0.15625
32
2
22
16
0.518519
0.21875
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
4
c0b7516ec0c89f507a6aa021805e3bd48fe5a0ab
52
py
Python
tests/__init__.py
catherinedevlin/fuzzy-sequence-matcher
19411f804b946540a5abe93d422b639a3ddb3a43
[ "MIT" ]
3
2020-05-13T19:03:09.000Z
2020-10-23T16:38:36.000Z
tests/__init__.py
catherinedevlin/fuzzy-sequence-matcher
19411f804b946540a5abe93d422b639a3ddb3a43
[ "MIT" ]
null
null
null
tests/__init__.py
catherinedevlin/fuzzy-sequence-matcher
19411f804b946540a5abe93d422b639a3ddb3a43
[ "MIT" ]
null
null
null
"""Unit test package for fuzzy_sequence_matcher."""
26
51
0.769231
7
52
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.096154
52
1
52
52
0.808511
0.865385
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c0d57611f7cdae7cca56e5c08d7e8576abe033f0
54
py
Python
terraform_to_ansible/backends/local/__init__.py
mrlesmithjr/terraform-to-ansible
84c9596dafc9de1bb4ce98aa056f25a0f30c63e3
[ "MIT" ]
16
2020-03-22T22:32:05.000Z
2022-02-09T22:50:48.000Z
terraform_to_ansible/backends/local/__init__.py
mrlesmithjr/terraform-to-ansible
84c9596dafc9de1bb4ce98aa056f25a0f30c63e3
[ "MIT" ]
10
2020-04-04T20:31:23.000Z
2021-11-30T03:40:40.000Z
terraform_to_ansible/backends/local/__init__.py
mrlesmithjr/terraform-to-ansible
84c9596dafc9de1bb4ce98aa056f25a0f30c63e3
[ "MIT" ]
2
2021-07-16T01:46:35.000Z
2021-12-10T09:57:37.000Z
"""terraform_to_ansible/backends/local/__init__.py"""
27
53
0.796296
7
54
5.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.018519
54
1
54
54
0.698113
0.87037
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2398df1ef50d7c1323c32c9d84e6e53b1ebdef82
108
py
Python
web/control_interface/apps.py
vectorcrumb/HexaLR
99cf35f256cd993dd90e9772acf6252c2f4c9d55
[ "MIT" ]
null
null
null
web/control_interface/apps.py
vectorcrumb/HexaLR
99cf35f256cd993dd90e9772acf6252c2f4c9d55
[ "MIT" ]
null
null
null
web/control_interface/apps.py
vectorcrumb/HexaLR
99cf35f256cd993dd90e9772acf6252c2f4c9d55
[ "MIT" ]
1
2018-08-14T04:15:02.000Z
2018-08-14T04:15:02.000Z
from django.apps import AppConfig class ControlInterfaceConfig(AppConfig): name = 'control_interface'
18
40
0.796296
11
108
7.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
41
21.6
0.913978
0
0
0
0
0
0.157407
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
1
0
0
4
23de7ec1a42fc059916c2ea0f713dc095610c71c
46
py
Python
project/__init__.py
James19stack/awards
5666243d76635a78c6e98f52dcd3e73e3e296ebc
[ "MIT" ]
null
null
null
project/__init__.py
James19stack/awards
5666243d76635a78c6e98f52dcd3e73e3e296ebc
[ "MIT" ]
7
2021-03-30T13:57:54.000Z
2022-03-12T00:41:45.000Z
project/__init__.py
James19stack/awards
5666243d76635a78c6e98f52dcd3e73e3e296ebc
[ "MIT" ]
null
null
null
default_app_config = 'my_app.apps.MyAppConfig'
46
46
0.847826
7
46
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.043478
46
1
46
46
0.818182
0
0
0
0
0
0.489362
0.489362
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9b150cab68d4697e286136da301547b4287880c4
227
py
Python
Week_3 (Communications Systems)- 3b Robotic Operating System (ROS)/electronics/Scripts/Question 4/clock_sub.py
offjangir/Kratos-QSTP-Course
6c883f17867362305212171851b40db7b9f238f1
[ "MIT" ]
2
2021-09-10T06:24:33.000Z
2021-09-10T06:25:02.000Z
Week_3 (Communications Systems)- 3b Robotic Operating System (ROS)/electronics/Scripts/Question 4/clock_sub.py
offjangir/Kratos_QSTP-Work
6c883f17867362305212171851b40db7b9f238f1
[ "MIT" ]
null
null
null
Week_3 (Communications Systems)- 3b Robotic Operating System (ROS)/electronics/Scripts/Question 4/clock_sub.py
offjangir/Kratos_QSTP-Work
6c883f17867362305212171851b40db7b9f238f1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from std_msgs.msg import String from std_msgs.msg import Int32 def callback(msg): print msg.data rospy.init_node('ClockPrint') sub = rospy.Subscriber('clock1', String, callback) rospy.spin()
22.7
50
0.77533
36
227
4.805556
0.638889
0.080925
0.127168
0.16185
0.231214
0
0
0
0
0
0
0.014778
0.105727
227
9
51
25.222222
0.837438
0.088106
0
0
0
0
0.07767
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
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
1
0
0
0
1
0
0
0
0
4
f1cfba2141d3b518658c0842b9999a05d8c394d0
62
py
Python
hwtLib/examples/statements/__init__.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
24
2017-02-23T10:00:50.000Z
2022-01-28T12:20:21.000Z
hwtLib/examples/statements/__init__.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
32
2017-04-28T10:29:34.000Z
2021-04-27T09:16:43.000Z
hwtLib/examples/statements/__init__.py
optical-o/hwtLib
edad621f5ad4cdbea20a5751ff4468979afe2f77
[ "MIT" ]
8
2019-09-19T03:34:36.000Z
2022-01-21T06:56:58.000Z
""" Module dedicated for example usages of hwt statements. """
20.666667
54
0.741935
8
62
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.145161
62
3
55
20.666667
0.867925
0.870968
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f1dbac289bb44fa03d6b9aa9565e78df37f4fde1
130
py
Python
suricataparser/__init__.py
GlennHD/py-suricataparser
6b19175b05cc2f6af67271c6f74bae5e3dd827e3
[ "Apache-2.0" ]
null
null
null
suricataparser/__init__.py
GlennHD/py-suricataparser
6b19175b05cc2f6af67271c6f74bae5e3dd827e3
[ "Apache-2.0" ]
null
null
null
suricataparser/__init__.py
GlennHD/py-suricataparser
6b19175b05cc2f6af67271c6f74bae5e3dd827e3
[ "Apache-2.0" ]
null
null
null
from suricataparser.parse import parse_rule, parse_file, parse_rules from suricataparser.rule import Rule __version__ = "0.0.8"
21.666667
68
0.815385
19
130
5.210526
0.526316
0.363636
0
0
0
0
0
0
0
0
0
0.026087
0.115385
130
5
69
26
0.834783
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
0
0
0
4
9e88a73322ebb0a29d6e624a68d5465eea4596f4
1,465
py
Python
src/sprites/sprites.py
phf-souza/fgv-jogo-de-nave
f6a55054a85e7d228b5405fca188ee44116cdff4
[ "MIT" ]
4
2021-06-05T21:09:31.000Z
2021-06-23T21:42:33.000Z
src/sprites/sprites.py
phf-souza/fgv-jogo-de-nave
f6a55054a85e7d228b5405fca188ee44116cdff4
[ "MIT" ]
10
2021-06-06T00:09:31.000Z
2021-06-22T23:43:20.000Z
src/sprites/sprites.py
phf-souza/fgv-jogo-de-nave
f6a55054a85e7d228b5405fca188ee44116cdff4
[ "MIT" ]
4
2021-06-06T14:52:25.000Z
2021-06-13T19:24:38.000Z
import pygame #Icon icon = pygame.image.load('src/sprites/game_scene/coronavirus.png') # Background background = pygame.image.load('src/sprites/background/background.jpg') # Menu instructions = pygame.image.load('src/sprites/menu/Instructions.png') # Ship green_ship_1 = pygame.image.load('src/sprites/ship/green_shi...
36.625
71
0.774744
257
1,465
4.194553
0.108949
0.214286
0.292208
0.350649
0.72449
0.654917
0.649351
0.456401
0
0
0
0.026201
0.062116
1,465
39
72
37.564103
0.75837
0.034812
0
0
0
0
0.475107
0.475107
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7b35d0e1d8c57045963c478ef0212e8ba59e6986
119
py
Python
FEMur/mesh.py
MrJarv1s/FEMur
0ff83c1f34d963edb2305110078f8e0592937c83
[ "MIT" ]
1
2020-08-28T01:14:26.000Z
2020-08-28T01:14:26.000Z
FEMur/mesh.py
Greg-Hamel/FEMur
0ff83c1f34d963edb2305110078f8e0592937c83
[ "MIT" ]
16
2017-06-25T16:12:05.000Z
2017-08-07T23:30:44.000Z
FEMur/mesh.py
MrJarv1s/FEMur
0ff83c1f34d963edb2305110078f8e0592937c83
[ "MIT" ]
null
null
null
class Mesh(object): 'Common class for all Mesh of the Finite Element Method.' def __init__(self): pass
23.8
61
0.663866
17
119
4.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.260504
119
4
62
29.75
0.852273
0.462185
0
0
0
0
0.462185
0
0
0
0
0
0
1
0.25
false
0.25
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
c86f73c47e082b1dd1023e47aee8f6320f69941b
430
py
Python
few_shots_clf/utils/__init__.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
few_shots_clf/utils/__init__.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
few_shots_clf/utils/__init__.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
from .read_image import read_image from .get_iterator import get_iterator from .compute_keypoints import compute_keypoints from .compute_descriptors import compute_descriptors from .compute_images2labels import compute_images2labels from .get_labels_from_catalog import get_labels_from_catalog from .get_all_images_from_...
47.777778
68
0.906977
60
430
6.033333
0.266667
0.121547
0.071823
0.110497
0.121547
0
0
0
0
0
0
0.005025
0.074419
430
8
69
53.75
0.904523
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
c88d40036cc56114c829075670a1c1a213bad3c4
64
py
Python
models/tests/__init__.py
bayesimpact/representative-population-generator
078ef492dc282f68ce81c1f33fab029f4382ea98
[ "Apache-2.0" ]
null
null
null
models/tests/__init__.py
bayesimpact/representative-population-generator
078ef492dc282f68ce81c1f33fab029f4382ea98
[ "Apache-2.0" ]
null
null
null
models/tests/__init__.py
bayesimpact/representative-population-generator
078ef492dc282f68ce81c1f33fab029f4382ea98
[ "Apache-2.0" ]
null
null
null
"""This is the test module for the network adequacy project."""
32
63
0.734375
10
64
4.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.15625
64
1
64
64
0.87037
0.890625
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c8c4fc4fcb68f6b077d600175a783f28bd1d89a0
228
py
Python
pages/cache.py
timbortnik/django-page-cms
4640dca210d89f22ba87cbf4376cb34147e591fa
[ "BSD-3-Clause" ]
113
2015-01-08T08:21:11.000Z
2022-03-11T21:44:10.000Z
pages/cache.py
timbortnik/django-page-cms
4640dca210d89f22ba87cbf4376cb34147e591fa
[ "BSD-3-Clause" ]
63
2015-03-06T06:38:38.000Z
2022-02-15T17:07:48.000Z
pages/cache.py
timbortnik/django-page-cms
4640dca210d89f22ba87cbf4376cb34147e591fa
[ "BSD-3-Clause" ]
53
2015-01-07T15:25:48.000Z
2022-02-15T16:21:54.000Z
# -*- coding: utf-8 -*- from django.core.cache import caches from django.core.cache.backends.base import InvalidCacheBackendError try: cache = caches['pages'] except InvalidCacheBackendError: cache = caches['default']
22.8
68
0.741228
26
228
6.5
0.615385
0.118343
0.16568
0.224852
0
0
0
0
0
0
0
0.005102
0.140351
228
9
69
25.333333
0.857143
0.092105
0
0
0
0
0.058537
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
4
c8f8da3a87a66ed205ed0ea3a5d279f739932851
74
py
Python
djtools/contactrequests/__init__.py
semicolom/django-tools-contact-requests
b972db3793e7424b44990e2568b1cc99cce7538b
[ "MIT" ]
null
null
null
djtools/contactrequests/__init__.py
semicolom/django-tools-contact-requests
b972db3793e7424b44990e2568b1cc99cce7538b
[ "MIT" ]
null
null
null
djtools/contactrequests/__init__.py
semicolom/django-tools-contact-requests
b972db3793e7424b44990e2568b1cc99cce7538b
[ "MIT" ]
null
null
null
default_app_config = 'djtools.contactrequests.apps.ContactRequestsConfig'
37
73
0.878378
7
74
9
1
0
0
0
0
0
0
0
0
0
0
0
0.040541
74
1
74
74
0.887324
0
0
0
0
0
0.675676
0.675676
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c8f911b63cc4a4fbb4d97669d95253cd2d89433e
502
py
Python
src/charma/movies/related_persons/actors/component.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-01-16T23:36:10.000Z
2020-01-16T23:36:10.000Z
src/charma/movies/related_persons/actors/component.py
mononobi/imovie-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
24
2020-06-08T18:27:04.000Z
2021-06-06T12:01:39.000Z
src/charma/movies/related_persons/actors/component.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-12-20T05:29:04.000Z
2020-12-20T05:29:04.000Z
# -*- coding: utf-8 -*- """ movies related actors component module. """ from pyrin.application.decorators import component from pyrin.application.structs import Component from charma.movies.related_persons.actors import RelatedActorsPackage from charma.movies.related_persons.actors.manager import RelatedActorsManager...
26.421053
77
0.796813
51
502
7.784314
0.45098
0.130982
0.095718
0.141058
0.18136
0.18136
0
0
0
0
0
0.002262
0.119522
502
18
78
27.888889
0.895928
0.201195
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.571429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
c8fe1fe39df0da0502a23b8e3fbe5fd165ce1082
1,946
py
Python
backend/tests/test_limits.py
msg4real/tuber
9704466bf30ad7e93975b084eef154bc6e30cf6f
[ "MIT" ]
6
2019-12-06T07:32:22.000Z
2021-12-05T19:14:03.000Z
backend/tests/test_limits.py
msg4real/tuber
9704466bf30ad7e93975b084eef154bc6e30cf6f
[ "MIT" ]
99
2019-10-03T05:21:16.000Z
2022-01-21T02:35:25.000Z
backend/tests/test_limits.py
msg4real/tuber
9704466bf30ad7e93975b084eef154bc6e30cf6f
[ "MIT" ]
6
2019-09-30T22:01:55.000Z
2021-11-03T20:53:00.000Z
def test_limits(client): """Make sure that requesting resources with limits return a slice of the result.""" for i in range(100): badge = client.post("/api/event/1/badge", json={ "legal_name": "Test User {}".format(i) }).json assert(badge['legal_name'] == "Test User {}"...
47.463415
106
0.598664
271
1,946
4.232472
0.202952
0.078466
0.113339
0.148213
0.863121
0.844813
0.821273
0.636443
0.636443
0.636443
0
0.034914
0.219938
1,946
41
107
47.463415
0.720685
0.157246
0
0.5625
0
0
0.261995
0
0
0
0
0
0.375
1
0.09375
false
0
0
0
0.09375
0
0
0
0
null
0
0
0
1
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
4
cd9d354cdb9a5df3494d04239745a6f00e3e699f
131
py
Python
asrecognition/__init__.py
kokimishev/asrecognition
9b82d89d32b44b63c01754fd818939e8c839b7e9
[ "MIT" ]
47
2021-07-30T16:33:23.000Z
2022-02-21T03:16:00.000Z
asrecognition/__init__.py
kokimishev/asrecognition
9b82d89d32b44b63c01754fd818939e8c839b7e9
[ "MIT" ]
28
2021-08-19T07:50:34.000Z
2022-03-21T12:37:29.000Z
asrecognition/__init__.py
kokimishev/asrecognition
9b82d89d32b44b63c01754fd818939e8c839b7e9
[ "MIT" ]
6
2021-10-04T11:23:44.000Z
2022-02-06T15:07:38.000Z
import datasets import logging from asrecognition.engine import ASREngine datasets.logging.get_verbosity = lambda: logging.NOTSET
21.833333
55
0.854962
16
131
6.9375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.099237
131
5
56
26.2
0.940678
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cda0cf9dc9052c6d9e5dd5ec02e7ac8aa51a1990
426
py
Python
controller.py
clean-code-craft-tcq-1/function-ext-python-AkshayUHegde
ac4ffc6d0ea080a374bcc68d30e6b6cd50be462c
[ "MIT" ]
null
null
null
controller.py
clean-code-craft-tcq-1/function-ext-python-AkshayUHegde
ac4ffc6d0ea080a374bcc68d30e6b6cd50be462c
[ "MIT" ]
1
2021-03-16T17:53:51.000Z
2021-03-16T17:53:51.000Z
controller.py
clean-code-craft-tcq-1/function-ext-python-AkshayUHegde
ac4ffc6d0ea080a374bcc68d30e6b6cd50be462c
[ "MIT" ]
null
null
null
import localization def deploy_corrective_measures(param_operating_ranges): corrective_measures_completed = [] for param in param_operating_ranges: corrective_measures_completed.append(localization.TRANSLATION_TABLE[localization.CURR_LOCALIZATION][ "con...
42.6
117
0.725352
40
426
7.3
0.5
0.246575
0.205479
0.205479
0.321918
0.321918
0
0
0
0
0
0
0.20892
426
9
118
47.333333
0.866469
0
0
0
0
0
0.044601
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cda3bf0c1fd73815576e44bca13db0f41374f8d8
196
py
Python
Solutions/7kyu/7kyu_the_deaf_rats_of_hamelin.py
citrok25/Codewars-1
dc641c5079e2e8b5955eb027fd15427e5bdb2e26
[ "MIT" ]
46
2017-08-24T09:27:57.000Z
2022-02-25T02:24:33.000Z
Solutions/7kyu/7kyu_the_deaf_rats_of_hamelin.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
null
null
null
Solutions/7kyu/7kyu_the_deaf_rats_of_hamelin.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
35
2017-08-01T22:09:48.000Z
2022-02-18T17:21:37.000Z
import re def count_deaf_rats(town): t = town.split('P') return find(t[0]).count('O~') + find(t[1]).count('~O') def find(s): return [''.join(j) for j in re.findall('(~O)|(O~)', s)]
19.6
59
0.55102
36
196
2.944444
0.583333
0.09434
0
0
0
0
0
0
0
0
0
0.012422
0.178571
196
9
60
21.777778
0.645963
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
cdaf22efa276f7b2604ea9445022d32fd829106f
87
py
Python
ABC_A/ABC057_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC057_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC057_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
a, b = map(int, input().split()) if a+b < 24: print(a+b) else: print((a+b)-24)
14.5
32
0.505747
18
87
2.444444
0.555556
0.181818
0.181818
0
0
0
0
0
0
0
0
0.059701
0.229885
87
5
33
17.4
0.597015
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
cdf0fe341f85ea3fba72f684ebf1d5f550eff3f3
8,762
py
Python
src/pyg_timeseries/_ewmxo.py
gityoav/pyg-timeseries
27859b912d6e9e9a74c172711907d5456ec3076b
[ "Apache-2.0" ]
null
null
null
src/pyg_timeseries/_ewmxo.py
gityoav/pyg-timeseries
27859b912d6e9e9a74c172711907d5456ec3076b
[ "Apache-2.0" ]
null
null
null
src/pyg_timeseries/_ewmxo.py
gityoav/pyg-timeseries
27859b912d6e9e9a74c172711907d5456ec3076b
[ "Apache-2.0" ]
null
null
null
from pyg_base import Dict, is_num, sub_, div_ from pyg_timeseries._ewm import ewma_, ewmstd_, ewmrms_ from pyg_timeseries._rolling import v2na, diff_ from pyg_timeseries._expanding import cumsum_ def _frac(days): return 1/(1+days) if days>1 else days def ou_factor(fast, slow): """ OU factor for mo...
35.617886
125
0.562771
1,284
8,762
3.766355
0.117601
0.028122
0.034739
0.049628
0.786807
0.776055
0.748139
0.724979
0.688792
0.647643
0
0.0352
0.286693
8,762
245
126
35.763265
0.73856
0.566423
0
0.166667
0
0
0.020932
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.020833
0.416667
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cdf11648af02e34090e5314b0300c5e0eb735f1e
14,279
py
Python
tools/funccommonstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
tools/funccommonstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
tools/funccommonstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
__all__ = ['generate_func_common_stub'] import textwrap from vecstub import vector_tuple def generate_func_common_stub(): names = [ 'abs', 'ceil', 'clamp', 'floatBitsToInt', 'floatBitsToUint', 'floor', 'fma', 'fmax', 'fmin', 'fract', 'frexp', 'intBitsToFloat', 'isinf', 'isnan', 'ldexp',...
41.997059
184
0.590307
1,908
14,279
4.254717
0.067086
0.196231
0.162602
0.124045
0.834688
0.784922
0.652008
0.55223
0.525129
0.468958
0
0.041484
0.203165
14,279
339
185
42.120944
0.671999
0
0
0.478964
1
0.194175
0.979059
0.153313
0
0
0
0
0
1
0.003236
false
0
0.006472
0
0.012945
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a80a11e0c9fe855c8ef3e4690c3b6ffb7720721e
2,220
py
Python
python_files/CourseLesson.py
KJHJason/App-Development-Project
6fb027055ba0d1b469721aae46aa61f7bbd15f74
[ "MIT" ]
3
2022-02-13T11:07:01.000Z
2022-02-22T15:27:37.000Z
python_files/CourseLesson.py
nekoney/App-Development-Project
1563f14bf9f85eb21eaea874a13c6397234d6b95
[ "MIT" ]
null
null
null
python_files/CourseLesson.py
nekoney/App-Development-Project
1563f14bf9f85eb21eaea874a13c6397234d6b95
[ "MIT" ]
1
2022-03-01T07:52:24.000Z
2022-03-01T07:52:24.000Z
from uuid import uuid4 """Made by Wei Ren""" """Edited by Clarence and Jason""" class Lesson(): def __init__(self, title, description, thumbnail): self.__title = title self.__description = description self.__thumbnail = thumbnail self.__lessonID = str(uuid4().hex) def set_titl...
30.833333
97
0.677027
251
2,220
5.59761
0.223108
0.038434
0.08968
0.036299
0.143772
0.143772
0.08968
0
0
0
0
0.003544
0.237387
2,220
72
98
30.833333
0.826344
0.065766
0
0.296296
0
0
0
0
0
0
0
0
0
1
0.388889
false
0.111111
0.018519
0.166667
0.62963
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
1
0
0
4
a81434fc59ca9c36626ca8f6f39b5233659c45a2
738
py
Python
test_rotate_array.py
jaebradley/leetcode.py
64634cc7d0e975ddd163f35acb18cc92960b8eb5
[ "MIT" ]
null
null
null
test_rotate_array.py
jaebradley/leetcode.py
64634cc7d0e975ddd163f35acb18cc92960b8eb5
[ "MIT" ]
2
2019-11-13T19:55:49.000Z
2019-11-13T19:55:57.000Z
test_rotate_array.py
jaebradley/leetcode.py
64634cc7d0e975ddd163f35acb18cc92960b8eb5
[ "MIT" ]
null
null
null
from unittest import TestCase from rotate_array import Solution class TestNoOrbit(TestCase): def test_single_step(self): values = [1, 2, 3, 4, 5] Solution().rotate(values, 1) self.assertEqual([5, 1, 2, 3, 4], values) def test_two_steps(self): values = [1, 2, 3, 4, 5] ...
25.448276
49
0.579946
107
738
3.915888
0.242991
0.038186
0.057279
0.057279
0.77327
0.77327
0.77327
0.77327
0.649165
0.649165
0
0.081784
0.271003
738
28
50
26.357143
0.697026
0
0
0.6
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4