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
bec5d3ada4f4a6b1fe7adcf9aaa6db5701f3ee3e
374
py
Python
aliexpress/api/rest/SolutionProductSchemaGet.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
3
2021-03-10T16:46:43.000Z
2022-03-29T15:28:50.000Z
aliexpress/api/rest/SolutionProductSchemaGet.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
null
null
null
aliexpress/api/rest/SolutionProductSchemaGet.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
2
2021-10-30T17:09:34.000Z
2021-11-25T11:50:52.000Z
""" Created by auto_sdk on 2019.05.06 """ from aliexpress.api.base import RestApi class AliexpressSolutionProductSchemaGetRequest(RestApi): def __init__(self, domain="gw.api.taobao.com", port=80): RestApi.__init__(self, domain, port) self.aliexpress_category_id = None def getapiname(self): ...
26.714286
60
0.724599
46
374
5.652174
0.73913
0.061538
0.107692
0
0
0
0
0
0
0
0
0.032051
0.165775
374
13
61
28.769231
0.801282
0.088235
0
0
0
0
0.165165
0.114114
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe221dbd381e1bdb931cdf2e35dcf8463b545c3d
195
py
Python
Multidimensional lists - Lab/Primary diagonal.py
DiyanKalaydzhiev23/Advanced---Python
ed2c60bb887c49e5a87624719633e2b8432f6f6b
[ "MIT" ]
null
null
null
Multidimensional lists - Lab/Primary diagonal.py
DiyanKalaydzhiev23/Advanced---Python
ed2c60bb887c49e5a87624719633e2b8432f6f6b
[ "MIT" ]
null
null
null
Multidimensional lists - Lab/Primary diagonal.py
DiyanKalaydzhiev23/Advanced---Python
ed2c60bb887c49e5a87624719633e2b8432f6f6b
[ "MIT" ]
null
null
null
matrix = [input().split() for row in range(int(input()))] primary_diagonal_sum = 0 for i in range(len(matrix)): primary_diagonal_sum += int(matrix[i][i]) print(primary_diagonal_sum)
24.375
58
0.687179
30
195
4.266667
0.5
0.351563
0.421875
0
0
0
0
0
0
0
0
0.006098
0.158974
195
7
59
27.857143
0.77439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe2f8c4e0d2735afbdc9c29715a4f26b32a87e38
1,033
py
Python
qiskit/dagcircuit/__init__.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
15
2020-06-29T08:33:39.000Z
2022-02-12T00:28:51.000Z
qiskit/dagcircuit/__init__.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
35
2019-03-07T02:09:22.000Z
2022-03-22T19:55:15.000Z
qiskit/dagcircuit/__init__.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
11
2020-06-29T08:40:24.000Z
2022-02-24T17:39:16.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2017. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
23.477273
77
0.675702
124
1,033
5.629032
0.572581
0.034384
0.028653
0
0
0
0
0
0
0
0
0.009174
0.155857
1,033
43
78
24.023256
0.791284
0.795741
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
fe36f01b8e88d06897df80ff6e4e51da76161d39
2,502
py
Python
quadpy/triangle/_taylor_wingate_bos.py
whzup/quadpy
ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e
[ "MIT" ]
null
null
null
quadpy/triangle/_taylor_wingate_bos.py
whzup/quadpy
ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e
[ "MIT" ]
null
null
null
quadpy/triangle/_taylor_wingate_bos.py
whzup/quadpy
ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e
[ "MIT" ]
null
null
null
from sympy import Rational as frac from ..helpers import article from ._helpers import TriangleScheme, concat, s1, s2 citation = article( authors=["Mark A. Taylor", "Beth A. Wingate", "Len P. Bos"], title="Several new quadrature formulas for polynomial integration in the triangle", journal="arXiv Mathemat...
30.888889
87
0.6247
272
2,502
5.6875
0.419118
0.092437
0.113769
0.061409
0.330317
0.284421
0.142211
0
0
0
0
0.383387
0.2494
2,502
80
88
31.275
0.440362
0.015588
0
0.276923
0
0
0.113775
0
0
0
0
0.0125
0
1
0.076923
false
0
0.046154
0
0.2
0.015385
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
1
0
0
0
0
0
0
0
0
0
0
3
fe4cc9a06f77f03802ac2823262a7c606758bc6b
642
py
Python
newnnfw/tools/tflitefile_tool/tflite/DequantizeOptions.py
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
8
2018-09-10T01:32:26.000Z
2020-05-13T06:05:40.000Z
newnnfw/tools/tflitefile_tool/tflite/DequantizeOptions.py
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
28
2018-09-10T05:01:09.000Z
2021-03-04T10:07:12.000Z
newnnfw/tools/tflitefile_tool/tflite/DequantizeOptions.py
kosslab-kr/Tizen-NN-Framework
132fc98ed57e4b19ad1f4cb258ad79fa9df1db7a
[ "Apache-2.0" ]
4
2018-09-13T04:16:08.000Z
2018-12-03T07:34:44.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers class DequantizeOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAsDequantizeOptions(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) ...
22.137931
75
0.697819
67
642
6.597015
0.597015
0.040724
0
0
0
0
0
0
0
0
0
0.001969
0.208723
642
28
76
22.928571
0.86811
0.158879
0
0
1
0
0.007463
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fe6b127379c7595dedcc3229dc6e63b4743a3f00
141
py
Python
climinteractive/__init__.py
BjoernMayer92/climinteractive
ac60f0f2872987894bbf175724f0b609d13c426f
[ "MIT" ]
null
null
null
climinteractive/__init__.py
BjoernMayer92/climinteractive
ac60f0f2872987894bbf175724f0b609d13c426f
[ "MIT" ]
null
null
null
climinteractive/__init__.py
BjoernMayer92/climinteractive
ac60f0f2872987894bbf175724f0b609d13c426f
[ "MIT" ]
null
null
null
"""Top-level package for climinteractive.""" __author__ = """Bjoern Mayer""" __email__ = 'bjoern.mayer@mpimet.mpg.de' __version__ = '0.1.0'
23.5
44
0.702128
18
141
4.833333
0.833333
0.252874
0
0
0
0
0
0
0
0
0
0.02381
0.106383
141
5
45
28.2
0.666667
0.269504
0
0
0
0
0.443299
0.268041
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe9369d78881105a986e1594e9bee03b2de87b2d
246
py
Python
grao_tables_processing/wikidata_interaction/__init__.py
nikolatulechki/GRAO-tables-processing
1ebfab4b77af8ebd31e71d6f60b33c75f3881e98
[ "MIT" ]
1
2020-07-12T16:12:23.000Z
2020-07-12T16:12:23.000Z
grao_tables_processing/wikidata_interaction/__init__.py
data-for-good-bg/GRAO-tables-processing
5e295710b4e42b2ccf9c0d226c8cf0fa380aaa43
[ "MIT" ]
79
2020-07-11T23:11:33.000Z
2022-03-17T10:03:05.000Z
grao_tables_processing/wikidata_interaction/__init__.py
data-for-good-bg/GRAO-tables-processing
5e295710b4e42b2ccf9c0d226c8cf0fa380aaa43
[ "MIT" ]
5
2020-07-12T16:12:34.000Z
2021-12-15T13:38:16.000Z
import grao_tables_processing.wikidata_interaction.wd_update as wdu import grao_tables_processing.wikidata_interaction.matched_data_update as mdu update_all_settlements = wdu.update_all_settlements update_matched_data = mdu.update_matched_data
35.142857
77
0.902439
35
246
5.857143
0.428571
0.160976
0.156098
0.253659
0.439024
0.439024
0
0
0
0
0
0
0.065041
246
6
78
41
0.891304
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2293f4e59c2a561168acd579f5dd673075840ab9
1,559
py
Python
MDRSREID/Networks/PGFA/__init__.py
nickhuang1996/HJL-re-id
107b25f31c961f360f69560cfddd78dfc0da3291
[ "MIT" ]
43
2020-09-20T09:40:04.000Z
2022-03-29T11:25:22.000Z
MDRSREID/Networks/PGFA/__init__.py
nickhuang1996/HJL-re-id
107b25f31c961f360f69560cfddd78dfc0da3291
[ "MIT" ]
19
2020-10-05T05:35:38.000Z
2021-12-10T03:17:31.000Z
MDRSREID/Networks/PGFA/__init__.py
nickhuang1996/HJL-re-id
107b25f31c961f360f69560cfddd78dfc0da3291
[ "MIT" ]
18
2020-10-01T14:41:53.000Z
2021-09-02T06:57:57.000Z
from torch import nn from .PGFA_backbone import PGFABackbone from .PGFA_pool import PGFAPool from .PGFA_pose_guided_mask_block import PGFAPoseGuidedMaskBlock from .PGFA_reduction import PGFAReduction from .PGFA_classifier import PGFAClassifier class PGFA(nn.Module): def __init__(self, cfg): super(PGFA, se...
37.119048
78
0.712636
212
1,559
4.929245
0.188679
0.086124
0.0689
0.097608
0.289952
0.086124
0.086124
0
0
0
0
0.000803
0.201411
1,559
41
79
38.02439
0.838554
0
0
0
0
0
0.019885
0
0
0
0
0
0
1
0.212121
false
0
0.181818
0.151515
0.606061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2297d3ecb9fd5d7d68ae5433f8ddca013fec1ba2
3,170
py
Python
PDA_Transport/multi_period_aam.py
gaufung/LMDI
9f412802cc32adbb9562cab0e028c0057fc36cfa
[ "MIT" ]
4
2020-07-21T03:45:48.000Z
2021-12-20T09:37:10.000Z
PDA_Transport/multi_period_aam.py
gaufung/LMDI
9f412802cc32adbb9562cab0e028c0057fc36cfa
[ "MIT" ]
1
2021-05-27T03:24:38.000Z
2021-05-27T03:24:38.000Z
PDA_Transport/multi_period_aam.py
gaufung/LMDI
9f412802cc32adbb9562cab0e028c0057fc36cfa
[ "MIT" ]
4
2017-04-13T13:53:38.000Z
2022-03-01T13:28:48.000Z
# -*- encoding:utf-8 -*- from single_period_aam import Spaam class Mpaam(object): def __init__(self, dmus_s, name, global_dmus, cefs, years): self._period_count = len(dmus_s) self._dmus_s = dmus_s self._province_count = len(dmus_s[0]) self._province_names = [item.name for item in d...
26.638655
90
0.540063
443
3,170
3.591422
0.14447
0.138278
0.169705
0.069139
0.148963
0.130107
0.130107
0.130107
0
0
0
0.007551
0.331546
3,170
119
91
26.638655
0.743275
0.018297
0
0.048193
0
0
0.020309
0
0
0
0
0
0.012048
1
0.301205
false
0
0.012048
0.253012
0.614458
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22a44f59d4600d2104f101cc4884521555b9b03f
929
py
Python
coworker/search/serializers.py
upstar77/spacemap
1babcecabc42b325dc647294599c309d6bda1ad5
[ "MIT" ]
null
null
null
coworker/search/serializers.py
upstar77/spacemap
1babcecabc42b325dc647294599c309d6bda1ad5
[ "MIT" ]
null
null
null
coworker/search/serializers.py
upstar77/spacemap
1babcecabc42b325dc647294599c309d6bda1ad5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from rest_framework import serializers from rest_framework_elasticsearch.es_serializer import ElasticModelSerializer from coworker.place.models import Place from coworker.cities.models import City class Plac...
29.967742
92
0.750269
92
929
7.380435
0.478261
0.106038
0.132548
0.185567
0.207658
0
0
0
0
0
0
0.001271
0.152853
929
30
93
30.966667
0.861499
0.115178
0
0.125
0
0
0.135697
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.75
0.0625
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
22a7313828ffcd32e8d60d0804e3ee2822b7d4a2
1,137
py
Python
08_Inheritance_and_SubType_Polymorphism/sorted_list.py
MANOJPATRA1991/Python-Beyond-the-Basics
aed7bfd35e33c2b1759b48e1c89314aa149c56d0
[ "MIT" ]
null
null
null
08_Inheritance_and_SubType_Polymorphism/sorted_list.py
MANOJPATRA1991/Python-Beyond-the-Basics
aed7bfd35e33c2b1759b48e1c89314aa149c56d0
[ "MIT" ]
null
null
null
08_Inheritance_and_SubType_Polymorphism/sorted_list.py
MANOJPATRA1991/Python-Beyond-the-Basics
aed7bfd35e33c2b1759b48e1c89314aa149c56d0
[ "MIT" ]
null
null
null
class SimpleList: def __init__(self, items): self._items = list(items) def add(self, item): self._items.append(item) def __getitem__(self, index): return self._items[index] def sort(self): self._items.sort() def __len__(self): return len(self._items) def __repr__(self): return "...
21.45283
62
0.657872
146
1,137
4.760274
0.260274
0.116547
0.063309
0.097842
0.221583
0
0
0
0
0
0
0
0.185576
1,137
52
63
21.865385
0.75054
0
0
0.384615
0
0
0.097625
0
0
0
0
0
0
1
0.358974
false
0
0
0.153846
0.615385
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22b529f49b7f5c2203a203c71d25873c4b191360
416
py
Python
mythx_cli/payload/bytecode.py
maurelian/mythx-cli
5da00777429a40f30cb2c1b4703f1b1560a91ecb
[ "MIT" ]
null
null
null
mythx_cli/payload/bytecode.py
maurelian/mythx-cli
5da00777429a40f30cb2c1b4703f1b1560a91ecb
[ "MIT" ]
null
null
null
mythx_cli/payload/bytecode.py
maurelian/mythx-cli
5da00777429a40f30cb2c1b4703f1b1560a91ecb
[ "MIT" ]
null
null
null
"""This module contains functions to generate bytecode-only analysis request payloads.""" from typing import Dict def generate_bytecode_payload(code: str) -> Dict[str, str]: """Generate a payload containing only the creation bytecode. :param code: The creation bytecode as hex string starting with :code:`0x`...
27.733333
77
0.725962
56
416
5.357143
0.625
0.106667
0.126667
0
0
0
0
0
0
0
0
0.00295
0.185096
416
14
78
29.714286
0.882006
0.644231
0
0
1
0
0.064516
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
22dfc40437ee479921d2514f5b38b36830b53c57
851
py
Python
game_test.py
jcl696/landers-rock-paper-scissors
88b8d981379b5b6310fcbeeb3004a50d6d7b0696
[ "MIT" ]
null
null
null
game_test.py
jcl696/landers-rock-paper-scissors
88b8d981379b5b6310fcbeeb3004a50d6d7b0696
[ "MIT" ]
null
null
null
game_test.py
jcl696/landers-rock-paper-scissors
88b8d981379b5b6310fcbeeb3004a50d6d7b0696
[ "MIT" ]
null
null
null
#need to have test_ at the beginning of defining a function from game import my_message #game_test.py def test_example(): assert 2 == 2 def test_my_message(): x = my_message() assert x == "HELLO" #def test_determination_of_the_winner(): # assert determine_winner("rock", "rock") == None # represen...
29.344828
80
0.6698
104
851
5.288462
0.307692
0.245455
0.343636
0.136364
0.276364
0.141818
0.141818
0
0
0
0
0.002857
0.177438
851
28
81
30.392857
0.782857
0.795535
0
0
0
0
0.032258
0
0
0
0
0
0.333333
1
0.333333
false
0
0.166667
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
22e0b04402217885d42fd8acf90b70cc82682b73
344
py
Python
src/simfoni/apps/company/models/raw_company.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
null
null
null
src/simfoni/apps/company/models/raw_company.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
null
null
null
src/simfoni/apps/company/models/raw_company.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
4
2018-04-26T17:43:24.000Z
2018-05-10T14:11:09.000Z
from django.db import models from django.utils.translation import ugettext_lazy as _ from core.models import AbstractBaseModel class RawCompany(AbstractBaseModel): """ Data which should be processed to obtain Company """ name = models.CharField(_('Raw company name'), max_length=255) def __str__(self): ...
26.461538
66
0.747093
44
344
5.659091
0.727273
0.080321
0
0
0
0
0
0
0
0
0
0.010563
0.174419
344
12
67
28.666667
0.866197
0.139535
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
fe05d81badf0cc25bb2bac6a189a765ab95ece0e
329
py
Python
__init__.py
CCapelini/quandolavar-skill
90fb27efdbca2619c88a54b8ee5f1842a5f32806
[ "Apache-2.0" ]
null
null
null
__init__.py
CCapelini/quandolavar-skill
90fb27efdbca2619c88a54b8ee5f1842a5f32806
[ "Apache-2.0" ]
null
null
null
__init__.py
CCapelini/quandolavar-skill
90fb27efdbca2619c88a54b8ee5f1842a5f32806
[ "Apache-2.0" ]
null
null
null
from mycroft import MycroftSkill, intent_file_handler class Quandolavar(MycroftSkill): def __init__(self): MycroftSkill.__init__(self) @intent_file_handler('quandolavar.intent') def handle_quandolavar(self, message): self.speak_dialog('quandolavar') def create_skill(): return Quando...
20.5625
53
0.735562
35
329
6.485714
0.542857
0.088106
0.14978
0
0
0
0
0
0
0
0
0
0.173252
329
15
54
21.933333
0.834559
0
0
0
0
0
0.088415
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe0fb5a1f0bb5129f0c2363d400c0d4736983c83
222
py
Python
cifar10_plotter.py
mpienkosz/cifar10-classification
f6dbc662eb7ed761a5ed02e3d4e5cf028684d076
[ "MIT" ]
null
null
null
cifar10_plotter.py
mpienkosz/cifar10-classification
f6dbc662eb7ed761a5ed02e3d4e5cf028684d076
[ "MIT" ]
null
null
null
cifar10_plotter.py
mpienkosz/cifar10-classification
f6dbc662eb7ed761a5ed02e3d4e5cf028684d076
[ "MIT" ]
null
null
null
from utils.visualization import plot_images from keras.datasets import cifar10 print('Loading cifar10..') (X_train, Y_train), (X_test, Y_test) = cifar10.load_data() print('Plotting..') plot_images(X_train, Y_train, 10)
22.2
58
0.765766
34
222
4.735294
0.558824
0.124224
0.086957
0.149068
0
0
0
0
0
0
0
0.040201
0.103604
222
9
59
24.666667
0.768844
0
0
0
0
0
0.121622
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a3ace3ff5be222d57af9b72774172b480fb2d452
579
py
Python
Diena_7_functions/uzd3_g1.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2020-08-31T16:10:54.000Z
2021-11-24T06:37:37.000Z
Diena_7_functions/uzd3_g1.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2021-06-08T22:30:29.000Z
2022-03-12T00:48:55.000Z
Diena_7_functions/uzd3_g1.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
12
2020-09-28T17:06:52.000Z
2022-02-17T12:12:46.000Z
# https://github.com/Narusi/Python-Kurss/blob/master/Python_Uzdevums_Funkcijas.ipynb def get_city_year(p0, perc, delta, p): years = 0 while p0 < p and years <= 10_000: p0 += p0 * perc/100 + delta years += 1 if years >= 10_000: years = -1 return years print( f'get_city_yea...
28.95
100
0.626943
94
579
3.670213
0.425532
0.142029
0.223188
0.113043
0.498551
0.481159
0.446377
0.185507
0
0
0
0.236842
0.212435
579
19
101
30.473684
0.519737
0.141623
0
0.214286
0
0.214286
0.476768
0.090909
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.214286
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3ce8a5c783a78fe1255a72f2d1ccddc67e719a2
395
py
Python
sfdo_template_helpers/crypto.py
oddbird/sfdo-template-helpers
11a95ee64e3f54824d4039e34d0f172aa8d01e4b
[ "BSD-3-Clause" ]
4
2019-05-08T16:11:03.000Z
2021-12-24T19:35:48.000Z
sfdo_template_helpers/crypto.py
oddbird/sfdo-template-helpers
11a95ee64e3f54824d4039e34d0f172aa8d01e4b
[ "BSD-3-Clause" ]
12
2018-11-28T23:29:51.000Z
2020-03-31T21:57:11.000Z
sfdo_template_helpers/crypto.py
oddbird/sfdo-template-helpers
11a95ee64e3f54824d4039e34d0f172aa8d01e4b
[ "BSD-3-Clause" ]
5
2018-11-28T21:19:07.000Z
2021-06-26T17:52:04.000Z
from cryptography.fernet import Fernet from django.conf import settings FERNET = Fernet(settings.DB_ENCRYPTION_KEY) def fernet_encrypt(s): """Encrypt a string using cryptography.fernet""" return FERNET.encrypt(s.encode("utf-8")).decode("utf-8") def fernet_decrypt(s): """Decrypt a string using cryptogra...
26.333333
60
0.731646
56
395
5.089286
0.392857
0.05614
0.098246
0.168421
0.442105
0.442105
0.442105
0
0
0
0
0.011594
0.126582
395
14
61
28.214286
0.814493
0.21519
0
0
0
0
0.06689
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a3dad6cac5ff059141182ca2ee556fe1ac2b5f33
2,118
py
Python
waterbutler/providers/dataverse/metadata.py
birdbrained/waterbutler
60a6eb7f2dfce88b7a00457034c01b20da0aef23
[ "Apache-2.0" ]
null
null
null
waterbutler/providers/dataverse/metadata.py
birdbrained/waterbutler
60a6eb7f2dfce88b7a00457034c01b20da0aef23
[ "Apache-2.0" ]
null
null
null
waterbutler/providers/dataverse/metadata.py
birdbrained/waterbutler
60a6eb7f2dfce88b7a00457034c01b20da0aef23
[ "Apache-2.0" ]
null
null
null
from waterbutler.core import metadata class BaseDataverseMetadata(metadata.BaseMetadata): @property def provider(self): return 'dataverse' class DataverseFileMetadata(BaseDataverseMetadata, metadata.BaseFileMetadata): def __init__(self, raw, dataset_version): super().__init__(raw) ...
22.531915
86
0.640227
225
2,118
5.862222
0.315556
0.125095
0.074299
0.038666
0.276725
0.185747
0.06975
0.06975
0.06975
0.06975
0
0
0.26204
2,118
93
87
22.774194
0.84389
0.054769
0
0.40625
0
0
0.054027
0
0
0
0
0
0
1
0.265625
false
0
0.015625
0.234375
0.578125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a3e5a5136c529b647d3ad04436e15368daf4e7b4
26
py
Python
test/__init__.py
mendrugory/torip
4a7acb49824f84979e8aeaac3ead442be9e675e2
[ "MIT" ]
7
2015-10-31T15:17:18.000Z
2017-10-27T07:12:09.000Z
test/__init__.py
mendrugory/torip
4a7acb49824f84979e8aeaac3ead442be9e675e2
[ "MIT" ]
2
2021-09-22T16:20:52.000Z
2021-09-23T10:19:02.000Z
test/__init__.py
mendrugory/torip
4a7acb49824f84979e8aeaac3ead442be9e675e2
[ "MIT" ]
null
null
null
__author__ = 'mendrugory'
13
25
0.769231
2
26
8
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.695652
0
0
0
0
0
0.384615
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
431738a2ea759101d00dbb58b617f55667b7318a
155
py
Python
examens/urls.py
adrienlachaize/dezede
584ec30cedab95152e2f95595b7691a04e6736e2
[ "BSD-3-Clause" ]
15
2015-02-10T21:16:31.000Z
2021-03-25T16:46:20.000Z
examens/urls.py
adrienlachaize/dezede
584ec30cedab95152e2f95595b7691a04e6736e2
[ "BSD-3-Clause" ]
4
2021-02-10T15:42:08.000Z
2022-03-11T23:20:38.000Z
examens/urls.py
adrienlachaize/dezede
584ec30cedab95152e2f95595b7691a04e6736e2
[ "BSD-3-Clause" ]
6
2016-07-10T14:20:48.000Z
2022-01-19T18:34:02.000Z
from django.conf.urls import url from .views import TakeLevelView urlpatterns = [ url(r'^source$', TakeLevelView.as_view(), name='source_examen'), ]
19.375
68
0.729032
20
155
5.55
0.75
0
0
0
0
0
0
0
0
0
0
0
0.135484
155
7
69
22.142857
0.828358
0
0
0
0
0
0.135484
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
431a29f36a2cb1c4a803344dc4bd7de123556b4d
10,764
py
Python
47/swagger_client/models/wordnet_similarity_response_entity.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
3
2018-08-21T06:14:33.000Z
2019-10-18T23:05:50.000Z
47/swagger_client/models/wordnet_similarity_response_entity.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
null
null
null
47/swagger_client/models/wordnet_similarity_response_entity.py
apitore/apitore-sdk-python
c0814c5635ddd09e9a20fcb155b62122bee41d33
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ WordNet Similarity APIs Calculate word similarity.<BR />[Endpoint] https://api.apitore.com/api/47 # noqa: E501 OpenAPI spec version: 0.0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Wordnet...
28.704
174
0.591323
1,167
10,764
5.342759
0.113967
0.078268
0.23737
0.197273
0.529431
0.432237
0.407217
0.265437
0.132959
0.044427
0
0.038744
0.316611
10,764
374
175
28.780749
0.808864
0.40236
0
0.075949
1
0
0.11831
0
0
0
0
0
0
1
0.164557
false
0
0.018987
0
0.303797
0.012658
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
431aee2a6aa3aceaa5db46007332158ec5a9f952
84
py
Python
lesson-05/05/join.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
lesson-05/05/join.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
lesson-05/05/join.py
minimum-hsu/tutorial-python
667692e7cd13a8a4d061a4da530dc2dfe25ac1de
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 names = ['Alice', 'Bob', 'Charlie'] print(', '.join(names))
16.8
35
0.595238
11
84
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.013514
0.119048
84
4
36
21
0.662162
0.25
0
0
0
0
0.274194
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
43232360e8a44da575a0dd62395f791880d04c3d
334
py
Python
tests/compat.py
lucasalves747/requests
bb30a9de93e1594f37e0ab2037329912b1091d89
[ "Apache-2.0" ]
null
null
null
tests/compat.py
lucasalves747/requests
bb30a9de93e1594f37e0ab2037329912b1091d89
[ "Apache-2.0" ]
null
null
null
tests/compat.py
lucasalves747/requests
bb30a9de93e1594f37e0ab2037329912b1091d89
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from requests.compat import is_py3 try: import StringIO except ImportError: import io as StringIO try: from cStringIO import StringIO as cStringIO except ImportError: cStringIO = None if is_py3: def u(s): return s else: def u(s): return s.decode('uni...
14.521739
47
0.652695
46
334
4.695652
0.565217
0.046296
0.046296
0.101852
0.111111
0
0
0
0
0
0
0.012146
0.260479
334
22
48
15.181818
0.862348
0.062874
0
0.4
0
0
0.045016
0
0
0
0
0
0
1
0.133333
false
0
0.4
0.133333
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
1
1
0
0
3
432c0d94bcce3675a7e64cb732c12535d0bb8570
416
py
Python
backend/tests/test_bcrypt_hash.py
fjacob21/mididecweb
b65f28eb6fdeafa265796b6190a4264a5eac54ce
[ "MIT" ]
null
null
null
backend/tests/test_bcrypt_hash.py
fjacob21/mididecweb
b65f28eb6fdeafa265796b6190a4264a5eac54ce
[ "MIT" ]
88
2016-11-12T14:54:38.000Z
2018-08-02T00:25:07.000Z
backend/tests/test_bcrypt_hash.py
mididecouverte/mididecweb
b65f28eb6fdeafa265796b6190a4264a5eac54ce
[ "MIT" ]
null
null
null
from src.bcrypt_hash import BcryptHash def test_bcrypt_encrypt(): password = BcryptHash('password').encrypt() assert password assert type(password) == str password2 = BcryptHash('password', password.encode()).encrypt() assert password2 assert password2 == password password3 = BcryptHash('b...
29.714286
70
0.71875
42
416
7.047619
0.404762
0.131757
0.141892
0.182432
0
0
0
0
0
0
0
0.017493
0.175481
416
13
71
32
0.845481
0
0
0
0
0
0.064904
0
0
0
0
0
0.545455
1
0.090909
false
0.818182
0.090909
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
4a37f7650d7ed5321be2fcb0b93ef029fa22c65d
2,436
py
Python
python/old/resources.py
BenOsborn/Cerci
5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a
[ "Apache-2.0" ]
null
null
null
python/old/resources.py
BenOsborn/Cerci
5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a
[ "Apache-2.0" ]
null
null
null
python/old/resources.py
BenOsborn/Cerci
5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a
[ "Apache-2.0" ]
null
null
null
from random import random from math import exp, tanh def dot(arr1, arr2): if (len(arr1) != len(arr2)): raise Exception(f"Arrays are not of same length! Arr1 Length: {len(arr1)} | Arr2 Length: {len(arr2)}") return sum([one*two for one, two in zip(arr1, arr2)]) def error(arr1, arr2): if (len(arr1) != len(ar...
37.476923
169
0.585386
303
2,436
4.706271
0.293729
0.5554
0.769986
0.959327
0.521739
0.521739
0.507714
0.469846
0.469846
0.431978
0
0.017761
0.237274
2,436
65
170
37.476923
0.749731
0.154351
0
0.291667
0
0.041667
0.112463
0
0
0
0
0
0
1
0.125
false
0
0.041667
0.020833
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a59ba98dc0ab3d8ab04bcdff14e2a82ef1859f4
3,095
py
Python
tests/unit/bokeh/models/test_tools.py
dkapitan/bokeh
d518cecd1d9919db49e3c0033e8c1b89db9965bf
[ "BSD-3-Clause" ]
1
2020-02-07T16:57:56.000Z
2020-02-07T16:57:56.000Z
tests/unit/bokeh/models/test_tools.py
dkapitan/bokeh
d518cecd1d9919db49e3c0033e8c1b89db9965bf
[ "BSD-3-Clause" ]
1
2021-05-11T23:19:27.000Z
2021-05-11T23:19:27.000Z
tests/unit/bokeh/models/test_tools.py
dkapitan/bokeh
d518cecd1d9919db49e3c0033e8c1b89db9965bf
[ "BSD-3-Clause" ]
1
2020-03-06T07:38:50.000Z
2020-03-06T07:38:50.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
34.775281
100
0.428433
261
3,095
4.885057
0.444444
0.06902
0.087843
0.084706
0.211765
0.172549
0.172549
0.172549
0.172549
0.172549
0
0.003285
0.114701
3,095
88
101
35.170455
0.462044
0.570275
0
0.354839
0
0
0.078173
0.049536
0
0
0
0.011364
0.419355
1
0.16129
false
0
0.16129
0
0.322581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
3
4a5eaaeef9380ab39354446a06f177452cfcbd76
613
py
Python
test/jpypetest/test_zzz.py
baztian/jpype
034d44e6c719995c25e9cd61348ebc1860030a9b
[ "Apache-2.0" ]
null
null
null
test/jpypetest/test_zzz.py
baztian/jpype
034d44e6c719995c25e9cd61348ebc1860030a9b
[ "Apache-2.0" ]
null
null
null
test/jpypetest/test_zzz.py
baztian/jpype
034d44e6c719995c25e9cd61348ebc1860030a9b
[ "Apache-2.0" ]
null
null
null
import sys import _jpype import jpype from jpype.types import * from jpype import JPackage, java import common import pytest try: import numpy as np except ImportError: pass class ZZZTestCase(common.JPypeTestCase): def setUp(self): common.JPypeTestCase.setUp(self) def testShutdown(self): ...
21.137931
67
0.693312
69
613
6.115942
0.623188
0.052133
0
0
0
0
0
0
0
0
0
0
0.228385
613
28
68
21.892857
0.892178
0.109299
0
0
0
0
0.083026
0.083026
0
0
0
0
0
1
0.105263
false
0.052632
0.473684
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
4a73282304dbc1c6887a9d363c48ab9b4e0a647d
545
py
Python
TestScripts/test_encodeCategoricalFeaturesInDF.py
VigneshBaskar/team_darts
a2b5f2b5e79661b05b4e85a602ced1f264745a8c
[ "Apache-2.0" ]
null
null
null
TestScripts/test_encodeCategoricalFeaturesInDF.py
VigneshBaskar/team_darts
a2b5f2b5e79661b05b4e85a602ced1f264745a8c
[ "Apache-2.0" ]
null
null
null
TestScripts/test_encodeCategoricalFeaturesInDF.py
VigneshBaskar/team_darts
a2b5f2b5e79661b05b4e85a602ced1f264745a8c
[ "Apache-2.0" ]
null
null
null
import os import pandas as pd from unittest import TestCase from Scripts.EncodeCategoricalFeaturesInDF import EncodeCategoricalFeaturesInDF class TestEncodeCategoricalFeaturesInDF(TestCase): def test_encode_features(self): encoding_object = EncodeCategoricalFeaturesInDF() application_test = pd.re...
38.928571
87
0.811009
58
545
7.344828
0.5
0.211268
0.103286
0.112676
0
0
0
0
0
0
0
0
0.126606
545
13
88
41.923077
0.894958
0
0
0
0
0
0.044037
0
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4a75988f5c8e5c2eea6c0da4cb3930f19505c23e
71
py
Python
launcher.py
InFTord/updated-discord.py-tutorial
7e4363a1b10c03722382be0f1b0af6adcab95aa7
[ "BSD-3-Clause" ]
null
null
null
launcher.py
InFTord/updated-discord.py-tutorial
7e4363a1b10c03722382be0f1b0af6adcab95aa7
[ "BSD-3-Clause" ]
null
null
null
launcher.py
InFTord/updated-discord.py-tutorial
7e4363a1b10c03722382be0f1b0af6adcab95aa7
[ "BSD-3-Clause" ]
null
null
null
from lib.bot import bot VERSION = "0.0.27" # Part 31 bot.run(VERSION)
14.2
28
0.690141
14
71
3.5
0.714286
0
0
0
0
0
0
0
0
0
0
0.101695
0.169014
71
5
29
14.2
0.728814
0.098592
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4a86307da2c62e070c21f58f6258d6652a94b3e0
353
py
Python
misago/misago/conf/migrations/0002_cache_version.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
2
2021-03-06T21:06:13.000Z
2021-03-09T15:05:12.000Z
misago/misago/conf/migrations/0002_cache_version.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
misago/misago/conf/migrations/0002_cache_version.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
# Generated by Django 1.11.16 on 2018-12-02 15:54 from django.db import migrations from .. import SETTINGS_CACHE from ...cache.operations import StartCacheVersioning class Migration(migrations.Migration): dependencies = [("misago_conf", "0001_initial"), ("misago_cache", "0001_initial")] operations = [Start...
27.153846
86
0.76204
43
353
6.116279
0.627907
0.098859
0
0
0
0
0
0
0
0
0
0.080906
0.124646
353
12
87
29.416667
0.770227
0.133144
0
0
1
0
0.154605
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4a8a52337576785a05bde6c25e7fb97a1675bf12
503
py
Python
lib/sqlalchemy/events.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
null
null
null
lib/sqlalchemy/events.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
null
null
null
lib/sqlalchemy/events.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
1
2022-02-28T20:16:29.000Z
2022-02-28T20:16:29.000Z
# sqlalchemy/events.py # Copyright (C) 2005-2022 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: https://www.opensource.org/licenses/mit-license.php """Core event interfaces.""" from __future__ import annotations from .engine...
29.588235
70
0.797217
68
503
5.838235
0.647059
0.120907
0.080605
0.110831
0
0
0
0
0
0
0
0.018141
0.12326
503
16
71
31.4375
0.882086
0.500994
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
4a96b46c731f39a74078d3ebae9f8fd83cd2b908
1,355
py
Python
flowcelltool/flowcells/tests/test_templatetags.py
bihealth/flowcelltool
6e16190fc34c54d834ecd23888a462f3af47611d
[ "MIT" ]
7
2016-10-12T12:56:09.000Z
2020-10-27T17:08:09.000Z
flowcelltool/flowcells/tests/test_templatetags.py
iamh2o/flowcelltool
6e16190fc34c54d834ecd23888a462f3af47611d
[ "MIT" ]
94
2016-10-24T06:28:31.000Z
2018-08-06T10:35:13.000Z
flowcelltool/flowcells/tests/test_templatetags.py
iamh2o/flowcelltool
6e16190fc34c54d834ecd23888a462f3af47611d
[ "MIT" ]
1
2022-03-23T15:57:16.000Z
2022-03-23T15:57:16.000Z
# -*- coding: utf-8 -*- """Tests for template tags """ from test_plus.test import TestCase from ..templatetags import flowcells_tags class TestSizify(TestCase): def test_kb(self): self.assertEquals( flowcells_tags.sizify(100), '0.1 kb') self.assertEquals( flowcells_tags....
27.1
74
0.617712
160
1,355
5.0625
0.3375
0.176543
0.308642
0.358025
0.553086
0.509877
0.239506
0.239506
0.133333
0
0
0.075472
0.256827
1,355
49
75
27.653061
0.728898
0.033948
0
0.272727
0
0
0.133641
0.03533
0
0
0
0
0.30303
1
0.212121
false
0
0.060606
0
0.333333
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
1
0
0
0
0
0
0
0
3
4a9ffd59087b2b9d8af238ab3e08cfeae1392678
223
py
Python
AtCoder/ABC078/D.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/ABC078/D.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/ABC078/D.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
N, Z, W = map(int, input().split()) a_list = [i for i in map(int, input().split())] if N == 1: print(abs(W-a_list[0])) exit() max_a = max(a_list) print(max(abs(a_list[-1]-W), abs(a_list[-2]-a_list[-1])))
20.272727
57
0.547085
46
223
2.5
0.434783
0.26087
0.191304
0.278261
0
0
0
0
0
0
0
0.027933
0.197309
223
10
58
22.3
0.614525
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4aae16dd02d2967193af057bd6dc401a1468e5c8
4,257
py
Python
static/data/db_artifacts.py
gentimouton/shop-heroes
778e46f7a148812be804ca714dd48b49749055fe
[ "MIT" ]
null
null
null
static/data/db_artifacts.py
gentimouton/shop-heroes
778e46f7a148812be804ca714dd48b49749055fe
[ "MIT" ]
null
null
null
static/data/db_artifacts.py
gentimouton/shop-heroes
778e46f7a148812be804ca714dd48b49749055fe
[ "MIT" ]
null
null
null
artifact_db = \ { 'adamantium': { 'level': 40, 'name': 'Adamantium', 'origin': 'Quest', 'tier': 3}, 'ancient-essence': { 'level': 42, 'name': 'Ancient Essence', 'origin': 'Quest', ...
40.542857
57
0.299742
290
4,257
4.396552
0.296552
0.207059
0.282353
0.112941
0.029804
0
0
0
0
0
0
0.03734
0.540756
4,257
105
58
40.542857
0.614834
0
0
0.485714
0
0
0.292626
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4ab6999ff0b444d9dc7f3f9f7f12fcb5ea41f3ca
831
py
Python
featureflags/rest/models/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/rest/models/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/rest/models/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
""" Contains all the data models used in inputs/outputs """ from .authentication_request import AuthenticationRequest from .authentication_response import AuthenticationResponse from .clause import Clause from .distribution import Distribution from .error import Error from .evaluation import Evaluation from .evaluatio...
36.130435
59
0.858002
99
831
7.10101
0.434343
0.046942
0.048364
0
0
0
0
0
0
0
0
0
0.109507
831
22
60
37.772727
0.95
0.061372
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
435e327e69d8578a6ab012abeee69d684e47fd17
4,681
py
Python
tests/test_usfirst_legacy_event_details_parser.py
tervay/the-blue-alliance
e14c15cb04b455f90a2fcfdf4c1cdbf8454e17f8
[ "MIT" ]
1
2016-03-19T20:29:35.000Z
2016-03-19T20:29:35.000Z
tests/test_usfirst_legacy_event_details_parser.py
gregmarra/the-blue-alliance
5bedaf5c80b4623984760d3da3289640639112f9
[ "MIT" ]
11
2020-10-10T03:05:29.000Z
2022-02-27T09:57:22.000Z
tests/test_usfirst_legacy_event_details_parser.py
gregmarra/the-blue-alliance
5bedaf5c80b4623984760d3da3289640639112f9
[ "MIT" ]
null
null
null
import unittest2 import datetime from consts.event_type import EventType from datafeeds.usfirst_legacy_event_details_parser import UsfirstLegacyEventDetailsParser @unittest2.skip class TestUsfirstLegacyEventDetailsParser(unittest2.TestCase): def test_parse2012ct(self): with open('test_data/usfirst_legacy...
58.5125
173
0.695364
563
4,681
5.639432
0.220249
0.217323
0.289764
0.07874
0.739843
0.660157
0.532283
0.500157
0.500157
0.471811
0
0.044088
0.161718
4,681
79
174
59.253165
0.765036
0
0
0.253731
0
0.029851
0.312754
0.071566
0
0
0
0
0.686567
1
0.074627
false
0
0.059701
0
0.149254
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
4370e6292e579802e4f244bc22438eaa4c21caac
339
py
Python
codewars/8kyu/doha22/kata8/playing_banjo/playing_banjo.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
null
null
null
codewars/8kyu/doha22/kata8/playing_banjo/playing_banjo.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
2
2019-01-22T10:53:42.000Z
2019-01-31T08:02:48.000Z
codewars/8kyu/doha22/kata8/playing_banjo/playing_banjo.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
13
2019-01-22T10:37:42.000Z
2019-01-25T13:30:43.000Z
def areYouPlayingBanjo(name): # Implement me! if (name.startswith("R") |name.startswith("r") ): return name + " "+"plays banjo" else: return name +" "+ "does not play banjo" # return name def areYouPlayingBanjo2(name): return name + (' plays' if name[0].lower() == 'r' else ' does not...
33.9
88
0.59587
41
339
4.926829
0.439024
0.19802
0.148515
0.158416
0
0
0
0
0
0
0
0.007752
0.238938
339
10
88
33.9
0.775194
0.073746
0
0
0
0
0.195513
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
43766a2ff5183015b70d35d96509021c774f2992
136
py
Python
dataf/tests/__init__.py
BenjaminBoumendil/dataf
0579c65b10b5b48424d64cc6c007dbf68ad7e64d
[ "MIT" ]
null
null
null
dataf/tests/__init__.py
BenjaminBoumendil/dataf
0579c65b10b5b48424d64cc6c007dbf68ad7e64d
[ "MIT" ]
null
null
null
dataf/tests/__init__.py
BenjaminBoumendil/dataf
0579c65b10b5b48424d64cc6c007dbf68ad7e64d
[ "MIT" ]
null
null
null
class settings: DATABASE = { 'test': { 'url': 'postgresql://admin:password@localhost:5432/test' } }
19.428571
68
0.5
11
136
6.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.044944
0.345588
136
6
69
22.666667
0.719101
0
0
0
0
0
0.397059
0.345588
0
0
0
0
0
1
0
false
0.166667
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
437a9de6f0887cef3b0a7abd049cf2d22c170040
279
py
Python
blueprints/aws/tenancy/diagram.py
micronode/bedrock
5dc6c1ab7e6e0801e2a2c3b556d565b36a567113
[ "MIT" ]
null
null
null
blueprints/aws/tenancy/diagram.py
micronode/bedrock
5dc6c1ab7e6e0801e2a2c3b556d565b36a567113
[ "MIT" ]
48
2015-12-07T02:12:09.000Z
2020-11-05T03:27:21.000Z
blueprints/aws/tenancy/diagram.py
micronode/bedrock
5dc6c1ab7e6e0801e2a2c3b556d565b36a567113
[ "MIT" ]
1
2020-05-05T05:19:25.000Z
2020-05-05T05:19:25.000Z
# diagram.py from diagrams import Diagram, Cluster from diagrams.aws.network import CloudMap, VPC with Diagram("AWS Tenancy", show=False, direction="RL"): with Cluster("dns"): CloudMap("private dns namespace") << VPC("vpc") CloudMap("public dns namespace")
27.9
56
0.695341
35
279
5.542857
0.571429
0.123711
0
0
0
0
0
0
0
0
0
0
0.175627
279
9
57
31
0.843478
0.035842
0
0
0
0
0.224719
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
43859292910a325435a452907759586a392f2abf
422,590
py
Python
thermo/eos_mix.py
RoryKurek/thermo
985279467faa028234ab422a19b69385e5100149
[ "MIT" ]
380
2016-07-04T09:45:20.000Z
2022-03-20T18:09:45.000Z
thermo/eos_mix.py
RoryKurek/thermo
985279467faa028234ab422a19b69385e5100149
[ "MIT" ]
104
2016-07-10T20:47:12.000Z
2022-03-22T20:43:39.000Z
thermo/eos_mix.py
RoryKurek/thermo
985279467faa028234ab422a19b69385e5100149
[ "MIT" ]
96
2016-07-05T20:54:05.000Z
2022-02-23T03:06:02.000Z
# -*- coding: utf-8 -*- '''Chemical Engineering Design Library (ChEDL). Utilities for process modeling. Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021 Caleb Bell <Caleb.Andrew.Bell@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fi...
36.496243
1,710
0.542829
61,588
422,590
3.56727
0.036614
0.0204
0.005189
0.005558
0.754362
0.719446
0.684626
0.662136
0.638941
0.616684
0
0.052996
0.327729
422,590
11,578
1,711
36.499395
0.720333
0.485563
0
0.553784
0
0
0.010465
0.000551
0
0
0
0.001036
0.000425
1
0.058673
false
0.005315
0.004039
0.002551
0.153274
0.000425
0
0
0
null
0
0
0
0
1
0
0
0
1
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
0
0
0
3
43930e1ff7425ef708802f69f9ad4976162d847f
315
py
Python
hknweb/academics/views/logistics/instructor.py
Boomaa23/hknweb
2c2ce38b5f1c0c6e04ba46282141557357bd5326
[ "MIT" ]
20
2018-01-07T02:15:43.000Z
2021-09-15T04:25:50.000Z
hknweb/academics/views/logistics/instructor.py
Boomaa23/hknweb
2c2ce38b5f1c0c6e04ba46282141557357bd5326
[ "MIT" ]
292
2018-02-01T18:31:18.000Z
2022-03-30T22:15:08.000Z
hknweb/academics/views/logistics/instructor.py
Boomaa23/hknweb
2c2ce38b5f1c0c6e04ba46282141557357bd5326
[ "MIT" ]
85
2017-11-13T06:33:13.000Z
2022-03-30T20:32:55.000Z
from hknweb.academics.views.base_viewset import AcademicEntityViewSet from hknweb.academics.models import Instructor from hknweb.academics.serializers import InstructorSerializer class InstructorViewSet(AcademicEntityViewSet): queryset = Instructor.objects.all() serializer_class = InstructorSerializer
28.636364
69
0.847619
30
315
8.833333
0.6
0.113208
0.215094
0
0
0
0
0
0
0
0
0
0.101587
315
10
70
31.5
0.936396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
439dd3f137e1b2f2d07dacc62043ed850050e384
517
py
Python
photos_time_warp/utils.py
tkrunning/photos_time_warp
0805a1a4f778387847f8a06040fe187cce744beb
[ "MIT" ]
null
null
null
photos_time_warp/utils.py
tkrunning/photos_time_warp
0805a1a4f778387847f8a06040fe187cce744beb
[ "MIT" ]
null
null
null
photos_time_warp/utils.py
tkrunning/photos_time_warp
0805a1a4f778387847f8a06040fe187cce744beb
[ "MIT" ]
null
null
null
"""Utils for photos_time_warp""" def pluralize(count, singular, plural): """Return singular or plural based on count""" if count == 1: return singular else: return plural def noop(*args, **kwargs): """No-op function for use as verbose if verbose not set""" pass def red(msg: str)...
21.541667
62
0.615087
73
517
4.328767
0.520548
0.088608
0.056962
0.094937
0.170886
0.170886
0
0
0
0
0
0.002532
0.235977
517
23
63
22.478261
0.797468
0.371373
0
0
0
0
0.120401
0
0
0
0
0
0
1
0.363636
false
0.090909
0
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
43ade1146900611382a7d447fb044df89477c1c0
3,841
py
Python
python/my_custard.py
ensan-hcl/CustardKit
96c5a484e98dd2f0e43df1855ed92e0799a00b33
[ "MIT" ]
1
2021-03-25T13:26:07.000Z
2021-03-25T13:26:07.000Z
python/my_custard.py
ensan-hcl/CustardKit
96c5a484e98dd2f0e43df1855ed92e0799a00b33
[ "MIT" ]
13
2021-03-24T13:53:11.000Z
2021-04-18T02:52:37.000Z
python/my_custard.py
ensan-hcl/CustardKit
96c5a484e98dd2f0e43df1855ed92e0799a00b33
[ "MIT" ]
2
2021-03-24T13:51:20.000Z
2021-03-24T13:52:38.000Z
from source.custard import * custard = Custard( identifier="my_custard", language=Language.ja_JP, input_style=InputStyle.direct, metadata=Metadata( custard_version="1.0", display_name="私のカスタード", ), interface=Interface( key_style=KeyStyle.tenkey_style, key_layout=...
34.603604
67
0.332205
192
3,841
6.53125
0.34375
0.066986
0.086124
0.105263
0.72807
0.72807
0.618022
0.618022
0.618022
0.618022
0
0.009659
0.595678
3,841
110
68
34.918182
0.797811
0
0
0.650943
0
0
0.010154
0
0
0
0
0
0
1
0
false
0
0.009434
0
0.009434
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43c5b3e5404bab89458cc859314d82e96f1049a9
3,783
py
Python
pythonProject1/venv/Lib/site-packages/TkinterExtensions/Widgets/Frames.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/TkinterExtensions/Widgets/Frames.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/TkinterExtensions/Widgets/Frames.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
# ------------------------------------------------------------------------------ # Created by Tyler Stegmaier. # Property of TrueLogic Company. # Copyright (c) 2020. # ------------------------------------------------------------------------------ # # ------------------------------------------------------------------...
28.877863
120
0.63336
370
3,783
6.262162
0.248649
0.034527
0.048338
0.029348
0.698317
0.676737
0.676737
0.676737
0.625809
0.625809
0
0.001325
0.20222
3,783
130
121
29.1
0.766402
0.283109
0
0.425926
0
0
0.027193
0
0
0
0
0
0
1
0.259259
false
0
0.074074
0.111111
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
43dde93c073173dc14db7a4ad8a9da6ea6955aa1
247
py
Python
python/manus_apps/__main__.py
lukacu/manus
bd34c6d7a0f7ecd7a1e62119d2adc8b1af9eefae
[ "MIT" ]
1
2018-10-04T16:08:08.000Z
2018-10-04T16:08:08.000Z
python/manus_apps/__main__.py
manus-project/manus
bd34c6d7a0f7ecd7a1e62119d2adc8b1af9eefae
[ "MIT" ]
1
2016-10-21T08:58:52.000Z
2016-10-21T08:58:52.000Z
python/manus_apps/__main__.py
manus-project/manus
bd34c6d7a0f7ecd7a1e62119d2adc8b1af9eefae
[ "MIT" ]
1
2016-10-21T21:57:19.000Z
2016-10-21T21:57:19.000Z
from __future__ import absolute_import import sys, os if __name__ == '__main__': if len(sys.argv) < 2: from .launcher import application_launcher application_launcher() else: from .launcher import start_app start_app(sys.argv[1])
22.454545
47
0.740891
34
247
4.882353
0.529412
0.084337
0.216867
0
0
0
0
0
0
0
0
0.009804
0.174089
247
11
48
22.454545
0.803922
0
0
0
0
0
0.032258
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
78db9502b13516cbe5cd182bed5c6e75398b145d
406
py
Python
measure/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2021-11-30T19:38:55.000Z
2021-11-30T19:38:55.000Z
measure/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
null
null
null
measure/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2022-02-25T22:48:21.000Z
2022-02-25T22:48:21.000Z
from .models import Measures from rest_framework import serializers class MeasuresSerializer(serializers.ModelSerializer): measure_type_name = serializers.CharField(source='measure_type_id.measure_name', read_only=True) incident_category_name = serializers.CharField(source='incident_category.incident_category'...
40.6
112
0.79064
46
406
6.630435
0.543478
0.157377
0.157377
0.196721
0
0
0
0
0
0
0
0
0.135468
406
9
113
45.111111
0.868946
0
0
0
0
0
0.172414
0.155172
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
78f6871bbad7836285eef5edfd9b37d15d84ab2f
22,090
py
Python
src/cc_catalog_airflow/dags/provider_api_scripts/common/storage/test_image.py
gauravahlawat81/cccatalog
cabfa11c4e1d68c66390ed46649282b7d33e2c58
[ "MIT" ]
65
2018-05-25T00:47:18.000Z
2021-11-30T05:58:43.000Z
src/cc_catalog_airflow/dags/provider_api_scripts/common/storage/test_image.py
cc-archive/cccatalog
bc95ccc159ed7f1444d44e1db08d9a11a16c6d12
[ "MIT" ]
463
2018-05-01T14:35:42.000Z
2021-06-11T20:32:50.000Z
src/cc_catalog_airflow/dags/provider_api_scripts/common/storage/test_image.py
cc-archive/cccatalog
bc95ccc159ed7f1444d44e1db08d9a11a16c6d12
[ "MIT" ]
81
2018-05-05T20:33:12.000Z
2021-04-28T02:23:10.000Z
import logging import requests import pytest import tldextract from common.storage import image logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s: %(message)s', level=logging.DEBUG) logger = logging.getLogger(__name__) # This avoids needing the internet for testing. image.licenses.urls.t...
27.962025
79
0.642825
2,582
22,090
5.138652
0.091789
0.052759
0.035047
0.052759
0.764923
0.720832
0.709753
0.67546
0.652547
0.607024
0
0.009948
0.24459
22,090
789
80
27.997465
0.785162
0.00421
0
0.643478
0
0
0.171092
0.003046
0
0
0
0
0.044928
1
0.062319
false
0
0.007246
0.017391
0.086957
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60008a75a289dd5232f1480d185bec635fc50d31
1,476
py
Python
src/utils/utilities.py
alex-smtv/FreePIE-Joystick-Mapper
82f80e235b546ddcba463188aef93153d7e5ac91
[ "MIT" ]
1
2022-03-04T07:53:54.000Z
2022-03-04T07:53:54.000Z
src/utils/utilities.py
alex-smtv/FreePIE-Joystick-Mapper
82f80e235b546ddcba463188aef93153d7e5ac91
[ "MIT" ]
null
null
null
src/utils/utilities.py
alex-smtv/FreePIE-Joystick-Mapper
82f80e235b546ddcba463188aef93153d7e5ac91
[ "MIT" ]
null
null
null
from collections import Iterable def is_iterable(obj): return isinstance(obj, Iterable) # https://stackoverflow.com/a/1123026 # Simulate anonymous class: basically use a dict like it's an Object class Bunch(object): def __init__(self, **kwds): self.__dict__.update(kwds) def __eq__(self, other): ...
33.545455
158
0.699864
223
1,476
4.340807
0.408072
0.103306
0.057851
0.049587
0.144628
0.099174
0.099174
0.070248
0
0
0
0.013536
0.199187
1,476
44
159
33.545455
0.805415
0.27439
0
0
0
0
0.09322
0.022599
0
0
0
0
0
1
0.269231
false
0
0.038462
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6017e8bdd53481baaa43510168b00072df9a1810
303
py
Python
PyObjCTest/test_nsextensionrequesthandling.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsextensionrequesthandling.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsextensionrequesthandling.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import Foundation # noqa: F401 from PyObjCTools.TestSupport import TestCase, min_sdk_level, onlyOn64Bit import objc class TestNSExtensionRequestHandling(TestCase): @min_sdk_level("10.10") @onlyOn64Bit def testProtocols10_10(self): objc.protocolNamed("NSExtensionRequestHandling")
27.545455
72
0.782178
31
303
7.483871
0.677419
0.094828
0.12069
0.163793
0
0
0
0
0
0
0
0.057692
0.141914
303
10
73
30.3
0.834615
0.033003
0
0
0
0
0.106529
0.089347
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
602af8b87504a0795e3ddb942ad5d884cab93b7d
363
py
Python
python/leetcode/top-interview-questions/arrays/04_contains_duplicate.py
holyketzer/ctci_v6
8877093c3f6744887a4c04ffcdee44d3592170c8
[ "MIT" ]
1
2021-07-04T19:07:04.000Z
2021-07-04T19:07:04.000Z
python/leetcode/top-interview-questions/arrays/04_contains_duplicate.py
holyketzer/ctci_v6
8877093c3f6744887a4c04ffcdee44d3592170c8
[ "MIT" ]
null
null
null
python/leetcode/top-interview-questions/arrays/04_contains_duplicate.py
holyketzer/ctci_v6
8877093c3f6744887a4c04ffcdee44d3592170c8
[ "MIT" ]
1
2020-12-22T21:20:35.000Z
2020-12-22T21:20:35.000Z
class Solution(object): def containsDuplicate(self, nums): """ :type nums: List[int] :rtype: bool """ values = set([]) for v in nums: if v in values: return True else: values.add(v) return False print Solution().containsDuplicate([1, 2, 3, 4, 5]) print Soluti...
19.105263
54
0.570248
48
363
4.3125
0.604167
0.028986
0.289855
0.299517
0.338164
0.338164
0.338164
0.338164
0
0
0
0.042308
0.283747
363
18
55
20.166667
0.753846
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
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
1
0
0
0
0
0
0
0
0
3
606c060ff7e3f4b487fc11c93124aa3ae966ea71
117
py
Python
src/Python/Turtle/08B-ifelse.py
programmer1017/MathTech
5d7a9692d77a4a379824f691ae1cba3b0d2d4d59
[ "MIT" ]
null
null
null
src/Python/Turtle/08B-ifelse.py
programmer1017/MathTech
5d7a9692d77a4a379824f691ae1cba3b0d2d4d59
[ "MIT" ]
null
null
null
src/Python/Turtle/08B-ifelse.py
programmer1017/MathTech
5d7a9692d77a4a379824f691ae1cba3b0d2d4d59
[ "MIT" ]
null
null
null
a = 3 if a ==2: print("A") if a==3: print("B") if a==4: print("C") else: print("D")
6.882353
14
0.358974
20
117
2.1
0.5
0.214286
0
0
0
0
0
0
0
0
0
0.057971
0.410256
117
16
15
7.3125
0.550725
0
0
0
0
0
0.034188
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
1
0
3
60988495898da69dafc27099ea6b8eff8b168b45
60
py
Python
code/abc131_a_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc131_a_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc131_a_03.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
S=input() print("Good" if S[0]!=S[1]!=S[2]!=S[3] else "Bad")
30
50
0.533333
15
60
2.133333
0.733333
0
0
0
0
0
0
0
0
0
0
0.072727
0.083333
60
2
50
30
0.509091
0
0
0
0
0
0.114754
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
60998205c38d4a615dc601d1dd84d291363c2449
335
py
Python
msgiver/setting_base.py
tanish-kr/msgiver
c2f266f3b955869352b7a31ca032da89db4d69b8
[ "MIT" ]
2
2017-04-13T16:08:55.000Z
2017-10-06T05:25:55.000Z
msgiver/setting_base.py
tanish-kr/msgiver
c2f266f3b955869352b7a31ca032da89db4d69b8
[ "MIT" ]
8
2017-03-31T08:31:13.000Z
2017-04-13T16:07:06.000Z
msgiver/setting_base.py
tanish-kr/msgiver
c2f266f3b955869352b7a31ca032da89db4d69b8
[ "MIT" ]
1
2018-05-23T02:35:54.000Z
2018-05-23T02:35:54.000Z
# -*- coding: utf-8 -*- import six from abc import ABCMeta, abstractmethod @six.add_metaclass(ABCMeta) class SettingBase(object): @abstractmethod def generate(self, args): """ Generate setting file :param dict args: setting parameter :raises ParseError: ""...
18.611111
47
0.59403
33
335
6
0.787879
0
0
0
0
0
0
0
0
0
0
0.004329
0.310448
335
17
48
19.705882
0.852814
0.298507
0
0
1
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
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
1
0
0
3
609a747f6ba8d4d6690824b24063e36ac3e4f80d
41
py
Python
src/abstract_map_simulator/__init__.py
btalb/abstract_map_simulator
59e0d4bbe67b20937156aa7808c877a237853561
[ "BSD-3-Clause" ]
1
2021-02-02T08:37:37.000Z
2021-02-02T08:37:37.000Z
src/abstract_map_simulator/__init__.py
btalb/abstract_map_simulator
59e0d4bbe67b20937156aa7808c877a237853561
[ "BSD-3-Clause" ]
null
null
null
src/abstract_map_simulator/__init__.py
btalb/abstract_map_simulator
59e0d4bbe67b20937156aa7808c877a237853561
[ "BSD-3-Clause" ]
null
null
null
__all__ = ["simulator", "tags", "tools"]
20.5
40
0.609756
4
41
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.121951
41
1
41
41
0.583333
0
0
0
0
0
0.439024
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60acce7453d89d6df9bbe8e4209a3fbcafabd3d0
442
py
Python
tradeiobot/bot/keyboards.py
hcv57/tradeio-bot
a4c9f96a104e20ca0618d8d787cfef3599c8ebb7
[ "MIT" ]
2
2018-10-28T18:47:02.000Z
2019-10-09T14:52:04.000Z
tradeiobot/bot/keyboards.py
hcv57/tradeio-bot
a4c9f96a104e20ca0618d8d787cfef3599c8ebb7
[ "MIT" ]
null
null
null
tradeiobot/bot/keyboards.py
hcv57/tradeio-bot
a4c9f96a104e20ca0618d8d787cfef3599c8ebb7
[ "MIT" ]
null
null
null
from telegram import ReplyKeyboardMarkup, KeyboardButton def main_keyboard(): # http://unicode.org/emoji/charts/full-emoji-list.html return ReplyKeyboardMarkup([ [KeyboardButton('/balance (beta)')], [KeyboardButton('/markets 📈'), KeyboardButton('/volume 💰'), KeyboardButton('/exchange 🚀')], ...
44.2
99
0.683258
43
442
7.093023
0.767442
0.216393
0
0
0
0
0
0
0
0
0
0
0.147059
442
10
100
44.2
0.795756
0.117647
0
0
0
0
0.18509
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0.142857
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
60be1c6e3c40e74413e07dad8631cb04a8b477b5
241
py
Python
meregistro/apps/seguridad/forms/BloquearUsuarioForm.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/seguridad/forms/BloquearUsuarioForm.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/seguridad/forms/BloquearUsuarioForm.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- from django import forms from apps.seguridad.models import MotivoBloqueo class BloquearUsuarioForm(forms.Form): motivo = forms.ModelChoiceField(queryset=MotivoBloqueo.objects.filter(accion='L'), required=True)
26.777778
101
0.771784
28
241
6.642857
0.821429
0
0
0
0
0
0
0
0
0
0
0.004651
0.107884
241
8
102
30.125
0.860465
0.087137
0
0
0
0
0.004587
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
60cae5d49eeb54615f1395db5135eaa614fa6434
2,408
py
Python
0-python-tutorial/25-dates05_strftime09_Y.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/25-dates05_strftime09_Y.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/25-dates05_strftime09_Y.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
# Demo Python Datetime - The strftime() Method ''' The strftime() Method The datetime object has a method for formatting date objects into readable strings. The method is called strftime(), and takes one parameter, format, to specify the format of the returned string. Directive Description ...
57.333333
111
0.354236
221
2,408
3.859729
0.484163
0.042204
0.042204
0.046893
0.058617
0.058617
0.058617
0.058617
0.058617
0
0
0.119577
0.607558
2,408
42
112
57.333333
0.783069
1.074336
0
0
0
0
0.02439
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
60cb3c129ef1c9d15a4c48175b43fa012bf4c212
2,073
py
Python
backend/userauth/migrations/0001_initial.py
daeisbae/PeerOrgan-HackNYU2022
3f11f80fe101800727743e348ccb4f9135198950
[ "MIT" ]
null
null
null
backend/userauth/migrations/0001_initial.py
daeisbae/PeerOrgan-HackNYU2022
3f11f80fe101800727743e348ccb4f9135198950
[ "MIT" ]
null
null
null
backend/userauth/migrations/0001_initial.py
daeisbae/PeerOrgan-HackNYU2022
3f11f80fe101800727743e348ccb4f9135198950
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-02-27 09:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migratio...
44.106383
135
0.569223
209
2,073
5.4689
0.339713
0.11811
0.204724
0.272966
0.593176
0.570429
0.509186
0.509186
0.435696
0.435696
0
0.031821
0.287506
2,073
46
136
45.065217
0.742045
0.020743
0
0.564103
1
0
0.121594
0.018668
0
0
0
0
0
1
0
false
0
0.051282
0
0.153846
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60cc1908976457ed040e15fb7f078a8195fb4843
456
py
Python
bboard/main/models.py
wiky-avis/bboard
aedcba95acece3d3e679ac269b5983decee80873
[ "BSD-3-Clause" ]
null
null
null
bboard/main/models.py
wiky-avis/bboard
aedcba95acece3d3e679ac269b5983decee80873
[ "BSD-3-Clause" ]
null
null
null
bboard/main/models.py
wiky-avis/bboard
aedcba95acece3d3e679ac269b5983decee80873
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class AdvUser(AbstractUser): is_activated = models.BooleanField(default=True, db_index=True, verbose_name='Прошел активацию?') send_messages = models.BooleanField(...
32.571429
72
0.677632
50
456
6.08
0.64
0.065789
0.164474
0.190789
0
0
0
0
0
0
0
0
0.245614
456
13
73
35.076923
0.883721
0.052632
0
0
0
0
0.127907
0
0
0
0
0
0
1
0
false
0.111111
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
1
0
0
1
0
0
3
60d5b76d9d380a8e1b89faa0c8c1ebe8c6784c00
3,298
py
Python
program/main_sniffer/comss/ComssServiceDevelopment/connectors/udp/multicast.py
MaciejSzaflik/tirt-W4-Project
33b5796db59850f9837b4f40cf57ed614133e099
[ "MIT" ]
null
null
null
program/main_sniffer/comss/ComssServiceDevelopment/connectors/udp/multicast.py
MaciejSzaflik/tirt-W4-Project
33b5796db59850f9837b4f40cf57ed614133e099
[ "MIT" ]
1
2015-03-28T22:07:58.000Z
2015-03-29T13:28:42.000Z
Lib/site-packages/ComssServiceDevelopment/connectors/udp/multicast.py
michaellas/streaming-vid-to-gifs
ee5df22c820d4d631f0437c98a53989ecb76dca3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import socket import struct import marshal from ComssServiceDevelopment.connectors.base import BaseConnector class OutputMulticastConnector(BaseConnector): TIMEOUT = 0.2 TTL = 2 def __init__(self, service_instance): self._service_instance = service_i...
30.256881
132
0.637053
405
3,298
4.933333
0.241975
0.084084
0.063063
0.084084
0.548549
0.541041
0.541041
0.541041
0.406406
0.36036
0
0.008649
0.263796
3,298
109
133
30.256881
0.81425
0.093693
0
0.701299
0
0
0.006707
0
0
0
0
0
0
1
0.233766
false
0.064935
0.051948
0.051948
0.428571
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
1
0
1
0
0
0
0
0
3
60f43aae59d04a1a2609e3a410e77c35eb861b44
89
py
Python
core/tools/safely_open.py
3b295/FolderDiffTool
fdd014fbdf92e3011b645c89a7c87a8049699e26
[ "Apache-2.0" ]
null
null
null
core/tools/safely_open.py
3b295/FolderDiffTool
fdd014fbdf92e3011b645c89a7c87a8049699e26
[ "Apache-2.0" ]
null
null
null
core/tools/safely_open.py
3b295/FolderDiffTool
fdd014fbdf92e3011b645c89a7c87a8049699e26
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from functools import partial s_open = partial(open, mode='r')
14.833333
32
0.651685
13
89
4.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0.013514
0.168539
89
5
33
17.8
0.756757
0.235955
0
0
0
0
0.015152
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8809a4b0bfafe5c9cfc931166934f88c98d5ffa6
125
py
Python
btc_tracker_engine/__init__.py
metalerk/4btc
ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0
[ "MIT" ]
null
null
null
btc_tracker_engine/__init__.py
metalerk/4btc
ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0
[ "MIT" ]
null
null
null
btc_tracker_engine/__init__.py
metalerk/4btc
ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0
[ "MIT" ]
null
null
null
from .tracker import CoinDeskTracker from .helper_functions import rate_diff_percentage __all__ = [ 'CoinDeskTracker', ]
20.833333
50
0.8
13
125
7.153846
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.136
125
6
51
20.833333
0.861111
0
0
0
0
0
0.119048
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
715c3e9ce6e40b1d124764f645064e8e628f0a23
134
py
Python
Practice_problems/Pyramid.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
3
2020-08-07T04:33:19.000Z
2021-10-06T08:58:01.000Z
Practice_problems/Pyramid.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
null
null
null
Practice_problems/Pyramid.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
2
2021-10-06T08:58:05.000Z
2021-10-06T09:46:42.000Z
n = int(input("Enter the number of of rows: ")) for i in range(1,n+1): for j in range(1,i+1): print(j,end="") print()
22.333333
47
0.544776
27
134
2.703704
0.592593
0.191781
0.219178
0
0
0
0
0
0
0
0
0.040404
0.261194
134
6
48
22.333333
0.69697
0
0
0
0
0
0.216418
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71822209871a10beba1863a09fb26b7d36f3b8bd
242
py
Python
myTests/Employer.py
Kauanphbbb/analise_e_projeto
8fbcffd232a48e5d2ca8557e88680d48ffffcf12
[ "MIT" ]
null
null
null
myTests/Employer.py
Kauanphbbb/analise_e_projeto
8fbcffd232a48e5d2ca8557e88680d48ffffcf12
[ "MIT" ]
null
null
null
myTests/Employer.py
Kauanphbbb/analise_e_projeto
8fbcffd232a48e5d2ca8557e88680d48ffffcf12
[ "MIT" ]
null
null
null
from PhysicalPerson import PhysicalPerson class Employer(PhysicalPerson): def __init__(self, name, cpf, birthday, rg, vaccinationStatus, monthlyIncome, jobRole): self.monthlyIncome = monthlyIncome self.jobRole = jobRole
30.25
91
0.752066
23
242
7.73913
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.177686
242
7
92
34.571429
0.894472
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7186fffe4a4ebf05517b4b566e8bbb48660a6b8f
375
py
Python
bacdive/tests/test_DSMZClient.py
cameronmartino/BacDivePy
b3433ded1328a1e7b5b1cc3858ffd5367a91df89
[ "BSD-2-Clause" ]
4
2021-04-02T13:18:48.000Z
2022-02-04T09:26:32.000Z
bacdive/tests/test_DSMZClient.py
cameronmartino/BacDivePy
b3433ded1328a1e7b5b1cc3858ffd5367a91df89
[ "BSD-2-Clause" ]
1
2019-07-01T14:58:51.000Z
2019-09-24T18:04:03.000Z
bacdive/tests/test_DSMZClient.py
cameronmartino/BacDivePy
b3433ded1328a1e7b5b1cc3858ffd5367a91df89
[ "BSD-2-Clause" ]
1
2019-07-24T10:42:21.000Z
2019-07-24T10:42:21.000Z
import unittest # from bacdive.DSMZClient import retrieve, DSMZ_login, Dive class TestDSMZClient(unittest.TestCase): def setUp(self): pass def test_retrieve(self): # TODO pass def test_DSMZ_login(self): # TODO pass def test_Dive(self): # TODO ...
15
59
0.602667
42
375
5.071429
0.5
0.098592
0.15493
0.140845
0.178404
0
0
0
0
0
0
0
0.314667
375
24
60
15.625
0.828794
0.192
0
0.333333
0
0
0.026846
0
0
0
0
0.041667
0
1
0.333333
false
0.333333
0.083333
0
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
1
0
0
1
0
1
0
0
0
0
0
3
719452b52e7d5d20be403647c29452e81e47f67e
4,274
py
Python
python/generated/test/test_sling_api.py
mbloch1986/swagger-aem
599baa705dd4db5ae2b30a637e5bcd7d3f886e85
[ "Apache-2.0" ]
39
2016-10-02T06:45:12.000Z
2021-09-08T20:39:53.000Z
python/generated/test/test_sling_api.py
mbloch1986/swagger-aem
599baa705dd4db5ae2b30a637e5bcd7d3f886e85
[ "Apache-2.0" ]
35
2016-11-02T05:06:34.000Z
2021-09-03T06:03:08.000Z
python/generated/test/test_sling_api.py
mbloch1986/swagger-aem
599baa705dd4db5ae2b30a637e5bcd7d3f886e85
[ "Apache-2.0" ]
23
2016-11-07T04:14:42.000Z
2021-02-15T09:49:13.000Z
# coding: utf-8 """ Adobe Experience Manager (AEM) API Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API OpenAPI spec version: 2.2.0 Contact: opensource@shinesolutions.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import ab...
16.893281
82
0.542583
451
4,274
4.791574
0.199557
0.08746
0.137436
0.187413
0.652476
0.37205
0.201296
0.131421
0.039796
0
0
0.003048
0.385821
4,274
252
83
16.960317
0.82019
0.287085
0
0.411765
0
0
0.00377
0
0
0
0
0
0
1
0.426471
false
0.411765
0.102941
0
0.544118
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
71ab4de453d014d1b92793397adb13810a01a2b4
147
py
Python
shard/strategy/id_generation/base.py
ridi/django-shard-library
405e1c213420e095f776d8d2969a147bb0793d9c
[ "BSD-3-Clause" ]
17
2018-03-12T11:37:14.000Z
2021-12-09T15:30:52.000Z
shard/strategy/id_generation/base.py
ridi/django-shard-library
405e1c213420e095f776d8d2969a147bb0793d9c
[ "BSD-3-Clause" ]
12
2018-03-12T10:39:39.000Z
2018-08-21T03:26:09.000Z
shard/strategy/id_generation/base.py
ridi/django-shard-library
405e1c213420e095f776d8d2969a147bb0793d9c
[ "BSD-3-Clause" ]
3
2018-03-12T10:32:11.000Z
2021-04-02T06:24:14.000Z
__all__ = ('BaseIDGenerationStrategy', ) class BaseIDGenerationStrategy: def get_next_id(self, instance): raise NotImplementedError
18.375
40
0.748299
12
147
8.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.176871
147
7
41
21
0.859504
0
0
0
0
0
0.164384
0.164384
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
71b296f5b2e96558e10ced398d976a5135d6c017
1,041
py
Python
aiotdlib/api/types/chat_invite_link_counts.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
aiotdlib/api/types/chat_invite_link_counts.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
aiotdlib/api/types/chat_invite_link_counts.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
35.896552
83
0.50048
78
1,041
6.5
0.564103
0.098619
0.126233
0.078895
0
0
0
0
0
0
0
0
0.289145
1,041
28
84
37.178571
0.685135
0.539866
0
0
1
0
0.057339
0
0
0
0
0
0
1
0.1
false
0
0.4
0.1
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
71bf615becfd4f40932753f9255cc44ca6c55885
287
py
Python
pprint_test.py
a2gs/pythonStudy
e790e223a05fd50a5bcaf1240ef24ff60f361cdd
[ "MIT" ]
null
null
null
pprint_test.py
a2gs/pythonStudy
e790e223a05fd50a5bcaf1240ef24ff60f361cdd
[ "MIT" ]
null
null
null
pprint_test.py
a2gs/pythonStudy
e790e223a05fd50a5bcaf1240ef24ff60f361cdd
[ "MIT" ]
null
null
null
import pprint stuff = {1:'abc', 2:'def', 3:['ghi', 'xyz'], 4:'jlm', 5:'nop', 6:["a","b","c","d", {"asd":"123", "cvb":345, "ert":[1,2,3,4,5], "rty":"abcdef"}], 7: "rst", 8:{1:1, 2:2, 3:3, 4:4}} pp = pprint.PrettyPrinter(indent = 2, compact = False, depth = None) pp.pprint(stuff)
41
179
0.519164
54
287
2.759259
0.666667
0.147651
0
0
0
0
0
0
0
0
0
0.113821
0.142857
287
7
180
41
0.49187
0
0
0
0
0
0.163121
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
71d392b5589888a500ffb2543567f3ea97439128
51
py
Python
ejemplo1.py
albertopinedaorozco/ejerciciospython
a475c5d45a25522ed7b26d7c28cbba7531592505
[ "MIT" ]
null
null
null
ejemplo1.py
albertopinedaorozco/ejerciciospython
a475c5d45a25522ed7b26d7c28cbba7531592505
[ "MIT" ]
null
null
null
ejemplo1.py
albertopinedaorozco/ejerciciospython
a475c5d45a25522ed7b26d7c28cbba7531592505
[ "MIT" ]
null
null
null
nombre = input("Digite su nombre ") print (nombre)
17
35
0.705882
7
51
5.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.156863
51
2
36
25.5
0.837209
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
71e6741e41da468635f107f88e4647bd23d7801d
192
py
Python
src/fixed_point/calcpi.py
LagMeester4000/Lum
fb462f93540e6dd3b024f37e7decdd0dcc5aa97e
[ "MIT" ]
null
null
null
src/fixed_point/calcpi.py
LagMeester4000/Lum
fb462f93540e6dd3b024f37e7decdd0dcc5aa97e
[ "MIT" ]
null
null
null
src/fixed_point/calcpi.py
LagMeester4000/Lum
fb462f93540e6dd3b024f37e7decdd0dcc5aa97e
[ "MIT" ]
null
null
null
import math pi = math.pi fix_bit_pow = 65536 run = 1 res = fix_bit_pow * 3; while run: if res / fix_bit_pow > pi: print(res) break res += 1
13.714286
31
0.5
29
192
3.103448
0.517241
0.2
0.3
0.266667
0
0
0
0
0
0
0
0.072072
0.421875
192
14
32
13.714286
0.738739
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0971974dfacb464918dd37993afaa9789854230
3,632
py
Python
pkmodel/tests/test_protocol.py
D-own-T-o-P-rogramme/PK_Model
a413a4c8edc2dc76513afb07b312acb34f3f6729
[ "MIT" ]
1
2020-10-23T17:01:11.000Z
2020-10-23T17:01:11.000Z
pkmodel/tests/test_protocol.py
Down-To-Programme/PK_Model
a413a4c8edc2dc76513afb07b312acb34f3f6729
[ "MIT" ]
39
2020-10-21T15:03:19.000Z
2022-03-12T00:51:00.000Z
pkmodel/tests/test_protocol.py
D-own-T-o-P-rogramme/PK_Model
a413a4c8edc2dc76513afb07b312acb34f3f6729
[ "MIT" ]
1
2021-02-07T17:07:45.000Z
2021-02-07T17:07:45.000Z
import unittest import pkmodel as pk import numpy as np class ProtocolTest(unittest.TestCase): """ Tests the :class:`Protocol` class. """ def test_create(self): """ Tests Protocol creation. """ dosing = pk.Protocol(dose_amount=10, subcutaneous=True, ...
37.443299
78
0.592786
433
3,632
4.794457
0.12933
0.216763
0.25289
0.084297
0.682563
0.546243
0.491811
0.389692
0.389692
0.371387
0
0.04918
0.294604
3,632
96
79
37.833333
0.761124
0.016244
0
0.306667
0
0
0
0
0
0
0
0
0.426667
1
0.093333
false
0
0.04
0
0.146667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
e0a4638147c0b02325927927b7b3383f43c66ea6
200
py
Python
242. Valid Anagram.py
Jorewang/LeetCode_Solutions
0c483a915e2a8b3bfc4bcb4b5a35df3dd0dbe8ba
[ "Apache-2.0" ]
2
2020-06-13T06:37:50.000Z
2020-06-13T06:37:52.000Z
242. Valid Anagram.py
Jorewang/LeetCode_Solutions
0c483a915e2a8b3bfc4bcb4b5a35df3dd0dbe8ba
[ "Apache-2.0" ]
null
null
null
242. Valid Anagram.py
Jorewang/LeetCode_Solutions
0c483a915e2a8b3bfc4bcb4b5a35df3dd0dbe8ba
[ "Apache-2.0" ]
null
null
null
from collections import Counter class Solution(object): def isAnagram(self, s, t): return Counter(s) == Counter(t) if __name__ == '__main__': print(Solution().isAnagram('a', 'b'))
18.181818
41
0.645
25
200
4.84
0.76
0
0
0
0
0
0
0
0
0
0
0
0.2
200
10
42
20
0.75625
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.666667
0.166667
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
0
1
1
0
0
3
e0dd1383c27a17a10fa6c07bc5d32a610c5ef0f5
7,279
py
Python
include/wxPython/wx/lib/iewin.py
SWEN-712/screen-reader-brandonp728
e30c25ad2d10ce632fac0548696a61a872328f59
[ "bzip2-1.0.6" ]
3
2019-10-06T15:39:39.000Z
2020-09-29T23:51:50.000Z
include/wxPython/wx/lib/iewin.py
SWEN-712/screen-reader-brandonp728
e30c25ad2d10ce632fac0548696a61a872328f59
[ "bzip2-1.0.6" ]
9
2021-03-18T23:10:27.000Z
2022-03-11T23:43:55.000Z
include/wxPython/wx/lib/iewin.py
SWEN-712/screen-reader-brandonp728
e30c25ad2d10ce632fac0548696a61a872328f59
[ "bzip2-1.0.6" ]
2
2019-03-11T05:06:49.000Z
2019-03-22T21:48:49.000Z
#---------------------------------------------------------------------- # Name: wx.lib.iewin # Purpose: A class that allows the use of the IE web browser # ActiveX control # # Author: Robin Dunn # # Created: 22-March-2004 # Copyright: (c) 2008-2018 by Total Control Software # Licence:...
29.116
89
0.634428
815
7,279
5.53865
0.310429
0.058485
0.058928
0.055826
0.192734
0.156845
0.132477
0.125388
0.108994
0.108994
0
0.018965
0.253881
7,279
249
90
29.232932
0.812189
0.161835
0
0.133758
0
0
0.026549
0.006345
0
0
0.010686
0
0
1
0.210191
false
0
0.050955
0.11465
0.509554
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e0f2446240c81c0d0ca98e32908e79ec82472a4a
4,239
py
Python
tests/unit/raptiformica/settings/load/test_try_delete_config.py
vdloo/raptiformica
e2807e5e913312034161efcbd74525a4b15b37e7
[ "MIT" ]
21
2016-09-04T11:27:31.000Z
2019-10-30T08:23:14.000Z
tests/unit/raptiformica/settings/load/test_try_delete_config.py
vdloo/raptiformica
e2807e5e913312034161efcbd74525a4b15b37e7
[ "MIT" ]
5
2017-09-17T15:59:37.000Z
2018-02-03T14:53:32.000Z
tests/unit/raptiformica/settings/load/test_try_delete_config.py
vdloo/raptiformica
e2807e5e913312034161efcbd74525a4b15b37e7
[ "MIT" ]
2
2017-11-21T18:14:51.000Z
2017-11-22T01:20:45.000Z
from urllib.error import URLError from raptiformica.settings.load import try_delete_config from tests.testcase import TestCase class TestTryDeleteConfig(TestCase): def setUp(self): self.delete = self.set_up_patch( 'raptiformica.settings.load.consul_conn.delete' ) self.mapping ...
43.255102
116
0.707242
519
4,239
5.39499
0.17341
0.156071
0.2175
0.225
0.788571
0.734286
0.698929
0.588929
0.479643
0.305714
0
0.022647
0.197924
4,239
97
117
43.701031
0.800882
0
0
0.189873
0
0
0.391366
0.353621
0
0
0
0
0.075949
1
0.088608
false
0.025316
0.037975
0
0.139241
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0f2727a5b9384a2d061b2a573aa7b49a703998c
9,744
py
Python
cellular-automata/conways-game-of-life/conways_game_of_life.py
fraserlove/python
b449259c02e73102e37a4cd42018dbcc6b04d0ba
[ "Apache-2.0" ]
16
2020-06-11T16:54:55.000Z
2022-01-07T01:36:05.000Z
cellular-automata/conways-game-of-life/conways_game_of_life.py
fraserlove/python-projects
b449259c02e73102e37a4cd42018dbcc6b04d0ba
[ "Apache-2.0" ]
null
null
null
cellular-automata/conways-game-of-life/conways_game_of_life.py
fraserlove/python-projects
b449259c02e73102e37a4cd42018dbcc6b04d0ba
[ "Apache-2.0" ]
15
2020-06-14T08:29:50.000Z
2021-08-05T17:25:42.000Z
""" Conway's Game Of Life Cellular Automaton Developed by Fraser Love on 26/09/18 Dependencies: Pygame Ran on CPU - Reccomended to use on High-Range CPU """ import pygame, sys, random from pygame.locals import * pygame.init() session = True cells_x = 70 cells_y = 40 res = 15 cell_size = 13 start_cells...
44.697248
324
0.528838
1,535
9,744
3.257329
0.088599
0.132
0.0868
0.096
0.767
0.7416
0.7054
0.6686
0.6446
0.6178
0
0.060432
0.302032
9,744
217
325
44.903226
0.674754
0.015189
0
0.56044
0
0.005495
0.012485
0
0
0
0
0
0
1
0.016484
false
0
0.010989
0
0.032967
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0fa403dac7bd4a1434305b5e31dcc3256ef37d8
1,396
py
Python
unit1_lesson_00_understanding_assert.py
arajajyothibabu/PythonLearning
53658ba3591e284733ef8a66551dadd515ab8edc
[ "MIT" ]
null
null
null
unit1_lesson_00_understanding_assert.py
arajajyothibabu/PythonLearning
53658ba3591e284733ef8a66551dadd515ab8edc
[ "MIT" ]
null
null
null
unit1_lesson_00_understanding_assert.py
arajajyothibabu/PythonLearning
53658ba3591e284733ef8a66551dadd515ab8edc
[ "MIT" ]
null
null
null
__author__ = 'Kalyan' from placeholders import * notes = ''' This lesson introduces the basic assert statement in python. assert is generally used to 'assert' the truth of an expression. It takes the form assert <expr>, <optional message>. If <expr> evaluates to False an AssertionError is raised with the <optional me...
33.238095
126
0.74212
219
1,396
4.561644
0.479452
0.07007
0.039039
0.051051
0.111111
0.048048
0.048048
0
0
0
0
0.028194
0.186963
1,396
41
127
34.04878
0.851982
0.180516
0
0
0
0.074074
0.608084
0
0
0
0
0
0.555556
1
0.222222
false
0
0.037037
0
0.259259
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
1
0
1
0
0
0
0
0
0
0
3
461b11d07620b154151375da20dff071d562d484
9,027
py
Python
tests/test_gaussian.py
function2-llx/MONAI
4cddaa830b61b88ec78e089bb5f21e05bb1a78f4
[ "Apache-2.0" ]
3
2020-06-22T20:59:14.000Z
2021-04-09T21:24:45.000Z
tests/test_gaussian.py
Borda/MONAI
e0db5a564225a7cb62e7a23df97267019006302f
[ "Apache-2.0" ]
null
null
null
tests/test_gaussian.py
Borda/MONAI
e0db5a564225a7cb62e7a23df97267019006302f
[ "Apache-2.0" ]
1
2020-05-27T12:53:58.000Z
2020-05-27T12:53:58.000Z
# Copyright (c) MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
28.657143
120
0.406115
874
9,027
4.136156
0.275744
0.035961
0.041494
0.063624
0.171508
0.141355
0.141355
0.089627
0.089627
0.061411
0
0.407163
0.495846
9,027
314
121
28.748408
0.387168
0.06115
0
0.702422
0
0
0.009097
0
0
0
0
0
0.041522
1
0.013841
false
0
0.017301
0
0.034602
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
461b4de40577a464de3ce0919870835713166688
235
py
Python
backend/studiovisit/serializers.py
visitinc/studiovisit
00845c3dede85624f102fbfbc8d90d253616938f
[ "Apache-2.0" ]
null
null
null
backend/studiovisit/serializers.py
visitinc/studiovisit
00845c3dede85624f102fbfbc8d90d253616938f
[ "Apache-2.0" ]
6
2020-02-12T00:17:17.000Z
2022-01-22T04:54:44.000Z
backend/studiovisit/serializers.py
visitinc/studiovisit
00845c3dede85624f102fbfbc8d90d253616938f
[ "Apache-2.0" ]
1
2019-06-07T20:30:32.000Z
2019-06-07T20:30:32.000Z
from .models import Practice from rest_framework import serializers from django.conf import settings class PracticeSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Practice fields = ('name')
26.111111
65
0.761702
24
235
7.416667
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.182979
235
8
66
29.375
0.927083
0
0
0
0
0
0.017021
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1caa0b4643600b9e56fc2a251c3aecb326ef149b
2,376
py
Python
tests/test_shaderlab_parser.py
andburn/chasm
ed0e2e4c27f848de2dec8707c3573d0c4301e7a9
[ "MIT" ]
1
2020-05-01T14:03:52.000Z
2020-05-01T14:03:52.000Z
tests/test_shaderlab_parser.py
andburn/chasm
ed0e2e4c27f848de2dec8707c3573d0c4301e7a9
[ "MIT" ]
null
null
null
tests/test_shaderlab_parser.py
andburn/chasm
ed0e2e4c27f848de2dec8707c3573d0c4301e7a9
[ "MIT" ]
null
null
null
import pytest import shaderlab from helper import * @pytest.fixture def basic_shader(): data = read_text_data("basic.shader") return shaderlab.parse(data) @pytest.fixture def uber_shader(): data = read_text_data("uber.shader") return shaderlab.parse(data) @pytest.fixture def stripped_shader(): data = read_te...
25.276596
63
0.764731
343
2,376
5.055394
0.163265
0.145905
0.041522
0.062284
0.737601
0.55248
0.379469
0.341407
0.175317
0.070358
0
0.01851
0.113215
2,376
93
64
25.548387
0.804461
0
0
0.15873
0
0
0.061448
0
0
0
0
0
0.47619
1
0.238095
false
0.063492
0.047619
0
0.333333
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
1
0
1
0
1
0
0
0
0
0
3
1cbe3352183da3bfd942079b06cc22509c1ab5f2
215
py
Python
events/urls.py
ricksaha2000/StayConnected
f5632cca785d8c4679a2edb8ab33d1321603c658
[ "MIT" ]
null
null
null
events/urls.py
ricksaha2000/StayConnected
f5632cca785d8c4679a2edb8ab33d1321603c658
[ "MIT" ]
5
2021-03-19T11:20:25.000Z
2022-02-10T10:32:50.000Z
events/urls.py
ricksaha2000/StayConnected
f5632cca785d8c4679a2edb8ab33d1321603c658
[ "MIT" ]
1
2020-06-07T11:08:04.000Z
2020-06-07T11:08:04.000Z
from django.conf.urls import url from .views import events_view, event_detail_view urlpatterns = [ url(r'^$', events_view, name='list'), url(r'^(?P<event_id>[\w-]+)/$', event_detail_view, name='detail'), ]
26.875
70
0.674419
32
215
4.3125
0.5625
0.144928
0.217391
0
0
0
0
0
0
0
0
0
0.130233
215
7
71
30.714286
0.737968
0
0
0
0
0
0.162791
0.106977
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1cc27ac9b31d107d07f2977431a054ee4d0f5ef6
773
py
Python
pipeline/old/genome_digester.py
EndyLab/FreeGenes
1ddfeeebd8186cd2906b9e991378aa7b17ed7146
[ "MIT" ]
1
2018-10-04T16:50:42.000Z
2018-10-04T16:50:42.000Z
pipeline/old/genome_digester.py
EndyLab/FreeGenes
1ddfeeebd8186cd2906b9e991378aa7b17ed7146
[ "MIT" ]
null
null
null
pipeline/old/genome_digester.py
EndyLab/FreeGenes
1ddfeeebd8186cd2906b9e991378aa7b17ed7146
[ "MIT" ]
null
null
null
from Bio import SeqIO import os import glob import datetime import sys import freegenes_fixer import io from config import * from Bio.SeqFeature import SeqFeature, FeatureLocation prefix_genbank = """LOCUS {} {} bp ds-DNA linear BCT {} DEFINITION {} ACCESSION . VERSION . KEYWORDS ...
18.853659
83
0.606727
88
773
5.25
0.761364
0.030303
0
0
0
0
0
0
0
0
0
0.018904
0.315653
773
40
84
19.325
0.854442
0.086675
0
0
0
0
0.614286
0
0
0
0
0
0
0
null
null
0
0.346154
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
1cce3139ddd6a24a7af9146590c6efa3e479f8d0
868
py
Python
ggpy/cruft/autocode/SamplePythonGamerStub.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/SamplePythonGamerStub.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/SamplePythonGamerStub.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module SamplePythonGamerStub """ # package: org.ggp.base.player.gamer.python.stubs import org.ggp.base.player.gamer.python.PythonGamer # # * SamplePythonGamerStub is a stub pointing to a version of @RandomGamer that # * has been implemented in Python. This stub needs t...
36.166667
80
0.726959
100
868
6.3
0.61
0.095238
0.114286
0.050794
0.174603
0.085714
0
0
0
0
0
0
0.185484
868
23
81
37.73913
0.891089
0.652074
0
0
1
0
0.109434
0
0
0
0
0
0
1
0.333333
false
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1cd5a995b6c7bb01574decd4379b476e0994f2a2
414
py
Python
Day46/Remove_Duplicates_from_string.py
tushartrip1010/100_days_code_py
ee74b429e98cdd8bdf8661cf987da67c9fee5a3e
[ "Apache-2.0" ]
null
null
null
Day46/Remove_Duplicates_from_string.py
tushartrip1010/100_days_code_py
ee74b429e98cdd8bdf8661cf987da67c9fee5a3e
[ "Apache-2.0" ]
null
null
null
Day46/Remove_Duplicates_from_string.py
tushartrip1010/100_days_code_py
ee74b429e98cdd8bdf8661cf987da67c9fee5a3e
[ "Apache-2.0" ]
null
null
null
import re def Remove_Duplicates(Test_string): Pattern = r"\b(\w+)(?:\W\1\b)+" return re.sub(Pattern, r"\1", Test_string, flags=re.IGNORECASE) Test_string1 = "Good bye bye world world" Test_string2 = "Ram went went to to his home" Test_string3 = "Hello hello world world" print(Remove_Duplicates(Te...
27.6
68
0.724638
62
414
4.645161
0.467742
0.222222
0.277778
0.260417
0
0
0
0
0
0
0
0.022792
0.152174
414
14
69
29.571429
0.797721
0
0
0
0
0
0.2375
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0.3
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ce9410f9622a88a6c295daec35f8ee416628331
194
py
Python
rafaels_pizza/blog/cms_apps.py
zerazobz/DjangoCmsDemo
7bb6866fd1d555e4aaa9ba27613460b595c1051f
[ "Apache-2.0" ]
null
null
null
rafaels_pizza/blog/cms_apps.py
zerazobz/DjangoCmsDemo
7bb6866fd1d555e4aaa9ba27613460b595c1051f
[ "Apache-2.0" ]
null
null
null
rafaels_pizza/blog/cms_apps.py
zerazobz/DjangoCmsDemo
7bb6866fd1d555e4aaa9ba27613460b595c1051f
[ "Apache-2.0" ]
null
null
null
from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool class BlogApp(CMSApp): name = "Blog" urls = ["blog.urls"] app_name = "blog" apphook_pool.register(BlogApp)
21.555556
41
0.726804
28
194
4.857143
0.5
0.242647
0
0
0
0
0
0
0
0
0
0
0.170103
194
9
42
21.555556
0.844721
0
0
0
0
0
0.087179
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ceae06a4ffe526eaef81e56bff296f759fd36ad
50
py
Python
example/__init__.py
divipayhq/drf_model_pusher
37f2d7c61839f641675da8db2bd4ec4932d4bd47
[ "MIT" ]
5
2018-07-23T00:21:29.000Z
2020-01-16T15:42:10.000Z
example/__init__.py
divipayhq/drf_model_pusher
37f2d7c61839f641675da8db2bd4ec4932d4bd47
[ "MIT" ]
39
2018-07-25T03:42:25.000Z
2021-12-20T03:51:13.000Z
example/__init__.py
divipayhq/drf_model_pusher
37f2d7c61839f641675da8db2bd4ec4932d4bd47
[ "MIT" ]
3
2018-10-02T16:29:34.000Z
2022-02-22T03:04:50.000Z
default_app_config = "example.apps.ExampleConfig"
25
49
0.84
6
50
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.06
50
1
50
50
0.851064
0
0
0
0
0
0.52
0.52
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1cf3a037a095980bdd44a7982f75b7501a7beac0
1,921
py
Python
glrm/loss.py
dataronio/GLRM
58bdb64f1aafeb06eb0a0fbf74e49138f0a19da6
[ "MIT" ]
67
2015-03-26T15:52:15.000Z
2018-09-06T17:41:25.000Z
glrm/loss.py
chrinide/GLRM
58bdb64f1aafeb06eb0a0fbf74e49138f0a19da6
[ "MIT" ]
5
2016-02-17T15:29:48.000Z
2018-08-16T20:01:00.000Z
glrm/loss.py
chrinide/GLRM
58bdb64f1aafeb06eb0a0fbf74e49138f0a19da6
[ "MIT" ]
42
2015-03-10T17:02:11.000Z
2018-10-24T19:59:38.000Z
import cvxpy as cp from numpy import ones, maximum, minimum, sign, floor, ceil """ Abstract loss class and canonical loss functions. """ # Abstract Loss class class Loss(object): def __init__(self, A): return def loss(self, A, U): raise NotImplementedError("Override me!") def encode(self, A): return A # d...
38.42
105
0.637168
311
1,921
3.800643
0.279743
0.059222
0.035533
0.060914
0.271574
0.21066
0.145516
0.145516
0.120981
0.094755
0
0.006553
0.205622
1,921
49
106
39.204082
0.768021
0.227486
0
0
0
0
0.059532
0
0
0
0
0
0
1
0.586207
false
0
0.068966
0.517241
0.896552
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e805b247ce6df01e020753cc0038fe8320ef4535
327
py
Python
pigpio/setup.py
neildavis/drv8835-motor-driver-pigpio-python
551f4bf150cb731acce56d8ec16a25a2e4be26fa
[ "MIT" ]
1
2021-02-26T14:38:40.000Z
2021-02-26T14:38:40.000Z
pigpio/setup.py
neildavis/drv8835-motor-driver-pigpio-python
551f4bf150cb731acce56d8ec16a25a2e4be26fa
[ "MIT" ]
null
null
null
pigpio/setup.py
neildavis/drv8835-motor-driver-pigpio-python
551f4bf150cb731acce56d8ec16a25a2e4be26fa
[ "MIT" ]
1
2021-08-21T14:56:41.000Z
2021-08-21T14:56:41.000Z
from distutils.core import setup setup(name='drv8835_driver_pigpio', version='1.1.2', description=('Library for the Pololu DRV8835 Dual Motor ' 'Driver Kit for Raspberry Pi using pigpio daemon'), url='http://www.pololu.com/product/2753', py_modules=['drv8835_driver_pigpio'], ...
36.333333
70
0.657492
42
327
5
0.761905
0.12381
0.180952
0
0
0
0
0
0
0
0
0.075099
0.2263
327
8
71
40.875
0.754941
0
0
0
0
0
0.519878
0.12844
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e80ff431e9713575125d2ced9c8999d93ee522fd
1,862
py
Python
spacy/tests/regression/test_issue1769.py
algteam/spacy_zh_model
0b0cba1a3964aa426e5f96087849c90e69e2a89d
[ "MIT" ]
5
2019-04-19T06:27:29.000Z
2019-12-02T13:30:47.000Z
spacy/tests/regression/test_issue1769.py
algteam/spacy_zh_model
0b0cba1a3964aa426e5f96087849c90e69e2a89d
[ "MIT" ]
null
null
null
spacy/tests/regression/test_issue1769.py
algteam/spacy_zh_model
0b0cba1a3964aa426e5f96087849c90e69e2a89d
[ "MIT" ]
2
2019-04-19T06:27:18.000Z
2019-10-04T12:39:15.000Z
# coding: utf-8 from __future__ import unicode_literals from ...util import get_lang_class from ...attrs import LIKE_NUM import pytest @pytest.mark.parametrize('word', ['eleven']) def test_en_lex_attrs(word): lang = get_lang_class('en') like_num = lang.Defaults.lex_attr_getters[LIKE_NUM] asse...
30.032258
59
0.698174
274
1,862
4.434307
0.164234
0.167078
0.126749
0.144033
0.78107
0.78107
0.78107
0.619753
0.619753
0.619753
0
0.000634
0.153061
1,862
61
60
30.52459
0.769816
0.006982
0
0.444444
0
0
0.06327
0
0
0
0
0
0.155556
1
0.155556
false
0
0.088889
0
0.244444
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e820ee1b9fa9bb0e5be23971ed6e05526caa5a70
464
py
Python
examples/shapes_from_glsl/defaults.py
szabolcsdombi/zengl
2c9c26784285f2f049fb5d6fc9da0ad65d32d52f
[ "MIT" ]
116
2021-10-31T17:24:18.000Z
2022-02-01T05:47:18.000Z
examples/shapes_from_glsl/defaults.py
szabolcsdombi/zengl
2c9c26784285f2f049fb5d6fc9da0ad65d32d52f
[ "MIT" ]
9
2021-11-12T19:21:33.000Z
2022-01-20T09:48:31.000Z
examples/shapes_from_glsl/defaults.py
szabolcsdombi/zengl
2c9c26784285f2f049fb5d6fc9da0ad65d32d52f
[ "MIT" ]
3
2021-11-12T18:55:05.000Z
2022-01-19T13:58:26.000Z
defaults = ''' const vec4 light = vec4(4.0, 3.0, 10.0, 0.0); const vec4 eye = vec4(4.0, 3.0, 2.0, 0.0); const mat4 mvp = mat4( -0.8147971034049988, -0.7172931432723999, -0.7429299354553223, -0.7427813410758972, 1.0863960981369019, -0.5379698276519775, -0.5571974515914917, -0.5570859909057617...
42.181818
91
0.648707
61
464
4.934426
0.442623
0.053156
0.039867
0.046512
0.053156
0
0
0
0
0
0
0.665775
0.193966
464
10
92
46.4
0.139037
0
0
0
0
0.2
0.961207
0.045259
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8210a650b709d429179b1c916d95d13741ca687
93,930
py
Python
tests/test_task.py
BlueBrain/data-validation-framework
4687912b1c9b5412c97a311205c81f6344d12566
[ "Apache-2.0" ]
3
2022-01-12T13:29:15.000Z
2022-01-18T16:06:48.000Z
tests/test_task.py
BlueBrain/data-validation-framework
4687912b1c9b5412c97a311205c81f6344d12566
[ "Apache-2.0" ]
8
2021-12-16T18:15:15.000Z
2022-03-17T22:33:37.000Z
tests/test_task.py
BlueBrain/data-validation-framework
4687912b1c9b5412c97a311205c81f6344d12566
[ "Apache-2.0" ]
null
null
null
"""Test the data_validation_framework.task module.""" # pylint: disable=missing-class-docstring # pylint: disable=missing-function-docstring # pylint: disable=no-self-use # pylint: disable=redefined-outer-name # pylint: disable=too-many-lines # pylint: disable=unused-argument import json import logging import re import...
37.81401
100
0.527308
9,515
93,930
4.998003
0.051918
0.036904
0.031437
0.022332
0.787892
0.747939
0.700753
0.665784
0.630562
0.612289
0
0.010294
0.361908
93,930
2,483
101
37.829239
0.783152
0.061152
0
0.565369
0
0.021457
0.142669
0.053481
0
0
0
0
0.141717
1
0.076846
false
0.021956
0.009481
0.017964
0.147206
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c27aaba87ff8f916e98642ac68d293ba3145aec
1,577
py
Python
install-appd-machine-agent.py
nvkk-devops/python-automation-scripts
8930dde979124fa8b5812e60243a25952a2c8013
[ "MIT" ]
null
null
null
install-appd-machine-agent.py
nvkk-devops/python-automation-scripts
8930dde979124fa8b5812e60243a25952a2c8013
[ "MIT" ]
null
null
null
install-appd-machine-agent.py
nvkk-devops/python-automation-scripts
8930dde979124fa8b5812e60243a25952a2c8013
[ "MIT" ]
null
null
null
import winrm import os print('\n********************************\n') print(os.environ['winrm_endpoint']) print(os.environ['domain_username']) print('\n********************************\n') s = winrm.Session(os.environ['winrm_endpoint'], auth=(os.environ['domain_username'], os.environ['domain_password']), transport='nt...
35.044444
134
0.72733
201
1,577
5.41791
0.393035
0.209366
0.117539
0.091827
0.104683
0.05877
0
0
0
0
0
0.003432
0.076094
1,577
45
135
35.044444
0.743995
0
0
0.083333
0
0
0.818124
0.413181
0
0
0
0
0
1
0
false
0.027778
0.055556
0
0.055556
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c2969c81f21d96b7a740e516fdd647185eba6a4
8,547
py
Python
tests/python/test_mpm88.py
mzmzm/taichi
39129820a922fdd936728d6feb7944ae208345a5
[ "MIT" ]
11,699
2020-01-09T03:02:46.000Z
2022-03-31T20:59:08.000Z
tests/python/test_mpm88.py
mzmzm/taichi
39129820a922fdd936728d6feb7944ae208345a5
[ "MIT" ]
3,589
2020-01-09T03:18:25.000Z
2022-03-31T19:06:42.000Z
tests/python/test_mpm88.py
mzmzm/taichi
39129820a922fdd936728d6feb7944ae208345a5
[ "MIT" ]
1,391
2020-01-09T03:02:54.000Z
2022-03-31T08:44:29.000Z
import os import pytest import taichi as ti from taichi import approx def run_mpm88_test(): dim = 2 N = 64 n_particles = N * N n_grid = 128 dx = 1 / n_grid inv_dx = 1 / dx dt = 2.0e-4 p_vol = (dx * 0.5)**2 p_rho = 1 p_mass = p_vol * p_rho E = 400 x = ti.Vector.field(...
35.46473
78
0.468234
1,386
8,547
2.744589
0.118326
0.047319
0.0347
0.040484
0.754206
0.729232
0.695058
0.663775
0.609096
0.609096
0
0.070639
0.37557
8,547
240
79
35.6125
0.642121
0.048321
0
0.742574
0
0
0.003692
0
0
0
0
0.004167
0.009901
1
0.049505
false
0
0.024752
0.00495
0.079208
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c2a807e52645ea45fee8b1da10b4b14d641fdeb
73
py
Python
openpmd_viewer/addons/pic/__init__.py
pordyna/openPMD-viewer
f7b792be58d5dca1af5b36d9875b3d7768a3617d
[ "BSD-3-Clause-LBNL" ]
51
2015-10-08T21:07:28.000Z
2022-01-31T06:16:32.000Z
openpmd_viewer/addons/pic/__init__.py
pordyna/openPMD-viewer
f7b792be58d5dca1af5b36d9875b3d7768a3617d
[ "BSD-3-Clause-LBNL" ]
239
2015-10-09T18:11:00.000Z
2022-03-31T22:45:14.000Z
openpmd_viewer/addons/pic/__init__.py
pordyna/openPMD-viewer
f7b792be58d5dca1af5b36d9875b3d7768a3617d
[ "BSD-3-Clause-LBNL" ]
40
2015-10-08T17:11:36.000Z
2022-03-30T21:21:09.000Z
from .lpa_diagnostics import LpaDiagnostics __all__ = ['LpaDiagnostics']
24.333333
43
0.821918
7
73
7.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.09589
73
2
44
36.5
0.833333
0
0
0
0
0
0.191781
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1c4177cb554a2f15962cc028608078160d73c8e5
622
py
Python
tests/test_fixtures.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
null
null
null
tests/test_fixtures.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
3
2019-01-28T16:50:27.000Z
2019-02-20T01:55:19.000Z
tests/test_fixtures.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
1
2018-06-04T10:32:05.000Z
2018-06-04T10:32:05.000Z
import pytest import omk_core as omk @pytest.fixture def tonal_tuples(): MS = [ (0, 0), (1, 2), (2, 4), (3, 5), (4, 7), (5, 9), (6,11) ] return [(x[0],(x[1]+m)%12) for m in [0,1,2,-1,-2] for x in MS] @pytest.fixture def tonal_vectors(tonal_tuple...
20.064516
73
0.585209
108
622
3.231481
0.277778
0.157593
0.183381
0.240688
0.535817
0.47851
0.47851
0.47851
0.47851
0.234957
0
0.066955
0.255627
622
30
74
20.733333
0.686825
0
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.086957
0.130435
0.434783
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
1
0
0
0
3
1c51dcf4a83bfb64408be3ad0db57c870bed455e
11,818
py
Python
nova/tests/unit/test_test.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/test_test.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/test_test.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2010 United States Government as represented by the' nl|'\n' comment|'# Administrator of the National Aeronautics and Space Administration.' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); ...
13.460137
417
0.569386
1,698
11,818
3.919317
0.141343
0.098272
0.08565
0.055898
0.669572
0.603757
0.556424
0.544252
0.534185
0.470173
0
0.003299
0.128025
11,818
877
418
13.475485
0.642504
0
0
0.889396
0
0.004561
0.721526
0.051955
0
0
0
0
0.025086
0
null
null
0.002281
0.007982
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1c5654083154bfc28d524ccd620751c609962eb0
184
py
Python
worker.py
marcolussetti/netinfo
6fcab55eaeabfd005a9192ace0c2b04122ab3df4
[ "MIT" ]
67
2018-12-26T11:10:50.000Z
2022-03-03T09:07:10.000Z
worker.py
marcolussetti/netinfo
6fcab55eaeabfd005a9192ace0c2b04122ab3df4
[ "MIT" ]
4
2019-01-02T20:01:59.000Z
2020-01-27T14:43:21.000Z
worker.py
marcolussetti/netinfo
6fcab55eaeabfd005a9192ace0c2b04122ab3df4
[ "MIT" ]
16
2018-12-26T05:01:04.000Z
2022-01-25T12:13:18.000Z
"""Run the Celery jobs.""" import os from app import celery, create_app import app.tasks flask_app = create_app(os.getenv('FLASK_CONFIG') or 'default') flask_app.app_context().push()
23
62
0.755435
30
184
4.433333
0.566667
0.135338
0
0
0
0
0
0
0
0
0
0
0.108696
184
7
63
26.285714
0.810976
0.108696
0
0
0
0
0.120253
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1c59642bff0a0e1a6c49c07d62bb1225ba15ca08
2,274
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/ARB/viewport_array.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/ARB/viewport_array.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/ARB/viewport_array.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
39.894737
115
0.824538
361
2,274
4.789474
0.296399
0.022556
0.040486
0.063621
0.330827
0.24118
0.221515
0.221515
0.18797
0.167727
0
0.022685
0.050132
2,274
56
116
40.607143
0.777778
0.043975
0
0.192308
1
0
0.142593
0.092755
0
0
0.035994
0
0
1
0.211538
false
0.192308
0.115385
0.019231
0.346154
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
1
0
1
0
0
0
0
0
3
1c6fda8d5d7c419e3bc3d82c3f8b74ecd95d5543
258
py
Python
Tasks/Community/ts_scriptExamples/simple.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
4
2019-05-27T23:36:34.000Z
2020-11-12T17:08:04.000Z
Tasks/Community/ts_scriptExamples/simple.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
12
2019-04-17T02:47:25.000Z
2021-04-02T09:15:37.000Z
Tasks/Community/ts_scriptExamples/simple.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
15
2018-04-26T05:18:12.000Z
2021-11-06T04:44:58.000Z
from datetime import datetime import sys, getopt print("[WARNING] This is a warning message") print("[ERROR] This is an error message") print("[INFO] Current time: "+ str(datetime.now())) print("Execution issue verified message") print("Finished: PASSED")
25.8
51
0.74031
36
258
5.305556
0.638889
0.188482
0
0
0
0
0
0
0
0
0
0
0.124031
258
10
52
25.8
0.845133
0
0
0
0
0
0.525097
0
0
0
0
0
0
1
0
true
0.142857
0.285714
0
0.285714
0.714286
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
1
0
3