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
b0db9ff18a1d596f70bb82ba69569f2fa0f3b86d
3,634
py
Python
scripts/create_role_generalized.py
RobMulla/kaggle-nfl
fb7cd4613bc48074fff0d4300d82ac20e06baa21
[ "Apache-2.0" ]
5
2019-01-09T23:15:20.000Z
2020-06-12T16:29:31.000Z
scripts/create_role_generalized.py
RobMulla/kaggle-nfl
fb7cd4613bc48074fff0d4300d82ac20e06baa21
[ "Apache-2.0" ]
null
null
null
scripts/create_role_generalized.py
RobMulla/kaggle-nfl
fb7cd4613bc48074fff0d4300d82ac20e06baa21
[ "Apache-2.0" ]
null
null
null
import pandas as pd role_info_dict = {'GL': ['Gunner', 'Punting_Team'], 'GLi': ['Gunner', 'Punting_Team'], 'GLo': ['Gunner', 'Punting_Team'], 'GR': ['Gunner', 'Punting_Team'], 'GRi': ['Gunner', 'Punting_Team'], 'GRo': ['Gunner', ...
57.68254
72
0.490919
289
3,634
5.809689
0.297578
0.247767
0.193568
0.224538
0
0
0
0
0
0
0
0.007871
0.335718
3,634
62
73
58.612903
0.687655
0
0
0
0
0
0.457898
0.012658
0
0
0
0
0
1
0
false
0
0.016393
0
0.016393
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b0e2f96f524aef625259ab8f3491902266a4228d
4,077
py
Python
cmachines_slave/cmachines_slave/hdd_disk_manager.py
JinpengLI/gpu_share_platform
53d7f2b45acd9340cf49908fe9809f8d2856757c
[ "MIT" ]
18
2018-02-21T00:39:37.000Z
2019-05-21T08:03:49.000Z
cmachines_slave/cmachines_slave/hdd_disk_manager.py
JinpengLI/gpu_share_platform
53d7f2b45acd9340cf49908fe9809f8d2856757c
[ "MIT" ]
1
2020-08-08T18:05:31.000Z
2020-08-08T19:57:05.000Z
cmachines_slave/cmachines_slave/hdd_disk_manager.py
JinpengLI/gpu_share_platform
53d7f2b45acd9340cf49908fe9809f8d2856757c
[ "MIT" ]
12
2018-02-22T07:22:58.000Z
2020-01-06T07:45:52.000Z
# -*- coding: utf-8 -*- import requests import json import os from cmachines_slave.utils import exe_cmd_on_local class HddDiskManager(object): def __init__(self, base_dir): self.base_dir = base_dir def get_vol_path(self, vol_name): vol_dir_path = os.path.join(self.base_dir, vol_name) ...
33.146341
109
0.55948
592
4,077
3.557432
0.157095
0.079772
0.090218
0.055556
0.740741
0.737417
0.717474
0.664767
0.664767
0.664767
0
0.014509
0.323767
4,077
122
110
33.418033
0.749365
0.025264
0
0.631068
0
0.009709
0.208869
0
0
0
0
0
0
1
0.048544
false
0
0.038835
0
0.213592
0.07767
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
b0e5b4f57e2103969fcad57a7eff0d286013462c
663
py
Python
helpdesk/migrations/0028_kbitem_team.py
altimore/django-helpdesk
e710cb028be6725350b05a802d14508a96375d14
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
null
null
null
helpdesk/migrations/0028_kbitem_team.py
altimore/django-helpdesk
e710cb028be6725350b05a802d14508a96375d14
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
null
null
null
helpdesk/migrations/0028_kbitem_team.py
altimore/django-helpdesk
e710cb028be6725350b05a802d14508a96375d14
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
null
null
null
# Generated by Django 2.2.9 on 2020-01-27 15:01 import django.db.models.deletion from django.db import migrations, models from helpdesk import settings as helpdesk_settings class Migration(migrations.Migration): dependencies = [ ("helpdesk", "0027_auto_20200107_1221"), ] # + helpdesk_settings.HE...
30.136364
170
0.684766
77
663
5.714286
0.545455
0.054545
0.063636
0.1
0
0
0
0
0
0
0
0.058935
0.206637
663
21
171
31.571429
0.777567
0.553544
0
0
1
0
0.108392
0.08042
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b0fc7f75a72cd94a299ea69d0dbd6a274ee62851
42
py
Python
tracardi/service/plugin/__init__.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
153
2021-11-02T00:35:41.000Z
2022-03-25T16:37:44.000Z
tracardi/service/plugin/__init__.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
243
2021-10-17T17:00:22.000Z
2022-03-28T10:13:34.000Z
tracardi/service/plugin/__init__.py
bytepl/tracardi
e8fa4684fa6bd3d05165fe48aa925fc6c1e74923
[ "MIT" ]
14
2021-10-17T11:39:04.000Z
2022-03-14T14:44:02.000Z
__all__ = ["runner", "domain", "service"]
21
41
0.619048
4
42
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
1
42
42
0.594595
0
0
0
0
0
0.452381
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
9fd7777cfb0144c27f85ef379bf8c96a0dd3f25c
251
py
Python
src/aio_dtls/cipher/cipher.py
businka/aio_dtls
0dba40d425b443e5ceb516011aadf58f573a4dc8
[ "MIT" ]
null
null
null
src/aio_dtls/cipher/cipher.py
businka/aio_dtls
0dba40d425b443e5ceb516011aadf58f573a4dc8
[ "MIT" ]
null
null
null
src/aio_dtls/cipher/cipher.py
businka/aio_dtls
0dba40d425b443e5ceb516011aadf58f573a4dc8
[ "MIT" ]
null
null
null
from typing import Optional class Cipher: cipher_type: Optional[str] = None key_material: Optional[int] = None iv_size: Optional[int] = None iv_size_ocf: Optional[int] = None block_size: Optional[int] = None is_cipher = True
22.818182
38
0.693227
35
251
4.771429
0.514286
0.263473
0.359281
0.203593
0.251497
0
0
0
0
0
0
0
0.219124
251
10
39
25.1
0.852041
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b02cf4599d0b949dfff9943270fb74ac83090477
237
py
Python
tests/infrastructure/test_nginx_proxy.py
JasonPuglisi/emmental
ec60e79ac7fc7322445de84e4d431a151a1e8299
[ "MIT" ]
2
2019-01-29T10:19:36.000Z
2020-02-05T20:25:58.000Z
tests/infrastructure/test_nginx_proxy.py
JasonPuglisi/emmental
ec60e79ac7fc7322445de84e4d431a151a1e8299
[ "MIT" ]
54
2019-01-28T02:41:58.000Z
2019-04-16T21:24:09.000Z
tests/infrastructure/test_nginx_proxy.py
JasonPuglisi/emmental
ec60e79ac7fc7322445de84e4d431a151a1e8299
[ "MIT" ]
1
2020-02-05T20:26:17.000Z
2020-02-05T20:26:17.000Z
"""Tests the NGINX proxy infrastructure.""" import requests def test_connectable(): """Ensure the machine can connect to NGINX.""" response = requests.get('http://localhost/', timeout=3) assert response.status_code == 200
23.7
59
0.700422
29
237
5.655172
0.862069
0
0
0
0
0
0
0
0
0
0
0.020202
0.164557
237
9
60
26.333333
0.808081
0.329114
0
0
0
0
0.114865
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b05058675fea55e312bbed61bc38adc0ca3900d5
432
py
Python
biocrnpyler/dna_part_terminator.py
Benedict-Carling/BioCRNPyler
6a79d670d99e6f380bc6707a11849cc0553f4340
[ "BSD-3-Clause" ]
22
2019-08-28T09:01:11.000Z
2021-11-16T11:28:05.000Z
biocrnpyler/dna_part_terminator.py
Benedict-Carling/BioCRNPyler
6a79d670d99e6f380bc6707a11849cc0553f4340
[ "BSD-3-Clause" ]
211
2019-08-14T16:59:03.000Z
2022-01-08T02:21:09.000Z
biocrnpyler/dna_part_terminator.py
zjuradoq/BioCRNPyler
30a7324b77e7bf88664e5a70920fa21bb4354acf
[ "BSD-3-Clause" ]
19
2019-08-15T22:35:16.000Z
2021-09-08T14:40:05.000Z
# Copyright (c) 2020, Build-A-Cell. All rights reserved. # See LICENSE file in the project root directory for details.from .dna_part import DNA_part from .dna_part_misc import DNA_part class Terminator(DNA_part): def __init__(self,name, **keywords): DNA_part.__init__(self,name, **keywords) sel...
27
92
0.6875
60
432
4.666667
0.583333
0.15
0.078571
0.142857
0
0
0
0
0
0
0
0.011834
0.217593
432
15
93
28.8
0.816568
0.335648
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
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
0
1
1
0
0
3
c6876d67b922e9c0b21d461e2cc0ee92f01a0f41
99
py
Python
src/docker/django-docker/djangoapp/usersrestful/apps.py
vpaone59/SeniorProject
61935893ce0ceb6210a50001b24a5b20394222c4
[ "BSD-3-Clause" ]
1
2020-02-06T21:27:19.000Z
2020-02-06T21:27:19.000Z
src/docker/django-docker/djangoapp/usersrestful/apps.py
vpaone59/SeniorProject
61935893ce0ceb6210a50001b24a5b20394222c4
[ "BSD-3-Clause" ]
10
2020-03-05T21:18:12.000Z
2022-02-27T00:31:30.000Z
src/docker/django-docker/djangoapp/usersrestful/apps.py
vpaone59/SeniorProject
61935893ce0ceb6210a50001b24a5b20394222c4
[ "BSD-3-Clause" ]
5
2020-02-06T01:12:48.000Z
2022-02-21T21:35:12.000Z
from django.apps import AppConfig class UsersrestfulConfig(AppConfig): name = "usersrestful"
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c6cae0ec2689853a0f9620fe3b5c6f9e1a1622ce
610
py
Python
apistar/authentication.py
sirex/apistar
0ab0ac394983230bfacad2035d9436e88988cfc4
[ "BSD-3-Clause" ]
1
2017-12-27T09:05:23.000Z
2017-12-27T09:05:23.000Z
apistarlearn/authentication.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
apistarlearn/authentication.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
from apistar.interfaces import Auth class Unauthenticated(Auth): def is_authenticated(self) -> bool: return False def get_display_name(self) -> None: return None def get_user_id(self) -> None: return None class Authenticated(Auth): def __init__(self, username, user=None, to...
21.034483
56
0.639344
76
610
4.947368
0.328947
0.06383
0.095745
0.117021
0.478723
0.170213
0
0
0
0
0
0
0.27377
610
28
57
21.785714
0.848758
0
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.368421
false
0
0.052632
0.315789
0.842105
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
c6da500da9044ae56fcf1400eca86a182e4046bb
199
py
Python
scripts/mod_requests/ping.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
1
2019-06-07T03:44:39.000Z
2019-06-07T03:44:39.000Z
scripts/mod_requests/ping.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
null
null
null
scripts/mod_requests/ping.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
null
null
null
from evawiz_basic import * def request(handler,*args): handler.contact_server('mod_ping') handler.send("eva! are you there!") res = handler.recv() dprint('res = ',res) pass
19.9
39
0.638191
26
199
4.769231
0.807692
0
0
0
0
0
0
0
0
0
0
0
0.221106
199
9
40
22.111111
0.8
0
0
0
0
0
0.165829
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.285714
0.142857
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
c6dcc522c8f86d8b2730370ce1a72342f157537b
274
py
Python
src/sot_talos_balance/test/test_COMTraj.py
imaroger/sot-talos-balance
5e56700b4e105273ecf6feb3474789beac469a77
[ "BSD-2-Clause" ]
null
null
null
src/sot_talos_balance/test/test_COMTraj.py
imaroger/sot-talos-balance
5e56700b4e105273ecf6feb3474789beac469a77
[ "BSD-2-Clause" ]
null
null
null
src/sot_talos_balance/test/test_COMTraj.py
imaroger/sot-talos-balance
5e56700b4e105273ecf6feb3474789beac469a77
[ "BSD-2-Clause" ]
null
null
null
from time import sleep from sot_talos_balance.utils.run_test_utils import run_test, runCommandClient run_test('appli_COMTraj.py') sleep(2.0) runCommandClient('robot.comTrajGen.move(1,-0.025,1.0)') sleep(5.0) runCommandClient('robot.comTrajGen.startSinusoid(1,0.05,2.0)')
24.909091
77
0.79562
45
274
4.688889
0.533333
0.099526
0.208531
0.303318
0
0
0
0
0
0
0
0.066148
0.062044
274
10
78
27.4
0.754864
0
0
0
0
0
0.339416
0.281022
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
05a41cc4c7e9c2f070bd59887954315dc6dca382
243
py
Python
src/test/python/test_preinits.py
AntoineD/jep
8ce338d8474a98e2aed3c4d61db1028fb76c0ba5
[ "Zlib" ]
698
2017-08-08T22:33:29.000Z
2022-03-31T20:28:24.000Z
src/test/python/test_preinits.py
AntoineD/jep
8ce338d8474a98e2aed3c4d61db1028fb76c0ba5
[ "Zlib" ]
305
2017-08-14T19:10:57.000Z
2022-03-31T17:27:27.000Z
src/test/python/test_preinits.py
AntoineD/jep
8ce338d8474a98e2aed3c4d61db1028fb76c0ba5
[ "Zlib" ]
117
2017-08-13T01:05:51.000Z
2022-03-11T09:11:00.000Z
import unittest import sys from jep_pipe import jep_pipe from jep_pipe import build_java_process_cmd class TestPreInits(unittest.TestCase): def test_inits(self): jep_pipe(build_java_process_cmd('jep.test.TestPreInitVariables'))
22.090909
73
0.806584
35
243
5.285714
0.514286
0.151351
0.118919
0.183784
0
0
0
0
0
0
0
0
0.131687
243
10
74
24.3
0.876777
0
0
0
0
0
0.119342
0.119342
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
05af543188b32c16ce439a3502697a799307eaa1
1,647
py
Python
particlepy/math.py
grimmigerFuchs/Pyticles
2e955d0c7a8a0bf7c1adb3e26ce89c8edb8a0004
[ "MIT" ]
1
2021-08-08T12:10:07.000Z
2021-08-08T12:10:07.000Z
particlepy/math.py
grimmigerFuchs/Pyticles
2e955d0c7a8a0bf7c1adb3e26ce89c8edb8a0004
[ "MIT" ]
null
null
null
particlepy/math.py
grimmigerFuchs/Pyticles
2e955d0c7a8a0bf7c1adb3e26ce89c8edb8a0004
[ "MIT" ]
null
null
null
# math.py # -*- coding: utf-8 -*- from typing import Tuple import particlepy.particle def fade_color(particle: particlepy.particle.Particle, color: Tuple[int, int, int], progress: float) -> list: """Fades color of :attr:`particle` over life span (:attr:`progress`) to new color (:attr:`color`) Args: ...
40.170732
133
0.689132
204
1,647
5.52451
0.25
0.14197
0.184561
0.106477
0.500444
0.425909
0.425909
0.425909
0.425909
0.425909
0
0.001488
0.183971
1,647
40
134
41.175
0.837054
0.619915
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.285714
false
0
0.285714
0
0.857143
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
05bdaeee24f02a18eee89b14923e947eb52c8da4
129
py
Python
make_vids.py
ivanosevitch/Choreographies2
d033c7e021075984e932299256b12a29bcd2dba9
[ "BSD-2-Clause" ]
null
null
null
make_vids.py
ivanosevitch/Choreographies2
d033c7e021075984e932299256b12a29bcd2dba9
[ "BSD-2-Clause" ]
null
null
null
make_vids.py
ivanosevitch/Choreographies2
d033c7e021075984e932299256b12a29bcd2dba9
[ "BSD-2-Clause" ]
null
null
null
import Choreo_funs folder_name = './Target_res/4/' video_name = 'vid.mp4' Choreo_funs.Images_to_video(folder_name,video_name)
16.125
51
0.790698
21
129
4.428571
0.619048
0.215054
0
0
0
0
0
0
0
0
0
0.017094
0.093023
129
7
52
18.428571
0.777778
0
0
0
0
0
0.170543
0
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
05da4511b839da53227eb260e99bb41ecfb44143
200
py
Python
tests/conftest.py
aspp-apac/2019-testing-code
3c66759462d0d0511b4c3ae428d8e2c2d9e275a8
[ "BSD-3-Clause" ]
2
2019-02-08T06:00:35.000Z
2019-02-20T05:43:27.000Z
tests/conftest.py
aspp-apac/2019-testing-code
3c66759462d0d0511b4c3ae428d8e2c2d9e275a8
[ "BSD-3-Clause" ]
1
2021-09-08T00:54:45.000Z
2021-09-08T00:54:45.000Z
tests/conftest.py
aspp-apac/2019-testing-code
3c66759462d0d0511b4c3ae428d8e2c2d9e275a8
[ "BSD-3-Clause" ]
8
2019-01-21T04:12:52.000Z
2019-08-21T01:17:46.000Z
import pytest from colorthief import ColorThief @pytest.fixture(scope='function') def sunset(): color_thief = ColorThief('images/sunset.jpg') yield color_thief color_thief.image.close()
20
49
0.75
25
200
5.88
0.64
0.204082
0
0
0
0
0
0
0
0
0
0
0.145
200
9
50
22.222222
0.859649
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
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
05e3f4e23832d9affb8f35613f535c8858848cce
464
py
Python
lang/mixinresource.py
flintforge/Aris
21ea2c4af0172cb150e3fbc7ca889e3d0ed717fd
[ "MIT" ]
null
null
null
lang/mixinresource.py
flintforge/Aris
21ea2c4af0172cb150e3fbc7ca889e3d0ed717fd
[ "MIT" ]
null
null
null
lang/mixinresource.py
flintforge/Aris
21ea2c4af0172cb150e3fbc7ca889e3d0ed717fd
[ "MIT" ]
null
null
null
''' ARIS Author: 𝓟𝓱𝓲𝓵.𝓔𝓼𝓽𝓲𝓿𝓪𝓵 @ 𝓕𝓻𝓮𝓮.𝓯𝓻 Date:<2018-05-18 15:52:50> Released under the MIT License ''' from lang.dictmixins import DictMixins from files.filemembers import Resource class MixinResource: def __init__(_, sources): DictMixins.__init__(_, sources) # reloadable file r...
19.333333
39
0.646552
55
464
5.054545
0.763636
0.079137
0
0
0
0
0
0
0
0
0
0.040346
0.252155
464
23
40
20.173913
0.760807
0.262931
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.090909
0.181818
0
0.545455
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
05ecaac93dcc2c17660bb9b2d24f1ede269b70d1
1,926
py
Python
ares/defense/bit_depth_reduction.py
KuanKuanQAQ/ares
40dbefc18f6438e1812021fe6d6c3195f22ca295
[ "MIT" ]
206
2020-12-31T09:43:11.000Z
2022-03-30T07:02:41.000Z
ares/defense/bit_depth_reduction.py
afoolboy/ares
89610d41fdde194e4ad916d29961aaed73383692
[ "MIT" ]
7
2021-01-26T06:45:44.000Z
2022-02-26T05:25:48.000Z
ares/defense/bit_depth_reduction.py
afoolboy/ares
89610d41fdde194e4ad916d29961aaed73383692
[ "MIT" ]
61
2020-12-29T14:02:41.000Z
2022-03-26T14:21:10.000Z
''' The bit depth reduction defense method. ''' import tensorflow as tf import numpy as np from ares.defense.input_transformation import input_transformation def bit_depth_reduce(xs, x_min, x_max, step_num, alpha=1e6): ''' Run bit depth reduce on xs. :param xs: A batch of images to apply bit depth reductio...
35.666667
113
0.699896
297
1,926
4.326599
0.329966
0.099611
0.08716
0.062257
0.172763
0.119844
0.119844
0.119844
0.119844
0.119844
0
0.011243
0.214953
1,926
53
114
36.339623
0.838624
0.385254
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0.136364
0.681818
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
05f3da0444c43d4e6da29d2f7718969900fd96bc
211
py
Python
render/styles/Shadows.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
1
2021-09-06T08:20:13.000Z
2021-09-06T08:20:13.000Z
render/styles/Shadows.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
null
null
null
render/styles/Shadows.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
null
null
null
import logging as lg from . Base import Base class Shadows(Base) : ## ==================================================== def setup(self) : super().setup() lg.debug('Configuring Shadows renderer.')
21.1
55
0.50237
21
211
5.047619
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.156398
211
9
56
23.444444
0.595506
0.246446
0
0
0
0
0.187097
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
05fe86521f71286c7858251f5e3a770e8f3a20e4
698
py
Python
{{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py
KIPAC/kipac_package_template
05691cb9a482e823032106a0c2fe03f0f58d8852
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py
KIPAC/kipac_package_template
05691cb9a482e823032106a0c2fe03f0f58d8852
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py
KIPAC/kipac_package_template
05691cb9a482e823032106a0c2fe03f0f58d8852
[ "BSD-3-Clause" ]
null
null
null
""" Example unit tests for {{cookiecutter.repo_name}} package """ import unittest import {{cookiecutter.package_name}} class ExampleTestCase(unittest.TestCase): def setUp(self): self.message = 'Hello, world' def tearDown(self): pass def test_run(self): foo = {{cookiecutter.package...
27.92
99
0.684814
77
698
6
0.415584
0.164502
0.199134
0.112554
0.207792
0.207792
0.207792
0.207792
0
0
0
0
0.180516
698
24
100
29.083333
0.807692
0
0
0.125
0
0
0.031596
0
0
0
0
0
0.1875
0
null
null
0.0625
0.125
null
null
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
1
0
0
1
0
0
0
0
0
3
af12edac11cb75a4578870605c886d38b40fd536
169
py
Python
tests/common.py
GreenWizard2015/upwork-bot
ecc5d1db23e89e069f6ecf1b66fbd4a4eb387479
[ "MIT" ]
null
null
null
tests/common.py
GreenWizard2015/upwork-bot
ecc5d1db23e89e069f6ecf1b66fbd4a4eb387479
[ "MIT" ]
null
null
null
tests/common.py
GreenWizard2015/upwork-bot
ecc5d1db23e89e069f6ecf1b66fbd4a4eb387479
[ "MIT" ]
null
null
null
import os def fromFile(filename): with open(os.path.join(os.path.dirname(__file__), 'data', filename), 'r', encoding='utf8') as f: return f.read() return
24.142857
99
0.656805
25
169
4.28
0.76
0.11215
0
0
0
0
0
0
0
0
0
0.007194
0.177515
169
6
100
28.166667
0.76259
0
0
0
0
0
0.055215
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
af160ffe63052de1f55f299a43eee21b52d2d06d
465
py
Python
fire/cli/main.py
busstoptaktik/FIRE
8a258d944a5fc53e179c96f342279649069ec7ea
[ "MIT" ]
4
2021-02-01T11:04:48.000Z
2022-03-11T19:14:59.000Z
fire/cli/main.py
busstoptaktik/FIRE
8a258d944a5fc53e179c96f342279649069ec7ea
[ "MIT" ]
256
2020-05-06T21:30:10.000Z
2022-03-24T10:23:56.000Z
fire/cli/main.py
busstoptaktik/FIRE
8a258d944a5fc53e179c96f342279649069ec7ea
[ "MIT" ]
11
2020-05-04T07:08:27.000Z
2022-01-05T11:34:31.000Z
""" Hovedindgang for kommondolinjeinterface til FIRE. """ from pkg_resources import iter_entry_points import click from click_plugins import with_plugins import fire @with_plugins(iter_entry_points("fire.cli.fire_commands")) @click.group() @click.help_option(help="Vis denne hjælpetekst") @click.version_option( ...
20.217391
73
0.752688
59
465
5.677966
0.525424
0.041791
0.089552
0
0
0
0
0
0
0
0
0
0.135484
465
22
74
21.136364
0.830846
0.174194
0
0
0
0
0.180055
0.060942
0
0
0
0
0
1
0.083333
true
0.083333
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
af3f1028f76df0e2a762ea280ad816c051403a71
1,669
py
Python
src/include/setup_builtin_synonyms.py
jku-ssw/gcc-builtin-study
3a283902662117097518131b98a0f8acdba476f8
[ "UPL-1.0" ]
12
2019-07-03T11:35:23.000Z
2022-01-12T13:44:08.000Z
src/include/setup_builtin_synonyms.py
jku-ssw/gcc-builtin-study
3a283902662117097518131b98a0f8acdba476f8
[ "UPL-1.0" ]
null
null
null
src/include/setup_builtin_synonyms.py
jku-ssw/gcc-builtin-study
3a283902662117097518131b98a0f8acdba476f8
[ "UPL-1.0" ]
1
2019-07-06T10:41:13.000Z
2019-07-06T10:41:13.000Z
#!/usr/bin/env python3 # These are the names for Table 2 from .common import * builtin_synonyms = """ __builtin_expect=compiler interaction __builtin_clz=bitwise operation __builtin_bswap32=bitwise operation __builtin_constant_p=compiler interaction __builtin_alloca=stack allocation __builtin_bswap64=bitwise operati...
29.803571
55
0.727981
177
1,669
6.316384
0.463277
0.186047
0.267442
0.048301
0
0
0
0
0
0
0
0.007536
0.204913
1,669
55
56
30.345455
0.834966
0.031756
0
0.042553
0
0
0.802354
0.47026
0
0
0
0
0
1
0
false
0
0.021277
0
0.021277
0.021277
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
af47deaebf96d1ba69469800f3240293d8e32ccb
519
py
Python
sample_service/service.py
galonsky/sample_service
532664f588127ccfc49005003ccd636fe12e9df5
[ "Apache-2.0" ]
null
null
null
sample_service/service.py
galonsky/sample_service
532664f588127ccfc49005003ccd636fe12e9df5
[ "Apache-2.0" ]
null
null
null
sample_service/service.py
galonsky/sample_service
532664f588127ccfc49005003ccd636fe12e9df5
[ "Apache-2.0" ]
null
null
null
from decimal import Decimal from uuid import UUID from sample_service.interfaces import ISecurityRepository from sample_service.types import Security class SecurityService: def __init__(self, security_repository: ISecurityRepository): self.repository = security_repository def get_security(self, id: ...
28.833333
65
0.755299
61
519
6.213115
0.360656
0.087071
0.08971
0
0
0
0
0
0
0
0
0
0.181118
519
17
66
30.529412
0.891765
0.028902
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0.090909
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
1
0
1
0
0
3
af624b7f8564cadc8376d574c192d990d939feb4
136
py
Python
framework/scripts/common/powerOFF.py
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/scripts/common/powerOFF.py
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/scripts/common/powerOFF.py
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
#!/bin/bash # PSU file descriptor PSU_DEV=${PSU_DEV-'/dev/ttyHAMEG0'} # power down hameg ./hameg2030.py $PSU_DEV 7 2>&1 exit 1
8.5
35
0.661765
23
136
3.782609
0.695652
0.206897
0
0
0
0
0
0
0
0
0
0.081081
0.183824
136
15
36
9.066667
0.702703
0.345588
0
0
0
0
0.177215
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
af64e100524f200164e257a5f01cb1a3629a4d3d
24
py
Python
igsb_report_viewer/viewer/util/__init__.py
jgrundstad/VCF_viewer
a722f484dcfd1ecc6b91093e8c567e7db8d70e42
[ "Apache-2.0" ]
1
2019-08-12T13:53:49.000Z
2019-08-12T13:53:49.000Z
igsb_report_viewer/viewer/util/__init__.py
jgrundstad/Variant_Report_Viewer
a722f484dcfd1ecc6b91093e8c567e7db8d70e42
[ "Apache-2.0" ]
null
null
null
igsb_report_viewer/viewer/util/__init__.py
jgrundstad/Variant_Report_Viewer
a722f484dcfd1ecc6b91093e8c567e7db8d70e42
[ "Apache-2.0" ]
null
null
null
__author__ = 'jgrundst'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
af8375620e5bae302e90dae8e506af85f9299983
265
py
Python
kafka_consumer/configs/kafka.py
ExpediaGroup/kafka-consumer-sns-sqs
4c67feeec1b5ab8b298233d5e7644aeb3a86585a
[ "Apache-2.0" ]
1
2022-03-12T17:46:49.000Z
2022-03-12T17:46:49.000Z
kafka_consumer/configs/kafka.py
ExpediaGroup/kafka-consumer-sns-sqs
4c67feeec1b5ab8b298233d5e7644aeb3a86585a
[ "Apache-2.0" ]
null
null
null
kafka_consumer/configs/kafka.py
ExpediaGroup/kafka-consumer-sns-sqs
4c67feeec1b5ab8b298233d5e7644aeb3a86585a
[ "Apache-2.0" ]
null
null
null
import os KAFKA_TOPIC = os.environ.get("KAFKA_TOPIC") GROUP_ID = os.environ.get("GROUP_ID") BOOTSTRAP_SERVERS = os.environ.get("BOOTSTRAP_SERVERS") AUTO_OFFSET_RESET = os.environ.get("AUTO_OFFSET_RESET") CONSUMER_TIMEOUT_MS = os.environ.get("CONSUMER_TIMEOUT_MS")
33.125
59
0.8
41
265
4.829268
0.390244
0.227273
0.30303
0
0
0
0
0
0
0
0
0
0.067925
265
7
60
37.857143
0.801619
0
0
0
0
0
0.271698
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
afade4e74a399ece3e2935d535cf9a557fea7e05
957
py
Python
compiler/generators/text.py
Flockly/Flockly
1dcaa4d17f049ceba2566d182106c7f898455657
[ "WTFPL" ]
1
2018-04-26T23:34:09.000Z
2018-04-26T23:34:09.000Z
compiler/generators/text.py
Flockly/Flockly
1dcaa4d17f049ceba2566d182106c7f898455657
[ "WTFPL" ]
null
null
null
compiler/generators/text.py
Flockly/Flockly
1dcaa4d17f049ceba2566d182106c7f898455657
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python # -*- coding=UTF-8 -*- import sys if hasattr(sys, 'setdefaultencoding'): sys.setdefaultencoding('UTF-8') from generators.common import * def text(soup): return repr(findName(soup, 'TEXT').text) def text_print(soup): to_print = valueToCode(soup, 'TEXT') return 'print {0}'.forma...
26.583333
68
0.61442
123
957
4.715447
0.414634
0.084483
0.037931
0.082759
0.12069
0
0
0
0
0
0
0.009198
0.204807
957
35
69
27.342857
0.752957
0.042842
0
0
0
0
0.141138
0
0
0
0
0
0
1
0.304348
false
0
0.086957
0.217391
0.695652
0.130435
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
afb6ae27c1d3fb1c7f99ba3d351b849176c84ff6
161
py
Python
scripts/portal/evantalk21.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/portal/evantalk21.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/portal/evantalk21.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
if not "mo21=o" in sm.getQRValue(22013): sm.avatarOriented("Effect/OnUserEff.img/guideEffect/evanTutorial/evanBalloon21") sm.addQRValue(22013, "mo21=o")
40.25
84
0.751553
21
161
5.761905
0.761905
0.082645
0
0
0
0
0
0
0
0
0
0.110345
0.099379
161
3
85
53.666667
0.724138
0
0
0
0
0
0.440994
0.36646
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
afc57632ec9aacd7e6c8616cb14d161e3bb4bc25
165
py
Python
examples/calculate/calc.py
ispras/gopython
99d121166121a88f5f04faf9e9d8212fcfaafa16
[ "Apache-2.0" ]
null
null
null
examples/calculate/calc.py
ispras/gopython
99d121166121a88f5f04faf9e9d8212fcfaafa16
[ "Apache-2.0" ]
null
null
null
examples/calculate/calc.py
ispras/gopython
99d121166121a88f5f04faf9e9d8212fcfaafa16
[ "Apache-2.0" ]
null
null
null
from unique_calc import unique_python_calc inputForCalc = 1.23 upc = unique_python_calc() res = upc.calc(inputForCalc) print("Py: Result from UniquePyCalc:", res)
20.625
43
0.781818
24
165
5.166667
0.583333
0.193548
0.258065
0
0
0
0
0
0
0
0
0.02069
0.121212
165
8
43
20.625
0.834483
0
0
0
0
0
0.174699
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
afcb0eada4d7ad6560b12d193056c05c8784ad13
166
py
Python
eventkit_cloud/tasks/tests/test_metadata.py
zta6/eventkit-cloud
a9e1aaa2bbfd3d11d3cf3df91e413e6220d6e876
[ "BSD-3-Clause" ]
9
2019-02-27T19:42:02.000Z
2021-05-09T14:16:28.000Z
eventkit_cloud/tasks/tests/test_metadata.py
zta6/eventkit-cloud
a9e1aaa2bbfd3d11d3cf3df91e413e6220d6e876
[ "BSD-3-Clause" ]
9
2019-05-14T01:23:30.000Z
2021-05-26T07:53:09.000Z
eventkit_cloud/tasks/tests/test_metadata.py
zta6/eventkit-cloud
a9e1aaa2bbfd3d11d3cf3df91e413e6220d6e876
[ "BSD-3-Clause" ]
3
2019-04-24T07:09:54.000Z
2021-04-14T02:42:53.000Z
import doctest from eventkit_cloud.tasks import metadata def load_tests(loader, tests, ignore): tests.addTests(doctest.DocTestSuite(metadata)) return tests
20.75
50
0.789157
21
166
6.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.138554
166
7
51
23.714286
0.902098
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bb70d5b378b50d25722a139b089f4ac31bc72190
2,078
py
Python
primes/factorised_test.py
miloszlakomy/algutils
f83c330a0ca31cdac536de811f447820c70ecb38
[ "MIT" ]
null
null
null
primes/factorised_test.py
miloszlakomy/algutils
f83c330a0ca31cdac536de811f447820c70ecb38
[ "MIT" ]
null
null
null
primes/factorised_test.py
miloszlakomy/algutils
f83c330a0ca31cdac536de811f447820c70ecb38
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from algutils.primes import factorised import unittest class TestFactorised(unittest.TestCase): def test_corner_cases(self): with self.assertRaises(ValueError): _ = factorised.Factorised(-1) with self.assertRaises(ValueError): _ = factorised.Factorised(0) f = fact...
24.738095
61
0.631376
293
2,078
4.426621
0.180887
0.323824
0.208173
0.131843
0.548959
0.470316
0.296068
0.268311
0.268311
0.268311
0
0.074275
0.20308
2,078
83
62
25.036145
0.708937
0.025987
0
0.105263
0
0
0.00396
0
0
0
0
0
0.526316
1
0.070175
false
0
0.035088
0
0.122807
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
bb75f81e7b252d397d594558f4d26f86d2622648
139
py
Python
app/tests/settings.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
2
2019-06-28T09:23:55.000Z
2020-03-18T05:52:13.000Z
app/tests/settings.py
EYRA-Benchmark/comic
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
112
2019-08-12T15:13:27.000Z
2022-03-21T15:49:40.000Z
app/tests/settings.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
1
2020-03-19T14:19:57.000Z
2020-03-19T14:19:57.000Z
# noinspection PyUnresolvedReferences from config.settings import * """ Settings overrides for tests """ ALLOWED_HOSTS = [".testserver"]
19.857143
37
0.76259
13
139
8.076923
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.129496
139
6
38
23.166667
0.867769
0.251799
0
0
0
0
0.166667
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
bb83572fe49cd4e5b046c7e72576e3705b43d769
1,646
py
Python
backoffice/templatetags/custom_tags.py
linkedin/indextank-service
880c6295ce8e7a3a55bf9b3777cc35c7680e0d7e
[ "Apache-2.0" ]
26
2015-06-15T11:21:09.000Z
2020-12-27T19:42:14.000Z
backoffice/templatetags/custom_tags.py
LinkedInAttic/indextank-service
880c6295ce8e7a3a55bf9b3777cc35c7680e0d7e
[ "Apache-2.0" ]
1
2020-09-15T19:34:38.000Z
2020-09-15T19:34:38.000Z
backoffice/templatetags/custom_tags.py
LinkedInAttic/indextank-service
880c6295ce8e7a3a55bf9b3777cc35c7680e0d7e
[ "Apache-2.0" ]
12
2015-03-17T17:14:19.000Z
2019-12-21T13:26:23.000Z
from django import template from django.template import Node from django.conf import settings register = template.Library() @register.filter(name='fdivide') def fdivide(value,arg): return float(value) / float(arg) @register.filter(name='fmultiply') def fmultiply(value,arg): return float(value) * float(arg) ...
28.877193
134
0.698663
218
1,646
5.045872
0.357798
0.063636
0.081818
0.046364
0.174545
0.123636
0.058182
0
0
0
0
0.01037
0.17983
1,646
56
135
29.392857
0.804444
0.020049
0
0
0
0
0.064399
0
0
0
0
0
0
1
0.227273
false
0
0.068182
0.113636
0.522727
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
bb933d9dd978d0e6626c9a2915f1ac325087f04e
382
py
Python
tests/unit/test_memo_program.py
michaelhly/serumpy
ec5ea6a3a75482ae8a7a2663439c4f2d4a295c31
[ "MIT" ]
null
null
null
tests/unit/test_memo_program.py
michaelhly/serumpy
ec5ea6a3a75482ae8a7a2663439c4f2d4a295c31
[ "MIT" ]
null
null
null
tests/unit/test_memo_program.py
michaelhly/serumpy
ec5ea6a3a75482ae8a7a2663439c4f2d4a295c31
[ "MIT" ]
null
null
null
from solana.keypair import Keypair from spl.memo.constants import MEMO_PROGRAM_ID from spl.memo.instructions import MemoParams, create_memo, decode_create_memo def test_memo(): """Test creating a memo instruction.""" params = MemoParams(signer=Keypair().public_key, message=b"test", program_id=MEMO_PROGRAM_ID)...
38.2
97
0.790576
54
382
5.351852
0.462963
0.138408
0.076125
0
0
0
0
0
0
0
0
0
0.115183
382
9
98
42.444444
0.85503
0.086387
0
0
0
0
0.011662
0
0
0
0
0
0.166667
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bbb29f4895518086685254009c26ba2fe9eba70b
832
py
Python
applications/bibliofund/mixins.py
ALittleMoron/django-graduate-work
1c0c94134c43939df3dcdc56cb8a920f6bd130d1
[ "MIT" ]
null
null
null
applications/bibliofund/mixins.py
ALittleMoron/django-graduate-work
1c0c94134c43939df3dcdc56cb8a920f6bd130d1
[ "MIT" ]
null
null
null
applications/bibliofund/mixins.py
ALittleMoron/django-graduate-work
1c0c94134c43939df3dcdc56cb8a920f6bd130d1
[ "MIT" ]
null
null
null
from typing import Optional from django.contrib.auth.mixins import UserPassesTestMixin from django.core.exceptions import PermissionDenied from django.shortcuts import get_object_or_404 from .models import Document class UserIsPublisher(UserPassesTestMixin): """ Класс проверки принадлежности пользователя к доку...
39.619048
82
0.728365
99
832
6.020202
0.636364
0.050336
0.036913
0.04698
0
0
0
0
0
0
0
0.008863
0.186298
832
21
83
39.619048
0.871492
0.201923
0
0
0
0
0.072981
0
0
0
0
0
0
1
0.153846
false
0.153846
0.384615
0
0.769231
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
bbdb6757e94b5adf96f0b4f06d433e9f28cb481f
152
py
Python
main/__init__.py
shasw94/sentiment-analysis
8e39b7a6d0e772ef1974ae82a1120e81e35c6f10
[ "MIT" ]
4
2019-12-09T09:41:01.000Z
2019-12-12T17:33:43.000Z
main/__init__.py
shasw94/sentiment-analysis
8e39b7a6d0e772ef1974ae82a1120e81e35c6f10
[ "MIT" ]
1
2021-06-02T00:44:45.000Z
2021-06-02T00:44:45.000Z
main/__init__.py
shasw94/sentiment-analysis
8e39b7a6d0e772ef1974ae82a1120e81e35c6f10
[ "MIT" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) app.config['SECRET_KEY'] = '04c45ebc6159ed5d60be3fbf273a4b37' from main import routes
19
61
0.802632
18
152
6.444444
0.722222
0
0
0
0
0
0
0
0
0
0
0.134328
0.118421
152
7
62
21.714286
0.731343
0
0
0
0
0
0.276316
0.210526
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
a51e7fc665cddf1858e44853b1320ebeed249ec8
1,410
py
Python
opnfv_testapi/db/api.py
xudan16/dovetail-webportal
a3f41a3a2c2ef871b0e314ec14bbfff532f533f6
[ "Apache-2.0" ]
2
2018-09-05T15:00:25.000Z
2019-02-25T14:11:47.000Z
opnfv_testapi/db/api.py
xudan16/dovetail-webportal
a3f41a3a2c2ef871b0e314ec14bbfff532f533f6
[ "Apache-2.0" ]
5
2020-10-27T21:16:33.000Z
2022-01-13T01:08:02.000Z
opnfv_testapi/db/api.py
xudan16/dovetail-webportal
a3f41a3a2c2ef871b0e314ec14bbfff532f533f6
[ "Apache-2.0" ]
8
2018-07-27T03:09:34.000Z
2019-11-07T06:57:17.000Z
############################################################################## # Copyright (c) 2019 opnfv. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www....
29.375
78
0.673759
174
1,410
5.195402
0.431034
0.059735
0.09292
0.146018
0.173673
0.131637
0.090708
0
0
0
0
0.006457
0.121277
1,410
47
79
30
0.723164
0.184397
0
0
0
0
0.047619
0
0
0
0
0
0
1
0.4
false
0
0.1
0.35
0.9
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
a54fd603f639d44f9ecc23aaa39f63a4b6c46a97
146
py
Python
pythonExamples/tutorial/menu.py
davidruffner/computation-physics-nyu-2009
754d48f820773cd6b1b3cd3a7444363b78e1ea00
[ "MIT" ]
null
null
null
pythonExamples/tutorial/menu.py
davidruffner/computation-physics-nyu-2009
754d48f820773cd6b1b3cd3a7444363b78e1ea00
[ "MIT" ]
null
null
null
pythonExamples/tutorial/menu.py
davidruffner/computation-physics-nyu-2009
754d48f820773cd6b1b3cd3a7444363b78e1ea00
[ "MIT" ]
null
null
null
def menu(list, question): for entry in list: print 1 + list.index(entry), print ") " + entry return input(question) - 1
18.25
36
0.568493
19
146
4.368421
0.631579
0
0
0
0
0
0
0
0
0
0
0.02
0.315068
146
7
37
20.857143
0.81
0
0
0
0
0
0.013793
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
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
a55cfcc3887512a680b7d4e3cb5c06ca99e7656b
368
py
Python
sosa/relationship.py
eigendude/pysosa
d645e484d2d588504ab8fbdfcd6584209d903fef
[ "BSD-3-Clause" ]
null
null
null
sosa/relationship.py
eigendude/pysosa
d645e484d2d588504ab8fbdfcd6584209d903fef
[ "BSD-3-Clause" ]
null
null
null
sosa/relationship.py
eigendude/pysosa
d645e484d2d588504ab8fbdfcd6584209d903fef
[ "BSD-3-Clause" ]
null
null
null
################################################################################ # # Copyright (C) 2020 Garrett Brown # This file is part of pysosa - https://github.com/eigendude/pysosa # # SPDX-License-Identifier: BSD-3-Clause # See the file LICENSE for more information. # #########################################...
30.666667
80
0.399457
30
368
4.9
0.9
0
0
0
0
0
0
0
0
0
0
0.015152
0.103261
368
11
81
33.454545
0.430303
0.508152
0
null
0
null
0
0
null
0
0
0.090909
null
1
null
true
0
0
null
null
null
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
0
0
1
0
0
0
1
0
0
0
0
0
0
3
a55dab272f82901ad25ca7d5920515c81721a579
508
py
Python
past_codes/Serial_keyboard.py
YanLeee0217/REMATCH
75a9359f3cef7859b5e5506ae47e15ccffb825e6
[ "MIT" ]
1
2020-07-09T23:08:23.000Z
2020-07-09T23:08:23.000Z
past_codes/Serial_keyboard.py
YanLeee0217/REMATCH
75a9359f3cef7859b5e5506ae47e15ccffb825e6
[ "MIT" ]
null
null
null
past_codes/Serial_keyboard.py
YanLeee0217/REMATCH
75a9359f3cef7859b5e5506ae47e15ccffb825e6
[ "MIT" ]
3
2019-12-16T11:04:06.000Z
2020-04-10T07:53:16.000Z
import keyboard import serial encoder = serial.Serial('/dev/ttyACM0',9600) # check the port before running encoder.flushInput() while True: try: if encoder.inWaiting: if ord(encoder.read(1))==1: keyboard.press_and_release('left') keyboard.press_and_release('left') keyboard.press_and_release('left')...
23.090909
76
0.732283
68
508
5.294118
0.441176
0.216667
0.266667
0.383333
0.552778
0.458333
0.458333
0.458333
0.458333
0.458333
0
0.020642
0.141732
508
21
77
24.190476
0.805046
0.057087
0
0.352941
0
0
0.081933
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a56af0a69c5731df17e4e721a8177a9006bfda32
28
py
Python
python/testData/refactoring/move/qualifiedReferenceInDestinationModule/before/src/a.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/move/qualifiedReferenceInDestinationModule/before/src/a.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/move/qualifiedReferenceInDestinationModule/before/src/a.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
FOO = 1 something_else = 2
7
18
0.678571
5
28
3.6
1
0
0
0
0
0
0
0
0
0
0
0.095238
0.25
28
3
19
9.333333
0.761905
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
a57214c708c29f5604fce5e099dc6531a4522398
59
py
Python
myproject/apps/blog/__init__.py
mrkaskani/blog
c728f69731ae8f4fb5bd2f5d56015af3f557bcaf
[ "MIT" ]
null
null
null
myproject/apps/blog/__init__.py
mrkaskani/blog
c728f69731ae8f4fb5bd2f5d56015af3f557bcaf
[ "MIT" ]
10
2021-03-30T13:06:53.000Z
2022-03-12T01:05:30.000Z
myproject/apps/blog/__init__.py
mrkaskani/blog
c728f69731ae8f4fb5bd2f5d56015af3f557bcaf
[ "MIT" ]
null
null
null
default_app_config = 'myproject.apps.blog.apps.BlogConfig'
29.5
58
0.830508
8
59
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.839286
0
0
0
0
0
0.59322
0.59322
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a572bda337d2c24333644dac627209c9fb2639e8
1,276
py
Python
api/models.py
NachiketaDhal/Ed-Flix
b4f806a2492a9894b30f50ea07700ec2d9b8d390
[ "MIT" ]
6
2021-02-28T06:12:22.000Z
2021-02-28T19:13:00.000Z
api/models.py
NachiketaDhal/Ed-Flix
b4f806a2492a9894b30f50ea07700ec2d9b8d390
[ "MIT" ]
3
2021-02-27T21:36:43.000Z
2021-03-01T14:53:53.000Z
api/models.py
NachiketaDhal/Ed-Flix
b4f806a2492a9894b30f50ea07700ec2d9b8d390
[ "MIT" ]
9
2020-11-20T07:24:02.000Z
2021-05-02T06:01:07.000Z
from django.db import models import json # Create your models here. class FileUpload(models.Model,dict): id = models.IntegerField(auto_created=True,primary_key=True) title = models.CharField(max_length=100) subtitle = models.CharField(max_length=100) author = models.CharField(max_length=100) ...
30.380952
75
0.621473
146
1,276
5.253425
0.363014
0.11734
0.211213
0.281617
0.229465
0.088657
0
0
0
0
0
0.032839
0.260188
1,276
41
76
31.121951
0.779661
0.018809
0
0
0
0
0.077724
0
0
0
0
0
0
1
0.030303
false
0
0.060606
0
0.515152
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
a585a0a566bae566fa1800571ad29ed46d0293a9
118
py
Python
example.py
alexeyev/RuConceptNet
fb6458facd4ded020729cce5e6526e0d756ecf48
[ "MIT" ]
8
2020-11-25T19:29:14.000Z
2021-09-20T10:47:56.000Z
example.py
alexeyev/RuConceptNet
fb6458facd4ded020729cce5e6526e0d756ecf48
[ "MIT" ]
null
null
null
example.py
alexeyev/RuConceptNet
fb6458facd4ded020729cce5e6526e0d756ecf48
[ "MIT" ]
1
2021-09-02T06:42:11.000Z
2021-09-02T06:42:11.000Z
# -*- coding: utf-8 -*- from ruconceptnet import ConceptNet cn = ConceptNet() print(cn.check_pair("собака", "пёс"))
16.857143
37
0.677966
15
118
5.266667
0.866667
0
0
0
0
0
0
0
0
0
0
0.009804
0.135593
118
7
37
16.857143
0.764706
0.177966
0
0
0
0
0.09375
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
a588cd3c191e08f69d40b226b90de4be6fed2457
250
py
Python
home/views.py
AkinWilderman/myPort
3ddeea04ccffe3ed7b66d6dba2c1f2dc00c9eb6c
[ "Apache-2.0" ]
null
null
null
home/views.py
AkinWilderman/myPort
3ddeea04ccffe3ed7b66d6dba2c1f2dc00c9eb6c
[ "Apache-2.0" ]
null
null
null
home/views.py
AkinWilderman/myPort
3ddeea04ccffe3ed7b66d6dba2c1f2dc00c9eb6c
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from .models import Home from jobs.models import Job def home(request): jobs = Job.objects.order_by('-date') homy = Home.objects return render(request, 'home/home.html', {'jobs': jobs, 'homy': homy})
25
74
0.704
36
250
4.861111
0.5
0.137143
0
0
0
0
0
0
0
0
0
0
0.164
250
9
75
27.777778
0.837321
0
0
0
0
0
0.108
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a5990f2444b57e3dab17ea643d9fc80193fc3f99
202
py
Python
person.py
Imafikus/petnica-api-workshop
34c14b8e444007fcfbece8225a22916cf0a32940
[ "Apache-2.0" ]
null
null
null
person.py
Imafikus/petnica-api-workshop
34c14b8e444007fcfbece8225a22916cf0a32940
[ "Apache-2.0" ]
null
null
null
person.py
Imafikus/petnica-api-workshop
34c14b8e444007fcfbece8225a22916cf0a32940
[ "Apache-2.0" ]
null
null
null
from pydantic import BaseModel from typing import List class Person(BaseModel): id: int name: str surname: str status: str class Course(BaseModel): people: List[Person] = []
18.363636
30
0.663366
25
202
5.36
0.64
0
0
0
0
0
0
0
0
0
0
0
0.257426
202
11
31
18.363636
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
a5b83ba659ab9e26117413aee025fe3c2bd53ec0
223
py
Python
exceptions_TypeError.py
lmokto/allexceptions
4cdbda52ea00d8022240530649ea85557c1621b2
[ "MIT" ]
null
null
null
exceptions_TypeError.py
lmokto/allexceptions
4cdbda52ea00d8022240530649ea85557c1621b2
[ "MIT" ]
null
null
null
exceptions_TypeError.py
lmokto/allexceptions
4cdbda52ea00d8022240530649ea85557c1621b2
[ "MIT" ]
null
null
null
result = ('tuple',) + 'string' ''' Traceback (most recent call last): File "exceptions_TypeError.py", line 12, in <module> result = ('tuple',) + 'string' TypeError: can only concatenate tuple (not "str") to tuple '''
27.875
58
0.654709
28
223
5.178571
0.785714
0.151724
0.234483
0
0
0
0
0
0
0
0
0.010811
0.170404
223
8
59
27.875
0.772973
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
36fff35aca7a9a2390f8850a9d0300eb0e7dd04a
1,043
py
Python
twitter.py
andylolz/mpcvtweet
eae08fbc057feaa613ef6944b940ea8811986c8b
[ "MIT" ]
null
null
null
twitter.py
andylolz/mpcvtweet
eae08fbc057feaa613ef6944b940ea8811986c8b
[ "MIT" ]
null
null
null
twitter.py
andylolz/mpcvtweet
eae08fbc057feaa613ef6944b940ea8811986c8b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import tweepy class TwitterAPI: """ Class for accessing the Twitter API. Requires API credentials to be available in environment variables. These will be set appropriately if the bot was created with init.sh included with the heroku-twitterbot-starter """ ...
32.59375
75
0.690316
138
1,043
5.007246
0.463768
0.111433
0.069465
0.109986
0.238784
0.086831
0
0
0
0
0
0.006068
0.209971
1,043
31
76
33.645161
0.832524
0.241611
0
0
0
0
0.118734
0.065963
0
0
0
0
0
1
0.235294
false
0
0.117647
0.117647
0.529412
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
3c0120bc446a1c5ded5797e73ddbc168b92f493f
342
py
Python
Health_check.py
madharsh1819/System-Health-Check-and-Network-Analysis
f0e7d6a19509375ad32bc2d9cb3c24d03e582380
[ "MIT" ]
null
null
null
Health_check.py
madharsh1819/System-Health-Check-and-Network-Analysis
f0e7d6a19509375ad32bc2d9cb3c24d03e582380
[ "MIT" ]
null
null
null
Health_check.py
madharsh1819/System-Health-Check-and-Network-Analysis
f0e7d6a19509375ad32bc2d9cb3c24d03e582380
[ "MIT" ]
null
null
null
import shutil import psutil def check_disk_usage(disk): """Verifies that there's enough free space on disk""" du = shutil.disk_usage(disk) free = du.free / du.total * 100 return free def check_cpu_usage(): """Verifies that there's enough unused CPU""" usage = psutil.cpu_percent(...
21.375
58
0.652047
49
342
4.428571
0.469388
0.073733
0.119816
0.165899
0.221198
0
0
0
0
0
0
0.015625
0.251462
342
15
59
22.8
0.832031
0.254386
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3c3af8b8d95f7b4d6a1ce6f317edc97dff5b04b3
650
py
Python
cse/lang/NltkStopwordFilter.py
CodeLionX/CommentSearchEngine
9ebab14b93865a3e18db32aaa0bdb9579163da4a
[ "MIT" ]
2
2017-11-18T22:40:56.000Z
2018-12-21T15:09:24.000Z
cse/lang/NltkStopwordFilter.py
CodeLionX/CommentSearchEngine
9ebab14b93865a3e18db32aaa0bdb9579163da4a
[ "MIT" ]
49
2017-10-26T14:58:58.000Z
2018-02-11T23:50:50.000Z
cse/lang/NltkStopwordFilter.py
CodeLionX/CommentSearchEngine
9ebab14b93865a3e18db32aaa0bdb9579163da4a
[ "MIT" ]
null
null
null
from cse.lang.PreprocessorStep import PreprocessorStep class NltkStopwordFilter(PreprocessorStep): __stopwordlist = set() def __init__(self, stopwordList): # lookup is faster in a set than a list self.__stopwordlist = set(stopwordList) @staticmethod def english(): from nltk...
27.083333
105
0.710769
73
650
6.164384
0.520548
0.142222
0.04
0.093333
0
0
0
0
0
0
0
0.001972
0.22
650
24
106
27.083333
0.885602
0.056923
0
0
0
0
0.011438
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.153846
0.846154
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
3c464b59c011d63868aae184ed38dc86cae36384
112
py
Python
test_autolens/imaging/model/test_result_imaging.py
Jammy2211/AutoLens
bc132a21d1a52248f08f198474e29f985e365d85
[ "MIT" ]
114
2018-03-05T07:31:47.000Z
2022-03-08T06:40:52.000Z
test_autolens/imaging/model/test_result_imaging.py
Jammy2211/PyAutoLens
728100a3bf13f89f35030724aa08593ab44e65eb
[ "MIT" ]
143
2018-01-31T09:57:13.000Z
2022-03-16T09:41:05.000Z
test_autolens/imaging/model/test_result_imaging.py
Jammy2211/AutoLens
bc132a21d1a52248f08f198474e29f985e365d85
[ "MIT" ]
33
2018-01-31T12:15:57.000Z
2022-01-08T18:31:02.000Z
import os directory = os.path.dirname(os.path.realpath(__file__)) class TestResultImaging: pass
12.444444
56
0.696429
13
112
5.692308
0.769231
0.162162
0
0
0
0
0
0
0
0
0
0
0.214286
112
8
57
14
0.840909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3c4afc8b7a84ae194d4c9b57da1cd95b9fce15f8
352
py
Python
pybetter/list.py
cjwcommuny/pybetter
1c9d270d6128b05b429d790ef493096ad0a586ff
[ "MIT" ]
null
null
null
pybetter/list.py
cjwcommuny/pybetter
1c9d270d6128b05b429d790ef493096ad0a586ff
[ "MIT" ]
null
null
null
pybetter/list.py
cjwcommuny/pybetter
1c9d270d6128b05b429d790ef493096ad0a586ff
[ "MIT" ]
null
null
null
from typing import Iterable, Tuple, List, Union def unpack_iterable_of_tuple(iter: Iterable[tuple]) -> Tuple[list, ...]: return tuple(list(x) for x in zip(*iter)) def list_slice(lst: List[Tuple], key: Union[int, str]) -> list: """ e.g. >>> list_slice([(0,1),(1,2),(2,3)], key=0) [0,1,2] """ ...
23.466667
72
0.588068
59
352
3.423729
0.457627
0.133663
0.059406
0
0
0
0
0
0
0
0
0.035714
0.204545
352
14
73
25.142857
0.685714
0.15625
0
0
0
0
0
0
0
0
0
0
0
1
0.4
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
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
3c4deadae4de2cc1cc30c7a30fb31b45fae2cb34
25,268
py
Python
bot/deprecated/guessthechar/themes.py
Rickaym/Nexus-Bot
86b17ca5f7cce10eae981157971990875eda0a06
[ "MIT" ]
null
null
null
bot/deprecated/guessthechar/themes.py
Rickaym/Nexus-Bot
86b17ca5f7cce10eae981157971990875eda0a06
[ "MIT" ]
null
null
null
bot/deprecated/guessthechar/themes.py
Rickaym/Nexus-Bot
86b17ca5f7cce10eae981157971990875eda0a06
[ "MIT" ]
null
null
null
class Fortnite: CHARACTERS = {"Raven" :"https://lh5.googleusercontent.com/89tmMS73f0Xa6ki9DPQ1ww1foWMAztEFrTw_cNKiB6ttdbYTfySZwLoUJKMluR5vVW_Z3HvTdrkmP4Jv9Q82nCUg-0cFk1ydPHXGMIt1OQwEJ8KnCFt7DO1fwWioSKuuudPLe5_x", "Dark Hound" :"https://brokenpanda.net/wp-content/uploads/Molten-Battle-Hound-Fortnite-Wal...
118.074766
626
0.766543
3,113
25,268
6.159332
0.368134
0.033274
0.048399
0.072598
0.323302
0.282153
0.213205
0.155002
0.071138
0.039481
0
0.169607
0.08018
25,268
214
627
118.074766
0.655365
0
0
0.01005
0
0.61809
0.876568
0
0
0
0.000237
0
0
1
0
false
0
0
0
0.100503
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3c6a95eded63868b9be4c39dd27bf52fd681143a
695
py
Python
wrangle/col/col_groupby_pdf.py
benjolitz/wrangle
bac0c2affe38fd35db171e2a1c1e835355778459
[ "MIT" ]
17
2018-07-29T20:02:55.000Z
2022-02-27T20:58:48.000Z
wrangle/col/col_groupby_pdf.py
benjolitz/wrangle
bac0c2affe38fd35db171e2a1c1e835355778459
[ "MIT" ]
24
2018-07-10T14:41:40.000Z
2022-01-31T19:44:32.000Z
wrangle/col/col_groupby_pdf.py
benjolitz/wrangle
bac0c2affe38fd35db171e2a1c1e835355778459
[ "MIT" ]
10
2019-07-29T03:36:47.000Z
2022-03-05T12:29:59.000Z
def col_groupby_pdf(data, col, metric_col, ascending=False): '''Cumulative Distribution Function Takes in a dataframe with at least 2 columns, and returns a groupby table with PDF. data | DataFrame | a pandas dataframe with the data col | str | name of the column to be grouped by metric_col |...
33.095238
134
0.683453
104
695
4.471154
0.5
0.096774
0.055914
0.068817
0.107527
0.107527
0.107527
0.107527
0
0
0
0.005484
0.21295
695
20
135
34.75
0.844607
0.486331
0
0
0
0
0.024922
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3c74a811ec968ff86dca3f686b020bb81a72475f
494
py
Python
warehouse/warehouse/customModels/model_customer.py
perivision/BAPPE
20b01b0aee6977ddc28d09b8fd667d2ec30486b6
[ "MIT" ]
1
2020-04-16T21:40:27.000Z
2020-04-16T21:40:27.000Z
warehouse/warehouse/customModels/model_customer.py
perivision/BAPPE
20b01b0aee6977ddc28d09b8fd667d2ec30486b6
[ "MIT" ]
null
null
null
warehouse/warehouse/customModels/model_customer.py
perivision/BAPPE
20b01b0aee6977ddc28d09b8fd667d2ec30486b6
[ "MIT" ]
null
null
null
from django.db import models from phonenumber_field.modelfields import PhoneNumberField class Customer(models.Model): customer_id = models.AutoField(primary_key=True) name = models.CharField(max_length=128) email = models.EmailField(max_length=128) # TODO fix phone invalid - also good to show example plac...
38
66
0.787449
64
494
5.953125
0.578125
0.11811
0.15748
0.251969
0.283465
0
0
0
0
0
0
0.034884
0.129555
494
13
67
38
0.851163
0.125506
0
0
0
0
0
0
0
0
0
0.076923
0
1
0
false
0
0.2
0
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
1
0
0
0
0
0
0
0
1
0
0
3
3c8c025650a25d70df218c0dd79846caa1f3149e
267
py
Python
python/language/sys/sys_version.py
futureseadev/hgwxx7
282b370afc7d9c277e6c1f5b31282f14f9236f7b
[ "MIT" ]
6
2018-06-21T09:44:36.000Z
2021-10-01T18:37:41.000Z
python/language/sys/sys_version.py
futureseadev/hgwxx7
282b370afc7d9c277e6c1f5b31282f14f9236f7b
[ "MIT" ]
15
2020-01-28T22:56:15.000Z
2022-03-11T23:55:52.000Z
python/language/sys/sys_version.py
praveentn/hgwxx7
282b370afc7d9c277e6c1f5b31282f14f9236f7b
[ "MIT" ]
2
2018-06-25T16:40:20.000Z
2021-10-01T18:37:42.000Z
# loading modules specific to a Python version import sys sys.version_info # sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0) if sys.version_info[0]>=3: from html.parser import HTMLParser else: from HTMLParser import HTMLParser
20.538462
77
0.756554
41
267
4.853659
0.634146
0.150754
0.211055
0
0
0
0
0
0
0
0
0.026432
0.149813
267
12
78
22.25
0.85022
0.449438
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b1c460811e0736fada39ef1d18416a4903188836
290
py
Python
labelio/Readers/DataReaderBase.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
labelio/Readers/DataReaderBase.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
labelio/Readers/DataReaderBase.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
from typing import Protocol, runtime_checkable @runtime_checkable class DataReaderBase(Protocol): def ListOfLabels(self): ... def ImageName(self) -> str: ... def ImagePath(self) -> str: ... def ReadLabelSource(self, source) -> None: ...
17.058824
46
0.6
27
290
6.37037
0.62963
0.186047
0.116279
0
0
0
0
0
0
0
0
0
0.275862
290
16
47
18.125
0.819048
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0
0.545455
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b1cbe156f09c71c93a7271be1c79df1a8b43dcea
1,688
py
Python
eremaea/serializers.py
matwey/django-eremaea2
71dd65cf9b53a6b256e8445f8adc7c05b78ebe70
[ "BSD-2-Clause" ]
null
null
null
eremaea/serializers.py
matwey/django-eremaea2
71dd65cf9b53a6b256e8445f8adc7c05b78ebe70
[ "BSD-2-Clause" ]
12
2016-04-03T14:54:39.000Z
2021-12-26T12:43:57.000Z
eremaea/serializers.py
matwey/django-eremaea2
71dd65cf9b53a6b256e8445f8adc7c05b78ebe70
[ "BSD-2-Clause" ]
1
2020-07-10T18:20:27.000Z
2020-07-10T18:20:27.000Z
from eremaea import models from rest_framework import serializers class RetentionPolicySerializer(serializers.HyperlinkedModelSerializer): url = serializers.HyperlinkedIdentityField(lookup_field='name', view_name='retention_policy-detail') class Meta: model = models.RetentionPolicy fields = ('url', 'name', 'dur...
56.266667
168
0.80628
178
1,688
7.460674
0.264045
0.054217
0.200301
0.221386
0.594127
0.578313
0.578313
0.578313
0.578313
0.578313
0
0
0.072867
1,688
29
169
58.206897
0.848562
0
0
0.130435
0
0
0.191943
0.055095
0
0
0
0
0
1
0
false
0
0.086957
0
0.73913
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
b1d5ed3e4f4cc405a3a6cd56b770c77abb23f0fd
5,623
py
Python
test/test_exec/test_set_inc_dec.py
iafisher/hera-py
773729870cd593f0dc55ac6fe8b9c8690faa73c1
[ "MIT" ]
2
2020-10-27T19:16:45.000Z
2020-10-27T19:26:44.000Z
test/test_exec/test_set_inc_dec.py
iafisher/hera-py
773729870cd593f0dc55ac6fe8b9c8690faa73c1
[ "MIT" ]
141
2018-11-20T16:55:06.000Z
2021-03-29T01:07:59.000Z
test/test_exec/test_set_inc_dec.py
iafisher/hera-py
773729870cd593f0dc55ac6fe8b9c8690faa73c1
[ "MIT" ]
1
2019-02-27T22:02:33.000Z
2019-02-27T22:02:33.000Z
import pytest from .utils import helper from hera.utils import to_u16 from hera.vm import VirtualMachine @pytest.fixture def vm(): return VirtualMachine() def test_SETLO_with_positive(vm): helper(vm, "SETLO(R5, 23)") assert vm.registers[5] == 23 def test_SETLO_with_negative(vm): helper(vm, "SETL...
17.68239
46
0.65979
933
5,623
3.736334
0.094319
0.105565
0.136546
0.068847
0.85284
0.752151
0.593517
0.489386
0.366609
0.293173
0
0.064581
0.204161
5,623
317
47
17.73817
0.714413
0
0
0.37931
0
0
0.084297
0
0
0
0
0
0.356322
1
0.241379
false
0
0.022989
0.005747
0.270115
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b1fe7fe631e708c5b38725c686453d39082edab6
333
py
Python
test/lit.cfg.py
UniHD-CEG/cuda-memtrace
197c1a880633096b3ef693e6b880460a06e70b58
[ "X11" ]
9
2019-07-02T02:56:27.000Z
2021-09-03T09:20:29.000Z
test/lit.cfg.py
UniHD-CEG/cuda-memtrace
197c1a880633096b3ef693e6b880460a06e70b58
[ "X11" ]
1
2020-12-15T22:07:30.000Z
2021-02-13T17:18:52.000Z
test/lit.cfg.py
UniHD-CEG/cuda-memtrace
197c1a880633096b3ef693e6b880460a06e70b58
[ "X11" ]
3
2019-09-24T17:05:34.000Z
2021-09-03T09:20:31.000Z
# -*- Python -*- # Configuration file for the 'lit' test runner. import os import sys import platform import lit.util import lit.formats from lit.llvm import llvm_config # name: The name of this test suite. config.name = 'Memtrace' config.test_format = lit.formats.ShTest("O") config.suffixes = ['.ll'] config.target...
18.5
47
0.72973
49
333
4.897959
0.591837
0.075
0
0
0
0
0
0
0
0
0
0
0.15015
333
17
48
19.588235
0.848057
0.285285
0
0
0
0
0.051282
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
592aa26743899c7c5018dc460574a980af5b0c52
4,559
py
Python
backup/Expression.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
backup/Expression.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
backup/Expression.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
from .Value import * from .Variable import * class Expression(Value): #@property #def is_lvalue(self): # return False def __init__(self): super().__init__() #super(Expression,self).__init__() # def check_lvalue(self,op:Value): # if not op.is_lvalue: # raise...
25.327778
99
0.60408
553
4,559
4.846293
0.121157
0.094403
0.053358
0.071642
0.597015
0.539552
0.49291
0.450373
0.409701
0.36903
0
0.001759
0.25181
4,559
180
100
25.327778
0.783934
0.193244
0
0.5
0
0
0.041929
0
0
0
0
0
0
1
0.270833
false
0.010417
0.020833
0.197917
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
592c79eb20b8ca46e4c05d57fc2c4ba62b5d9f10
3,181
py
Python
vendor/RainbowRepacker/src/config.py
huangtao/cloud-test
8087b1337d47daab9eb39335ca6e286df0e4b4dc
[ "Apache-2.0" ]
1
2018-09-12T15:43:32.000Z
2018-09-12T15:43:32.000Z
vendor/RainbowRepacker/src/config.py
huangtao/cloud-test
8087b1337d47daab9eb39335ca6e286df0e4b4dc
[ "Apache-2.0" ]
null
null
null
vendor/RainbowRepacker/src/config.py
huangtao/cloud-test
8087b1337d47daab9eb39335ca6e286df0e4b4dc
[ "Apache-2.0" ]
3
2018-09-12T15:43:33.000Z
2019-07-10T09:50:15.000Z
#-*-coding:utf8-*- ''' Created on 2014-11-3 @author RestWang ''' import threading import json import os class ConfigParse(object): def __init__(self): pass __configParse = None __lock = threading.Lock() __productName = '' __productId = '' __productVersionCode = '...
27.422414
68
0.613015
258
3,181
7.158915
0.360465
0.075799
0.053059
0.048728
0.081754
0.060639
0.060639
0.060639
0
0
0
0.005801
0.295505
3,181
115
69
27.66087
0.818385
0.083307
0
0.092105
0
0
0.046453
0.008282
0
0
0
0
0
1
0.25
false
0.013158
0.039474
0.171053
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
593c1b2e8466b00ae37de132e74ef511454e2b8d
1,068
py
Python
envcon/extended_environ.py
neriat/envcon
f934f335451a21022a1c0124c79d71c3f843866a
[ "MIT" ]
null
null
null
envcon/extended_environ.py
neriat/envcon
f934f335451a21022a1c0124c79d71c3f843866a
[ "MIT" ]
null
null
null
envcon/extended_environ.py
neriat/envcon
f934f335451a21022a1c0124c79d71c3f843866a
[ "MIT" ]
null
null
null
import os from typing import Mapping, Iterator, NoReturn, Any, Optional, Dict import dotenv class ExtendedEnviron(Mapping[str, str]): def __init__(self, read_dot_env_file: bool) -> None: self._dot_env: Dict[str, Optional[str]] = dotenv.dotenv_values(".env") if read_dot_env_file else {} def __getitem...
34.451613
107
0.679775
146
1,068
4.609589
0.369863
0.080238
0.053492
0.10104
0.193165
0.193165
0.15156
0.104012
0
0
0
0
0.212547
1,068
30
108
35.6
0.800238
0
0
0
0
0
0.066479
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
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
5941d1df962f6f2ab4ed7af8a8772d1965b8b750
325
py
Python
roots.py
KFavour/geeksforgeeks
f920701b622ff56cf584f9c462b5afe2e2dfe6fb
[ "MIT" ]
null
null
null
roots.py
KFavour/geeksforgeeks
f920701b622ff56cf584f9c462b5afe2e2dfe6fb
[ "MIT" ]
null
null
null
roots.py
KFavour/geeksforgeeks
f920701b622ff56cf584f9c462b5afe2e2dfe6fb
[ "MIT" ]
null
null
null
def findRoots(A, B, C): D = B**2 - 4*A*C if D >= 0: r1 = (-B-D**(0.5))/(2*A) if D == 0: R = [r1] else: r2 = (-B+D**(0.5))/(2*A) if A > 0: R = [r1, r2] else: R = [r2, r1] else: R = [-1] return ...
20.3125
36
0.255385
49
325
1.693878
0.346939
0.096386
0.096386
0.096386
0.192771
0.192771
0.192771
0
0
0
0
0.128378
0.544615
325
15
37
21.666667
0.432432
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5948ae829f0019bfe88c933d07fb80bd17526abb
127
py
Python
.history/Methods and Functions/Ran_Check_20200509085558.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
1
2020-05-18T17:50:00.000Z
2020-05-18T17:50:00.000Z
.history/Methods and Functions/Ran_Check_20200509085558.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
null
null
null
.history/Methods and Functions/Ran_Check_20200509085558.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
null
null
null
def rc(num, low, high): if num >= low and num <= high: print(f'num = {num} is between {low} and {high}') rc(5,2,7)
25.4
57
0.543307
24
127
2.875
0.583333
0.173913
0
0
0
0
0
0
0
0
0
0.031915
0.259843
127
5
58
25.4
0.702128
0
0
0
0
0
0.304688
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
0
1
0
0
0
0
0
0
0
3
595137455e162c327c9de88b10b47c358ad198e0
511
py
Python
tests/datasets/test_reverse.py
JiaqiLiu/PyTorch-NLP
71d2ce1e8b8da5ab4e7732d1ebf971150986e6c8
[ "BSD-3-Clause" ]
2,125
2018-03-17T23:31:03.000Z
2022-03-31T12:20:14.000Z
tests/datasets/test_reverse.py
zhengmingzhang/PyTorch-NLP
34a98b5fa5d2e13761546b94770aed12388528f2
[ "BSD-3-Clause" ]
109
2018-03-21T00:38:51.000Z
2021-12-24T08:34:55.000Z
tests/datasets/test_reverse.py
zhengmingzhang/PyTorch-NLP
34a98b5fa5d2e13761546b94770aed12388528f2
[ "BSD-3-Clause" ]
270
2018-03-18T16:47:01.000Z
2022-03-17T08:01:58.000Z
from torchnlp.datasets import reverse_dataset def test_reverse_dataset(): test_data = reverse_dataset(test=True) train_data, dev_data, test_data = reverse_dataset(test=True, train=True, dev=True) # Test if data generated is consistent assert list(test_data) == list(test_data) assert len(train_data...
30.058824
86
0.733855
77
511
4.597403
0.285714
0.158192
0.20339
0.186441
0.282486
0.282486
0.19774
0
0
0
0
0.021327
0.174168
511
16
87
31.9375
0.817536
0.07045
0
0
0
0
0
0
0
0
0
0
0.454545
1
0.181818
false
0
0.090909
0
0.272727
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
1
0
0
0
0
0
0
0
0
0
3
3caa4cd1fdbe311e506fd9dbd46a65c8579baf54
62
py
Python
AccesKey.py
MaateuszWojcik/Projekt-Python-Magazyn
c9bc7b2664cd4090167638cd5a3d91439be198f1
[ "MIT" ]
null
null
null
AccesKey.py
MaateuszWojcik/Projekt-Python-Magazyn
c9bc7b2664cd4090167638cd5a3d91439be198f1
[ "MIT" ]
null
null
null
AccesKey.py
MaateuszWojcik/Projekt-Python-Magazyn
c9bc7b2664cd4090167638cd5a3d91439be198f1
[ "MIT" ]
null
null
null
# Fill fields with your data login = '' passwd = '' host = ''
12.4
28
0.596774
8
62
4.625
1
0
0
0
0
0
0
0
0
0
0
0
0.241935
62
4
29
15.5
0.787234
0.419355
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3ccb99edca7c24c2e0d405a9274bb9bdb0e72e15
208
py
Python
setup.py
jfromme/ieegpy
3e486b3bc9fe227dcd05ec864c2be4cf836c0326
[ "Apache-2.0" ]
null
null
null
setup.py
jfromme/ieegpy
3e486b3bc9fe227dcd05ec864c2be4cf836c0326
[ "Apache-2.0" ]
null
null
null
setup.py
jfromme/ieegpy
3e486b3bc9fe227dcd05ec864c2be4cf836c0326
[ "Apache-2.0" ]
null
null
null
from distutils.core import setup, Extension setup (name = 'pyhabitat', version = '1.0', description = 'API for the habitat platform (IEEG.org)', py_modules=['hbt_auth','hbt_dataset'])
34.666667
64
0.649038
26
208
5.076923
0.923077
0
0
0
0
0
0
0
0
0
0
0.01227
0.216346
208
6
65
34.666667
0.797546
0
0
0
0
0
0.334928
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3ccc48fcd589bac7ca2cbf7fa21a7b0aa0afb131
261
py
Python
old_code/src_python/nmpccodegen/Cfunctions/ProximalFunction.py
kul-forbes/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
24
2017-11-13T02:17:10.000Z
2021-03-15T13:47:20.000Z
old_code/src_python/nmpccodegen/Cfunctions/ProximalFunction.py
kul-optec/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
14
2018-01-13T20:20:47.000Z
2020-05-12T11:21:12.000Z
old_code/src_python/nmpccodegen/Cfunctions/ProximalFunction.py
kul-optec/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
5
2018-08-14T14:27:41.000Z
2020-12-17T08:13:41.000Z
from .Function import Cfunction class ProximalFunction(Cfunction): """ Class that represents a function with its proximal mapping """ def __init__(self,prox): self._prox=prox @property def prox(self): return self._prox
20.076923
62
0.662835
30
261
5.566667
0.633333
0.143713
0
0
0
0
0
0
0
0
0
0
0.256705
261
12
63
21.75
0.860825
0.222222
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3cd655b4cc0f5a3ecff588a7dc6a221078b3c094
404
py
Python
tablas de multiplicar.py
carlos99c/Programming-2020B
53b08cb1d8b84558112f68f44aa3256f26fc93ca
[ "Apache-2.0" ]
null
null
null
tablas de multiplicar.py
carlos99c/Programming-2020B
53b08cb1d8b84558112f68f44aa3256f26fc93ca
[ "Apache-2.0" ]
null
null
null
tablas de multiplicar.py
carlos99c/Programming-2020B
53b08cb1d8b84558112f68f44aa3256f26fc93ca
[ "Apache-2.0" ]
null
null
null
#tablas de 1 al 10 print ("numero de tabla de a l 10") n= int(input("ingresa tu numero de tabla")) print (n,(" * 1 es ="),(n*1)) print (n,(" * 2 es ="),(n*2)) print (n,(" * 3 es ="),(n*3)) print (n,(" * 4 es ="),(n*4)) print (n,(" * 5 es ="),(n*5)) print (n,(" * 6 es ="),(n*6)) print (n,(" * 7 es ="),(n*7)) print (n...
25.25
43
0.445545
81
404
2.222222
0.296296
0.333333
0.144444
0
0
0
0
0
0
0
0
0.083851
0.20297
404
15
44
26.933333
0.475155
0.042079
0
0
0
0
0.370466
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3cebb9056b548e7a131b26936a675d5ecdc009a4
2,336
py
Python
instagram/models.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
instagram/models.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
instagram/models.py
Joannsaj/ig-clone
e3b3b934bfd3b41d5f8feb392758eb7248e1d8a2
[ "MIT" ]
null
null
null
from django.db import models from cloudinary.models import CloudinaryField from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class Profile(models.Model): profile_image = CloudinaryField('image', null=True) ...
28.839506
103
0.683647
287
2,336
5.397213
0.254355
0.036152
0.036152
0.054229
0.327954
0.285345
0.162686
0.132989
0.132989
0
0
0.002155
0.205479
2,336
81
104
28.839506
0.832435
0.010274
0
0.288136
0
0
0.029424
0
0
0
0
0
0
1
0.220339
false
0
0.084746
0.101695
0.745763
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
a71356c493a14f645a179b8a7210832a18084495
126,334
py
Python
techTreeInfo.py
makayla-moster/HammerBot
ef509284b1e272e7616794f46725f7714dcb6347
[ "MIT" ]
3
2021-12-30T19:45:24.000Z
2022-03-07T19:14:26.000Z
techTreeInfo.py
makayla-moster/HammerBot
ef509284b1e272e7616794f46725f7714dcb6347
[ "MIT" ]
29
2022-01-07T20:07:48.000Z
2022-03-30T01:10:16.000Z
techTreeInfo.py
makayla-moster/HammerBot
ef509284b1e272e7616794f46725f7714dcb6347
[ "MIT" ]
4
2022-01-07T20:17:56.000Z
2022-03-24T00:20:50.000Z
techTreeDict = { "Elite Genitour": ["Berbers"], "Supremacy": ["Spanish"], "Battle Elephant": ["Vietnamese", "Burmese", "Khmer", "Malay"], "Perfusion": ["Goths"], "Thalassocracy": ["Malay"], "Supplies": [ "Turks", "Vietnamese", "Burmese", "Incas", "Indians"...
20.495457
73
0.408884
7,529
126,334
6.860539
0.058972
0.045418
0.063888
0.07986
0.728341
0.701295
0.679147
0.661065
0.645248
0.634155
0
0.010374
0.42166
126,334
6,163
74
20.498783
0.696581
0
0
0.875569
0
0
0.409019
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a73756a1d5e11af705644c4c5a0a784a07d5bf49
91
py
Python
intro. cien.comp e python/semana 5/ex 3 Vogais.py
Mosiah-A/coursera
4d5574e1f7b375f799f86c9df85e7c3d7d2ebaed
[ "MIT" ]
null
null
null
intro. cien.comp e python/semana 5/ex 3 Vogais.py
Mosiah-A/coursera
4d5574e1f7b375f799f86c9df85e7c3d7d2ebaed
[ "MIT" ]
null
null
null
intro. cien.comp e python/semana 5/ex 3 Vogais.py
Mosiah-A/coursera
4d5574e1f7b375f799f86c9df85e7c3d7d2ebaed
[ "MIT" ]
null
null
null
def vogal(x): if x in "aAeEiIoOuU": return True else: return False
15.166667
25
0.538462
12
91
4.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.384615
91
5
26
18.2
0.875
0
0
0
0
0
0.10989
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
59592384553e8c9edc82ccb05c1815c5471c1b7c
1,598
py
Python
uPark_client/entities/vehicle.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
uPark_client/entities/vehicle.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
uPark_client/entities/vehicle.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
class Vehicle: def __init__(self, id = None, license_plate = None, brand = None, model = None, id_user = None, id_vehicle_type = None): self._id = id self._license_plate = license_plate self._brand = brand self._model = model self._id_user = id_user self._id_vehicle_t...
28.035088
133
0.642678
220
1,598
4.231818
0.113636
0.10956
0.153598
0.0913
0.324382
0.171858
0.135338
0.070892
0
0
0
0
0.261577
1,598
56
134
28.535714
0.788983
0.147059
0
0.176471
0
0.029412
0.126844
0.033186
0
0
0
0
0
1
0.352941
false
0
0
0.176471
0.647059
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
597065cd3b5ca3e9868014403f88605d0bfd6d1e
516
py
Python
main.py
Vivaldo-Roque/AlgorithmTranslator
f66ece0f30cd4f49addb9b18d0ce12c48ab80a5a
[ "MIT" ]
null
null
null
main.py
Vivaldo-Roque/AlgorithmTranslator
f66ece0f30cd4f49addb9b18d0ce12c48ab80a5a
[ "MIT" ]
null
null
null
main.py
Vivaldo-Roque/AlgorithmTranslator
f66ece0f30cd4f49addb9b18d0ce12c48ab80a5a
[ "MIT" ]
null
null
null
from AlgTrans import AlgTrans AT = AlgTrans("R U R'") generated = AT.generate() for key, value in generated.items(): print(key + " : " + value) print() #print(generated['Inverse']) #alg = "U R U' R'" #Inverse #print(AT.invertAlg(alg)) #Rotate x #print(AT.transAlg(alg, AT.XTR)) #Rotate y #print(AT.transAlg...
14.333333
36
0.658915
86
516
3.953488
0.383721
0.144118
0.264706
0.317647
0.352941
0
0
0
0
0
0
0
0.145349
516
36
37
14.333333
0.770975
0.610465
0
0
1
0
0.048649
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
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
597434074f01322d73d19d8ba22567da27b25a1f
227
py
Python
Aula03/exercise02.py
GabiDeutner/Python_exercises
3cfe8d02f3d3ee826160876cc94455f99281b273
[ "MIT" ]
4
2021-08-05T09:12:22.000Z
2021-12-09T01:27:44.000Z
Aula03/exercise02.py
GabiDeutner/Python_exercises
3cfe8d02f3d3ee826160876cc94455f99281b273
[ "MIT" ]
null
null
null
Aula03/exercise02.py
GabiDeutner/Python_exercises
3cfe8d02f3d3ee826160876cc94455f99281b273
[ "MIT" ]
null
null
null
''' 2) Faça um programa em Python que conte de 1 a 100 e a cada múltiplo de 10 emita uma mensagem: “Múltiplo de 10”. ''' for num in range (1,101,1): if (num % 10 == 0): print("O número", num, "é múltiplo de 10")
22.7
57
0.60793
43
227
3.209302
0.697674
0.217391
0.26087
0
0
0
0
0
0
0
0
0.113095
0.259912
227
9
58
25.222222
0.708333
0.497797
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
598dffed3cf4670b34c666576033eb7433dd0781
90
py
Python
Fig6_replay/secondrun/shared_setting.py
TatsuyaHaga/preplaymodel_codes
548df9ef5f85358fb03ed5f7f4cdc9e03a04bbf3
[ "MIT" ]
1
2019-02-26T04:15:16.000Z
2019-02-26T04:15:16.000Z
Fig6_replay/secondrun_nodndinh/shared_setting.py
TatsuyaHaga/preplaymodel_codes
548df9ef5f85358fb03ed5f7f4cdc9e03a04bbf3
[ "MIT" ]
null
null
null
Fig6_replay/secondrun_nodndinh/shared_setting.py
TatsuyaHaga/preplaymodel_codes
548df9ef5f85358fb03ed5f7f4cdc9e03a04bbf3
[ "MIT" ]
null
null
null
time_pitch=1.0 sim_len_sec=10.0 NE=300 Nsominh=200 Ndndinh=200 Ninput=300 Ndistractor=0
9
16
0.8
19
90
3.631579
0.789474
0
0
0
0
0
0
0
0
0
0
0.222222
0.1
90
9
17
10
0.62963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
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
59c5f78f778f14ac38247c9b09ceecadc1b01b5b
2,081
py
Python
recogn_img/model.py
emkor/recogn-img
6e8752b8d00be680b60a8b07fa9fd5dbd1c164c2
[ "MIT" ]
null
null
null
recogn_img/model.py
emkor/recogn-img
6e8752b8d00be680b60a8b07fa9fd5dbd1c164c2
[ "MIT" ]
null
null
null
recogn_img/model.py
emkor/recogn-img
6e8752b8d00be680b60a8b07fa9fd5dbd1c164c2
[ "MIT" ]
null
null
null
from typing import Tuple, Any, Dict class PredResult: PROB_MAX_DELTA_CONSIDERED_EQUAL = 0.1 BOX_MAX_DELTA_CONSIDERED_EQUAL = 50 __slots__ = ["obj_class", "prob", "box"] def __init__(self, obj_class: str, prob: float, box: Tuple[int, int, int, int]) -> None: self.obj_class = obj_class ...
30.602941
92
0.582412
282
2,081
3.886525
0.237589
0.10219
0.087591
0.083942
0.320255
0.22354
0.116788
0.067518
0.067518
0.067518
0
0.01296
0.295531
2,081
67
93
31.059701
0.734652
0.028832
0
0.156863
0
0.019608
0.057483
0.021308
0
0
0
0
0
1
0.254902
false
0
0.019608
0.137255
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
59d3f102fdbf47ea205f84425ae93915cddf867c
107
py
Python
ping.py
cgmark101/temet-files
6a4fa08e11d42bd78566ae2d0741810dd26b33bd
[ "MIT" ]
null
null
null
ping.py
cgmark101/temet-files
6a4fa08e11d42bd78566ae2d0741810dd26b33bd
[ "MIT" ]
null
null
null
ping.py
cgmark101/temet-files
6a4fa08e11d42bd78566ae2d0741810dd26b33bd
[ "MIT" ]
null
null
null
from fastapi import APIRouter route = APIRouter() @route.get('/ping') async def pong(): return 'pong'
15.285714
29
0.691589
14
107
5.285714
0.785714
0.378378
0
0
0
0
0
0
0
0
0
0
0.168224
107
7
30
15.285714
0.831461
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
59d5f560387fed711f559a6cf2c607edffc36628
1,957
py
Python
core/dynamics/learned_affine_dynamics.py
ivandariojr/core
c4dec054a3e80355ed3812d48ca2bba286584a67
[ "MIT" ]
7
2021-11-06T11:32:40.000Z
2022-03-16T00:06:23.000Z
core/dynamics/learned_affine_dynamics.py
ivandariojr/core
c4dec054a3e80355ed3812d48ca2bba286584a67
[ "MIT" ]
15
2020-01-28T22:49:18.000Z
2021-12-14T08:34:39.000Z
core/dynamics/learned_affine_dynamics.py
ivandariojr/core
c4dec054a3e80355ed3812d48ca2bba286584a67
[ "MIT" ]
6
2019-06-07T21:31:20.000Z
2021-12-13T01:00:02.000Z
from numpy import array, concatenate, zeros from .. import differentiate from .affine_dynamics import AffineDynamics class LearnedAffineDynamics(AffineDynamics): def __init__(self, affine_dynamics, res_aff_model): self.dynamics = affine_dynamics self.res_model = res_aff_model def process_drif...
36.924528
109
0.653551
307
1,957
3.934853
0.188925
0.02649
0.024834
0.049669
0.388245
0.260762
0.094371
0.094371
0.094371
0
0
0.006515
0.215636
1,957
52
110
37.634615
0.780456
0
0
0.055556
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
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
ab651a87ad6f06e1d4e250475408accb919c14aa
2,030
py
Python
src/servicenow/drivers/SOAP.py
theabgupta/python-servicenow
1a966ddf7f017c188e4c193b54884009a832bb22
[ "Apache-2.0" ]
76
2015-02-04T17:49:49.000Z
2021-08-06T15:45:04.000Z
src/servicenow/drivers/SOAP.py
dbreddyAI/python-servicenow
a5b8c172ff481147e020c1a76afad65d89c414bb
[ "Apache-2.0" ]
23
2015-01-26T21:43:26.000Z
2020-07-13T12:26:01.000Z
src/servicenow/drivers/SOAP.py
dbreddyAI/python-servicenow
a5b8c172ff481147e020c1a76afad65d89c414bb
[ "Apache-2.0" ]
41
2015-01-23T15:36:55.000Z
2022-03-10T12:23:20.000Z
import urllib from SOAPpy import SOAPProxy from .. import Connection, Utils class Auth(Connection.Auth): def __init__(self, username, password, instance, timeout=60, debug=False): self.username = username self.password = password self.instance = instance def _get_proxy(self, table, ...
34.40678
94
0.649754
229
2,030
5.554585
0.266376
0.07783
0.127358
0.075472
0.517296
0.475629
0.437107
0.36478
0.36478
0.36478
0
0.005035
0.217241
2,030
58
95
35
0.795469
0
0
0.238095
0
0
0.036453
0
0
0
0
0
0
1
0.309524
false
0.071429
0.071429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ab7d3919150c6e3869e76722b445ed1842e49a48
1,074
py
Python
python/cloudtik/providers/_private/aws/workspace_provider.py
haojinIntel/cloudtik-1
8687c7e8c9b362a30674aea571ef0d736ec42c49
[ "Apache-2.0" ]
null
null
null
python/cloudtik/providers/_private/aws/workspace_provider.py
haojinIntel/cloudtik-1
8687c7e8c9b362a30674aea571ef0d736ec42c49
[ "Apache-2.0" ]
null
null
null
python/cloudtik/providers/_private/aws/workspace_provider.py
haojinIntel/cloudtik-1
8687c7e8c9b362a30674aea571ef0d736ec42c49
[ "Apache-2.0" ]
null
null
null
import logging from typing import Any, Dict from cloudtik.providers._private.aws.config import create_aws_workspace, \ delete_workspace_aws, check_aws_workspace_resource from cloudtik.core.workspace_provider import WorkspaceProvider logger = logging.getLogger(__name__) class AWSWorkspaceProvider(WorkspaceProv...
31.588235
77
0.766294
122
1,074
6.352459
0.360656
0.134194
0.098065
0.089032
0.172903
0.090323
0
0
0
0
0
0
0.172253
1,074
33
78
32.545455
0.871766
0.058659
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.727273
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
ab8983957de34679fd20d256bbf259fbc314130a
104
py
Python
lino_book/projects/diamond/settings.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
1
2018-01-12T14:09:58.000Z
2018-01-12T14:09:58.000Z
lino_book/projects/diamond/settings.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
4
2018-02-06T19:53:10.000Z
2019-08-01T21:47:44.000Z
lino_book/projects/diamond/settings.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
null
null
null
INSTALLED_APPS = ['lino_book.projects.diamond.main'] SECRET_KEY = "20227" # see :djangoticket:`20227`
26
52
0.740385
13
104
5.692308
0.923077
0
0
0
0
0
0
0
0
0
0
0.107527
0.105769
104
3
53
34.666667
0.688172
0.240385
0
0
0
0
0.473684
0.407895
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
abb2c9eeaf724415c7c8e56f9a1b9a731a347b5a
21
py
Python
src/models/stores/constants.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
src/models/stores/constants.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
src/models/stores/constants.py
asimonia/pricing-alerts
e637ed12101851171bb514b7d970cde796f0ffe0
[ "Apache-2.0" ]
null
null
null
COLLECTION = "stores"
21
21
0.761905
2
21
8
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
21
1
21
21
0.842105
0
0
0
0
0
0.272727
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
abbc7fd2655a8e85f726fd49927468aa23fb0547
68
py
Python
pyxform/tests/validators/__init__.py
PMA-2020/pmaxform3
9d36f97f25cb09f0fb8aafb69370454731ecbbd5
[ "BSD-2-Clause" ]
67
2015-02-02T17:49:25.000Z
2022-02-18T06:31:52.000Z
pyxform/tests/validators/__init__.py
PMA-2020/pmaxform3
9d36f97f25cb09f0fb8aafb69370454731ecbbd5
[ "BSD-2-Clause" ]
477
2015-01-14T15:48:44.000Z
2022-03-29T16:37:22.000Z
pyxform/tests/validators/__init__.py
PMA-2020/pmaxform3
9d36f97f25cb09f0fb8aafb69370454731ecbbd5
[ "BSD-2-Clause" ]
86
2015-01-26T13:16:26.000Z
2022-01-20T21:40:54.000Z
# -*- coding: utf-8 -*- import os HERE = os.path.dirname(__file__)
13.6
32
0.632353
10
68
3.9
0.9
0
0
0
0
0
0
0
0
0
0
0.017544
0.161765
68
4
33
17
0.666667
0.308824
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
abc3a9ae92e7fdf73bf6286f686fe8b3e4ccbe12
1,006
py
Python
movie_rec/lib/mlhelper.py
yujinjcho/movie_recommendations
89032ba95efc716460a83e0ca54e2c5e833b8d47
[ "MIT" ]
null
null
null
movie_rec/lib/mlhelper.py
yujinjcho/movie_recommendations
89032ba95efc716460a83e0ca54e2c5e833b8d47
[ "MIT" ]
26
2017-04-13T06:16:53.000Z
2022-02-11T03:38:59.000Z
movie_rec/lib/mlhelper.py
yujinjcho/movie_recommendations
89032ba95efc716460a83e0ca54e2c5e833b8d47
[ "MIT" ]
null
null
null
import numpy as np def create_inputs_matrix(seen_movies, critics, review_mapping): return np.array([ create_inputs_row(movie, critics, review_mapping) for movie in seen_movies ]) def create_test_inputs_matrix(critics, review_mapping): test_inputs = {} for critic, movies in review_mapping.iter...
33.533333
83
0.71173
139
1,006
4.920863
0.280576
0.152047
0.116959
0.076023
0.27193
0.21345
0.116959
0
0
0
0
0.00492
0.191849
1,006
29
84
34.689655
0.836408
0
0
0
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.142857
0.52381
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
abc5a95a511a2f150d77e93888ff899cafa43ade
200
py
Python
web_scrap/w_log.py
razuswe/web_scrapping_bbc_news
a6973283111cdc043c6cea8bc427e49dd4f23405
[ "MIT" ]
null
null
null
web_scrap/w_log.py
razuswe/web_scrapping_bbc_news
a6973283111cdc043c6cea8bc427e49dd4f23405
[ "MIT" ]
null
null
null
web_scrap/w_log.py
razuswe/web_scrapping_bbc_news
a6973283111cdc043c6cea8bc427e49dd4f23405
[ "MIT" ]
null
null
null
import logging def set_custom_log_info(filename): logging.basicConfig(filename=filename) level = logging.INFO def report(e:Exception): #e parameter optional logging.exception(str(e))
20
48
0.75
26
200
5.653846
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.155
200
9
49
22.222222
0.869822
0.1
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
abe9ba2c88ed9bab3d2f8591232befca9e54c306
2,974
py
Python
tests/models/attribute_model_test.py
dspautz/MISP_ZMQ_EventHandler
b142eccd294191756023cfe5318d60310c95e571
[ "MIT" ]
null
null
null
tests/models/attribute_model_test.py
dspautz/MISP_ZMQ_EventHandler
b142eccd294191756023cfe5318d60310c95e571
[ "MIT" ]
null
null
null
tests/models/attribute_model_test.py
dspautz/MISP_ZMQ_EventHandler
b142eccd294191756023cfe5318d60310c95e571
[ "MIT" ]
null
null
null
import unittest import json import os from src.models.attribute import Attribute class AttributeModelTest(unittest.TestCase): """Event Model test cases.""" @classmethod def setupClass(cls): try: attribute = open(os.path.abspath(os.path.join(os.path.dirname(__file__), '../templates/mod...
41.305556
124
0.688971
319
2,974
6.310345
0.291536
0.125186
0.187779
0.268256
0.185792
0.087432
0.054645
0.054645
0.054645
0.054645
0
0.028392
0.194687
2,974
71
125
41.887324
0.812109
0.007734
0
0.114754
0
0
0.113791
0.023777
0
0
0
0
0.622951
1
0.098361
false
0.04918
0.065574
0
0.180328
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
1
0
0
0
0
0
0
0
0
0
3
2805ec78f26684735dd5f0b5cae0571c506624e7
258
py
Python
venv/lib/python3.8/site-packages/usb1/__pyinstaller/hook-usb1.py
Nitrokey/nitrokey-app2
ab66bbceb854e1f18987b0331528e86e3e7ff702
[ "Apache-2.0" ]
1
2021-11-23T12:54:35.000Z
2021-11-23T12:54:35.000Z
venv/lib/python3.8/site-packages/usb1/__pyinstaller/hook-usb1.py
Nitrokey/nitrokey-app2
ab66bbceb854e1f18987b0331528e86e3e7ff702
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/usb1/__pyinstaller/hook-usb1.py
Nitrokey/nitrokey-app2
ab66bbceb854e1f18987b0331528e86e3e7ff702
[ "Apache-2.0" ]
null
null
null
import logging from PyInstaller.utils.hooks import collect_dynamic_libs logger = logging.getLogger(__name__) logger.info("--- libusb1 pyinstaller hook ---") binaries = collect_dynamic_libs('usb1') logger.info("Added libusb binaries: %s", binaries)
28.666667
57
0.75969
31
258
6.064516
0.645161
0.148936
0.191489
0
0
0
0
0
0
0
0
0.00885
0.124031
258
8
58
32.25
0.823009
0
0
0
0
0
0.244
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f9efa582bc093bdb78c6d63972d07cf5d2b16377
22
py
Python
addressimo/paymentrequest/__init__.py
voisine/addressimo
0943a399796f518b5ccca1746e379ab1aed2997d
[ "BSD-3-Clause" ]
2
2015-09-09T01:18:00.000Z
2021-10-31T04:29:25.000Z
addressimo/paymentrequest/__init__.py
voisine/addressimo
0943a399796f518b5ccca1746e379ab1aed2997d
[ "BSD-3-Clause" ]
null
null
null
addressimo/paymentrequest/__init__.py
voisine/addressimo
0943a399796f518b5ccca1746e379ab1aed2997d
[ "BSD-3-Clause" ]
1
2021-10-31T04:29:18.000Z
2021-10-31T04:29:18.000Z
__author__ = 'mdavid'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
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
f9f20c188cd0e6fe5f0bc240b0a2f9776fa04415
1,341
py
Python
test/data/test_csv.py
parrondo/forex_py
87043586df2bc3bbacb475ea3259eadb80e1cab0
[ "MIT" ]
1
2021-07-06T01:47:40.000Z
2021-07-06T01:47:40.000Z
test/data/test_csv.py
parrondo/forex_py
87043586df2bc3bbacb475ea3259eadb80e1cab0
[ "MIT" ]
null
null
null
test/data/test_csv.py
parrondo/forex_py
87043586df2bc3bbacb475ea3259eadb80e1cab0
[ "MIT" ]
2
2019-08-21T16:00:44.000Z
2019-11-04T02:11:13.000Z
import os import sys import unittest from io import StringIO from contextlib import contextmanager from frxpy.data.csv import CSV @contextmanager def captured_output(): """ https://stackoverflow.com/questions/4219717/how-to-assert-output-with-nosetest-unittest-in-python """ new_out, new_err = StringIO...
19.720588
101
0.61745
162
1,341
4.820988
0.401235
0.112676
0.098592
0.115237
0.128041
0.079385
0.079385
0.079385
0
0
0
0.007455
0.299776
1,341
67
102
20.014925
0.824281
0.1044
0
0.272727
0
0
0.006768
0
0
0
0
0.014925
0
1
0.295455
false
0.272727
0.136364
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
e6220e6f196e8db6a00ea7bb509a24ccbd4c7d88
849
py
Python
bigraph/modulo.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
bigraph/modulo.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
bigraph/modulo.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
def mod_value(mod, value): def apply_mod(x): return x % mod return apply_mod def mod_add(mod, a, b): return (a + b) % mod def mod_multiply(mod, a, b): return (a * b) % mod def mod_metabolism(mod, base): def metabolism(a): return (base * a) % mod return metabolism def f_add(mo...
20.214286
44
0.586572
131
849
3.694656
0.167939
0.11157
0.066116
0.045455
0.297521
0.297521
0.297521
0.297521
0.18595
0
0
0.003322
0.290931
849
41
45
20.707317
0.800664
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.4375
false
0
0
0.28125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e635903fb33164dcaf0773d1d2bb24a40af37ee8
134
py
Python
Codeforces Problems/Hit the Lottery/Hit the Lottery.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
null
null
null
Codeforces Problems/Hit the Lottery/Hit the Lottery.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
1
2020-10-13T20:57:34.000Z
2020-10-13T20:57:34.000Z
Codeforces Problems/Hit the Lottery/Hit the Lottery.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
null
null
null
n = int(input()) c = 0 c += n // 100 n %= 100 c += n // 20 n %= 20 c += n // 10 n %= 10 c += n // 5 n %= 5 c += n // 1 n %= 1 print(c)
10.307692
16
0.373134
32
134
1.5625
0.34375
0.2
0
0
0
0
0
0
0
0
0
0.215909
0.343284
134
13
17
10.307692
0.352273
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e64b999bc49d1acb2605622a34054dc22c860c80
758
py
Python
tests/test_imports.py
gitter-badger/agent
3f53eaa7ebdee3ab423c7b58785d584fe1a6ae11
[ "Apache-2.0" ]
8
2017-09-13T08:28:44.000Z
2022-01-21T15:59:19.000Z
tests/test_imports.py
gitter-badger/agent
3f53eaa7ebdee3ab423c7b58785d584fe1a6ae11
[ "Apache-2.0" ]
4
2019-03-22T13:49:16.000Z
2019-03-25T13:49:39.000Z
tests/test_imports.py
gitter-badger/agent
3f53eaa7ebdee3ab423c7b58785d584fe1a6ae11
[ "Apache-2.0" ]
3
2017-09-13T08:31:38.000Z
2021-11-09T11:22:27.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 01/08/2020 """ def test_import(): import neodroidagent print(neodroidagent.__version__) def test_import_agents(): import neodroidagent.agents print(neodroidagent...
16.844444
48
0.721636
80
758
6.3125
0.375
0.083168
0.10297
0
0
0
0
0
0
0
0
0.016155
0.183377
758
44
49
17.227273
0.799677
0.056728
0
0
0
0
0.098177
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0
0.636364
0.272727
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
e64f66f6d2894829dfa4d88efb9f8cecbaab21d1
210
py
Python
tests/responses/__init__.py
OrBin/Bot-Engine
76c5270aacc739d7dcd62a48d3dd7dd5362fea4d
[ "MIT" ]
null
null
null
tests/responses/__init__.py
OrBin/Bot-Engine
76c5270aacc739d7dcd62a48d3dd7dd5362fea4d
[ "MIT" ]
null
null
null
tests/responses/__init__.py
OrBin/Bot-Engine
76c5270aacc739d7dcd62a48d3dd7dd5362fea4d
[ "MIT" ]
null
null
null
import time FLAKY_MAX_RUNS = 10 FLAKY_MIN_PASSES = 1 FLAKY_TIMEOUT_ON_FAILURE_SEC = 3 def delay_rerun(*args): # pylint: disable=unused-argument time.sleep(FLAKY_TIMEOUT_ON_FAILURE_SEC) return True
17.5
58
0.780952
33
210
4.575758
0.757576
0.15894
0.18543
0.278146
0.317881
0
0
0
0
0
0
0.022472
0.152381
210
11
59
19.090909
0.825843
0.147619
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.428571
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
1
0
0
0
0
0
3
051731d79aa996f66de57d55ae3624f143c5cd7f
107
py
Python
algobattle/problems/delaytest/solver/main.py
ImogenBits/algobattle
321b8a5b2ea9c92cb5c28fc2110aa41dbe25a4bb
[ "MIT" ]
null
null
null
algobattle/problems/delaytest/solver/main.py
ImogenBits/algobattle
321b8a5b2ea9c92cb5c28fc2110aa41dbe25a4bb
[ "MIT" ]
null
null
null
algobattle/problems/delaytest/solver/main.py
ImogenBits/algobattle
321b8a5b2ea9c92cb5c28fc2110aa41dbe25a4bb
[ "MIT" ]
null
null
null
"""Dummy generator for delaytest. Outputs a # sign.""" with open("output", "w") as out: out.write("#")
26.75
54
0.616822
15
107
4.4
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.168224
107
3
55
35.666667
0.741573
0.448598
0
0
0
0
0.150943
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
052362d222a3426c680becde624b36d0953cd914
102
py
Python
compiler.py
Akash671/C_C-
ee82e4af986c9975506463f9e340c3727af36a72
[ "MIT" ]
1
2021-01-23T06:28:42.000Z
2021-01-23T06:28:42.000Z
compiler.py
Akash671/C_C-
ee82e4af986c9975506463f9e340c3727af36a72
[ "MIT" ]
null
null
null
compiler.py
Akash671/C_C-
ee82e4af986c9975506463f9e340c3727af36a72
[ "MIT" ]
null
null
null
import webbrowser as we url="https://www.programiz.com/cpp-programming/online-compiler/" we.open(url)
25.5
64
0.784314
16
102
5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.058824
102
3
65
34
0.833333
0
0
0
0
0
0.568627
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
053295b4136cbb68524d818b71264fa0cfb83fcf
132
py
Python
kaggleeuropeansoccer/kaggleeuropeansoccer/teams/apps.py
thatscotdatasci/django-kaggle-european-soccer
f579d0cc37acaf29f8a8517bf0d024ac9e9da52d
[ "MIT" ]
null
null
null
kaggleeuropeansoccer/kaggleeuropeansoccer/teams/apps.py
thatscotdatasci/django-kaggle-european-soccer
f579d0cc37acaf29f8a8517bf0d024ac9e9da52d
[ "MIT" ]
5
2021-03-18T21:46:47.000Z
2022-02-10T08:41:53.000Z
kaggleeuropeansoccer/kaggleeuropeansoccer/teams/apps.py
thatscotdatasci/django-kaggle-european-soccer
f579d0cc37acaf29f8a8517bf0d024ac9e9da52d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TeamsConfig(AppConfig): name = 'kaggleeuropeansoccer.teams' verbose_name = 'Team'
18.857143
39
0.75
14
132
7
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.166667
132
6
40
22
0.890909
0
0
0
0
0
0.227273
0.19697
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
05347b4bd917aff1d32de5b4ef6b1079358e2b5b
1,495
py
Python
src/tests/conftest.py
rodgomes/drf-quickstart
3d1e096b6089c7b77021f1df015a5cf9141c1f2a
[ "Apache-2.0" ]
null
null
null
src/tests/conftest.py
rodgomes/drf-quickstart
3d1e096b6089c7b77021f1df015a5cf9141c1f2a
[ "Apache-2.0" ]
null
null
null
src/tests/conftest.py
rodgomes/drf-quickstart
3d1e096b6089c7b77021f1df015a5cf9141c1f2a
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from django.contrib.auth import get_user_model from django.utils import timezone import pytest from api.models import Person, Reminder @pytest.fixture def user(): username = "user1" password = "fakepass" return get_user_model().objects.create_user(username=username, passwo...
26.22807
112
0.775251
199
1,495
5.623116
0.261307
0.080429
0.114388
0.089366
0.596068
0.513852
0.458445
0.381591
0.330652
0.330652
0
0.009841
0.116388
1,495
56
113
26.696429
0.837245
0
0
0.324324
0
0
0.058194
0
0
0
0
0
0
1
0.216216
false
0.108108
0.135135
0.081081
0.567568
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
0578ac6c223af63491d1b885085af78c3010ff35
91
py
Python
examples/happy_birthay_other.py
nirinarisantatra/HBD
5bde54ce328a3c8f3fd972536cc07a42a58ceec3
[ "MIT" ]
null
null
null
examples/happy_birthay_other.py
nirinarisantatra/HBD
5bde54ce328a3c8f3fd972536cc07a42a58ceec3
[ "MIT" ]
null
null
null
examples/happy_birthay_other.py
nirinarisantatra/HBD
5bde54ce328a3c8f3fd972536cc07a42a58ceec3
[ "MIT" ]
null
null
null
#!/usr/bin/python message = '!yadhtriB yppaH'[::-1] print(message) #prints Happy Birthday!
18.2
33
0.703297
12
91
5.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0.012195
0.098901
91
4
34
22.75
0.768293
0.417582
0
0
0
0
0.294118
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