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
2e888f1091cfa23080716b1ebf61fc4d860e77c6
2,805
py
Python
dataloader/data_tfidf.py
mgadel/Text_Browser
7d76f316995c6db83ab1936b17ea7468f5dd1198
[ "MIT" ]
null
null
null
dataloader/data_tfidf.py
mgadel/Text_Browser
7d76f316995c6db83ab1936b17ea7468f5dd1198
[ "MIT" ]
null
null
null
dataloader/data_tfidf.py
mgadel/Text_Browser
7d76f316995c6db83ab1936b17ea7468f5dd1198
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Nov 30 16:40:50 2021 @author: mgadel """ from sklearn.feature_extraction.text import TfidfVectorizer # 4 - BAG OF WORDS METHOD / VECTORIZATION ''' It is basic model used in natural language processing. Why it is called bag of words because any order of the words in the ...
37.905405
105
0.757932
463
2,805
4.552916
0.399568
0.026091
0.021347
0.017078
0.020873
0.020873
0
0
0
0
0
0.009713
0.192513
2,805
73
106
38.424658
0.92053
0.040998
0
0
0
0
0.016393
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ced2a1eba06dd824c2be96417dd250e14cd9fa0
134
py
Python
setup.py
carissableker/mpi4pydistributor
3a2d434e290c0b377eaee20dd9efe8b507ab3d38
[ "MIT" ]
null
null
null
setup.py
carissableker/mpi4pydistributor
3a2d434e290c0b377eaee20dd9efe8b507ab3d38
[ "MIT" ]
1
2019-01-25T22:48:13.000Z
2019-01-25T22:48:13.000Z
setup.py
carissableker/mpi4pydistributor
3a2d434e290c0b377eaee20dd9efe8b507ab3d38
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='mpi4pydistributor', version='0.1', py_modules=['mpi4pydistributor'], )
22.333333
39
0.671642
14
134
6.357143
0.857143
0
0
0
0
0
0
0
0
0
0
0.037037
0.19403
134
5
40
26.8
0.787037
0
0
0
0
0
0.276119
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cf1caa7b1df18b0dc65dd6b97e9aaee8dbbb651d
1,110
py
Python
prettyprinter/utils.py
anntzer/prettyprinter
53ba5f934f24228315ef10898fc2b73370349696
[ "MIT" ]
344
2017-12-14T18:16:25.000Z
2022-01-04T01:26:02.000Z
prettyprinter/utils.py
anntzer/prettyprinter
53ba5f934f24228315ef10898fc2b73370349696
[ "MIT" ]
70
2017-12-18T09:55:34.000Z
2021-11-15T17:47:23.000Z
prettyprinter/utils.py
anntzer/prettyprinter
53ba5f934f24228315ef10898fc2b73370349696
[ "MIT" ]
39
2017-12-30T10:54:52.000Z
2022-02-14T18:29:47.000Z
from itertools import islice import shutil def intersperse(x, ys): """ Returns an iterable where ``x`` is inserted between each element of ``ys`` :type ys: Iterable """ it = iter(ys) try: y = next(it) except StopIteration: return yield y for y in it: ...
16.818182
60
0.598198
150
1,110
4.293333
0.42
0.032609
0.049689
0
0
0
0
0
0
0
0
0.005155
0.300901
1,110
65
61
17.076923
0.824742
0.084685
0
0.051282
0
0
0.019153
0
0
0
0
0
0
1
0.205128
false
0
0.051282
0.102564
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cf39c391d3a5eadf7fbe2388e6570ea71c61035d
201
py
Python
lib/galaxy/schema/types.py
quacksawbones/galaxy-1
65f7259b29d3886e526d9be670c60d9da9fbe038
[ "CC-BY-3.0" ]
1,085
2015-02-18T16:14:38.000Z
2022-03-30T23:52:07.000Z
lib/galaxy/schema/types.py
quacksawbones/galaxy-1
65f7259b29d3886e526d9be670c60d9da9fbe038
[ "CC-BY-3.0" ]
11,253
2015-02-18T17:47:32.000Z
2022-03-31T21:47:03.000Z
lib/galaxy/schema/types.py
quacksawbones/galaxy-1
65f7259b29d3886e526d9be670c60d9da9fbe038
[ "CC-BY-3.0" ]
1,000
2015-02-18T16:18:10.000Z
2022-03-29T08:22:56.000Z
from typing_extensions import Literal # Relative URLs cannot be validated with AnyUrl, they need a scheme. # Making them an alias of `str` for now RelativeUrl = str LatestLiteral = Literal["latest"]
25.125
68
0.776119
29
201
5.344828
0.931034
0
0
0
0
0
0
0
0
0
0
0
0.164179
201
7
69
28.714286
0.922619
0.517413
0
0
0
0
0.06383
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
cf4461d1708e15befca14c5ed60a15fbf31e4248
737
py
Python
openfda/deploy/tests/devicepma/test_endpoint.py
hobochili/openfda
9958c4bc3d04d2e9cfc75f9cd894ad07a45e9141
[ "CC0-1.0" ]
388
2015-01-09T18:50:35.000Z
2022-03-24T10:15:23.000Z
openfda/deploy/tests/devicepma/test_endpoint.py
hobochili/openfda
9958c4bc3d04d2e9cfc75f9cd894ad07a45e9141
[ "CC0-1.0" ]
150
2015-01-21T20:30:54.000Z
2022-03-28T20:46:29.000Z
openfda/deploy/tests/devicepma/test_endpoint.py
hobochili/openfda
9958c4bc3d04d2e9cfc75f9cd894ad07a45e9141
[ "CC0-1.0" ]
113
2015-01-31T21:24:16.000Z
2022-01-30T15:17:28.000Z
from nose.tools import * import requests from openfda.tests.api_test_helpers import * from nose.tools import * def test_not_analyzed_0(): assert_total('/device/pma.json?search=openfda.regulation_number:876.5270', 290) def test_exact_count_0(): assert_count_top('/device/pma.json?count=supplement_type.exact', ['...
28.346154
172
0.763908
112
737
4.794643
0.5
0.065177
0.121043
0.148976
0.324022
0.324022
0.324022
0.18622
0.18622
0
0
0.100299
0.093623
737
25
173
29.48
0.703593
0
0
0.142857
0
0
0.483039
0.369064
0
0
0
0
0.357143
1
0.357143
true
0
0.285714
0
0.642857
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
1
0
0
0
1
0
0
3
cf47668219e418268fc2388412f83f41d12f28dd
2,832
py
Python
S9/EVA4/Net.py
VijayPrakashReddy-k/EVA
fd78ff8bda4227aebd0f5db14865d3c5a47b19b0
[ "MIT" ]
null
null
null
S9/EVA4/Net.py
VijayPrakashReddy-k/EVA
fd78ff8bda4227aebd0f5db14865d3c5a47b19b0
[ "MIT" ]
null
null
null
S9/EVA4/Net.py
VijayPrakashReddy-k/EVA
fd78ff8bda4227aebd0f5db14865d3c5a47b19b0
[ "MIT" ]
null
null
null
from torchsummary import summary import torch import torch.nn as nn import torch.nn.functional as F from Modeltrainer import ModelTrainer class Net(nn.Module): """ Base network that defines helper functions, summary and mapping to device """ def conv2d(self, in_channels, out_channels, kernel_size=(3,3...
48.827586
240
0.709746
390
2,832
4.946154
0.194872
0.096941
0.128046
0.097978
0.65267
0.65267
0.55832
0.55832
0.55832
0.55832
0
0.018065
0.179025
2,832
57
241
49.684211
0.811613
0.033898
0
0
0
0
0.009191
0
0
0
0
0
0
1
0.257143
false
0
0.142857
0.142857
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cf51318655194f5e5440a4c9d1873d300d503b69
158
py
Python
d-series/d550.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
1
2018-10-21T10:03:42.000Z
2018-10-21T10:03:42.000Z
d-series/d550.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
null
null
null
d-series/d550.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
2
2018-10-12T16:40:11.000Z
2021-04-05T12:05:36.000Z
a, b = [int(x) for x in input().split()] out = [] for _ in range(a): out.append([int(x) for x in input().split()]) out.sort() for x in out: print(*x)
19.75
49
0.556962
31
158
2.806452
0.419355
0.137931
0.206897
0.183908
0.528736
0.528736
0.528736
0.528736
0
0
0
0
0.21519
158
7
50
22.571429
0.701613
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
1
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
0
0
3
cf538de1832d0eab5184277ad695de658d14a819
1,884
py
Python
info/__init__.py
yemomowuwen/blog
783e90854a830a9127f278b8cd87c2989bf5595c
[ "MIT" ]
null
null
null
info/__init__.py
yemomowuwen/blog
783e90854a830a9127f278b8cd87c2989bf5595c
[ "MIT" ]
5
2021-03-19T00:49:37.000Z
2022-03-11T23:47:48.000Z
info/__init__.py
yemomowuwen/blog
783e90854a830a9127f278b8cd87c2989bf5595c
[ "MIT" ]
null
null
null
import redis import logging from flask import Flask from flask_sqlalchemy import SQLAlchemy from config import config from flask_wtf.csrf import CSRFProtect, generate_csrf from flask_session import Session from logging.handlers import RotatingFileHandler from flask_restful import Api, Resource db = SQLAlchemy() redis_...
28.545455
98
0.739384
233
1,884
5.738197
0.429185
0.033657
0.031414
0.026926
0
0
0
0
0
0
0
0.008431
0.181529
1,884
65
99
28.984615
0.858625
0.138535
0
0
1
0
0.048842
0.014402
0
0
0
0
0
1
0.076923
false
0.051282
0.307692
0
0.435897
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
cf5b48381ccc1f84f029eea55989f1020110611c
7,538
py
Python
nafigator/linguisticprocessor.py
DeNederlandscheBank/nafigator
02f8bf4e0962430429cc2c4fdfc79d2d90a16363
[ "MIT" ]
1
2022-01-17T14:41:25.000Z
2022-01-17T14:41:25.000Z
nafigator/linguisticprocessor.py
DeNederlandscheBank/nafigator
02f8bf4e0962430429cc2c4fdfc79d2d90a16363
[ "MIT" ]
3
2021-11-03T14:53:25.000Z
2022-02-22T13:21:13.000Z
nafigator/linguisticprocessor.py
DeNederlandscheBank/nafigator
02f8bf4e0962430429cc2c4fdfc79d2d90a16363
[ "MIT" ]
1
2021-11-17T10:48:19.000Z
2021-11-17T10:48:19.000Z
# -*- coding: utf-8 -*- """Linguistic processor module. This module contains the linguistic classes for nafigator """ try: import spacy SPACY_IMPORTED = True except: SPACY_IMPORTED = False try: import stanza STANZA_IMPORTED = True except: STANZA_IMPORTED = False if SPACY_IMPORTED: c...
27.311594
111
0.52693
812
7,538
4.745074
0.157635
0.038152
0.066442
0.072671
0.604983
0.497794
0.44926
0.263172
0.146899
0.146899
0
0.00557
0.380738
7,538
275
112
27.410909
0.819837
0.055054
0
0.554348
0
0.005435
0.065164
0.028707
0
0
0
0
0
1
0.266304
false
0
0.043478
0.217391
0.597826
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
cf656ec0dc507d3c54238e4250943a489840bc44
112
py
Python
tests/apps/bad_rollback_flow_change_char_type_that_safe_app/models.py
15five/django-pg-zero-downtime-migrations
fc6d7ddf28f09ca2c10ff9a0e2f9a86e04675139
[ "MIT" ]
376
2018-08-21T07:05:20.000Z
2022-03-26T00:41:10.000Z
tests/apps/bad_rollback_flow_change_char_type_that_safe_app/models.py
15five/django-pg-zero-downtime-migrations
fc6d7ddf28f09ca2c10ff9a0e2f9a86e04675139
[ "MIT" ]
17
2018-10-23T19:44:13.000Z
2022-03-17T01:28:16.000Z
tests/apps/bad_rollback_flow_change_char_type_that_safe_app/models.py
15five/django-pg-zero-downtime-migrations
fc6d7ddf28f09ca2c10ff9a0e2f9a86e04675139
[ "MIT" ]
17
2018-09-06T10:06:54.000Z
2022-03-21T04:44:45.000Z
from django.db import models class TestTable(models.Model): char_filed = models.CharField(max_length=120)
18.666667
49
0.776786
16
112
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0.030928
0.133929
112
5
50
22.4
0.845361
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cf7c605b0c1d935af59072c39360622a21c472fd
1,195
py
Python
colourmap/examples.py
erdogant/colourmap
82a005ce551d668f666b4380c9600b4d841628e0
[ "MIT" ]
null
null
null
colourmap/examples.py
erdogant/colourmap
82a005ce551d668f666b4380c9600b4d841628e0
[ "MIT" ]
null
null
null
colourmap/examples.py
erdogant/colourmap
82a005ce551d668f666b4380c9600b4d841628e0
[ "MIT" ]
null
null
null
import colourmap print(colourmap.__version__) # %% colors = colourmap.linear_gradient("#000000", finish_hex="#FFFFFF", n=10) # %% colors = colourmap.generate(10, cmap='Set1', keep_alpha=False) # %% Convert RGB to hex hexcolors = colourmap.rgb2hex(colors) # %% Convert hex to RGB colors_2 = colourmap.hex2rgb(hexcolor...
25.978261
76
0.740586
174
1,195
4.994253
0.247126
0.101266
0.18412
0.266974
0.535098
0.535098
0.491369
0.491369
0.491369
0.491369
0
0.047575
0.102929
1,195
45
77
26.555556
0.76306
0.214226
0
0.45
1
0
0.072589
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.05
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
cf892c693adc297d1ae07d511a35267bcf77d550
561
py
Python
exercises/test_05_03.py
ruslan-kl/py-for-neuro
fcb463e0e6a724e9e1e8b644084aaead6489afe6
[ "MIT" ]
7
2021-04-28T13:12:16.000Z
2022-01-15T00:21:11.000Z
exercises/test_05_03.py
ruslan-kl/py-for-neuro
fcb463e0e6a724e9e1e8b644084aaead6489afe6
[ "MIT" ]
2
2021-04-02T18:42:55.000Z
2021-05-20T08:43:06.000Z
exercises/test_05_03.py
ruslan-kl/py-for-neuro
fcb463e0e6a724e9e1e8b644084aaead6489afe6
[ "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...
46.75
97
0.72549
83
561
4.686747
0.746988
0.025707
0
0
0
0
0
0
0
0
0
0.009009
0.208556
561
11
98
51
0.867117
0.527629
0
0
0
0
0.46332
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
d86ba923bd95fb65937c1f7705ce31cbe65d4cb6
85
py
Python
trunk/ncore/apps.py
zhaojiejoe/django-friendly-response
93cd565ebf769c33b3e8e7c00fc1f3ce4b273dc5
[ "MIT" ]
null
null
null
trunk/ncore/apps.py
zhaojiejoe/django-friendly-response
93cd565ebf769c33b3e8e7c00fc1f3ce4b273dc5
[ "MIT" ]
null
null
null
trunk/ncore/apps.py
zhaojiejoe/django-friendly-response
93cd565ebf769c33b3e8e7c00fc1f3ce4b273dc5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NcoreConfig(AppConfig): name = 'ncore'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d873606dc150c56a5b6855c69b425a150cff39b2
102
py
Python
HelloWorld/hello_world.py
rjigyesh7/HacktoberChallenges
666232d0a76aff3e97c850129fafbf25703e3656
[ "MIT" ]
35
2018-10-01T15:55:30.000Z
2018-10-16T09:05:50.000Z
HelloWorld/hello_world.py
rjigyesh7/HacktoberChallenges
666232d0a76aff3e97c850129fafbf25703e3656
[ "MIT" ]
432
2018-10-01T04:51:35.000Z
2018-10-18T04:04:09.000Z
HelloWorld/hello_world.py
rjigyesh7/HacktoberChallenges
666232d0a76aff3e97c850129fafbf25703e3656
[ "MIT" ]
415
2018-10-01T04:54:52.000Z
2018-10-18T03:07:16.000Z
# By NCPlayz - https://github.com/NCPlayz name = input("Enter your name: ") print("Hello "+name+"!")
20.4
41
0.647059
14
102
4.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.137255
102
4
42
25.5
0.75
0.382353
0
0
0
0
0.393443
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d8a4e067c3643df0a731f9b31d7697a889590370
164
py
Python
microservices/svc/greeter/conf.py
sato-mh/skeletonpy
3282b669c70250825ec7f8431e3c512b103c79cc
[ "MIT" ]
null
null
null
microservices/svc/greeter/conf.py
sato-mh/skeletonpy
3282b669c70250825ec7f8431e3c512b103c79cc
[ "MIT" ]
null
null
null
microservices/svc/greeter/conf.py
sato-mh/skeletonpy
3282b669c70250825ec7f8431e3c512b103c79cc
[ "MIT" ]
null
null
null
import os GREETER_ADDRESS = os.environ.get('GREETER_ADDRESS', '0.0.0.0:5050') IP_ADDRESS = GREETER_ADDRESS.split(':')[0] PORT = int(GREETER_ADDRESS.split(':')[1])
27.333333
67
0.713415
26
164
4.307692
0.5
0.5
0.053571
0
0
0
0
0
0
0
0
0.066225
0.079268
164
5
68
32.8
0.675497
0
0
0
0
0
0.176829
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8c095fa6c4f1592eeea757dc850541910c4b56f
2,866
py
Python
nanpaeta/settings.py
ETAChalmers/nanpaETA
e478eca6d923f53fa9be6419837a13a2f41f02e0
[ "MIT" ]
null
null
null
nanpaeta/settings.py
ETAChalmers/nanpaETA
e478eca6d923f53fa9be6419837a13a2f41f02e0
[ "MIT" ]
null
null
null
nanpaeta/settings.py
ETAChalmers/nanpaETA
e478eca6d923f53fa9be6419837a13a2f41f02e0
[ "MIT" ]
1
2021-09-29T11:17:14.000Z
2021-09-29T11:17:14.000Z
""" Django settings for nanpaeta project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os f...
24.288136
91
0.671319
305
2,866
6.196721
0.459016
0.103175
0.062963
0.05291
0.16455
0.16455
0.082011
0.082011
0.063492
0
0
0.010283
0.185625
2,866
117
92
24.495727
0.799486
0.162596
0
0
1
0
0.54713
0.42522
0
0
0
0
0
1
0
false
0.078947
0.039474
0
0.039474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d8d7f310f80cf6446f5c69e99e84c36ab96316e9
45
py
Python
usonic/__init__.py
macpaul/usonic
92ed69c785aebd54ecdf3e2553a6edc26d5e5878
[ "MIT" ]
null
null
null
usonic/__init__.py
macpaul/usonic
92ed69c785aebd54ecdf3e2553a6edc26d5e5878
[ "MIT" ]
null
null
null
usonic/__init__.py
macpaul/usonic
92ed69c785aebd54ecdf3e2553a6edc26d5e5878
[ "MIT" ]
null
null
null
__author__ = 'macpaul' __version__ = '0.0.1'
15
22
0.688889
6
45
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.076923
0.133333
45
2
23
22.5
0.512821
0
0
0
0
0
0.266667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8d9c85f544852d9927b80d48383c23b7535f1ee
61
py
Python
fakeme/cli/__init__.py
xnuinside/fakeme
84a26b41db348206532c3480ae91118ad9352f20
[ "MIT" ]
3
2021-03-22T04:51:47.000Z
2021-12-27T03:37:38.000Z
fakeme/cli/__init__.py
xnuinside/fakeme
84a26b41db348206532c3480ae91118ad9352f20
[ "MIT" ]
null
null
null
fakeme/cli/__init__.py
xnuinside/fakeme
84a26b41db348206532c3480ae91118ad9352f20
[ "MIT" ]
null
null
null
from fakeme.cli.cli import run_cli as cli __all__ = ["cli"]
15.25
41
0.721311
11
61
3.545455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.163934
61
3
42
20.333333
0.764706
0
0
0
0
0
0.04918
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
d8f09d919d46a0ca07f078c55e606c36289a1632
2,310
py
Python
Nodes/Expression.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
Nodes/Expression.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
Nodes/Expression.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
from Errors import VariableTypeError # expressions node from State.SymbolTable import table class Node: def __init__(self, left, op=None, right=None): self.left = left self.op = op self.right = right def visit(self, context): if not self.op: return self.left.visi...
32.535211
75
0.568831
270
2,310
4.851852
0.148148
0.247328
0.148855
0.229008
0.68626
0.68626
0.68626
0.658779
0.628244
0.628244
0
0.001226
0.293939
2,310
70
76
33
0.801962
0.029437
0
0.041667
0
0
0.024565
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.4375
0
0
0
0
null
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8fe6e6586276e048cd35197aba812025b177e1a
260
py
Python
6. Error Handling and Debugging/6.4. Find Zero.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
6. Error Handling and Debugging/6.4. Find Zero.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
6. Error Handling and Debugging/6.4. Find Zero.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
def find_zero(x): index1=0 index1_zero=-1 for number in x: try: 1000/number index1+=1 except ZeroDivisionError: index1_zero=index1 return index1_zero return index1_zero
21.666667
34
0.530769
29
260
4.586207
0.517241
0.300752
0.240602
0
0
0
0
0
0
0
0
0.092715
0.419231
260
11
35
23.636364
0.788079
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b02320bdd80702551efa1a23777603b69ae9edf
987
py
Python
seven23/models/tokens/migrations/0006_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
27
2019-03-07T17:23:59.000Z
2022-01-29T16:08:09.000Z
seven23/models/tokens/migrations/0006_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
31
2017-06-14T08:19:48.000Z
2022-01-26T14:55:39.000Z
seven23/models/tokens/migrations/0006_auto_20190318_1339.py
sebastienbarbier/723e_server
3501d143d371355a88bf3129828a9d5fd61d6be4
[ "MIT" ]
14
2019-07-22T09:49:13.000Z
2021-12-21T08:52:02.000Z
# Generated by Django 2.1 on 2019-03-18 13:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tokens', '0005_auto_20170815_1142'), ] operations = [ migrations.RemoveField( model_name='allowaccountaccesstoken', name='abst...
24.675
49
0.559271
72
987
7.527778
0.486111
0.193727
0.239852
0.276753
0.54428
0.54428
0.184502
0
0
0
0
0.046012
0.339412
987
39
50
25.307692
0.785276
0.043566
0
0.636364
1
0
0.223992
0.122081
0
0
0
0
0
1
0
false
0
0.030303
0
0.121212
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
2b03c4ee26682b49511b264082e72ea806a334fc
909
py
Python
nevermined_sdk_py/nevermined/keeper.py
nevermined-io/sdk-py
1e8872688c7181d502d2647f81cfc9786f771f22
[ "Apache-2.0" ]
1
2020-12-02T13:49:55.000Z
2020-12-02T13:49:55.000Z
nevermined_sdk_py/nevermined/keeper.py
nevermined-io/sdk-py
1e8872688c7181d502d2647f81cfc9786f771f22
[ "Apache-2.0" ]
17
2020-11-20T15:07:43.000Z
2021-10-20T13:18:16.000Z
nevermined_sdk_py/nevermined/keeper.py
nevermined-io/sdk-py
1e8872688c7181d502d2647f81cfc9786f771f22
[ "Apache-2.0" ]
1
2021-05-14T08:49:37.000Z
2021-05-14T08:49:37.000Z
import logging from contracts_lib_py import Keeper class NeverminedKeeper(Keeper): @staticmethod def get_instance(artifacts_path=None, contract_names=None): return NeverminedKeeper(artifacts_path) def get_condition_name_by_address(self, address): """Return the condition name for a given...
34.961538
86
0.687569
98
909
6.183673
0.489796
0.128713
0.189769
0.239274
0.118812
0
0
0
0
0
0
0
0.239824
909
25
87
36.36
0.87699
0.050605
0
0
0
0
0.136523
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0.052632
0.578947
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
2b0cd7ecf6e3c80c097c832ebcf01ca0046a414c
472
py
Python
sam_app/sam_app/view_layer/view_hello_world.py
csjy309450/SAM-Backend
a23569ea372f718ca4a167e21e8046336db00561
[ "MIT" ]
null
null
null
sam_app/sam_app/view_layer/view_hello_world.py
csjy309450/SAM-Backend
a23569ea372f718ca4a167e21e8046336db00561
[ "MIT" ]
null
null
null
sam_app/sam_app/view_layer/view_hello_world.py
csjy309450/SAM-Backend
a23569ea372f718ca4a167e21e8046336db00561
[ "MIT" ]
null
null
null
from pyramid.response import Response from pyramid.view import view_config from sam_core.view_base import ViewBase from sam_core.res_obj import ResBase class ResHello(ResBase): def __init__(self, errorCode): super(ResHello, self).__init__(errorCode) self.hello = 'Hello World' class ViewHelloWorl...
26.222222
53
0.735169
60
472
5.416667
0.45
0.067692
0.067692
0
0
0
0
0
0
0
0
0.002591
0.182203
472
18
54
26.222222
0.839378
0
0
0
0
0
0.023256
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
2b2397431dde6143786db497dea3b0bc3e15841f
3,444
py
Python
credentials.py
Otybrian/password-locker
b293c443c0b78285144a0d9311de49e16ef25d7d
[ "MIT" ]
null
null
null
credentials.py
Otybrian/password-locker
b293c443c0b78285144a0d9311de49e16ef25d7d
[ "MIT" ]
null
null
null
credentials.py
Otybrian/password-locker
b293c443c0b78285144a0d9311de49e16ef25d7d
[ "MIT" ]
null
null
null
from random import choice import string import pyperclip class Credentials: """ This class generates instances of a user's credentials """ user_credential_list = [] def __init__(self, user_account, user_name, password): """ This method defines the cre...
31.888889
118
0.590592
360
3,444
5.472222
0.288889
0.092386
0.118782
0.04264
0.177665
0.119797
0.119797
0.119797
0.067005
0.067005
0
0.001348
0.353949
3,444
107
119
32.186916
0.884045
0.261034
0
0.295455
1
0
0.003861
0
0
0
0
0
0
1
0.204545
false
0.272727
0.068182
0
0.477273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
2b3169ee0f8201fbe34ba59ce18a773d96f51808
131
py
Python
src/profiles_project/profiles_api/urls.py
parasdtu/profiles-rest-api
40c1e3372cca1f23e79e2ae1cab6797dee3c2b92
[ "MIT" ]
1
2020-10-01T20:35:13.000Z
2020-10-01T20:35:13.000Z
src/profiles_project/profiles_api/urls.py
parasdtu/profiles-rest-api
40c1e3372cca1f23e79e2ae1cab6797dee3c2b92
[ "MIT" ]
null
null
null
src/profiles_project/profiles_api/urls.py
parasdtu/profiles-rest-api
40c1e3372cca1f23e79e2ae1cab6797dee3c2b92
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns= [ url(r'^hello-view',views.HelloApiView.as_view()), ]
18.714286
54
0.687023
18
131
4.944444
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.175573
131
6
55
21.833333
0.824074
0
0
0
0
0
0.088
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2b367023e27e96f0ff5d1f0708cefeb047ecef62
7,719
py
Python
lang-python/src/test/resources/tiny_py_interpreter/tinypy/AST/expr.py
nrs011/steady
bddae18072cd5b330a866a299b4f8419608f8559
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
357
2018-10-16T08:02:37.000Z
2020-01-23T11:32:21.000Z
lang-python/src/test/resources/tiny_py_interpreter/tinypy/AST/expr.py
mendickxiao/vulnerability-assessment-tool
dc64eb9b970aea95f825f974940aed4b54caba8d
[ "Apache-2.0" ]
90
2018-10-16T14:13:30.000Z
2019-12-16T17:57:40.000Z
lang-python/src/test/resources/tiny_py_interpreter/tinypy/AST/expr.py
mendickxiao/vulnerability-assessment-tool
dc64eb9b970aea95f825f974940aed4b54caba8d
[ "Apache-2.0" ]
84
2018-10-15T22:36:43.000Z
2020-01-07T01:30:00.000Z
from enum import Enum import operator from tinypy.AST.ast import Expression, MemoryContext from tinypy import runtime """ # Binary arithmetic, bitwise and logic operations """ class BinOp(Expression): def __init__(self, left:Expression, right:Expression): super().__init__() self.left = left ...
23.897833
74
0.598005
908
7,719
4.865639
0.193833
0.054323
0.054776
0.046175
0.387053
0.329787
0.274332
0.260299
0.24536
0.227252
0
0.001622
0.280995
7,719
323
75
23.897833
0.794414
0.005312
0
0.347418
0
0
0.020017
0
0
0
0
0
0
1
0.239437
false
0
0.018779
0.107981
0.57277
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
2b5928a07c557fb3bb5b096554ae7962a174ddd2
215
py
Python
List directiry.py
Max143/Python_programs
5084900844d7f6c39a255a6cfb8fa5120a189026
[ "MIT" ]
null
null
null
List directiry.py
Max143/Python_programs
5084900844d7f6c39a255a6cfb8fa5120a189026
[ "MIT" ]
null
null
null
List directiry.py
Max143/Python_programs
5084900844d7f6c39a255a6cfb8fa5120a189026
[ "MIT" ]
null
null
null
# list all files in a directory in python from os import listdir from os.path import isfile, join file_list = [f or f in listdir('/home/students') if isfile(join('/home/students', f))] print(files_list)
23.888889
87
0.702326
36
215
4.138889
0.583333
0.080537
0
0
0
0
0
0
0
0
0
0
0.190698
215
8
88
26.875
0.856322
0.181395
0
0
0
0
0.168675
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
2b5e58e82894f376828075fad0f0170bc7009f81
2,847
py
Python
streamlined/common/predicates.py
pengzhengyi/Streamlined
59743f44e349318e51e1db4e72c7d1b5992f25be
[ "MIT" ]
null
null
null
streamlined/common/predicates.py
pengzhengyi/Streamlined
59743f44e349318e51e1db4e72c7d1b5992f25be
[ "MIT" ]
5
2021-09-11T07:46:55.000Z
2022-03-12T02:03:54.000Z
streamlined/common/predicates.py
pengzhengyi/Streamlined
59743f44e349318e51e1db4e72c7d1b5992f25be
[ "MIT" ]
null
null
null
import operator from collections.abc import Iterable, Sequence from functools import partial from inspect import BoundArguments from typing import Any, Callable, Dict IS_NONE = partial(operator.is_, None) IS_TRUTHY = operator.truth IS_FALSY = operator.not_ IS_CALLABLE = callable def IS_NOT_CALLABLE(value: Any) -...
20.781022
73
0.677555
392
2,847
4.729592
0.135204
0.051241
0.110032
0.126214
0.563646
0.5
0.347896
0.199569
0.166127
0.166127
0
0
0.232525
2,847
136
74
20.933824
0.848513
0
0
0.3375
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.2125
0.775
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
2b697ad6a5f116e2b88135f2ec4092ee3ada90e3
28,600
py
Python
processing/dataset_creator.py
NeilDG/NeuralNets-Experiment3
f0d2f788eeca49f803f65810c155491ce687cf9e
[ "MIT" ]
null
null
null
processing/dataset_creator.py
NeilDG/NeuralNets-Experiment3
f0d2f788eeca49f803f65810c155491ce687cf9e
[ "MIT" ]
null
null
null
processing/dataset_creator.py
NeilDG/NeuralNets-Experiment3
f0d2f788eeca49f803f65810c155491ce687cf9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jul 14 20:11:02 2020 @author: delgallegon """ import os import sys from optparse import OptionParser import torch import cv2 import numpy as np import matplotlib.pyplot as plt from utils import tensor_utils import torchvision.utils as torchutils from loaders import dataset_l...
46.278317
166
0.645979
3,860
28,600
4.501813
0.096891
0.022098
0.031076
0.05139
0.776371
0.748633
0.720953
0.678426
0.6321
0.600622
0
0.030427
0.232378
28,600
618
167
46.278317
0.761091
0.219406
0
0.555556
0
0
0.08591
0.033032
0
0
0
0
0
1
0.044444
false
0
0.044444
0.004938
0.101235
0.064198
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
9912ad42f27de9542a2e5579e8f3b8da93cdcf4d
152
py
Python
examples/mktemp.py
mikelolasagasti/bandit
3dca7820158ea04668878186a29d34e81bbd7fe3
[ "Apache-2.0" ]
4,016
2018-04-26T13:01:54.000Z
2022-03-31T15:57:41.000Z
examples/mktemp.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
570
2018-04-26T10:07:41.000Z
2022-03-29T18:55:09.000Z
examples/mktemp.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
484
2018-04-26T09:59:46.000Z
2022-03-31T18:00:50.000Z
from tempfile import mktemp import tempfile.mktemp as mt import tempfile as tmp foo = 'hi' mktemp(foo) tempfile.mktemp('foo') mt(foo) tmp.mktemp(foo)
13.818182
28
0.756579
25
152
4.6
0.36
0.234783
0
0
0
0
0
0
0
0
0
0
0.138158
152
10
29
15.2
0.877863
0
0
0
0
0
0.032895
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
991d283b5aa79d61ca3b5c28ae4bda3c70bc35bd
128
py
Python
Exercicios/ex010.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
2
2021-11-13T13:52:56.000Z
2022-03-29T18:10:27.000Z
Exercicios/ex010.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
null
null
null
Exercicios/ex010.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
null
null
null
n1 = float(input('Quantos reais voce tem na carteira? R$')) print('Com R${} voce pode comprar U${:.2f} '.format(n1, (n1/5.20)))
42.666667
67
0.640625
23
128
3.565217
0.826087
0
0
0
0
0
0
0
0
0
0
0.063063
0.132813
128
2
68
64
0.675676
0
0
0
0
0
0.578125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
991dca2270eb4b70cf00195aeb0be8141bf256ee
2,373
py
Python
src/pyhees/section4_3_a.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
null
null
null
src/pyhees/section4_3_a.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
3
2022-01-04T07:29:52.000Z
2022-03-19T08:02:51.000Z
src/pyhees/section4_3_a.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
2
2022-01-19T07:57:10.000Z
2022-03-07T00:25:54.000Z
# ============================================================================ # 付録 A 機器の性能を表す仕様の決定方法 # ============================================================================ # ============================================================================ # A.2 定格能力 # ==============================================...
20.456897
78
0.403708
288
2,373
3.034722
0.270833
0.086957
0.085812
0.020595
0.141876
0.112128
0.064073
0
0
0
0
0.051592
0.232196
2,373
116
79
20.456897
0.428101
0.558365
0
0
0
0
0.005882
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.636364
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
1
0
0
0
0
1
0
0
3
991fda5c00100e1c3e0880e7677b1160ef3c7441
280
py
Python
Ex 26.py
brunobendel/Exercicios-python-Pycharm
145ded6cb5533aeef1b89f0bce20f0a90e37216c
[ "MIT" ]
null
null
null
Ex 26.py
brunobendel/Exercicios-python-Pycharm
145ded6cb5533aeef1b89f0bce20f0a90e37216c
[ "MIT" ]
null
null
null
Ex 26.py
brunobendel/Exercicios-python-Pycharm
145ded6cb5533aeef1b89f0bce20f0a90e37216c
[ "MIT" ]
null
null
null
fr =str(input('digite uma frase: ')).upper().strip() print('Sua frase contem {} vezes a Letra A'.format(fr.count('A'))) print('A primeira vez q aparece a letra "a" é na posição {}'.format(fr.find('A')+1)) print('A ultima letra "A" apreceu na {} posição '.format(fr.rfind('A')+1))
56
84
0.657143
50
280
3.68
0.56
0.097826
0.076087
0.184783
0
0
0
0
0
0
0
0.00813
0.121429
280
4
85
70
0.739837
0
0
0
0
0
0.532143
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
9950673bdf91e0c23cd6c6afe543ada5bb49b8eb
154
py
Python
djangoaws/ui/views.py
aaronlelevier/django-aws-boilerplate
676850004b1cf7914ce44c3824971892e2be750c
[ "MIT" ]
null
null
null
djangoaws/ui/views.py
aaronlelevier/django-aws-boilerplate
676850004b1cf7914ce44c3824971892e2be750c
[ "MIT" ]
null
null
null
djangoaws/ui/views.py
aaronlelevier/django-aws-boilerplate
676850004b1cf7914ce44c3824971892e2be750c
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic.base import TemplateView class IndexView(TemplateView): template_name = 'index.html'
19.25
50
0.798701
19
154
6.421053
0.789474
0.163934
0
0
0
0
0
0
0
0
0
0
0.12987
154
7
51
22
0.910448
0
0
0
0
0
0.064935
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
99529e787d2f1386e2ee419f900df474a3cb7287
229
py
Python
Curso em Vídeo/Mundo 1 Fundamentos/Aulas/file011.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 1 Fundamentos/Aulas/file011.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 1 Fundamentos/Aulas/file011.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
n1 = float(input('Digite a primeira nota: ')) n2 = float(input('Digite a segunda nota: ')) m = (n1 + n2)/2 print('A sua média foi {:.1f}'.format(m)) if m >= 6.0: print('Status: APROVADO') else: print('Status: REPROVADO')
25.444444
45
0.615721
37
229
3.810811
0.648649
0.141844
0.22695
0.241135
0
0
0
0
0
0
0
0.042553
0.179039
229
9
46
25.444444
0.707447
0
0
0
0
0
0.443478
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
1
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
0
0
3
99644a04655a4c97e47c9a813e4a72443133d644
482
py
Python
tests/kyu_7_tests/test_integer_to_currency_format.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_integer_to_currency_format.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_integer_to_currency_format.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.integer_to_currency_format import to_currency class IntegerToCurrencyTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(to_currency(123456), '123,456') def test_equals_2(self): self.assertEqual(to_currency(1234), '1,234') def test_equal...
26.777778
70
0.724066
65
482
5.123077
0.461538
0.18018
0.156156
0.252252
0.348348
0
0
0
0
0
0
0.133663
0.161826
482
17
71
28.352941
0.690594
0
0
0
0
0
0.062241
0
0
0
0
0
0.363636
1
0.363636
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
997444de02c3664599f8a197c2196edf1f69214e
16,851
py
Python
msgraph/cli/command_modules/usersactions/azext_usersactions/generated/_client_factory.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
null
null
null
msgraph/cli/command_modules/usersactions/azext_usersactions/generated/_client_factory.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
22
2022-03-29T22:54:37.000Z
2022-03-29T22:55:27.000Z
msgraph/cli/command_modules/usersactions/azext_usersactions/generated/_client_factory.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause...
37.035165
111
0.827903
1,393
16,851
9.533381
0.168701
0.099398
0.13253
0.15738
0.300602
0.298946
0.298946
0.298946
0.045482
0.045482
0
0
0.109311
16,851
454
112
37.11674
0.884802
0.026052
0
0.044444
0
0
0
0
0
0
0
0
0
1
0.488889
false
0
0.008889
0.484444
0.986667
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
99932265a95f7a4a27ad95b74ed8dd961a90a935
456
py
Python
python/lensmodelapi/info.py
LyneVdV/LensModelAPI
420a59bb488bee1fce24d5335dac0483eeab95c1
[ "MIT" ]
3
2021-12-10T10:59:17.000Z
2022-03-12T16:19:06.000Z
python/lensmodelapi/info.py
LyneVdV/LensModelAPI
420a59bb488bee1fce24d5335dac0483eeab95c1
[ "MIT" ]
8
2021-12-01T14:21:40.000Z
2022-01-31T16:25:43.000Z
python/lensmodelapi/info.py
LyneVdV/LensModelAPI
420a59bb488bee1fce24d5335dac0483eeab95c1
[ "MIT" ]
1
2021-12-02T10:54:04.000Z
2021-12-02T10:54:04.000Z
# Some variables useful to access from lensmodelapi.api.profiles import light from lensmodelapi.api.profiles import mass from lensmodelapi.api.regularizations import pixelated from lensmodelapi.api import likelihood_list all_supported_choices = { 'light_profiles': light.SUPPORTED_CHOICES, 'mass_profiles': ma...
30.4
57
0.815789
52
456
6.942308
0.403846
0.221607
0.210526
0.149584
0.182825
0
0
0
0
0
0
0
0.116228
456
14
58
32.571429
0.895782
0.067982
0
0
0
0
0.13948
0.049645
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
41d9a9c09d778a1a28d3c9bb19d00bdfc0bcd571
4,534
py
Python
sheet1.py
blade-01/gravcalc-v2.0
9260c783e1fc1e630525fa29a1386ce1822bdefb
[ "MIT" ]
null
null
null
sheet1.py
blade-01/gravcalc-v2.0
9260c783e1fc1e630525fa29a1386ce1822bdefb
[ "MIT" ]
9
2020-10-02T20:20:12.000Z
2020-11-12T11:49:21.000Z
sheet1.py
blade-01/gravcalc-v2.0
9260c783e1fc1e630525fa29a1386ce1822bdefb
[ "MIT" ]
2
2020-09-13T19:37:15.000Z
2020-10-17T17:23:56.000Z
#this file appends titles to the spreadsheet from openpyxl import Workbook, load_workbook from openpyxl.styles import NamedStyle, Font, Color, Border, colors, Alignment, Side, PatternFill from openpyxl.styles.differential import DifferentialStyle from openpyxl.formatting.rule import Rule import pandas as pd from panda...
27.313253
97
0.707543
716
4,534
4.238827
0.22486
0.282043
0.205601
0.285667
0.353872
0
0
0
0
0
0
0.028437
0.108072
4,534
165
98
27.478788
0.722057
0.048522
0
0
0
0
0.205063
0
0
0
0
0
0
1
0
false
0
0.056452
0
0.056452
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
41ea5a41eb533ccee8573c978a99a8c7f2b69035
21,731
py
Python
clients/python/robot_api.py
DeMaCS-UNICAL/tapsterbot-original
2401325ae63c5672396f9351c9c0b8d3e61da924
[ "BSD-2-Clause", "MIT" ]
5
2018-03-03T05:42:45.000Z
2020-01-16T09:39:10.000Z
clients/python/robot_api.py
DeMaCS-UNICAL/tapsterbot-original
2401325ae63c5672396f9351c9c0b8d3e61da924
[ "BSD-2-Clause", "MIT" ]
3
2020-01-16T09:39:58.000Z
2020-01-26T15:47:27.000Z
clients/python/robot_api.py
DeMaCS-UNICAL/tapsterbot-original
2401325ae63c5672396f9351c9c0b8d3e61da924
[ "BSD-2-Clause", "MIT" ]
5
2019-08-21T02:02:23.000Z
2021-12-23T19:51:02.000Z
# -*- coding: utf_8 -*- """ MIT License Copyright (c) 2016-2018 Pierre-Yves Lapersonne (Mail: dev@pylapersonne.info) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
44.439673
185
0.639961
2,962
21,731
4.623903
0.104659
0.009492
0.06031
0.069363
0.754965
0.729775
0.68896
0.665158
0.630768
0.623832
0
0.009857
0.267038
21,731
488
186
44.530738
0.84951
0.125397
0
0.449198
0
0
0.122768
0
0
0
0
0.002049
0
0
null
null
0
0.02139
null
null
0.320856
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
41eb0855dbb7b3761df6742f527f9812a93b36fb
54
py
Python
tubbs/test/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
tubbs/test/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
tubbs/test/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
from tubbs.test.spec import Spec __all__ = ('Spec',)
13.5
32
0.703704
8
54
4.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
3
33
18
0.73913
0
0
0
0
0
0.074074
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
41eb0c9e15a2403a6e68926b963ccde385670ea1
393
py
Python
pxutil/__init__.py
peterjpxie/pxutil
54f4e3d0e1063f568dcab55a436031f2b727529f
[ "MIT" ]
null
null
null
pxutil/__init__.py
peterjpxie/pxutil
54f4e3d0e1063f568dcab55a436031f2b727529f
[ "MIT" ]
null
null
null
pxutil/__init__.py
peterjpxie/pxutil
54f4e3d0e1063f568dcab55a436031f2b727529f
[ "MIT" ]
null
null
null
""" pxutil ~~~~~ Peter Jiping Xie's personal utils. :copyright: © 2019 by Peter Jiping Xie. :license: MIT. """ # Control the version directly in setup.py # __version__ = '0.0.1' # import func/classes from .pxutil here so users can them directly, i.e. pxutil.bash() instead of pxutl.pxutil.bash(). from .pxutil import...
24.5625
118
0.725191
60
393
4.65
0.75
0.078853
0.100358
0
0
0
0
0
0
0
0
0.023952
0.150127
393
15
119
26.2
0.808383
0.725191
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
41f35effece9767faeffb60fe4fb2d60e022ea98
93
py
Python
onetomany/apps.py
qquokka/reboot-django
2015091edf705ab70b82efb607c480bff6fba051
[ "CNRI-Python" ]
null
null
null
onetomany/apps.py
qquokka/reboot-django
2015091edf705ab70b82efb607c480bff6fba051
[ "CNRI-Python" ]
9
2021-03-19T01:21:44.000Z
2022-03-12T00:00:12.000Z
onetomany/apps.py
qquokka/reboot-django
2015091edf705ab70b82efb607c480bff6fba051
[ "CNRI-Python" ]
1
2020-05-01T12:55:48.000Z
2020-05-01T12:55:48.000Z
from django.apps import AppConfig class OnetomanyConfig(AppConfig): name = 'onetomany'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
41f35fe1cb4c067d44868fb4891ceacfce2c5f1b
13,977
py
Python
phylogenetic/features.py
Dowingows/phylogenetic_features
b7164c870ada875be5e974bc65d2a99b103914e3
[ "MIT" ]
null
null
null
phylogenetic/features.py
Dowingows/phylogenetic_features
b7164c870ada875be5e974bc65d2a99b103914e3
[ "MIT" ]
null
null
null
phylogenetic/features.py
Dowingows/phylogenetic_features
b7164c870ada875be5e974bc65d2a99b103914e3
[ "MIT" ]
null
null
null
# packages import numpy as np WEIGTH = 2 def count_species(hist): specie = 0 for i in range(len(hist)): if (hist[i] > 0): specie += 1 return specie def exclude_species(hist): new_histogram = [] for i in range(len(hist)): if (hist[i] > 0): new_histogram.a...
23.933219
104
0.528153
1,734
13,977
4.167243
0.094579
0.080681
0.015776
0.028923
0.738998
0.709106
0.685718
0.650291
0.632438
0.632438
0
0.025496
0.379838
13,977
583
105
23.974271
0.808145
0.165415
0
0.772118
0
0
0
0
0
0
0
0
0
1
0.048257
false
0
0.002681
0
0.099196
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
511bcebf2c2df0255ad84828a819437f8e002365
173
py
Python
zorp/const.py
abought/zorp
32bebfc446ca62927d29655366238121ca6176ec
[ "MIT" ]
null
null
null
zorp/const.py
abought/zorp
32bebfc446ca62927d29655366238121ca6176ec
[ "MIT" ]
2
2020-06-30T18:03:16.000Z
2021-12-17T16:55:40.000Z
zorp/const.py
abought/zorp
32bebfc446ca62927d29655366238121ca6176ec
[ "MIT" ]
null
null
null
""" Useful constants, standard reference data, etc """ MISSING_VALUES = frozenset(['', '.', 'NA', 'N/A', 'n/a', 'nan', '-nan', 'NaN', '-NaN', 'null', 'NULL', 'None', None])
34.6
117
0.554913
22
173
4.318182
0.681818
0.189474
0.189474
0
0
0
0
0
0
0
0
0
0.132948
173
4
118
43.25
0.633333
0.265896
0
0
0
0
0.294118
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5128232568510048f0cc44738b01d71e337fc2b3
220
py
Python
functional/fn08_mypartial.py
keys4words/oop
ddb80de06fcba8075632b6fdd620bb64056634d3
[ "Apache-2.0" ]
null
null
null
functional/fn08_mypartial.py
keys4words/oop
ddb80de06fcba8075632b6fdd620bb64056634d3
[ "Apache-2.0" ]
2
2021-06-09T07:03:54.000Z
2022-03-12T00:55:18.000Z
functional/fn08_mypartial.py
keys4words/oop
ddb80de06fcba8075632b6fdd620bb64056634d3
[ "Apache-2.0" ]
null
null
null
from functools import partial # partial def add(x, y): return x + y add_to_five = partial(add, 5) # print(add_to_five(4)) # print(add_to_five(9)) print_with_comma = partial(print, sep=', ') print_with_comma(43,5,7)
20
43
0.709091
40
220
3.65
0.5
0.10274
0.184932
0.191781
0
0
0
0
0
0
0
0.037234
0.145455
220
11
44
20
0.739362
0.231818
0
0
0
0
0.012048
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
513ff7a7e1471f1551f100341baea0e5e4f086e8
233
py
Python
notionsci/cli/sync/__init__.py
EgorDm/notionsci
cec9e918b6dcf4e3a2d3a5d5583545952bd4d37f
[ "MIT" ]
13
2021-08-11T14:51:49.000Z
2022-03-28T09:17:30.000Z
notionsci/cli/sync/__init__.py
EgorDm/notionsci
cec9e918b6dcf4e3a2d3a5d5583545952bd4d37f
[ "MIT" ]
6
2021-08-15T20:02:30.000Z
2021-12-10T22:31:50.000Z
notionsci/cli/sync/__init__.py
EgorDm/notionsci
cec9e918b6dcf4e3a2d3a5d5583545952bd4d37f
[ "MIT" ]
null
null
null
import click from .zotero import zotero from .markdown import markdown @click.group() def sync(): """ Collection of Sync commands for various services """ pass sync.add_command(zotero) sync.add_command(markdown)
13.705882
52
0.712446
30
233
5.466667
0.566667
0.085366
0.170732
0
0
0
0
0
0
0
0
0
0.197425
233
16
53
14.5625
0.877005
0.206009
0
0
0
0
0
0
0
0
0
0
0
1
0.125
true
0.125
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
514e8b5d991b8e1d4fc64f9dc342b81c410f909a
2,627
py
Python
tests/test_dependencies.py
baileythegreen/pyani
e1527d35932d115eb4b2b84fd0aa6012bfd7ed14
[ "MIT" ]
144
2015-02-16T11:34:28.000Z
2022-03-17T09:03:52.000Z
tests/test_dependencies.py
baileythegreen/pyani
e1527d35932d115eb4b2b84fd0aa6012bfd7ed14
[ "MIT" ]
331
2015-06-04T16:25:53.000Z
2022-03-31T05:24:11.000Z
tests/test_dependencies.py
baileythegreen/pyani
e1527d35932d115eb4b2b84fd0aa6012bfd7ed14
[ "MIT" ]
61
2015-06-03T00:28:19.000Z
2022-02-15T08:47:57.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # (c) The James Hutton Institute 2016-2019 # (c) University of Strathclyde 2019-2020 # Author: Leighton Pritchard # # Contact: # leighton.pritchard@strath.ac.uk # # Leighton Pritchard, # Strathclyde Institute for Pharmacy and Biomedical Sciences, # 161 Cathedral Street, # G...
27.082474
79
0.749524
365
2,627
5.331507
0.468493
0.045221
0.033402
0.023638
0
0
0
0
0
0
0
0.017439
0.170537
2,627
96
80
27.364583
0.875631
0.701941
0
0
0
0
0.060172
0
0
0
0
0
0.136364
1
0.363636
false
0
0.681818
0
1.045455
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
515f4ca509554179ffec7aa8c906f3b3cb1cbe04
395
py
Python
gdtoolkit/common/exceptions.py
kaluluosi/godot-gdscript-toolkit
6d91e05a313b82800a5c56418ae77cf1c3a245cf
[ "MIT" ]
361
2019-12-01T23:38:13.000Z
2022-03-30T22:37:16.000Z
gdtoolkit/common/exceptions.py
kaluluosi/godot-gdscript-toolkit
6d91e05a313b82800a5c56418ae77cf1c3a245cf
[ "MIT" ]
143
2019-12-21T16:56:14.000Z
2022-03-20T17:52:24.000Z
gdtoolkit/common/exceptions.py
kaluluosi/godot-gdscript-toolkit
6d91e05a313b82800a5c56418ae77cf1c3a245cf
[ "MIT" ]
36
2019-12-21T19:20:12.000Z
2022-03-17T10:50:43.000Z
import lark def lark_unexpected_input_to_str(exception: lark.exceptions.UnexpectedInput): return str(exception).strip() def lark_unexpected_token_to_str(exception: lark.exceptions.UnexpectedToken, code: str): try: return f"{exception.get_context(code)}\n{exception}".strip() except: # pylint: di...
30.384615
88
0.731646
50
395
5.6
0.54
0.128571
0.121429
0.128571
0.2
0
0
0
0
0
0
0.017804
0.146835
395
12
89
32.916667
0.813056
0.113924
0
0
0
0
0.152738
0.121037
0
0
0
0
0
1
0.25
false
0
0.125
0.125
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
516523d739c10c36a6e2b6ed3ab83876ad770976
22
py
Python
interfaceTest/testCase/__init__.py
liberjiang/interface_framework
ab25e93c1e079da3df8441fca620927061aae252
[ "Apache-2.0" ]
null
null
null
interfaceTest/testCase/__init__.py
liberjiang/interface_framework
ab25e93c1e079da3df8441fca620927061aae252
[ "Apache-2.0" ]
null
null
null
interfaceTest/testCase/__init__.py
liberjiang/interface_framework
ab25e93c1e079da3df8441fca620927061aae252
[ "Apache-2.0" ]
null
null
null
__author__ = "ChenNan"
22
22
0.772727
2
22
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
22
1
22
22
0.65
0
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5166a5adf7a48e059fa430d98b2e26577b40bab6
103
py
Python
Chapter05/example02/ap1.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
28
2017-08-10T18:21:52.000Z
2021-11-22T11:13:01.000Z
Chapter05/example02/ap1.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
2
2019-06-17T13:22:00.000Z
2019-06-17T14:06:18.000Z
Chapter05/example02/ap1.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
20
2017-07-07T16:25:50.000Z
2022-01-11T15:57:18.000Z
import argparse parser = argparse.ArgumentParser(description="Hello world") args = parser.parse_args()
25.75
59
0.805825
12
103
6.833333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.087379
103
3
60
34.333333
0.87234
0
0
0
0
0
0.106796
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
5ab4246d388105371fcf31c20c3e6ea7a846b5f7
238
py
Python
cowsay/lib/cows/seahorse.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/seahorse.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/seahorse.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Seahorse(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} (\\(\\/ .-._)oo '_ \'---. .\'\\ ) \\.-\'\\ /__ ; ( |__ : /'._/ \\_ ( .,) ) \'-.-\' """
14.875
42
0.273109
11
238
5.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.428571
238
16
43
14.875
0.419118
0
0
0.142857
0
0
0.748954
0
0
0
0
0
0
1
0.071429
false
0
0
0.071429
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ab7e22e216bcbba9bbad81ba04149e7b3118dda
1,271
py
Python
tests/common/test_backend.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
1
2022-03-26T12:51:27.000Z
2022-03-26T12:51:27.000Z
tests/common/test_backend.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
null
null
null
tests/common/test_backend.py
kynk94/torch-firewood
8ecd03c166bcadaae22a6cb2c1457a82f2c644eb
[ "MIT" ]
null
null
null
import pytest from firewood.common import backend def test_lr_equalization() -> None: assert backend.lr_equalization() is False backend.set_lr_equalization(True) assert backend.lr_equalization() is True backend.set_lr_equalization(False) assert backend.lr_equalization() is False @pytest.mark.xf...
29.55814
57
0.785995
167
1,271
5.652695
0.167665
0.123941
0.194915
0.143008
0.630297
0.570975
0.223517
0.139831
0.139831
0
0
0
0.128245
1,271
42
58
30.261905
0.851986
0
0
0.310345
0
0
0.016522
0
0
0
0
0
0.310345
1
0.206897
true
0
0.068966
0
0.275862
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
1
0
0
0
0
0
0
3
5aba3e6d7eec122e2572babc4e8db0f6abbf9ceb
3,818
py
Python
sdk/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
34.396396
76
0.732583
338
3,818
8.011834
0.263314
0.177253
0.115214
0.16839
0.094535
0.056869
0
0
0
0
0
0.007952
0.176532
3,818
110
77
34.709091
0.853372
0.118387
0
0
0
0
0.159762
0.049478
0
0
0
0
0
1
0
false
0
0.55102
0
0.55102
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
5aed47e8ffd17f8bfebb9305a384caa0f9ee13d2
399
py
Python
main.py
joniumGit/mindstorms-skeleton
0921fa7e439532e26b7ccaddaf86abb90437feb4
[ "MIT" ]
null
null
null
main.py
joniumGit/mindstorms-skeleton
0921fa7e439532e26b7ccaddaf86abb90437feb4
[ "MIT" ]
null
null
null
main.py
joniumGit/mindstorms-skeleton
0921fa7e439532e26b7ccaddaf86abb90437feb4
[ "MIT" ]
null
null
null
# Write program here and use the Mindstorms editor to push it to the robot from mindstorms import MSHub, Motor, MotorPair, ColorSensor, DistanceSensor, App from mindstorms.control import wait_for_seconds, wait_until, Timer from mindstorms.operator import greater_than, greater_than_or_equal_to, less_than, less_than_or_e...
39.9
128
0.827068
63
399
4.984127
0.587302
0.089172
0.070064
0.082803
0
0
0
0
0
0
0
0
0.117794
399
9
129
44.333333
0.892045
0.180451
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8514e2eb85708429b5e931c99fc855acaaeea78c
719
py
Python
authentication/admin.py
guezandy/PAS-EMIS
7d07c94852855c9d63e3826ff1769427495e5775
[ "MIT" ]
null
null
null
authentication/admin.py
guezandy/PAS-EMIS
7d07c94852855c9d63e3826ff1769427495e5775
[ "MIT" ]
6
2021-04-01T16:11:32.000Z
2021-05-03T18:14:09.000Z
authentication/admin.py
guezandy/PAS-EMIS
7d07c94852855c9d63e3826ff1769427495e5775
[ "MIT" ]
null
null
null
from django.contrib import admin from .models.users import ( SchoolAdministrator, Teacher, SchoolPrincipal, DistrictEducationOfficer, SchoolSupervisionOfficer, StatisticianAdmin, EvaluationAdmin, EarlyChildhoodEducationOfficer, SupportServicesAdmin, ExternalAssessor, ) admin.si...
27.653846
51
0.824757
59
719
10.050847
0.322034
0.151771
0.286678
0
0
0
0
0
0
0
0
0
0.098748
719
25
52
28.76
0.915123
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.086957
0
0.086957
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
518c610deb43d283091364fe7eb1550f69996359
437
py
Python
jasmine-webserver/jasmine/webserver/graphql_models/user_models.py
andrewsmike/jasmine
5209a65975e067eb0678b03dd3abf89729f1e5f2
[ "Apache-2.0" ]
3
2022-02-01T06:39:29.000Z
2022-02-01T13:08:17.000Z
jasmine-webserver/jasmine/webserver/graphql_models/user_models.py
andrewsmike/jasmine
5209a65975e067eb0678b03dd3abf89729f1e5f2
[ "Apache-2.0" ]
null
null
null
jasmine-webserver/jasmine/webserver/graphql_models/user_models.py
andrewsmike/jasmine
5209a65975e067eb0678b03dd3abf89729f1e5f2
[ "Apache-2.0" ]
null
null
null
user_models_type_defs = """ type Organization { organization_id: ID! name: String! users: [User]! teams: [Team]! backends: [Backend]! projects: [Project]! } type User { user_id: ID! organization: Organization! email: String! name: String! teams: [Team]! default_project: ...
16.185185
31
0.610984
46
437
5.652174
0.391304
0.276923
0.123077
0.215385
0
0
0
0
0
0
0
0
0.26087
437
26
32
16.807692
0.804954
0
0
0.291667
0
0
0.929062
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
51a99d37ea99af94fd370155fbe65c42c9d0a0e2
185
py
Python
django_evolution/builtin_evolutions/contenttypes_unique_together_baseline.py
kamrankalantarli/django-evolution
3e67426b189aecca5e470607838d1191f4892859
[ "BSD-3-Clause" ]
18
2015-02-08T14:48:02.000Z
2021-08-03T21:07:37.000Z
django_evolution/builtin_evolutions/contenttypes_unique_together_baseline.py
kamrankalantarli/django-evolution
3e67426b189aecca5e470607838d1191f4892859
[ "BSD-3-Clause" ]
4
2015-01-07T01:15:08.000Z
2020-08-06T06:52:13.000Z
django_evolution/builtin_evolutions/contenttypes_unique_together_baseline.py
kamrankalantarli/django-evolution
3e67426b189aecca5e470607838d1191f4892859
[ "BSD-3-Clause" ]
13
2015-01-07T01:06:21.000Z
2022-02-20T16:27:41.000Z
from __future__ import unicode_literals from django_evolution.mutations import ChangeMeta MUTATIONS = [ ChangeMeta('ContentType', 'unique_together', [('app_label', 'model')]), ]
20.555556
75
0.756757
19
185
6.947368
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.124324
185
8
76
23.125
0.814815
0
0
0
0
0
0.216216
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
51aedb188690604216f488deb0441c267f17e10e
530
py
Python
python_demo_v1/ruanyifeng_article/ruanyifeng_article/pipelines.py
renhongl/python_demo
039d0e046885dd3890526ae91efa2d601f6f9b73
[ "MIT" ]
1
2019-11-29T02:47:19.000Z
2019-11-29T02:47:19.000Z
python_demo_v1/ruanyifeng_article/ruanyifeng_article/pipelines.py
renhongl/python_demo
039d0e046885dd3890526ae91efa2d601f6f9b73
[ "MIT" ]
null
null
null
python_demo_v1/ruanyifeng_article/ruanyifeng_article/pipelines.py
renhongl/python_demo
039d0e046885dd3890526ae91efa2d601f6f9b73
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class RuanyifengArticlePipeline(object): def __init__(self): pass def process_item(self, item, spider): ...
27.894737
97
0.64717
71
530
4.704225
0.676056
0.023952
0
0
0
0
0
0
0
0
0
0.007177
0.211321
530
19
98
27.894737
0.791866
0.341509
0
0.222222
0
0
0.090116
0
0
0
0
0
0
1
0.333333
false
0.222222
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
51b64c3d603d895542a633e6d8ca29335d5597ca
710
py
Python
crypto/LWE.py
A-Hashemi/PPDL
ecff55d5ec213f00fbbf92b795a708c8428beb93
[ "MIT" ]
12
2019-01-30T06:12:00.000Z
2022-02-27T20:31:44.000Z
crypto/LWE.py
A-Hashemi/PPDL
ecff55d5ec213f00fbbf92b795a708c8428beb93
[ "MIT" ]
4
2019-04-21T05:38:54.000Z
2020-12-08T08:11:28.000Z
crypto/LWE.py
A-Hashemi/PPDL
ecff55d5ec213f00fbbf92b795a708c8428beb93
[ "MIT" ]
3
2018-10-23T10:44:16.000Z
2020-10-28T02:40:13.000Z
import numpy as np import scipy as sp class LWECiphertext(object): def __init__(self, c1, c2): self.c1 = c1 self.c2 = c2 def __add__(self, other: LWE_Ciphertext): self.c1 = other.c1 self.c2 = other.c2 class LWE(object): def __init__(self, l: int): self.__len = l ...
18.205128
54
0.56338
95
710
3.926316
0.4
0.075067
0.069705
0.091153
0
0
0
0
0
0
0
0.025263
0.330986
710
38
55
18.684211
0.76
0
0
0.148148
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.148148
0.074074
0.037037
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
51d24b68b7f5be29f50a4eb3ed6fe4e5dfd1dab5
1,388
py
Python
veriloggen/__init__.py
leonardt/veriloggen
bc3dacaa6a3e0b0652763881d0edf0421c6d3189
[ "Apache-2.0" ]
null
null
null
veriloggen/__init__.py
leonardt/veriloggen
bc3dacaa6a3e0b0652763881d0edf0421c6d3189
[ "Apache-2.0" ]
null
null
null
veriloggen/__init__.py
leonardt/veriloggen
bc3dacaa6a3e0b0652763881d0edf0421c6d3189
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------- # Veriloggen: A library for constructing a Verilog HDL source code in Python # # Copyright (C) 2015, Shinya Takamaeda-Yamazaki # License: Apache 2.0 #------------------------------------------------------------------------- from __future__ impor...
28.916667
97
0.70317
177
1,388
5.367232
0.412429
0.056842
0.082105
0
0
0
0
0
0
0
0
0.011706
0.138329
1,388
47
98
29.531915
0.782609
0.309078
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
true
0
0.703704
0
0.740741
0.037037
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
a4019f5e6ed2ae95039101b0222e9dd2490d0852
14,826
py
Python
tensorplane/core/lib/backend.py
jyhanna/tensorplane
ac2679cec18ccb3f5b1ba353e7e53e669e115c3f
[ "BSD-3-Clause" ]
1
2020-05-06T18:12:35.000Z
2020-05-06T18:12:35.000Z
tensorplane/core/lib/backend.py
jyhanna/tensorplane
ac2679cec18ccb3f5b1ba353e7e53e669e115c3f
[ "BSD-3-Clause" ]
null
null
null
tensorplane/core/lib/backend.py
jyhanna/tensorplane
ac2679cec18ccb3f5b1ba353e7e53e669e115c3f
[ "BSD-3-Clause" ]
null
null
null
import os import sys import time import functools from .utils import exception_message, list_type, list_dims, rev_slice, slice_to_range import numpy as np set_type = set # overridden by backend set function backends = { 'NumPyBackend': ('numpy', 'np'), 'PyTorchBackend': ('torch', 'torch'), #'TensorFlowBackend': ...
24.14658
85
0.708148
2,189
14,826
4.653723
0.160347
0.021596
0.028369
0.030627
0.392461
0.316678
0.240797
0.138608
0.105821
0.099342
0
0.004989
0.175233
14,826
613
86
24.185971
0.828099
0.256306
0
0.422969
0
0
0.088616
0.002551
0
0
0
0
0
1
0.27451
false
0.008403
0.022409
0.134454
0.605042
0.005602
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
cf98f5163963d1b87543a60b04625b87dff688a8
1,980
py
Python
likebot.py
ahmdrz/feed-liker
33fcbe3c6e1e472a9ca555292b135a077ece022b
[ "MIT" ]
3
2017-09-12T13:35:23.000Z
2020-10-28T09:23:58.000Z
likebot.py
ahmdrz/feed-liker
33fcbe3c6e1e472a9ca555292b135a077ece022b
[ "MIT" ]
1
2018-07-20T05:46:43.000Z
2018-07-20T05:46:43.000Z
likebot.py
ahmdrz/feed-liker
33fcbe3c6e1e472a9ca555292b135a077ece022b
[ "MIT" ]
1
2018-12-05T18:17:15.000Z
2018-12-05T18:17:15.000Z
from instagram import instagram import argparse import sys ap = argparse.ArgumentParser() ap.add_argument("-u", "--username", required=True, help="Instagram username") ap.add_argument("-p", "--password", required=True, help="Instagram password") ap.add_argument("-l", "--limit", type=int, required=False, help="Maximum ...
27.887324
103
0.549495
224
1,980
4.758929
0.397321
0.028143
0.036585
0.046904
0
0
0
0
0
0
0
0.002214
0.315657
1,980
70
104
28.285714
0.784502
0.013131
0
0.148148
0
0
0.226434
0
0
0
0
0.014286
0
0
null
null
0.055556
0.055556
null
null
0.259259
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
cfa17fdd9d71fe5176fa13d540c9147f5b327194
2,230
py
Python
bac/models/model_base.py
kaschbacher/bac
858ebe1bcd61dd6a73431bb651d1b3efa447a8c6
[ "RSA-MD" ]
1
2021-02-14T04:11:58.000Z
2021-02-14T04:11:58.000Z
bac/models/model_base.py
kaschbacher/bac
858ebe1bcd61dd6a73431bb651d1b3efa447a8c6
[ "RSA-MD" ]
1
2021-07-12T10:37:55.000Z
2021-07-12T10:37:55.000Z
bac/models/model_base.py
kaschbacher/bac
858ebe1bcd61dd6a73431bb651d1b3efa447a8c6
[ "RSA-MD" ]
null
null
null
import logging import sys from typing import Sequence, Dict import pandas as pd from pandas.api.types import is_numeric_dtype import joblib from abc import ABC, abstractmethod from bac.features.feature_importances import compute_feature_importances logger = logging.getLogger(__name__) logging.basicConfig(stream=sys....
30.972222
72
0.612556
286
2,230
4.618881
0.335664
0.054504
0.036336
0.019682
0.289175
0.289175
0.289175
0.289175
0.236185
0.236185
0
0.002522
0.288789
2,230
72
73
30.972222
0.830391
0.473543
0
0.166667
0
0
0.070888
0.032136
0
0
0
0
0
1
0.166667
false
0.083333
0.333333
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
0
0
0
0
1
1
0
1
0
0
3
cfaa52d63f994a16b2e639916bdbc7619dfcb4f7
267
py
Python
posts/utils.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
2
2019-01-12T08:13:37.000Z
2019-01-17T19:18:51.000Z
posts/utils.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
57
2018-11-07T05:07:09.000Z
2022-01-13T01:02:43.000Z
posts/utils.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
12
2018-11-12T20:10:06.000Z
2019-10-15T16:33:23.000Z
import pyffx from django.conf import settings encrypter = pyffx.Integer(settings.SECRET_KEY.encode('UTF-8'), length=settings.POST_ID_SECRET_LENGTH) def encrypt_id(id): return encrypter.encrypt(id) def decrypt_id(enc_id): return encrypter.decrypt(enc_id)
20.538462
101
0.782772
40
267
5.025
0.525
0.089552
0.169154
0
0
0
0
0
0
0
0
0.004237
0.116105
267
12
102
22.25
0.847458
0
0
0
0
0
0.018727
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
0.857143
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
cfab7944bef153ac0e16576d2a71e1dda5734897
1,911
py
Python
src/data/repositories/election_result_repository.py
DrewStern/election-analysis
24b3c29146673379745332bc9a7afc87d7a44312
[ "MIT" ]
1
2020-11-08T18:37:36.000Z
2020-11-08T18:37:36.000Z
src/data/repositories/election_result_repository.py
DrewStern/benford-analysis
ad1e2e78daec7c971087032116fbb908dc791bad
[ "MIT" ]
6
2021-06-20T20:28:28.000Z
2021-07-06T02:21:51.000Z
src/data/repositories/election_result_repository.py
DrewStern/benford-analysis
ad1e2e78daec7c971087032116fbb908dc791bad
[ "MIT" ]
null
null
null
import csv from src.data.models.election_result import ElectionResult class ElectionResultRepository: # TODO: one day may want to read this from a db instead of csv files def __init__(self, data_path=""): self.data_path = data_path self.cached_election_results = [] def get_election_result...
46.609756
73
0.719519
233
1,911
5.484979
0.343348
0.169014
0.225352
0.204225
0.58216
0.186228
0.137715
0.068858
0
0
0
0.032787
0.201988
1,911
40
74
47.775
0.805246
0.046049
0
0.060606
0
0
0.102747
0
0
0
0
0.025
0
1
0.121212
false
0
0.060606
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
cfafe56861dc1a6fb93cf017231e1342e55f7654
7,073
py
Python
sxsw/migrations/0001_initial.py
laud/upword-notes-sxsw
d4437c9d0590df356ab5902894b421e9fdbb6962
[ "MIT" ]
null
null
null
sxsw/migrations/0001_initial.py
laud/upword-notes-sxsw
d4437c9d0590df356ab5902894b421e9fdbb6962
[ "MIT" ]
5
2020-02-11T23:57:14.000Z
2021-12-13T19:45:32.000Z
sxsw/migrations/0001_initial.py
laud/upword-notes-sxsw
d4437c9d0590df356ab5902894b421e9fdbb6962
[ "MIT" ]
1
2020-03-06T08:53:32.000Z
2020-03-06T08:53:32.000Z
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Tag' db.create_table(u'sxsw_tag', ( (u'id', s...
60.452991
172
0.594232
842
7,073
4.857482
0.115202
0.109535
0.188264
0.268949
0.760147
0.704156
0.679462
0.615403
0.53912
0.459413
0
0.018083
0.194684
7,073
117
173
60.452991
0.699965
0.034639
0
0.106383
0
0
0.451239
0.273501
0
0
0
0
0
1
0.021277
false
0
0.042553
0
0.095745
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cfd8cf08bf9cce51fd73047766576666c1c2da74
1,120
py
Python
src/compas_singular/rhino/__init__.py
christiandimitri/compas_singular
4a80b30664b07e15eb799229171bbc02c27e0efc
[ "MIT" ]
1
2021-04-19T15:09:21.000Z
2021-04-19T15:09:21.000Z
src/compas_singular/rhino/__init__.py
christiandimitri/compas_singular
4a80b30664b07e15eb799229171bbc02c27e0efc
[ "MIT" ]
null
null
null
src/compas_singular/rhino/__init__.py
christiandimitri/compas_singular
4a80b30664b07e15eb799229171bbc02c27e0efc
[ "MIT" ]
null
null
null
""" ******************************************************************************** compas_singular.rhino ******************************************************************************** .. currentmodule:: compas_singular.rhino Curve ===== Curve class for Rhino with additional methods .. autosummary:: :toctre...
15.555556
80
0.608036
104
1,120
6.230769
0.432692
0.111111
0.166667
0.240741
0.299383
0.225309
0.225309
0.225309
0.225309
0.225309
0
0
0.16875
1,120
71
81
15.774648
0.696026
0.758036
0
0
0
0
0.003831
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
0.125
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
cff5e3be1c98d904794849d73367a57b9c51fe87
156
py
Python
src/openbiolink/graph_creation/metadata_db_file/dbMetadata.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
src/openbiolink/graph_creation/metadata_db_file/dbMetadata.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
src/openbiolink/graph_creation/metadata_db_file/dbMetadata.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
class DbMetadata: def __init__(self, url, ofile_name, dbType): self.url = url self.ofile_name = ofile_name self.dbType = dbType
26
48
0.634615
20
156
4.6
0.45
0.293478
0
0
0
0
0
0
0
0
0
0
0.282051
156
6
49
26
0.821429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
32026834cc932234ef8897d05f3b325fee06d735
2,108
py
Python
p2pclient/connmgr.py
odesenfans/py-libp2p-daemon-bindings
5b7d726684cd23a0127a26043b29a894b4efffc5
[ "MIT" ]
null
null
null
p2pclient/connmgr.py
odesenfans/py-libp2p-daemon-bindings
5b7d726684cd23a0127a26043b29a894b4efffc5
[ "MIT" ]
null
null
null
p2pclient/connmgr.py
odesenfans/py-libp2p-daemon-bindings
5b7d726684cd23a0127a26043b29a894b4efffc5
[ "MIT" ]
null
null
null
from p2pclient.libp2p_stubs.peer.id import ID from .control import DaemonConnector from .pb import p2pd_pb2 as p2pd_pb from .utils import raise_if_failed, read_pbmsg_safe, write_pbmsg class ConnectionManagerClient: daemon_connector: DaemonConnector def __init__(self, daemon_connector: DaemonConnector) -> No...
37.642857
88
0.66888
259
2,108
5.173745
0.200772
0.071642
0.040299
0.035821
0.726866
0.726866
0.726866
0.69403
0.653731
0.607463
0
0.012477
0.239564
2,108
55
89
38.327273
0.823456
0.018027
0
0.547619
0
0
0
0
0
0
0
0
0
1
0.02381
false
0
0.095238
0
0.166667
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
3202899b7f86ad93d83c15b37b246495fb4488b5
445
py
Python
parchment/forms.py
jbittel/django-parchment
bd7c40902c6fa66740ec76eeac15e274b7e7bc5a
[ "BSD-3-Clause" ]
1
2015-10-03T20:19:34.000Z
2015-10-03T20:19:34.000Z
parchment/forms.py
jbittel/django-parchment
bd7c40902c6fa66740ec76eeac15e274b7e7bc5a
[ "BSD-3-Clause" ]
null
null
null
parchment/forms.py
jbittel/django-parchment
bd7c40902c6fa66740ec76eeac15e274b7e7bc5a
[ "BSD-3-Clause" ]
null
null
null
from django import forms from django.conf import settings class ParchmentForm(forms.Form): parch5 = forms.CharField(widget=forms.HiddenInput) parchiv = forms.CharField(widget=forms.HiddenInput) def __init__(self, *args, **kwargs): super(ParchmentForm, self).__init__(*args, **kwargs) if ge...
34.230769
76
0.716854
51
445
6.058824
0.529412
0.135922
0.194175
0.242718
0.349515
0
0
0
0
0
0
0.002688
0.164045
445
12
77
37.083333
0.827957
0
0
0
0
0
0.05618
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.666667
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
3206ada961625aa376808aa8962367a89599e99e
2,902
py
Python
battery/models.py
d2verb/Battery
05571f6aa809af64b8e3d45483cebfe15779d48d
[ "MIT" ]
null
null
null
battery/models.py
d2verb/Battery
05571f6aa809af64b8e3d45483cebfe15779d48d
[ "MIT" ]
2
2018-07-28T10:49:36.000Z
2018-08-05T08:48:36.000Z
battery/models.py
d2verb/Battery
05571f6aa809af64b8e3d45483cebfe15779d48d
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from datetime import datetime from sqlalchemy.orm import synonym from werkzeug import check_password_hash, generate_password_hash # initialize db later in create_app db = SQLAlchemy() class User(db.Model): __tablename__ = "users" id = db.Column(db.Integer, primary_key...
34.963855
82
0.611303
340
2,902
5.014706
0.241176
0.070381
0.082111
0.035191
0.194135
0.169501
0.169501
0.133138
0.075073
0.052786
0
0.0038
0.274638
2,902
82
83
35.390244
0.806176
0.011371
0
0.253968
1
0
0.082665
0
0
0
0
0
0
1
0.111111
false
0.253968
0.063492
0.063492
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
32085d7194aea9acc82c129897b47da613adf954
202
py
Python
common/JsonHelper.py
zwffff2015/stock
5f6017ab3a9af8920b1e595c5e3595458c95ce30
[ "MIT" ]
null
null
null
common/JsonHelper.py
zwffff2015/stock
5f6017ab3a9af8920b1e595c5e3595458c95ce30
[ "MIT" ]
null
null
null
common/JsonHelper.py
zwffff2015/stock
5f6017ab3a9af8920b1e595c5e3595458c95ce30
[ "MIT" ]
null
null
null
try: import json except ImportError: import simplejson as json def loadJsonConfig(fileName): with open(fileName, 'r') as json_file: data = json.load(json_file) return data
18.363636
42
0.673267
26
202
5.153846
0.653846
0.089552
0
0
0
0
0
0
0
0
0
0
0.252475
202
10
43
20.2
0.887417
0
0
0
0
0
0.004951
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3214d53b6b2266722d70a96f7c917e6a26001862
358
py
Python
src/tso/util/persistence.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
4
2018-11-05T21:36:08.000Z
2019-04-15T13:05:39.000Z
src/tso/util/persistence.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
2
2019-02-23T07:13:40.000Z
2019-04-07T17:50:44.000Z
src/tso/util/persistence.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
2
2020-12-09T07:03:09.000Z
2021-07-17T02:32:46.000Z
""" Persistence Utilities We will be primarily be interfacing with a mySQL DB. """ import mysql.connector def get_mysql_connection(db_config): return mysql.connector.connect( host=db_config["HOST"], port=db_config["PORT"], database=db_config["DB"], user=db_config["USER"], ...
19.888889
52
0.659218
45
358
5.066667
0.533333
0.210526
0
0
0
0
0
0
0
0
0
0
0.217877
358
17
53
21.058824
0.814286
0.209497
0
0
0
0
0.08
0
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
0.111111
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
5c4ef0366a7fb8d9d6de0f91707780145e194831
321
py
Python
migrate/models/DatabaseConfig.py
deimonhigh/migrator
17e979a3e6a3ed25a12d4d59aa14ce69528fce65
[ "MIT" ]
null
null
null
migrate/models/DatabaseConfig.py
deimonhigh/migrator
17e979a3e6a3ed25a12d4d59aa14ce69528fce65
[ "MIT" ]
null
null
null
migrate/models/DatabaseConfig.py
deimonhigh/migrator
17e979a3e6a3ed25a12d4d59aa14ce69528fce65
[ "MIT" ]
null
null
null
class DatabaseConfig: host: str = None port: int = None uri: str = None database: str = None user: str = None password: str = None def __getitem__(self, item): return self[item] class MongoDBConfig(DatabaseConfig): authSource: str = None, authMechanism: str = 'SCRAM-SHA-1'...
20.0625
38
0.629283
38
321
5.210526
0.578947
0.212121
0
0
0
0
0
0
0
0
0
0.004292
0.274143
321
15
39
21.4
0.845494
0
0
0
0
0
0.034268
0
0
0
0
0
0
1
0.083333
false
0.083333
0
0.083333
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
5c54e7c44e5b76c6bf3b896656ef5077a714c770
2,216
py
Python
tests/test_watches.py
bootforce-dev/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
1
2019-03-01T10:19:34.000Z
2019-03-01T10:19:34.000Z
tests/test_watches.py
ram-framework/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
null
null
null
tests/test_watches.py
ram-framework/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
null
null
null
try: import unittest unittest.TextTestResult except AttributeError: import unittest2 as unittest unittest.TextTestResult import ram.watches import time class WatchesTestCase(unittest.TestCase): """watches""" def setUp(self): pass def test_iterable_list(self): "enlist" ...
25.471264
94
0.479242
256
2,216
4.0625
0.226563
0.192308
0.211538
0.216346
0.500962
0.4375
0.4125
0.228846
0.228846
0.228846
0
0.020286
0.399368
2,216
86
95
25.767442
0.761082
0.015794
0
0.521739
0
0
0.054471
0
0
0
0
0
0.492754
1
0.072464
false
0.014493
0.057971
0
0.144928
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
5c55f21b1290a95cef5130b8b3e79726fd4d842c
501
py
Python
data_structures/Graphs/graphsearch/a-star-search/python/util/path.py
CarbonDDR/al-go-rithms
8e65affbe812931b7dde0e2933eb06c0f44b4130
[ "CC0-1.0" ]
1,253
2017-06-06T07:19:25.000Z
2022-03-30T17:07:58.000Z
data_structures/Graphs/graphsearch/a-star-search/python/util/path.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
554
2017-09-29T18:56:01.000Z
2022-02-21T15:48:13.000Z
data_structures/Graphs/graphsearch/a-star-search/python/util/path.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
2,226
2017-09-29T19:59:59.000Z
2022-03-25T08:59:55.000Z
class path: def __init__(self,source,destination,cost): """ Described a path from a node to another node including its cost. :param source: from this node :param destination: to this node :param cost: cost to travel the path """ self.source=source se...
31.3125
105
0.62475
61
501
5
0.377049
0.098361
0.137705
0
0
0
0
0
0
0
0
0
0.269461
501
15
106
33.4
0.833333
0.329341
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5c5aa3b635735751bbf77c88f41c2ced14650834
146
py
Python
test_Task1F.py
Kelvin-kfl33/Flood-Risk-System-Group80
b22511b6fdeafd1b9ff895d8d9342de766ae84e1
[ "MIT" ]
null
null
null
test_Task1F.py
Kelvin-kfl33/Flood-Risk-System-Group80
b22511b6fdeafd1b9ff895d8d9342de766ae84e1
[ "MIT" ]
null
null
null
test_Task1F.py
Kelvin-kfl33/Flood-Risk-System-Group80
b22511b6fdeafd1b9ff895d8d9342de766ae84e1
[ "MIT" ]
null
null
null
from Task1F import run def test_Task1F(): length = run() """To make sure the length of the list is reasonable""" assert length <= 950
24.333333
59
0.664384
22
146
4.363636
0.772727
0
0
0
0
0
0
0
0
0
0
0.045045
0.239726
146
6
60
24.333333
0.81982
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5c6199e3fc4688c78ca3484d70f99841a733e32e
210
py
Python
project/GUI/MasterGUI/SlavePresentationButton.py
RemuTeam/Remu
a7d100ff9002b1b1d27249f8adf510b5a89c09e3
[ "MIT" ]
2
2017-09-18T11:04:38.000Z
2017-09-25T17:23:21.000Z
project/GUI/MasterGUI/SlavePresentationButton.py
RemuTeam/Remu
a7d100ff9002b1b1d27249f8adf510b5a89c09e3
[ "MIT" ]
26
2017-09-20T09:11:10.000Z
2017-12-11T12:21:56.000Z
project/GUI/MasterGUI/SlavePresentationButton.py
RemuTeam/Remu
a7d100ff9002b1b1d27249f8adf510b5a89c09e3
[ "MIT" ]
null
null
null
from kivy.uix.button import Button class SlavePresentationButton(Button): def __init__(self, **kwargs): super(SlavePresentationButton, self).__init__(**kwargs) self.slave_connection = None
30
63
0.733333
22
210
6.590909
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.166667
210
7
64
30
0.828571
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5c77282ea7f1f9000d4c99e63493bb0988c80315
19,899
py
Python
benchmarks/simpl/pfscan/inputs/in2/simpl/preemptremoval/preemptremoval.py
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
2
2015-02-19T13:15:08.000Z
2018-05-30T05:34:15.000Z
benchmarks/simpl/pfscan/inputs/in2/simpl/preemptremoval/preemptremoval.py
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
null
null
null
benchmarks/simpl/pfscan/inputs/in2/simpl/preemptremoval/preemptremoval.py
nicholasjalbert/Thrille
117dbdbe93f81eec9398a75aebc62543498363ac
[ "OLDAP-2.8" ]
null
null
null
#preemptremoval.py - implements the preemption removal part of the # simplification algorithm # "enable" #B version coaleces all series of choices of the same thread and treats it #as one segment import sys import shutil import os import copy tr = os.environ.get('THRILLE_ROOT') if tr != None: sys.path.append(os....
32.461664
99
0.528368
2,221
19,899
4.660964
0.096353
0.070325
0.073029
0.081144
0.719185
0.688466
0.664219
0.637944
0.630023
0.625869
0
0.034822
0.320267
19,899
612
100
32.514706
0.730519
0.022061
0
0.754253
0
0.005671
0.118173
0.013885
0
0
0
0
0.179584
0
null
null
0.045369
0.009452
null
null
0.068053
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5c8ce839a05dcf40274941c7a481b098a22debac
3,413
py
Python
code/audioSR/fixDataset/helpFunctions/writeToTxt.py
matthijsvk/multimodalSR
1f614fb4dfbb421247077b28e14fe29268951871
[ "MIT" ]
53
2017-04-18T10:06:20.000Z
2021-12-29T21:26:07.000Z
code/audioSR/fixDataset/helpFunctions/writeToTxt.py
matthijsvk/multimodalSR
1f614fb4dfbb421247077b28e14fe29268951871
[ "MIT" ]
null
null
null
code/audioSR/fixDataset/helpFunctions/writeToTxt.py
matthijsvk/multimodalSR
1f614fb4dfbb421247077b28e14fe29268951871
[ "MIT" ]
20
2017-05-03T03:27:09.000Z
2022-03-24T07:07:45.000Z
import os def writeToTxt(lines, path): if (not os.path.exists(os.path.dirname(path))): os.makedirs(os.path.dirname(path)) file = open(path, 'w') for line in lines: writeLine(lines, line, file) file.close() def writeLine(lines, line, file): # don't write newline after last element...
72.617021
2,157
0.424846
363
3,413
3.988981
0.424242
0.024862
0.035912
0.046961
0.232044
0.232044
0.232044
0.197514
0.197514
0.197514
0
0.282844
0.241723
3,413
46
2,158
74.195652
0.276662
0.798418
0
0.105263
0
0
0.01194
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5c920ec52512875f528c1064eeae1fbce7f6c1d5
1,187
py
Python
src/grape/implements/function_set.py
technote-space/genetic-algorithms-py
a37e0a34c5970987d76fda6b14a48d9ab0579e33
[ "MIT" ]
3
2020-09-03T18:02:30.000Z
2020-09-08T18:09:38.000Z
src/grape/implements/function_set.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
7
2020-09-08T16:57:19.000Z
2022-03-12T00:51:26.000Z
src/grape/implements/function_set.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
1
2021-04-14T11:10:50.000Z
2021-04-14T11:10:50.000Z
import math import random from typing import List from ..interfaces import IFunctionSet, IFunction from .functions import Action, Perception, Start class FunctionSet(IFunctionSet): """ Description: ------------ 関数セット """ __functions: List[IFunction] def __init__(self, action_number: int,...
26.377778
82
0.652906
134
1,187
5.507463
0.298507
0.088076
0.04336
0.051491
0.113821
0.113821
0.113821
0.113821
0
0
0
0.002195
0.232519
1,187
44
83
26.977273
0.807903
0.026116
0
0.071429
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.178571
0.142857
0.642857
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
5ca186fd5961a73022a3f8d7887470d81b92b245
171
py
Python
examples/vars/d.tf.py
ryanm101/pretf
3d2fe7619ce0adc38d5f0765e993bee2fd8c4bbd
[ "MIT" ]
85
2019-06-10T21:17:39.000Z
2022-02-25T23:17:44.000Z
examples/vars/d.tf.py
ryanm101/pretf
3d2fe7619ce0adc38d5f0765e993bee2fd8c4bbd
[ "MIT" ]
59
2019-05-25T07:08:48.000Z
2021-12-20T13:26:35.000Z
examples/vars/d.tf.py
ryanm101/pretf
3d2fe7619ce0adc38d5f0765e993bee2fd8c4bbd
[ "MIT" ]
15
2019-07-06T04:42:55.000Z
2022-02-18T04:16:02.000Z
from pretf.blocks import output def pretf_blocks(var): yield output.five(value=var.five) yield output.six(value=var.six) yield output.seven(value=var.seven)
21.375
39
0.736842
27
171
4.62963
0.444444
0.264
0
0
0
0
0
0
0
0
0
0
0.152047
171
7
40
24.428571
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5cbf8c1019bb3dcefd4fb793924032af8eaf72c5
771
py
Python
initializers.py
nothingbutpassion/dldiy
53c6365fb5689b47ec62cf3bb4c3d5bde621e8f4
[ "Apache-2.0" ]
1
2018-12-24T12:15:25.000Z
2018-12-24T12:15:25.000Z
initializers.py
nothingbutpassion/dldiy
53c6365fb5689b47ec62cf3bb4c3d5bde621e8f4
[ "Apache-2.0" ]
null
null
null
initializers.py
nothingbutpassion/dldiy
53c6365fb5689b47ec62cf3bb4c3d5bde621e8f4
[ "Apache-2.0" ]
null
null
null
import numpy as np def _he_normal(shape): """ He kaiming normal initalizer A truncated normal distribution centered on 0 with "stddev = sqrt(2 / fan_in)" """ fan_in = shape[0] return np.random.randn(*shape) * np.sqrt(2.0/fan_in) def _lecun_normal(shape): """LeCun normal initializ...
24.09375
83
0.639429
106
771
4.40566
0.320755
0.06424
0.089936
0.122056
0.603854
0.423983
0.423983
0.423983
0.423983
0.423983
0
0.017361
0.252918
771
31
84
24.870968
0.793403
0.277562
0
0.3125
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.1875
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ccb82b5aad250ef865f2a4aa0f6f235d7893876
6,366
py
Python
test/record/parser/test_response_whois_ua_ua_uaepp_status_registered.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
test/record/parser/test_response_whois_ua_ua_uaepp_status_registered.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
test/record/parser/test_response_whois_ua_ua_uaepp_status_registered.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
# This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # spec/fixtures/responses/whois.ua/ua/uaepp/status_registered # # and regenerate the tests with the following script # # $ scripts/generate_tests.py # from nose.tools import * from dateutil.parser import p...
50.928
110
0.700911
862
6,366
4.836427
0.157773
0.184697
0.201487
0.099304
0.793716
0.73303
0.666827
0.37539
0.200048
0.153994
0
0.050702
0.160383
6,366
124
111
51.33871
0.72928
0.038486
0
0
1
0
0.129624
0.010311
0
0
0
0
0.020408
1
0.142857
false
0
0.030612
0
0.183673
0
0
0
0
null
0
1
0
0
1
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
5cd65563b4249209b1c01d70451c964f018d110b
879
py
Python
api/migrations/0004_auto_20190131_1541.py
salarmgh/plog
7eaa8d306924d3dfdd7f4e71dd1adc5e9093ecb5
[ "MIT" ]
1
2020-01-21T05:45:01.000Z
2020-01-21T05:45:01.000Z
api/migrations/0004_auto_20190131_1541.py
salarmgh/plog
7eaa8d306924d3dfdd7f4e71dd1adc5e9093ecb5
[ "MIT" ]
null
null
null
api/migrations/0004_auto_20190131_1541.py
salarmgh/plog
7eaa8d306924d3dfdd7f4e71dd1adc5e9093ecb5
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2019-01-31 15:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0003_commentlikes_postlikes'), ] operations = [ migrations.AddField( model_name='commentlikes', name='created...
25.852941
54
0.567691
84
879
5.77381
0.440476
0.148454
0.189691
0.22268
0.562887
0.562887
0.562887
0.562887
0.562887
0.463918
0
0.031826
0.320819
879
33
55
26.636364
0.78057
0.051195
0
0.592593
1
0
0.125
0.032452
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
5ce68a333ad0b4f28ddcc08d8fe113e8d24eb648
86
py
Python
_/chapter4-AWS/Unix/S3/createS3bucket.py
paullewallencom/hybrid-cloud-978-1-7888-3087-4
d101553fd342f420b581b87c58c7219f2b04a7c6
[ "Apache-2.0" ]
3
2018-03-27T14:34:48.000Z
2021-10-04T16:28:19.000Z
_/chapter4-AWS/Unix/S3/createS3bucket.py
paullewallencom/hybrid-cloud-978-1-7888-3087-4
d101553fd342f420b581b87c58c7219f2b04a7c6
[ "Apache-2.0" ]
null
null
null
_/chapter4-AWS/Unix/S3/createS3bucket.py
paullewallencom/hybrid-cloud-978-1-7888-3087-4
d101553fd342f420b581b87c58c7219f2b04a7c6
[ "Apache-2.0" ]
1
2021-08-27T23:51:28.000Z
2021-08-27T23:51:28.000Z
import boto3 s3 = boto3.resource('s3') s3.create_bucket(Bucket='packt-pub-bucket')
12.285714
43
0.732558
13
86
4.769231
0.615385
0
0
0
0
0
0
0
0
0
0
0.064935
0.104651
86
6
44
14.333333
0.74026
0
0
0
0
0
0.211765
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
7a36ea1e8338ba6d15dbbfd3317c00822f47d27a
1,572
py
Python
router.p4app/control_plane/arp_cache.py
build-an-internet-router/router-project
0c274bf201330fe7a571b3ed148cd8283cda1138
[ "Apache-2.0" ]
null
null
null
router.p4app/control_plane/arp_cache.py
build-an-internet-router/router-project
0c274bf201330fe7a571b3ed148cd8283cda1138
[ "Apache-2.0" ]
null
null
null
router.p4app/control_plane/arp_cache.py
build-an-internet-router/router-project
0c274bf201330fe7a571b3ed148cd8283cda1138
[ "Apache-2.0" ]
1
2021-11-03T00:28:15.000Z
2021-11-03T00:28:15.000Z
#!/usr/bin/env python # # Copyright (c) 2018 Sarah Tollman, 2021 Theo Jepsen # All rights reserved. # # This software was developed by Stanford University and the University of Cambridge Computer Laboratory # under National Science Foundation under Grant No. CNS-0855268, # the University of Cambridge Computer Laborato...
32.081633
105
0.72201
213
1,572
5.28169
0.610329
0.035556
0.039111
0.064
0.125333
0.125333
0.125333
0
0
0
0
0.02934
0.219466
1,572
48
106
32.75
0.887531
0.576972
0
0
0
0
0
0
0
0
0
0.020833
0
1
0.083333
false
0
0.416667
0
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
1
0
0
0
0
0
1
0
1
0
0
3
7a54e8f20dd766a31e7ae90508d027da12a865b3
301
py
Python
src/tequila/circuit/__init__.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
35
2021-11-07T20:53:07.000Z
2022-03-24T14:29:11.000Z
src/tequila/circuit/__init__.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
7
2022-01-18T19:00:11.000Z
2022-03-09T22:25:48.000Z
src/tequila/circuit/__init__.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
9
2021-11-16T18:03:35.000Z
2022-02-22T19:57:23.000Z
from .circuit import QCircuit from .noise import NoiseModel from .qpic import export_to from .compiler import CircuitCompiler as CircuitCompiler def compile_circuit(U, *args, **kwargs): # see CircuitCompiler documentation c = CircuitCompiler.standard_gate_set(*args, **kwargs) return c(U)
33.444444
58
0.777409
38
301
6.052632
0.631579
0.086957
0
0
0
0
0
0
0
0
0
0
0.146179
301
9
59
33.444444
0.894942
0.109635
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7a7195760da53a221c8474655af1280348d2adfa
540
py
Python
Class4/shoppingcart_pom/features/lib/pages/__init__.py
techsparksguru/python_ci_automation
65e66266fdf2c14f593c6f098a23770621faef41
[ "MIT" ]
null
null
null
Class4/shoppingcart_pom/features/lib/pages/__init__.py
techsparksguru/python_ci_automation
65e66266fdf2c14f593c6f098a23770621faef41
[ "MIT" ]
9
2020-02-13T09:14:12.000Z
2022-01-13T03:17:03.000Z
Class4/shoppingcart_pom/features/lib/pages/__init__.py
techsparksguru/python_ci_automation
65e66266fdf2c14f593c6f098a23770621faef41
[ "MIT" ]
1
2021-03-10T03:27:37.000Z
2021-03-10T03:27:37.000Z
__author__ = 'techsparksguru' from .automation_home_page import AutomationHomePage from .address_page import AddressPage from .checkout_page import CheckoutPage from .login_page import LoginPage from .order_confirmation_page import OrderConfirmationPage from .order_summary_page import OrderSummaryPage from .payment_m...
45
65
0.894444
61
540
7.540984
0.508197
0.217391
0.073913
0
0
0
0
0
0
0
0
0
0.081481
540
12
65
45
0.927419
0
0
0
0
0
0.025878
0
0
0
0
0
0
1
0
false
0
0.909091
0
0.909091
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7a74205a0948ecce44844b6474ef63968a042a2c
347
py
Python
AbstractFactory/Table/SmallTable.py
ahaile505/Python_Design_Patterns
fe68f7357a2441afe9bfb0d217e3c1fa36a8c36d
[ "MIT" ]
null
null
null
AbstractFactory/Table/SmallTable.py
ahaile505/Python_Design_Patterns
fe68f7357a2441afe9bfb0d217e3c1fa36a8c36d
[ "MIT" ]
null
null
null
AbstractFactory/Table/SmallTable.py
ahaile505/Python_Design_Patterns
fe68f7357a2441afe9bfb0d217e3c1fa36a8c36d
[ "MIT" ]
null
null
null
from .ITable import ITable class SmallTable(ITable): """The Small Table Concrete Class which implements the ITable interface""" def __init__(self): self._height = 60 self._width = 100 self._depth = 60 def dimensions(self): return {"width": self._width, "depth": self._dept...
24.785714
83
0.648415
42
347
5.119048
0.52381
0.093023
0
0
0
0
0
0
0
0
0
0.026616
0.242075
347
13
84
26.692308
0.790875
0.195965
0
0
0
0
0.058608
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7a7dab9f47c79ee6579d50723895c530565bc6c8
1,393
py
Python
pages/add_remove_elements_page.py
LarisaBarbulescu/heroku-app-selenium
a894f886229b78bffdb5c7ec803ab3f071f756ea
[ "MIT" ]
null
null
null
pages/add_remove_elements_page.py
LarisaBarbulescu/heroku-app-selenium
a894f886229b78bffdb5c7ec803ab3f071f756ea
[ "MIT" ]
null
null
null
pages/add_remove_elements_page.py
LarisaBarbulescu/heroku-app-selenium
a894f886229b78bffdb5c7ec803ab3f071f756ea
[ "MIT" ]
null
null
null
from selenium.webdriver.common.by import By class AddRemoveElementsPage: #locators TITLE_TEXT = (By.CSS_SELECTOR,'div h3') ADD_ELEMENT_BUTTON = (By.CSS_SELECTOR,'button[onclick="addElement()"]') DELETE_BUTTON = (By.CSS_SELECTOR,'button[onclick="deleteElement()"]') #GREEN_MESSAGE = (By.CLASS_NAME, ...
33.166667
81
0.718593
179
1,393
5.430168
0.424581
0.090535
0.07716
0.090535
0.259259
0.191358
0.125514
0
0
0
0
0.000867
0.171572
1,393
42
82
33.166667
0.841421
0.264178
0
0
0
0
0.122288
0.06213
0
0
0
0
0
1
0.35
false
0
0.05
0.15
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7a85c18106b71c62149946212a5d010431eed0ce
66
py
Python
exercicios/exe001.py
wendelsilva/Python
d502949040dac5b7dd7e19e59b0fb2022b2b3dab
[ "MIT" ]
null
null
null
exercicios/exe001.py
wendelsilva/Python
d502949040dac5b7dd7e19e59b0fb2022b2b3dab
[ "MIT" ]
null
null
null
exercicios/exe001.py
wendelsilva/Python
d502949040dac5b7dd7e19e59b0fb2022b2b3dab
[ "MIT" ]
null
null
null
nome = input("Digite seu nome: ") print(f'Seja Bem Vindo {nome}!')
33
33
0.666667
11
66
4
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.136364
66
2
34
33
0.77193
0
0
0
0
0
0.58209
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7a9d8efde1d06569e17f42b6dc24871f036cda77
50
py
Python
mezaext/__init__.py
PixxxeL/mezaext
7b2c437af567bd7c515ac67d2966dc7b1d41123a
[ "MIT" ]
null
null
null
mezaext/__init__.py
PixxxeL/mezaext
7b2c437af567bd7c515ac67d2966dc7b1d41123a
[ "MIT" ]
null
null
null
mezaext/__init__.py
PixxxeL/mezaext
7b2c437af567bd7c515ac67d2966dc7b1d41123a
[ "MIT" ]
null
null
null
default_app_config = 'mezaext.apps.MezaExtConfig'
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
7ab27af88c882211409b744c6ac5776946659e2d
208
py
Python
img_cache/compat.py
prdpx7/django-img-cache
4760a23d7d9a1ffd0705d5706fa4a468b9bc54c6
[ "MIT" ]
1
2020-05-16T15:45:13.000Z
2020-05-16T15:45:13.000Z
img_cache/compat.py
prdpx7/django-img-cache
4760a23d7d9a1ffd0705d5706fa4a468b9bc54c6
[ "MIT" ]
null
null
null
img_cache/compat.py
prdpx7/django-img-cache
4760a23d7d9a1ffd0705d5706fa4a468b9bc54c6
[ "MIT" ]
null
null
null
""" To maintain compatibility b/w py2 & py3 """ import sys PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 if PY2: from urllib import urlopen elif PY3: from urllib.request import urlopen
20.8
39
0.697115
34
208
4.205882
0.588235
0.13986
0.195804
0.20979
0
0
0
0
0
0
0
0.059524
0.192308
208
10
40
20.8
0.791667
0.1875
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7ab72429d04279f6387338fa3dd467eaa2859424
205
py
Python
commands/youtube_search.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
1
2019-06-07T07:10:59.000Z
2019-06-07T07:10:59.000Z
commands/youtube_search.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
null
null
null
commands/youtube_search.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
null
null
null
youtube search search_index = command.find('youtube search') + len('google search') + 1; search = command[search_index:] url = "https://www.youtube.com/results?search_query=" + search webbrowser.open(url)
34.166667
73
0.746341
28
205
5.357143
0.571429
0.173333
0
0
0
0
0
0
0
0
0
0.005405
0.097561
205
5
74
41
0.805405
0
0
0
0
0
0.35122
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
7ab90d714d5f7f4e31b3d8b36cf2f6a28205b58f
5,923
py
Python
userbot/modules/animasi11.py
RyuuXS/trans
89d5e0ab2c6c0ec68f4c0cabf5574d67f1e2a7fe
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2022-02-03T02:26:45.000Z
2022-03-28T07:24:42.000Z
userbot/modules/animasi11.py
RyuuXS/trans
89d5e0ab2c6c0ec68f4c0cabf5574d67f1e2a7fe
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2022-02-07T13:21:21.000Z
2022-02-07T13:21:21.000Z
userbot/modules/animasi11.py
RyuuXS/trans
89d5e0ab2c6c0ec68f4c0cabf5574d67f1e2a7fe
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2022-02-02T03:22:09.000Z
2022-03-22T09:07:30.000Z
# @RYUUSHINNI from userbot import CMD_HANDLER as cmd from userbot import CMD_HELP from userbot.utils import edit_or_reply, trans_cmd @trans_cmd(pattern="lonte(?: |$)(.*)") async def _(event): await edit_or_reply( event, "´´´´´████████´´\n" "´´`´███▒▒▒▒███´´´´´\n" "´´´███▒●▒▒●▒██´...
27.045662
59
0.134054
837
5,923
3.62724
0.127838
0.061924
0.20751
0.159091
0.597826
0.443017
0.427207
0.354084
0.315217
0.315217
0
0.00104
0.350836
5,923
218
60
27.169725
0.19844
0.001857
0
0.658537
0
0
0.504399
0.041117
0
0
0
0
0
1
0
true
0
0.014634
0
0.014634
0
0
0
0
null
0
1
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
0
0
0
0
0
3
8f848e9bc8fe406b16556e2da11814beea5a3e54
2,053
py
Python
src/core/python/core/model/station_limit.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/model/station_limit.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/model/station_limit.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
class StationLimit: """ Class representing a station limit, i.e., limits on change and wait time for one specific station. For details on the different parameters, see the LinTim-documentation. """ def __init__(self, stop_id: int, min_wait_time: int, max_wait_time: int, min_change_time: int, max_cha...
35.396552
121
0.647345
275
2,053
4.458182
0.214545
0.11093
0.062806
0.069331
0.176998
0.068516
0
0
0
0
0
0.005369
0.274233
2,053
57
122
36.017544
0.81745
0.218704
0
0
0
0
0
0
0
0
0
0
0
1
0.264706
false
0
0
0.176471
0.558824
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
8f999d39281d50a9652f8c70a183b264c2a3f740
126
py
Python
python/ch_09_button_test.py
huaiyang/raspberrypi_cookbook_ed3
faf63b37bf94332120f3d3a9cb31d8b0990d2f17
[ "MIT" ]
65
2018-11-23T08:52:42.000Z
2022-03-25T23:19:21.000Z
python/ch_09_button_test.py
zeitguy/raspberrypi_cookbook_ed3
bccf35ea309f493c1a45c3b96dec45dc7cebb0d9
[ "MIT" ]
1
2020-11-27T15:04:33.000Z
2020-11-27T15:04:33.000Z
python/ch_09_button_test.py
zeitguy/raspberrypi_cookbook_ed3
bccf35ea309f493c1a45c3b96dec45dc7cebb0d9
[ "MIT" ]
26
2019-07-02T16:10:37.000Z
2022-03-11T16:30:22.000Z
from gpiozero import Button import time button = Button(7) while True: if button.is_pressed: print(time.time())
14
27
0.690476
18
126
4.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0.010204
0.222222
126
8
28
15.75
0.867347
0
0
0
0
0
0
0
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
8fa6f023435ec06a406963e93ad989a7a94a8e68
166
py
Python
PythonExercicios/ex049.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
PythonExercicios/ex049.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
PythonExercicios/ex049.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
num = int(input('Digite um número para ver sua tabuada: ')) print('_' * 12) for c in range(1, 11,): print('{} x {:2} = {}'.format(num, c, num*c)) print('_' * 12)
27.666667
59
0.560241
28
166
3.25
0.75
0.153846
0
0
0
0
0
0
0
0
0
0.059701
0.192771
166
5
60
33.2
0.619403
0
0
0.4
0
0
0.331325
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3