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
e9464bb7ea4702efdde4c30af507cef2ce020a8e
388
py
Python
datasets/base_controller.py
sx-zhang/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
11
2021-09-08T03:40:08.000Z
2022-01-14T08:36:13.000Z
datasets/base_controller.py
JJJJasper/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
null
null
null
datasets/base_controller.py
JJJJasper/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
2
2021-12-01T13:00:35.000Z
2021-12-08T01:56:31.000Z
""" Base Controller for interacting with the Scene """ class BaseController: def __init__(self): super(BaseController, self).__init__() def start(self): raise NotImplementedError() def reset(self, scene_name=None): raise NotImplementedError() def step(self, acti...
24.25
55
0.654639
39
388
6.230769
0.589744
0.296296
0.222222
0
0
0
0
0
0
0
0
0
0.252577
388
15
56
25.866667
0.837931
0.118557
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0
0.555556
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3a626c55a7923bb60e3d6d0cec851b3f32e2569c
346
py
Python
Reajuste-Salarial/index.py
htamagnus/Python
4a8f93195ec728670adead8a27d00672015b64e3
[ "MIT" ]
null
null
null
Reajuste-Salarial/index.py
htamagnus/Python
4a8f93195ec728670adead8a27d00672015b64e3
[ "MIT" ]
null
null
null
Reajuste-Salarial/index.py
htamagnus/Python
4a8f93195ec728670adead8a27d00672015b64e3
[ "MIT" ]
null
null
null
#DESAFIO 13: REAJUSTE SALARIAL #Faça um algoritmo que leia o salário de um funcionário e mostre seu novo salário, com 15% de aumento. salário = float(input('Qual é o salário do funcionário? R$')) novo = salário + (salário * 15 / 100) print('Um funcionário que ganhava R${:.2f}, com 15% de aumento, passa a receber R${:.2...
69.2
112
0.722543
57
346
4.385965
0.596491
0.064
0.056
0.112
0
0
0
0
0
0
0
0.044521
0.156069
346
5
112
69.2
0.811644
0.375723
0
0
0
0.333333
0.539535
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.333333
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
1
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3a6506de71eeda9e1e25393690d6c9895a7a55c6
294
py
Python
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_batch.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_batch.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
141
2021-02-04T16:22:13.000Z
2022-03-27T08:29:40.000Z
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_batch.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
3
2021-02-04T14:02:01.000Z
2022-02-02T16:46:52.000Z
from rubygems_utils import RubyGemsTestUtils class RubyGemsTestrubygems_aws_sdk_batch(RubyGemsTestUtils): def test_gem_list_rubygems_aws_sdk_batch(self): self.gem_is_installed("aws-sdk-batch") def test_load_aws_sdk_batch(self): self.gem_is_loadable("aws-sdk-batch")
26.727273
60
0.785714
41
294
5.195122
0.463415
0.140845
0.258216
0.140845
0.225352
0.225352
0.225352
0
0
0
0
0
0.136054
294
10
61
29.4
0.838583
0
0
0
0
0
0.088737
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3a9179c4520dda18967d9519e5f87b2bef967acf
180
py
Python
pydsa/tests/test_quick_sort.py
mish24/pydsa
422db76d77503fb60af3d9a712ceab0a02f668cf
[ "BSD-3-Clause" ]
null
null
null
pydsa/tests/test_quick_sort.py
mish24/pydsa
422db76d77503fb60af3d9a712ceab0a02f668cf
[ "BSD-3-Clause" ]
null
null
null
pydsa/tests/test_quick_sort.py
mish24/pydsa
422db76d77503fb60af3d9a712ceab0a02f668cf
[ "BSD-3-Clause" ]
3
2017-03-14T14:00:03.000Z
2019-09-19T06:22:14.000Z
from pydsa.quick_sort import quick_sort from random import randint def test_quick_sort(): a = b = [randint(1, 100) for i in range(100)] assert quick_sort(a) == sorted(b)
22.5
49
0.705556
31
180
3.935484
0.612903
0.295082
0.163934
0
0
0
0
0
0
0
0
0.047945
0.188889
180
7
50
25.714286
0.787671
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3a925bfbeec0ce8ccfc429b1bd2436632d267f71
64
py
Python
notes/turtleGraphics/name_spiral.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/turtleGraphics/name_spiral.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/turtleGraphics/name_spiral.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
import turtle t = turtle.Pen() turtle.Screen().bgcolor("black")
16
32
0.71875
9
64
5.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.09375
64
3
33
21.333333
0.793103
0
0
0
0
0
0.078125
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3acaa1498193397d245788cbe9aa2c2940abf8de
335
py
Python
Flask_test/02_day/flask_02_context.py
52itsmile/Flask_basics
2108ec63c733916b9186c0892660066cd15d0130
[ "MIT" ]
null
null
null
Flask_test/02_day/flask_02_context.py
52itsmile/Flask_basics
2108ec63c733916b9186c0892660066cd15d0130
[ "MIT" ]
null
null
null
Flask_test/02_day/flask_02_context.py
52itsmile/Flask_basics
2108ec63c733916b9186c0892660066cd15d0130
[ "MIT" ]
null
null
null
from flask import Flask # 请求上下文中的变量 from flask import request from flask import session # 应用上下文的变量 from flask import current_app from flask import g app = Flask(__name__) # print(session.get('user_id','')) @app.route('/') def index(): print(request.method) return 'index' if __name__ == '__main__': app....
16.75
34
0.713433
47
335
4.787234
0.531915
0.2
0.333333
0
0
0
0
0
0
0
0
0
0.167164
335
20
35
16.75
0.806452
0.152239
0
0
0
0
0.049822
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0.083333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3acf8c52b928e393363d94aba6c9128fde27725e
431
py
Python
src/bp/get_type_games_by_user.py
jggomez/Python-Reference-Microservice
13723c5f5a205bf1f874c44dddbd4cab64839da7
[ "MIT" ]
14
2020-07-09T22:31:09.000Z
2022-01-21T23:03:29.000Z
src/bp/get_type_games_by_user.py
jggomez/Python-Reference-Microservice
13723c5f5a205bf1f874c44dddbd4cab64839da7
[ "MIT" ]
1
2021-02-03T23:51:35.000Z
2021-02-03T23:51:35.000Z
src/bp/get_type_games_by_user.py
jggomez/Python-Reference-Microservice
13723c5f5a205bf1f874c44dddbd4cab64839da7
[ "MIT" ]
6
2020-07-10T04:07:11.000Z
2020-10-04T00:04:30.000Z
from dataclasses import dataclass from data import GetAllTypeGamesRepository from .usecase import UseCase @dataclass class Params: user_id: str class GetTypeGamesByUser(UseCase): def __init__(self, type_games_repository: GetAllTypeGamesRepository): self.type_games_repository = type_games_repositor...
22.684211
80
0.793503
52
431
6.230769
0.442308
0.138889
0.234568
0.212963
0
0
0
0
0
0
0
0
0.153132
431
18
81
23.944444
0.887671
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.818182
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3ad064cd1610a01fafb594e6b3799488150e0cf9
652
py
Python
Learning Management System with Django Code/users/migrations/0005_auto_20210122_0821.py
SARIKAYA77/Learning-Management-System-with-Python3---Django
749ed05e118360b7f7e5a1a7de444d69eb0cb6bf
[ "Apache-2.0" ]
2
2022-01-10T07:48:06.000Z
2022-01-10T07:48:24.000Z
Learning Management System with Django Code/users/migrations/0005_auto_20210122_0821.py
SARIKAYA77/Learning-Management-System-with-Python3---Django
749ed05e118360b7f7e5a1a7de444d69eb0cb6bf
[ "Apache-2.0" ]
null
null
null
Learning Management System with Django Code/users/migrations/0005_auto_20210122_0821.py
SARIKAYA77/Learning-Management-System-with-Python3---Django
749ed05e118360b7f7e5a1a7de444d69eb0cb6bf
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-22 08:21 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20210122_0739'), ] operations = [ migrations.RenameField( model_name='profile', old_name='divisions', ...
22.482759
47
0.544479
61
652
5.622951
0.57377
0.12828
0.227405
0.262391
0.349854
0.349854
0.349854
0.349854
0.349854
0.349854
0
0.07243
0.343558
652
28
48
23.285714
0.728972
0.069018
0
0.5
1
0
0.160331
0.038017
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c9198005ac375a9e3064c79677275d86e1059df3
641
py
Python
TruScanEEGpy/__init__.py
neuropsychology/TruScanEEGpy
02a5c75e5de0f7e17a15880ed6f6a76e1d840f6f
[ "MIT" ]
2
2019-10-24T21:44:55.000Z
2021-03-01T22:32:39.000Z
TruScanEEGpy/__init__.py
neuropsychology/TruScanEEGpy
02a5c75e5de0f7e17a15880ed6f6a76e1d840f6f
[ "MIT" ]
null
null
null
TruScanEEGpy/__init__.py
neuropsychology/TruScanEEGpy
02a5c75e5de0f7e17a15880ed6f6a76e1d840f6f
[ "MIT" ]
3
2019-11-14T07:10:25.000Z
2021-05-13T02:48:20.000Z
# -*- coding: utf-8 -*- """Top-level package for TruScanEEGpy.""" # ============================================================================= # Basic # ============================================================================= import os __author__ = """TruScanEEGpy developpment team""" __email__ = "dom.makows...
27.869565
79
0.349454
40
641
5.1
0.775
0
0
0
0
0
0
0
0
0
0
0.008532
0.085803
641
22
80
29.136364
0.33959
0.599064
0
0
0
0
0.232653
0.089796
0
1
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
1
0
0
0
0
3
c925d8ffb4e3718199b6f3cd2ade6eefa0f97142
394
py
Python
wafer/users/serializers.py
drnlm/wafer
1d843190428c401df06fcdfb89d1f9d9af67229e
[ "ISC" ]
41
2015-03-16T17:47:00.000Z
2022-01-07T04:31:21.000Z
wafer/users/serializers.py
drnlm/wafer
1d843190428c401df06fcdfb89d1f9d9af67229e
[ "ISC" ]
338
2015-03-15T17:26:36.000Z
2021-12-02T04:34:53.000Z
wafer/users/serializers.py
drnlm/wafer
1d843190428c401df06fcdfb89d1f9d9af67229e
[ "ISC" ]
28
2015-07-27T14:11:13.000Z
2020-11-16T03:50:30.000Z
from rest_framework import serializers from django.contrib.auth import get_user_model class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() # Arguably not useful to expose via the REST api without # more thought. # is_superuser seems dangerous to ...
30.307692
68
0.715736
49
394
5.612245
0.693878
0.050909
0.087273
0
0
0
0
0
0
0
0
0
0.228426
394
12
69
32.833333
0.904605
0.322335
0
0
0
0
0.076046
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
c92ca02c7c395aabdea13b7b44c005473bfcd322
147
py
Python
tradeServer/__init__.py
alex-wyc/textbook_trade
1164958fc8864f1f5047311181670605eac0b91c
[ "MIT" ]
1
2017-03-09T23:34:49.000Z
2017-03-09T23:34:49.000Z
tradeServer/__init__.py
alex-wyc/textbook_trade
1164958fc8864f1f5047311181670605eac0b91c
[ "MIT" ]
null
null
null
tradeServer/__init__.py
alex-wyc/textbook_trade
1164958fc8864f1f5047311181670605eac0b91c
[ "MIT" ]
null
null
null
from flask import Flask from . import settings app = Flask(__name__) app.config['DEBUG'] = False app.config['SECRET_KEY'] = settings.SECRET_KEY
16.333333
46
0.748299
21
147
4.952381
0.52381
0.173077
0
0
0
0
0
0
0
0
0
0
0.136054
147
8
47
18.375
0.818898
0
0
0
0
0
0.10274
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
c92e368e0cb7ce8debf195536d27b3f472c143f1
90
py
Python
test/_testdata/Vim/Python/test.py
lambdalisue/vital-Vim-Python
92a0c733d1a8274c19f4e63d298c22e191baeb9e
[ "MIT" ]
null
null
null
test/_testdata/Vim/Python/test.py
lambdalisue/vital-Vim-Python
92a0c733d1a8274c19f4e63d298c22e191baeb9e
[ "MIT" ]
null
null
null
test/_testdata/Vim/Python/test.py
lambdalisue/vital-Vim-Python
92a0c733d1a8274c19f4e63d298c22e191baeb9e
[ "MIT" ]
null
null
null
import sys, vim print("%s %d" % ( vim.eval('prefix'), sys.version_info.major, ))
12.857143
27
0.577778
13
90
3.923077
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.211111
90
6
28
15
0.71831
0
0
0
0
0
0.122222
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c92ec9f6a4de9480503f3577092ddbc99eaf3cc3
8,518
py
Python
PyFin/tests/Analysis/testSecurityValues.py
rpatil524/Finance-Python
687538015eb597575b872cd652aada5047e84ef3
[ "MIT" ]
325
2017-11-02T19:08:46.000Z
2022-03-22T21:00:45.000Z
PyFin/tests/Analysis/testSecurityValues.py
smileboy510/Finance-Python
96d9984f1a9bb7b02c057c8e056a993b1c211945
[ "MIT" ]
6
2019-05-22T07:23:02.000Z
2021-06-23T11:27:57.000Z
PyFin/tests/Analysis/testSecurityValues.py
smileboy510/Finance-Python
96d9984f1a9bb7b02c057c8e056a993b1c211945
[ "MIT" ]
78
2017-11-27T01:27:48.000Z
2022-03-26T15:34:09.000Z
# -*- coding: utf-8 -*- u""" Created on 2017-1-25 @author: cheng.li """ import unittest import copy import pickle import tempfile import os import numpy as np import pandas as pd from PyFin.Analysis.SeriesValues import SeriesValues class TestSecurityValues(unittest.TestCase): def testSecurityValuesInit(self): ...
33.667984
108
0.622799
1,050
8,518
4.978095
0.112381
0.071552
0.054525
0.072699
0.750717
0.747274
0.725081
0.698106
0.689306
0.689306
0
0.049813
0.24818
8,518
252
109
33.801587
0.766396
0.007279
0
0.50289
0
0
0.000947
0
0
0
0
0
0.236994
1
0.069364
false
0
0.046243
0
0.121387
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c94549280149513ee24af207b922387d7d627836
130
py
Python
src/01_oop/00_class.py
Ratarca/CCB-PYTHON
012ad405de94018ca34fc2ce09c0a50e2e2766dd
[ "Apache-2.0" ]
11
2021-09-29T18:43:13.000Z
2021-12-27T18:43:00.000Z
src/01_oop/00_class.py
Ratarca/CCB-PYTHON
012ad405de94018ca34fc2ce09c0a50e2e2766dd
[ "Apache-2.0" ]
null
null
null
src/01_oop/00_class.py
Ratarca/CCB-PYTHON
012ad405de94018ca34fc2ce09c0a50e2e2766dd
[ "Apache-2.0" ]
1
2021-12-22T21:35:13.000Z
2021-12-22T21:35:13.000Z
""" Theory > Instance vs Class > Attributes, methods, inheritance, polymorphism """ class Scout(): pass ratarca = Scout()
14.444444
48
0.669231
13
130
6.692308
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.2
130
9
49
14.444444
0.836538
0.576923
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c9628961e27f2b6b0f9ddda5daef4fb3d7d4ec0c
1,445
py
Python
janitor/dataframe.py
JoshuaC3/pyjanitor
14192fc750a52484f819f4d535165bc07bb7c13a
[ "MIT" ]
null
null
null
janitor/dataframe.py
JoshuaC3/pyjanitor
14192fc750a52484f819f4d535165bc07bb7c13a
[ "MIT" ]
null
null
null
janitor/dataframe.py
JoshuaC3/pyjanitor
14192fc750a52484f819f4d535165bc07bb7c13a
[ "MIT" ]
null
null
null
from pandas import DataFrame, Series from .functions import (clean_names, coalesce, convert_excel_date, encode_categorical, fill_empty, get_dupes, get_features_targets, remove_empty, rename_column) class JanitorSeries(Series): @property def _constructor(self): ...
27.264151
74
0.696886
165
1,445
5.836364
0.248485
0.091381
0.091381
0.053998
0.386293
0.168224
0.101765
0.101765
0
0
0
0
0.231834
1,445
52
75
27.788462
0.867568
0
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.361111
false
0
0.055556
0.361111
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a323d7bcc80024361194f6fb05283be3a806854a
2,576
py
Python
api/app/references/repository.py
NikolaSiplakova/Baobab
180cd3cb492ed47d38ca0b473572fad0ac6f604b
[ "Apache-2.0" ]
52
2019-01-10T16:04:26.000Z
2022-02-10T00:55:59.000Z
api/app/references/repository.py
NikolaSiplakova/Baobab
180cd3cb492ed47d38ca0b473572fad0ac6f604b
[ "Apache-2.0" ]
535
2019-01-08T21:24:01.000Z
2022-02-27T15:24:06.000Z
api/app/references/repository.py
NikolaSiplakova/Baobab
180cd3cb492ed47d38ca0b473572fad0ac6f604b
[ "Apache-2.0" ]
36
2019-01-10T16:09:15.000Z
2021-06-28T21:02:47.000Z
from app import db from app.references.models import ReferenceRequest, Reference from app.events.models import Event import uuid class ReferenceRequestRepository(): @staticmethod def get_by_id(reference_request_id): return db.session.query(ReferenceRequest).get(reference_request_id) @staticmetho...
30.305882
104
0.650233
276
2,576
5.797101
0.134058
0.095625
0.135
0.125
0.740625
0.70625
0.558125
0.530625
0.505625
0.451875
0
0.000525
0.260093
2,576
84
105
30.666667
0.83893
0
0
0.590909
0
0
0
0
0
0
0
0
0
1
0.212121
false
0
0.060606
0.151515
0.454545
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
a3258c7c95932cbe437b480b1ffdabccd65c30d1
343
py
Python
challenge22.py
xingexu/littleAlgo2
abeee34e19d9be6503ee2704b47efde8402c238c
[ "MIT" ]
null
null
null
challenge22.py
xingexu/littleAlgo2
abeee34e19d9be6503ee2704b47efde8402c238c
[ "MIT" ]
null
null
null
challenge22.py
xingexu/littleAlgo2
abeee34e19d9be6503ee2704b47efde8402c238c
[ "MIT" ]
null
null
null
numbers = [9, 8, 72, 22, 21, 81, 2, 1, 11, 76, 32, 54] def highest_num(numbers_in): highest = numbers_in[0] for count in range(len(numbers_in)): if highest < numbers_in[count]: highest = numbers_in[count] return highest highest_out = highest_num(numbers) print("The highest number...
24.5
54
0.638484
52
343
4.038462
0.557692
0.214286
0.228571
0.2
0
0
0
0
0
0
0
0.081081
0.244898
343
14
55
24.5
0.72973
0
0
0
0
0
0.061047
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a32f528189d745e616708e3bc264f9b12b4499d8
1,020
py
Python
lizard/util/sparse_memory_image.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
50
2019-05-22T08:43:15.000Z
2022-03-21T23:58:50.000Z
lizard/util/sparse_memory_image.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
1
2019-07-27T18:51:52.000Z
2019-08-02T01:20:22.000Z
lizard/util/sparse_memory_image.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
11
2019-12-26T06:00:48.000Z
2022-03-27T02:29:35.000Z
# Author : Jacob Glueck, Christopher Batten # Date : Feb 28, 2019 import binascii class SparseMemoryImage(object): class Section(object): def __init__(self, addr=0x00000000, data=bytearray()): self.addr = addr self.data = data def __str__(self): return 'addr={} data={}'.format( ...
24.285714
77
0.60098
120
1,020
4.966667
0.391667
0.120805
0.090604
0.073826
0
0
0
0
0
0
0
0.029294
0.263725
1,020
41
78
24.878049
0.764314
0.061765
0
0
0
0
0.073375
0
0
0
0.010482
0
0
1
0.296296
false
0
0.037037
0.148148
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a330dfb6509f55f1387c7b8164826f6214af0679
177
py
Python
main.py
ablarry/pygraphforce
6cb3481c97eaf029764fb3037cab0dc7425477a5
[ "MIT" ]
null
null
null
main.py
ablarry/pygraphforce
6cb3481c97eaf029764fb3037cab0dc7425477a5
[ "MIT" ]
null
null
null
main.py
ablarry/pygraphforce
6cb3481c97eaf029764fb3037cab0dc7425477a5
[ "MIT" ]
null
null
null
import pygame from pygraph import models from algorithms.fruchterman import Fruchterman if __name__ == '__main__': g = models.mesh(10,10) f = Fruchterman(g) f.run()
22.125
46
0.717514
24
177
4.958333
0.625
0
0
0
0
0
0
0
0
0
0
0.027778
0.186441
177
8
47
22.125
0.798611
0
0
0
0
0
0.044944
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a3399ac6255262cd83959aaadd11eaa3e26ef386
245
py
Python
advopt/classifier/gb/utils.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
advopt/classifier/gb/utils.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
advopt/classifier/gb/utils.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
import numpy as np __all__ = [ 'linspace', 'logspace', ] def linspace(num, x0=np.log(2)): return np.linspace(x0, 0, num=num) def logspace(num, x0=np.log(2)): a = np.linspace(0, 1, num=num + 1)[1:] return x0 * np.log(a) / np.log(a[0])
18.846154
40
0.608163
46
245
3.152174
0.347826
0.137931
0.144828
0.137931
0.151724
0
0
0
0
0
0
0.059701
0.179592
245
12
41
20.416667
0.661692
0
0
0
0
0
0.065306
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a37a50366b8463d3912edc2f7a073697bc240660
531
py
Python
var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class PyNvidiaMlPy(PythonPackage): """Python Bindings for the NVIDIA Management Library.""" homepage = "http://w...
37.928571
99
0.745763
68
531
5.823529
0.838235
0.040404
0.050505
0
0
0
0
0
0
0
0
0.145022
0.129944
531
13
100
40.846154
0.712121
0.451977
0
0
0
0.25
0.606383
0.22695
0
0
0
0
0
1
0
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a38afd3125f32472e741b8eee53d88251c88f36e
2,425
py
Python
trash/trash.py
dvento/tfg
2bc2f39a45ffe3013e00411482c20d54cdc5777d
[ "MIT" ]
null
null
null
trash/trash.py
dvento/tfg
2bc2f39a45ffe3013e00411482c20d54cdc5777d
[ "MIT" ]
null
null
null
trash/trash.py
dvento/tfg
2bc2f39a45ffe3013e00411482c20d54cdc5777d
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import tensorflow as tf import functools from utils import utils as utils ''' THIS DOCUMENT IS USED TO SAVE UNUSED METHODS AND CLASSES THAT MIGHT BE USEFUL IN THE FUTURE ''' ''' ANOTHER FILE traditional.py code ABOVE ''' ''' last_id = 1 id = 0 for i in updated_active_st...
26.358696
213
0.750103
356
2,425
4.828652
0.311798
0.138453
0.052356
0.063991
0.333915
0.268761
0.183828
0.183828
0.079116
0.079116
0
0.007222
0.143505
2,425
92
214
26.358696
0.820414
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a39359076dd1352fadee64d771900d363e24cec6
1,038
py
Python
user_handle/forms.py
vincentfung13/TwitterRepManagement
f04e3460f234cf95d288e47a24554cc220b41b12
[ "MIT" ]
1
2016-01-16T15:32:29.000Z
2016-01-16T15:32:29.000Z
user_handle/forms.py
vincentfung13/TwitterRepManagement
f04e3460f234cf95d288e47a24554cc220b41b12
[ "MIT" ]
7
2015-11-16T00:32:29.000Z
2016-04-05T03:03:27.000Z
user_handle/forms.py
vincentfung13/TwitterRepManagement
f04e3460f234cf95d288e47a24554cc220b41b12
[ "MIT" ]
null
null
null
from django import forms class RegisterForm(forms.Form): username = forms.CharField(max_length=30, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Username'})) password = forms.CharField(max_length=20, widget=forms.PasswordIn...
47.181818
118
0.644509
107
1,038
6.196262
0.271028
0.126697
0.105581
0.158371
0.728507
0.600302
0.600302
0.600302
0.600302
0.600302
0
0.015719
0.203276
1,038
21
119
49.428571
0.785973
0
0
0.533333
0
0
0.184008
0
0
0
0
0
0
1
0
false
0.266667
0.066667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6e5c1cd9dc3d2bc7f783293c69b322d9d5cec5d2
575
py
Python
minotaur-manticore-maze/strings.py
smidem/minotaur-manticore-maze
0c08c83857b19be6cc6cae4b1f2acf5d485858a6
[ "MIT" ]
null
null
null
minotaur-manticore-maze/strings.py
smidem/minotaur-manticore-maze
0c08c83857b19be6cc6cae4b1f2acf5d485858a6
[ "MIT" ]
null
null
null
minotaur-manticore-maze/strings.py
smidem/minotaur-manticore-maze
0c08c83857b19be6cc6cae4b1f2acf5d485858a6
[ "MIT" ]
null
null
null
from textwrap import dedent class ItemStrings(): def __init__(self): self.compass_part_1 = dedent(""" As you begin to move, you foot collides with something solid, and it produces a clink sound. You bend down and spot the smallest glint of something metallic. You slow...
27.380952
76
0.612174
72
575
4.777778
0.736111
0.063953
0.087209
0
0
0
0
0
0
0
0
0.005115
0.32
575
20
77
28.75
0.87468
0
0
0
0
0
0.681739
0
0
0
0
0
0
0
null
null
0.307692
0.076923
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
6e5f7c8dfbc4ef8a74d642ef70fe6e90ed1ecd08
832
py
Python
10.3_base_recursion.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
10.3_base_recursion.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
10.3_base_recursion.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
def return_after_n_recursion_one(n): return_after_n_recursion_one(n-1) def return_after_n_recursion_two(n): if n < 3: # Base return: identify a condition after which you will start returning return 'Cap' return_after_n_recursion_two(n-1) def return_after_n_recursion(n): if n < 3: # Base retu...
28.689655
89
0.736779
124
832
4.612903
0.387097
0.173077
0.188811
0.33042
0.68007
0.48951
0.367133
0.276224
0.276224
0.276224
0
0.011994
0.198317
832
28
90
29.714286
0.845577
0.453125
0
0.307692
0
0
0.031461
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.461538
0.153846
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6e7d87188a8fb58aeacc06f69ce3d71bb911e31e
120
py
Python
materials/ch_03/data_string.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
materials/ch_03/data_string.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
materials/ch_03/data_string.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
x = 'Hello "Prayuth"' # Single-Quote y = "Good Bye! 'Prayuth'" # Double-Quote z = x + y print(x) print(y) print(z)
20
41
0.591667
20
120
3.55
0.55
0.169014
0
0
0
0
0
0
0
0
0
0
0.216667
120
6
42
20
0.755319
0.208333
0
0
0
0
0.365591
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6e8542a4c3e106283cc6e3f94fe7ac3fa35ec4d4
192
py
Python
tests/test_parks_rdd.py
AdarshArvind/Dataset-Analysis
bf8cac0a10c2694a343ba023ce88f1912abeb88f
[ "MIT" ]
null
null
null
tests/test_parks_rdd.py
AdarshArvind/Dataset-Analysis
bf8cac0a10c2694a343ba023ce88f1912abeb88f
[ "MIT" ]
null
null
null
tests/test_parks_rdd.py
AdarshArvind/Dataset-Analysis
bf8cac0a10c2694a343ba023ce88f1912abeb88f
[ "MIT" ]
null
null
null
import subprocess import sys sys.path.insert(0, './answers') from answer import parks_rdd def test_parks_rdd(): a = parks_rdd("./data/frenepublicinjection2016.csv") assert(a == 8976)
21.333333
56
0.729167
27
192
5.037037
0.703704
0.176471
0
0
0
0
0
0
0
0
0
0.054545
0.140625
192
8
57
24
0.769697
0
0
0
0
0
0.229167
0.182292
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ea7826a0e543687270a0f1d52266a4a32a18dd6
90
py
Python
vendor/apps.py
megatron0000/ces22-xadrez-web
10032f81952e1f816925f5af9c27f235dfbf360c
[ "MIT" ]
null
null
null
vendor/apps.py
megatron0000/ces22-xadrez-web
10032f81952e1f816925f5af9c27f235dfbf360c
[ "MIT" ]
8
2020-02-11T22:28:16.000Z
2021-06-10T20:16:42.000Z
vendor/apps.py
megatron0000/ces22-xadrez-web
10032f81952e1f816925f5af9c27f235dfbf360c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class VendorLibConfig(AppConfig): name = 'vendor'
15
33
0.755556
10
90
6.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
5
34
18
0.906667
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ec1e83c04adcaaca4e6089e1d092c2e20004414
52
py
Python
PyCharm/Aulas/Aula08c.py
gabrieldtc/CursoEmVideoPython
01a2540bb3754c1182837cef52bbf59541e6e845
[ "MIT" ]
null
null
null
PyCharm/Aulas/Aula08c.py
gabrieldtc/CursoEmVideoPython
01a2540bb3754c1182837cef52bbf59541e6e845
[ "MIT" ]
null
null
null
PyCharm/Aulas/Aula08c.py
gabrieldtc/CursoEmVideoPython
01a2540bb3754c1182837cef52bbf59541e6e845
[ "MIT" ]
null
null
null
import random num = random.randint(1,10) print(num)
13
26
0.75
9
52
4.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0.065217
0.115385
52
4
27
13
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ec395c40d6edc375612a3c01cd87784fdb0c6a9
485
py
Python
dlinputs/__init__.py
NVlabs/dlinputs
fbce290b7b8c5f3b00e9197c55a13b0a5a0f7953
[ "BSD-3-Clause" ]
38
2017-10-18T05:44:25.000Z
2021-06-20T02:14:13.000Z
dlinputs/__init__.py
NVlabs/dlinputs
fbce290b7b8c5f3b00e9197c55a13b0a5a0f7953
[ "BSD-3-Clause" ]
1
2017-12-07T20:14:18.000Z
2018-05-07T01:00:34.000Z
dlinputs/__init__.py
NVlabs/dlinputs
fbce290b7b8c5f3b00e9197c55a13b0a5a0f7953
[ "BSD-3-Clause" ]
10
2018-01-07T15:19:17.000Z
2020-12-01T20:42:37.000Z
# Copyright (c) 2017 NVIDIA CORPORATION. All rights reserved. # See the LICENSE file for licensing terms (BSD-style). from . import filters from . import gopen from . import improc from . import loadable from . import localimport from . import paths from . import sequence from . import sources from . import sqlitedb f...
24.25
61
0.779381
63
485
5.746032
0.539683
0.331492
0
0
0
0
0
0
0
0
0
0.009804
0.158763
485
19
62
25.526316
0.877451
0.23299
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.866667
0
0.866667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6ecb6dd884c91ab26e04868851738dfdd78741b2
956
py
Python
api/__init__.py
Elyorbek-Ibrokhimov/1x
e0f347275f76f868c317cc82c442d725e39f02a7
[ "MIT" ]
6
2020-10-20T15:49:55.000Z
2022-01-27T16:51:49.000Z
api/__init__.py
Elyorbek-Ibrokhimov/1x
e0f347275f76f868c317cc82c442d725e39f02a7
[ "MIT" ]
7
2019-02-23T08:35:32.000Z
2020-08-20T08:01:59.000Z
api/__init__.py
Elyorbek-Ibrokhimov/1x
e0f347275f76f868c317cc82c442d725e39f02a7
[ "MIT" ]
4
2018-12-17T16:06:44.000Z
2020-01-15T05:26:16.000Z
from flask import Flask def create_api(config): from api.basemodels import db from api.baseviews import generate_password_hash from api.baseviews import login_required # from api.telegram.bot import TelegramBot # from api.telegram.client import TelegramClient from flask import send_from_direc...
26.555556
61
0.687238
118
956
5.364407
0.398305
0.066351
0.07109
0.104265
0
0
0
0
0
0
0
0.001346
0.222803
956
35
62
27.314286
0.850606
0.26569
0
0
1
0
0.073487
0
0
0
0
0
0
1
0.111111
false
0.055556
0.444444
0.055556
0.666667
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
6ed29a5f2144c94eaf16f61e970c54fb76dc16ff
1,497
py
Python
models.py
rmr1012/possumTrack
a912c2df42281ebd72df300c9a32a57e1c740231
[ "Apache-2.0" ]
null
null
null
models.py
rmr1012/possumTrack
a912c2df42281ebd72df300c9a32a57e1c740231
[ "Apache-2.0" ]
null
null
null
models.py
rmr1012/possumTrack
a912c2df42281ebd72df300c9a32a57e1c740231
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class TelemetryTracker(models.Model): tempInternal=models.FloatField(null=True) humInternal=models.FloatField(null=True) tempCab=models.FloatField(null=True) humCab=models.FloatField(null=True) batteryV=models.FloatField(null=True) batter...
33.266667
71
0.781563
173
1,497
6.728324
0.265896
0.151203
0.257732
0.309278
0.408076
0.408076
0.408076
0.408076
0.408076
0.408076
0
0
0.110888
1,497
44
72
34.022727
0.87453
0.016032
0
0.28125
0
0
0
0
0
0
0
0
0
1
0
false
0
0.03125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6ee0e2e8809a2a313830c31f7ac61e7f5db6469f
121
py
Python
site/app/apps.py
StuartMacKay/django-valerie
8c22bab53a7d1d145698559f20973a4783a6eeb5
[ "BSD-3-Clause" ]
1
2021-02-05T05:46:45.000Z
2021-02-05T05:46:45.000Z
site/app/apps.py
StuartMacKay/django-valerie
8c22bab53a7d1d145698559f20973a4783a6eeb5
[ "BSD-3-Clause" ]
null
null
null
site/app/apps.py
StuartMacKay/django-valerie
8c22bab53a7d1d145698559f20973a4783a6eeb5
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig as BaseConfig class AppConfig(BaseConfig): name = "app" verbose_name = "App"
17.285714
47
0.719008
15
121
5.733333
0.733333
0.162791
0
0
0
0
0
0
0
0
0
0
0.198347
121
6
48
20.166667
0.886598
0
0
0
0
0
0.049587
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6ef094d6e18cdf63f82647ce532b503df04c43db
405
py
Python
flask_neo4j_lite/exceptions.py
JangasCodingplace/flask-neo4j-lite
bcbb1a11c406d36e5d51f9ee3f329e7e6755b16c
[ "MIT" ]
null
null
null
flask_neo4j_lite/exceptions.py
JangasCodingplace/flask-neo4j-lite
bcbb1a11c406d36e5d51f9ee3f329e7e6755b16c
[ "MIT" ]
null
null
null
flask_neo4j_lite/exceptions.py
JangasCodingplace/flask-neo4j-lite
bcbb1a11c406d36e5d51f9ee3f329e7e6755b16c
[ "MIT" ]
null
null
null
class FieldTypeError(Exception): """Value has wrong datatype""" pass class ToManyMatchesError(Exception): """Found multiple Nodes instead of one.""" pass class DoesNotExist(Exception): """Object Does not exist.""" pass class RelationshipMatchError(Exception): """Err with Relationships....
17.608696
46
0.683951
41
405
6.756098
0.707317
0.129964
0
0
0
0
0
0
0
0
0
0
0.197531
405
22
47
18.409091
0.852308
0.335802
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
true
0.444444
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
42c2f8dbb943c8437d42f5c7997e0cec0ba1ec1c
145
py
Python
api/proxies/utils.py
liobrdev/simpleproxies
84a0a301981efd5126e63e66b8de5d383658831d
[ "MIT" ]
null
null
null
api/proxies/utils.py
liobrdev/simpleproxies
84a0a301981efd5126e63e66b8de5d383658831d
[ "MIT" ]
null
null
null
api/proxies/utils.py
liobrdev/simpleproxies
84a0a301981efd5126e63e66b8de5d383658831d
[ "MIT" ]
null
null
null
from django.db.models.enums import TextChoices class ProxyCommands(TextChoices): GET_PROXIES = 'get_proxies' NO_COMMAND = 'no_command'
20.714286
46
0.765517
18
145
5.944444
0.722222
0.186916
0
0
0
0
0
0
0
0
0
0
0.151724
145
6
47
24.166667
0.869919
0
0
0
0
0
0.144828
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
42c8cc5f8aae9ca62823c26727485ffab003b444
2,724
py
Python
esp_sdk/apis/__init__.py
zimmermanc/esp-sdk-python
cdef13c0dc6c3996b6c444160c71b2f1e3910c97
[ "MIT" ]
6
2017-06-05T20:37:19.000Z
2019-04-10T08:43:59.000Z
esp_sdk/apis/__init__.py
zimmermanc/esp-sdk-python
cdef13c0dc6c3996b6c444160c71b2f1e3910c97
[ "MIT" ]
18
2016-06-22T16:14:33.000Z
2018-10-29T21:53:15.000Z
esp_sdk/apis/__init__.py
zimmermanc/esp-sdk-python
cdef13c0dc6c3996b6c444160c71b2f1e3910c97
[ "MIT" ]
18
2016-07-27T19:20:01.000Z
2020-11-17T02:09:58.000Z
from __future__ import absolute_import # import apis into api package from .api_keys_api import APIKeysApi from .alerts_api import AlertsApi from .attribution_api import AttributionApi from .audit_log_export_api import AuditLogExportApi from .audit_logs_api import AuditLogsApi from .azure_groups_api import AzureGroups...
49.527273
80
0.901982
314
2,724
7.490446
0.356688
0.195153
0.035714
0.045918
0.028061
0
0
0
0
0
0
0
0.078928
2,724
54
81
50.444444
0.937425
0.010279
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
42cf851956e7755118738a925a2bc0f31798ed48
155
py
Python
example_project/pipelines.py
rakanalh/django-youtuber
a50e4d4ee9057eed1744010648f44015998e6cd7
[ "MIT" ]
4
2016-02-15T20:29:23.000Z
2020-02-19T02:54:57.000Z
example_project/pipelines.py
rakanalh/django-youtuber
a50e4d4ee9057eed1744010648f44015998e6cd7
[ "MIT" ]
null
null
null
example_project/pipelines.py
rakanalh/django-youtuber
a50e4d4ee9057eed1744010648f44015998e6cd7
[ "MIT" ]
null
null
null
from youtuber.pipelines import BasePipeline class YoutubePipeline(BasePipeline): def process(self, youtube_source, video): print video.title
22.142857
45
0.767742
17
155
6.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.167742
155
6
46
25.833333
0.914729
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
42f6844bd9c7a57de7840dcb95a0a3053f789655
414
py
Python
main/messages/message_queue.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
main/messages/message_queue.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
main/messages/message_queue.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
# The MessageQueue class provides an interface to be implemented by classes that store messages. class MessageQueue(object): # add a single message to the queue def add(self, folder_id, folder_path, message_type, parameters=None, sender_controller_id=None, sender_user_id=None, timestamp=None): pass ...
37.636364
137
0.741546
60
414
5
0.7
0.066667
0
0
0
0
0
0
0
0
0
0
0.200483
414
10
138
41.4
0.906344
0.439614
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6e18a24b98e176754b66ae762dbe96135b5047b0
202
py
Python
nn_compressor/__init__.py
rahuldshetty/nn-compressor
e029690cc0945a059442f1ca90e5c72e06a2e02d
[ "MIT" ]
null
null
null
nn_compressor/__init__.py
rahuldshetty/nn-compressor
e029690cc0945a059442f1ca90e5c72e06a2e02d
[ "MIT" ]
null
null
null
nn_compressor/__init__.py
rahuldshetty/nn-compressor
e029690cc0945a059442f1ca90e5c72e06a2e02d
[ "MIT" ]
null
null
null
"""Top-level package for nn-compressor.""" __author__ = """Rahul D Shetty""" __email__ = '35rahuldshetty@gmail.com' __version__ = '0.1.0' from nn_compressor.nn_compressor import KerasImageCompressor
22.444444
60
0.757426
25
202
5.56
0.8
0.258993
0
0
0
0
0
0
0
0
0
0.027778
0.108911
202
8
61
25.25
0.744444
0.178218
0
0
0
0
0.27044
0.150943
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6e1b6070e3a896c25d573cfd675a9c47bc7969d2
89
py
Python
precise_runner/__init__.py
respeaker/mycroft_runner_simple
d317b95e90139586907327d6db51711aefdee9dd
[ "Apache-2.0" ]
2
2021-04-29T05:33:20.000Z
2022-02-28T22:31:03.000Z
precise_runner/__init__.py
AIWintermuteAI/mycroft_runner_simple
d317b95e90139586907327d6db51711aefdee9dd
[ "Apache-2.0" ]
null
null
null
precise_runner/__init__.py
AIWintermuteAI/mycroft_runner_simple
d317b95e90139586907327d6db51711aefdee9dd
[ "Apache-2.0" ]
1
2021-04-28T07:17:43.000Z
2021-04-28T07:17:43.000Z
from .runner import PreciseRunner, PreciseEngine, ReadWriteStream __version__ = '0.3.3'
22.25
65
0.797753
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0.037975
0.11236
89
3
66
29.666667
0.810127
0
0
0
0
0
0.05618
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6e3070de54f9f5ee2b272719307b8abcdfa3077f
183
py
Python
ManyBeautiful/ManyBeautifulMall/apps/carts/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
1
2018-10-27T06:12:42.000Z
2018-10-27T06:12:42.000Z
ManyBeautiful/ManyBeautifulMall/apps/carts/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
null
null
null
ManyBeautiful/ManyBeautifulMall/apps/carts/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url('^cart/$', views.CartView.as_view()), url('^cart/selection/$', views.CartSelectAllView.as_view()), ]
22.875
64
0.68306
23
183
5.347826
0.608696
0.113821
0
0
0
0
0
0
0
0
0
0
0.136612
183
7
65
26.142857
0.778481
0
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
282e069995bbbb42ba3ecf613bbe862e41401c07
69
py
Python
sugarcrm/enumerator.py
GearPlug/sugarcrm-python
cb57cbec44ac3f013a9bea7a722a32a47cf20123
[ "MIT" ]
12
2018-06-17T14:29:59.000Z
2022-02-09T14:38:54.000Z
sugarcrm/enumerator.py
GearPlug/sugarcrm-python
cb57cbec44ac3f013a9bea7a722a32a47cf20123
[ "MIT" ]
8
2018-11-13T15:41:28.000Z
2021-04-12T07:50:01.000Z
sugarcrm/enumerator.py
GearPlug/sugarcrm-python
cb57cbec44ac3f013a9bea7a722a32a47cf20123
[ "MIT" ]
11
2018-06-27T16:23:33.000Z
2022-01-05T09:51:26.000Z
from enum import Enum class ErrorEnum(Enum): InvalidLogin = 10
11.5
22
0.724638
9
69
5.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.037037
0.217391
69
5
23
13.8
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2834a7a6acf9291f56b9325754a2fb566d184864
169
py
Python
project/project/__init__.py
xns1997/CS340_Final
406874d748751470ec546deaf3dc307665c95487
[ "MIT" ]
null
null
null
project/project/__init__.py
xns1997/CS340_Final
406874d748751470ec546deaf3dc307665c95487
[ "MIT" ]
null
null
null
project/project/__init__.py
xns1997/CS340_Final
406874d748751470ec546deaf3dc307665c95487
[ "MIT" ]
null
null
null
# import pymysql # pymysql.install_as_MySQLdb() from django.db import connection data = connection.cursor().execute("SELECT * FROM cs340_xuna.villagers") print(data)
18.777778
72
0.775148
22
169
5.818182
0.772727
0
0
0
0
0
0
0
0
0
0
0.02
0.112426
169
9
73
18.777778
0.833333
0.254438
0
0
0
0
0.274194
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
284307923cc40e499cf46e5a2dfd833ec6c48530
1,750
py
Python
exam/models.py
ayuba-hub/eExams
5c9920cf55b9cb258c7c732bffceb10e5e9188b5
[ "MIT" ]
null
null
null
exam/models.py
ayuba-hub/eExams
5c9920cf55b9cb258c7c732bffceb10e5e9188b5
[ "MIT" ]
null
null
null
exam/models.py
ayuba-hub/eExams
5c9920cf55b9cb258c7c732bffceb10e5e9188b5
[ "MIT" ]
null
null
null
from django.db import models from accounts.models import StudentProfile from django.utils import timezone class Course(models.Model): time_in_munites = models.IntegerField(default=0) course_code = models.CharField(max_length=200,default='') course_name = models.CharField(max_length=50) question_number...
34.313725
97
0.744571
212
1,750
5.948113
0.316038
0.078509
0.128469
0.171293
0.385408
0.201427
0.151467
0.117367
0.117367
0.117367
0
0.030383
0.134857
1,750
50
98
35
0.80251
0
0
0.157895
0
0
0.080618
0.014866
0
0
0
0
0
1
0.105263
false
0
0.078947
0.105263
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
2855371fba5090f7ae3f71714a2ed650e1a6fde5
1,343
py
Python
csvio/processors/processor_base.py
s-raza/csvio
3e1a3bf2024942d3299c98ead8431a2f211ed200
[ "MIT" ]
1
2021-10-02T17:48:16.000Z
2021-10-02T17:48:16.000Z
csvio/processors/processor_base.py
s-raza/csvio
3e1a3bf2024942d3299c98ead8431a2f211ed200
[ "MIT" ]
2
2021-10-02T17:52:13.000Z
2021-10-02T18:06:34.000Z
csvio/processors/processor_base.py
s-raza/csvio
3e1a3bf2024942d3299c98ead8431a2f211ed200
[ "MIT" ]
null
null
null
from __future__ import annotations from abc import ABC, abstractmethod from typing import Any, Dict, Type, Union from ..utils.types import RS, R class ProcessorBase(ABC): """ Processor Base Class """ processors: Dict[str, Any] = {} def __init__(self, handle: str) -> None: self.handle:...
27.408163
78
0.647059
167
1,343
5.083832
0.407186
0.141343
0.03298
0.040047
0
0
0
0
0
0
0
0
0.277736
1,343
48
79
27.979167
0.875258
0.370067
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.210526
false
0.105263
0.210526
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
28923617e7ed1f0d9c567979637d9fc58254bbca
169
py
Python
user.py
Valentina1502/LAB_3
9db239eef348833a616ce679a6c48a5f4ee989bb
[ "MIT" ]
null
null
null
user.py
Valentina1502/LAB_3
9db239eef348833a616ce679a6c48a5f4ee989bb
[ "MIT" ]
null
null
null
user.py
Valentina1502/LAB_3
9db239eef348833a616ce679a6c48a5f4ee989bb
[ "MIT" ]
null
null
null
YN = input("Введите имя: ") YA = input("Введите возраст: ") fr = input("Укажите город: ") print("Вас зовут {0}. Полных лет: {1}. Живете в городе {2}.".format(YN,YA,fr))
42.25
79
0.633136
27
169
3.962963
0.777778
0.224299
0
0
0
0
0
0
0
0
0
0.020833
0.147929
169
4
79
42.25
0.722222
0
0
0
0
0
0.576471
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
3
953b52d4f74bb7148de588d7fbee78c6fac3819b
4,940
py
Python
ihome/ihome/apps/users/views.py
woobrain/ihome
fbc7230fe6d445b2a258c49c48297258ae702bb3
[ "MIT" ]
null
null
null
ihome/ihome/apps/users/views.py
woobrain/ihome
fbc7230fe6d445b2a258c49c48297258ae702bb3
[ "MIT" ]
6
2021-04-30T21:32:43.000Z
2022-03-12T00:50:32.000Z
ihome/ihome/apps/users/views.py
woobrain/ihome
fbc7230fe6d445b2a258c49c48297258ae702bb3
[ "MIT" ]
null
null
null
import json import logging import re from django.conf import settings from django.contrib.auth import login, logout, authenticate from django.utils.decorators import method_decorator from django.views import View from django import http from django_redis import get_redis_connection from pymysql import DatabaseError f...
28.068182
96
0.582186
539
4,940
5.254174
0.319109
0.060028
0.132062
0.162076
0.414195
0.326271
0.30791
0.254237
0.231638
0.137712
0
0.01577
0.281174
4,940
176
97
28.068182
0.781752
0.113765
0
0.301075
0
0
0.105843
0
0
0
0
0.011364
0
1
0.064516
false
0.107527
0.150538
0
0.462366
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
957ce8eb2c96f224b2bf4f1ed74f633525dc0c9d
295
py
Python
tools/demo/test11.py
qq1243196045/YONO
6f2936918b9099a8f415f1b9e39ef1894e984346
[ "Apache-2.0" ]
null
null
null
tools/demo/test11.py
qq1243196045/YONO
6f2936918b9099a8f415f1b9e39ef1894e984346
[ "Apache-2.0" ]
null
null
null
tools/demo/test11.py
qq1243196045/YONO
6f2936918b9099a8f415f1b9e39ef1894e984346
[ "Apache-2.0" ]
null
null
null
import torch import numpy as np w = torch.Tensor([[ 0.0166, 0.0307, -0.0281, -0.0127, -0.0250, -0.0142, -0.0234, -0.0096, 0.0110, -0.0223, -0.0260, -0.0306, 0.0036, -0.0174, 0.0126, -0.0127, 0.0140, -0.0183, 0.0008, 0.0196, 0.0240]]) aw = torch.softmax(w,1) print(aw)
32.777778
90
0.562712
58
295
2.862069
0.551724
0.060241
0.072289
0
0
0
0
0
0
0
0
0.452991
0.20678
295
8
91
36.875
0.25641
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
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
3
9589c115dba5c8cf2b0ed3b010cd857549c14814
136
py
Python
CodeChef/problems/SMOL/main.py
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
1
2022-02-21T15:43:01.000Z
2022-02-21T15:43:01.000Z
CodeChef/problems/SMOL/main.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
CodeChef/problems/SMOL/main.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
tc = int(input()) while tc: tc -= 1 n, k = map(int, input().split()) if k > 0: print(n%k) else: print(n)
17
36
0.433824
22
136
2.681818
0.590909
0.271186
0
0
0
0
0
0
0
0
0
0.023529
0.375
136
8
37
17
0.670588
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
95c7913eb1bb2f2405bf9e9ef13dedbb0f9ac962
545
py
Python
tests/schemes/gs_test.py
allenai/cached_path
f89e348e76913183d2bf90cc70db8ca87f4227e2
[ "Apache-2.0" ]
11
2021-09-10T19:25:40.000Z
2022-01-13T07:44:59.000Z
tests/schemes/gs_test.py
allenai/cached_path
f89e348e76913183d2bf90cc70db8ca87f4227e2
[ "Apache-2.0" ]
31
2021-09-09T17:05:56.000Z
2022-03-25T16:10:15.000Z
tests/schemes/gs_test.py
allenai/cached_path
f89e348e76913183d2bf90cc70db8ca87f4227e2
[ "Apache-2.0" ]
2
2021-09-10T19:22:25.000Z
2021-09-15T02:28:04.000Z
import pytest from cached_path.schemes.gs import GsClient def test_split_gcs_path(): # Test splitting good urls. assert GsClient.split_gcs_path("gs://my-bucket/subdir/file.txt") == ( "my-bucket", "subdir/file.txt", ) assert GsClient.split_gcs_path("gs://my-bucket/file.txt") == ("my-bu...
28.684211
90
0.658716
74
545
4.662162
0.351351
0.13913
0.208696
0.289855
0.434783
0.208696
0.208696
0.208696
0
0
0
0
0.188991
545
18
91
30.277778
0.780543
0.091743
0
0
0
0
0.252033
0.107724
0
0
0
0
0.166667
1
0.083333
true
0
0.166667
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
95c83e17ec15499a87c61d74134188f74b390b3d
2,370
py
Python
mathparser/classes.py
vladimirdabic/Python-Math-Parser
14eec59e8a39f85ea00d00ab422cf7377b7927de
[ "MIT" ]
null
null
null
mathparser/classes.py
vladimirdabic/Python-Math-Parser
14eec59e8a39f85ea00d00ab422cf7377b7927de
[ "MIT" ]
null
null
null
mathparser/classes.py
vladimirdabic/Python-Math-Parser
14eec59e8a39f85ea00d00ab422cf7377b7927de
[ "MIT" ]
null
null
null
class Token: def __init__(self, t_type, lexeme, literal, line): self.type = t_type self.lexeme = lexeme self.literal = literal self.line = line def __repr__(self): return f"Token(type: {self.type}, lexeme: {self.lexeme}, literal: {self.literal}, line: {self.line})" c...
21.351351
109
0.589451
297
2,370
4.454545
0.144781
0.128496
0.07483
0.115646
0.505669
0.368103
0.21542
0.123961
0.092215
0.092215
0
0
0.282278
2,370
111
110
21.351351
0.777778
0
0
0.37037
0
0.012346
0.138877
0.028704
0
0
0
0
0
1
0.320988
false
0.012346
0
0.209877
0.654321
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
25215bbd50eb41768831dacf9ac7f9c2008474e2
452
py
Python
finntk/lemmatize_en.py
frankier/finntk
d2fb4e2e4c5c73eadbe5064b46d776c4e3a2ba27
[ "Apache-2.0" ]
4
2018-05-30T11:18:22.000Z
2019-05-07T07:22:28.000Z
finntk/lemmatize_en.py
frankier/finntk
d2fb4e2e4c5c73eadbe5064b46d776c4e3a2ba27
[ "Apache-2.0" ]
2
2019-02-19T11:42:09.000Z
2019-06-12T12:53:59.000Z
finntk/lemmatize_en.py
frankier/finntk
d2fb4e2e4c5c73eadbe5064b46d776c4e3a2ba27
[ "Apache-2.0" ]
null
null
null
def conceptnet5_lemmatize_en(tokens): from finntk.conceptnet5 import conceptnet_wiktionary from conceptnet5.language.lemmatize import lemmatize conceptnet_wiktionary.bootstrap() return (lemmatize("en", token)[0] for token in tokens) def metanl_lemmatize_en(tokens): from finntk.vendor.metanl.nltk_...
28.25
61
0.783186
59
452
5.711864
0.423729
0.163205
0.10089
0.124629
0.160237
0
0
0
0
0
0
0.010336
0.143805
452
15
62
30.133333
0.860465
0
0
0
0
0
0.004425
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
25287992ddadc890cf57161dd8ca7ba098d1d8e2
236
py
Python
tps/__init__.py
dmzubr/sova-tts-tps
a2187cc975978739f1f37e11e5017537942c9c5b
[ "Apache-2.0" ]
null
null
null
tps/__init__.py
dmzubr/sova-tts-tps
a2187cc975978739f1f37e11e5017537942c9c5b
[ "Apache-2.0" ]
null
null
null
tps/__init__.py
dmzubr/sova-tts-tps
a2187cc975978739f1f37e11e5017537942c9c5b
[ "Apache-2.0" ]
null
null
null
import nltk try: nltk.data.find("tokenizers/punkt") except LookupError: nltk.download("punkt") from tps.handler import Handler, get_symbols_length from tps.utils import cleaners, load_dict, save_dict, prob2bool, split_to_tokens
29.5
80
0.792373
34
236
5.323529
0.735294
0.077348
0
0
0
0
0
0
0
0
0
0.004808
0.118644
236
8
80
29.5
0.865385
0
0
0
0
0
0.088608
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
0
0
0
3
252bfbc40ec359fe961de3b80c832f62067ae904
1,163
py
Python
src/smart_meter/buildtools/components/common_components.py
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
2
2018-12-06T17:56:27.000Z
2019-03-13T02:44:46.000Z
src/smart_meter/buildtools/components/common_components.py
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
13
2017-01-12T12:19:05.000Z
2017-05-30T10:43:17.000Z
src/smart_meter/buildtools/components/common_components.py
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
5
2016-09-22T18:22:34.000Z
2020-05-06T00:05:14.000Z
import os import sys sys.path.append("../") from components import addComponent, Component # Add components in order of dependency. addComponent(Component(name="jsoncpp", srcDir=os.environ["SOURCE_DIR"]+"/../3rd_party/jsoncpp")) addComponent(Component(name="Logger", runTestsCmd="./LoggerTest")) addComponent( Compo...
34.205882
96
0.770421
106
1,163
8.424528
0.424528
0.329227
0.363942
0.047032
0.143337
0
0
0
0
0
0
0.000923
0.068788
1,163
33
97
35.242424
0.823638
0.032674
0
0
0
0
0.299465
0.059715
0
0
0
0
0
1
0
true
0
0.176471
0
0.176471
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
25594f6148cc78a6387a681c2ade1a3bae37eaff
262
wsgi
Python
gpu_attack.github.io/CollectData/flaskapp.wsgi
Suuuuuzy/php-proxy-app
449621731680b58729f8ad72051247137510cb44
[ "MIT" ]
2
2019-09-04T05:07:36.000Z
2019-09-11T15:33:16.000Z
gpu_attack.github.io/CollectData/flaskapp.wsgi
Suuuuuzy/php-proxy-app
449621731680b58729f8ad72051247137510cb44
[ "MIT" ]
null
null
null
gpu_attack.github.io/CollectData/flaskapp.wsgi
Suuuuuzy/php-proxy-app
449621731680b58729f8ad72051247137510cb44
[ "MIT" ]
1
2019-11-19T01:21:40.000Z
2019-11-19T01:21:40.000Z
#!/usr/bin/python import sys import logging logging.basicConfig(stream=sys.stderr) sys.path.insert(0,"/home/ubuntu/Sites/php-proxy-app/gpu_attack.github.io/CollectData") from CollectData import app as application application.secret_key = 'Add your secret key'
29.111111
87
0.801527
40
262
5.2
0.75
0.086538
0
0
0
0
0
0
0
0
0
0.004149
0.080153
262
8
88
32.75
0.858921
0.061069
0
0
0
0
0.342857
0.265306
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
3
2566eacf7cf33ce804367c2af01b1b93326d2205
358
py
Python
aliyun/api/rest/Cdn20141111RefreshObjectCachesRequest.py
francisar/rds_manager
458298669bf7d1990a85648b466b88f905256690
[ "MIT" ]
14
2015-11-30T02:35:18.000Z
2019-05-14T11:49:24.000Z
aliyun/api/rest/Cdn20141111RefreshObjectCachesRequest.py
francisar/rds_manager
458298669bf7d1990a85648b466b88f905256690
[ "MIT" ]
2
2015-11-30T02:51:40.000Z
2017-03-16T01:51:45.000Z
aliyun/api/rest/Cdn20141111RefreshObjectCachesRequest.py
francisar/rds_manager
458298669bf7d1990a85648b466b88f905256690
[ "MIT" ]
12
2016-01-04T06:48:17.000Z
2020-11-07T14:08:25.000Z
''' Created by auto_sdk on 2015.06.23 ''' from aliyun.api.base import RestApi class Cdn20141111RefreshObjectCachesRequest(RestApi): def __init__(self,domain='cdn.aliyuncs.com',port=80): RestApi.__init__(self,domain, port) self.ObjectPath = None self.ObjectType = None def getapiname(self): return 'cdn.aliyunc...
27.538462
58
0.77095
48
358
5.5625
0.6875
0.059925
0.104869
0
0
0
0
0
0
0
0
0.08125
0.106145
358
12
59
29.833333
0.753125
0.092179
0
0
0
0
0.198738
0.148265
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
256caceb552602093e83e9bcb4e3446900247027
21
py
Python
prettyfigure/__init__.py
lue/prettyfigure
17f9ca71cd4712ebabfd54f67c9db2dd0fc64434
[ "MIT" ]
2
2020-12-28T08:21:54.000Z
2021-04-21T15:12:26.000Z
prettyfigure/__init__.py
lue/prettyfigure
17f9ca71cd4712ebabfd54f67c9db2dd0fc64434
[ "MIT" ]
null
null
null
prettyfigure/__init__.py
lue/prettyfigure
17f9ca71cd4712ebabfd54f67c9db2dd0fc64434
[ "MIT" ]
1
2020-11-18T13:48:27.000Z
2020-11-18T13:48:27.000Z
__author__ = 'sasha'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c28b13d2d824b002ccd4d1053cd2b7ae1c3d7d81
63
py
Python
frappe/__version__.py
indictranstech/osmosis-frappe
6c53f8dafe84ac29d3397ceb3ec165627dcccac1
[ "MIT" ]
null
null
null
frappe/__version__.py
indictranstech/osmosis-frappe
6c53f8dafe84ac29d3397ceb3ec165627dcccac1
[ "MIT" ]
null
null
null
frappe/__version__.py
indictranstech/osmosis-frappe
6c53f8dafe84ac29d3397ceb3ec165627dcccac1
[ "MIT" ]
3
2016-01-19T10:59:53.000Z
2018-03-21T16:26:43.000Z
from __future__ import unicode_literals __version__ = "6.27.4"
21
39
0.809524
9
63
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.111111
63
2
40
31.5
0.678571
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c29551d8c8727a16e4abd342b1762cd4bc28524b
1,300
py
Python
app/models.py
Evohmike/Personal-Blog
0c27e72044686b872fe729d63ddda4f2844dfa83
[ "MIT" ]
null
null
null
app/models.py
Evohmike/Personal-Blog
0c27e72044686b872fe729d63ddda4f2844dfa83
[ "MIT" ]
null
null
null
app/models.py
Evohmike/Personal-Blog
0c27e72044686b872fe729d63ddda4f2844dfa83
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from . import login_manager class User(db.Model,UserMixin): __tablename__ = 'users' id = db.Column(db.Integer,primary_key = True) username = db.Column(db.String(255)) email = db....
26
73
0.696154
180
1,300
4.844444
0.383333
0.110092
0.137615
0.12844
0.204128
0.075688
0.075688
0.075688
0
0
0
0.014205
0.187692
1,300
49
74
26.530612
0.811553
0.043846
0
0.064516
1
0
0.05093
0
0
0
0
0
0
1
0.16129
false
0.290323
0.129032
0.096774
0.83871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
c2b29ce84687f0ee3bb1498067869a4eb36faec1
8,975
py
Python
nc3e/core/models.py
MarqQ/nc3admin
0bc1d0409196ff66719311dff12e992a4b327502
[ "MIT" ]
null
null
null
nc3e/core/models.py
MarqQ/nc3admin
0bc1d0409196ff66719311dff12e992a4b327502
[ "MIT" ]
null
null
null
nc3e/core/models.py
MarqQ/nc3admin
0bc1d0409196ff66719311dff12e992a4b327502
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.contrib.auth.models import AbstractUser, BaseUserManager # Create your models here. class MyAccountManager(BaseUserManager): def create_user(self, first_name, last_name, email, cpf, cnpj, data_nascimento, telefone, cep, estado, ...
30.11745
114
0.683565
1,112
8,975
5.313849
0.138489
0.112709
0.21628
0.288374
0.707903
0.64021
0.582332
0.54747
0.511085
0.486715
0
0.027554
0.211476
8,975
297
115
30.218855
0.807404
0.112089
0
0.45098
0
0
0.032226
0
0
0
0
0
0
1
0.088235
false
0.019608
0.014706
0.078431
0.77451
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c2cba0d2eda67ffb071c642a2607831a1aca24a6
105
py
Python
frarch/utils/stages.py
vbadenas/frarch
3ce8cfad90b09153cbd22dee975731cae13e3ba7
[ "Apache-2.0" ]
1
2021-12-21T11:00:28.000Z
2021-12-21T11:00:28.000Z
frarch/utils/stages.py
vbadenas/frarch
3ce8cfad90b09153cbd22dee975731cae13e3ba7
[ "Apache-2.0" ]
5
2021-11-23T11:08:28.000Z
2021-12-21T14:02:14.000Z
frarch/utils/stages.py
vbadenas/frarch
3ce8cfad90b09153cbd22dee975731cae13e3ba7
[ "Apache-2.0" ]
null
null
null
from enum import Enum, auto class Stage(Enum): TRAIN = auto() VALID = auto() TEST = auto()
13.125
27
0.590476
14
105
4.428571
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.285714
105
7
28
15
0.826667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c2cf13bed52de6e2a1eaf19e114e25031e57a395
562
py
Python
tools/format.py
SwarmUS/SwarmUS-ROS
7de5de963f2abf7869bddadda222a36242d14ac2
[ "MIT" ]
2
2020-07-26T01:27:06.000Z
2021-05-31T04:15:12.000Z
tools/format.py
SwarmUS/SwarmUS-ROS
7de5de963f2abf7869bddadda222a36242d14ac2
[ "MIT" ]
6
2020-07-20T20:39:26.000Z
2021-03-15T15:53:32.000Z
tools/format.py
SwarmUS/SwarmUS-ROS
7de5de963f2abf7869bddadda222a36242d14ac2
[ "MIT" ]
null
null
null
################################################################################ # Executes clang-format and edits the files which don't comply to the coding # standards. # # Run this before pushing to make sure the build passes. # # This script should be run from the root of the catkin workspace ##################...
40.142857
103
0.544484
65
562
4.584615
0.692308
0.110738
0.09396
0.14094
0.181208
0.181208
0
0
0
0
0
0
0.113879
562
14
103
40.142857
0.598394
0.370107
0
0
0
0
0.255319
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
c2f612953fba8e934cef2145bb779e1e0d38a05b
54
py
Python
src/tfg_webapp/settings/__init__.py
franloza/TFG_Webapp
64bbec0276c92ad625b2f6aa8d8306f60a668b64
[ "MIT" ]
null
null
null
src/tfg_webapp/settings/__init__.py
franloza/TFG_Webapp
64bbec0276c92ad625b2f6aa8d8306f60a668b64
[ "MIT" ]
6
2020-02-12T03:22:33.000Z
2021-12-13T20:35:08.000Z
src/tfg_webapp/settings/__init__.py
franloza/TFG_Webapp
64bbec0276c92ad625b2f6aa8d8306f60a668b64
[ "MIT" ]
null
null
null
default_app_config = "tfg_webapp.apps.TFGWebAppConfig"
54
54
0.87037
7
54
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.037037
54
1
54
54
0.846154
0
0
0
0
0
0.563636
0.563636
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6c014194f4cf0b6bf25de060c4176d5576839c0e
647
py
Python
icekit/plugins/brightcove/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
52
2016-09-13T03:50:58.000Z
2022-02-23T16:25:08.000Z
icekit/plugins/brightcove/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
304
2016-08-11T14:17:30.000Z
2020-07-22T13:35:18.000Z
icekit/plugins/brightcove/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
12
2016-09-21T18:46:35.000Z
2021-02-15T19:37:50.000Z
from django.db import models from . import abstract_models class BrightcoveItem(abstract_models.AbstractBrightcoveItem): """ Media from brightcove. Brightcove is a video editing and management product which can be found at http://brightcove.com/. They have in built APIs and players. The Bri...
28.130435
101
0.74034
90
647
5.244444
0.7
0.059322
0.105932
0.127119
0
0
0
0
0
0
0
0.003868
0.200927
647
22
102
29.409091
0.909091
0.48068
0
0
0
0
0.111486
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
6c036f16e3f711ee6e9363119d6b7ea29671c2e5
1,018
py
Python
stage/configuration/test_dev_data_generator_origin.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_dev_data_generator_origin.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
1
2019-04-24T11:06:38.000Z
2019-04-24T11:06:38.000Z
stage/configuration/test_dev_data_generator_origin.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
2
2019-05-24T06:34:37.000Z
2020-03-30T11:48:18.000Z
import pytest from streamsets.testframework.decorators import stub @stub def test_batch_size(sdc_builder, sdc_executor): pass @stub def test_delay_between_batches(sdc_builder, sdc_executor): pass @stub def test_event_name(sdc_builder, sdc_executor): pass @stub def test_fields_to_generate(sdc_builde...
20.77551
107
0.701375
130
1,018
5.076923
0.323077
0.084848
0.157576
0.254545
0.55303
0.55303
0.521212
0.272727
0
0
0
0
0.198428
1,018
48
108
21.208333
0.808824
0
0
0.533333
0
0
0.143559
0
0
0
0
0
0
1
0.266667
false
0.266667
0.066667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
6c2ecf943bd94326afdbbc2318c18fc4a92aba54
433
py
Python
netbox_bgp/migrations/0013_netbox_bgp.py
liquid-metal/netbox-bgp
cdca172527370bc05603962384618feebfd09b8e
[ "Apache-2.0" ]
79
2021-04-07T14:14:54.000Z
2022-03-22T10:42:15.000Z
netbox_bgp/migrations/0013_netbox_bgp.py
liquid-metal/netbox-bgp
cdca172527370bc05603962384618feebfd09b8e
[ "Apache-2.0" ]
65
2021-04-14T09:29:00.000Z
2022-03-05T23:18:58.000Z
netbox_bgp/migrations/0013_netbox_bgp.py
liquid-metal/netbox-bgp
cdca172527370bc05603962384618feebfd09b8e
[ "Apache-2.0" ]
17
2021-04-14T09:29:23.000Z
2022-03-16T18:58:28.000Z
# Generated by Django 3.2 on 2021-04-27 13:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('netbox_bgp', '0012_netbox_bgp'), ] operations = [ migrations.RemoveField( model_name='bgppeergroup', name='slug', ), ...
19.681818
45
0.56351
41
433
5.829268
0.682927
0.075314
0.217573
0.251046
0
0
0
0
0
0
0
0.061644
0.325635
433
21
46
20.619048
0.756849
0.099307
0
0.4
1
0
0.149485
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6c373b1a6f33af269a25bbda6b2b67a016ef1cb9
2,864
py
Python
PyRuSH/PyRuSHSentencizer.py
jianlins/PyRuSH
50ace06eb88ba356b1dc84c567b1a3fd61f18a19
[ "MIT" ]
7
2018-02-01T16:22:28.000Z
2021-05-24T11:09:52.000Z
PyRuSH/PyRuSHSentencizer.py
medspacy/PyRuSH
50ace06eb88ba356b1dc84c567b1a3fd61f18a19
[ "MIT" ]
1
2021-06-07T06:06:41.000Z
2021-06-07T06:06:41.000Z
PyRuSH/PyRuSHSentencizer.py
jianlins/PyRuSH
50ace06eb88ba356b1dc84c567b1a3fd61f18a19
[ "MIT" ]
5
2018-01-25T20:29:37.000Z
2022-02-26T22:24:14.000Z
# ****************************************************************************** # MIT License # # Copyright (c) 2020 Jianlin Shi # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without r...
46.95082
129
0.670042
384
2,864
4.903646
0.481771
0.046734
0.023367
0.015932
0.023367
0
0
0
0
0
0
0.00266
0.212291
2,864
60
130
47.733333
0.832004
0.642458
0
0
0
0
0
0
0
0
0
0.016667
0
1
0.263158
false
0
0.157895
0.052632
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
6c61f2b9dcc499e5342e1a17e7ad9b91c82eb702
504
py
Python
retro/models.py
WSMathias/Retro360-API
995470c0ac196520c42048be593100970f6eaf61
[ "MIT" ]
null
null
null
retro/models.py
WSMathias/Retro360-API
995470c0ac196520c42048be593100970f6eaf61
[ "MIT" ]
null
null
null
retro/models.py
WSMathias/Retro360-API
995470c0ac196520c42048be593100970f6eaf61
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django.http import HttpResponseRedirect # class RetroUser(models.Model): # user = models.OneToOneField(User,on_delete=models.CASCADE,default='0') # user_type = models.CharField(max_length= 5,default='u...
33.6
76
0.720238
63
504
5.619048
0.587302
0.112994
0
0
0
0
0
0
0
0
0
0.004717
0.15873
504
14
77
36
0.830189
0.65873
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6c75ce5c112c853977ffbdec3b1bcd88937e815a
320
py
Python
src/products/permissions.py
dinhnhobao/NUSBuy
87af7b44f174463e878d543ec8e30634026e0324
[ "MIT" ]
null
null
null
src/products/permissions.py
dinhnhobao/NUSBuy
87af7b44f174463e878d543ec8e30634026e0324
[ "MIT" ]
16
2019-07-15T09:43:24.000Z
2022-03-11T23:53:53.000Z
src/products/permissions.py
dinhnhobao/NUSBuy
87af7b44f174463e878d543ec8e30634026e0324
[ "MIT" ]
1
2021-01-19T09:37:55.000Z
2021-01-19T09:37:55.000Z
from rest_framework.permissions import BasePermission class IsOwnerOrReadOnly(BasePermission): message = "You must be the onwer of this listing to execute this action." #403 forbidden def has_object_permission(self, request, view, obj): return obj.author == request.user #author: Product instance.author
53.333333
92
0.775
41
320
5.97561
0.853659
0
0
0
0
0
0
0
0
0
0
0.011111
0.15625
320
6
93
53.333333
0.896296
0.1375
0
0
0
0
0.221818
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
6663d3ff975b1e767ba669966fa9fa40110f33aa
258
py
Python
latex2minizinc/GenIndexingExpression.py
rafaellc28/Latex2MiniZinc
5c255a712156b915469329a07d13f1e984cbd247
[ "MIT" ]
null
null
null
latex2minizinc/GenIndexingExpression.py
rafaellc28/Latex2MiniZinc
5c255a712156b915469329a07d13f1e984cbd247
[ "MIT" ]
null
null
null
latex2minizinc/GenIndexingExpression.py
rafaellc28/Latex2MiniZinc
5c255a712156b915469329a07d13f1e984cbd247
[ "MIT" ]
null
null
null
from GenObj import * class GenIndexingExpression(GenObj): def __init__(self, name, value): super(GenIndexingExpression, self).__init__(name) self.value = value def getValue(self): return self.value def setValue(self, value): self.value = value
19.846154
51
0.744186
32
258
5.75
0.4375
0.195652
0.152174
0
0
0
0
0
0
0
0
0
0.151163
258
12
52
21.5
0.840183
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
668211382dd207e0a7c7091d302b3cac7e71e376
434
py
Python
core/usecases/create_character_usecase.py
jklemm/py-dnd
9f20a0e4f484297e80170cb529c0af8da0cf1032
[ "MIT" ]
9
2015-04-16T20:13:20.000Z
2021-11-29T18:56:16.000Z
core/usecases/create_character_usecase.py
jklemm/py-dnd
9f20a0e4f484297e80170cb529c0af8da0cf1032
[ "MIT" ]
1
2015-04-16T20:12:43.000Z
2015-04-18T12:25:48.000Z
core/usecases/create_character_usecase.py
jklemm/py-dnd
9f20a0e4f484297e80170cb529c0af8da0cf1032
[ "MIT" ]
2
2021-11-27T23:49:52.000Z
2021-11-29T18:56:19.000Z
#!/usr/bin/python from core.entities.default_race_entity import DefaultRaceEntity class CreateCharacterUsecase(): def __init__(self, character_gateway, race_entity=None): self.character_gateway = character_gateway self.race_entity = race_entity or DefaultRaceEntity() def execute(self): ...
31
63
0.762673
50
434
6.28
0.46
0.191083
0.254777
0.152866
0.191083
0
0
0
0
0
0
0
0.16129
434
13
64
33.384615
0.862637
0.036866
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
669ba124f616dfdce47435237eb65bbb3df42e59
717
py
Python
mitmirror/presenters/helpers/http_models.py
Claayton/mitmirror-api
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
[ "MIT" ]
null
null
null
mitmirror/presenters/helpers/http_models.py
Claayton/mitmirror-api
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
[ "MIT" ]
1
2021-10-09T20:42:03.000Z
2021-10-09T20:42:03.000Z
mitmirror/presenters/helpers/http_models.py
Claayton/mitmirror-api
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
[ "MIT" ]
null
null
null
"""Arquivo para Http Models""" from typing import Dict class HttpRequest: """Representaçao de requisicoes""" def __init__( self, headers: Dict = None, body: Dict = None, query: Dict = None ) -> None: self.headers = headers self.body = body self.query = query def __rep...
25.607143
92
0.634589
86
717
5.046512
0.325581
0.115207
0.096774
0.078341
0.082949
0
0
0
0
0
0
0
0.239888
717
27
93
26.555556
0.79633
0.111576
0
0.25
0
0
0.220612
0.090177
0
0
0
0
0
1
0.25
false
0
0.0625
0.125
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
669c3397ac5622c60af162391fbe1f37d8bfff62
82
py
Python
death/trashcan/testa.py
Fuchai/mayoehr
ec79d2157bedf4f4f0fc783d86523df8a758e27c
[ "MIT" ]
null
null
null
death/trashcan/testa.py
Fuchai/mayoehr
ec79d2157bedf4f4f0fc783d86523df8a758e27c
[ "MIT" ]
null
null
null
death/trashcan/testa.py
Fuchai/mayoehr
ec79d2157bedf4f4f0fc783d86523df8a758e27c
[ "MIT" ]
null
null
null
from death.DNC.trashcan.testb import * print(param) param=1293 print(param) pp()
11.714286
38
0.756098
13
82
4.769231
0.769231
0.322581
0
0
0
0
0
0
0
0
0
0.054795
0.109756
82
7
39
11.714286
0.794521
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66a261ae6e18c6901805cd672d46b574fc2877c2
8,627
py
Python
test/test_ecc.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
139
2020-10-26T00:43:15.000Z
2022-03-28T20:00:46.000Z
test/test_ecc.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
6
2021-06-21T05:59:04.000Z
2022-02-17T22:50:42.000Z
test/test_ecc.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
22
2021-07-01T08:42:54.000Z
2022-03-20T20:27:18.000Z
import os import sys from random import getrandbits from random import randint from unittest import TestCase from sage.all import EllipticCurve from sage.all import GF path = os.path.dirname(os.path.dirname(os.path.realpath(os.path.abspath(__file__)))) if sys.path[1] != path: sys.path.insert(1, path) from attack...
35.212245
109
0.613075
971
8,627
5.313079
0.177137
0.062028
0.045358
0.039543
0.685986
0.653809
0.648381
0.644311
0.636364
0.636364
0
0.391744
0.289556
8,627
244
110
35.356557
0.449992
0.029095
0
0.590476
0
0
0.000717
0
0
0
0
0
0.147619
1
0.042857
false
0
0.061905
0
0.147619
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66ac53d4205cd290e79dbf28054359e1af2420a0
236
py
Python
pairlist.py
futurityab/TS3000_TheChatBOT
0a50cea862bb2ed088933cc9fe8d4df318a7c84f
[ "MIT" ]
19
2019-08-31T10:42:10.000Z
2021-04-15T16:48:46.000Z
pairlist.py
ChathuraGH/TS3000_TheChatBOT
4243b5e1cb21453b5b257adbe1dec03f7caf49de
[ "MIT" ]
null
null
null
pairlist.py
ChathuraGH/TS3000_TheChatBOT
4243b5e1cb21453b5b257adbe1dec03f7caf49de
[ "MIT" ]
4
2020-01-04T08:21:25.000Z
2020-04-14T12:04:21.000Z
# this contains some predefined pair outputs . def fixedpair(inp): if inp == "who?": pair = "I am TS3000." elif inp == "who ?" : pair = "I m bitch" return pair
21.454545
46
0.440678
25
236
4.16
0.72
0.115385
0.192308
0.211538
0
0
0
0
0
0
0
0.03125
0.457627
236
11
47
21.454545
0.78125
0.186441
0
0
0
0
0.157068
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66afb014f1f72381bc94bf728b2454ea657b3e76
1,783
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/PlanCircuit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/PlanCircuit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/PlanCircuit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class PlanCircuit(APIObject, IDisposable): """ An object that represents an enclosed area in a plan view within the Autodesk Revit project. """ def Dispose(self): """ Dispose(self: APIObject,A_0: bool) """ pass def GetPointInside(self): """ GetPointInside(self: PlanCircu...
24.763889
221
0.613012
193
1,783
5.352332
0.34715
0.087125
0.046467
0.055179
0.269119
0.269119
0.269119
0.269119
0.269119
0.269119
0
0.000765
0.266966
1,783
71
222
25.112676
0.789594
0.348289
0
0.35
0
0
0
0
0
0
0
0
0
1
0.35
false
0.35
0
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
66db87181fd61d0e7ba4c648bd05352544d603cd
43
py
Python
app004/urls.py
lincoln0106/django_test
6682ecc2dbd32525afe03a97531eee2ea406829c
[ "MIT" ]
null
null
null
app004/urls.py
lincoln0106/django_test
6682ecc2dbd32525afe03a97531eee2ea406829c
[ "MIT" ]
null
null
null
app004/urls.py
lincoln0106/django_test
6682ecc2dbd32525afe03a97531eee2ea406829c
[ "MIT" ]
null
null
null
app_name = 'app004' urlpatterns = [ ]
8.6
20
0.581395
4
43
6
1
0
0
0
0
0
0
0
0
0
0
0.096774
0.27907
43
5
21
8.6
0.677419
0
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66ea2881e7536b29ff8f5c7dc5465e5bc89acbdb
346
py
Python
basicmonitor/actions/reboot.py
TorbenFricke/basicmonitor
c636f2d7efc80831008c23fa4b6030b3183d505f
[ "CC-BY-4.0", "MIT" ]
null
null
null
basicmonitor/actions/reboot.py
TorbenFricke/basicmonitor
c636f2d7efc80831008c23fa4b6030b3183d505f
[ "CC-BY-4.0", "MIT" ]
null
null
null
basicmonitor/actions/reboot.py
TorbenFricke/basicmonitor
c636f2d7efc80831008c23fa4b6030b3183d505f
[ "CC-BY-4.0", "MIT" ]
null
null
null
## before using this action you will likely have to enable rebooting without havig to enter the root password # https://askubuntu.com/questions/168879/shutdown-from-terminal-without-entering-password from basicmonitor.actions import Action import os class RebootAction(Action): def _notify(self, message): return o...
34.6
109
0.797688
49
346
5.612245
0.836735
0
0
0
0
0
0
0
0
0
0
0.019672
0.118497
346
10
110
34.6
0.881967
0.560694
0
0
0
0
0.09396
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
dd1605c3d44a6680f7e4648691203554a7705ef3
679
py
Python
relation/urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
relation/urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
8
2020-03-24T17:11:49.000Z
2022-01-13T01:18:11.000Z
relation/urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
from django.conf.urls import url, patterns urlpatterns = patterns('relation.views', url(r'^experience/(?P<experience_id>\d+)/edit/$', 'experience_edit', name='user_experience_organization_edit'), url(r'^experience/create/$', 'experience_create', name='user_experience_organization_create'), url(r'^received_...
52.230769
122
0.752577
88
679
5.431818
0.284091
0.219665
0.058577
0.125523
0.121339
0
0
0
0
0
0
0
0.079529
679
13
123
52.230769
0.7648
0
0
0
0
0
0.679412
0.582353
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
0
0
0
0
0
0
3
dd3bb8d8164d480242e5278aeaedaada9bd979bb
859
py
Python
tests/pyutils/test_natural_compare.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
590
2015-10-06T18:22:49.000Z
2022-03-22T16:32:17.000Z
tests/pyutils/test_natural_compare.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
300
2015-10-06T18:58:11.000Z
2022-03-22T14:01:44.000Z
tests/pyutils/test_natural_compare.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
270
2015-10-08T19:47:38.000Z
2022-03-10T04:17:51.000Z
from graphql.pyutils import natural_comparison_key key = natural_comparison_key def describe_natural_compare(): def handles_empty_strings(): assert key("") < key("a") assert key("") < key("1") def handles_strings_of_different_length(): assert key("A") < key("AA") assert key("...
28.633333
50
0.580908
108
859
4.425926
0.416667
0.263598
0.106695
0.079498
0
0
0
0
0
0
0
0.072868
0.249127
859
29
51
29.62069
0.668217
0
0
0
0
0
0.090803
0
0
0
0
0
0.636364
1
0.272727
false
0
0.045455
0
0.318182
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
dd4d2283570ee68f26df1af184bee2bf93e579d3
324
py
Python
web_interface_code/system_specs.py
UCSD-E4E/ASM-rpi-node
4cee0baaa008b8a40809cb14a119d0533c19a956
[ "MIT" ]
1
2022-02-01T04:33:22.000Z
2022-02-01T04:33:22.000Z
web_interface_code/system_specs.py
UCSD-E4E/ASM-rpi-node
4cee0baaa008b8a40809cb14a119d0533c19a956
[ "MIT" ]
22
2020-11-18T02:46:09.000Z
2021-12-30T07:34:01.000Z
web_interface_code/system_specs.py
UCSD-E4E/ASM-rpi-node
4cee0baaa008b8a40809cb14a119d0533c19a956
[ "MIT" ]
1
2021-07-16T18:38:36.000Z
2021-07-16T18:38:36.000Z
import psutil def cpu_percent(): return psutil.cpu_percent(1) def memory_percent(): memory = psutil.virtual_memory() return memory.percent def disk_percent(): disk = psutil.disk_usage('/') return disk.percent def cpu_temperature(): return psutil.sensors_temperatures()["cpu_thermal"][0].curr...
20.25
66
0.719136
41
324
5.463415
0.414634
0.053571
0
0
0
0
0
0
0
0
0
0.00738
0.16358
324
15
67
21.6
0.819188
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dd624e5a99c18afdbba6188984ead1141284b782
120
py
Python
constant/DataBaseConstant.py
handsomezhou/PyDemo
47bf4a87caba6307ffad557bf7abcbd978604469
[ "Apache-2.0" ]
null
null
null
constant/DataBaseConstant.py
handsomezhou/PyDemo
47bf4a87caba6307ffad557bf7abcbd978604469
[ "Apache-2.0" ]
null
null
null
constant/DataBaseConstant.py
handsomezhou/PyDemo
47bf4a87caba6307ffad557bf7abcbd978604469
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2021/1/3 # @Author : handsomezhou DB_SUFFIX = "db" DB_SUFFIX_WITH_FULL_STOP = ".db"
15
32
0.625
18
120
3.888889
0.777778
0.228571
0
0
0
0
0
0
0
0
0
0.070707
0.175
120
7
33
17.142857
0.636364
0.508333
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dd7d6ff5d362ad711191b474746441eefced9c14
234
py
Python
torchprof/__init__.py
indigoviolet/torchprof
964a1f593b97f36cd3000ce669f424cc939b3b0d
[ "MIT" ]
1
2021-01-24T04:45:08.000Z
2021-01-24T04:45:08.000Z
torchprof/__init__.py
indigoviolet/torchprof
964a1f593b97f36cd3000ce669f424cc939b3b0d
[ "MIT" ]
null
null
null
torchprof/__init__.py
indigoviolet/torchprof
964a1f593b97f36cd3000ce669f424cc939b3b0d
[ "MIT" ]
null
null
null
from torchprof.annotate import func, global_settings, iter, module, region from torchprof.profile import profile name = "torchprof" __all__ = ["profile", "region", "func", "iter", "module", "global_settings"] __version__ = "1.0.0"
26
76
0.730769
29
234
5.551724
0.551724
0.161491
0
0
0
0
0
0
0
0
0
0.014634
0.123932
234
8
77
29.25
0.770732
0
0
0
0
0
0.239316
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
dd8c6ddefdfe191376ab5e6ee69a5b7c085acba9
607
py
Python
tests/testapp/views.py
fossabot/django-renderpdf
13ea0d0eb6e14e31a5973c1ee52adcc769e52482
[ "ISC" ]
null
null
null
tests/testapp/views.py
fossabot/django-renderpdf
13ea0d0eb6e14e31a5973c1ee52adcc769e52482
[ "ISC" ]
null
null
null
tests/testapp/views.py
fossabot/django-renderpdf
13ea0d0eb6e14e31a5973c1ee52adcc769e52482
[ "ISC" ]
null
null
null
from django_renderpdf.views import PDFView class PromptDownloadView(PDFView): template_name = 'test_template.html' prompt_download = True download_name = 'myfile.pdf' class NoPromptDownloadView(PDFView): template_name = 'test_template.html' prompt_download = False class AllowForceHtmlView(PDFV...
22.481481
56
0.772652
66
607
6.80303
0.393939
0.167038
0.211581
0.256125
0.505568
0.436526
0.436526
0.436526
0.218263
0
0
0
0.15486
607
26
57
23.346154
0.875244
0
0
0.25
0
0
0.191104
0.056013
0
0
0
0
0
1
0
false
0
0.0625
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
06cc1e1da84065b5ee571c6918f68c3a29feb28d
211
py
Python
tests/conftest.py
CJWorkbench/carehare
1dc5859a925e29f684b0c32c75eb20f66f858d01
[ "MIT" ]
4
2021-06-16T12:45:42.000Z
2022-02-18T04:14:27.000Z
tests/conftest.py
CJWorkbench/carehare
1dc5859a925e29f684b0c32c75eb20f66f858d01
[ "MIT" ]
6
2021-05-14T13:30:08.000Z
2022-02-25T22:10:09.000Z
tests/conftest.py
CJWorkbench/carehare
1dc5859a925e29f684b0c32c75eb20f66f858d01
[ "MIT" ]
1
2022-01-14T13:42:51.000Z
2022-01-14T13:42:51.000Z
import pytest from carehare import connect from tests.util import SSL_CONTEXT, URL @pytest.fixture async def connection(): async with connect(URL, ssl=SSL_CONTEXT) as connection: yield connection
19.181818
59
0.763033
29
211
5.482759
0.586207
0.125786
0
0
0
0
0
0
0
0
0
0
0.180095
211
10
60
21.1
0.919075
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
06dc96779b55679a50f09db099de34fa259fef93
29
py
Python
lingua_franca/config.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
null
null
null
lingua_franca/config.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
null
null
null
lingua_franca/config.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
null
null
null
load_langs_on_demand = False
14.5
28
0.862069
5
29
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
06e52ed56fd8ab1447e3e706695b5636bce5f12a
66
py
Python
cfdata/tabular/converters/string/__init__.py
carefree0910/carefree-data
ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19
[ "MIT" ]
9
2020-10-25T11:52:34.000Z
2022-01-23T02:45:41.000Z
cfdata/tabular/converters/string/__init__.py
carefree0910/carefree-data
ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19
[ "MIT" ]
2
2020-08-02T01:58:48.000Z
2021-02-26T11:24:19.000Z
cfdata/tabular/converters/string/__init__.py
carefree0910/carefree-data
ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19
[ "MIT" ]
1
2021-11-04T14:34:13.000Z
2021-11-04T14:34:13.000Z
from .core import StringConverter __all__ = ["StringConverter"]
13.2
33
0.772727
6
66
7.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.136364
66
4
34
16.5
0.824561
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
06f58e1270708541f61e9ed1f410e84e3afbbf00
949
py
Python
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
null
null
null
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
2
2017-03-22T21:08:15.000Z
2017-03-22T21:13:20.000Z
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
1
2020-11-10T16:58:38.000Z
2020-11-10T16:58:38.000Z
from __future__ import print_function import argparse import datetime from cluster_config import generate, push from cluster_config.cdh.cluster import Cluster def cli(parser=None): if parser is None: parser = argparse.ArgumentParser(description="Auto generate various CDH configurations based on system r...
25.648649
122
0.727081
127
949
5.354331
0.307087
0.097059
0.125
0.067647
0.308824
0.308824
0.308824
0.191176
0.191176
0.191176
0
0
0.184405
949
36
123
26.361111
0.878553
0.032666
0
0.173913
1
0
0.072052
0
0
0
0
0
0
1
0.130435
false
0.086957
0.304348
0
0.478261
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
662402b678170cd94e10093be0e081ee006f4a55
1,186
py
Python
app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py
griimx/feature-mlsite
a66201c6b165d306d81110a05ee89d283f9b5e1e
[ "MIT" ]
null
null
null
app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py
griimx/feature-mlsite
a66201c6b165d306d81110a05ee89d283f9b5e1e
[ "MIT" ]
1
2019-12-16T20:48:36.000Z
2019-12-16T20:48:36.000Z
app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py
griimick/feature-mlsite
27e98c39f750708c5ded7f75483205b77267a988
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys vowels_to_be_replaced= {} def replace_null(from_chr_num, to_chr_num): for x in range(from_chr_num, to_chr_num): vowels_to_be_replaced[chr(x)]= "" #replace_null(0x0900, 0x0904) #replace_null(0x093A, 0x0950) #replace_null(0x0951, 0x0958) #replace_null(0x0962, 0x0964) #rep...
26.355556
47
0.683811
201
1,186
3.706468
0.353234
0.204027
0.255034
0.45906
0.155705
0.048322
0
0
0
0
0
0.059701
0.152614
1,186
44
48
26.954545
0.668657
0.162732
0
0
0
0
0.046701
0
0
0
0.012183
0
0
1
0.064516
false
0
0.032258
0
0.129032
0.064516
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6649734c512f1111bf33424b92c096d9c2ae4a3d
8,876
py
Python
buildscripts/tests/resmokelib/run/test_list_tags.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/tests/resmokelib/run/test_list_tags.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/tests/resmokelib/run/test_list_tags.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
"""Unit tests for buildscripts/resmokelib/run/list_tags.py.""" # pylint: disable=missing-docstring import unittest from buildscripts.resmokelib.run import list_tags def _get_suite(tags_blocks): block = "" for tags_block in tags_blocks: block = f"{block} {tags_block}" + "\n" return (("test_kind: ...
37.451477
76
0.475665
871
8,876
4.495982
0.091848
0.100102
0.062053
0.033708
0.817926
0.769918
0.705056
0.656793
0.62334
0.582993
0
0.01123
0.39804
8,876
236
77
37.610169
0.721692
0.010252
0
0.561905
0
0
0.284315
0.046702
0
0
0
0
0.085714
1
0.090476
false
0
0.009524
0
0.119048
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b07fdfaf94b87239078cf5c1a3294ee012c66cec
984,616
py
Python
src/src/P4/tweetPoll.py
160300514/lab1-onl
f2db4148c3ac1ca45888971a3ee7a000478dd98d
[ "MIT" ]
null
null
null
src/src/P4/tweetPoll.py
160300514/lab1-onl
f2db4148c3ac1ca45888971a3ee7a000478dd98d
[ "MIT" ]
null
null
null
src/src/P4/tweetPoll.py
160300514/lab1-onl
f2db4148c3ac1ca45888971a3ee7a000478dd98d
[ "MIT" ]
2
2020-03-13T06:51:02.000Z
2020-03-14T08:23:30.000Z
[ { "created_at": "Mon Feb 12 03:41:30 +0000 2018", "id": 962894403256901632, "text": "RT @JonAcuff: Dear Olympics commentators, at the beginning of each figure skating couple please let us know if the couple loves each other\u2026", "user.screen_name": "h0llaJess" }, { ...
49.723058
1,256
0.630994
127,774
984,616
4.802448
0.121339
0.048401
0.053779
0.050723
0.589747
0.571931
0.567635
0.537484
0.536442
0.532844
0
0.181089
0.241774
984,616
19,802
1,257
49.723058
0.640851
0
0
0.229472
0
0.093728
0.67898
0.010753
0
0
0.000007
0
0
1
0
true
0.001667
0.000455
0
0.000455
0.000202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b096c910a97d50c940bb7cc9f5b1a1cb0d02d539
11,258
py
Python
sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py
imposeren/django-sitegate
f25049b5d8c6541e4775f12e3df455376669674b
[ "BSD-3-Clause" ]
null
null
null
sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py
imposeren/django-sitegate
f25049b5d8c6541e4775f12e3df455376669674b
[ "BSD-3-Clause" ]
null
null
null
sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py
imposeren/django-sitegate
f25049b5d8c6541e4775f12e3df455376669674b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Preferences' db.create_table('sitegate_preferences', ( ...
75.053333
193
0.593978
1,189
11,258
5.489487
0.134567
0.101731
0.175885
0.251264
0.755018
0.73985
0.717941
0.655125
0.613299
0.508656
0
0.007362
0.179606
11,258
150
194
75.053333
0.699329
0.02727
0
0.188976
0
0
0.572656
0.318223
0
0
0
0
0
1
0.015748
false
0.007874
0.031496
0
0.070866
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b0973189822407c493fe0388f164f4d546ff4ccb
13,279
py
Python
rss_temple/api/migrations/0001_initial.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
rss_temple/api/migrations/0001_initial.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
8
2019-12-04T21:58:35.000Z
2021-12-15T02:29:49.000Z
rss_temple/api/migrations/0001_initial.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-10 18:32 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( nam...
40.117825
106
0.504631
1,043
13,279
6.31256
0.112176
0.029162
0.048906
0.076853
0.696689
0.672084
0.660389
0.650061
0.633657
0.625
0
0.006001
0.372543
13,279
330
107
40.239394
0.784205
0.003389
0
0.718266
1
0
0.124849
0.038921
0
0
0
0
0
1
0
false
0.006192
0.012384
0
0.024768
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b0a06ee8b28b672a39d134faee0dc99485892ccb
3,554
py
Python
aliyun-python-sdk-mse/aliyunsdkmse/request/v20190531/AddMockRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-mse/aliyunsdkmse/request/v20190531/AddMockRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-mse/aliyunsdkmse/request/v20190531/AddMockRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
37.808511
74
0.751266
462
3,554
5.588745
0.261905
0.027885
0.060418
0.083656
0.253292
0.164214
0.1433
0.1433
0
0
0
0.003932
0.141249
3,554
93
75
38.215054
0.842071
0.258863
0
0
0
0
0.130142
0
0
0
0
0
0
1
0.431034
false
0
0.034483
0.206897
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b0a31617ff1d0e29e4aefae33e29d7683639ff2d
155
py
Python
Chapter05/example03/usecmd.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
28
2017-08-10T18:21:52.000Z
2021-11-22T11:13:01.000Z
Chapter05/example03/usecmd.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
2
2019-06-17T13:22:00.000Z
2019-06-17T14:06:18.000Z
Chapter05/example03/usecmd.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
20
2017-07-07T16:25:50.000Z
2022-01-11T15:57:18.000Z
import cmd class Interface(cmd.Cmd): prompt = 'Command: ' def do_foo(self, arg): print(arg) interface = Interface() interface.cmdloop()
14.090909
26
0.645161
19
155
5.210526
0.684211
0.363636
0
0
0
0
0
0
0
0
0
0
0.225806
155
10
27
15.5
0.825
0
0
0
0
0
0.058065
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b0a4bdfb515fadad566f8603bc01be2fbc1c8dba
459
py
Python
metrics/metrics.py
9dev/django-metrics
ba876bc8291f0b8160cd48507e1a8bf628e7d204
[ "MIT" ]
null
null
null
metrics/metrics.py
9dev/django-metrics
ba876bc8291f0b8160cd48507e1a8bf628e7d204
[ "MIT" ]
null
null
null
metrics/metrics.py
9dev/django-metrics
ba876bc8291f0b8160cd48507e1a8bf628e7d204
[ "MIT" ]
null
null
null
class BaseMetric(object): name = None def get_name(self): return self.name class ValueMetric(BaseMetric): value = None def get_value(self): return self.value class LineChartMetric(BaseMetric): x = [] y = [] xlabel = 'X Label' ylabel = 'Y Label' def get_values(...
17
69
0.583878
60
459
4.383333
0.383333
0.091255
0.076046
0
0
0
0
0
0
0
0
0
0.283224
459
26
70
17.653846
0.799392
0
0
0
0
0
0.045852
0
0
0
0
0
0
1
0.235294
false
0
0
0.235294
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b0b5b2e2cd6f5d3e97455df4843046f9542a58a5
165
py
Python
problem0034.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0034.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0034.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #34 Digit factorials - Project Euler # https://projecteuler.net/problem=34 # # Code by Kevin Marciniak # ###########################
18.333333
38
0.472727
14
165
5.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0.027397
0.115152
165
8
39
20.625
0.506849
0.575758
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b0cc4349e7a5fb47d2c20b5a65e3109ce43dcdea
317
py
Python
src/skip.py
timm/duo
b05025d21abb26c9d56050efe7a9aa30796d02e1
[ "Unlicense" ]
null
null
null
src/skip.py
timm/duo
b05025d21abb26c9d56050efe7a9aa30796d02e1
[ "Unlicense" ]
null
null
null
src/skip.py
timm/duo
b05025d21abb26c9d56050efe7a9aa30796d02e1
[ "Unlicense" ]
null
null
null
# vim: filetype=python ts=2 sw=2 sts=2 et : # (c) 2021, tim menzies (timm@ieee.org) unlicense.org """Columns that we will not summarize.""" from col import Col class Skip(Col): def __init__(i,**kw): super().__init__(**kw) def add1(i,x,n=1) : return x def mid(i): return "?" def spread(i): return "?"
24.384615
53
0.630915
55
317
3.490909
0.709091
0.072917
0
0
0
0
0
0
0
0
0
0.035019
0.189274
317
12
54
26.416667
0.712062
0.413249
0
0
0
0
0.011236
0
0
0
0
0
0
1
0.666667
false
0
0.166667
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b0e77df40b6d2ed88b1a00c491469a3d3df0439e
442
py
Python
cottonwood/experimental/initializers.py
ShahriyarR/cottonwood
345f363a0c17caaac8aba0eb0dac86ee47d3ac2b
[ "MIT" ]
null
null
null
cottonwood/experimental/initializers.py
ShahriyarR/cottonwood
345f363a0c17caaac8aba0eb0dac86ee47d3ac2b
[ "MIT" ]
null
null
null
cottonwood/experimental/initializers.py
ShahriyarR/cottonwood
345f363a0c17caaac8aba0eb0dac86ee47d3ac2b
[ "MIT" ]
null
null
null
import numpy as np class Uniform(object): """ Make only a fraction of weights nonzero. """ def __init__(self, scale=.2): self.scale = scale def __str__(self): return f"Uniform distribution on [{-self.scale}, {self.scale}]" def initialize(self, n_rows, n_cols): return ...
22.1
71
0.570136
56
442
4.285714
0.571429
0.225
0.05
0.083333
0
0
0
0
0
0
0
0.003268
0.307692
442
19
72
23.263158
0.781046
0.090498
0
0
0
0
0.137306
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
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
0
0
0
3
7c02ace4445e53873261223820b73dc713311d43
51
py
Python
deep_learn/nn/__init__.py
itratrahman/deep_learn
1003042adab96c375da1a2b3f059287f0ed6365f
[ "BSD-3-Clause" ]
null
null
null
deep_learn/nn/__init__.py
itratrahman/deep_learn
1003042adab96c375da1a2b3f059287f0ed6365f
[ "BSD-3-Clause" ]
null
null
null
deep_learn/nn/__init__.py
itratrahman/deep_learn
1003042adab96c375da1a2b3f059287f0ed6365f
[ "BSD-3-Clause" ]
null
null
null
from .neural_network import ann __all__ = ['ann']
12.75
31
0.72549
7
51
4.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.156863
51
3
32
17
0.744186
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3