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
7ad193bee6a72a81bbc3ea79990fa54580916668
2,042
py
Python
ultrades/petrinets.py
lacsed/UltraDES-Python
0b4dd04c0944363c0b6546d24256e03ad3c27d54
[ "MIT" ]
3
2020-08-05T21:27:39.000Z
2021-10-04T15:15:44.000Z
ultrades/petrinets.py
lacsed/UltraDES-Python
0b4dd04c0944363c0b6546d24256e03ad3c27d54
[ "MIT" ]
null
null
null
ultrades/petrinets.py
lacsed/UltraDES-Python
0b4dd04c0944363c0b6546d24256e03ad3c27d54
[ "MIT" ]
null
null
null
import clr clr.AddReference("UltraDES") clr.AddReference("System.Linq") clr.AddReference('System.Collections') from System.Collections.Generic import List, KeyValuePair from System import ValueTuple, UInt32 from UltraDES.PetriNets import PetriNet, Marking, Node, Place, Transition, Arc from IPython.core.displ...
26.179487
123
0.669442
280
2,042
4.814286
0.335714
0.066766
0.073442
0.053412
0.081602
0.034125
0
0
0
0
0
0.010404
0.199804
2,042
77
124
26.519481
0.814565
0
0
0
0
0.018182
0.081425
0
0
0
0
0
0
1
0.345455
false
0
0.090909
0.290909
0.781818
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
0
0
0
2
7ad7d53bd0c5d8ca3f726d18de4bc9248981e917
318
py
Python
echome/identity/auth.py
mgtrrz/echome
b3a123391089d4a09b4eb6e240bb783ef5bc06cc
[ "MIT" ]
2
2022-01-31T19:32:51.000Z
2022-01-31T22:42:13.000Z
echome/identity/auth.py
mgtrrz/echome
b3a123391089d4a09b4eb6e240bb783ef5bc06cc
[ "MIT" ]
7
2021-04-04T01:15:53.000Z
2022-02-07T03:34:48.000Z
echome/identity/auth.py
mgtrrz/echome
b3a123391089d4a09b4eb6e240bb783ef5bc06cc
[ "MIT" ]
1
2022-02-01T11:34:50.000Z
2022-02-01T11:34:50.000Z
from .models import User def user_authentication_rule(user): # JWT (API) logins should only come from the Acess Key or Service user type. if isinstance(user, User): return user is not None and user.is_active and ( user.type == User.Type.SERVICE or user.type == User.Type.ACCESS_KEY ) return False
39.75
126
0.720126
51
318
4.411765
0.568627
0.177778
0.106667
0.142222
0
0
0
0
0
0
0
0
0.201258
318
8
127
39.75
0.885827
0.232704
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7adbc4351ee762e5614460a69a229b2259e656a1
4,286
py
Python
python/randall/alife_randall_checkout/ai_webserver/login.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
3
2015-11-24T17:06:58.000Z
2018-05-01T14:03:57.000Z
python/randall/alife_randall_checkout/ai_webserver/login.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
null
null
null
python/randall/alife_randall_checkout/ai_webserver/login.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
null
null
null
# login.py # # Copyright 2011 Joseph Lewis <joehms22@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at yo...
37.929204
99
0.587028
507
4,286
4.932939
0.358974
0.022391
0.031188
0.045582
0.498201
0.498201
0.455818
0.455818
0.455818
0.455818
0
0.030212
0.297247
4,286
112
100
38.267857
0.800133
0.218852
0
0.054054
0
0.040541
0.851718
0.169078
0
0
0
0
0
1
0
false
0.067568
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
7ae25d43434813868d7d08530fb9198341419874
1,316
py
Python
QCompute/OpenConvertor/CircuitToJson/__init__.py
baidu/QCompute
04e9fd62e10b1e8bb2be4ec6cff4ea4f3a7d4025
[ "Apache-2.0" ]
52
2020-09-14T02:25:25.000Z
2022-02-17T07:43:01.000Z
QCompute/OpenConvertor/CircuitToJson/__init__.py
baidu/QCompute
04e9fd62e10b1e8bb2be4ec6cff4ea4f3a7d4025
[ "Apache-2.0" ]
null
null
null
QCompute/OpenConvertor/CircuitToJson/__init__.py
baidu/QCompute
04e9fd62e10b1e8bb2be4ec6cff4ea4f3a7d4025
[ "Apache-2.0" ]
10
2020-09-15T06:10:24.000Z
2021-09-15T07:26:27.000Z
#!/usr/bin/python3 # -*- coding: utf8 -*- # Copyright (c) 2020 Baidu, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
27.416667
74
0.709726
170
1,316
5.470588
0.623529
0.064516
0.041935
0.034409
0.049462
0
0
0
0
0
0
0.009597
0.208207
1,316
47
75
28
0.882917
0.658055
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7af0d3e591bbc41c4f18393b59dfe71c7a12161e
267
py
Python
lgp/abcd/action.py
dingmyu/hlsm
628702789d910f745c74e738efbdd65f0fdb654b
[ "BSD-3-Clause" ]
null
null
null
lgp/abcd/action.py
dingmyu/hlsm
628702789d910f745c74e738efbdd65f0fdb654b
[ "BSD-3-Clause" ]
null
null
null
lgp/abcd/action.py
dingmyu/hlsm
628702789d910f745c74e738efbdd65f0fdb654b
[ "BSD-3-Clause" ]
null
null
null
from abc import ABC, abstractmethod, abstractclassmethod class Action(ABC): def __init__(self): ... @abstractmethod def is_stop(self) -> bool: """ :return: True if this is a STOP-action, False otherwise. """ ...
19.071429
64
0.573034
28
267
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.310861
267
13
65
20.538462
0.804348
0.209738
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
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
0
0
0
2
bb08ed4539ac6b594a0a3bdd3c76da319d1b68cc
2,185
py
Python
iconsdk/utils/__init__.py
geometry-labs/icon-sdk-python
e530df02eb16b394c3022d2d7d0383bd972e129a
[ "Apache-2.0" ]
51
2018-08-29T04:15:36.000Z
2022-03-14T10:02:08.000Z
iconsdk/utils/__init__.py
geometry-labs/icon-sdk-python
e530df02eb16b394c3022d2d7d0383bd972e129a
[ "Apache-2.0" ]
24
2018-09-03T03:16:19.000Z
2022-01-17T08:28:04.000Z
iconsdk/utils/__init__.py
geometry-labs/icon-sdk-python
e530df02eb16b394c3022d2d7d0383bd972e129a
[ "Apache-2.0" ]
44
2018-09-06T22:36:16.000Z
2022-03-15T06:46:05.000Z
# -*- coding: utf-8 -*- # Copyright 2018 ICON Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
31.214286
97
0.69611
309
2,185
4.854369
0.478964
0.04
0.017333
0.021333
0
0
0
0
0
0
0
0.011641
0.21373
2,185
69
98
31.666667
0.861467
0.503432
0
0
0
0
0.095984
0
0
0
0
0
0
1
0.222222
false
0
0.185185
0.037037
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
0
1
0
0
2
bb112a5044a18e3752c6b483d699b12dd3c90774
371
py
Python
test_project/test_app/views.py
ninemoreminutes/django-site-utils
d0c9f360451593f20ce0e80866f7e76185c0764b
[ "BSD-3-Clause" ]
null
null
null
test_project/test_app/views.py
ninemoreminutes/django-site-utils
d0c9f360451593f20ce0e80866f7e76185c0764b
[ "BSD-3-Clause" ]
13
2020-05-07T03:57:03.000Z
2022-03-12T00:54:56.000Z
test_project/test_app/views.py
ninemoreminutes/django-site-utils
d0c9f360451593f20ce0e80866f7e76185c0764b
[ "BSD-3-Clause" ]
null
null
null
# Python from __future__ import unicode_literals # Django from django.core.exceptions import PermissionDenied, SuspiciousOperation from django.http import Http404 def bad_request(request): raise SuspiciousOperation def forbidden(request): raise PermissionDenied def not_found(request): raise Http404 ...
16.130435
72
0.795148
42
371
6.833333
0.547619
0.167247
0
0
0
0
0
0
0
0
0
0.019169
0.156334
371
22
73
16.863636
0.897764
0.03504
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.272727
0
0.636364
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
0
1
0
0
2
bb148d18ef3ba03b90ef01b5c9f9784893896d87
499
py
Python
snuba/datasets/storages/__init__.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
snuba/datasets/storages/__init__.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
snuba/datasets/storages/__init__.py
fpacifici/snuba
cf732b71383c948f9387fbe64e9404ca71f8e9c5
[ "Apache-2.0" ]
null
null
null
from enum import Enum class StorageKey(Enum): """ A storage key is a unique identifier for a storage. """ EVENTS = "events" EVENTS_RO = "events_ro" ERRORS = "errors" GROUPEDMESSAGES = "groupedmessages" GROUPASSIGNEES = "groupassignees" OUTCOMES_RAW = "outcomes_raw" OUTCOMES_HO...
23.761905
55
0.673347
51
499
6.392157
0.470588
0.04908
0.116564
0
0
0
0
0
0
0
0
0
0.234469
499
20
56
24.95
0.853403
0.102204
0
0
0
0
0.298611
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
bb15eb67f8fa3accf870953bfbb588c1944d22ba
1,241
py
Python
bloock/config/repository/config_repository.py
enchainte/enchainte-sdk-py
d7e6803cb941ae929bca9bb00584aa5b4853689a
[ "MIT" ]
1
2021-11-21T22:02:49.000Z
2021-11-21T22:02:49.000Z
bloock/config/repository/config_repository.py
enchainte/enchainte-sdk-py
d7e6803cb941ae929bca9bb00584aa5b4853689a
[ "MIT" ]
1
2021-09-16T20:19:04.000Z
2021-09-16T20:19:04.000Z
bloock/config/repository/config_repository.py
enchainte/enchainte-sdk-py
d7e6803cb941ae929bca9bb00584aa5b4853689a
[ "MIT" ]
1
2021-12-10T10:22:30.000Z
2021-12-10T10:22:30.000Z
from ..entity.config_env_entity import ConfigEnv from ..entity.configuration_entity import Configuration, NetworkConfiguration from ..entity.networks_entity import Network from .config_data import ConfigData class ConfigRepository: ''' Repository in charge of managing Bloock API's configuration.''' d...
40.032258
86
0.722804
126
1,241
6.912698
0.380952
0.091848
0.096441
0.045924
0
0
0
0
0
0
0
0
0.195004
1,241
31
87
40.032258
0.871872
0.255439
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.266667
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bb1c9f11a896900b4815a6c916c9cd6d64e72d93
132
py
Python
scale/config.py
tkisss/SCALE
ce3db38d01f704206885c0b9efcd7ccca2aaa351
[ "MIT" ]
1
2021-02-02T12:29:00.000Z
2021-02-02T12:29:00.000Z
scale/config.py
tkisss/SCALE
ce3db38d01f704206885c0b9efcd7ccca2aaa351
[ "MIT" ]
null
null
null
scale/config.py
tkisss/SCALE
ce3db38d01f704206885c0b9efcd7ccca2aaa351
[ "MIT" ]
null
null
null
epochs=300 batch_size=16 latent=10 lr=0.0002 weight_decay=5e-4 encode_dim=[3200, 1600, 800, 400] decode_dim=[] print_interval=10
11
33
0.765152
25
132
3.84
0.92
0
0
0
0
0
0
0
0
0
0
0.254237
0.106061
132
11
34
12
0.559322
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb29a42ccf5cc6ceadff6dd8d2dc6b7f8739400f
749
py
Python
backend/tests/streetlight_test_data.py
hack4impact-uiuc/c2tc-fall-2018
a64698ac47c35b244d32dc86019327b35d69e9ed
[ "MIT" ]
7
2018-10-03T23:40:31.000Z
2019-01-30T07:46:59.000Z
backend/tests/streetlight_test_data.py
hack4impact-uiuc/c2tc-fall-2018
a64698ac47c35b244d32dc86019327b35d69e9ed
[ "MIT" ]
46
2018-10-05T22:35:04.000Z
2019-01-30T07:49:11.000Z
backend/tests/streetlight_test_data.py
hack4impact-uiuc/c2tc-fall-2018
a64698ac47c35b244d32dc86019327b35d69e9ed
[ "MIT" ]
1
2020-02-07T21:26:01.000Z
2020-02-07T21:26:01.000Z
streetlights = [ { "_id": "5c33cb90633a6f0003bcb38b", "latitude": 40.109356050955824, "longitude": -88.23546712954632, }, { "_id": "5c33cb90633a6f0003bcb38c", "latitude": 40.10956288950609, "longitude": -88.23546931624688, }, { "_id": "5c33cb90...
23.40625
42
0.572764
46
749
9.195652
0.521739
0.118203
0
0
0
0
0
0
0
0
0
0.439252
0.285714
749
31
43
24.16129
0.351402
0
0
0
0
0
0.293725
0.160214
0
0
0
0
0
1
0.034483
false
0
0
0.034483
0.068966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb2bc10a3c12edf7f99b6b47f02d2a7f38cd182c
88
py
Python
Aulasatualizada/entendendoFuncao.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
Aulasatualizada/entendendoFuncao.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
Aulasatualizada/entendendoFuncao.py
swellington231/AulaPaython
7b72ddec4d85f4660c0c395de07a133993aa2c70
[ "MIT" ]
null
null
null
def contador(*num): for valor in num: print(num) contad contador(1, 2, 3,)
12.571429
21
0.590909
14
88
3.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0.046875
0.272727
88
7
22
12.571429
0.765625
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb2cc04daf5d0f3b62503e2f878f9c9f3cb69af2
303
py
Python
src/srvup/tasks.py
paveu/srvup_rest
97491df4106d5e8b951c6117770fe74072612e49
[ "MIT" ]
1
2015-10-10T16:49:30.000Z
2015-10-10T16:49:30.000Z
src/srvup/tasks.py
paveu/srvup_rest
97491df4106d5e8b951c6117770fe74072612e49
[ "MIT" ]
null
null
null
src/srvup/tasks.py
paveu/srvup_rest
97491df4106d5e8b951c6117770fe74072612e49
[ "MIT" ]
null
null
null
import os from django.conf import settings from srvup.celery import app from django.core.mail import send_mail @app.task() def sendFeedbackEmail(email, message): subject = "Feedback from %s" % email return send_mail(subject, str(message), str(email), ['omega8@o2.pl'], fail_silently=False)
30.3
94
0.742574
44
303
5.045455
0.636364
0.09009
0
0
0
0
0
0
0
0
0
0.007722
0.145215
303
10
95
30.3
0.849421
0
0
0
0
0
0.092105
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bb30ab83e3effc7c7394bab86ba4def8046c8dab
604
py
Python
tests/stdlib/test_math.py
bozhiyeh/voc
3f7799a1e58f7beed1c6374ea2e57e32419ba1ee
[ "BSD-3-Clause" ]
null
null
null
tests/stdlib/test_math.py
bozhiyeh/voc
3f7799a1e58f7beed1c6374ea2e57e32419ba1ee
[ "BSD-3-Clause" ]
null
null
null
tests/stdlib/test_math.py
bozhiyeh/voc
3f7799a1e58f7beed1c6374ea2e57e32419ba1ee
[ "BSD-3-Clause" ]
null
null
null
import unittest from ..utils import TranspileTestCase class MathModuleTests(TranspileTestCase): def test_fabs(self): self.assertCodeExecution(""" import math print(math.fabs(10234)) print(math.fabs(0.0001)) print(math.fabs(0)) print(math.fabs(-1)...
27.454545
41
0.52649
57
604
5.54386
0.473684
0.142405
0.205696
0.208861
0.234177
0
0
0
0
0
0
0.044156
0.362583
604
22
42
27.454545
0.776623
0
0
0.3
0
0
0.563636
0.119008
0
0
0
0
0.1
1
0.1
false
0
0.2
0
0.35
0.3
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb4603fbb0a5afa06361f97101f2c9896854ae58
497
py
Python
panoptes/analysis/urls.py
oberlin/panoptes
67d451ea4ffc58c23b5f347bfa5609fa7f853b45
[ "BSD-3-Clause" ]
2
2017-07-24T05:11:59.000Z
2017-08-27T19:17:42.000Z
panoptes/analysis/urls.py
oberlin/panoptes
67d451ea4ffc58c23b5f347bfa5609fa7f853b45
[ "BSD-3-Clause" ]
null
null
null
panoptes/analysis/urls.py
oberlin/panoptes
67d451ea4ffc58c23b5f347bfa5609fa7f853b45
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls.defaults import * location_patterns = patterns('panoptes.analysis.views', url(r'^/$', 'analysis', name="analysis"), ) lens_patterns = patterns('panoptes.analysis.views', url(r'^update-panels/$', 'update_supporting_panels', name="update-supporting-panels") ) urlpatterns = patterns('', url(r...
26.157895
86
0.704225
58
497
5.913793
0.413793
0.139942
0.183673
0.186589
0.239067
0.239067
0.239067
0
0
0
0
0
0.080483
497
18
87
27.611111
0.750547
0
0
0
0
0
0.439516
0.316532
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
0
0
0
2
bb47868826c639be555c1dcb3e4b83662ae8a79e
639
py
Python
tests/test_indented_code_block.py
jmholla/markflow
1accc4a23f9c06d9ab77d6c180c586da3d9ec69b
[ "Apache-2.0" ]
14
2020-08-14T03:09:53.000Z
2022-03-22T22:46:50.000Z
tests/test_indented_code_block.py
jmholla/markflow
1accc4a23f9c06d9ab77d6c180c586da3d9ec69b
[ "Apache-2.0" ]
6
2020-08-19T18:13:24.000Z
2021-02-11T03:56:34.000Z
tests/test_indented_code_block.py
jmholla/markflow
1accc4a23f9c06d9ab77d6c180c586da3d9ec69b
[ "Apache-2.0" ]
3
2020-08-13T16:40:13.000Z
2022-01-18T12:31:37.000Z
from markflow.formatters.indented_code_block import MarkdownIndentedCodeBlock from .util import create_section, render class TestIndentedCodeBlock: def test_simple(self) -> None: input_ = " import goods \n" "\n" " tariffs = good.audit() \n" expected = " import goods\n" "\n" " tar...
42.6
80
0.690141
65
639
6.584615
0.430769
0.10514
0.056075
0.060748
0.514019
0.135514
0.135514
0
0
0
0
0
0.214398
639
14
81
45.642857
0.85259
0
0
0.181818
0
0
0.158059
0
0
0
0
0
0.272727
1
0.090909
false
0
0.363636
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
0
0
0
1
0
1
0
0
2
2490333f4534c1b560b827b8f142e1eab8f5c88f
2,909
py
Python
week3.py
Zhamiliaa/FisrtProject
cc37050e15890637f44fc548ce19fba2eec19a11
[ "MIT" ]
null
null
null
week3.py
Zhamiliaa/FisrtProject
cc37050e15890637f44fc548ce19fba2eec19a11
[ "MIT" ]
null
null
null
week3.py
Zhamiliaa/FisrtProject
cc37050e15890637f44fc548ce19fba2eec19a11
[ "MIT" ]
null
null
null
# numbers = [10, 20, 30, 40, 7, 8, 9, 1, 2, 3, 4] # # for number in numbers: # if number % 2 == 0: # print(number) # try: # print('1'+'1') # except TypeError: # print('except') # finally: # print('finally') # names = ['vladimir', 'zhamilia', 'cholpon', 'begimai', 'erbol', 'bakyt', 'aliya'] # s...
21.07971
83
0.427982
268
2,909
4.559701
0.343284
0.008183
0.017185
0.03928
0.125205
0.103928
0.069558
0.050737
0
0
0
0.062783
0.392231
2,909
137
84
21.233577
0.628394
0.910278
0
null
0
null
0
0
null
0
0
0
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
2492b3471823b15b8f860247e39c99bc7b3b4417
765
py
Python
tests/utils/test_concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
tests/utils/test_concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
tests/utils/test_concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import io import json from unittest import TestCase from hypothesis import ( given, HealthCheck, reproduce_failure, settings, ) from hypothesis.strategies import ( dictionaries, integers, floats, just, lists, sa...
14.711538
52
0.708497
85
765
6.294118
0.552941
0.08972
0.095327
0
0
0
0
0
0
0
0
0.001692
0.227451
765
51
53
15
0.903553
0.027451
0
0.108108
0
0
0
0
0
0
0
0
0
1
0
true
0.108108
0.27027
0
0.378378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
24932c156e5448a7acba2cb2dd01d9c76a539324
125
py
Python
MUNDO 1/Teste.py
Jonatas-Soares-Alves/Exercicios-do-Curso-de-Python
68a915beb295752b8790d480be047dc72bac2ed8
[ "MIT" ]
null
null
null
MUNDO 1/Teste.py
Jonatas-Soares-Alves/Exercicios-do-Curso-de-Python
68a915beb295752b8790d480be047dc72bac2ed8
[ "MIT" ]
null
null
null
MUNDO 1/Teste.py
Jonatas-Soares-Alves/Exercicios-do-Curso-de-Python
68a915beb295752b8790d480be047dc72bac2ed8
[ "MIT" ]
null
null
null
teste = 3 * 5 + 4 ** 2 s = 'prova de python' n = 'José' i = 25 print('Você se chama {} e tem {} anos de idade'.format(n, i))
20.833333
61
0.56
25
125
2.8
0.88
0
0
0
0
0
0
0
0
0
0
0.06383
0.248
125
6
61
20.833333
0.680851
0
0
0
0
0
0.460317
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24a14106883b4c34c89991c28ca53fd0a6013647
4,092
py
Python
investing_algorithm_framework/core/performance/performance_service.py
investing-algorithms/investing-algorithm-framework
d579e142a3857e2e2dfb59b7d6e54202f7df5466
[ "Apache-2.0" ]
1
2019-12-23T21:23:45.000Z
2019-12-23T21:23:45.000Z
investing_algorithm_framework/core/performance/performance_service.py
investing-algorithms/investing-algorithm-framework
d579e142a3857e2e2dfb59b7d6e54202f7df5466
[ "Apache-2.0" ]
null
null
null
investing_algorithm_framework/core/performance/performance_service.py
investing-algorithms/investing-algorithm-framework
d579e142a3857e2e2dfb59b7d6e54202f7df5466
[ "Apache-2.0" ]
1
2019-12-23T21:23:50.000Z
2019-12-23T21:23:50.000Z
# from investing_algorithm_framework.core.models import PerformanceMetric, \ # TimeFrame # from investing_algorithm_framework.core.performance import \ # SnapshotAssetPriceCollection # # # class PerformanceService: # # @staticmethod # def of_metric(portfolio, metric: PerformanceMetric, time_frame: TimeF...
34.677966
81
0.545699
368
4,092
5.790761
0.192935
0.087752
0.080244
0.091976
0.580948
0.492726
0.492726
0.492726
0.442046
0.442046
0
0.008501
0.367546
4,092
117
82
34.974359
0.814915
0.942326
0
null
0
null
0
0
null
0
0
0
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
24a968b7fd7ca012684e7e5d17e642aa7558b3a1
10,052
py
Python
staff_directory/migrations/0001_initial.py
m3brown/collab-staff-directory
b582e9a2d6e24e0c3e0b1318c0b4cdc251ca2d64
[ "CC0-1.0" ]
3
2015-01-05T21:10:35.000Z
2016-08-15T04:03:39.000Z
staff_directory/migrations/0001_initial.py
m3brown/collab-staff-directory
b582e9a2d6e24e0c3e0b1318c0b4cdc251ca2d64
[ "CC0-1.0" ]
6
2015-09-10T18:05:40.000Z
2018-04-09T14:56:56.000Z
staff_directory/migrations/0001_initial.py
m3brown/collab-staff-directory
b582e9a2d6e24e0c3e0b1318c0b4cdc251ca2d64
[ "CC0-1.0" ]
9
2015-05-01T02:14:42.000Z
2021-02-20T10:56:18.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Praise' db.create_table('staff_directory_praise', ( ('id', self.gf( ...
72.316547
182
0.558496
1,030
10,052
5.319417
0.158252
0.112429
0.194196
0.277423
0.691002
0.66545
0.657419
0.596824
0.494616
0.394233
0
0.009787
0.196976
10,052
138
183
72.84058
0.668979
0.006665
0
0.077519
0
0
0.572187
0.32111
0
0
0
0
0
1
0.015504
false
0.007752
0.031008
0
0.069767
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
0
0
0
2
24adbec675b5a2df1f3740f9a75d60abc628878c
528
py
Python
src/AkamaiLibrary/builtinMethods.py
ynohat/robotframework-akamai
544f4890fb4459a695d7995380f928e90e28eb50
[ "MIT" ]
2
2020-06-15T13:41:06.000Z
2020-06-15T13:44:47.000Z
src/AkamaiLibrary/builtinMethods.py
ynohat/robotframework-akamai
544f4890fb4459a695d7995380f928e90e28eb50
[ "MIT" ]
null
null
null
src/AkamaiLibrary/builtinMethods.py
ynohat/robotframework-akamai
544f4890fb4459a695d7995380f928e90e28eb50
[ "MIT" ]
null
null
null
# Shared list of BuiltIn keywords that should be implemented # by specialized comparators. builtin_method_names = ( "should_be_equal", "should_not_be_equal", "should_be_empty", "should_not_be_empty", "should_match", "should_not_match", "should_match_regexp", "should_not_match_regexp", ...
25.142857
60
0.712121
67
528
5.044776
0.358209
0.213018
0.076923
0
0
0
0
0
0
0
0
0
0.185606
528
20
61
26.4
0.786047
0.162879
0
0
0
0
0.642369
0.150342
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24bc7ff05cba976ac8c858e17872860e3c3cb442
2,279
py
Python
releasing/release.py
Ibotta/mockito
8f85a53476f1d0253fdcf09510b4b852a6bcc0a3
[ "MIT" ]
1
2016-11-22T19:12:21.000Z
2016-11-22T19:12:21.000Z
releasing/release.py
Ibotta/mockito
8f85a53476f1d0253fdcf09510b4b852a6bcc0a3
[ "MIT" ]
null
null
null
releasing/release.py
Ibotta/mockito
8f85a53476f1d0253fdcf09510b4b852a6bcc0a3
[ "MIT" ]
null
null
null
#This script is not really portable. It's just to automate some manual steps I usually do when releasing. #It might evolve into someting more robust but for now it's ok for me. import os def run(cmd): print("\nRunning command: " + cmd) assert os.system(cmd) == 0, "\nCommand failed: " + cmd ant_cmd = 'an...
36.174603
156
0.667398
347
2,279
4.331412
0.461095
0.035928
0.05855
0.066534
0.22821
0.157019
0.157019
0.110446
0.110446
0.069195
0
0.002104
0.165862
2,279
63
157
36.174603
0.788532
0.07591
0
0
0
0.023256
0.608419
0.031326
0
0
0
0
0.023256
0
null
null
0
0.046512
null
null
0.302326
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
24c39730d39cc9d8f8b5db4a243c18a508c502dc
3,886
py
Python
WebManager.py
isombyt/XiaQian
9e0a1a0d0413a677adb2fb50f22b4aff1c5b92b0
[ "MIT" ]
28
2015-01-05T08:00:46.000Z
2021-01-30T04:44:50.000Z
WebManager.py
isombyt/XiaQian
9e0a1a0d0413a677adb2fb50f22b4aff1c5b92b0
[ "MIT" ]
3
2015-09-12T04:53:40.000Z
2018-01-08T09:08:01.000Z
WebManager.py
isombyt/XiaQian
9e0a1a0d0413a677adb2fb50f22b4aff1c5b92b0
[ "MIT" ]
5
2015-04-17T06:48:09.000Z
2020-10-10T22:46:10.000Z
import web import gevent import gevent.monkey import gevent.pywsgi from db import xiamidb import time import traceback import os from libXiami import User gevent.monkey.patch_all() class Main: def GET(self): return file("static/index.html").read() def POST(self): args = web.input() e...
31.33871
224
0.560473
474
3,886
4.559072
0.345992
0.029616
0.035169
0.042573
0.119389
0.095326
0.05553
0.05553
0.05553
0.05553
0
0.054239
0.283582
3,886
123
225
31.593496
0.721983
0
0
0.224299
0
0.028037
0.245497
0.138446
0
0
0
0
0
0
null
null
0.065421
0.084112
null
null
0.037383
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
1
0
0
1
0
0
0
0
0
2
24d52641513363db6ebdb657e3d2042d4eb08424
800
py
Python
app/resume_builds.py
spraakbanken/sparv-backend
2bc82d97399dbe5e0f45491c0f47bc18486bf130
[ "MIT" ]
2
2018-11-27T13:51:52.000Z
2021-03-08T07:57:55.000Z
app/resume_builds.py
spraakbanken/sparv-backend
2bc82d97399dbe5e0f45491c0f47bc18486bf130
[ "MIT" ]
13
2018-11-12T09:54:48.000Z
2020-04-17T08:59:12.000Z
app/resume_builds.py
spraakbanken/sparv-backend
2bc82d97399dbe5e0f45491c0f47bc18486bf130
[ "MIT" ]
null
null
null
# Resumes builds that are in the pipeline directory when the script needs to # restart. Starts make in the corresponding directories in case they had # not finished. from threading import Thread import logging from build import Build from utils import get_build_directories try: from config import Config except Im...
27.586207
82
0.7075
109
800
5.055046
0.541284
0.018149
0.068966
0
0
0
0
0
0
0
0
0
0.21375
800
28
83
28.571429
0.875994
0.19875
0
0
0
0
0.070644
0
0
0
0
0
0
1
0.105263
false
0
0.368421
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
24f9049b8dc271ef168476039d4269cad942618a
1,054
py
Python
unittests/test_cases.py
arieltrevisan/python-3-from-scratch-practices
09c83edeed7b1eb28e37568ff90a16a511b54ed8
[ "MIT" ]
null
null
null
unittests/test_cases.py
arieltrevisan/python-3-from-scratch-practices
09c83edeed7b1eb28e37568ff90a16a511b54ed8
[ "MIT" ]
null
null
null
unittests/test_cases.py
arieltrevisan/python-3-from-scratch-practices
09c83edeed7b1eb28e37568ff90a16a511b54ed8
[ "MIT" ]
null
null
null
import unittest as ut """ https://docs.python.org/3/library/unittest.html#test-discovery """ class TestClassOne(ut.TestCase): @classmethod def setUpClass(cls): # print("setupClass") pass @classmethod def tearDownClass(cls): # print("tearDownClass") pass # setu...
18.172414
62
0.581594
128
1,054
4.625
0.390625
0.059122
0.040541
0.050676
0
0
0
0
0
0
0
0.032698
0.303605
1,054
57
63
18.491228
0.773842
0.113852
0
0.193548
0
0
0.018713
0
0
0
0
0
0.16129
1
0.290323
false
0.129032
0.032258
0
0.387097
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
0
0
0
2
70022c27ba3230c673ce5a7f805de3a312f2a231
7,456
py
Python
src/ham/radio/d878/radio_channel_d878.py
n2qzshce/ham_radio_sync
ffe95a4ef88375b5d5e4503cf770e884644536cd
[ "CNRI-Python", "RSA-MD" ]
8
2021-03-01T17:28:45.000Z
2022-02-10T02:19:41.000Z
src/ham/radio/d878/radio_channel_d878.py
n2qzshce/ham_radio_sync
ffe95a4ef88375b5d5e4503cf770e884644536cd
[ "CNRI-Python", "RSA-MD" ]
7
2021-03-31T03:37:12.000Z
2021-06-12T20:30:05.000Z
src/ham/radio/d878/radio_channel_d878.py
n2qzshce/ham_radio_sync
ffe95a4ef88375b5d5e4503cf770e884644536cd
[ "CNRI-Python", "RSA-MD" ]
1
2021-02-24T21:39:51.000Z
2021-02-24T21:39:51.000Z
from src.ham.radio.radio_channel import RadioChannel from src.ham.util import radio_types class RadioChannelD878(RadioChannel): def __init__(self, cols, digital_contacts, dmr_ids): super().__init__(cols, digital_contacts, dmr_ids) self.name.set_alias(radio_types.D878, 'Channel Name') self.rx_freq.set_alias(rad...
45.742331
88
0.682135
1,112
7,456
4.441547
0.120504
0.238105
0.257947
0.051832
0.708241
0.478639
0.37214
0.290747
0.193966
0.153877
0
0.012714
0.14552
7,456
162
89
46.024691
0.762518
0.230821
0
0.25
0
0
0.265531
0.092119
0
0
0
0.006173
0
1
0.026316
false
0
0.013158
0.006579
0.065789
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
70103b5743a52563367cdf8905f2ba1757eb50d7
568
py
Python
core/color.py
rrpg/world-editor
d67cb605103189da95a91e29843c896eeeb011ae
[ "MIT" ]
1
2016-01-15T01:03:25.000Z
2016-01-15T01:03:25.000Z
core/color.py
rrpg/world-editor
d67cb605103189da95a91e29843c896eeeb011ae
[ "MIT" ]
null
null
null
core/color.py
rrpg/world-editor
d67cb605103189da95a91e29843c896eeeb011ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from core import config from PyQt4.QtGui import QColor COLOR_BRUSH = 0 COLOR_PEN = 1 def getColorFromConfig(section, paint_type): if section not in config.colors.keys(): raise BaseException("Unknown color section") if paint_type != COLOR_BRUSH and paint_type != COLOR_PEN: raise BaseExc...
23.666667
58
0.734155
84
568
4.833333
0.392857
0.17734
0.197044
0.236453
0.275862
0
0
0
0
0
0
0.022587
0.142606
568
23
59
24.695652
0.811088
0.036972
0
0
0
0
0.07156
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.3125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
703a23170c0064819eca7c97e7738c09c16cade0
154
py
Python
FileIO/FileWithWrite.py
koichi210/Python
9bc0be009bec15499540c1bf9ae802ffe1acfe10
[ "MIT" ]
null
null
null
FileIO/FileWithWrite.py
koichi210/Python
9bc0be009bec15499540c1bf9ae802ffe1acfe10
[ "MIT" ]
null
null
null
FileIO/FileWithWrite.py
koichi210/Python
9bc0be009bec15499540c1bf9ae802ffe1acfe10
[ "MIT" ]
null
null
null
path_name = "SampleWrite.txt" ### withを使ったファイル読み込み with open(path_name, mode='w') as f: f.write('hello new world!!') # close不要 # f.close()
15.4
36
0.623377
21
154
4.47619
0.809524
0.170213
0
0
0
0
0
0
0
0
0
0
0.207792
154
9
37
17.111111
0.770492
0.220779
0
0
0
0
0.292035
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
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
2
703ae7e2572675a0d9fb8fe4fd4c296088d77f2d
431
py
Python
Algorithmic Toolbox/Dynamic Programming/Money Change Again/money_change_again_unit_tests.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
9
2020-07-02T06:06:17.000Z
2022-02-26T11:08:09.000Z
Algorithmic Toolbox/Dynamic Programming/Money Change Again/money_change_again_unit_tests.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
1
2021-11-04T17:26:36.000Z
2021-11-04T17:26:36.000Z
Algorithmic Toolbox/Dynamic Programming/Money Change Again/money_change_again_unit_tests.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
8
2021-01-31T10:31:12.000Z
2022-03-13T09:15:55.000Z
import unittest from money_change_again import change, change_naive class MoneyChangeAgain(unittest.TestCase): def test_small(self): for money in range(1, 40): self.assertEqual(change(money), change_naive(money)) def test_large(self): for money, answer in ((200, 50), (239, 60), ty...
25.352941
64
0.668213
55
431
4.981818
0.563636
0.080292
0.087591
0.189781
0
0
0
0
0
0
0
0.038576
0.218097
431
16
65
26.9375
0.774481
0
0
0
0
0
0.018561
0
0
0
0
0
0.181818
0
null
null
0
0.181818
null
null
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
1
0
0
0
0
0
0
0
0
2
70478f765af93797fe79dc134dc3f0f3ebd11b10
2,377
py
Python
fidesctl/src/fidesctl/cli/generate_commands.py
sanders41/fides
014b4e5f90dac4a0c04f28f656314abd9e00a6c4
[ "Apache-2.0" ]
null
null
null
fidesctl/src/fidesctl/cli/generate_commands.py
sanders41/fides
014b4e5f90dac4a0c04f28f656314abd9e00a6c4
[ "Apache-2.0" ]
null
null
null
fidesctl/src/fidesctl/cli/generate_commands.py
sanders41/fides
014b4e5f90dac4a0c04f28f656314abd9e00a6c4
[ "Apache-2.0" ]
null
null
null
"""Contains the generate group of CLI commands for Fidesctl.""" import click from fidesctl.cli.options import include_null_flag from fidesctl.cli.utils import with_analytics from fidesctl.core import dataset as _dataset from fidesctl.core import system as _system @click.group(name="generate") @click.pass_context de...
29.345679
88
0.72318
311
2,377
5.379421
0.321543
0.059175
0.038255
0.0263
0.372385
0.31321
0.153019
0.153019
0.153019
0.062164
0
0.000519
0.188894
2,377
80
89
29.7125
0.86722
0.317207
0
0.340426
1
0
0.073905
0
0
0
0
0
0
1
0.085106
false
0.085106
0.106383
0
0.191489
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
705793439448cf23453cd0a017dc234d6358ed19
331
py
Python
terminal/views.py
m4tx/hackthespace
7b0852eaaa78e230a51a2da084e916df6eec20da
[ "MIT" ]
8
2019-03-27T13:08:44.000Z
2021-11-23T06:44:50.000Z
terminal/views.py
m4tx/hackthespace
7b0852eaaa78e230a51a2da084e916df6eec20da
[ "MIT" ]
8
2021-04-08T18:51:27.000Z
2022-03-11T23:43:45.000Z
terminal/views.py
m4tx/hackthespace
7b0852eaaa78e230a51a2da084e916df6eec20da
[ "MIT" ]
null
null
null
from django.views.generic import TemplateView from game.decorators import puzzle, hidden_puzzle, requires_email @puzzle class TerminalPuzzleView(TemplateView): template_name = 'terminal/puzzle.html' @hidden_puzzle @requires_email class TerminalHiddenPuzzleView(TemplateView): template_name = 'game/hidden_pu...
22.066667
65
0.818731
37
331
7.135135
0.513514
0.136364
0.151515
0.189394
0
0
0
0
0
0
0
0
0.108761
331
14
66
23.642857
0.894915
0
0
0
0
0
0.129909
0.069486
0
0
0
0
0
1
0
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
0
0
0
0
0
1
0
0
2
705b32a078fe29fb17a58b94e9a1b96c1c1fe6b8
11,250
py
Python
clients/python/tensorio_models/repository_pb2_grpc.py
nkashy1/tensorio-models
b7f50b972f702fb4844e8d66992446f75dfd10e6
[ "Apache-2.0" ]
null
null
null
clients/python/tensorio_models/repository_pb2_grpc.py
nkashy1/tensorio-models
b7f50b972f702fb4844e8d66992446f75dfd10e6
[ "Apache-2.0" ]
null
null
null
clients/python/tensorio_models/repository_pb2_grpc.py
nkashy1/tensorio-models
b7f50b972f702fb4844e8d66992446f75dfd10e6
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from . import repository_pb2 as repository__pb2 class RepositoryStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc.Chann...
44.820717
94
0.761156
1,004
11,250
8.260956
0.099602
0.08464
0.0721
0.066916
0.569568
0.379913
0.379913
0.320352
0.320352
0.320352
0
0.005757
0.166222
11,250
250
95
45
0.878465
0.084889
0
0.322115
1
0
0.114219
0.041516
0
0
0
0
0
1
0.072115
false
0.072115
0.009615
0
0.091346
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
70603dbe2b205199eeb3e19a5f4002f163e954ae
137
py
Python
ec_code/fb_effect/default_vals.py
portugueslab/ec-code
c1704e07f6e1afc747f09865411826096e4bc2fa
[ "MIT" ]
null
null
null
ec_code/fb_effect/default_vals.py
portugueslab/ec-code
c1704e07f6e1afc747f09865411826096e4bc2fa
[ "MIT" ]
null
null
null
ec_code/fb_effect/default_vals.py
portugueslab/ec-code
c1704e07f6e1afc747f09865411826096e4bc2fa
[ "MIT" ]
null
null
null
# Default dt for the imaging DEF_DT = 0.2 # Parameters for cropping around bouts: PRE_INT_BT_S = 2 # before POST_INT_BT_S = 6 # after
19.571429
39
0.729927
26
137
3.576923
0.769231
0.107527
0.129032
0
0
0
0
0
0
0
0
0.036697
0.20438
137
6
40
22.833333
0.816514
0.562044
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
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
2
7089c1dc1c94883c5a99c614ae1cc647a03ef6f7
1,796
py
Python
code/old code/cnn.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
1
2019-12-02T22:45:12.000Z
2019-12-02T22:45:12.000Z
code/old code/cnn.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
null
null
null
code/old code/cnn.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
null
null
null
from keras.models import Sequential from keras import optimizers from keras.layers import Dense from keras.layers import Embedding from keras.layers import Input, Flatten from keras.layers import TimeDistributed from keras.layers import Conv1D, MaxPooling1D from sklearn.utils import class_weight from sklearn.model_sele...
32.071429
136
0.751114
274
1,796
4.846715
0.489051
0.04744
0.056476
0.079066
0
0
0
0
0
0
0
0.028427
0.118597
1,796
55
137
32.654545
0.810486
0.184855
0
0
0
0
0.114483
0.051724
0
0
0
0
0
0
null
null
0
0.361111
null
null
0.027778
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
1
0
0
0
1
0
0
0
0
2
560b881b41272f34c5de1c2ab5e4e06ab0e30486
589
py
Python
apps/students/models.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
apps/students/models.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
apps/students/models.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from apps import db class Student(db.Model): __tablename__ = 'student' id = db.Column(db.Integer, primary_key=True, autoincrement=True) sid = db.Column(db.String(10), nullable=False, unique=True) name = db.Column(db.String(32), nullable=False) is_admin = db.Column(db.Boole...
25.608696
68
0.631579
82
589
4.280488
0.45122
0.091168
0.11396
0.091168
0
0
0
0
0
0
0
0.011013
0.229202
589
22
69
26.772727
0.762115
0.035654
0
0
0
0
0.037102
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.133333
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
0
0
0
0
1
1
0
0
2
560e3d3e4a454d1931b6b0fe1116238a67092287
1,365
py
Python
.gdb_extend/gdb_events.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
.gdb_extend/gdb_events.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
.gdb_extend/gdb_events.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* import gdb import traceback #gdb events handler def exit_handler (event): if isinstance(event,gdb.Event): if type(event) == gdb.ExitedEvent: print type(event) #正常退出有exit_code字段,非正常退出没有exit_code字段 print ("exit code: %d" % (event.exit_code)) #g...
29.042553
55
0.63956
158
1,365
5.227848
0.227848
0.108959
0.072639
0.09201
0.457627
0.410412
0.410412
0.410412
0.410412
0.363196
0
0.00388
0.244689
1,365
46
56
29.673913
0.797284
0.181685
0
0.428571
0
0
0.097385
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.428571
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
1
0
0
0
0
0
0
1
0
2
561f66635b30f4f1738d5e656db949817b1e8277
246
py
Python
src/astar/astar_agent.py
RobbinBaauw/CBMxSOC
cf9182e089041080868d0707f1238780dbaf667a
[ "MIT" ]
null
null
null
src/astar/astar_agent.py
RobbinBaauw/CBMxSOC
cf9182e089041080868d0707f1238780dbaf667a
[ "MIT" ]
null
null
null
src/astar/astar_agent.py
RobbinBaauw/CBMxSOC
cf9182e089041080868d0707f1238780dbaf667a
[ "MIT" ]
null
null
null
from src.data.agent import Agent from src.data.vertex import Vertex class AstarAgent(Agent): def __init__(self, id: str, start: Vertex, goal: Vertex) -> None: super().__init__(id) self.start = start self.goal = goal
24.6
69
0.658537
34
246
4.529412
0.5
0.090909
0.142857
0
0
0
0
0
0
0
0
0
0.231707
246
9
70
27.333333
0.814815
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5628545cc4c4215f5a1fa3e1932d23e2ade9ddf3
1,309
py
Python
Products/mcdutils/__init__.py
zms-publishing/Products.mcdutils
c5e88d85302dd09d62bfb6fa9cb0f68af1a995ab
[ "ZPL-2.1" ]
null
null
null
Products/mcdutils/__init__.py
zms-publishing/Products.mcdutils
c5e88d85302dd09d62bfb6fa9cb0f68af1a995ab
[ "ZPL-2.1" ]
5
2019-03-28T21:17:09.000Z
2021-09-03T10:30:16.000Z
Products/mcdutils/__init__.py
zms-publishing/Products.mcdutils
c5e88d85302dd09d62bfb6fa9cb0f68af1a995ab
[ "ZPL-2.1" ]
2
2020-12-31T20:03:23.000Z
2021-09-02T16:03:22.000Z
""" Product: mcdutils Implement Zope sessions using memcached as the backing store. """ class MemCacheError(IOError): pass def initialize(context): from .proxy import MemCacheProxy from .proxy import addMemCacheProxy from .proxy import addMemCacheProxyForm context.registerClass(MemCacheProxy,...
36.361111
76
0.642475
84
1,309
10.011905
0.464286
0.032105
0.053508
0
0
0
0
0
0
0
0
0
0.307869
1,309
35
77
37.4
0.928256
0.061879
0
0
0
0
0.028689
0
0
0
0
0
0
1
0.041667
false
0.041667
0.375
0
0.458333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
564c0fb9c0613dd79e992b38eafe741d0ba1f66f
203
py
Python
deploy.py
dylanbhughes/reddit-daily
27da5a89211af7d255761b70f558b407f8ae1325
[ "MIT" ]
2
2019-04-18T23:38:01.000Z
2019-04-19T07:23:34.000Z
deploy.py
dylanbhughes/reddit-daily
27da5a89211af7d255761b70f558b407f8ae1325
[ "MIT" ]
null
null
null
deploy.py
dylanbhughes/reddit-daily
27da5a89211af7d255761b70f558b407f8ae1325
[ "MIT" ]
null
null
null
from prefect import Client from prefect.schedules import CronSchedule from reddit_daily import flow c = Client() s = CronSchedule("0 * * * *") flow.schedule = s flow.deploy(project="Dylan's Project")
18.454545
42
0.743842
28
203
5.357143
0.571429
0.146667
0
0
0
0
0
0
0
0
0
0.00578
0.147783
203
10
43
20.3
0.861272
0
0
0
0
0
0.118227
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5650b2d478515dcbbdf4dd7d75fa77eaeb9bf44a
2,089
py
Python
test/tests/descriptors_callattr_cls_ics.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/descriptors_callattr_cls_ics.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/descriptors_callattr_cls_ics.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# expected: statfail # run_args: -n # statcheck: stats['slowpath_callattr'] <= 100 # Right now this won't work because callattr involves two calls # one call to __get__ and then another call to the returned function. # Of course, if the callattr were split up into getattr and a call, # each could be re-written separat...
24.576471
80
0.642891
286
2,089
4.447552
0.388112
0.028302
0.050314
0.044025
0.337264
0.302673
0.302673
0.277516
0.248428
0.248428
0
0.024788
0.266156
2,089
84
81
24.869048
0.804958
0.308281
0
0.438596
0
0
0.122991
0
0
0
0
0
0
0
null
null
0.087719
0
null
null
0.280702
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
1
0
0
1
0
0
0
0
0
2
56535d202c5248fa8ad212ec87b660b206ab1a79
1,061
py
Python
accounts/models.py
sd2001/SR2.0
6586f172ef71fbf0aaad55706159f9cb03b305fc
[ "MIT" ]
null
null
null
accounts/models.py
sd2001/SR2.0
6586f172ef71fbf0aaad55706159f9cb03b305fc
[ "MIT" ]
null
null
null
accounts/models.py
sd2001/SR2.0
6586f172ef71fbf0aaad55706159f9cb03b305fc
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Customer(models.Model): name = models.CharField(max_length=200, null=True) phone = models.CharField(max_length=200, null=True) email = models.CharField(max_length=200, null=True) date_created = models.DateTimeField(auto_now_add=True, null=True) def ...
28.675676
73
0.727615
142
1,061
5.295775
0.316901
0.117021
0.167553
0.223404
0.5625
0.5625
0.5625
0.515957
0.300532
0.300532
0
0.022826
0.132894
1,061
37
74
28.675676
0.794565
0.04147
0
0.192308
0
0
0.090819
0
0
0
0
0
0
1
0.038462
false
0
0.038462
0.038462
0.730769
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
565da181b049c755becd73e4cfe329f9e7dde440
4,935
py
Python
alis.py
libalis/alis
615c2fc3f7502767016fb6e089d2880f832a3614
[ "MIT" ]
1
2022-03-09T15:25:33.000Z
2022-03-09T15:25:33.000Z
alis.py
libalis/alis
615c2fc3f7502767016fb6e089d2880f832a3614
[ "MIT" ]
null
null
null
alis.py
libalis/alis
615c2fc3f7502767016fb6e089d2880f832a3614
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from subprocess import * def cmd(tmp): run(tmp, shell=True) key = input('Enter your keyboard layout (e.g., "de-latin1"): ') if key == '': while key == '': key = input('Enter your keyboard layout (e.g., "de-latin1"): ') else: pass cmd('loadkeys ' + key) dis = input('Enter your ...
37.386364
288
0.619453
752
4,935
4.05984
0.289894
0.075336
0.08942
0.110056
0.481821
0.389781
0.241729
0.227972
0.227972
0.183426
0
0.004529
0.194732
4,935
131
289
37.671756
0.763714
0.004255
0
0.4
0
0.038462
0.607572
0.041522
0
0
0
0
0
1
0.007692
false
0.153846
0.007692
0
0.015385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
566473ecf93afdd05508a395665216012e9ff1bb
101
py
Python
config.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
config.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
config.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
DEBUG = True SQLALCHEMY_DATABASE_URI = 'sqlite:///data.sqlite' SQLALCHEMY_TRACK_MODIFICATIONS = True
25.25
49
0.811881
12
101
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.089109
101
3
50
33.666667
0.847826
0
0
0
0
0
0.207921
0.207921
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5667f72dfc69b9aa47d14189ef196acc3e008400
396
py
Python
functions_advanced/exercise/02_odd_or_even.py
Galchov/python-advanced
1961205415a634948f4a50cf6e60b630ee645ad5
[ "MIT" ]
null
null
null
functions_advanced/exercise/02_odd_or_even.py
Galchov/python-advanced
1961205415a634948f4a50cf6e60b630ee645ad5
[ "MIT" ]
null
null
null
functions_advanced/exercise/02_odd_or_even.py
Galchov/python-advanced
1961205415a634948f4a50cf6e60b630ee645ad5
[ "MIT" ]
null
null
null
command = input() numbers_sequence = [int(x) for x in input().split()] odd_numbers = [] even_numbers = [] for number in numbers_sequence: if number % 2 == 0: even_numbers.append(number) else: odd_numbers.append(number) if command == 'Odd': print(sum(odd_numbers) * len(numbers_sequence)) e...
23.294118
52
0.664141
53
396
4.773585
0.396226
0.237154
0.150198
0.197628
0
0
0
0
0
0
0
0.006289
0.19697
396
16
53
24.75
0.789308
0
0
0
0
0
0.017677
0
0
0
0
0
0
1
0
false
0
0
0
0
0.153846
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5670050699655980aac13389bf361e57f70beee5
632
py
Python
commands/manual/mecanum_drive_with_joystick.py
DenfeldRobotics4009/2016_Dos_Point_Oh
efb6a189796e0488e2afcafd1c6cce6beb372ce3
[ "BSD-3-Clause" ]
null
null
null
commands/manual/mecanum_drive_with_joystick.py
DenfeldRobotics4009/2016_Dos_Point_Oh
efb6a189796e0488e2afcafd1c6cce6beb372ce3
[ "BSD-3-Clause" ]
null
null
null
commands/manual/mecanum_drive_with_joystick.py
DenfeldRobotics4009/2016_Dos_Point_Oh
efb6a189796e0488e2afcafd1c6cce6beb372ce3
[ "BSD-3-Clause" ]
null
null
null
__author__ = 'nikolojedison' from wpilib.command import Command class MecanumDriveWithJoystick(Command): ''' Have the robot drive mecanum style using the joystick until interrupted. ''' def __init__(self, robot): super().__init__() self.robot = robot self.requires(self.ro...
22.571429
80
0.653481
70
632
5.728571
0.514286
0.134663
0.142145
0.114713
0
0
0
0
0
0
0
0.006303
0.246835
632
27
81
23.407407
0.836134
0.151899
0
0
0
0
0.025194
0
0
0
0
0
0
1
0.3125
false
0.0625
0.0625
0.0625
0.5
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
0
0
0
2
56777bd7045a70ceb2264596518586d81ffd0fab
3,318
py
Python
app/models.py
IanMK-1/my-blog
9f53f52d97fef12cebb7265f3bca5e0039a5a6e8
[ "MIT" ]
null
null
null
app/models.py
IanMK-1/my-blog
9f53f52d97fef12cebb7265f3bca5e0039a5a6e8
[ "MIT" ]
null
null
null
app/models.py
IanMK-1/my-blog
9f53f52d97fef12cebb7265f3bca5e0039a5a6e8
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from datetime import datetime from flask_login import UserMixin from . import login_manager class Writer(db.Model, UserMixin): __tablename__ = 'writers' id = db.Column(db.Integer, primary_key=True) full_name = db.C...
30.722222
109
0.685051
447
3,318
4.883669
0.208054
0.069629
0.087036
0.080623
0.4306
0.36601
0.36601
0.312414
0.237746
0.199267
0
0.008955
0.192285
3,318
107
110
31.009346
0.805597
0.014165
0
0.2625
1
0
0.060569
0.00673
0
0
0
0
0
1
0.175
false
0.1125
0.0625
0.0375
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
567cadcc4e87dd3ab5f7c52dd6557099adf1499b
709
py
Python
tests/state/test_op_state_model.py
ska-telescope/lmc-base-classes
e3ac46a731aca4d49d53747b4352ec4be089ff5d
[ "BSD-3-Clause" ]
3
2019-04-18T20:46:02.000Z
2019-07-30T17:47:40.000Z
tests/state/test_op_state_model.py
ska-telescope/lmc-base-classes
e3ac46a731aca4d49d53747b4352ec4be089ff5d
[ "BSD-3-Clause" ]
26
2018-10-30T07:50:50.000Z
2020-07-13T12:50:36.000Z
tests/state/test_op_state_model.py
ska-telescope/lmc-base-classes
e3ac46a731aca4d49d53747b4352ec4be089ff5d
[ "BSD-3-Clause" ]
4
2019-01-16T07:47:59.000Z
2021-06-01T11:17:32.000Z
""" This module contains the tests for the :py:mod:`ska_tango_base.base.device_state_model` module. """ import pytest from ska_tango_base.base.op_state_model import _OpStateMachine from .conftest import load_state_machine_spec, TransitionsStateMachineTester @pytest.mark.state_machine_tester(load_state_machine_spec(...
27.269231
78
0.748942
87
709
5.83908
0.425287
0.141732
0.094488
0.062992
0.122047
0.122047
0
0
0
0
0
0
0.177715
709
25
79
28.36
0.871355
0.365303
0
0
0
0
0.040404
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
568691e683d1c0cc0063b0dcc30d1448a0dfb84e
5,831
py
Python
python/passwordbox.py
FreeCX/bunch-of-code
f1dc7d865f1a36994b1555ef5042d167975101a5
[ "BSD-3-Clause" ]
1
2020-11-09T10:02:56.000Z
2020-11-09T10:02:56.000Z
python/passwordbox.py
FreeCX/bunch-of-code
f1dc7d865f1a36994b1555ef5042d167975101a5
[ "BSD-3-Clause" ]
null
null
null
python/passwordbox.py
FreeCX/bunch-of-code
f1dc7d865f1a36994b1555ef5042d167975101a5
[ "BSD-3-Clause" ]
null
null
null
#!/bin/env python from pathlib import Path import argparse import secrets import random import string def generate(args): """Функция генерации данных для 'коробки'. Входные параметры: args.alphabet -- используемый алфавит args.length -- длина файла в символах args.box -- выходной фай...
38.111111
127
0.642257
792
5,831
4.626263
0.263889
0.024836
0.034935
0.024563
0.228166
0.219432
0.196507
0.196507
0.174127
0.151201
0
0.005461
0.214886
5,831
153
128
38.111111
0.794889
0.135826
0
0.09
1
0
0.18333
0
0
0
0
0
0
1
0.07
false
0.1
0.07
0.01
0.18
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
568ed26e9ab8d154e9107a949de157efd58b579f
7,296
py
Python
tests/test_feature_typecheck.py
smurfix/distkv
190b4c8f6cbe038b85bac4317a7fb13a9e742516
[ "Apache-2.0", "MIT" ]
10
2019-03-19T16:04:21.000Z
2020-06-04T20:11:10.000Z
tests/test_feature_typecheck.py
M-o-a-T/distkv
94f440e1480ecec04af63abdb66ec8f23859f871
[ "Apache-2.0", "MIT" ]
1
2020-02-05T18:32:52.000Z
2020-02-05T22:15:36.000Z
tests/test_feature_typecheck.py
smurfix/distkv
190b4c8f6cbe038b85bac4317a7fb13a9e742516
[ "Apache-2.0", "MIT" ]
1
2020-08-03T03:10:58.000Z
2020-08-03T03:10:58.000Z
import pytest import io from functools import partial from distkv.mock import run from distkv.mock.mqtt import stdtest from distkv.client import ServerError from distkv.util import PathLongener, P import logging logger = logging.getLogger(__name__) async def collect(i, path=()): res = [] pl = PathLongener...
33.62212
95
0.382401
700
7,296
3.937143
0.194286
0.034833
0.081277
0.137155
0.772134
0.748186
0.68106
0.68106
0.672351
0.654935
0
0.02968
0.473547
7,296
216
96
33.777778
0.687842
0.021519
0
0.606383
0
0
0.185781
0.018806
0
0
0
0
0.005319
1
0
false
0.021277
0.042553
0
0.047872
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56945b647c0211c5ba26d8d1a150a8f1b3e72dde
342
py
Python
phylobook/admin.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
phylobook/admin.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
phylobook/admin.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
from django.contrib import admin from phylobook.projects.models import Project from guardian.admin import GuardedModelAdmin class ProjectAdmin(GuardedModelAdmin): #prepopulated_fields = {"slug": ("title",)} list_display = ('name',) search_fields = ('name',) ordering = ('name',) admin.site.register(...
24.428571
47
0.733918
36
342
6.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.143275
342
14
48
24.428571
0.846416
0.122807
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.375
0
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
0
0
0
1
0
1
0
0
2
3b33aea13362bd67bad83eaa4e2c249a93dc5a8a
2,758
py
Python
ooobuild/lo/ui/xui_element.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/xui_element.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/xui_element.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
39.971014
346
0.725526
387
2,758
5.062016
0.459948
0.059724
0.071465
0.024502
0.08831
0.064829
0
0
0
0
0
0.023277
0.205584
2,758
68
347
40.558824
0.870835
0.658086
0
0.157895
0
0
0.153257
0.066411
0
0
0
0
0
1
0.210526
false
0
0.210526
0
0.684211
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
0
1
0
0
2
3b34406a8f716f25d8ef046bec49c10a26840a6b
57
py
Python
app/viewers/__init__.py
Zo0x/hedhes
7cb933f49079f6b75f7a84ba275fff9721ca06d3
[ "MIT" ]
3
2017-08-29T13:06:50.000Z
2017-09-22T18:40:17.000Z
app/viewers/__init__.py
Zo0x/hedhes
7cb933f49079f6b75f7a84ba275fff9721ca06d3
[ "MIT" ]
1
2017-08-29T13:25:59.000Z
2017-08-29T13:46:57.000Z
app/viewers/__init__.py
Zo0x/hedhes
7cb933f49079f6b75f7a84ba275fff9721ca06d3
[ "MIT" ]
null
null
null
__all__ = ['general', 'utils', 'movies', 'tv', 'library']
57
57
0.596491
6
57
5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
1
57
57
0.588235
0
0
0
0
0
0.465517
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
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
2
3b3ec94b34559ed9236bdfd0533eb9fa0f59f99f
4,592
py
Python
cmsplugin_gridlayout/migrations/0001_initial.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
cmsplugin_gridlayout/migrations/0001_initial.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
cmsplugin_gridlayout/migrations/0001_initial.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-24 06:38 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cms', '0016_auto_20160608_1535'), ]...
75.278689
373
0.548998
577
4,592
4.272097
0.181976
0.043813
0.073022
0.092495
0.782961
0.68357
0.66856
0.656795
0.656795
0.640568
0
0.056812
0.210366
4,592
60
374
76.533333
0.623001
0.014808
0
0.442308
1
0
0.241982
0.022561
0
0
0
0
0
1
0
false
0
0.057692
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b4ce6d5bb94db3f7f0a418bdaca1b966e3f95e3
1,341
py
Python
metaflow/plugins/kfp/tests/flows/foreach_linear_split.py
snehalshirgure/metaflow
1d316ddffa86f0877dd936f647fc5b1ae9a24906
[ "Apache-2.0" ]
7
2020-07-24T17:07:58.000Z
2021-05-19T21:47:12.000Z
metaflow/plugins/kfp/tests/flows/foreach_linear_split.py
snehalshirgure/metaflow
1d316ddffa86f0877dd936f647fc5b1ae9a24906
[ "Apache-2.0" ]
55
2020-07-20T16:56:27.000Z
2022-03-28T12:51:15.000Z
metaflow/plugins/kfp/tests/flows/foreach_linear_split.py
snehalshirgure/metaflow
1d316ddffa86f0877dd936f647fc5b1ae9a24906
[ "Apache-2.0" ]
6
2020-10-15T18:38:35.000Z
2021-06-20T03:05:43.000Z
from metaflow import FlowSpec, step class ForeachLinearSplit(FlowSpec): """ foreach -> linear -> split -> linear -> foreach -> join """ @step def start(self): self.x = "ab" self.next(self.linear_1, foreach="x") @step def linear_1(self): self.next(self.split_a_and_...
18.887324
59
0.593587
189
1,341
3.952381
0.164021
0.131191
0.208835
0.128514
0.483266
0.358768
0.179384
0.179384
0.10174
0.10174
0
0.006244
0.283371
1,341
70
60
19.157143
0.771072
0.041014
0
0.367347
0
0
0.013386
0
0
0
0
0
0
1
0.285714
false
0.020408
0.020408
0
0.326531
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
0
0
0
2
3b50a4048f03048e7278d8b9cfe37fc7a618f21d
79,907
py
Python
ucsmsdk/mometa/fault/FaultSuppressPolicyItem.py
vesposito/ucsmsdk
03bc1e19b8582c68d3a94a20a939a48fe91332f8
[ "Apache-2.0" ]
null
null
null
ucsmsdk/mometa/fault/FaultSuppressPolicyItem.py
vesposito/ucsmsdk
03bc1e19b8582c68d3a94a20a939a48fe91332f8
[ "Apache-2.0" ]
null
null
null
ucsmsdk/mometa/fault/FaultSuppressPolicyItem.py
vesposito/ucsmsdk
03bc1e19b8582c68d3a94a20a939a48fe91332f8
[ "Apache-2.0" ]
null
null
null
"""This module contains the general information for FaultSuppressPolicyItem ManagedObject.""" from ...ucsmo import ManagedObject from ...ucscoremeta import MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class FaultSuppressPolicyItemConsts: CAUSE_CHASSIS_PROFILE_ASSIGNED = "ChassisProfile-assigned" ...
87.906491
23,398
0.784975
10,020
79,907
5.960579
0.072156
0.100193
0.017145
0.005726
0.506438
0.328656
0.169125
0.104127
0.066103
0.050113
0
0.001584
0.091494
79,907
908
23,399
88.003304
0.82112
0.001577
0
0
0
0.003352
0.510443
0.377122
0
0
0.000364
0
0.003352
1
0.001117
false
0.003352
0.003352
0
0.97095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3b5d662efebfe5c9bfd7a609e8377c7cafbaf6e2
292
py
Python
config.py
mn3711698/wrobot
c29fffb58f47c39d4f142d430f81712d00e02f18
[ "MIT" ]
23
2020-09-22T14:25:40.000Z
2021-11-07T20:27:52.000Z
config.py
a04512/wrobot
d8ae9e23637ba0a984c15a868e5c0093fdc74c23
[ "MIT" ]
null
null
null
config.py
a04512/wrobot
d8ae9e23637ba0a984c15a868e5c0093fdc74c23
[ "MIT" ]
6
2021-02-03T02:15:40.000Z
2022-02-10T14:05:48.000Z
# -*- coding: utf-8 -*- ############################################################################## #Author:QQ173782910 ############################################################################## CLIENT_NAME = 'wrobot'#注意:这个是项目名 DEBUG='1' L_no=['newscontent','text_contents']#不判断副文本
26.545455
78
0.315068
18
292
4.944444
1
0
0
0
0
0
0
0
0
0
0
0.039855
0.054795
292
10
79
29.2
0.282609
0.184932
0
0
0
0
0.413333
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
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
0
0
2
3b949b44ff68c1fb90088c87aea4a63df7a2740f
2,676
py
Python
thingpark/utils.py
asalminen/DjangoHttpBroker-Thingpark
04dcac78baefce1f30d9b0f337f81edbe398ed27
[ "MIT" ]
null
null
null
thingpark/utils.py
asalminen/DjangoHttpBroker-Thingpark
04dcac78baefce1f30d9b0f337f81edbe398ed27
[ "MIT" ]
null
null
null
thingpark/utils.py
asalminen/DjangoHttpBroker-Thingpark
04dcac78baefce1f30d9b0f337f81edbe398ed27
[ "MIT" ]
2
2020-05-05T12:57:47.000Z
2020-08-14T13:33:56.000Z
import base64 import json import datetime import influxdb import pytz from django.contrib.auth import authenticate from django.utils import timezone from django.utils.timezone import get_default_timezone def get_influxdb_client(host='127.0.0.1', port=8086, database='mydb'): iclient = influxdb.InfluxDBClient(host=...
33.45
90
0.659567
336
2,676
5.193452
0.431548
0.017192
0.017192
0.027507
0
0
0
0
0
0
0
0.010737
0.234305
2,676
79
91
33.873418
0.840898
0.136398
0
0.032787
0
0
0.060461
0.009134
0
0
0
0.012658
0
1
0.081967
false
0.065574
0.147541
0
0.327869
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
8e648fdb9af955e77c9a6dcefd6cedf95058d92b
7,285
py
Python
ServerComponent/venv/Lib/site-packages/pythonrv/test/dbc_contract_test.py
CDU55/FakeNews
707bd48dd78851081d98ad21bbdadfc2720bd644
[ "MIT" ]
2
2019-01-06T13:31:10.000Z
2020-12-11T04:05:44.000Z
pythonrv/test/dbc_contract_test.py
tgwizard/pythonrv
e50198cc6d48d8c6c6badbe8a1cd46eb0182839a
[ "MIT" ]
37
2020-10-20T08:30:53.000Z
2020-12-22T13:15:45.000Z
pythonrv/test/dbc_contract_test.py
tgwizard/pythonrv
e50198cc6d48d8c6c6badbe8a1cd46eb0182839a
[ "MIT" ]
1
2020-10-19T14:55:23.000Z
2020-10-19T14:55:23.000Z
# -*- coding: utf-8 -*- import unittest from pythonrv import dbc class TestOnFunctions(unittest.TestCase): def test_return_value(self): def pre(x): return 17 def post(x): return 'adsf' @dbc.contract(pre=pre, post=post) def m(x): return x+2 ...
24.042904
70
0.445985
868
7,285
3.717742
0.108295
0.203285
0.078091
0.061357
0.669662
0.617911
0.538271
0.453982
0.396033
0.380539
0
0.010592
0.403844
7,285
302
71
24.122517
0.732443
0.002883
0
0.59751
0
0
0.0252
0
0
0
0
0
0.186722
1
0.253112
false
0.012448
0.008299
0.074689
0.373444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
8e696d0fd3fbf6a42b554bb892a1c39dee30e6d8
947
py
Python
runpandarun/storage/filesystem.py
simonwoerpel/runpandarun
6ea5f4c7fdda92775ed87c8930442a605d005551
[ "MIT" ]
3
2020-03-28T14:51:49.000Z
2020-04-02T10:53:15.000Z
runpandarun/storage/filesystem.py
simonwoerpel/simple-datastore
6ea5f4c7fdda92775ed87c8930442a605d005551
[ "MIT" ]
null
null
null
runpandarun/storage/filesystem.py
simonwoerpel/simple-datastore
6ea5f4c7fdda92775ed87c8930442a605d005551
[ "MIT" ]
null
null
null
import os from ..util import get_files from .backend import Backend def ensure_directory(fp): fp = os.path.abspath(fp) if not os.path.isdir(fp): os.makedirs(fp) return fp class FilesystemBackend(Backend): def get_base_path(self): return ensure_directory(self.config.data_root) d...
24.921053
59
0.620908
134
947
4.283582
0.365672
0.052265
0.076655
0.10453
0.146341
0
0
0
0
0
0
0.001433
0.262936
947
37
60
25.594595
0.820917
0
0
0.107143
0
0
0.001056
0
0
0
0
0
0
1
0.214286
false
0
0.107143
0.035714
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
0
0
0
1
0
0
2
8e7468d88607fbc5382da61bbccee2728493aa59
1,880
py
Python
scripts/ais_names.py
rolker/noaadata
052a4b7d634e0a3a92a348b543e5db536ae24f02
[ "Apache-2.0" ]
35
2015-02-15T17:23:00.000Z
2022-01-27T01:49:43.000Z
scripts/ais_names.py
rolker/noaadata
052a4b7d634e0a3a92a348b543e5db536ae24f02
[ "Apache-2.0" ]
2
2017-10-04T17:24:38.000Z
2017-10-04T18:22:00.000Z
scripts/ais_names.py
rolker/noaadata
052a4b7d634e0a3a92a348b543e5db536ae24f02
[ "Apache-2.0" ]
22
2015-02-08T13:29:58.000Z
2022-03-09T03:03:16.000Z
#!/usr/bin/env python """Get the name and mmsi (User ID) for each msg 5 identification message. This program requires that the nmea strings be sorted such that the 2nd part of the message comes directly after the first. You can do this by grepping for the USCG N-AIS station name. This will prevent interleaving of m...
32.413793
114
0.682447
253
1,880
4.897233
0.541502
0.016142
0.016949
0
0
0
0
0
0
0
0
0.017299
0.200532
1,880
57
115
32.982456
0.807053
0.036702
0
0
0
0
0.125743
0
0
0
0
0.017544
0
0
null
null
0
0.2
null
null
0.033333
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
1
0
0
0
0
0
0
0
0
2
8e8bc871fda21a0d7884e4214900dd34d5c3adee
197
py
Python
basics/ch2__VARIABLES_AND_SIMPLE_DATA_TYPES/4_full_name.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
basics/ch2__VARIABLES_AND_SIMPLE_DATA_TYPES/4_full_name.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
basics/ch2__VARIABLES_AND_SIMPLE_DATA_TYPES/4_full_name.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
first_name = "Hannah" last_name = "Louisa" full_name = f"{first_name} {last_name}" print(full_name) print(f"Hello, {full_name.upper()}") message = f"Howdy, {full_name.title()}" print(message)
15.153846
39
0.700508
30
197
4.333333
0.433333
0.246154
0
0
0
0
0
0
0
0
0
0
0.116751
197
12
40
16.416667
0.747126
0
0
0
0
0
0.446701
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
8e97818e84bbe9e5e9c390ad120b252d5e2c6186
138
py
Python
testdata/clean_geojson.py
prune998/regionagogo
5a250f997807dd7da07dbf84c54c51003ce0a322
[ "MIT" ]
80
2016-02-29T06:13:26.000Z
2020-06-23T23:20:24.000Z
testdata/clean_geojson.py
Acidburn0zzz/regionagogo
5a250f997807dd7da07dbf84c54c51003ce0a322
[ "MIT" ]
2
2016-06-14T02:17:44.000Z
2016-10-27T16:21:56.000Z
testdata/clean_geojson.py
Acidburn0zzz/regionagogo
5a250f997807dd7da07dbf84c54c51003ce0a322
[ "MIT" ]
18
2016-06-14T00:24:30.000Z
2020-03-19T16:10:58.000Z
import json f = open("files.txt", 'r') for line in f: json_data = open(line.strip()) data = json.load(json_data) print(data)
17.25
34
0.623188
23
138
3.652174
0.608696
0.190476
0
0
0
0
0
0
0
0
0
0
0.217391
138
7
35
19.714286
0.777778
0
0
0
0
0
0.072464
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e9c3fee5dda22f193aa6a873ae553d9cae918bd
30,086
py
Python
pysnmp/DOCS-MCAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/DOCS-MCAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/DOCS-MCAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DOCS-MCAST-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DOCS-MCAST-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:38:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
146.048544
5,229
0.784684
3,020
30,086
7.816556
0.087417
0.009235
0.012582
0.015589
0.319199
0.278023
0.214564
0.206261
0.19728
0.179573
0
0.070145
0.075052
30,086
205
5,230
146.760976
0.778137
0.010703
0
0.010152
0
0
0.160612
0.063855
0
0
0
0
0
1
0
false
0
0.06599
0
0.06599
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8ea4ff60dbd45c87a48eac14c5b632ff27ce3332
15,415
py
Python
tests/basic/sessions_client.py
billmcchesney1/sessionOffload
816d1572bff5f2b60bd402c22b7973f0370e1c47
[ "Apache-2.0" ]
null
null
null
tests/basic/sessions_client.py
billmcchesney1/sessionOffload
816d1572bff5f2b60bd402c22b7973f0370e1c47
[ "Apache-2.0" ]
null
null
null
tests/basic/sessions_client.py
billmcchesney1/sessionOffload
816d1572bff5f2b60bd402c22b7973f0370e1c47
[ "Apache-2.0" ]
null
null
null
#============LICENSE_START============================================================================================================= # Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. #=================================================================== # Licensed under the Apache License, Version ...
46.996951
135
0.684333
1,578
15,415
6.513308
0.174905
0.058572
0.019264
0.01654
0.723001
0.703833
0.677564
0.673575
0.663359
0.663359
0
0.024343
0.155238
15,415
327
136
47.140673
0.764936
0.083166
0
0.663004
0
0
0.188725
0.026271
0
0
0
0
0
1
0.087912
false
0
0.032967
0
0.14652
0.300366
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8eba1807a586b5e5836e265aee586f7917f0883d
541
py
Python
example.py
heironeous/mijiahygrothermolib
ebc8fbe1c964cf17dfb9c5846eed8d0498d8300b
[ "MIT" ]
null
null
null
example.py
heironeous/mijiahygrothermolib
ebc8fbe1c964cf17dfb9c5846eed8d0498d8300b
[ "MIT" ]
null
null
null
example.py
heironeous/mijiahygrothermolib
ebc8fbe1c964cf17dfb9c5846eed8d0498d8300b
[ "MIT" ]
null
null
null
from mijiahygrothermo import MijiaHygrothermo for device in MijiaHygrothermo.discover(): data = device.get_latest_properties() print("- {}".format(data['macAddress'])) print(" name: {}".format(data['name'])) print(" firmware: {}".format(data['firmwareVersion'])) print(" battery level: {}%".forma...
41.615385
67
0.648799
53
541
6.584906
0.490566
0.200573
0
0
0
0
0
0
0
0
0
0
0.144177
541
12
68
45.083333
0.75378
0
0
0
0
0
0.332717
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.727273
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
8ec520973d935ba2239967b3351035f72538ac71
2,551
py
Python
vmware_nsx/db/migration/alembic_migrations/versions/newton/expand/aede17d51d0f_timestamps.py
mail2nsrajesh/vmware-nsx
63154b510b9fd95c10fffae86bfc49073cafeb40
[ "Apache-2.0" ]
null
null
null
vmware_nsx/db/migration/alembic_migrations/versions/newton/expand/aede17d51d0f_timestamps.py
mail2nsrajesh/vmware-nsx
63154b510b9fd95c10fffae86bfc49073cafeb40
[ "Apache-2.0" ]
null
null
null
vmware_nsx/db/migration/alembic_migrations/versions/newton/expand/aede17d51d0f_timestamps.py
mail2nsrajesh/vmware-nsx
63154b510b9fd95c10fffae86bfc49073cafeb40
[ "Apache-2.0" ]
1
2019-06-21T18:07:53.000Z
2019-06-21T18:07:53.000Z
# Copyright 2016 VMware, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
29.321839
78
0.71815
302
2,551
5.721854
0.5
0.076389
0.072917
0.018519
0.056713
0.028935
0.028935
0
0
0
0
0.02767
0.192474
2,551
86
79
29.662791
0.811165
0.290082
0
0.068966
0
0
0.600335
0.462269
0
0
0
0
0
1
0.017241
false
0
0.034483
0
0.051724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8ed9d714b91fc8772d59c6eaa3f24fa2364d9321
1,911
py
Python
py-use_api/examples/nhts_api.py
beenorgone-notebook/python-notebook
48e42b5be70e7ca06e8440a75516c055c961371c
[ "MIT" ]
null
null
null
py-use_api/examples/nhts_api.py
beenorgone-notebook/python-notebook
48e42b5be70e7ca06e8440a75516c055c961371c
[ "MIT" ]
null
null
null
py-use_api/examples/nhts_api.py
beenorgone-notebook/python-notebook
48e42b5be70e7ca06e8440a75516c055c961371c
[ "MIT" ]
1
2018-04-08T13:24:39.000Z
2018-04-08T13:24:39.000Z
# Use NHTSA API to Evaluate the Safety of your Car # NHTSA API: http://www.nhtsa.gov/webapi/Default.aspx?SafetyRatings/API/5 import requests from json import loads def print_result(apiUrl, apiParam, outputFormat): # Combine all three variables to make up the complete request URL response = requests.get(apiU...
30.822581
76
0.676086
228
1,911
5.631579
0.416667
0.124611
0.141745
0.116822
0.366044
0
0
0
0
0
0
0.0211
0.18158
1,911
61
77
31.327869
0.799872
0.352695
0
0.304348
0
0
0.215064
0.085233
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.434783
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
1
0
0
0
0
0
0
1
0
2
8ed9e4244b840a0c8861b92b9279742ab35944fb
26,668
py
Python
pysnmp-with-texts/CISCO-VOICE-ATM-DIAL-CONTROL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-VOICE-ATM-DIAL-CONTROL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-VOICE-ATM-DIAL-CONTROL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-VOICE-ATM-DIAL-CONTROL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VOICE-ATM-DIAL-CONTROL-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:19:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Pyt...
149.820225
2,912
0.793873
3,061
26,668
6.915714
0.132636
0.049317
0.086305
0.010015
0.483868
0.359488
0.30129
0.267372
0.233455
0.17587
0
0.043777
0.089471
26,668
177
2,913
150.666667
0.828021
0.013424
0
0.02994
0
0.11976
0.341774
0.076575
0
0
0
0
0
1
0
false
0
0.065868
0
0.095808
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8eda27f4296deeabe0ac133ba85e5d620cffa145
1,183
py
Python
pythonaulas/Aula 18/Desafio 087.py
jrwarg/Estudos-Phyton
2207ec1ee9880501e12fbfecf7dfaaf38bb2ebca
[ "MIT" ]
null
null
null
pythonaulas/Aula 18/Desafio 087.py
jrwarg/Estudos-Phyton
2207ec1ee9880501e12fbfecf7dfaaf38bb2ebca
[ "MIT" ]
null
null
null
pythonaulas/Aula 18/Desafio 087.py
jrwarg/Estudos-Phyton
2207ec1ee9880501e12fbfecf7dfaaf38bb2ebca
[ "MIT" ]
null
null
null
""" DESAFIO 087: Mais Sobre Matriz em Python Aprimore o desafio anterior, mostrando no final: A) A soma de todos os valores pares digitados. B) A soma dos valores da terceira coluna. C) O maior valor da segunda linha. 0 [_][_][_] 1 [_][_][_] 2 [_][_][_] 0 1 2 """ matriz = [ [], [], [] ] pares = ter...
24.645833
68
0.554522
163
1,183
3.969325
0.312883
0.136012
0.183926
0.069552
0.316847
0.316847
0.197836
0.102009
0.102009
0.102009
0
0.029904
0.293322
1,183
47
69
25.170213
0.744019
0.222316
0
0.344828
0
0
0.218202
0.025219
0
0
0
0.021277
0
1
0
false
0
0
0
0
0.241379
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
1
0
0
0
0
0
0
0
0
0
0
2
8ee03759a83210f987674ce56679b12cc3407310
325
py
Python
longest_word.py
Aladeusi/python_algorithm_test_cases
552ac8e3a70a274ed7da0e9de37307b418f76a75
[ "Apache-2.0" ]
null
null
null
longest_word.py
Aladeusi/python_algorithm_test_cases
552ac8e3a70a274ed7da0e9de37307b418f76a75
[ "Apache-2.0" ]
null
null
null
longest_word.py
Aladeusi/python_algorithm_test_cases
552ac8e3a70a274ed7da0e9de37307b418f76a75
[ "Apache-2.0" ]
null
null
null
# this code returns longest word in a phrase or sentence def get_longest_word(sentence): longest_word="" for word in str(sentence).split(" "): longest_word=word if len(word) > len(longest_word) else longest_word return longest_word print get_longest_word("This is the begenning of algorithm") ...
29.545455
110
0.716923
48
325
4.666667
0.520833
0.392857
0.125
0
0
0
0
0
0
0
0
0
0.206154
325
11
111
29.545455
0.868217
0.166154
0
0
0
0
0.12963
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8ee1e47e347f702d0bbef1018c0cd90f3ff138dc
539
py
Python
plugins/Limbo.py
Pr0Ger/SGSB
6adf8dc7ce3bf3d4b84f46b7d97aad376440e175
[ "MIT" ]
2
2015-05-10T01:48:36.000Z
2015-05-11T09:52:01.000Z
plugins/Limbo.py
Pr0Ger/SGSB
6adf8dc7ce3bf3d4b84f46b7d97aad376440e175
[ "MIT" ]
null
null
null
plugins/Limbo.py
Pr0Ger/SGSB
6adf8dc7ce3bf3d4b84f46b7d97aad376440e175
[ "MIT" ]
null
null
null
import os from lib.base_plugin import BasePlugin from lib.paths import SteamCloudPath, SteamGamesPath class LIMBOPlugin(BasePlugin): Name = "LIMBO" support_os = ["Windows", "Darwin"] def backup(self, _): _.add_folder('Data', os.path.join(SteamCloudPath, '48000'), 'remote') def restore(self, ...
26.95
81
0.658627
63
539
5.507937
0.539683
0.069164
0.086455
0.092219
0.276657
0.276657
0.276657
0.276657
0.276657
0
0
0.023419
0.207792
539
19
82
28.368421
0.789227
0
0
0
0
0
0.09833
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0
0.785714
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
0
1
0
0
2
8ef3f43f301ee2ae8e59946a36c7730f24602e33
665
py
Python
algorithms/code/leetcode/lc242_valid_anagram/lc242_valid_anagram.py
altermarkive/training
6a13f5b2f466156ad5db0e25da0e601d2404b4c3
[ "MIT" ]
null
null
null
algorithms/code/leetcode/lc242_valid_anagram/lc242_valid_anagram.py
altermarkive/training
6a13f5b2f466156ad5db0e25da0e601d2404b4c3
[ "MIT" ]
1
2022-02-16T11:28:56.000Z
2022-02-16T11:28:56.000Z
algorithms/code/leetcode/lc242_valid_anagram/lc242_valid_anagram.py
altermarkive/training
6a13f5b2f466156ad5db0e25da0e601d2404b4c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # https://leetcode.com/problems/valid-anagram/ import unittest class Solution: def isAnagram(self, s: str, t: str) -> bool: if len(s) != len(t): return False s = set(s) t = set(t) return s == t class TestCode(unittest.TestCase): def test_aa...
23.75
67
0.607519
86
665
4.604651
0.430233
0.070707
0.143939
0.204545
0.272727
0
0
0
0
0
0
0.001957
0.231579
665
27
68
24.62963
0.772994
0.099248
0
0
0
0
0.041876
0
0
0
0
0
0.235294
1
0.294118
false
0
0.058824
0
0.588235
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
0
0
0
2
d6fe4c234417dcd08c96e7b3a51b683755aef2b8
1,613
py
Python
saveFiles.py
DrewDaddio/Automate-Python
552c8f4041c53c9ce1d6a7e1b8c11f640695453c
[ "Unlicense" ]
null
null
null
saveFiles.py
DrewDaddio/Automate-Python
552c8f4041c53c9ce1d6a7e1b8c11f640695453c
[ "Unlicense" ]
null
null
null
saveFiles.py
DrewDaddio/Automate-Python
552c8f4041c53c9ce1d6a7e1b8c11f640695453c
[ "Unlicense" ]
null
null
null
# Reading and Writing Plain Text Files print("""Steps to reading and writing text files in Python: Open 1. open() function: open's the file helloFile = open('<file name.txt>') helloFile.read() helloFile.close() Read 2. readlines() method: returns all of the lines as strings inside of a list. helloFile ...
32.26
187
0.721017
248
1,613
4.689516
0.423387
0.060189
0.058469
0.072227
0.264832
0.153052
0.096303
0
0
0
0
0.003019
0.178549
1,613
49
188
32.918367
0.874717
0.022319
0
0.333333
0
0.166667
0.989515
0.08519
0
0
0
0
0
1
0
true
0
0.027778
0
0.027778
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d9098d763335ec956248d7e1546c8eea6604a231
2,741
py
Python
test/runtime/operators_test/col2im_test.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
1
2018-07-26T13:52:21.000Z
2018-07-26T13:52:21.000Z
test/runtime/operators_test/col2im_test.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
test/runtime/operators_test/col2im_test.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
import numpy as np from test.util import generate_kernel_test_case from webdnn.graph.graph import Graph from webdnn.graph.operators.col2im import Col2Im from webdnn.graph.order import OrderNHWC from webdnn.graph.variable import Variable def generate_data_311(): v_col = np.array([[[[[ [0, 0, 0], [...
21.084615
79
0.436702
390
2,741
2.94359
0.161538
0.066202
0.052265
0.034843
0.674216
0.674216
0.674216
0.602787
0.602787
0.515679
0
0.094911
0.361912
2,741
129
80
21.248062
0.561464
0.046333
0
0.727273
1
0
0.034165
0
0
0
0
0
0
1
0.036364
false
0
0.054545
0
0.109091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d90c5e886874eeadd6ac36224981356fd7d211a3
327
py
Python
{{cookiecutter.directory_name}}/utils/admin.py
walison17/cookiecutter-django
b3e3af9e012fa6be1424c01bfd6e695b06bae12f
[ "BSD-3-Clause" ]
12
2018-08-28T12:00:02.000Z
2020-03-13T23:19:00.000Z
{{cookiecutter.directory_name}}/utils/admin.py
walison17/cookiecutter-django
b3e3af9e012fa6be1424c01bfd6e695b06bae12f
[ "BSD-3-Clause" ]
1
2019-10-16T22:08:09.000Z
2019-10-16T22:08:09.000Z
{{cookiecutter.directory_name}}/utils/admin.py
walison17/cookiecutter-django
b3e3af9e012fa6be1424c01bfd6e695b06bae12f
[ "BSD-3-Clause" ]
4
2018-08-28T14:01:29.000Z
2020-01-07T11:51:48.000Z
#!coding:utf-8 from django.contrib import admin DATE_INPUT_FORMATS = "Y/m/d" class BaseAdmin(admin.ModelAdmin): exclude = ['created', 'updated'] class ReadOnlyAdmin(BaseAdmin): list_display = ['__str__'] def get_readonly_fields(self, *args, **kwargs): return [f.name for f in self.model._meta.f...
20.4375
56
0.697248
44
327
4.954545
0.863636
0
0
0
0
0
0
0
0
0
0
0.003676
0.168196
327
15
57
21.8
0.797794
0.039755
0
0
0
0
0.083067
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
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
0
0
0
0
1
1
0
0
2
d916200126fb8583231565d8b59068a8258eb535
338
py
Python
dropkickApp/admin.py
wangvictoria/dropkick
99c5cbbd8642807f411e39acdae5bf43cf311897
[ "MIT" ]
null
null
null
dropkickApp/admin.py
wangvictoria/dropkick
99c5cbbd8642807f411e39acdae5bf43cf311897
[ "MIT" ]
null
null
null
dropkickApp/admin.py
wangvictoria/dropkick
99c5cbbd8642807f411e39acdae5bf43cf311897
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import MyFile, CustomParam, Contact # Register your models here. class MyFileAdmin(admin.ModelAdmin): list_display = ('uploaded_at', 'name') list_filter = ('uploaded_at', 'name') admin.site.register(MyFile, MyFileAdmin) admin.site.register(CustomParam) admin.site...
28.166667
48
0.769231
42
338
6.095238
0.52381
0.105469
0.199219
0
0
0
0
0
0
0
0
0
0.115385
338
12
49
28.166667
0.856187
0.076923
0
0
0
0
0.096463
0
0
0
0
0
0
1
0
false
0
0.25
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
d94c6a1530995ef5f7e5aab9c9fd784458bb3f04
1,996
py
Python
tests/test_matcher_truth_tables.py
sanjioh/django-header-filter
d348449619c71bdd6a2c957ee47c1c67a57bdec2
[ "MIT" ]
11
2016-12-03T21:45:30.000Z
2022-01-11T08:57:55.000Z
tests/test_matcher_truth_tables.py
sanjioh/django-header-filter
d348449619c71bdd6a2c957ee47c1c67a57bdec2
[ "MIT" ]
17
2019-07-12T20:36:40.000Z
2020-01-09T15:03:40.000Z
tests/test_matcher_truth_tables.py
sanjioh/django-header-filter
d348449619c71bdd6a2c957ee47c1c67a57bdec2
[ "MIT" ]
null
null
null
from operator import and_, or_, xor import pytest from header_filter.matchers import Header def test_not_true_equals_false(rf): h_name, h_value = 'HTTP_X_A', 'val_x' matcher = ~Header(h_name, h_value) request = rf.get('/', **{h_name: h_value}) assert matcher.match(request) is False def test_not_fa...
39.137255
108
0.654309
340
1,996
3.494118
0.126471
0.063131
0.045455
0.083333
0.860269
0.737374
0.640572
0.54798
0.4133
0.38468
0
0.007067
0.149299
1,996
50
109
39.92
0.69258
0
0
0.277778
0
0
0.13477
0
0
0
0
0
0.166667
1
0.166667
false
0
0.083333
0
0.25
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
0
0
0
0
0
0
0
0
2
d95a44fce2db3fe25e77f87ab254f268a0da46c8
794
py
Python
HealthChecker/migrations/0009_auto_20200730_1113.py
ThePiz/ApiWatchTower
6e55053003d8f28d74565d0124c4d82e19e790e2
[ "MIT" ]
7
2021-04-23T12:05:33.000Z
2022-02-16T14:02:43.000Z
HealthChecker/migrations/0009_auto_20200730_1113.py
ThePiz/ApiWatchTower
6e55053003d8f28d74565d0124c4d82e19e790e2
[ "MIT" ]
4
2021-05-25T15:30:59.000Z
2021-07-15T20:24:07.000Z
HealthChecker/migrations/0009_auto_20200730_1113.py
ThePiz/ApiWatchTower
6e55053003d8f28d74565d0124c4d82e19e790e2
[ "MIT" ]
1
2021-04-23T12:05:39.000Z
2021-04-23T12:05:39.000Z
# Generated by Django 2.2.14 on 2020-07-30 09:13 from django.db import models, migrations from django.contrib.auth.models import User import os def apply_migration(apps, schema_editor): User.objects.create_superuser(os.environ.get('AWT_ADMIN', 'admin'), os.environ.get('AWT_EMAIL', 'admin@django.com'), os.environ....
29.407407
157
0.668766
91
794
5.472527
0.549451
0.054217
0.072289
0.090361
0
0
0
0
0
0
0
0.04908
0.178841
794
26
158
30.538462
0.714724
0.225441
0
0
1
0
0.144737
0.037829
0
0
0
0
0
1
0.142857
false
0.142857
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d9621e47f3c0390d005d4a54f99c9015ce1d80bd
1,207
py
Python
python/test/year2020/test_day13.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
4
2021-12-07T14:06:11.000Z
2022-03-05T04:23:11.000Z
python/test/year2020/test_day13.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
6
2021-11-23T20:50:18.000Z
2022-03-06T13:42:21.000Z
python/test/year2020/test_day13.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
5
2021-12-11T23:22:22.000Z
2022-01-25T13:35:02.000Z
from unittest import TestCase from src.util.load_data import load_data from src.year2020.day13 import part_1, part_2, part_2_without_crt, prepare_data from test.decorators import sample data = load_data(2020, 13) @sample class Test2020Day13Samples(TestCase): prepared_data: list[str] @classmethod def ...
26.23913
81
0.726595
168
1,207
4.940476
0.244048
0.060241
0.079518
0.090361
0.713253
0.678313
0.678313
0.544578
0.460241
0.460241
0
0.091365
0.174814
1,207
45
82
26.822222
0.741968
0
0
0.357143
0
0
0
0
0
0
0
0
0.214286
1
0.285714
false
0
0.142857
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
0
0
0
1
0
0
2
d9649b9f2f2357b4f0b680f595a3e205215edc5c
577
py
Python
at_tmp/model/FUNC/USERINFO/USER_OPT_INFO.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/FUNC/USERINFO/USER_OPT_INFO.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/FUNC/USERINFO/USER_OPT_INFO.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/10/31 10:41 # @Author : bxf # @File : USER_OPT_INFO.py # @Software: PyCharm from model.util.TMP_DB_OPT import * from model.FUNC.USERINFO.LOG_IN import * from model.util.TMP_MODEL import * ''' 操作数据: { "opt_uri":"", "opt_common":"", "...
19.896552
73
0.592721
77
577
4.246753
0.675325
0.085627
0.067278
0.097859
0
0
0
0
0
0
0
0.029817
0.244367
577
28
74
20.607143
0.720183
0.22877
0
0
0
0
0.086826
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d99073254e88d222fe83b91a143a9fd17d772043
77
py
Python
addons/iqbrims/settings/local-dist.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
11
2018-12-11T16:39:40.000Z
2022-02-26T09:51:32.000Z
addons/iqbrims/settings/local-dist.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
52
2018-04-13T05:03:21.000Z
2022-03-22T02:56:19.000Z
addons/iqbrims/settings/local-dist.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
16
2018-07-09T01:44:51.000Z
2021-06-30T01:57:16.000Z
# IQB-RIMS app credentials CLIENT_ID = 'changeme' CLIENT_SECRET = 'changeme'
19.25
26
0.766234
10
77
5.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.12987
77
3
27
25.666667
0.850746
0.311688
0
0
0
0
0.313725
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
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
2
d9928ec8949fb2faa42742a3698b82903f030a2f
316
py
Python
stack/tests/m_online_stock_span_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
stack/tests/m_online_stock_span_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
stack/tests/m_online_stock_span_test.py
dhrubach/python-code-recipes
14356c6adb1946417482eaaf6f42dde4b8351d2f
[ "MIT" ]
null
null
null
from stack.m_online_stock_span import StockSpanner class TestStockSpanner: def test_stock_span(self): sp = StockSpanner() sp.next(100) sp.next(80) sp.next(60) assert sp.next(70) == 2 sp.next(60) assert sp.next(75) == 4 assert sp.next(85) == 6
18.588235
50
0.572785
44
316
4
0.568182
0.238636
0.204545
0.159091
0.227273
0.227273
0
0
0
0
0
0.083333
0.316456
316
16
51
19.75
0.731481
0
0
0.181818
0
0
0
0
0
0
0
0
0.272727
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7943a0d84e5541c5310d3b230ae410809c8ec659
2,479
py
Python
util/compute_bootstrap.py
AnneBeyer/tgen
f7d7d13a85b8fd35919097c7d11345ddb9775d26
[ "Apache-2.0" ]
222
2015-06-15T14:39:41.000Z
2022-03-12T03:45:32.000Z
util/compute_bootstrap.py
AnneBeyer/tgen
f7d7d13a85b8fd35919097c7d11345ddb9775d26
[ "Apache-2.0" ]
40
2015-12-02T10:42:44.000Z
2021-12-05T17:31:11.000Z
util/compute_bootstrap.py
AnneBeyer/tgen
f7d7d13a85b8fd35919097c7d11345ddb9775d26
[ "Apache-2.0" ]
72
2015-07-27T08:11:48.000Z
2022-03-24T14:25:37.000Z
#!/usr/bin/env python # -"- coding: utf-8 -"- from argparse import ArgumentParser import os import re from subprocess import call from tgen.logf import log_info MY_PATH = os.path.dirname(os.path.abspath(__file__)) def lcall(arg_str): log_info(arg_str) return call(arg_str, shell=True) def get_confidence(m...
34.915493
99
0.626059
381
2,479
3.868766
0.349081
0.010855
0.023745
0.024423
0.176391
0.115332
0.115332
0.115332
0.115332
0.058345
0
0.015183
0.229528
2,479
70
100
35.414286
0.756545
0.053651
0
0.08
0
0.08
0.198975
0.017079
0
0
0
0.014286
0
0
null
null
0
0.1
null
null
0.02
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
1
0
0
0
0
0
0
0
0
2
79459e2f8419dcd519ea82a9a4ca9bd6bcf9d818
1,142
py
Python
Final/Final/71410.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
null
null
null
Final/Final/71410.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
null
null
null
Final/Final/71410.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
null
null
null
file = open("BoyNames.txt", "r") data = file.read() boys_names = data.split('\n') file = open("GirlNames.txt", "r") data = file.read() girls_names = data.split('\n') file.close() choice = input("Enter 'boy', 'girl', or 'both':") if choice == "boy": name = input("Enter a boy's name:") if name in boys_names: print...
30.052632
72
0.671629
204
1,142
3.730392
0.191176
0.078844
0.12615
0.1682
0.817346
0.651774
0.651774
0.499343
0.473062
0.473062
0
0.068158
0.177758
1,142
37
73
30.864865
0.742279
0
0
0.193548
0
0
0.531524
0
0
0
0
0
0
1
0
false
0
0
0
0
0.258065
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79585311fc6bb6f0adae7eb7844cadffacb1cf89
393
py
Python
climbing-stairs/climbing-stairs.py
rams1996/Dynamic-Programming
61e7b7d1576202215b5d0159372830c356f8dea8
[ "MIT" ]
null
null
null
climbing-stairs/climbing-stairs.py
rams1996/Dynamic-Programming
61e7b7d1576202215b5d0159372830c356f8dea8
[ "MIT" ]
null
null
null
climbing-stairs/climbing-stairs.py
rams1996/Dynamic-Programming
61e7b7d1576202215b5d0159372830c356f8dea8
[ "MIT" ]
null
null
null
class Solution:    def climbStairs(self, n: int) -> int:        dp={}        def dfs(total,c):            if total in dp:                return dp[total]            if total==n:                return 1            if total>n:                return 0            a=dfs(total+1,c+1)            b=dfs(total+2,c+1) ...
24.5625
41
0.402036
53
393
2.981132
0.358491
0.151899
0.101266
0.177215
0
0
0
0
0
0
0
0.039801
0.48855
393
15
42
26.2
0.746269
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
7966c3e6ecd622eb59f2a7143aeea0a4bb431b40
5,870
py
Python
demo/settings/__init__.py
devkral/oscar-web-payments
0c5f5c780e503aab5eaa56541b4d9bf976f7e833
[ "BSD-2-Clause" ]
1
2018-05-29T18:32:59.000Z
2018-05-29T18:32:59.000Z
demo/settings/__init__.py
devkral/oscar-web-payments
0c5f5c780e503aab5eaa56541b4d9bf976f7e833
[ "BSD-2-Clause" ]
1
2018-05-28T08:28:19.000Z
2018-05-28T08:28:19.000Z
demo/settings/__init__.py
devkral/oscar-web-payments
0c5f5c780e503aab5eaa56541b4d9bf976f7e833
[ "BSD-2-Clause" ]
null
null
null
""" Django settings for django_dummy project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
30.894737
162
0.701193
623
5,870
6.433387
0.365971
0.068114
0.033932
0.043663
0.129491
0.116766
0.077844
0.077844
0.02994
0
0
0.010049
0.169336
5,870
189
163
31.058201
0.811936
0.180409
0
0.032258
1
0
0.534893
0.404513
0
0
0
0
0
1
0
false
0.040323
0.048387
0
0.048387
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7974ee3f60fcf561fdeafa302735107b71a82437
916
py
Python
bin/rdbox/k8s_response_helper.py
rdbox-intec/rdbox-middleware
e7469c68ba745187d1db5514494663a3593164df
[ "MIT" ]
4
2019-04-25T06:30:18.000Z
2020-03-21T05:46:38.000Z
bin/rdbox/k8s_response_helper.py
fukuta-tatsuya-intec/rdbox-middleware
fc1612c655438aaebe5ec289764854b5fa887e09
[ "MIT" ]
21
2020-01-10T02:22:55.000Z
2021-09-27T07:30:46.000Z
bin/rdbox/k8s_response_helper.py
rdbox-intec/rdbox-middleware
e7469c68ba745187d1db5514494663a3593164df
[ "MIT" ]
5
2019-06-21T06:18:05.000Z
2020-09-18T02:28:25.000Z
#!/usr/bin/env python3 # coding: utf-8 class K8sResponseHelper(object): LOCATION_NOT_DEFINE = "NOT_DEFINE" NGINX_INGRESS_SUFFIX = "nginx-ingress-controller" def __init__(self): self.input_data_list = None def set_input_data_list(self, input_data_list): """ :return: K8sRespon...
26.941176
100
0.648472
96
916
5.895833
0.427083
0.127208
0.183746
0.120141
0
0
0
0
0
0
0
0.011696
0.253275
916
33
101
27.757576
0.815789
0.400655
0
0
0
0
0.07489
0.052863
0
0
0
0
0.083333
1
0.333333
false
0
0
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
797bfa9a9b554b228bb5a92e77b673e7f5f1d24a
1,438
py
Python
upwork/namespaces.py
alexandru-grajdeanu/python-upwork
ffe7994c084c88c455a386791e4ec62a93bb7b6a
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-05-17T17:13:28.000Z
2020-05-17T17:13:28.000Z
upwork/namespaces.py
frolenkov-nikita/python-upwork
d052f5caedc632c73ad770b1f822a8a494f6b34b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
upwork/namespaces.py
frolenkov-nikita/python-upwork
d052f5caedc632c73ad770b1f822a8a494f6b34b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# Python bindings to Upwork API # python-upwork version 0.5 # (C) 2010-2015 Upwork from .compatibility import urlparse from .config import BASE_URL __all__ = ['Namespace', 'GdsNamespace'] class Namespace(object): """ A special 'proxy' class to keep API methods organized. Use this class for defining new ...
24.793103
71
0.622392
200
1,438
4.37
0.325
0.088101
0.088101
0.120137
0.426773
0.406178
0.273455
0
0
0
0
0.014071
0.258693
1,438
57
72
25.22807
0.805816
0.199583
0
0.321429
0
0
0.039126
0
0
0
0
0
0
1
0.321429
false
0
0.071429
0.25
0.892857
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
0
0
0
2
7989bf8703cab399a92523616aa4bc94e49416c9
611
py
Python
ZhangBlogIdea/config/admin.py
huajianzhanggithub/ZhangBlogIdea
d125335352d8b7d4089fbb5da03462c8d489564d
[ "MIT" ]
1
2019-11-23T06:27:51.000Z
2019-11-23T06:27:51.000Z
ZhangBlogIdea/config/admin.py
huajianzhanggithub/ZhangBlogIdea
d125335352d8b7d4089fbb5da03462c8d489564d
[ "MIT" ]
null
null
null
ZhangBlogIdea/config/admin.py
huajianzhanggithub/ZhangBlogIdea
d125335352d8b7d4089fbb5da03462c8d489564d
[ "MIT" ]
null
null
null
from ZhangBlogIdea.base_admin import BaseOwnerAdmin from ZhangBlogIdea.custom_site import custom_site from django.contrib import admin from .models import Link, Sidebar # Register your models here. @admin.register(Link, site=custom_site) class LinkAdmin(BaseOwnerAdmin): list_display = ('title', 'href', 'status',...
32.157895
81
0.738134
72
611
6.111111
0.416667
0.090909
0.063636
0.086364
0
0
0
0
0
0
0
0
0.124386
611
18
82
33.944444
0.82243
0.042553
0
0
0
0
0.205832
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
798c19a416757ea9aa6cf6205b13241d52c1d6c7
870
py
Python
src/currency/migrations/0009_auto_20200510_0826.py
amediantsev/currency_exchange
55b4faca9878bf69e6ea8c1f6ef9308bcc64e6b5
[ "MIT" ]
null
null
null
src/currency/migrations/0009_auto_20200510_0826.py
amediantsev/currency_exchange
55b4faca9878bf69e6ea8c1f6ef9308bcc64e6b5
[ "MIT" ]
2
2021-09-08T01:46:19.000Z
2022-03-12T00:18:54.000Z
src/currency/migrations/0009_auto_20200510_0826.py
amediantsev/currency_exchange
55b4faca9878bf69e6ea8c1f6ef9308bcc64e6b5
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-05-10 08:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('currency', '0008_auto_20200323_1117'), ] operations = [ migrations.AlterModelOptions( name='rate', options={}, ...
26.363636
97
0.550575
83
870
5.650602
0.554217
0.06823
0.159915
0.185501
0.4371
0.4371
0.200426
0.200426
0.200426
0
0
0.065657
0.317241
870
32
98
27.1875
0.723906
0.052874
0
0.461538
1
0
0.086375
0.027981
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79a6789dcf2d2225a8acb764579a377cd6ff58d2
176
py
Python
perfplot/__init__.py
NicholasWon47/perfplot
9355dc5916ca270417f9d730df1fe7a7b43930ce
[ "MIT" ]
null
null
null
perfplot/__init__.py
NicholasWon47/perfplot
9355dc5916ca270417f9d730df1fe7a7b43930ce
[ "MIT" ]
null
null
null
perfplot/__init__.py
NicholasWon47/perfplot
9355dc5916ca270417f9d730df1fe7a7b43930ce
[ "MIT" ]
null
null
null
from perfplot.__about__ import __version__ from perfplot.main import bench, plot, save, show __all__ = [ "__version__", "bench", "plot", "show", "save", ]
16
49
0.636364
19
176
5.052632
0.578947
0.25
0
0
0
0
0
0
0
0
0
0
0.232955
176
10
50
17.6
0.711111
0
0
0
0
0
0.159091
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79abbd91436b042579d82d42932029970b13ceb4
353
py
Python
neo/io/intanio.py
Mario-Kart-Felix/python-neo
951c97cf9eb56f5489da88940de920329e0f4c1b
[ "BSD-3-Clause" ]
199
2015-01-20T13:49:13.000Z
2022-03-21T18:35:29.000Z
neo/io/intanio.py
Mario-Kart-Felix/python-neo
951c97cf9eb56f5489da88940de920329e0f4c1b
[ "BSD-3-Clause" ]
905
2015-01-07T09:21:15.000Z
2022-03-31T16:29:44.000Z
neo/io/intanio.py
Mario-Kart-Felix/python-neo
951c97cf9eb56f5489da88940de920329e0f4c1b
[ "BSD-3-Clause" ]
178
2015-01-05T12:34:39.000Z
2022-02-20T23:06:52.000Z
from neo.io.basefromrawio import BaseFromRaw from neo.rawio.intanrawio import IntanRawIO class IntanIO(IntanRawIO, BaseFromRaw): __doc__ = IntanRawIO.__doc__ _prefered_signal_group_mode = 'group-by-same-units' def __init__(self, filename): IntanRawIO.__init__(self, filename=filename) Base...
29.416667
55
0.76204
40
353
6.125
0.55
0.097959
0.195918
0
0
0
0
0
0
0
0
0
0.155807
353
11
56
32.090909
0.822148
0
0
0
0
0
0.053824
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
79b9a4e49784c3d214b1d569d4c04c35037639f7
846
py
Python
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/utils.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
5
2020-04-23T16:40:56.000Z
2021-11-14T20:43:29.000Z
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/utils.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/utils.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Import installed modules # Import installed packages from webargs import fields from flask_apispec import doc, use_kwargs, marshal_with from flask_jwt_extended import jwt_required # Import app code from app.main import app from app.api.api_v1.api_docs import docs, security_params from app.co...
28.2
80
0.769504
126
846
4.992063
0.444444
0.055644
0.034976
0
0
0
0
0
0
0
0
0.007968
0.109929
846
29
81
29.172414
0.827357
0.138298
0
0
0
0
0.139889
0.074792
0
0
0
0
0
1
0.058824
false
0
0.470588
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
79c6bba799f167041d6728931c57ffacdc40ebff
1,717
py
Python
src/scs_dev/cmd/cmd_control_receiver.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
2
2017-04-24T14:58:28.000Z
2020-05-27T08:53:46.000Z
src/scs_dev/cmd/cmd_control_receiver.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
1
2020-07-13T14:33:59.000Z
2021-03-27T08:52:04.000Z
src/scs_dev/cmd/cmd_control_receiver.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
1
2018-08-24T09:55:01.000Z
2018-08-24T09:55:01.000Z
""" Created on 17 Apr 2017 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ import optparse # -------------------------------------------------------------------------------------------------------------------- class CmdControlReceiver(object): """unix command line handler""" def __init__(se...
29.101695
118
0.464764
150
1,717
5.06
0.413333
0.079051
0.051383
0.075099
0.071146
0.071146
0
0
0
0
0
0.005988
0.221899
1,717
58
119
29.603448
0.562126
0.277228
0
0.125
0
0
0.181364
0.02579
0
0
0
0
0
1
0.25
false
0
0.041667
0.166667
0.5
0.125
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
0
0
0
2
79d23c38ed92df2f18c112ae42927bcccb79779b
672
py
Python
a3/utils.py
CaoYuchen/16726
06ab1263de89056a6a4b20e79a8f089bbbd0cda2
[ "MIT" ]
null
null
null
a3/utils.py
CaoYuchen/16726
06ab1263de89056a6a4b20e79a8f089bbbd0cda2
[ "MIT" ]
null
null
null
a3/utils.py
CaoYuchen/16726
06ab1263de89056a6a4b20e79a8f089bbbd0cda2
[ "MIT" ]
null
null
null
# CMU 16-726 Learning-Based Image Synthesis / Spring 2022, Assignment 3 # The code base is based on the great work from CSC 321, U Toronto # https://www.cs.toronto.edu/~rgrosse/courses/csc321_2018/assignments/a4-code.zip import os import torch def to_var(x): """Converts numpy to variable.""" if torch.cuda.is...
23.172414
81
0.66369
102
672
4.313725
0.627451
0.022727
0.05
0.059091
0.109091
0.109091
0.109091
0
0
0
0
0.039623
0.21131
672
28
82
24
0.790566
0.485119
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.538462
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
0
1
0
0
2
79dfb7587b30a68ce2ace3df0b3d276ad03886c9
4,062
py
Python
PikaBus/abstractions/AbstractPikaBus.py
alexbodn/PikaBus
5faf2e48f4d4deecb4428707f94bcf72a81cc3ee
[ "MIT" ]
7
2020-03-21T12:22:18.000Z
2022-02-10T11:43:51.000Z
PikaBus/abstractions/AbstractPikaBus.py
alexbodn/PikaBus
5faf2e48f4d4deecb4428707f94bcf72a81cc3ee
[ "MIT" ]
null
null
null
PikaBus/abstractions/AbstractPikaBus.py
alexbodn/PikaBus
5faf2e48f4d4deecb4428707f94bcf72a81cc3ee
[ "MIT" ]
1
2021-06-21T10:56:56.000Z
2021-06-21T10:56:56.000Z
import abc import datetime from typing import Union, List class AbstractPikaBus(abc.ABC): @property @abc.abstractmethod def connection(self): """ returns connection. :rtype: pika.adapters.blocking_connection """ pass @property @abc.abstractmethod def ch...
33.85
109
0.592319
450
4,062
5.342222
0.211111
0.049917
0.083195
0.079867
0.670965
0.614809
0.614809
0.614809
0.614809
0.594842
0
0
0.33161
4,062
119
110
34.134454
0.885451
0.477105
0
0.709091
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.181818
0.054545
0
0.254545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8dbc813fa3d62f97fe5de5055aa8da29bb94b6ba
393
py
Python
users/models.py
KittLao/Whiteboard
10e292dcbc4348dd2d57f47034a30f643056a228
[ "MIT" ]
null
null
null
users/models.py
KittLao/Whiteboard
10e292dcbc4348dd2d57f47034a30f643056a228
[ "MIT" ]
null
null
null
users/models.py
KittLao/Whiteboard
10e292dcbc4348dd2d57f47034a30f643056a228
[ "MIT" ]
5
2020-09-15T07:26:31.000Z
2020-12-12T13:53:11.000Z
from django.db import models from django.contrib.auth.models import AbstractUser class User(AbstractUser): is_student = models.BooleanField() is_teacher = models.BooleanField() def __str__(self): return self.username class Student(models.Model): user = models.OneToOneField(User, on_delete=m...
21.833333
63
0.727735
48
393
5.729167
0.5
0.072727
0.072727
0.116364
0.145455
0
0
0
0
0
0
0
0.183206
393
17
64
23.117647
0.856698
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.181818
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
8dc4c44e82af0450ea9094c71ca9cf1a62032ec2
346
py
Python
src/heights/rosalind_qs.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/heights/rosalind_qs.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/heights/rosalind_qs.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '../tools')) import files import sorts def main(argv): data = files.read_lines_of_ints(argv[0]) n = data[0][0] A = data[1] print ' '.join(str(item) for item in sorts.quick_sort(A, 0, n - 1)) if __name__ == "__main__...
18.210526
71
0.630058
58
346
3.482759
0.551724
0.059406
0
0
0
0
0
0
0
0
0
0.025271
0.199422
346
18
72
19.222222
0.703971
0
0
0
0
0
0.049133
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.083333
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
1
0
0
0
1
0
0
0
0
2
8dcbf4f90024ccd6bee1113b1fd6eae2c353cd5d
179
py
Python
src/example.py
1028sqnatc/aircraftmath
c61647d92d60cfe3afb200442c78fff9c6ab67d3
[ "Apache-2.0" ]
null
null
null
src/example.py
1028sqnatc/aircraftmath
c61647d92d60cfe3afb200442c78fff9c6ab67d3
[ "Apache-2.0" ]
null
null
null
src/example.py
1028sqnatc/aircraftmath
c61647d92d60cfe3afb200442c78fff9c6ab67d3
[ "Apache-2.0" ]
null
null
null
import math # https://docs.python.org/2/library/math.html def myFunc(x,a,b,c): d = (a * math.pow(x,2) ) + (b * x) + (c) return d def addAll(x,a,b,c): return x + a + b + c
17.9
45
0.564246
38
179
2.657895
0.5
0.059406
0.089109
0.118812
0
0
0
0
0
0
0
0.014184
0.212291
179
10
46
17.9
0.702128
0.240223
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2