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
0cc1d5e6248dc7e19dd87e8bcac191c25bf4beec
76
py
Python
1003.py
Mateusfmelo/Uri-Python
ca61ea23d1dbf99db3776206da91af7b054beea2
[ "MIT" ]
null
null
null
1003.py
Mateusfmelo/Uri-Python
ca61ea23d1dbf99db3776206da91af7b054beea2
[ "MIT" ]
null
null
null
1003.py
Mateusfmelo/Uri-Python
ca61ea23d1dbf99db3776206da91af7b054beea2
[ "MIT" ]
null
null
null
som = int(input()) som1 = int(input()) print('SOMA = {}'.format(som + som1))
25.333333
37
0.592105
11
76
4.090909
0.636364
0.355556
0
0
0
0
0
0
0
0
0
0.030303
0.131579
76
3
37
25.333333
0.651515
0
0
0
0
0
0.116883
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0cd4dfb0ac971a05655e57b5df6d8a937e449234
87
py
Python
pydefense/variables.py
kyongkyong2892/gameproject
a22a1f382f9bc239a872c6c999f8545a0e4c0616
[ "MIT" ]
null
null
null
pydefense/variables.py
kyongkyong2892/gameproject
a22a1f382f9bc239a872c6c999f8545a0e4c0616
[ "MIT" ]
null
null
null
pydefense/variables.py
kyongkyong2892/gameproject
a22a1f382f9bc239a872c6c999f8545a0e4c0616
[ "MIT" ]
null
null
null
screen = None class Mouse(): lx = 0 ly = 0 class Game(): scene = 'title'
9.666667
19
0.517241
12
87
3.75
0.833333
0
0
0
0
0
0
0
0
0
0
0.035088
0.344828
87
8
20
10.875
0.754386
0
0
0
0
0
0.057471
0
0
0
0
0
0
1
0
false
0
0
0
0.833333
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
0ce38487f5398c0f8e61821edd2854fa4bb4de9c
450
py
Python
subscribers/models.py
elegant-solutions/django-webstore
2c53189ea075a1d60a4d1e20a69ec8e831894068
[ "MIT" ]
1
2020-10-24T08:45:32.000Z
2020-10-24T08:45:32.000Z
subscribers/models.py
elegant-solutions/django-webstore
2c53189ea075a1d60a4d1e20a69ec8e831894068
[ "MIT" ]
14
2016-09-22T17:06:38.000Z
2016-10-12T18:25:39.000Z
subscribers/models.py
elegant-solutions/django-webstore
2c53189ea075a1d60a4d1e20a69ec8e831894068
[ "MIT" ]
3
2016-10-07T12:03:35.000Z
2021-04-17T09:24:21.000Z
from __future__ import unicode_literals from django.db import models class SignUp(models.Model): """ Stores a user's sign up information. """ email = models.EmailField() full_name = models.CharField(max_length=120, blank=False, null=True) timestamp = models.DateTimeField(auto_now_add=True, auto_now=F...
30
72
0.737778
61
450
5.163934
0.639344
0.088889
0.146032
0.165079
0.184127
0
0
0
0
0
0
0.007979
0.164444
450
14
73
32.142857
0.829787
0.08
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
0cee2521c56394d559e13331be5c21b49e64bcb5
811
py
Python
networks/img_encoder_and_grasp_predictor.py
nabil97-anouar/Roboticgrasping
22c3c518bf2106c9ea744e4e148e2873a45e1c5b
[ "MIT" ]
9
2021-03-20T18:17:47.000Z
2022-03-21T07:35:50.000Z
networks/img_encoder_and_grasp_predictor.py
nabil97-anouar/Roboticgrasping
22c3c518bf2106c9ea744e4e148e2873a45e1c5b
[ "MIT" ]
2
2021-11-16T13:20:15.000Z
2022-03-16T07:59:11.000Z
networks/img_encoder_and_grasp_predictor.py
nabil97-anouar/Roboticgrasping
22c3c518bf2106c9ea744e4e148e2873a45e1c5b
[ "MIT" ]
2
2021-03-20T18:22:59.000Z
2021-03-23T10:45:44.000Z
import torch.nn as nn from .networks import NetworkBase import torchvision class Network(NetworkBase): def __init__(self, output_dim=7): super(Network, self).__init__() self.model = torchvision.models.resnet50(pretrained=True) self.model.fc = nn.Linear(2048, output_dim) self.name =...
31.192308
65
0.625154
113
811
4.336283
0.433628
0.220408
0.204082
0.202041
0
0
0
0
0
0
0
0.024793
0.254007
811
25
66
32.44
0.785124
0
0
0
0
0
0.040691
0.040691
0
0
0
0
0
1
0.090909
false
0
0.136364
0
0.318182
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
0b93ebe30ca39df068a83f0c6f92b538b78b1780
1,200
py
Python
problems/design/Solution981.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/design/Solution981.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/design/Solution981.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Create a timebased key-value store class TimeMap, that supports two operations. 1. set(string key, string value, int timestamp) Stores the key and value, along with the given timestamp. 2. get(string key, int timestamp) Returns a value such that set(key, value, timestamp_prev) was called previously, w...
48
161
0.641667
187
1,200
4.101604
0.342246
0.026076
0.041721
0.046936
0
0
0
0
0
0
0
0.028777
0.189167
1,200
24
162
50
0.759507
0.919167
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
0ba97545a7b88efc8e8a3488a3b37507980a1ce0
988
py
Python
src/abaqus/Amplitude/ConstrainedSketchGeometryArray.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Amplitude/ConstrainedSketchGeometryArray.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Amplitude/ConstrainedSketchGeometryArray.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from abaqusConstants import * class ConstrainedSketchGeometryArray: """The ConstrainedSketchGeometryArray is a sequence of ConstrainedSketchGeometry objects. Notes ----- This object can be accessed by: .. code-block:: python import sketch mdb.models[name].sketches[na...
28.228571
101
0.620445
101
988
6.069307
0.623762
0.029364
0.035889
0
0
0
0
0
0
0
0
0
0.307692
988
34
102
29.058824
0.896199
0.672065
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0.25
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
0bad7a67574a7e7f1e7a70540b3a15214c61475a
1,749
py
Python
arcpyext/conversion/ToCsv.py
PeterReyne/arcpyext
9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3
[ "BSD-3-Clause" ]
11
2015-05-01T04:08:30.000Z
2019-09-21T05:00:58.000Z
arcpyext/conversion/ToCsv.py
PeterReyne/arcpyext
9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3
[ "BSD-3-Clause" ]
14
2015-06-23T02:46:44.000Z
2019-10-11T00:46:11.000Z
arcpyext/conversion/ToCsv.py
PeterReyne/arcpyext
9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3
[ "BSD-3-Clause" ]
9
2015-02-27T05:25:42.000Z
2020-01-19T05:43:14.000Z
# coding=utf-8 """Class for commonalities in the conversion process.""" # Python 2/3 compatibility # pylint: disable=wildcard-import,unused-wildcard-import,wrong-import-order,wrong-import-position from __future__ import (absolute_import, division, print_function, unicode_literals) from future.builtins.disabled import ...
34.294118
103
0.718125
218
1,749
5.412844
0.334862
0.061017
0.099153
0.114407
0.470339
0.470339
0.470339
0.470339
0.470339
0.429661
0
0.002183
0.214408
1,749
51
104
34.294118
0.856623
0.222985
0
0.12
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.36
0.16
0.72
0.04
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
e7e498dc5331a2b8abac2ab56862e023efe85c0c
327
py
Python
zkay/my_logging/__init__.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
zkay/my_logging/__init__.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
zkay/my_logging/__init__.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
""" This package contains logging functionality. ========== Submodules ========== * :py:mod:`.log_context`: Context manager for managing log contexts. * :py:mod:`.logger`: Log writer """ from zkay.my_logging.logger import data, shutdown, prepare_logger, get_log_file from logging import critical, error, warning, info,...
25.153846
79
0.718654
42
327
5.47619
0.714286
0.043478
0
0
0
0
0
0
0
0
0
0
0.119266
327
12
80
27.25
0.798611
0.547401
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
e7f038589589bc75598299ece73cf264fedf5bff
807
py
Python
code/_run_MEL_with_NER_Sampling.py
sandaruSen/MEL-TNNT
c00b79a3bdb1687a21fd19bda1685e4cf7f4ae79
[ "MIT" ]
null
null
null
code/_run_MEL_with_NER_Sampling.py
sandaruSen/MEL-TNNT
c00b79a3bdb1687a21fd19bda1685e4cf7f4ae79
[ "MIT" ]
null
null
null
code/_run_MEL_with_NER_Sampling.py
sandaruSen/MEL-TNNT
c00b79a3bdb1687a21fd19bda1685e4cf7f4ae79
[ "MIT" ]
null
null
null
'''' @script: MEL with NLP-NER Toolkit (Sampling). @author: Sergio. @summary: runs the NLP-NER toolkit over a random sample of various docs. datasets stored on CouchDB. @project: AGRIF. # History Update: # 2021-01-05: creation. ''' # =================================================================================...
29.888889
100
0.462206
72
807
5.138889
0.708333
0.032432
0.07027
0
0
0
0
0
0
0
0
0.020548
0.095415
807
26
101
31.038462
0.486301
0.799257
0
0
0
0
0.127517
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e7f85cb9c24cf0a0bf27ffdbfe2803eac48ed786
160
py
Python
venv/Lib/site-packages/uiutil/helper/event.py
avim2809/CameraSiteBlocker
bfc0434e75e8f3f95c459a4adc86b7673200816e
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/uiutil/helper/event.py
avim2809/CameraSiteBlocker
bfc0434e75e8f3f95c459a4adc86b7673200816e
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/uiutil/helper/event.py
avim2809/CameraSiteBlocker
bfc0434e75e8f3f95c459a4adc86b7673200816e
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 def bind_events(control, events, function): for event in events: control.bind(event, function)
16
37
0.54375
17
160
5.058824
0.647059
0.302326
0
0
0
0
0
0
0
0
0
0.01
0.375
160
9
38
17.777778
0.85
0.09375
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
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
f00118d0be7b7c3d89480e2d27899a9e2250a5df
581
py
Python
MaximumProductOfThreeNumbers/MaximumProductOfThreeNumbers.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
MaximumProductOfThreeNumbers/MaximumProductOfThreeNumbers.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
MaximumProductOfThreeNumbers/MaximumProductOfThreeNumbers.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
class Solution: def maximumProduct(self, nums): nums.sort() res1 = nums[-1] * nums[-2] * nums[-3] res2 = nums[-1] * nums[0] * nums[1] res = max(res1, res2) return res input = [1, 2, 3, 4] assert Solution().maximumProduct(input) == 24 input = [1, 2, 3] assert Solution().max...
25.26087
47
0.578313
83
581
4.048193
0.349398
0.208333
0.416667
0.491071
0.059524
0
0
0
0
0
0
0.108647
0.223752
581
22
48
26.409091
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.294118
1
0.058824
false
0
0
0
0.176471
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
f011d68853d1e842b1bc5dd952fee3e2ed0c6d5a
85
py
Python
rinno_material/__init__.py
axeliodiaz/rinno_material
38d7a3b2a0aec989f6c6ee83300539b8cfc6208d
[ "BSD-3-Clause" ]
null
null
null
rinno_material/__init__.py
axeliodiaz/rinno_material
38d7a3b2a0aec989f6c6ee83300539b8cfc6208d
[ "BSD-3-Clause" ]
null
null
null
rinno_material/__init__.py
axeliodiaz/rinno_material
38d7a3b2a0aec989f6c6ee83300539b8cfc6208d
[ "BSD-3-Clause" ]
null
null
null
default_app_config = 'rinno_material.apps.RinnoMaterialConfig' __version__ = '0.1.0'
28.333333
62
0.811765
11
85
5.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0.037975
0.070588
85
2
63
42.5
0.746835
0
0
0
0
0
0.517647
0.458824
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
f026bdddad34624248395ecba8bcd6fec43e19ca
401
py
Python
driver.py
purin52002/RepeatColab
664317bf1f49c8d2e023a5d665e7d0de8178d683
[ "MIT" ]
null
null
null
driver.py
purin52002/RepeatColab
664317bf1f49c8d2e023a5d665e7d0de8178d683
[ "MIT" ]
null
null
null
driver.py
purin52002/RepeatColab
664317bf1f49c8d2e023a5d665e7d0de8178d683
[ "MIT" ]
1
2020-01-18T03:30:27.000Z
2020-01-18T03:30:27.000Z
from selenium import webdriver import config def init_driver() -> webdriver.Chrome: options = webdriver.ChromeOptions() options.add_argument(f'--user-data-dir={config.UserPlofile.dir_path}') # options.add_argument('--headless') # options.add_argument('--no-sandbox') # options.add_argument('--disab...
30.846154
74
0.72818
47
401
6.085106
0.595745
0.13986
0.251748
0
0
0
0
0
0
0
0
0
0.124688
401
12
75
33.416667
0.814815
0.296758
0
0
0
0
0.205036
0.161871
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f06094e8bdd527462657b8cd99989dacdd98f50a
1,550
py
Python
ai_transformersx/examples/tasks/sentiment/sentiment_task.py
aicanhelp/ai-transformers
fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1
[ "MIT" ]
1
2020-08-03T12:59:20.000Z
2020-08-03T12:59:20.000Z
ai_transformersx/examples/tasks/sentiment/sentiment_task.py
aicanhelp/ai-transformers
fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1
[ "MIT" ]
null
null
null
ai_transformersx/examples/tasks/sentiment/sentiment_task.py
aicanhelp/ai-transformers
fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1
[ "MIT" ]
null
null
null
import pandas as pd from ai_transformersx.task.fast_tasks import TransformersFastClsTask, FastTaskArguments from ..task_base import * class SentimentDataProcessor(DataProcessor): def __init__(self, config: DataArguments): self._config = config def _get_example(self, file_name, type): pd_all ...
31
113
0.652258
181
1,550
5.248619
0.403315
0.052632
0.034737
0.053684
0.136842
0.136842
0.069474
0.069474
0
0
0
0.005917
0.236774
1,550
49
114
31.632653
0.797126
0
0
0
0
0
0.051613
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.151515
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
b2b4e0d64cd97f1d57cee4e9254e15b585d90fda
563
py
Python
Data/grid_drawing.py
duganwdobbs/BinaLab-DisCountNet
2406a6e9bf9f6a8b881d33ac978d48a3efb78f99
[ "MIT" ]
null
null
null
Data/grid_drawing.py
duganwdobbs/BinaLab-DisCountNet
2406a6e9bf9f6a8b881d33ac978d48a3efb78f99
[ "MIT" ]
null
null
null
Data/grid_drawing.py
duganwdobbs/BinaLab-DisCountNet
2406a6e9bf9f6a8b881d33ac978d48a3efb78f99
[ "MIT" ]
1
2021-04-30T16:48:50.000Z
2021-04-30T16:48:50.000Z
import cv2 import sys def draw_grid(file,every_n,color=(255,0,0)): img = cv2.imread(file) img = cv2.resize(img,(2048,1536)) img[every_n-1:-1:every_n] = color img[:,every_n-1:-1:every_n] = color img[every_n::every_n] = color img[:,every_n::every_n] = color img[every_n+1::every_n] = color img[:,every_...
22.52
53
0.653641
102
563
3.343137
0.303922
0.26393
0.225806
0.205279
0.469208
0.369501
0.369501
0.369501
0.369501
0.369501
0
0.055901
0.142096
563
24
54
23.458333
0.650104
0
0
0
0
0
0.069272
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0.055556
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
b2c7143035f265b033aa1393ae050583f7b70236
1,086
py
Python
samples/vsphere/common/id_generator.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
589
2017-03-09T19:01:22.000Z
2022-03-23T08:18:32.000Z
samples/vsphere/common/id_generator.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
244
2017-03-09T19:37:36.000Z
2022-03-29T07:14:21.000Z
samples/vsphere/common/id_generator.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
304
2017-03-09T19:15:01.000Z
2022-03-31T04:26:59.000Z
""" * ******************************************************* * Copyright (c) VMware, Inc. 2013. All Rights Reserved. * SPDX-License-Identifier: MIT * ******************************************************* * * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, WHETHER O...
24.681818
81
0.660221
128
1,086
5.382813
0.578125
0.101597
0.087083
0.069666
0
0
0
0
0
0
0
0.011866
0.146409
1,086
43
82
25.255814
0.731392
0.497238
0
0
0
0
0.144981
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0.176471
0.588235
0.176471
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
b2c983a0535181a4514a0b87623f2cc80a0c8295
419
py
Python
branchdb/engines/slugs.py
CalgaryMichael/branchdb-python
77b467105cdcaa7346c19c3882f05d85bc238268
[ "MIT" ]
null
null
null
branchdb/engines/slugs.py
CalgaryMichael/branchdb-python
77b467105cdcaa7346c19c3882f05d85bc238268
[ "MIT" ]
null
null
null
branchdb/engines/slugs.py
CalgaryMichael/branchdb-python
77b467105cdcaa7346c19c3882f05d85bc238268
[ "MIT" ]
null
null
null
# coding=utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals class SlugRegistry(object): POSTGRESQL = "postgres" def register(self, slug, value): if hasattr(self, slug): raise ValueError...
23.277778
63
0.72315
48
419
5.916667
0.645833
0.140845
0.225352
0
0
0
0
0
0
0
0
0.002976
0.198091
419
17
64
24.647059
0.842262
0.02864
0
0
0
0
0.096296
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0.090909
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
b2cdeb65b9352de6235b8614b5b10833857372a1
284
py
Python
kubernetes_typed/client/models/v1_object_field_selector.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/v1_object_field_selector.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/v1_object_field_selector.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """V1ObjectFieldSelectorDict generated type.""" from typing import TypedDict V1ObjectFieldSelectorDict = TypedDict( "V1ObjectFieldSelectorDict", { "apiVersion": str, "fieldPath": str, }, total=False, )
21.846154
48
0.679577
23
284
8.391304
0.782609
0.352332
0
0
0
0
0
0
0
0
0
0.013393
0.211268
284
12
49
23.666667
0.848214
0.31338
0
0
1
0
0.232804
0.132275
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2e388a0214c25f8eaedd4b893e2d94b51e9fee0
1,264
py
Python
stylo/domain/transform/shear.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
stylo/domain/transform/shear.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
stylo/domain/transform/shear.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
from stylo.domain.helpers import PolarConversion from stylo.domain.transform import RealDomainTransform, define_transform class HorizontalShear(PolarConversion, RealDomainTransform): """A horizontal shear transform.""" def __init__(self, domain, k=0): super().__init__(domain) self.k = -k ...
22.981818
72
0.637658
154
1,264
5.006494
0.214286
0.103761
0.088197
0.054475
0.319066
0.274968
0.274968
0.274968
0.274968
0.274968
0
0.002112
0.250791
1,264
54
73
23.407407
0.812038
0.045095
0
0.5
0
0
0.0301
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.1875
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b2ef8adb585166361da0af901c85f487125afb13
6,327
py
Python
hood/migrations/0001_initial.py
virginiah894/Hood-alert
9c00ca7e4bec3d8c46ff4b9b74f2f770f1c60873
[ "MIT" ]
1
2020-03-10T18:01:51.000Z
2020-03-10T18:01:51.000Z
hood/migrations/0001_initial.py
virginiah894/Hood-alert
9c00ca7e4bec3d8c46ff4b9b74f2f770f1c60873
[ "MIT" ]
4
2020-06-06T01:09:13.000Z
2021-09-08T01:36:28.000Z
hood/migrations/0001_initial.py
virginiah894/Hood-alert
9c00ca7e4bec3d8c46ff4b9b74f2f770f1c60873
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2020-01-19 15:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
44.556338
145
0.572151
612
6,327
5.76634
0.168301
0.051006
0.08161
0.108813
0.755171
0.724285
0.676962
0.645509
0.612922
0.612922
0
0.015729
0.28655
6,327
141
146
44.87234
0.766061
0.006796
0
0.664179
1
0
0.092327
0
0
0
0
0
0
1
0
false
0
0.022388
0
0.052239
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2f058c5d9a079d1fb7c5b3aad7fb4caf4cc6cc6
1,075
py
Python
clock_temp.py
terean-dspd/old-fashioned-digital-clock
be66a3447f68584027d0d81e682f3ac2c1c01e12
[ "MIT" ]
null
null
null
clock_temp.py
terean-dspd/old-fashioned-digital-clock
be66a3447f68584027d0d81e682f3ac2c1c01e12
[ "MIT" ]
null
null
null
clock_temp.py
terean-dspd/old-fashioned-digital-clock
be66a3447f68584027d0d81e682f3ac2c1c01e12
[ "MIT" ]
1
2020-10-06T12:57:04.000Z
2020-10-06T12:57:04.000Z
import datetime import time from data_models import DIGITS, SEPAR from generators import colorizer, counter from utils import print_time, screen_cleaner def main(): current_digits = [] cntr = counter(5) color = colorizer(10) blinker = False while True: current_time = datetim...
30.714286
66
0.644651
129
1,075
5.131783
0.348837
0.216012
0.229607
0.226586
0.438066
0.438066
0.438066
0.202417
0.202417
0.202417
0
0.014706
0.24093
1,075
34
67
31.617647
0.796569
0
0
0.137931
0
0
0.013449
0
0
0
0
0
0
1
0.034483
false
0
0.172414
0
0.206897
0.068966
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
b2f2e0823cc0334f3858de75e113f11fcd025ae3
2,469
py
Python
aiida/orm/data/numeric.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
1
2019-04-29T12:39:31.000Z
2019-04-29T12:39:31.000Z
aiida/orm/data/numeric.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
null
null
null
aiida/orm/data/numeric.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
26.548387
78
0.556096
268
2,469
4.742537
0.328358
0.155783
0.141621
0.119591
0.438238
0.38631
0.340677
0.340677
0
0
0
0.000577
0.298501
2,469
93
79
26.548387
0.733256
0.230458
0
0.283333
0
0
0
0
0
0
0
0
0.016667
1
0.316667
false
0
0.033333
0.25
0.683333
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
6529b0c3f5c9a206d18d04f90dc8ccfb9ca212af
970
py
Python
backups_operator/servers/admin.py
jetchirag/backops
777e8d3b3b89afdc0482f71f1ecc499036c62968
[ "MIT" ]
null
null
null
backups_operator/servers/admin.py
jetchirag/backops
777e8d3b3b89afdc0482f71f1ecc499036c62968
[ "MIT" ]
null
null
null
backups_operator/servers/admin.py
jetchirag/backops
777e8d3b3b89afdc0482f71f1ecc499036c62968
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth import admin as auth_admin from backups_operator.servers.models import Server, AuthData admin.site.register(Server) admin.site.register(AuthData) # @admin.register(Server) # class ServerAdmin(admin): # pass # form = UserChangeForm # add_form = Us...
28.529412
76
0.501031
79
970
5.962025
0.594937
0.042463
0.072187
0
0
0
0
0
0
0
0
0
0.340206
970
33
77
29.393939
0.735938
0.648454
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
652a04f72e6156dbc45d101d2a86e4bc85847ef5
151
py
Python
Hackerrank/extra-long-factorials.py
paipradeep/Hacktoberfest
663faf36afc5a3cf4c76c6b3fc9998a8128bbe9b
[ "MIT" ]
null
null
null
Hackerrank/extra-long-factorials.py
paipradeep/Hacktoberfest
663faf36afc5a3cf4c76c6b3fc9998a8128bbe9b
[ "MIT" ]
null
null
null
Hackerrank/extra-long-factorials.py
paipradeep/Hacktoberfest
663faf36afc5a3cf4c76c6b3fc9998a8128bbe9b
[ "MIT" ]
null
null
null
#!/bin/python import sys def factorial(n): if n==1: return n return n*factorial(n-1) n = int(raw_input().strip()) print(factorial(n))
15.1
28
0.615894
25
151
3.68
0.6
0.326087
0
0
0
0
0
0
0
0
0
0.016807
0.211921
151
10
29
15.1
0.756303
0.07947
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6533d3ac3dfc1cdedb31606fddd24255ff111fb3
1,723
py
Python
assertion.py
Yalfoosh/-BSc-Teeth-detection-and-classification
a945d5f146a247bb8a91bb8210f7cffac46123bb
[ "Apache-2.0" ]
null
null
null
assertion.py
Yalfoosh/-BSc-Teeth-detection-and-classification
a945d5f146a247bb8a91bb8210f7cffac46123bb
[ "Apache-2.0" ]
null
null
null
assertion.py
Yalfoosh/-BSc-Teeth-detection-and-classification
a945d5f146a247bb8a91bb8210f7cffac46123bb
[ "Apache-2.0" ]
null
null
null
import os from typing import Type, Tuple from util import endswith_in from values import Image # region Type Validity def assert_valid_type(polled_object, supposed_type: Type): assert isinstance(polled_object, supposed_type), "Object {} is not of type {}!".format(polled_object, supposed_type) # endre...
26.507692
121
0.689495
233
1,723
4.905579
0.257511
0.070866
0.061242
0.062992
0.180227
0.180227
0.129484
0.129484
0.129484
0.129484
0
0.002849
0.185142
1,723
64
122
26.921875
0.811254
0.053976
0
0.083333
0
0
0.197411
0
0
0
0
0
0.75
1
0.375
false
0
0.166667
0
0.541667
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
0
0
0
1
0
0
3
6535b24b1e351976453ac6b2aa4cf65152b80832
1,980
py
Python
packages/pywst/pywst/booster_mip/models/ampl/booster_limit_solution.py
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
3
2019-06-10T18:04:14.000Z
2020-12-05T18:11:40.000Z
packages/pywst/pywst/booster_mip/models/ampl/booster_limit_solution.py
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
null
null
null
packages/pywst/pywst/booster_mip/models/ampl/booster_limit_solution.py
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
2
2020-09-24T19:04:14.000Z
2020-12-05T18:11:43.000Z
def create_solution_script(results_filename, objective_type): script = """ #Print the results to a yaml file printf '"solve_result_num": %q\\n', solve_result_num >> """+results_filename+"""; printf '"solve_result": %q\\n', solve_result >> """+results_filename+"""; printf '"solve_exitcode": %q\\n', solve_exitco...
45
246
0.643434
287
1,980
4.160279
0.278746
0.226131
0.175879
0.073702
0.345059
0.30402
0.164992
0.164992
0.126466
0.126466
0
0.00644
0.137374
1,980
43
247
46.046512
0.692623
0
0
0.275
0
0.075
0.674078
0.182415
0
0
0
0
0
1
0.025
false
0
0
0
0.05
0.425
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
653d60dafa672f38a8b5e153e0a42824fc6393fc
278
py
Python
regression/visualise.py
cseas/ml101
9ee0d9b4f0b89ad420ab87b7940662f4bf5d0b85
[ "MIT" ]
null
null
null
regression/visualise.py
cseas/ml101
9ee0d9b4f0b89ad420ab87b7940662f4bf5d0b85
[ "MIT" ]
null
null
null
regression/visualise.py
cseas/ml101
9ee0d9b4f0b89ad420ab87b7940662f4bf5d0b85
[ "MIT" ]
1
2019-04-28T10:36:29.000Z
2019-04-28T10:36:29.000Z
import matplotlib.pyplot as plt X = [1.47, 1.50, 1.52, 1.55, 1.57, 1.60, 1.63, 1.65, 1.68, 1.70, 1.73, 1.75, 1.78, 1.80, 1.83, 1.82] Y = [52.21, 53.12, 54.48, 55.84, 57.20, 58.57, 59.93, 61.29, 63.11, 64.47, 66.28, 68.10, 69.92, 72.19, 74.46, 58] plt.scatter(X, Y) plt.show()
34.75
113
0.568345
76
278
2.078947
0.644737
0
0
0
0
0
0
0
0
0
0
0.472103
0.161871
278
8
114
34.75
0.206009
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
65415541927f73f6c6dc3f4ec913c24b13868248
805
py
Python
deepx/keras/wrapper.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
74
2015-11-13T02:26:37.000Z
2021-07-29T11:00:45.000Z
deepx/keras/wrapper.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
21
2015-12-12T20:33:55.000Z
2019-04-03T02:49:42.000Z
deepx/keras/wrapper.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
19
2015-11-23T10:07:01.000Z
2021-08-30T17:06:00.000Z
from deepx.backend import T from deepx.core import Layer class KerasLayer(Layer): name_counter = 0 def __init__(self, layer): super(KerasLayer, self).__init__() self.layer = layer def setstate(this, state): print(state) super(self.layer.__class__, this).__setst...
25.15625
79
0.640994
95
805
5.042105
0.389474
0.150313
0.05428
0
0
0
0
0
0
0
0
0.003356
0.259627
805
31
80
25.967742
0.800336
0
0
0
0
0
0.001242
0
0
0
0
0
0
1
0.304348
false
0
0.086957
0.173913
0.652174
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e8f08ccf526526a3cac0f2cdd4ee1c56002819a3
1,370
py
Python
data/netin_rg.py
Kiny-Kiny/TelegramBrazilianDoxxing
b83bd745c83e16beae73f8ed92387a1335a4d795
[ "Apache-2.0" ]
1
2022-03-24T01:48:42.000Z
2022-03-24T01:48:42.000Z
data/netin_rg.py
Kiny-Kiny/TelegramBrazilianDoxxing
b83bd745c83e16beae73f8ed92387a1335a4d795
[ "Apache-2.0" ]
null
null
null
data/netin_rg.py
Kiny-Kiny/TelegramBrazilianDoxxing
b83bd745c83e16beae73f8ed92387a1335a4d795
[ "Apache-2.0" ]
2
2022-03-23T20:22:16.000Z
2022-03-28T03:58:10.000Z
def consulta(message): dados = {} ################ dados['dadosPessoais'] = { 'nome': message.split('NOME: ')[1].split('\n')[0], 'nascimento': message.split('NASCIMENTO: ')[1].split('\n')[0], 'sexo': message.split('SEXO: ')[1].split('\n')[0], 'cpf': message.split('CPF: ')[1]....
45.666667
97
0.50073
167
1,370
4.125749
0.245509
0.313498
0.182874
0.208999
0.133527
0
0
0
0
0
0
0.03252
0.191971
1,370
29
98
47.241379
0.587173
0
0
0
0
0
0.263079
0.015695
0
0
0
0
0
1
0.037037
false
0
0
0
0.074074
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
331782f5baffa667005f00dc0e46aa6c523d6aeb
268
py
Python
sources/metrics.py
mocurin/itis-lab-01
29c32a348600d8580684aa026b4f92a93244304b
[ "MIT" ]
null
null
null
sources/metrics.py
mocurin/itis-lab-01
29c32a348600d8580684aa026b4f92a93244304b
[ "MIT" ]
null
null
null
sources/metrics.py
mocurin/itis-lab-01
29c32a348600d8580684aa026b4f92a93244304b
[ "MIT" ]
null
null
null
"""Common metric functions package""" from typing import Any, Callable, List # Type hinting Metric = Callable[[List[float], List[int]], Any] def hamming(result: List[float], target: List[float]) -> float: return sum(abs(x - y) for x, y in zip(result, target))
24.363636
63
0.686567
40
268
4.6
0.65
0.146739
0
0
0
0
0
0
0
0
0
0
0.160448
268
10
64
26.8
0.817778
0.16791
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
331c8fcf2fe7f7ed80ab19f8f7a20d2b261dac02
951
py
Python
models/response.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
models/response.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
models/response.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
def ResponseModel(data, message): return { "data": [ data ], "code": 200, "message": message, } def CommentResposeModel(comment): return { "comment": comment } def SuccessResponseModel(status, code, message): return { "status": status, ...
19.408163
48
0.522608
80
951
6.2125
0.225
0.221328
0.171026
0.221328
0.492958
0.442656
0.442656
0.362173
0.362173
0.362173
0
0.004831
0.347003
951
49
49
19.408163
0.795491
0
0
0.511628
0
0
0.117647
0
0
0
0
0
0
1
0.162791
false
0
0
0.162791
0.325581
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
331eccf08ee4b39e643044df340d75b7db761ff0
538
py
Python
wcics/server/routes/main/news.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
wcics/server/routes/main/news.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
6
2019-12-06T18:06:28.000Z
2021-12-01T20:19:05.000Z
wcics/server/routes/main/news.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from wcics import app from wcics.auth.manage_user import organization_page from wcics.database.models import News, Organizations from wcics.utils.url import get_org_id from flask import render_template @app.route("/news/<nid>") def serve_main_news(nid): return serve_news("main", nid) @a...
26.9
130
0.745353
83
538
4.638554
0.481928
0.093506
0.041558
0
0
0
0
0
0
0
0
0.008368
0.111524
538
20
130
26.9
0.797071
0.039033
0
0
0
0
0.114341
0.05814
0
0
0
0
0
1
0.166667
false
0
0.416667
0.166667
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
3333c97e4227a0f63388e6e458b9f10934cb96a5
151
py
Python
app-django-demo/mysite/personal/urls.py
Xingkai98/AntiqueID-1
0daf9ebcdbc59182e5e11a845546f29a289a7c34
[ "MIT" ]
6
2018-09-20T03:39:15.000Z
2021-02-23T06:20:51.000Z
app-django-demo/mysite/personal/urls.py
Xingkai98/AntiqueID-1
0daf9ebcdbc59182e5e11a845546f29a289a7c34
[ "MIT" ]
3
2018-11-03T09:55:38.000Z
2018-12-16T13:34:05.000Z
app-django-demo/mysite/personal/urls.py
Xingkai98/AntiqueID-1
0daf9ebcdbc59182e5e11a845546f29a289a7c34
[ "MIT" ]
2
2018-09-20T03:39:16.000Z
2019-10-21T04:27:58.000Z
from django.conf.urls import url, include from . import views from django.urls import path urlpatterns = [ path('', views.home, name = 'home'), ]
18.875
41
0.695364
21
151
5
0.571429
0.190476
0
0
0
0
0
0
0
0
0
0
0.178808
151
7
42
21.571429
0.846774
0
0
0
0
0
0.02649
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
333aa31876e1919c8e4218a2d438ab4dc0baff81
655
py
Python
DryveBackend/location.py
AHS-Open-Sorcery/Dryve
0c9ca57ef698acbe65a4f9b5f7ed2c563765ab63
[ "MIT" ]
1
2019-07-17T13:12:33.000Z
2019-07-17T13:12:33.000Z
DryveBackend/location.py
AHS-Open-Sorcery/Dryve
0c9ca57ef698acbe65a4f9b5f7ed2c563765ab63
[ "MIT" ]
null
null
null
DryveBackend/location.py
AHS-Open-Sorcery/Dryve
0c9ca57ef698acbe65a4f9b5f7ed2c563765ab63
[ "MIT" ]
null
null
null
from math import hypot class Location: geocode: dict lat: float long: float place_id: str def __init__(self, geocode: dict): self.geocode = geocode self.lat = geocode["geometry"]["location"]["lat"] self.long = geocode["geometry"]["location"]["lng"] self.place_id = ...
24.259259
73
0.624427
83
655
4.783133
0.373494
0.110831
0.115869
0.105793
0
0
0
0
0
0
0
0.006135
0.253435
655
27
74
24.259259
0.805726
0
0
0
0
0
0.096037
0
0
0
0
0
0
1
0.25
false
0
0.05
0.2
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
334b2e3818c893a824c7575bed3fa9c5fa947da8
175
py
Python
problem0293.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0293.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0293.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #293 Pseudo-Fortunate Numbers - Project Euler # https://projecteuler.net/problem=293 # # Code by Kevin Marciniak # ###########################
19.444444
47
0.497143
15
175
5.8
0.933333
0
0
0
0
0
0
0
0
0
0
0.038462
0.108571
175
8
48
21.875
0.519231
0.6
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
33552aecca157fd5199a0c0e774fc09d5c107162
3,523
py
Python
lib/kleros.py
shenwilly/Kleros-Monitor-Bot
2d8c0eaaab49e49f2dda8823f2173da51682981b
[ "MIT" ]
null
null
null
lib/kleros.py
shenwilly/Kleros-Monitor-Bot
2d8c0eaaab49e49f2dda8823f2173da51682981b
[ "MIT" ]
null
null
null
lib/kleros.py
shenwilly/Kleros-Monitor-Bot
2d8c0eaaab49e49f2dda8823f2173da51682981b
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from flask import Flask from flask_sqlalchemy import SQLAlchemy import statistics app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///kleros.db' db = SQLAlchemy(app) class Kleroscan(db.Model): id = db.Column(db.Integer, primary_key=True) option = db.Column(db.String) ...
33.875
125
0.667045
483
3,523
4.718427
0.233954
0.161474
0.201843
0.238701
0.371654
0.269855
0.225099
0.147433
0.147433
0.147433
0
0.000716
0.207494
3,523
103
126
34.203884
0.815544
0.004825
0
0.104651
0
0
0.035378
0.006562
0
0
0
0
0
1
0.034884
false
0
0.034884
0
0.72093
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
681ee5e682ff4b64d648a5df663fae91fb10c3a7
917
py
Python
server/data_layer/repositories.py
GOFCROW/project_manager_server
96452aa9a698a44e7e48d3f260fa0533ca4373e5
[ "0BSD" ]
1
2017-10-07T22:55:25.000Z
2017-10-07T22:55:25.000Z
server/data_layer/repositories.py
GOFCROW/project_manager_server
96452aa9a698a44e7e48d3f260fa0533ca4373e5
[ "0BSD" ]
null
null
null
server/data_layer/repositories.py
GOFCROW/project_manager_server
96452aa9a698a44e7e48d3f260fa0533ca4373e5
[ "0BSD" ]
null
null
null
from sqlalchemy.orm import joinedload from .models import ( Developer, Project ) class Repository: def __init__(self, entity, db): self.entity = entity self.db = db def find(self, id_): return self.db.query(self.entity).get(id_) def all(self): return self.db.query...
21.833333
50
0.592148
104
917
5.009615
0.288462
0.103647
0.092131
0.130518
0.357006
0.357006
0.285988
0.111324
0
0
0
0
0.281352
917
41
51
22.365854
0.790592
0
0
0.233333
0
0
0.041439
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.133333
0.566667
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
682d0ce552aa104d1c21810457fffe21c79d022d
57
py
Python
calendars/holidays/brazil/__init__.py
gusamarante/Quantequim
3968d9965e8e2c3b5850f1852b56c485859a9c89
[ "MIT" ]
296
2018-10-19T21:00:53.000Z
2022-03-29T21:50:55.000Z
calendars/holidays/brazil/__init__.py
gusamarante/Quantequim
3968d9965e8e2c3b5850f1852b56c485859a9c89
[ "MIT" ]
11
2019-06-18T11:43:35.000Z
2021-11-14T21:39:20.000Z
calendars/holidays/brazil/__init__.py
gusamarante/FinanceLab
3968d9965e8e2c3b5850f1852b56c485859a9c89
[ "MIT" ]
102
2018-10-18T14:14:34.000Z
2022-03-06T00:34:53.000Z
__all__ = ['BRCalendars'] from .core import BRCalendars
14.25
29
0.754386
6
57
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.140351
57
3
30
19
0.795918
0
0
0
0
0
0.192982
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
682ee4cf2fd6ec67161c563de30829f710ec694f
113
py
Python
mocks/setup.py
appsembler/site-configuration-client
7aa6839ef6f5776026855f18a23dde406a13196a
[ "MIT" ]
null
null
null
mocks/setup.py
appsembler/site-configuration-client
7aa6839ef6f5776026855f18a23dde406a13196a
[ "MIT" ]
14
2021-11-18T19:19:38.000Z
2022-03-30T13:06:40.000Z
mocks/setup.py
appsembler/site-configuration-client
7aa6839ef6f5776026855f18a23dde406a13196a
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='open edx mocks', version='0.0.1', packages=['openedx'], )
14.125
28
0.628319
15
113
4.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0.033708
0.212389
113
7
29
16.142857
0.764045
0
0
0
0
0
0.230089
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6857067c99c99d0a524baec90078355c61ae6f28
833
py
Python
socfaker/elastic.py
priamai/soc-faker
51b587f0cec52212136905280406e915006d2afc
[ "MIT" ]
122
2020-02-21T16:06:54.000Z
2022-03-21T13:53:03.000Z
socfaker/elastic.py
priamai/soc-faker
51b587f0cec52212136905280406e915006d2afc
[ "MIT" ]
13
2020-01-29T16:37:05.000Z
2022-01-27T21:30:10.000Z
socfaker/elastic.py
priamai/soc-faker
51b587f0cec52212136905280406e915006d2afc
[ "MIT" ]
20
2020-04-10T11:59:29.000Z
2022-02-10T09:20:26.000Z
class Elastic(object): """The main entrypoint for all things Elastic """ def hits(self, count=10): """Returns a provided count of generated / fake Elasticsearch query hits. Default is 10. Args: count (int, optional): The number of Elasticsearch query hits returned in a list. ...
30.851852
109
0.643457
97
833
5.515464
0.536082
0.100935
0.123364
0.08972
0
0
0
0
0
0
0
0.010152
0.290516
833
26
110
32.038462
0.895093
0.543818
0
0
1
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
686465b4295df94bb6661fb35dc45c57831cbe58
318
py
Python
python/profiling/profile_test.py
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
python/profiling/profile_test.py
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
python/profiling/profile_test.py
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
import time def quick(): print('Running quick') return 1 + 1 def average(): print('Running average') time.sleep(0.5) def super_slow(): print('Running super slowly') time.sleep(2) def main(): quick() super_slow() quick() average() if __name__ == '__main__': main()
11.357143
33
0.581761
40
318
4.375
0.475
0.205714
0
0
0
0
0
0
0
0
0
0.021552
0.27044
318
27
34
11.777778
0.732759
0
0
0.117647
0
0
0.176101
0
0
0
0
0
0
1
0.235294
true
0
0.058824
0
0.352941
0.176471
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
686967a6c57a052336a453b8643aeb7cfec0fac1
22,782
py
Python
IA/Action_manager.py
Chains99/Battlefield-Simulator
9dc209c34aac5160232e47d6799bbe1b1bfcebad
[ "MIT" ]
null
null
null
IA/Action_manager.py
Chains99/Battlefield-Simulator
9dc209c34aac5160232e47d6799bbe1b1bfcebad
[ "MIT" ]
null
null
null
IA/Action_manager.py
Chains99/Battlefield-Simulator
9dc209c34aac5160232e47d6799bbe1b1bfcebad
[ "MIT" ]
null
null
null
from Sim.A_star.A_star import euclidean_distance from Sim.Entities.Soldier import Soldier def soldier_pos_matrix(sim_map, state): rows = len(sim_map.terrain_matrix) cols = len(sim_map.terrain_matrix[0]) soldier_pos_mat = [] for i in range(rows): soldier_pos_mat.append([]) for j in ran...
38.94359
187
0.671276
2,878
22,782
4.968033
0.060806
0.096517
0.067982
0.054833
0.793258
0.746188
0.700587
0.687089
0.675829
0.643027
0
0.010404
0.240585
22,782
584
188
39.010274
0.816022
0.043719
0
0.578667
0
0
0.003791
0
0
0
0
0
0
1
0.069333
false
0
0.005333
0.018667
0.154667
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
687ab0f796430c9249ef8bd5b6ff1c2d9bad0b7d
2,168
py
Python
jcasts/shared/tests/test_views.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
13
2021-09-17T07:41:00.000Z
2022-02-10T10:00:48.000Z
jcasts/shared/tests/test_views.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
167
2021-07-17T09:41:38.000Z
2021-08-31T06:03:34.000Z
jcasts/shared/tests/test_views.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
null
null
null
from django.urls import reverse from jcasts.shared.asserts import assert_no_content, assert_ok class TestFavicon: def test_get(self, db, client): assert_ok(client.get(reverse("favicon"))) class TestRobots: def test_get(self, db, client, django_assert_num_queries): with django_assert_num_que...
32.358209
68
0.696956
293
2,168
4.87372
0.174061
0.078431
0.147059
0.215686
0.628151
0.628151
0.621148
0.621148
0.595938
0.481092
0
0.003977
0.188192
2,168
66
69
32.848485
0.807386
0
0
0.2
0
0
0.087177
0
0
0
0
0
0.666667
1
0.311111
false
0
0.044444
0
0.488889
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
1
0
0
0
0
0
0
0
3
68839c901eced7b1b9edfa493daf0b110357f8d9
861
py
Python
templates/index.py
angeal185/flask-jinja-greensock-portfolio-webapp
5c7995424a02cd3562aaebdbaf54e93bfc78a7ae
[ "MIT" ]
null
null
null
templates/index.py
angeal185/flask-jinja-greensock-portfolio-webapp
5c7995424a02cd3562aaebdbaf54e93bfc78a7ae
[ "MIT" ]
null
null
null
templates/index.py
angeal185/flask-jinja-greensock-portfolio-webapp
5c7995424a02cd3562aaebdbaf54e93bfc78a7ae
[ "MIT" ]
null
null
null
{% extends "layout.py" %} {% block main %} <div id="page-wrapper" aria-live="polite"> <div class="page-container page_home" data-namespace="home" data-pagetype="home"> {% include "includes/nav.py" %} {% include "includes/side-nav.py" %} <h6 class="sub_logo"><a href=""><span class="text" data-chaffle>BEN EAVES</s...
33.115385
91
0.609756
109
861
4.761468
0.440367
0.260116
0.196532
0
0
0
0
0
0
0
0
0.006878
0.155633
861
26
92
33.115385
0.707015
0
0
0.115385
0
0
0.327146
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
688b3ae8fbecfbdf5ea63c9bf06b6ab5da7e9e70
8,664
py
Python
senic_hub/backend/tests/test_device_discovery.py
neelotpalnag/senic-hub
c8765c5b1647f4cf90043a2f7d3ea777517bb796
[ "MIT" ]
2
2021-03-24T19:08:14.000Z
2021-07-28T20:50:16.000Z
senic_hub/backend/tests/test_device_discovery.py
neelotpalnag/senic-hub
c8765c5b1647f4cf90043a2f7d3ea777517bb796
[ "MIT" ]
null
null
null
senic_hub/backend/tests/test_device_discovery.py
neelotpalnag/senic-hub
c8765c5b1647f4cf90043a2f7d3ea777517bb796
[ "MIT" ]
2
2018-12-03T20:49:58.000Z
2021-01-23T23:21:42.000Z
from datetime import datetime, timedelta from unittest.mock import MagicMock, patch from pytest import fixture, raises import responses from senic_hub.backend.device_discovery import ( add_authentication_status, discover_devices, discover_and_merge_devices, get_device_description, merge_devices, ...
31.391304
131
0.668513
1,006
8,664
5.417495
0.145129
0.053211
0.063303
0.022018
0.792294
0.741468
0.729725
0.698716
0.654312
0.622752
0
0.02457
0.201408
8,664
275
132
31.505455
0.763116
0.04132
0
0.675556
0
0
0.170261
0.037233
0
0
0
0.003636
0.062222
1
0.097778
false
0.008889
0.026667
0.017778
0.146667
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
68b5b58fa2e5ad75a3ad6f9bceab156d2342ae2e
9,183
py
Python
greenplumpython/tests/test_gptapply.py
greenplum-db/GreenplumPython
8d8571992fd8e678e75c439bce1975e06b00a344
[ "Apache-2.0" ]
6
2020-06-09T11:07:13.000Z
2022-01-06T02:39:46.000Z
greenplumpython/tests/test_gptapply.py
greenplum-db/GreenplumPython
8d8571992fd8e678e75c439bce1975e06b00a344
[ "Apache-2.0" ]
7
2020-06-09T02:21:59.000Z
2020-12-31T02:54:02.000Z
greenplumpython/tests/test_gptapply.py
greenplum-db/GreenplumPython
8d8571992fd8e678e75c439bce1975e06b00a344
[ "Apache-2.0" ]
5
2020-04-16T09:42:44.000Z
2021-07-30T08:57:19.000Z
from greenplumpython.core.gptapply import gptApply from greenplumpython.tests.testdb import host, port, db, user, password from greenplumpython.core.gp_connection import GPConnection from greenplumpython.core.gpdatabase import GPDatabase from greenplumpython.core import sql from greenplumpython.core.gptable_metadata im...
43.937799
116
0.657846
1,217
9,183
4.778143
0.140509
0.036114
0.046776
0.058469
0.764058
0.742046
0.716079
0.670335
0.6681
0.638177
0
0.018598
0.186105
9,183
208
117
44.149038
0.759433
0.010236
0
0.572222
0
0
0.165438
0.016621
0
0
0
0
0.116667
1
0.127778
false
0.011111
0.038889
0.005556
0.194444
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
d7bb74250706372a3dec81429a8c1d2682469009
180
py
Python
factorial.py
om840/Project-alpha
3d8469c75ac56bf1caf8971e3645f05c00f08399
[ "MIT" ]
null
null
null
factorial.py
om840/Project-alpha
3d8469c75ac56bf1caf8971e3645f05c00f08399
[ "MIT" ]
null
null
null
factorial.py
om840/Project-alpha
3d8469c75ac56bf1caf8971e3645f05c00f08399
[ "MIT" ]
null
null
null
def factorial(n): if n<=1: return 1 else: return n*factorial(n-1) n=int(input("Enter thr number :")) print("Factorial of", n ,"is :",factorial(n))
20
46
0.544444
27
180
3.62963
0.555556
0.306122
0
0
0
0
0
0
0
0
0
0.023256
0.283333
180
8
47
22.5
0.736434
0
0
0
0
0
0.197674
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
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
d7c58d21a3b8f16d0fb0bb7de643078f129158cc
432
py
Python
yt_shared/yt_shared/schemas/video.py
tropicoo/yt-dlp-bot
d9d9b42ced8ef2eede453c659c9272078f8ab2eb
[ "BSD-3-Clause" ]
2
2022-03-10T03:07:23.000Z
2022-03-22T07:36:16.000Z
yt_shared/yt_shared/schemas/video.py
tropicoo/yt-dlp-bot
d9d9b42ced8ef2eede453c659c9272078f8ab2eb
[ "BSD-3-Clause" ]
1
2022-03-18T08:03:26.000Z
2022-03-18T08:03:26.000Z
yt_shared/yt_shared/schemas/video.py
tropicoo/yt-dlp-bot
d9d9b42ced8ef2eede453c659c9272078f8ab2eb
[ "BSD-3-Clause" ]
null
null
null
import uuid from datetime import datetime, timezone from typing import Optional from pydantic import Field, StrictStr from yt_shared.constants import TaskSource from yt_shared.schemas.base import RealBaseModel class VideoPayload(RealBaseModel): id: Optional[uuid.UUID] message_id: Optional[int] url: Stri...
25.411765
82
0.791667
55
432
6.127273
0.563636
0.035608
0.071217
0
0
0
0
0
0
0
0
0
0.145833
432
16
83
27
0.913279
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d7d9ecb1def4307585029f99958f23daa25e765b
305
py
Python
dbaas/system/admin/__init__.py
didindinn/database-as-a-service
747de31ff8546f7874ddd654af860e130afd17a0
[ "BSD-3-Clause" ]
303
2015-01-08T10:35:54.000Z
2022-02-28T08:54:06.000Z
dbaas/system/admin/__init__.py
nouraellm/database-as-a-service
5e655c9347bea991b7218a01549f5e44f161d7be
[ "BSD-3-Clause" ]
124
2015-01-14T12:56:15.000Z
2022-03-22T20:45:11.000Z
dbaas/system/admin/__init__.py
nouraellm/database-as-a-service
5e655c9347bea991b7218a01549f5e44f161d7be
[ "BSD-3-Clause" ]
110
2015-01-02T11:59:48.000Z
2022-02-28T08:54:06.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.contrib import admin from django.contrib.auth.models import User, Group from ..models import Configuration from .configuration import ConfigurationAdmin admin.site.register(Configuration, ConfigurationAdmin)
25.416667
56
0.816393
36
305
6.75
0.555556
0.082305
0.139918
0
0
0
0
0
0
0
0
0.003676
0.108197
305
11
57
27.727273
0.889706
0.068852
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d7eb50be8122842649924f0f61227e22ab2fbd18
260
py
Python
Python3/LambdasAndBuilt-InFunctions/generator_expressions_vs_list_comprehensions.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
Python3/LambdasAndBuilt-InFunctions/generator_expressions_vs_list_comprehensions.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
Python3/LambdasAndBuilt-InFunctions/generator_expressions_vs_list_comprehensions.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
import sys list_comp = sys.getsizeof([x * 10 for x in range(1000)]) gen_exp = sys.getsizeof(x * 10 for x in range(1000)) print("To do the same thing, it takes...") print(f"List Comprehension: {list_comp} bytes") print(f"Generator Expression: {gen_exp} bytes")
37.142857
56
0.719231
46
260
3.978261
0.565217
0.087432
0.142077
0.163934
0.327869
0.327869
0.327869
0.327869
0.327869
0
0
0.053333
0.134615
260
7
57
37.142857
0.76
0
0
0
0
0
0.409962
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
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
0
1
0
3
d7f1ce907d8f3b852c37fb985b7f2b176c0b5d0a
60
py
Python
workflows/import fcsparser.py
mouneem/tysserand
2d7a1d28b5c2e754fdab4005cfeb7e1786fe4370
[ "BSD-3-Clause" ]
null
null
null
workflows/import fcsparser.py
mouneem/tysserand
2d7a1d28b5c2e754fdab4005cfeb7e1786fe4370
[ "BSD-3-Clause" ]
null
null
null
workflows/import fcsparser.py
mouneem/tysserand
2d7a1d28b5c2e754fdab4005cfeb7e1786fe4370
[ "BSD-3-Clause" ]
null
null
null
import fcsparser, system path = system.argv[2] print(path)
12
24
0.75
9
60
5
0.777778
0
0
0
0
0
0
0
0
0
0
0.019231
0.133333
60
4
25
15
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d7f4e88205465f08afe793e0ba2e352e8a5d12fe
512
py
Python
exercises/test_04_03.py
rklymentiev/py-for-neuro
6bb163347483642c79eac429e5a9289edff7ce09
[ "MIT" ]
7
2021-04-28T13:12:16.000Z
2022-01-15T00:21:11.000Z
exercises/test_04_03.py
rklymentiev/py-for-neuro
6bb163347483642c79eac429e5a9289edff7ce09
[ "MIT" ]
2
2021-04-02T18:42:55.000Z
2021-05-20T08:43:06.000Z
exercises/test_04_03.py
rklymentiev/py-for-neuro
6bb163347483642c79eac429e5a9289edff7ce09
[ "MIT" ]
2
2021-07-04T22:57:29.000Z
2021-07-29T19:28:43.000Z
def test(): # Here we can either check objects created in the solution code, or the # string value of the solution, available as __solution__. A helper for # printing formatted messages is available as __msg__. See the testTemplate # in the meta.json for details. # If an assertion fails, the messag...
42.666667
79
0.716797
76
512
4.592105
0.75
0.028653
0
0
0
0
0
0
0
0
0
0.004951
0.210938
512
11
80
46.545455
0.858911
0.578125
0
0
0
0
0.342857
0
0
0
0
0
0.5
1
0.25
true
0
0
0
0.25
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
1
0
0
0
0
0
0
3
cc147f7c3b6c2f6577e6416e08254518a00020f4
258
py
Python
Chapter04/conditional-working.py
JeffreyAsuncion/PythonEssentialTraining
adf9164ac01db35f2f657e58ec60d9bcc197dcda
[ "MIT" ]
null
null
null
Chapter04/conditional-working.py
JeffreyAsuncion/PythonEssentialTraining
adf9164ac01db35f2f657e58ec60d9bcc197dcda
[ "MIT" ]
null
null
null
Chapter04/conditional-working.py
JeffreyAsuncion/PythonEssentialTraining
adf9164ac01db35f2f657e58ec60d9bcc197dcda
[ "MIT" ]
null
null
null
#!/home/jepoy/anaconda3/bin/python x = 3 if x == 0: print('if true') elif x == 1: print('elif 1 true') elif x == 2: print('elif 2 true') elif x == 3: print('elif 3 true') elif x == 4: print('elif 4 true') else: print('neither true')
16.125
34
0.55814
45
258
3.2
0.377778
0.222222
0.25
0
0
0
0
0
0
0
0
0.057292
0.255814
258
16
35
16.125
0.692708
0.127907
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0
0
0
0
0.461538
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cc1cca3e36815e71fecd67c57f3a962f06e2416a
3,534
py
Python
tests/forms_tests/field_tests/test_filepathfield.py
savoirfairelinux/django
3159ad4df6ec05c3eac07b930b4af32739bec7b0
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/forms_tests/field_tests/test_filepathfield.py
savoirfairelinux/django
3159ad4df6ec05c3eac07b930b4af32739bec7b0
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/forms_tests/field_tests/test_filepathfield.py
savoirfairelinux/django
3159ad4df6ec05c3eac07b930b4af32739bec7b0
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
import os.path from django.forms import FilePathField, ValidationError from django.test import SimpleTestCase PATH = os.path.dirname(os.path.abspath(__file__)) def fix_os_paths(x): if isinstance(x, str): if x.startswith(PATH): x = x[len(PATH):] return x.replace('\\', '/') elif is...
38.413043
99
0.62026
456
3,534
4.491228
0.173246
0.20752
0.244141
0.182617
0.588379
0.51416
0.39502
0.39502
0.318359
0.257813
0
0.000725
0.219015
3,534
91
100
38.835165
0.741304
0
0
0.210526
0
0
0.281268
0.214205
0
0
0
0
0.144737
1
0.131579
false
0
0.039474
0
0.263158
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
cc30b930657ac84e866c2fc659ce6e1affac2d3b
434
py
Python
2021/examples-in-class-2021-10-01/generation_nickname_errors.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2021/examples-in-class-2021-10-01/generation_nickname_errors.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2021/examples-in-class-2021-10-01/generation_nickname_errors.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
temp = input("please enter your birth year: ") birth_year = int(temp) if birth_year < 1946: print("No nickname") elif birth_year >= 1946 and birth_year <= 1964: print("Baby Boomers") elif birth_year >= 1965 and birth_year <= 1980: print("Gen X") elif birth_year >= 1981 and birth_year <= 1996: print("Gen Y...
24.111111
47
0.670507
69
434
4.057971
0.42029
0.385714
0.232143
0.128571
0.15
0
0
0
0
0
0
0.114943
0.198157
434
17
48
25.529412
0.689655
0
0
0
0
0
0.168591
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cc316ba3503527954092a36f8ba4bb273bc1a619
233
py
Python
day_2/lists.py
anishLearnsToCode/python-workshop-8
0f64bfa7cf175283181b6e7f51a5e3b80d4b6b60
[ "MIT" ]
3
2020-12-31T06:28:11.000Z
2021-11-28T15:44:00.000Z
day_2/lists.py
anishLearnsToCode/python-workshop-8
0f64bfa7cf175283181b6e7f51a5e3b80d4b6b60
[ "MIT" ]
null
null
null
day_2/lists.py
anishLearnsToCode/python-workshop-8
0f64bfa7cf175283181b6e7f51a5e3b80d4b6b60
[ "MIT" ]
null
null
null
""" List [] - mutable - iterable """ numbers = [] print(numbers) print(type(numbers)) print(len(numbers)) # Add elements # .append(value) # insert(position, value) # Remove Values # .pop() # .remove(value) # del list_name[index]
10.590909
25
0.656652
28
233
5.428571
0.678571
0.236842
0
0
0
0
0
0
0
0
0
0
0.154506
233
21
26
11.095238
0.771574
0.596567
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
cc3485446f1b7d83df0487084022a31fde580f42
830
py
Python
backend/cart/serializers.py
codeBlock-1984/django-e-cart
76bd9f79abbfe2350e292bc73733eecf1f4b4cbc
[ "MIT" ]
null
null
null
backend/cart/serializers.py
codeBlock-1984/django-e-cart
76bd9f79abbfe2350e292bc73733eecf1f4b4cbc
[ "MIT" ]
5
2020-06-05T20:13:48.000Z
2021-06-10T18:08:39.000Z
backend/cart/serializers.py
codeBlock-1984/django-e-cart
76bd9f79abbfe2350e292bc73733eecf1f4b4cbc
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import User, Product, Category, Order, Item class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('name', 'password') class ProductSerializer(serializers.HyperlinkedModelSerializer): class Meta: ...
28.62069
65
0.691566
72
830
7.930556
0.402778
0.323993
0.367776
0.402802
0.446585
0
0
0
0
0
0
0
0.210843
830
28
66
29.642857
0.871756
0
0
0.227273
0
0
0.095181
0
0
0
0
0
0
1
0
false
0.045455
0.090909
0
0.545455
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
0bc82b9b83b7bafa69ed7e6bc209ca207d57bff3
448
py
Python
app/objects/c_relationship.py
clenk/caldera
75b5de5eb4028987c50cd329b54f4f494184d403
[ "Apache-2.0" ]
null
null
null
app/objects/c_relationship.py
clenk/caldera
75b5de5eb4028987c50cd329b54f4f494184d403
[ "Apache-2.0" ]
null
null
null
app/objects/c_relationship.py
clenk/caldera
75b5de5eb4028987c50cd329b54f4f494184d403
[ "Apache-2.0" ]
null
null
null
from app.utility.base_object import BaseObject class Relationship(BaseObject): @property def unique(self): return '%s%s%s' % (self.source, self.edge, self.target) @property def display(self): return self.clean(dict(source=self.source, edge=self.edge, target=self.target)) def __i...
24.888889
87
0.65625
58
448
4.982759
0.396552
0.138408
0.096886
0
0
0
0
0
0
0
0
0
0.225446
448
17
88
26.352941
0.832853
0
0
0.166667
0
0
0.013393
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0bd199a5c8bd11ca1bfbe3526a53d17dfa26c151
229
py
Python
wallet/utils/common_util.py
dasenlinCode/web-wallet
c005dcf786f78e4699bba75874bc1bf1cd290b9d
[ "MIT" ]
null
null
null
wallet/utils/common_util.py
dasenlinCode/web-wallet
c005dcf786f78e4699bba75874bc1bf1cd290b9d
[ "MIT" ]
null
null
null
wallet/utils/common_util.py
dasenlinCode/web-wallet
c005dcf786f78e4699bba75874bc1bf1cd290b9d
[ "MIT" ]
null
null
null
import json def load_json(data): if isinstance(data, str): return json.loads(data) elif isinstance(data, bytes): return json.loads(data.decode('utf-8')) else: return json.loads("%s" % data)
19.083333
47
0.611354
31
229
4.483871
0.548387
0.215827
0.323741
0.273381
0
0
0
0
0
0
0
0.005848
0.253275
229
11
48
20.818182
0.807018
0
0
0
0
0
0.030837
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.625
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
0bebb90a54eb51b651f550ffef41e0c137834ce9
11,443
py
Python
minisat/gym/GymSolver.py
feiwang3311/MCTSminisat
7bc7235c848823ee83a36eb2220b2311faee1347
[ "MIT" ]
3
2017-12-16T10:03:47.000Z
2022-01-04T12:25:56.000Z
minisat/gym/GymSolver.py
feiwang3311/MCTSminisat
7bc7235c848823ee83a36eb2220b2311faee1347
[ "MIT" ]
1
2019-01-04T19:01:15.000Z
2019-01-05T02:16:42.000Z
minisat/gym/GymSolver.py
feiwang3311/MCTSminisat
7bc7235c848823ee83a36eb2220b2311faee1347
[ "MIT" ]
2
2018-06-01T16:09:28.000Z
2021-07-12T16:13:25.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_im...
34.056548
125
0.687145
1,551
11,443
4.767247
0.191489
0.052745
0.062754
0.019475
0.331755
0.23181
0.216392
0.192318
0.148499
0.148499
0
0.00751
0.208774
11,443
335
126
34.158209
0.809145
0.151708
0
0.297071
1
0
0.059546
0
0
0
0
0
0.012552
1
0.167364
false
0.012552
0.096234
0.112971
0.51046
0.016736
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
0
1
1
0
0
3
041669f4cb64bc80cbdd4fcc1041817b3d2bf08f
643
py
Python
ai_demos/deepface.py
OpenJarbas/ai_demos
103db27318c8ed413197318de176207e56c28584
[ "MIT" ]
1
2021-03-15T06:34:56.000Z
2021-03-15T06:34:56.000Z
ai_demos/deepface.py
OpenJarbas/ai_demos
103db27318c8ed413197318de176207e56c28584
[ "MIT" ]
null
null
null
ai_demos/deepface.py
OpenJarbas/ai_demos
103db27318c8ed413197318de176207e56c28584
[ "MIT" ]
2
2020-02-27T08:22:59.000Z
2020-08-16T16:38:47.000Z
import requests # TODO test if token expires TOKEN = "0113b67e-213b-4167-a95c-0689b73288be" def face_analysis(face_picture): url = "https://api.deepface.ir/analysis" with open(face_picture, 'rb') as f: files = {'file': (face_picture, f.read(), 'image/jpeg')} r = requests.post(url, files=files, da...
30.619048
64
0.645412
91
643
4.472527
0.406593
0.162162
0.068796
0.093366
0.712531
0.712531
0.712531
0.555283
0.555283
0.555283
0
0.045198
0.174184
643
20
65
32.15
0.721281
0.040435
0
0.571429
0
0
0.242276
0.058537
0
0
0
0.05
0
1
0.142857
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
04237fec09749714aebf147502077d04093fd51c
745
py
Python
apps/article/migrations/0002_auto_20170404_1634.py
beatum/djangorest_and_elasticserch
30535d7dda7e46ac352cd800aae14317ce26ffc3
[ "MIT" ]
null
null
null
apps/article/migrations/0002_auto_20170404_1634.py
beatum/djangorest_and_elasticserch
30535d7dda7e46ac352cd800aae14317ce26ffc3
[ "MIT" ]
3
2020-06-05T17:33:12.000Z
2021-06-10T19:03:29.000Z
apps/article/migrations/0002_auto_20170404_1634.py
beatum/djangorest_and_elasticserch
30535d7dda7e46ac352cd800aae14317ce26ffc3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-04 13:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0001_initial'), ] operations = [ migrations.AlterField( ...
24.032258
49
0.566443
74
745
5.540541
0.540541
0.117073
0.182927
0.212195
0.526829
0.45122
0.45122
0.35122
0.35122
0.35122
0
0.046967
0.314094
745
30
50
24.833333
0.755382
0.091275
0
0.521739
1
0
0.08457
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
0428081a659d2125443d6e587ad6b2e2cdbcf2ee
2,066
py
Python
versioning/Data_model/models/dynamic/Resources/CROP/parameters.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
9
2020-02-11T17:57:47.000Z
2022-03-22T14:24:55.000Z
versioning/Data_model/models/dynamic/Resources/CROP/parameters.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
64
2020-02-11T17:35:36.000Z
2022-03-31T13:19:08.000Z
versioning/Data_model/models/dynamic/Resources/CROP/parameters.py
alan-turing-institute/CROP
467956ba8e273daa6afbfafd89bd2c3462a8156e
[ "MIT" ]
2
2020-08-16T06:10:24.000Z
2021-04-15T10:11:51.000Z
# -*- coding: utf-8 -*- """ Created on Tue Feb 16 10:35:04 2021 @author: rmw61 """ deltaT = 600 # Calibration parameters ACH = 4. ias = 0.3 # Constants g = 9.81 nu = 15.1e-6 lam = 0.025 cd_c = 7932.5 R = 8.314 atm = 1.013e5 M_w = 0.018 M_a = 0.029 H_fg = 2437000. c_i = 1003.2 T_k = 273.15 N...
15.191176
98
0.548887
511
2,066
1.95499
0.277887
0.027027
0.016016
0.01001
0.014014
0.014014
0
0
0
0
0
0.232178
0.259923
2,066
135
99
15.303704
0.42119
0.268151
0
0.022989
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04283ccd2c9c1b4ea2195827e6d361d961ba937f
219
py
Python
project/config.py
yangchandle/flask-microservices-users
958181c6fcf443d19d3080ca75fa1679cb7627ee
[ "MIT" ]
null
null
null
project/config.py
yangchandle/flask-microservices-users
958181c6fcf443d19d3080ca75fa1679cb7627ee
[ "MIT" ]
null
null
null
project/config.py
yangchandle/flask-microservices-users
958181c6fcf443d19d3080ca75fa1679cb7627ee
[ "MIT" ]
null
null
null
# project/config.py class BaseConfig: """ Base configuration """ DEBUG = False TESTING = False class DevelopmentConfig(BaseConfig): """Development configuration""" DEBUG = True class TestingConfig(BaseConfig)
14.6
36
0.739726
21
219
7.714286
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0
0.150685
219
15
37
14.6
0.870968
0.077626
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0439180ddf66ab907d533ba04c2169fa208b5b71
132
py
Python
gunicorn.conf.py
SuLab/mark2cure
63d20e75b8817ad75c6766b4d8a7a8ee8207d512
[ "MIT" ]
17
2015-09-29T22:15:38.000Z
2020-07-15T00:38:21.000Z
gunicorn.conf.py
luzhaoxin/mark2cure
63d20e75b8817ad75c6766b4d8a7a8ee8207d512
[ "MIT" ]
178
2015-06-28T19:42:13.000Z
2022-03-23T19:38:12.000Z
gunicorn.conf.py
luzhaoxin/mark2cure
63d20e75b8817ad75c6766b4d8a7a8ee8207d512
[ "MIT" ]
14
2016-04-20T19:43:36.000Z
2020-07-19T01:13:06.000Z
from __future__ import unicode_literals import multiprocessing bind = 'unix:/tmp/gunicorn.sock' worker = 3 proc_name = 'mark2cure'
18.857143
39
0.795455
17
132
5.823529
0.941176
0
0
0
0
0
0
0
0
0
0
0.017241
0.121212
132
6
40
22
0.836207
0
0
0
0
0
0.242424
0.174242
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
044071dc1612e51191c8b7aaac933e108dd1645f
1,221
py
Python
uaccounts/decorators.py
amikrop/django-uaccounts
ba206f061bbb418fb5f6c0b62a06a71c11ffef80
[ "BSD-3-Clause" ]
null
null
null
uaccounts/decorators.py
amikrop/django-uaccounts
ba206f061bbb418fb5f6c0b62a06a71c11ffef80
[ "BSD-3-Clause" ]
null
null
null
uaccounts/decorators.py
amikrop/django-uaccounts
ba206f061bbb418fb5f6c0b62a06a71c11ffef80
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.decorators import user_passes_test from django.core.urlresolvers import reverse_lazy from django.utils.decorators import available_attrs from django.shortcuts import redirect, render from functools import wraps def personal(view): """Ensure user is logged in and active.""" def test(u...
30.525
77
0.687142
153
1,221
5.366013
0.320261
0.058465
0.051157
0.058465
0.297199
0.297199
0.297199
0.231425
0.231425
0
0
0
0.207207
1,221
39
78
31.307692
0.848141
0.085176
0
0.16
0
0
0.065395
0.019982
0
0
0
0
0
1
0.24
false
0.12
0.2
0.08
0.76
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
0445fce0da892a4fcb16c71e091db40ae04b9f2c
1,207
py
Python
python/tests/xpathleak.py
sthagen/libxml2
0aa8652e596a20e95ed334ac65cf15e6e9ec4b3b
[ "MIT" ]
1
2020-09-11T07:36:25.000Z
2020-09-11T07:36:25.000Z
python/tests/xpathleak.py
sthagen/libxml2
0aa8652e596a20e95ed334ac65cf15e6e9ec4b3b
[ "MIT" ]
null
null
null
python/tests/xpathleak.py
sthagen/libxml2
0aa8652e596a20e95ed334ac65cf15e6e9ec4b3b
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys, libxml2 libxml2.debugMemory(True) expect="""--> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression --> Invalid expression """ err=""...
21.553571
71
0.653687
145
1,207
5.441379
0.524138
0.215463
0.273764
0.387833
0.238276
0.215463
0.215463
0.215463
0.215463
0.215463
0
0.009823
0.156587
1,207
55
72
21.945455
0.765226
0.073737
0
0.23913
0
0
0.344086
0
0
0
0
0
0
1
0.021739
false
0.021739
0.021739
0
0.043478
0.130435
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
044adb7c9f331d7e95821b894793a7e0949f8571
50
py
Python
tracker/__init__.py
shapeshift-legacy/watchtower
c9cd5150f8549145f7de9b1ea820d548959350fe
[ "MIT" ]
null
null
null
tracker/__init__.py
shapeshift-legacy/watchtower
c9cd5150f8549145f7de9b1ea820d548959350fe
[ "MIT" ]
null
null
null
tracker/__init__.py
shapeshift-legacy/watchtower
c9cd5150f8549145f7de9b1ea820d548959350fe
[ "MIT" ]
null
null
null
default_app_config = 'tracker.apps.TrackerConfig'
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
f092767a48eed04887ec457214a4fb25c647e14f
1,255
py
Python
2019_10_09/dojo_test.py
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
114
2015-03-10T22:17:42.000Z
2022-03-09T17:49:48.000Z
2019_10_09/dojo_test.py
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
9
2018-09-04T12:49:59.000Z
2019-11-17T21:29:51.000Z
2019_10_09/dojo_test.py
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
39
2015-01-29T01:20:56.000Z
2022-02-17T16:26:25.000Z
import unittest from dojo import swap_numbers, index_less_element, sort_array class DojoTest(unittest.TestCase): def test_swap_numbers(self): arr = [2,1] self.assertEqual(swap_numbers(0,1,arr), [1,2]) def test_swap_numbers2(self): arr = [4,1] self.assertEqual(swap_numbers(0,1,...
26.702128
61
0.611155
192
1,255
3.75
0.208333
0.208333
0.066667
0.180556
0.541667
0.480556
0.406944
0.247222
0.202778
0.111111
0
0.064619
0.247809
1,255
46
62
27.282609
0.698093
0
0
0.176471
0
0
0.006375
0
0
0
0
0
0.294118
1
0.264706
false
0
0.058824
0
0.352941
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f0c9745186bda90b7f27ac049d4a0e7c3c673fd1
2,600
py
Python
councilmatic_core/haystack_indexes.py
datamade/django-councilmatic
5b074f376667766e4b6dbf093871d294bb35fc51
[ "MIT" ]
26
2015-12-05T03:36:49.000Z
2022-03-05T12:17:59.000Z
councilmatic_core/haystack_indexes.py
datamade/django-councilmatic
5b074f376667766e4b6dbf093871d294bb35fc51
[ "MIT" ]
181
2015-10-14T18:01:19.000Z
2021-06-30T13:52:47.000Z
councilmatic_core/haystack_indexes.py
datamade/django-councilmatic
5b074f376667766e4b6dbf093871d294bb35fc51
[ "MIT" ]
18
2015-10-22T09:01:24.000Z
2020-10-22T19:33:09.000Z
from haystack import indexes from councilmatic_core.models import Bill from councilmatic_core.templatetags.extras import clean_html class BillIndex(indexes.SearchIndex): text = indexes.CharField(document=True, use_template=True, template_name='search/ind...
36.111111
92
0.715
320
2,600
5.559375
0.25
0.134907
0.106239
0.126476
0.14615
0.110174
0.073075
0.037099
0
0
0
0.002849
0.19
2,600
71
93
36.619718
0.84188
0
0
0
0
0
0.055385
0.017692
0
0
0
0
0
1
0.245283
false
0
0.056604
0.207547
0.924528
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
f0cab90b75f07bd2da26f4e91abe848eba72f322
393
py
Python
helios/discounts/models.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
2
2021-01-26T02:37:19.000Z
2021-12-02T14:15:22.000Z
helios/discounts/models.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
helios/discounts/models.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ from helios.store.models import Category class CategoryPercentageDiscount(models.Model): category = models.OneToOneField(Category) discount = models.DecimalField(_('discount'), max_digits=5, decimal_places=2) def __unic...
30.230769
81
0.753181
48
393
5.979167
0.645833
0.069686
0
0
0
0
0
0
0
0
0
0.005935
0.142494
393
12
82
32.75
0.845697
0
0
0
0
0
0.038168
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
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
f0e0392a6fc7684c4e38a673d6334684b6642036
536
py
Python
zdpapi_modbus/funcs/writer.py
zhangdapeng520/zdpapi_modbus
729fe8fef1c1268a2efefdb5020a15eda2bda1ea
[ "MIT" ]
1
2022-02-10T03:16:46.000Z
2022-02-10T03:16:46.000Z
zdpapi_modbus/funcs/writer.py
zhangdapeng520/zdpapi_modbus
729fe8fef1c1268a2efefdb5020a15eda2bda1ea
[ "MIT" ]
null
null
null
zdpapi_modbus/funcs/writer.py
zhangdapeng520/zdpapi_modbus
729fe8fef1c1268a2efefdb5020a15eda2bda1ea
[ "MIT" ]
1
2021-12-21T06:46:40.000Z
2021-12-21T06:46:40.000Z
from ..libs.modbus_tk import modbus_tcp from typing import List,Any def write(address:int,values:List[int],slave:Any=1,func:int=16,host:str="127.0.0.1",port:int=8888): """ 写入数据 @param address 要写入的地址 @param values 要写入的数据 @param slave 从站ID @param func 功能码,写入数据的功能码一般是16或者4 @param host modbu...
24.363636
99
0.671642
74
536
4.810811
0.554054
0.050562
0
0
0
0
0
0
0
0
0
0.037559
0.205224
536
22
100
24.363636
0.798122
0.307836
0
0
0
0
0.028391
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
f0f404e832f07cc2b03cfc80a77cec4b4ad4a007
112
py
Python
commands/delete.py
liferooter/tgpy-snippets
f4da5fe4d2721e3729102b400a7981770b9b476f
[ "MIT" ]
null
null
null
commands/delete.py
liferooter/tgpy-snippets
f4da5fe4d2721e3729102b400a7981770b9b476f
[ "MIT" ]
null
null
null
commands/delete.py
liferooter/tgpy-snippets
f4da5fe4d2721e3729102b400a7981770b9b476f
[ "MIT" ]
null
null
null
# Delete last or replied message @Command @silent @reply_or_last async def delete(msg): await msg.delete()
14
32
0.741071
17
112
4.764706
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.169643
112
7
33
16
0.870968
0.267857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0b074b1da45f7e8769e40b3af59b3e247acc98fd
1,347
py
Python
research_tools/utils/metric.py
kshen6/byol-pytorch
1e4bbc6dc6c44187808ebc03f1c1c78b8f1b2a93
[ "MIT" ]
null
null
null
research_tools/utils/metric.py
kshen6/byol-pytorch
1e4bbc6dc6c44187808ebc03f1c1c78b8f1b2a93
[ "MIT" ]
null
null
null
research_tools/utils/metric.py
kshen6/byol-pytorch
1e4bbc6dc6c44187808ebc03f1c1c78b8f1b2a93
[ "MIT" ]
null
null
null
import numpy as np def create_metric(metric_type): if metric_type == 'avg': return AvgMetric() if metric_type == 'max': return MaxMetric() if metric_type == 'min': return MinMetric() class Metric(object): def __init__(self): self.curr_val = None def update(sel...
21.046875
54
0.601336
176
1,347
4.261364
0.193182
0.181333
0.190667
0.090667
0.541333
0.445333
0.445333
0.445333
0.312
0.312
0
0.005263
0.294729
1,347
64
55
21.046875
0.784211
0
0
0.466667
0
0
0.006677
0
0
0
0
0
0
1
0.266667
false
0
0.022222
0.022222
0.533333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0b1707efecdb80e366c340c4a107f5efb687d109
1,422
py
Python
temporal-difference/taxi-v2/agent.py
francescotorregrossa/deep-reinforcement-learning-nanodegree
396648570aa53c9e727a8de69175e4a139d4ded5
[ "MIT" ]
1
2020-12-02T19:08:07.000Z
2020-12-02T19:08:07.000Z
temporal-difference/taxi-v2/agent.py
francescotorregrossa/deep-reinforcement-learning-nanodegree
396648570aa53c9e727a8de69175e4a139d4ded5
[ "MIT" ]
null
null
null
temporal-difference/taxi-v2/agent.py
francescotorregrossa/deep-reinforcement-learning-nanodegree
396648570aa53c9e727a8de69175e4a139d4ded5
[ "MIT" ]
null
null
null
import numpy as np from collections import defaultdict class Agent: def get_greedy_action(self, state): greedy_actions = np.argwhere(self.Q[state] == np.amax(self.Q[state])) greedy_actions = greedy_actions.flatten() return np.random.choice(greedy_actions) def get_random_action(self, ...
35.55
81
0.634318
215
1,422
4.032558
0.274419
0.040369
0.069204
0.046136
0.121107
0.083045
0.083045
0
0
0
0
0.041284
0.233474
1,422
39
82
36.461538
0.754128
0.047117
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.071429
0.107143
0.535714
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
9bc5135cf0e9c8a078069fb0f4a9960a3c317216
451
py
Python
utils.py
Zeyuzhao/BreachPrice
14fc86690ab504fcf8667e781555ca61f2a1c270
[ "MIT" ]
null
null
null
utils.py
Zeyuzhao/BreachPrice
14fc86690ab504fcf8667e781555ca61f2a1c270
[ "MIT" ]
null
null
null
utils.py
Zeyuzhao/BreachPrice
14fc86690ab504fcf8667e781555ca61f2a1c270
[ "MIT" ]
null
null
null
#%% import difflib import json import requests from pathlib import Path # with open(Path('data') / 'ticker.json', "r") as f: # ticker_db = json.load(f) def data_download(url: str, filename: str): """Downloads file from url and saves it to data/{filename}""" r = requests.get(url) with open(Path("..") /...
20.5
65
0.631929
67
451
4.179104
0.507463
0.057143
0.085714
0.114286
0
0
0
0
0
0
0
0
0.203991
451
21
66
21.47619
0.779944
0.317073
0
0
0
0
0.026846
0
0
0
0
0
0
1
0.181818
false
0.090909
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9bcf9ac88691104013ef3f427b300375913883a9
159
py
Python
day-1/part1-func.py
wavebeem/adventofcode
eefba2071415e6f2770fd226ae5e584ee7a20628
[ "Unlicense" ]
null
null
null
day-1/part1-func.py
wavebeem/adventofcode
eefba2071415e6f2770fd226ae5e584ee7a20628
[ "Unlicense" ]
null
null
null
day-1/part1-func.py
wavebeem/adventofcode
eefba2071415e6f2770fd226ae5e584ee7a20628
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python txt = open("input").read() jumps = map(lambda c: {'(': 1, ')': -1}.get(c, 0), txt) floor = reduce(lambda a, b: a + b, jumps) print floor
26.5
55
0.578616
28
159
3.285714
0.714286
0.043478
0
0
0
0
0
0
0
0
0
0.022556
0.163522
159
5
56
31.8
0.669173
0.125786
0
0
0
0
0.050725
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
9bd9f45fafb3f862000a04b20122636f0ebaaff8
1,292
py
Python
m3u8ToMp4/exceptions.py
bkit9x/m3u8
833627fa912ec40f7e82d3a51e382da3b3d6a82f
[ "MIT" ]
11
2020-06-20T14:50:06.000Z
2021-11-21T12:01:36.000Z
m3u8ToMp4/exceptions.py
bkit9x/m3u8
833627fa912ec40f7e82d3a51e382da3b3d6a82f
[ "MIT" ]
1
2021-01-22T10:18:07.000Z
2021-01-23T10:29:55.000Z
m3u8ToMp4/exceptions.py
bkit9x/m3u8
833627fa912ec40f7e82d3a51e382da3b3d6a82f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ m3u8ToMp4.exceptions ~~~~~~~~~~~~~~~~~~~~ this module is a exception set, which has been used through the while process """ class Error(Exception): def __init__(self, *args): self.args = args class RequestError(Error): def __init__(self, url): s...
21.180328
78
0.592105
135
1,292
5.274074
0.333333
0.058989
0.092697
0.134831
0
0
0
0
0
0
0
0.004315
0.282508
1,292
60
79
21.533333
0.763754
0.110681
0
0.193548
0
0
0.113994
0
0
0
0
0
0
1
0.387097
false
0
0
0.193548
0.806452
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
9bff56d10f62548b306e59c9ae8c55b28acd84bb
574
py
Python
myanimelist/tag.py
Zenrac/python3-mal
025444816ba23a0a9192265e87b7768d4f5488bf
[ "WTFPL" ]
19
2016-09-20T19:51:35.000Z
2022-01-16T13:54:44.000Z
myanimelist/tag.py
Zenrac/python3-mal
025444816ba23a0a9192265e87b7768d4f5488bf
[ "WTFPL" ]
28
2016-01-03T18:57:11.000Z
2020-02-07T02:06:34.000Z
myanimelist/tag.py
Zenrac/python3-mal
025444816ba23a0a9192265e87b7768d4f5488bf
[ "WTFPL" ]
10
2016-07-07T21:39:53.000Z
2020-02-13T13:49:53.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import re from . import utilities from .base import Base, MalformedPageError, InvalidBaseError, loadable class MalformedTagPageError(MalformedPageError): pass class InvalidTagError(InvalidBaseError): pass class Tag(Base): _id_attribute = "name" def __in...
19.133333
70
0.658537
65
574
5.661538
0.569231
0.086957
0
0
0
0
0
0
0
0
0
0.004566
0.236934
574
29
71
19.793103
0.835616
0.074913
0
0.1875
0
0
0.007576
0
0
0
0
0.034483
0
1
0.125
false
0.1875
0.1875
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
5000704734910fe8b5be66233be73fe2ce4ee38b
2,105
py
Python
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/MassGBXMLExportOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/MassGBXMLExportOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/MassGBXMLExportOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class MassGBXMLExportOptions(object,IDisposable): """ Options used when exporting a gbXML file from a mass model document. MassGBXMLExportOptions(massZoneIds: IList[ElementId]) MassGBXMLExportOptions(massZoneIds: IList[ElementId],massIds: IList[ElementId]) """ def Dispose(self): """ Dispose(self...
27.337662
215
0.695962
243
2,105
5.703704
0.378601
0.080808
0.07215
0.041126
0.279942
0.253968
0.155123
0.155123
0.08153
0.08153
0
0
0.190499
2,105
76
216
27.697368
0.81338
0.606176
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
501b6dacbebae797b700f84244322d1c4f1482f9
3,417
py
Python
thrall/amap/request.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
6
2017-11-16T11:00:53.000Z
2021-05-04T13:56:09.000Z
thrall/amap/request.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
2
2017-12-05T04:13:23.000Z
2018-02-23T03:47:20.000Z
thrall/amap/request.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
1
2018-02-23T02:35:59.000Z
2018-02-23T02:35:59.000Z
# coding: utf-8 from __future__ import absolute_import from six import iteritems import json from thrall.compat import urlencode, unicode from .urls import ( DISRANCE_URL, GEO_CODING_URL, POI_SEARCH_AROUND_URL, POI_SEARCH_TEXT_URL, POI_SUGGEST_URL, REGEO_CODING_URL, NAVI_RIDING_URL, N...
31.934579
76
0.638572
459
3,417
4.448802
0.185185
0.038198
0.064643
0.083252
0.397649
0.318805
0.299216
0.299216
0.299216
0.257101
0
0.001533
0.236465
3,417
106
77
32.235849
0.781142
0.040094
0
0.08
0
0
0.041667
0
0
0
0
0
0
1
0.226667
false
0
0.08
0.146667
0.573333
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
5020dd7216f7640f6f61423a27f02decee95825d
876
py
Python
sensebuffer/protobuff/camerasense_proto.py
SimLeek/sensebuffer
466259e7dc582f1082dfa0ca6a4ac98774001977
[ "MIT" ]
null
null
null
sensebuffer/protobuff/camerasense_proto.py
SimLeek/sensebuffer
466259e7dc582f1082dfa0ca6a4ac98774001977
[ "MIT" ]
null
null
null
sensebuffer/protobuff/camerasense_proto.py
SimLeek/sensebuffer
466259e7dc582f1082dfa0ca6a4ac98774001977
[ "MIT" ]
null
null
null
# This file adds code completion to the auto-generated camerasense_pb2 file. from .camerasense_pb2 import CameraQuanta, CameraLog from .common_proto import _TimeStamp from typing import List, Callable, Union class _CameraProfile( object ): width = 0 height = 0 camera_image = bytearray() class _CameraQua...
28.258065
76
0.703196
91
876
6.593407
0.472527
0.046667
0
0
0
0
0
0
0
0
0
0.007143
0.200913
876
31
77
28.258065
0.85
0.281963
0
0
1
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.904762
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
0
1
1
0
0
3
5063701d0cbf09a92769cd1250b59bd4224e66d7
875
py
Python
examples/15_encryption.py
daschnerm/pyexasol
3aa39dc70fc013482be0ff959ab0d5c0b6ead6a3
[ "MIT" ]
64
2018-03-10T09:25:06.000Z
2021-09-10T15:17:51.000Z
examples/15_encryption.py
daschnerm/pyexasol
3aa39dc70fc013482be0ff959ab0d5c0b6ead6a3
[ "MIT" ]
74
2018-04-12T12:27:21.000Z
2021-10-06T06:37:03.000Z
examples/15_encryption.py
daschnerm/pyexasol
3aa39dc70fc013482be0ff959ab0d5c0b6ead6a3
[ "MIT" ]
34
2018-04-11T15:05:47.000Z
2021-10-05T05:20:00.000Z
""" Example 15 Connection with SSL encryption enabled It works both for WebSocket communication (wss://) and HTTP(S) Transport """ import pyexasol import _config as config import pprint printer = pprint.PrettyPrinter(indent=4, width=140) # Connect with encryption C = pyexasol.connect(dsn=config.dsn, user=config.user...
27.34375
119
0.76
134
875
4.873134
0.5
0.022971
0.045942
0.061256
0.287902
0.287902
0.214395
0.214395
0.104135
0
0
0.012953
0.117714
875
31
120
28.225806
0.832902
0.218286
0
0.133333
0
0
0.315007
0.065379
0
0
0
0
0
1
0
false
0.066667
0.333333
0
0.333333
0.466667
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
0
1
0
3
ac8e066526fa034bc3959d72da8300b8d2a319c9
570
py
Python
ciservice/tests/test_resource_base.py
idekerlab/ci-service-template
5d46f030afe01a959c6afad0af35217347f4483a
[ "MIT" ]
2
2015-10-02T18:41:09.000Z
2015-10-16T20:57:01.000Z
ciservice/tests/test_resource_base.py
afcarl/ci-service-template
5d46f030afe01a959c6afad0af35217347f4483a
[ "MIT" ]
15
2015-05-05T22:46:37.000Z
2021-01-20T22:55:30.000Z
ciservice/tests/test_resource_base.py
afcarl/ci-service-template
5d46f030afe01a959c6afad0af35217347f4483a
[ "MIT" ]
7
2015-04-20T20:48:36.000Z
2015-11-13T02:35:36.000Z
import unittest class TestBaseService(unittest.TestCase): def setUp(self): from ..apiv1.resource_base import BaseResource self.service = BaseResource() def test_get(self): get_result = self.service.get() self.assertIsNotNone(get_result) self.assertEqual(get_result[1],...
23.75
54
0.638596
65
570
5.430769
0.538462
0.127479
0.073654
0.096317
0
0
0
0
0
0
0
0.016706
0.264912
570
23
55
24.782609
0.825776
0.054386
0
0
0
0
0.013035
0
0
0
0
0.043478
0.1875
1
0.25
false
0.0625
0.125
0
0.4375
0.0625
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
ac928ef9e506e80c82c2d5dea79fb04c6d2be50d
171
py
Python
examples/test_inspect_html.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
2
2020-11-12T14:01:49.000Z
2020-11-12T14:01:52.000Z
examples/test_inspect_html.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
null
null
null
examples/test_inspect_html.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
null
null
null
from automation import BaseCase class MyTestClass(BaseCase): def test_html_inspector(self): self.open("https://xkcd.com/1144/") self.inspect_html()
19
43
0.690058
21
171
5.47619
0.809524
0
0
0
0
0
0
0
0
0
0
0.028986
0.192982
171
8
44
21.375
0.804348
0
0
0
0
0
0.128655
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
ac9a2de197c470ffd42fb9b9ca1be8a2f6314d7a
834
py
Python
docxxslt/namespaces.py
backbohne/docx-xslt
d4cc76776a75b8213660c3c1717d42afe5189e15
[ "MIT" ]
6
2015-02-25T20:27:41.000Z
2022-01-10T19:12:43.000Z
docxxslt/namespaces.py
backbohne/docx-xslt
d4cc76776a75b8213660c3c1717d42afe5189e15
[ "MIT" ]
null
null
null
docxxslt/namespaces.py
backbohne/docx-xslt
d4cc76776a75b8213660c3c1717d42afe5189e15
[ "MIT" ]
1
2019-05-21T12:55:42.000Z
2019-05-21T12:55:42.000Z
NAMESPACES = { "o": "urn:schemas-microsoft-com:office:office", "r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "v": "urn:schemas-microsoft-com:vml", "w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "w10": "urn:schemas-microsoft-com:office:word", "w...
55.6
83
0.711031
97
834
6.113402
0.412371
0.148398
0.224283
0.252951
0.350759
0.249578
0.249578
0
0
0
0
0.056728
0.091127
834
14
84
59.571429
0.725594
0
0
0
0
0
0.806954
0.125899
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aca2d4c0ba0901fd23b0420f7fe73cf2b1d1cd56
295
py
Python
djreports/templatetags/djreports_tags.py
grantmcconnaughey/django-reports
34fbd723fc5907e6f87c95cba8f11724e03d89ab
[ "BSD-3-Clause" ]
2
2017-03-16T21:40:21.000Z
2017-04-17T19:56:51.000Z
djreports/templatetags/djreports_tags.py
grantmcconnaughey/django-reports
34fbd723fc5907e6f87c95cba8f11724e03d89ab
[ "BSD-3-Clause" ]
null
null
null
djreports/templatetags/djreports_tags.py
grantmcconnaughey/django-reports
34fbd723fc5907e6f87c95cba8f11724e03d89ab
[ "BSD-3-Clause" ]
null
null
null
from django import template from django.template.loader import render_to_string register = template.Library() @register.simple_tag() def report_table(report): return render_to_string('djreports/report_table.html', {'report': report}) # report_bootstrap2_table # report_bootstrap3_table
21.071429
78
0.80339
38
295
5.947368
0.526316
0.088496
0.123894
0
0
0
0
0
0
0
0
0.007576
0.105085
295
13
79
22.692308
0.848485
0.159322
0
0
0
0
0.134694
0.110204
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
acad2f9f9d1533cfd1956abc64fcc88c59e2e3db
155
py
Python
src/serial_readin.py
timm/textfrak
a7395604cab1eeedb8acc5a66d3e27f29217e314
[ "WTFPL" ]
null
null
null
src/serial_readin.py
timm/textfrak
a7395604cab1eeedb8acc5a66d3e27f29217e314
[ "WTFPL" ]
null
null
null
src/serial_readin.py
timm/textfrak
a7395604cab1eeedb8acc5a66d3e27f29217e314
[ "WTFPL" ]
null
null
null
import time import serial ser = serial.Serial('/dev/cu.usbserial-DN01AAWR', 9600) while True: message = ser.readline() print((message).decode())
17.222222
55
0.696774
20
155
5.4
0.75
0
0
0
0
0
0
0
0
0
0
0.045802
0.154839
155
9
56
17.222222
0.778626
0
0
0
0
0
0.166667
0.166667
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
acbace2948689d356e7f1b0f68659d1a50c3f5c5
186
py
Python
charybdis/app/config/secrets.py
gitter-badger/charybdis
1505258db0a43c5cb6e64e0513c74c6651df92fd
[ "MIT" ]
6
2020-01-20T20:02:09.000Z
2020-02-24T08:40:23.000Z
charybdis/app/config/secrets.py
gitter-badger/charybdis
1505258db0a43c5cb6e64e0513c74c6651df92fd
[ "MIT" ]
null
null
null
charybdis/app/config/secrets.py
gitter-badger/charybdis
1505258db0a43c5cb6e64e0513c74c6651df92fd
[ "MIT" ]
1
2019-10-10T23:46:33.000Z
2019-10-10T23:46:33.000Z
from os import urandom class SecretsConfig: SECRET_KEY = urandom(1024) JWT_ACCESS_LIFESPAN = {"hours": 24} JWT_REFRESH_LIFESPAN = {"days": 30} JWT_ALGORITHM = "HS512"
18.6
39
0.688172
23
186
5.304348
0.826087
0
0
0
0
0
0
0
0
0
0
0.07483
0.209677
186
9
40
20.666667
0.755102
0
0
0
0
0
0.075269
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
acc165fea7210b659049b4307f6efb837ee9fce6
30,870
py
Python
ratio_analysis/report/ratio_analysis_excel.py
pradeepkumarcb/ratio_analysis
b96e39606ff3abe5b9cbdf26d1f0177c47ff8551
[ "MIT" ]
1
2018-04-29T13:52:56.000Z
2018-04-29T13:52:56.000Z
ratio_analysis/report/ratio_analysis_excel.py
pradeepkumarcb/ratio_analysis
b96e39606ff3abe5b9cbdf26d1f0177c47ff8551
[ "MIT" ]
null
null
null
ratio_analysis/report/ratio_analysis_excel.py
pradeepkumarcb/ratio_analysis
b96e39606ff3abe5b9cbdf26d1f0177c47ff8551
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################## # # ODOO, Open Source Management Solution # Copyright (C) 2016-TODAY Steigend IT Solutions # For more details, check COPYRIGHT and LICENSE files # #############################################################...
62.616633
197
0.631843
3,374
30,870
5.378483
0.06313
0.029702
0.039015
0.040888
0.759464
0.712514
0.687001
0.639059
0.637185
0.62903
0
0.01856
0.266958
30,870
492
198
62.743902
0.783375
0.016974
0
0.551122
0
0
0.100553
0.016903
0
0
0
0
0
0
null
null
0
0.009975
null
null
0.002494
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
acc54c16170fe9313d335d00f741c28bc33e4484
86
py
Python
storpdm/__init__.py
StorWater/PdM_mockup
f46d1dfe4528a15c101d7fc69af903991a20da6f
[ "MIT" ]
null
null
null
storpdm/__init__.py
StorWater/PdM_mockup
f46d1dfe4528a15c101d7fc69af903991a20da6f
[ "MIT" ]
null
null
null
storpdm/__init__.py
StorWater/PdM_mockup
f46d1dfe4528a15c101d7fc69af903991a20da6f
[ "MIT" ]
null
null
null
from pathlib import Path DATA_PATH = Path(__file__).parent.parent.absolute() / "data"
28.666667
60
0.767442
12
86
5.083333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.104651
86
3
60
28.666667
0.792208
0
0
0
0
0
0.045977
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
accaf4cdb6f6950c27a717b8c94d51efab4d6e31
2,527
py
Python
Backend/migrations/alembic/versions/296c837aaf67_create_survstat_table.py
dbvis-ukon/coronavis
f00374ac655c9d68541183d28ede6fe5536581dc
[ "Apache-2.0" ]
15
2020-04-24T20:18:11.000Z
2022-01-31T21:05:05.000Z
Backend/migrations/alembic/versions/296c837aaf67_create_survstat_table.py
dbvis-ukon/coronavis
f00374ac655c9d68541183d28ede6fe5536581dc
[ "Apache-2.0" ]
2
2021-05-19T07:15:09.000Z
2022-03-07T08:29:34.000Z
Backend/migrations/alembic/versions/296c837aaf67_create_survstat_table.py
dbvis-ukon/coronavis
f00374ac655c9d68541183d28ede6fe5536581dc
[ "Apache-2.0" ]
4
2020-04-27T16:20:13.000Z
2021-02-23T10:39:42.000Z
"""create survstat table Revision ID: 296c837aaf67 Revises: d5d392162842 Create Date: 2021-03-12 17:41:02.421128 """ from alembic import op # revision identifiers, used by Alembic. revision = '296c837aaf67' down_revision = 'd5d392162842' branch_labels = None depends_on = None ages = "" for a in range(0, 80): a...
20.884298
45
0.619707
425
2,527
3.656471
0.338824
0.387387
0.546976
0.033462
0
0
0
0
0
0
0
0.129181
0.313811
2,527
120
46
21.058333
0.767013
0.059359
0
0
0
0
0.89447
0.030393
0
0
0
0
0
1
0.019231
false
0
0.009615
0
0.028846
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
acf66b942758067529bf913b17d10ac1f9182fb5
274
py
Python
spectate/mvc.py
bollwyvl/spectate
0d89afac9caf849b85c84e3580278bebb3d22eda
[ "MIT" ]
30
2017-08-10T17:13:36.000Z
2022-03-03T18:48:49.000Z
spectate/mvc.py
bollwyvl/spectate
0d89afac9caf849b85c84e3580278bebb3d22eda
[ "MIT" ]
26
2016-08-18T20:21:36.000Z
2021-07-13T02:52:13.000Z
spectate/mvc.py
bollwyvl/spectate
0d89afac9caf849b85c84e3580278bebb3d22eda
[ "MIT" ]
4
2017-08-10T17:13:39.000Z
2021-03-02T19:57:43.000Z
"""A modules which exports specate's Model-View-Controller utilities in a common namespace For more info: - :mod:`spectate.base` - :mod:`spectate.events` - :mod:`spectate.models` """ from .base import * # noqa from .events import * # noqa from .models import * # noqa
21.076923
90
0.70073
38
274
5.052632
0.631579
0.171875
0.145833
0
0
0
0
0
0
0
0
0
0.164234
274
12
91
22.833333
0.838428
0.70438
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
acfe0945d0deb294e4aafa9ec020e776d5bcefc1
413
py
Python
appmap/test/data/trial/test/test_deferred.py
calvinsomething/appmap-python
7234f7cdb240eadfa74a1e6021bc8695ceb60179
[ "MIT" ]
34
2020-12-08T20:57:11.000Z
2022-01-31T09:45:03.000Z
appmap/test/data/trial/test/test_deferred.py
calvinsomething/appmap-python
7234f7cdb240eadfa74a1e6021bc8695ceb60179
[ "MIT" ]
105
2020-12-02T14:29:43.000Z
2022-02-02T10:00:04.000Z
appmap/test/data/trial/test/test_deferred.py
calvinsomething/appmap-python
7234f7cdb240eadfa74a1e6021bc8695ceb60179
[ "MIT" ]
5
2020-11-30T01:18:17.000Z
2021-08-04T10:30:36.000Z
import time from twisted.internet import defer from twisted.internet import reactor from twisted.trial import unittest class TestDeferred(unittest.TestCase): def test_hello_world(self): d = defer.Deferred() def cb(_): self.assertTrue(False) d.addCallback(cb) reactor...
19.666667
46
0.670702
53
413
5.132075
0.622642
0.121324
0.139706
0.183824
0
0
0
0
0
0
0
0.003215
0.246973
413
20
47
20.65
0.871383
0
0
0
0
0
0.029056
0
0
0
0
0
0.076923
1
0.153846
false
0
0.307692
0
0.615385
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
4a03bf968a41c0f5f2cd8de84f0b967ccd85da06
1,021
py
Python
accounts/migrations/0004_auto_20200404_1315.py
BVPIEEE/hackathon_portal
0a67704ae42d5680c6f4d05ca9c63a1f06f556c0
[ "Apache-2.0" ]
3
2020-04-07T12:25:59.000Z
2020-04-16T18:21:27.000Z
accounts/migrations/0004_auto_20200404_1315.py
BVPIEEE/hackathon_portal
0a67704ae42d5680c6f4d05ca9c63a1f06f556c0
[ "Apache-2.0" ]
3
2021-03-30T12:57:08.000Z
2021-09-22T18:48:35.000Z
accounts/migrations/0004_auto_20200404_1315.py
BVPIEEE/hackathon_portal
0a67704ae42d5680c6f4d05ca9c63a1f06f556c0
[ "Apache-2.0" ]
1
2020-04-16T18:21:38.000Z
2020-04-16T18:21:38.000Z
# Generated by Django 3.0.4 on 2020-04-04 07:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20200402_1849'), ] operations = [ migrations.RemoveField( model_name='phaseselectionmodel', ...
26.179487
50
0.536729
76
1,021
7.092105
0.526316
0.100186
0.311688
0.356215
0.491651
0.491651
0
0
0
0
0
0.055215
0.36141
1,021
38
51
26.868421
0.771472
0.044074
0
0.53125
1
0
0.199786
0.024573
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
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
4a1762f2e84f20b91c791155e3b93550237ffa3b
169
py
Python
pyensemblorthologues/__init__.py
Uauy-Lab/pyensemblorthologues
352119c30572bc493650db3fe22ae8855ca51949
[ "MIT" ]
null
null
null
pyensemblorthologues/__init__.py
Uauy-Lab/pyensemblorthologues
352119c30572bc493650db3fe22ae8855ca51949
[ "MIT" ]
null
null
null
pyensemblorthologues/__init__.py
Uauy-Lab/pyensemblorthologues
352119c30572bc493650db3fe22ae8855ca51949
[ "MIT" ]
null
null
null
"""Top-level package for PyEnsemblOrthologues.""" __author__ = """Ricardo H. Ramirez-Gonzalez""" __email__ = "ricardo.ramirez-gonzalez@jic.ac.uk" __version__ = "0.1.2"
28.166667
49
0.727811
21
169
5.285714
0.857143
0.27027
0
0
0
0
0
0
0
0
0
0.019608
0.094675
169
5
50
33.8
0.705882
0.254438
0
0
0
0
0.55
0.283333
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
c5865c7f6d20e4a77fb1815e1726a314411f1ae7
6,548
py
Python
snaql_migration/tests/test_migrations.py
vgalaktionov/snaql-migration
1df216a5b3de45ceb099203d25ce95c32c50aa5f
[ "MIT" ]
1
2017-03-11T23:32:57.000Z
2017-03-11T23:32:57.000Z
snaql_migration/tests/test_migrations.py
vgalaktionov/snaql-migration
1df216a5b3de45ceb099203d25ce95c32c50aa5f
[ "MIT" ]
null
null
null
snaql_migration/tests/test_migrations.py
vgalaktionov/snaql-migration
1df216a5b3de45ceb099203d25ce95c32c50aa5f
[ "MIT" ]
1
2018-10-20T08:42:55.000Z
2018-10-20T08:42:55.000Z
import yaml try: import unittest2 as unittest except ImportError: import unittest from click.testing import CliRunner from snaql_migration.snaql_migration import DBWrapper, snaql_migration class TestMigrations(unittest.TestCase): CONFIG_VALID = 'snaql_migration/tests/config.yml' CONFIG_INVALID = 's...
41.443038
120
0.633781
766
6,548
5.224543
0.134465
0.052474
0.041229
0.050975
0.74088
0.732384
0.726887
0.676162
0.676162
0.674163
0
0.014214
0.237172
6,548
157
121
41.707006
0.786987
0.01069
0
0.539823
0
0
0.282669
0.072907
0
0
0
0
0.318584
1
0.079646
false
0
0.053097
0
0.159292
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
c5ad959c36640593598cb0842f37d1a5032ecfd3
158
py
Python
planes_around/__init__.py
vladimir-vovk/planes-around
14afa5766013c60574943397f7fe0788ccdbdcb0
[ "MIT" ]
2
2018-03-12T06:15:16.000Z
2020-11-26T18:22:05.000Z
planes_around/__init__.py
vladimir-vovk/planes-around
14afa5766013c60574943397f7fe0788ccdbdcb0
[ "MIT" ]
1
2021-06-01T22:35:54.000Z
2021-06-01T22:35:54.000Z
planes_around/__init__.py
vladimir-vovk/planes-around
14afa5766013c60574943397f7fe0788ccdbdcb0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from planes_around.utils import ( get_data, get_data_for_location, get_user_location, get_location_by_name) __version__ = '0.9'
22.571429
77
0.740506
24
158
4.291667
0.75
0.135922
0
0
0
0
0
0
0
0
0
0.022059
0.139241
158
6
78
26.333333
0.735294
0.132911
0
0
0
0
0.022222
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
c5df12a2cff0fb322aeb400a101825eec2880a60
182
py
Python
saleor/dashboard/dashboardimages/urls.py
austineinstein/Dsaleor
d181f395f66bbaa7ba24edf9860a8f52c3c2af65
[ "BSD-3-Clause" ]
null
null
null
saleor/dashboard/dashboardimages/urls.py
austineinstein/Dsaleor
d181f395f66bbaa7ba24edf9860a8f52c3c2af65
[ "BSD-3-Clause" ]
null
null
null
saleor/dashboard/dashboardimages/urls.py
austineinstein/Dsaleor
d181f395f66bbaa7ba24edf9860a8f52c3c2af65
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.image_list, name='images'), url(r'^add/$', views.image_create, name='image-update') ]
20.222222
59
0.664835
26
182
4.576923
0.615385
0.067227
0
0
0
0
0
0
0
0
0
0
0.153846
182
8
60
22.75
0.772727
0
0
0
0
0
0.142857
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
c5f6174c877aa8b3e58a97c7b8b2779c57f88afc
10,758
py
Python
mapclientplugins/fieldworkhostmeshfittingstep/resources_rc.py
tsalemink/fieldworkhostmeshfittingstep
093d55d5789309eb8d347e256bdb1ed13302a3bd
[ "Apache-2.0" ]
null
null
null
mapclientplugins/fieldworkhostmeshfittingstep/resources_rc.py
tsalemink/fieldworkhostmeshfittingstep
093d55d5789309eb8d347e256bdb1ed13302a3bd
[ "Apache-2.0" ]
null
null
null
mapclientplugins/fieldworkhostmeshfittingstep/resources_rc.py
tsalemink/fieldworkhostmeshfittingstep
093d55d5789309eb8d347e256bdb1ed13302a3bd
[ "Apache-2.0" ]
1
2021-06-03T04:08:24.000Z
2021-06-03T04:08:24.000Z
# Resource object code (Python 3) # Created by: object code # Created by: The Resource Compiler for Qt version 5.15.2 # WARNING! All changes made in this file will be lost! from PySide2 import QtCore qt_resource_data = b"\ \x00\x00\x0b\xba\ \x89\ PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\ \x00\x00@\x00\x...
45.584746
97
0.69855
2,306
10,758
3.245013
0.287077
0.062542
0.06615
0.057731
0.072164
0.071362
0.068956
0.068555
0.068555
0.068555
0
0.239953
0.049359
10,758
235
98
45.778723
0.491738
0.015244
0
0.03125
0
0.678571
0.009755
0.008113
0
0
0.000773
0
0
1
0.008929
false
0
0.004464
0
0.013393
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3