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
bbf7913fa3a5e6a4226890ba4af6d0371010bffb
85
py
Python
BdbbuyDataCenter/Other/apps.py
LWX124/BdbbuyAnalysisCenter
504d7d1e481f99448b4a2111868eebef6fdb4432
[ "MIT" ]
null
null
null
BdbbuyDataCenter/Other/apps.py
LWX124/BdbbuyAnalysisCenter
504d7d1e481f99448b4a2111868eebef6fdb4432
[ "MIT" ]
null
null
null
BdbbuyDataCenter/Other/apps.py
LWX124/BdbbuyAnalysisCenter
504d7d1e481f99448b4a2111868eebef6fdb4432
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OtherConfig(AppConfig): name = 'Other'
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
a52ef9145d3280709860e4c8c730942fcaa05429
761
py
Python
src/config/config.py
Timothy-py/Lord-of-the-Rings-API
e5a6f8dadc2e8b403b4fa0b98e968bc9e71b339b
[ "MIT" ]
null
null
null
src/config/config.py
Timothy-py/Lord-of-the-Rings-API
e5a6f8dadc2e8b403b4fa0b98e968bc9e71b339b
[ "MIT" ]
null
null
null
src/config/config.py
Timothy-py/Lord-of-the-Rings-API
e5a6f8dadc2e8b403b4fa0b98e968bc9e71b339b
[ "MIT" ]
null
null
null
from decouple import config class Config: SECRET_KEY = config('SECRET_KEY') JWT_SECRET_KEY = config('JWT_SECRET_KEY') TESTING = False SWAGGER = { 'title': "Lord of the Rings Character API", 'uiversion': 3 } class DevConfig(Config): SQLALCHEMY_DATABASE_URI = config('SQLALCHEMY...
21.742857
63
0.70565
82
761
6.268293
0.439024
0.175097
0.20428
0.210117
0.422179
0.338521
0.338521
0.338521
0.338521
0.338521
0
0.001653
0.204993
761
34
64
22.382353
0.847934
0.017083
0
0.208333
0
0
0.193029
0.061662
0
0
0
0
0
1
0
false
0
0.041667
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
a539fd7c4c2d5fd422a0dc149c8f8faf965b5fc7
340
py
Python
src/commands/cancel.py
dinesh-0602/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-20T04:05:26.000Z
2022-03-27T17:35:47.000Z
src/commands/cancel.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
null
null
null
src/commands/cancel.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-21T14:21:46.000Z
2022-03-30T02:05:02.000Z
from src.objs import * from src.functions.keyboard import mainReplyKeyboard def cancel(message, userLanguage=None): userLanguage = userLanguage or dbSql.getSetting(message.chat.id, 'language') bot.send_message(message.chat.id, language['cancelled'][userLanguage], reply_markup=mainReplyKeyboard(message.from_use...
56.666667
142
0.805882
41
340
6.609756
0.585366
0.051661
0.095941
0.154982
0
0
0
0
0
0
0
0
0.085294
340
6
142
56.666667
0.871383
0
0
0
0
0
0.049853
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a5403e548870c7634370597e94ee7d9fc6ac1df0
6,323
py
Python
mysites/settings.py
0Jihad/lob_labs
7ff2c20b8ebfbf81fe76f41a9a1136ef33812bf4
[ "MIT" ]
null
null
null
mysites/settings.py
0Jihad/lob_labs
7ff2c20b8ebfbf81fe76f41a9a1136ef33812bf4
[ "MIT" ]
3
2020-02-11T23:26:27.000Z
2021-06-10T21:00:59.000Z
mysites/settings.py
0Jihad/lob_labs
7ff2c20b8ebfbf81fe76f41a9a1136ef33812bf4
[ "MIT" ]
null
null
null
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
34.36413
102
0.733829
721
6,323
6.262136
0.380028
0.066224
0.056478
0.031894
0.173865
0.123145
0.088594
0.075305
0.051827
0.034109
0
0.029092
0.141072
6,323
184
103
34.36413
0.802246
0.234541
0
0.082645
1
0.008264
0.583854
0.508115
0
0
0
0
0
1
0
false
0.107438
0.024793
0
0.024793
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
a567a728bc973c50feb5b85867fdc81c4b0cb922
96
py
Python
src/gluonts/model/r_forecast/__init__.py
lovvge/gluon-ts
284376138f41968bec0a4cb05b274c8ee259493a
[ "Apache-2.0" ]
2
2019-09-05T05:39:03.000Z
2020-11-08T17:07:04.000Z
src/gluonts/model/r_forecast/__init__.py
lovvge/gluon-ts
284376138f41968bec0a4cb05b274c8ee259493a
[ "Apache-2.0" ]
null
null
null
src/gluonts/model/r_forecast/__init__.py
lovvge/gluon-ts
284376138f41968bec0a4cb05b274c8ee259493a
[ "Apache-2.0" ]
null
null
null
# Relative imports from ._predictor import RForecastPredictor __all__ = ["RForecastPredictor"]
19.2
42
0.8125
8
96
9.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.114583
96
4
43
24
0.858824
0.166667
0
0
0
0
0.230769
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
a56a746bfe63fa2987bb34914d48154a2a90089b
1,781
py
Python
lightning_model.py
Ronalmoo/pytorch_lightning
38d1169e20d449db998b6ec1da1754075f08e06d
[ "MIT" ]
1
2019-10-22T06:03:07.000Z
2019-10-22T06:03:07.000Z
lightning_model.py
Ronalmoo/pytorch_lightning
38d1169e20d449db998b6ec1da1754075f08e06d
[ "MIT" ]
null
null
null
lightning_model.py
Ronalmoo/pytorch_lightning
38d1169e20d449db998b6ec1da1754075f08e06d
[ "MIT" ]
null
null
null
import os import torch from torch.nn import functional as F from torch.utils.data import DataLoader from torchvision.datasets import MNIST import torchvision.transforms as transforms import pytorch_lightning as ptl class CoolModel(ptl.LightningModule): def __init__(self): super(CoolModel, self).__init__(...
31.245614
120
0.680517
251
1,781
4.657371
0.290837
0.02053
0.017109
0.054748
0.5355
0.5355
0.5355
0.5355
0.5355
0.480753
0
0.014644
0.194834
1,781
56
121
31.803571
0.800558
0
0
0.35
0
0
0.017998
0
0
0
0
0
0
1
0.275
false
0
0.175
0.175
0.725
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
a5991543ef0f6135b25d830916623e9d008f1ba0
283
py
Python
openliveq/__init__.py
mpkato/openliveq
3b87778e57c1b4176cecce7a0282b80831ed541b
[ "MIT" ]
5
2016-11-12T16:12:04.000Z
2017-12-12T02:37:37.000Z
openliveq/__init__.py
mpkato/openliveq
3b87778e57c1b4176cecce7a0282b80831ed541b
[ "MIT" ]
1
2018-08-01T03:57:48.000Z
2018-08-01T03:57:48.000Z
openliveq/__init__.py
mpkato/openliveq
3b87778e57c1b4176cecce7a0282b80831ed541b
[ "MIT" ]
4
2017-06-29T16:34:27.000Z
2019-10-22T09:19:31.000Z
from .query import Query from .question import Question from .query_question import QueryQuestion from .clickthrough import Clickthrough from .instance import Instance from .collection import Collection from .feature_factory import FeatureFactory from .click_model import ClickModel
31.444444
43
0.858657
35
283
6.857143
0.4
0.075
0
0
0
0
0
0
0
0
0
0
0.113074
283
8
44
35.375
0.956175
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a59bb832881a118dfe7c24637336bdb9eb3a4bb0
6,701
py
Python
mathipy/math/linalg.py
BatiDyDx/maths-tools-python
e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50
[ "MIT" ]
1
2021-02-02T02:58:38.000Z
2021-02-02T02:58:38.000Z
mathipy/math/linalg.py
BatiDyDx/maths-tools-python
e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50
[ "MIT" ]
null
null
null
mathipy/math/linalg.py
BatiDyDx/maths-tools-python
e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50
[ "MIT" ]
null
null
null
import numpy as np from mathipy.math.polynomial import Polynomial from mathipy.math import trigonometry from mathipy.config import Real, Scalar ############################################################### # Linalg will be modified, adopting a different paradigm. # The idea is to migrate from objected oriented tools...
28.883621
91
0.615729
1,068
6,701
3.821161
0.241573
0.105856
0.034305
0.035285
0.254104
0.205097
0.15903
0.115413
0.06175
0.020583
0
0.00757
0.250858
6,701
231
92
29.008658
0.803984
0.364125
0
0.111111
0
0
0.086171
0
0
0
0
0
0
1
0.272727
false
0.020202
0.040404
0.10101
0.565657
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
a59d6f60e3c6d6250b1fc78b889a8acdbbdacc84
633
py
Python
memory_store.py
avinassh/caskdb
d80cacb8418f5695a84b5550adf7f38afe27e7c6
[ "MIT" ]
null
null
null
memory_store.py
avinassh/caskdb
d80cacb8418f5695a84b5550adf7f38afe27e7c6
[ "MIT" ]
null
null
null
memory_store.py
avinassh/caskdb
d80cacb8418f5695a84b5550adf7f38afe27e7c6
[ "MIT" ]
1
2022-02-10T16:34:47.000Z
2022-02-10T16:34:47.000Z
class MemoryStorage: def __init__(self) -> None: self.data: dict[str, str] = {} def set(self, key: str, value: str) -> None: self.data[key] = value def get(self, key: str) -> str: return self.data.get(key, "") def close(self) -> bool: # NOTE: ideally, I would want this...
31.65
85
0.578199
84
633
4.285714
0.630952
0.066667
0.066667
0
0
0
0
0
0
0
0
0.013483
0.296998
633
19
86
33.315789
0.795506
0.417062
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a5bb0346afa65a813408a6edd9852cefee7ce5a1
352
py
Python
src/advance_stuff/main/file1.py
paramraghavan/beginners-py-learn
120db42b3ad304915d5be172f4ebc555ef2cb405
[ "MIT" ]
null
null
null
src/advance_stuff/main/file1.py
paramraghavan/beginners-py-learn
120db42b3ad304915d5be172f4ebc555ef2cb405
[ "MIT" ]
null
null
null
src/advance_stuff/main/file1.py
paramraghavan/beginners-py-learn
120db42b3ad304915d5be172f4ebc555ef2cb405
[ "MIT" ]
null
null
null
''' Run this file as is from cp,,and line as : python file1.py ''' print("File1 __name__ = %s" % __name__) print("Full path/location for File1 __file__ = %s" % __file__) if __name__ == "__main__": print("File1 is being run directly") else: print("File1 is being imported") # Output: # File1 __name__ = __main_...
20.705882
62
0.684659
51
352
4.098039
0.509804
0.143541
0.172249
0.162679
0.220096
0
0
0
0
0
0
0.024561
0.190341
352
16
63
22
0.708772
0.34375
0
0
0
0
0.538462
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.666667
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
1
0
0
0
0
1
0
3
3c1c7c988be5f69f9891f5bb77afa4688376c5e3
175
py
Python
ppfa/runsocket.py
Goldcap/django-selenium-testing
ad6fc09eb4fd8a54d0532c4478add0753ead1d96
[ "MIT" ]
null
null
null
ppfa/runsocket.py
Goldcap/django-selenium-testing
ad6fc09eb4fd8a54d0532c4478add0753ead1d96
[ "MIT" ]
null
null
null
ppfa/runsocket.py
Goldcap/django-selenium-testing
ad6fc09eb4fd8a54d0532c4478add0753ead1d96
[ "MIT" ]
null
null
null
#!/bin/bash uwsgi --virtualenv /var/venvs/ppfa --http-socket /var/run/nginx/ws.socket --gevent 1000 --http-websockets --workers=2 --master --module ppfa.wsgi_socket& exit 0
29.166667
153
0.725714
27
175
4.666667
0.814815
0
0
0
0
0
0
0
0
0
0
0.037975
0.097143
175
5
154
35
0.759494
0.057143
0
0
0
0
0
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
3c373d224d6e606dd2eab46c20d137e33b0102da
136
py
Python
src/params.py
barisdemirdelen/generative_audio
9479399986d02807027cf86a0e40bd6d5a8109f0
[ "MIT" ]
4
2017-09-18T08:19:07.000Z
2021-07-20T12:24:21.000Z
src/params.py
barisdemirdelen/generative_audio
9479399986d02807027cf86a0e40bd6d5a8109f0
[ "MIT" ]
null
null
null
src/params.py
barisdemirdelen/generative_audio
9479399986d02807027cf86a0e40bd6d5a8109f0
[ "MIT" ]
3
2017-12-16T09:43:38.000Z
2021-03-22T09:26:25.000Z
sample_rate = 16000 content_factor = 5 * 1e-9 loudness_factor = 0 style_factor = 1 variation_factor = 0 zero_factor = 0 fft_size = 1024
17
25
0.764706
23
136
4.217391
0.73913
0.216495
0
0
0
0
0
0
0
0
0
0.141593
0.169118
136
7
26
19.428571
0.716814
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3c538e63ec219a1d8d2972c017f548f0a56bb473
1,635
py
Python
BFS/939.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
BFS/939.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
BFS/939.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
"""939. Binary Tree Kth Floor Node """ """ Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the root node @param k: an integer @return: the number of nodes in the k-th layer of the...
25.546875
69
0.469113
181
1,635
4.093923
0.281768
0.107962
0.175439
0.11336
0.607287
0.607287
0.607287
0.607287
0.607287
0.607287
0
0.01989
0.446483
1,635
63
70
25.952381
0.798895
0.108257
0
0.948718
0
0
0
0
0
0
0
0.015873
0
1
0.025641
false
0
0
0
0.179487
0
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
1
0
0
0
0
0
0
0
0
0
0
3
3c5e9cc9c3368b5d385f734f3e39c5a1b70065af
163
py
Python
code/arc064_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/arc064_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/arc064_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
N,x=map(int,input().split()) A=list(map(int,input().split()))+[0] ans=0 for i in range(N): eated=max(0,A[i]+A[i-1]-x) ans+=eated A[i]-=eated print(ans)
20.375
36
0.576687
36
163
2.611111
0.5
0.06383
0.234043
0.340426
0
0
0
0
0
0
0
0.028369
0.134969
163
8
37
20.375
0.638298
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
3c81ae1d0bc2daae16221945f8a5d8440f264a78
800
py
Python
tests/i2c.py
tmingos/pyb_ina219
7533d3f31cb1d6cb53f38a2acd63d1a819017720
[ "MIT" ]
38
2017-07-31T11:41:33.000Z
2022-03-27T22:23:07.000Z
tests/i2c.py
tmingos/pyb_ina219
7533d3f31cb1d6cb53f38a2acd63d1a819017720
[ "MIT" ]
8
2018-05-16T08:42:28.000Z
2021-10-07T08:15:12.000Z
tests/i2c.py
tmingos/pyb_ina219
7533d3f31cb1d6cb53f38a2acd63d1a819017720
[ "MIT" ]
14
2017-11-21T10:36:47.000Z
2021-12-01T17:54:08.000Z
class I2C(): def __init__(self, interfaceNo): self.interfaceNo = interfaceNo self._read_result = {} self._read_arguments = {} self._write_arguments = {} def set_readfrom_mem_result(self, register, result_bytes): self._read_result[register] = result_bytes def readfr...
33.333333
67
0.70125
91
800
5.758242
0.208791
0.091603
0.080153
0.083969
0.270992
0.129771
0
0
0
0
0
0.001575
0.20625
800
23
68
34.782609
0.823622
0
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0
0.117647
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3c877d35818266012b4de8b8d38b3f1b14979883
9,964
py
Python
release/stubs.min/Tekla/Structures/Plugins.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Tekla/Structures/Plugins.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Tekla/Structures/Plugins.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
# encoding: utf-8 # module Tekla.Structures.Plugins calls itself Plugins # from Tekla.Structures.Plugins,Version=2017.0.0.0,Culture=neutral,PublicKeyToken=2f04dbe497b71114 # by generator 1.145 # no doc # no imports # no functions # classes class AutoDirectionTypeAttribute(Attribute): """ AutoDirectionTy...
26.08377
99
0.693998
988
9,964
6.84919
0.093117
0.106399
0.063839
0.085119
0.561696
0.490616
0.469041
0.469041
0.370918
0.361164
0
0.002778
0.169209
9,964
381
100
26.152231
0.81469
0.334504
0
0.725
0
0
0
0
0
0
0
0
0
1
0.233333
false
0.233333
0
0
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b1b1f4ac79f269fafc7176f46f3981eab9fc3b2b
1,285
py
Python
rhyme_words_sc.py
yuxiqian/ping-shui-rhymes
a22bf76c2690c6b0b482934c46e3df329dbe9197
[ "MIT" ]
1
2019-02-08T13:59:09.000Z
2019-02-08T13:59:09.000Z
rhyme_words_sc.py
yuxiqian/ping-shui-rhymes
a22bf76c2690c6b0b482934c46e3df329dbe9197
[ "MIT" ]
null
null
null
rhyme_words_sc.py
yuxiqian/ping-shui-rhymes
a22bf76c2690c6b0b482934c46e3df329dbe9197
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # rhyme_words.py import rhyme_sheet_sc as rhyme_sheet class rhyme_word: chineseChar = "" polyDescript = "" mainTypeIndex = 0 isPolyphone = False secondTypeIndex = 0 def __bool__(self): return not self.chineseChar == "" def __str__(self): return s...
30.595238
185
0.664591
121
1,285
6.785124
0.297521
0.073082
0.116931
0.063337
0.292326
0.292326
0.292326
0.292326
0.292326
0.292326
0
0.004098
0.240467
1,285
41
186
31.341463
0.83709
0.028016
0
0.068966
0
0
0.020064
0
0
0
0
0
0
1
0.206897
false
0
0.034483
0.137931
0.655172
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
b1bab36204dfa33ddca5b49b69fb1a7472c2b875
130
py
Python
bench/fib_rec.py
maaku/forthy2
7ee996ff25830f45e14d7dac29933f45b0fb6175
[ "MIT" ]
53
2019-10-20T00:56:59.000Z
2021-02-18T20:30:16.000Z
bench/fib_rec.py
codr7/cidk
be88b548077484710edee11fbab5ef590de64fd1
[ "MIT" ]
2
2019-10-28T11:02:10.000Z
2020-06-28T20:10:22.000Z
bench/fib_rec.py
codr7/cidk
be88b548077484710edee11fbab5ef590de64fd1
[ "MIT" ]
6
2019-10-28T10:55:59.000Z
2021-02-18T20:30:18.000Z
from bench import bench print(bench(10, ''' def fib(n): if n < 2: return n return fib(n-1) + fib(n-2) ''', ''' fib(20) '''))
13
28
0.546154
24
130
2.958333
0.541667
0.169014
0
0
0
0
0
0
0
0
0
0.067961
0.207692
130
9
29
14.444444
0.621359
0
0
0
0
0
0.553846
0
0
0
0
0
0
1
0
true
0
0.125
0
0.25
0.125
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
b1bbe4224dd90ca99f800c4a4f5003e0d550f52d
57
py
Python
flaco/__init__.py
milesgranger/flaco
de55fc4ec09bd364e6bd58a45e230b1d79425c56
[ "MIT", "Unlicense" ]
5
2021-10-14T10:20:36.000Z
2022-03-23T05:18:32.000Z
flaco/__init__.py
milesgranger/flaco
de55fc4ec09bd364e6bd58a45e230b1d79425c56
[ "MIT", "Unlicense" ]
null
null
null
flaco/__init__.py
milesgranger/flaco
de55fc4ec09bd364e6bd58a45e230b1d79425c56
[ "MIT", "Unlicense" ]
null
null
null
__version__ = "0.5.1" from .io import read_sql, Database
19
34
0.736842
10
57
3.7
1
0
0
0
0
0
0
0
0
0
0
0.061224
0.140351
57
2
35
28.5
0.693878
0
0
0
0
0
0.087719
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
b1c6bedb135db01cc169358898597c1281539b64
563
py
Python
xdoctest/docstr/__init__.py
MatsLanGoH/xdoctest
65282fdf58b1d4dd82f5f241dba5a2b45c264a60
[ "Apache-2.0" ]
142
2018-01-11T16:44:16.000Z
2022-03-30T12:33:59.000Z
xdoctest/docstr/__init__.py
MatsLanGoH/xdoctest
65282fdf58b1d4dd82f5f241dba5a2b45c264a60
[ "Apache-2.0" ]
113
2017-12-19T21:01:10.000Z
2022-03-25T15:41:15.000Z
xdoctest/docstr/__init__.py
MatsLanGoH/xdoctest
65282fdf58b1d4dd82f5f241dba5a2b45c264a60
[ "Apache-2.0" ]
8
2019-09-06T18:15:21.000Z
2022-03-24T14:21:55.000Z
from xdoctest.docstr import docscrape_google from xdoctest.docstr.docscrape_google import (parse_google_argblock, parse_google_args, parse_google_retblock, parse_google_returns, ...
46.916667
76
0.541741
45
563
6.177778
0.311111
0.316547
0.129496
0.172662
0.654676
0.654676
0.654676
0.654676
0.654676
0.654676
0
0
0.404973
563
11
77
51.181818
0.829851
0
0
0
0
0
0.207815
0.113677
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
b1e846b15ccb1fa025198001eeeb17459c69ebf8
240
py
Python
server/musicroom/paths/loader.py
asrient/musicroom
5b19e4a958fb856551f8be5616bc7b01e2f6dc07
[ "BSD-3-Clause" ]
1
2021-01-09T14:36:39.000Z
2021-01-09T14:36:39.000Z
server/musicroom/paths/loader.py
asrient/musicroom
5b19e4a958fb856551f8be5616bc7b01e2f6dc07
[ "BSD-3-Clause" ]
null
null
null
server/musicroom/paths/loader.py
asrient/musicroom
5b19e4a958fb856551f8be5616bc7b01e2f6dc07
[ "BSD-3-Clause" ]
2
2021-01-25T05:54:21.000Z
2022-03-14T23:40:24.000Z
from django.http import HttpResponse from django.shortcuts import render, redirect def loader(request, **args): res = render(request, args['page']+'.html', {'header': { 'is_loggedin': False, 'is_empty': True}}) return res
26.666667
60
0.675
30
240
5.333333
0.733333
0.125
0
0
0
0
0
0
0
0
0
0
0.175
240
8
61
30
0.808081
0
0
0
0
0
0.141667
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
59022618748795f809a5d1675202ba91bd913d0d
412
py
Python
ensembl_metadata/api/assembly/serializers.py
Ensembl/ensembl-metadata-admin
c59e10fd546018f6faa768e09f9fcf80115d35c1
[ "Apache-2.0" ]
null
null
null
ensembl_metadata/api/assembly/serializers.py
Ensembl/ensembl-metadata-admin
c59e10fd546018f6faa768e09f9fcf80115d35c1
[ "Apache-2.0" ]
1
2021-09-23T13:25:32.000Z
2021-09-23T15:00:06.000Z
ensembl_metadata/api/assembly/serializers.py
Ensembl/ensembl-metadata-admin
c59e10fd546018f6faa768e09f9fcf80115d35c1
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from ensembl_metadata.models.assembly import Assembly, AssemblySequence class AssemblySerializer(serializers.ModelSerializer): class Meta: model = Assembly exclude = ['assembly_id'] class AssemblySequenceSerializer(serializers.ModelSerializer): class Me...
27.466667
71
0.752427
37
412
8.243243
0.513514
0.170492
0.203279
0.229508
0.262295
0
0
0
0
0
0
0
0.179612
412
14
72
29.428571
0.902367
0
0
0.2
0
0
0.09466
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
592043c01b73fc0b9ea97885d7c0c5ddac967adf
227
py
Python
Zeta/Base/Models/__init__.py
Seniatical/Zeta
2984c9fb6dd6ac9a20453fa20e020dee733e3c48
[ "Apache-2.0" ]
1
2021-01-18T02:25:45.000Z
2021-01-18T02:25:45.000Z
Zeta/Base/Models/__init__.py
Seniatical/Zeta
2984c9fb6dd6ac9a20453fa20e020dee733e3c48
[ "Apache-2.0" ]
1
2021-02-05T12:42:29.000Z
2021-02-05T12:42:30.000Z
Zeta/Base/Models/__init__.py
Seniatical/Zeta
2984c9fb6dd6ac9a20453fa20e020dee733e3c48
[ "Apache-2.0" ]
null
null
null
''' Somebody write up a copyright notice please... ''' from .Encryption_Patterns import * from .Model1 import Sen from .Model2 import Ceaser from .Model3 import Morse __models__ = ( 'Sen', 'Ceaser', 'Morse' )
16.214286
47
0.669604
27
227
5.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0.016949
0.220264
227
13
48
17.461538
0.813559
0.202643
0
0
0
0
0.0875
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5922ce86f6eb44bef19feb030ff1ece9ed80cf7c
1,330
py
Python
dataset_creation/params.py
saileshpatnala/discharge_summary_generation
8a7b27f475e8d0572f1466f54d32f07809a2b2d9
[ "MIT" ]
null
null
null
dataset_creation/params.py
saileshpatnala/discharge_summary_generation
8a7b27f475e8d0572f1466f54d32f07809a2b2d9
[ "MIT" ]
null
null
null
dataset_creation/params.py
saileshpatnala/discharge_summary_generation
8a7b27f475e8d0572f1466f54d32f07809a2b2d9
[ "MIT" ]
null
null
null
class Params: DATA_PATH = '../data/mimic-iii-clinical-database-1.4/NOTEEVENTS.csv' # Table attributes HADM_ID_STR = 'HADM_ID' CATEGORY_STR = 'CATEGORY' DESCRIPTION_STR = 'DESCRIPTION' TEXT_STR = 'TEXT' STORETIME_STR = 'STORETIME' # Category attribute - table values DISCHARGE_SUM...
39.117647
112
0.695489
144
1,330
5.993056
0.305556
0.225956
0.2781
0.053302
0
0
0
0
0
0
0
0.001907
0.211278
1,330
33
113
40.30303
0.820782
0.037594
0
0
0
0
0.290424
0.042386
0
0
0
0
0
1
0
false
0
0
0
0.92
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
593d4987bba1660d508d726f768d882f1f770312
202
py
Python
dataset/qa/__init__.py
whatc0de/CFN-maste
ec3d1f5c8ee2c50eeaac96eca28f349fd9b92403
[ "MIT" ]
2
2020-12-30T08:50:25.000Z
2022-03-04T07:53:14.000Z
dataset/qa/__init__.py
whatc0de/CFN-maste
ec3d1f5c8ee2c50eeaac96eca28f349fd9b92403
[ "MIT" ]
1
2022-03-04T07:06:18.000Z
2022-03-04T07:06:18.000Z
dataset/qa/__init__.py
whatc0de/CFN-maste
ec3d1f5c8ee2c50eeaac96eca28f349fd9b92403
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import numpy as np from .data_reader import DataReader def setup(opt): reader = DataReader(opt) res = opt.get_parameter_list() return reader
11.222222
35
0.643564
27
202
4.703704
0.740741
0
0
0
0
0
0
0
0
0
0
0.006667
0.257426
202
17
36
11.882353
0.84
0.10396
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
593de8263f4788cd06b672465e1d72355e88b22a
3,949
py
Python
libraries/exhibitions/migrations/0007_exhib_videopause.py
cca/libraries_wagtail
f0baf62d0418ea5bb548c082aa84966aca363e56
[ "ECL-2.0" ]
9
2017-12-19T21:15:23.000Z
2022-03-23T08:11:52.000Z
libraries/exhibitions/migrations/0007_exhib_videopause.py
cca/libraries_wagtail
f0baf62d0418ea5bb548c082aa84966aca363e56
[ "ECL-2.0" ]
140
2017-07-12T00:09:53.000Z
2021-11-02T17:30:43.000Z
libraries/exhibitions/migrations/0007_exhib_videopause.py
cca/libraries_wagtail
f0baf62d0418ea5bb548c082aa84966aca363e56
[ "ECL-2.0" ]
3
2017-08-21T10:47:34.000Z
2020-08-20T14:04:18.000Z
# Generated by Django 2.1.7 on 2019-04-09 23:51 import categories.models from django.db import migrations, models import django.db.models.deletion import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('exhibitions', '0...
116.147059
2,732
0.704229
465
3,949
5.946237
0.335484
0.111392
0.159855
0.086799
0.574322
0.574322
0.574322
0.540326
0.540326
0.540326
0
0.010759
0.105596
3,949
33
2,733
119.666667
0.771801
0.011395
0
0.222222
1
0.074074
0.310866
0.040236
0.037037
0
0
0
0
1
0
false
0
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3cd07b9e6df7505facad43e9a3cb0bbc631213e3
846
py
Python
src/networks/kernelconstraints.py
CSMMLab/neuralEntropyClosures
5efc5961f2fac36921a749d35f3636c61d1cc873
[ "MIT" ]
4
2021-09-23T07:21:23.000Z
2021-12-24T11:35:39.000Z
src/networks/kernelconstraints.py
ScSteffen/neuralEntropyClosures
5efc5961f2fac36921a749d35f3636c61d1cc873
[ "MIT" ]
null
null
null
src/networks/kernelconstraints.py
ScSteffen/neuralEntropyClosures
5efc5961f2fac36921a749d35f3636c61d1cc873
[ "MIT" ]
null
null
null
""" Brief: classes that overwrite kernel.constraints from tensorflow Author: Steffen Schotthöfer Date: 10.08.2021 """ import tensorflow as tf class AbsWeightConstraint(tf.keras.constraints.Constraint): """ Applies the absolute value to weights """ def __init__(self): self.ref_value = 0.0 ...
22.864865
99
0.673759
117
846
4.598291
0.452991
0.074349
0.066915
0.104089
0.223048
0.156134
0.156134
0.156134
0.156134
0.156134
0
0.01506
0.21513
846
36
100
23.5
0.795181
0.237589
0
0.4
0
0
0.029654
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.266667
0.866667
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
3cd8e437482cdd4091fe33b07fb5ceff3a9e9fdb
192
py
Python
ModularER_2D/gym_rem2D/__init__.py
FrankVeenstra/gym_rem2D
ea295e6398054c023c88df88d9c70f5486061207
[ "MIT" ]
27
2020-07-15T10:43:02.000Z
2021-04-15T15:01:12.000Z
ModularER_2D/gym_rem2D/__init__.py
FrankVeenstra/gym_rem2D
ea295e6398054c023c88df88d9c70f5486061207
[ "MIT" ]
3
2021-06-08T22:44:19.000Z
2021-09-15T08:50:44.000Z
ModularER_2D/gym_rem2D/__init__.py
FrankVeenstra/gym_rem2D
ea295e6398054c023c88df88d9c70f5486061207
[ "MIT" ]
6
2020-07-22T01:25:49.000Z
2021-09-21T12:07:31.000Z
#!/usr/bin/env python from gym.envs.registration import register register(id="Modular2DLocomotion-v0", entry_point="gym_rem2D.envs:Modular2D", max_episode_steps=240 * 20)
21.333333
48
0.71875
25
192
5.36
0.88
0
0
0
0
0
0
0
0
0
0
0.05625
0.166667
192
8
49
24
0.78125
0.104167
0
0
0
0
0.270588
0.270588
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
3ce41f51fd3688cda7deb25c40279f2c023dabf1
1,380
py
Python
.venv/lib/python3.8/site-packages/beakerx/magics/tests/mocks.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
2
2020-12-14T14:16:07.000Z
2020-12-18T14:57:22.000Z
.venv/lib/python3.8/site-packages/beakerx/magics/tests/mocks.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
39
2020-07-20T09:14:44.000Z
2022-02-27T11:23:17.000Z
.venv/lib/python3.8/site-packages/beakerx/magics/tests/mocks.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
5
2020-08-30T06:01:01.000Z
2021-05-14T15:12:17.000Z
# Copyright 2018 TWO SIGMA OPEN SOURCE, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
23.793103
74
0.721739
180
1,380
5.388889
0.611111
0.061856
0.034021
0.03299
0
0
0
0
0
0
0
0.008249
0.20942
1,380
57
75
24.210526
0.880843
0.410145
0
0.269231
0
0
0.0175
0
0
0
0
0
0
1
0.384615
false
0.269231
0.076923
0.076923
0.692308
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
3ce4a73636f83a154eeba533867617de7ace6090
430
py
Python
src/docker_composer/runner/cmd/unpause.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
4
2021-01-18T11:35:24.000Z
2021-08-30T16:19:39.000Z
src/docker_composer/runner/cmd/unpause.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
null
null
null
src/docker_composer/runner/cmd/unpause.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
1
2022-02-19T10:38:59.000Z
2022-02-19T10:38:59.000Z
# DO NOT EDIT: Autogenerated by src/docker_composer/_utils/generate_class.py # for docker-compose version 1.25.0, build unknown from typing import List, Optional import attr from docker_composer.base import DockerBaseRunner @attr.s(auto_attribs=True) class DockerComposeUnpause(DockerBaseRunner): """ Unpaus...
19.545455
76
0.723256
53
430
5.735849
0.754717
0.092105
0
0
0
0
0
0
0
0
0
0.011268
0.174419
430
21
77
20.47619
0.84507
0.397674
0
0
1
0
0.029536
0
0
0
0
0
0
1
0
true
0
0.428571
0
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3cebc514eabacc15c95e442f377c0f58fd1660dc
150
py
Python
Info/googlemaps.py
Captn0bv10us1/DeadTrap
9ab619d4ac67c7abf5e26c07639b9fd2f3f2fb17
[ "MIT" ]
17
2021-04-05T10:52:12.000Z
2022-03-11T10:17:20.000Z
Info/googlemaps.py
Captn0bv10us1/DeadTrap
9ab619d4ac67c7abf5e26c07639b9fd2f3f2fb17
[ "MIT" ]
null
null
null
Info/googlemaps.py
Captn0bv10us1/DeadTrap
9ab619d4ac67c7abf5e26c07639b9fd2f3f2fb17
[ "MIT" ]
6
2021-05-10T06:20:01.000Z
2022-03-28T15:59:57.000Z
import urllib import requests from bs4 import BeautifulSoup def maps(location): URL = f"https://www.google.com/maps?q={location}" return URL
18.75
53
0.733333
22
150
5
0.772727
0
0
0
0
0
0
0
0
0
0
0.007937
0.16
150
7
54
21.428571
0.865079
0
0
0
0
0
0.266667
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a71a019a1b89d8881c3638c076b6c3273a845429
33,429
py
Python
tests/content_tests/base_cases/base_content_case.py
ikostan/ParaBankSeleniumAutomation
e28a886adba89b82a60831ad96a3a8f00f863116
[ "Unlicense" ]
4
2019-08-12T19:36:58.000Z
2021-09-14T18:48:27.000Z
tests/content_tests/base_cases/base_content_case.py
ikostan/ParaBankSeleniumAutomation
e28a886adba89b82a60831ad96a3a8f00f863116
[ "Unlicense" ]
1
2021-06-02T00:01:00.000Z
2021-06-02T00:01:00.000Z
tests/content_tests/base_cases/base_content_case.py
ikostan/ParaBankSeleniumAutomation
e28a886adba89b82a60831ad96a3a8f00f863116
[ "Unlicense" ]
2
2019-08-12T10:06:00.000Z
2020-12-25T05:52:40.000Z
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ import allure import unittest from utils.step_definition import step_definition from expected_results.page_content.base_page_content import BasePageContent class BaseContentCase(unittest.TestCase): ...
42.155107
110
0.622424
3,499
33,429
5.741926
0.033438
0.051764
0.046688
0.084117
0.937733
0.85053
0.721368
0.562391
0.415709
0.222587
0
0.00008
0.251548
33,429
792
111
42.208333
0.802918
0.01059
0
0.379888
0
0
0.183617
0
0
0
0
0
0
1
0.047486
false
0.03352
0.011173
0
0.061453
0
0
0
0
null
0
0
0
1
1
1
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
a71ad15753a2aaf41ce28a0be273ddf7f64acc1d
37
py
Python
src/info.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
src/info.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
src/info.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
APPNAME = 'PDFCon' VERSION = '1.0.0'
12.333333
18
0.621622
6
37
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.096774
0.162162
37
2
19
18.5
0.645161
0
0
0
0
0
0.297297
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
a73b393252dbb8c65d2c4a51534c19b693da0f15
3,826
py
Python
black/settings.py
sansaralab/black
1bfd3e137ce59cfc9116b3a0b75bee20e2fc2e18
[ "MIT" ]
null
null
null
black/settings.py
sansaralab/black
1bfd3e137ce59cfc9116b3a0b75bee20e2fc2e18
[ "MIT" ]
1
2016-04-18T09:52:46.000Z
2017-03-13T07:26:50.000Z
black/settings.py
sansaralab/black
1bfd3e137ce59cfc9116b3a0b75bee20e2fc2e18
[ "MIT" ]
null
null
null
""" Django settings for black project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os impo...
25.171053
91
0.689754
419
3,826
6.188544
0.422434
0.080216
0.059391
0.067489
0.203239
0.177786
0.123024
0.10297
0.046278
0
0
0.014286
0.176686
3,826
151
92
25.337748
0.808889
0.257449
0
0
1
0
0.524131
0.424414
0
0
0
0
0
1
0
false
0.077778
0.044444
0
0.044444
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
5951e10399f0ceda2e9a3688cac416378f12d76f
118
py
Python
setup.py
bjoern1001001/viziphant
1a63e0dbbae9d69173ed482771227d2970a95a80
[ "BSD-3-Clause" ]
null
null
null
setup.py
bjoern1001001/viziphant
1a63e0dbbae9d69173ed482771227d2970a95a80
[ "BSD-3-Clause" ]
null
null
null
setup.py
bjoern1001001/viziphant
1a63e0dbbae9d69173ed482771227d2970a95a80
[ "BSD-3-Clause" ]
null
null
null
from distutils.core import setup setup(name='viziphant', version='0.0.1', packages=['viziphant'] )
16.857143
32
0.618644
14
118
5.214286
0.785714
0
0
0
0
0
0
0
0
0
0
0.032967
0.228814
118
6
33
19.666667
0.769231
0
0
0
0
0
0.194915
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
595eaa6e49d914fbd11c7439ffe4b7078e95aaad
191
py
Python
mutual_information/scikitlearn_example.py
fanshaoze/ML-algos
5353e9908e4c3929788a69ecf4a1e84e887fc8df
[ "MIT" ]
336
2017-06-11T14:13:41.000Z
2022-03-28T12:22:59.000Z
mutual_information/scikitlearn_example.py
fanshaoze/ML-algos
5353e9908e4c3929788a69ecf4a1e84e887fc8df
[ "MIT" ]
6
2017-11-02T11:20:03.000Z
2019-12-31T08:03:47.000Z
mutual_information/scikitlearn_example.py
fanshaoze/ML-algos
5353e9908e4c3929788a69ecf4a1e84e887fc8df
[ "MIT" ]
171
2017-06-11T14:37:50.000Z
2022-03-28T06:56:43.000Z
#!/usr/bin/env python import numpy as np from sklearn.metrics import mutual_info_score x = np.array([2, 2, 3, 2]) y = np.array([1, 2, 4, 2]) result = mutual_info_score(x, y) print(result)
17.363636
45
0.685864
37
191
3.432432
0.621622
0.15748
0.23622
0.251969
0
0
0
0
0
0
0
0.049689
0.157068
191
10
46
19.1
0.73913
0.104712
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
59678a1aa9ef74024b2911cfd46369ffead0d330
394
py
Python
mamba/k8s/environment/commands.py
ninhpham0902/akc-mamba
3454b8365d69a4c5f543f71760a495296fa0a5e8
[ "MIT" ]
7
2020-04-22T02:35:24.000Z
2022-01-16T17:14:01.000Z
mamba/k8s/environment/commands.py
ninhpham0902/akc-mamba
3454b8365d69a4c5f543f71760a495296fa0a5e8
[ "MIT" ]
9
2020-04-07T09:11:08.000Z
2020-12-29T02:35:12.000Z
mamba/k8s/environment/commands.py
ninhpham0902/akc-mamba
3454b8365d69a4c5f543f71760a495296fa0a5e8
[ "MIT" ]
7
2020-07-30T02:27:14.000Z
2022-02-13T09:58:55.000Z
import click import os from os.path import expanduser from settings import settings from utils import hiss def env(): hiss.rattle('Create environment for network') excute = expanduser('~/.akachain/akc-mamba/mamba/k8s/environment/setup.sh') os.system(excute) return True @click.command('environment', ...
21.888889
79
0.741117
52
394
5.596154
0.557692
0.116838
0.137457
0.185567
0
0
0
0
0
0
0
0.002994
0.152284
394
17
80
23.176471
0.868263
0
0
0
0
0
0.312183
0.13198
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
598d477810ea147c2c2456258efc59e4c1298979
246
py
Python
python/playground/count_chars.py
juancarlosqr/datascience
2e4d78365b059a3e501e988bee53970ac0d718fc
[ "MIT" ]
null
null
null
python/playground/count_chars.py
juancarlosqr/datascience
2e4d78365b059a3e501e988bee53970ac0d718fc
[ "MIT" ]
null
null
null
python/playground/count_chars.py
juancarlosqr/datascience
2e4d78365b059a3e501e988bee53970ac0d718fc
[ "MIT" ]
null
null
null
#!/usr/bin/env python def main(): mystring = 'hello' char_count = dict() for char in mystring: count = char_count.get(char, 0) count += 1 char_count[char] = count print char_count if __name__ == "__main__": main()
15.375
37
0.613821
34
246
4.088235
0.558824
0.323741
0.201439
0
0
0
0
0
0
0
0
0.010929
0.256098
246
16
38
15.375
0.748634
0.081301
0
0
0
0
0.057522
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
599a3175af36d7ec76567ff5ffb2de8b55c87def
62
py
Python
aioface/config.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
1
2020-09-12T21:10:54.000Z
2020-09-12T21:10:54.000Z
aioface/config.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
null
null
null
aioface/config.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
null
null
null
GRAPH_API_URL = 'https://graph.facebook.com/v8.0/me/messages'
31
61
0.758065
11
62
4.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0.033898
0.048387
62
1
62
62
0.728814
0
0
0
0
0
0.693548
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
59b5ed9adf884de127c68384f08e6a670dcf9013
642
py
Python
src/airfly/_vendor/airflow/providers/google/cloud/transfers/gcs_to_gcs.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
7
2021-09-27T11:38:48.000Z
2022-02-01T06:06:24.000Z
src/airfly/_vendor/airflow/providers/google/cloud/transfers/gcs_to_gcs.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
src/airfly/_vendor/airflow/providers/google/cloud/transfers/gcs_to_gcs.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
# Auto generated by 'inv collect-airflow' from airfly._vendor.airflow.models.baseoperator import BaseOperator class GCSToGCSOperator(BaseOperator): source_bucket: "_empty" source_object: "_empty" source_objects: "_empty" destination_bucket: "_empty" destination_object: "_empty" delimiter: "_em...
30.571429
76
0.735202
73
642
5.986301
0.616438
0.075515
0.050343
0
0
0
0
0
0
0
0
0
0.165109
642
20
77
32.1
0.815299
0.060748
0
0
1
0
0.221298
0.034942
0
0
0
0
0
1
0
true
0
0.058824
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
ab6c9024edaf4f54b3cb2610d665b47bbadab8c1
384
py
Python
example/example/models.py
skies-io/django-rest-api
98d96e71f5a15a51c078678f069c5cb8a7aa5c51
[ "MIT" ]
3
2015-03-21T23:00:17.000Z
2016-04-26T07:37:41.000Z
example/example/models.py
skies-io/django-rest-api
98d96e71f5a15a51c078678f069c5cb8a7aa5c51
[ "MIT" ]
5
2015-08-17T07:44:16.000Z
2020-06-05T17:00:44.000Z
example/example/models.py
skies-io/django-rest-api
98d96e71f5a15a51c078678f069c5cb8a7aa5c51
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models class User(models.Model): email = models.EmailField(max_length=64, unique=True) password = models.CharField(max_length=128) class Project(models.Model): owner = models.ForeignKey(User) contributors = models.ManyToManyField(User, related_name='pro...
25.6
84
0.734375
48
384
5.770833
0.583333
0.097473
0.129964
0.173285
0.194946
0
0
0
0
0
0
0.027356
0.143229
384
14
85
27.428571
0.81459
0.054688
0
0
0
0
0.055402
0
0
0
0
0
0
1
0
false
0.125
0.125
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
ab91f0e8b9b9fc191b28f1b94a6aa301130e426a
989
py
Python
src/sst/selftests/by_xpath.py
DramaFever/sst
63d41a102c9d3bdb54019f28a93cff0314a0214f
[ "Apache-2.0" ]
4
2015-01-21T22:20:50.000Z
2017-12-18T11:38:16.000Z
src/sst/selftests/by_xpath.py
DramaFever/sst
63d41a102c9d3bdb54019f28a93cff0314a0214f
[ "Apache-2.0" ]
63
2015-01-13T19:32:06.000Z
2020-04-22T17:01:03.000Z
src/sst/selftests/by_xpath.py
wbdl/sst
7a2805391fdd390ecb0f488f8377f58381358c89
[ "Apache-2.0" ]
null
null
null
import sst import sst.actions # xpath locator tests # # see: http://seleniumhq.org/docs/appendix_locating_techniques.html sst.actions.set_base_url('http://localhost:%s/' % sst.DEVSERVER_PORT) sst.actions.go_to('/') sst.actions.get_element_by_xpath("//p[contains(@class, 'unique_class')]") sst.actions.get_element_by_...
29.969697
75
0.73003
146
989
4.650685
0.328767
0.220913
0.191458
0.147275
0.665685
0.665685
0.63623
0.488954
0.434462
0.238586
0
0.003297
0.079879
989
32
76
30.90625
0.742857
0.085945
0
0.227273
0
0
0.328889
0
0
0
0
0
0.136364
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
3
aba55d0373e70431f5b2d979f63e375fdf06635e
188
py
Python
tests/config/test_db.py
realizeme/sqlalchemy-for-service-layer
84bf1a6c8c5312db370ea2b6aa2a01a522bca37e
[ "MIT" ]
null
null
null
tests/config/test_db.py
realizeme/sqlalchemy-for-service-layer
84bf1a6c8c5312db370ea2b6aa2a01a522bca37e
[ "MIT" ]
null
null
null
tests/config/test_db.py
realizeme/sqlalchemy-for-service-layer
84bf1a6c8c5312db370ea2b6aa2a01a522bca37e
[ "MIT" ]
null
null
null
from app.config.db import Settings def test_pass_get_db_config(): # when setting = Settings() # then assert setting.host is not None assert setting.port is not None
17.090909
35
0.691489
28
188
4.5
0.678571
0.206349
0.142857
0
0
0
0
0
0
0
0
0
0.244681
188
10
36
18.8
0.887324
0.047872
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
false
0.2
0.2
0
0.4
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
1
0
0
0
0
0
3
abc138ae8fa4f7de6f9b1ab65459ac822c9c4b9f
161
py
Python
TR/methods/ClearUsernameCache.py
EndermanXqw/password-generator
d5262b6c60c3fc03bb340d2e5166f3d171c47181
[ "Apache-2.0" ]
null
null
null
TR/methods/ClearUsernameCache.py
EndermanXqw/password-generator
d5262b6c60c3fc03bb340d2e5166f3d171c47181
[ "Apache-2.0" ]
null
null
null
TR/methods/ClearUsernameCache.py
EndermanXqw/password-generator
d5262b6c60c3fc03bb340d2e5166f3d171c47181
[ "Apache-2.0" ]
null
null
null
from methods.Application import *; def ClearUsernameCache(log): with open(log, "w") as i: App("'%(fileOne)s' dosyası temizlendi!" % { "fileOne": log })
32.2
64
0.652174
20
161
5.25
0.85
0
0
0
0
0
0
0
0
0
0
0
0.173913
161
5
64
32.2
0.789474
0
0
0
0
0
0.259494
0
0
0
0
0
0
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
abc78efec2b97683ab9c5c9e943dba8de5cf5132
1,295
py
Python
ruro/basics.py
osoken/ruro
5fc61b96cbd2065e18fcf18db8d94510dd6432c3
[ "MIT" ]
2
2021-07-19T07:06:05.000Z
2021-07-19T07:25:47.000Z
ruro/basics.py
osoken/ruro
5fc61b96cbd2065e18fcf18db8d94510dd6432c3
[ "MIT" ]
2
2021-07-21T12:09:39.000Z
2021-07-21T12:12:27.000Z
ruro/basics.py
osoken/ruro
5fc61b96cbd2065e18fcf18db8d94510dd6432c3
[ "MIT" ]
null
null
null
from collections.abc import Callable, Iterable from typing import Union, cast, overload, Optional from ruro.base import ( BaseEntry, BaseIterableEntry, BasePipeline, BaseIterablePipeline, BaseExit, S, T, ) class Constant(BaseEntry[T]): def __init__(self, value: T) -> None: sel...
22.719298
68
0.641699
164
1,295
4.841463
0.243902
0.079345
0.06927
0.070529
0.236776
0.236776
0.108312
0.108312
0.108312
0.108312
0
0.000999
0.227027
1,295
56
69
23.125
0.792208
0
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.052632
0.078947
0.131579
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
abdcebb51b0c2da46291baabda113946415e7ed2
1,805
py
Python
os3_rll/tests/operations/challenge/test_process_completed_challenge_args.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/tests/operations/challenge/test_process_completed_challenge_args.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/tests/operations/challenge/test_process_completed_challenge_args.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
from os3_rll.tests import OS3RLLTestCase from os3_rll.operations.challenge import process_completed_challenge_args from os3_rll.models.challenge import ChallengeException class TestProcessCompletedChallengeArgs(OS3RLLTestCase): def test_process_completed_challenge_args_returns_a_tuple_of_four_values(self): ...
50.138889
110
0.769529
237
1,805
5.489451
0.316456
0.184473
0.28824
0.334358
0.569562
0.568793
0.538048
0.205995
0.205995
0.113759
0
0.033225
0.149584
1,805
35
111
51.571429
0.814332
0
0
0.074074
0
0
0.061496
0
0
0
0
0
0.37037
1
0.259259
false
0.037037
0.111111
0
0.407407
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
abfd8c26578eb3bf7a33d15873f5ca6518c2b712
660
py
Python
6_kyu/Detect Pangram.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
6_kyu/Detect Pangram.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
6_kyu/Detect Pangram.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
"""A pangram is a sentence that contains every single letter of the alphabet at least once. For example, the sentence "The quick brown fox jumps over the lazy dog" is a pangram, because it uses the letters A-Z at least once (case is irrelevant). Given a string, detect whether or not it is a pangram. Return True if it ...
22
117
0.706061
105
660
4.419048
0.571429
0.051724
0.047414
0
0
0
0
0
0
0
0
0.003906
0.224242
660
29
118
22.758621
0.902344
0.587879
0
0
0
0
0.098113
0.098113
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e6160183cb8b77f312bec0160b909cd30a875c78
1,566
py
Python
tests.py
expressionsofchange/nerf1
13ec152be5831eb5db4a8385afcd55435f2ada49
[ "MIT" ]
5
2018-05-17T16:57:12.000Z
2021-09-14T00:53:48.000Z
tests.py
expressionsofchange/nerf1
13ec152be5831eb5db4a8385afcd55435f2ada49
[ "MIT" ]
null
null
null
tests.py
expressionsofchange/nerf1
13ec152be5831eb5db4a8385afcd55435f2ada49
[ "MIT" ]
null
null
null
import unittest import doctest import channel import spacetime import nerdspace import vlq import utils import s_address import vim from dsn.viewports import utils as viewports_utils def load_tests(loader, tests, ignore): # Test the docstrings inside our actual codebase tests.addTests(doctest.DocTestSuite(u...
37.285714
114
0.789911
196
1,566
6.122449
0.311224
0.184167
0.283333
0.24
0.393333
0.393333
0.285833
0.285833
0.201667
0.106667
0
0
0.110473
1,566
41
115
38.195122
0.86145
0.098978
0
0
0
0
0.215199
0.209517
0
0
0
0
0
1
0.032258
false
0
0.322581
0
0.387097
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
e6464451b982aca48e05251308d55989ace2947e
530
py
Python
flight/states/start.py
pieperm/IARC-2020
a90bfe830ea2ceced59e8f2e7b54862dda42f5a3
[ "MIT" ]
12
2019-10-10T22:17:45.000Z
2021-09-14T23:54:02.000Z
flight/states/start.py
pieperm/IARC-2020
a90bfe830ea2ceced59e8f2e7b54862dda42f5a3
[ "MIT" ]
178
2019-10-29T16:28:02.000Z
2021-07-26T17:15:31.000Z
flight/states/start.py
pieperm/IARC-2020
a90bfe830ea2ceced59e8f2e7b54862dda42f5a3
[ "MIT" ]
6
2019-10-09T00:20:27.000Z
2021-09-28T00:24:00.000Z
"""The first state of competition, starts the takeoff state""" from mavsdk import System from .state import State from .takeoff import Takeoff from .simple_takeoff import SimpleTakeoff class Start(State): """The starting state of the flight state machine""" async def run(self, drone: System) -> State: ...
29.444444
68
0.722642
69
530
5.478261
0.42029
0.071429
0.134921
0
0
0
0
0
0
0
0
0
0.2
530
17
69
31.176471
0.891509
0.19434
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e64c647ed021a640d3f71f6d6f77d3f8eddffa96
407
py
Python
tests/conftest.py
eatfirst/python-tuco
47e58a3ebaf3f7e8ac3e2ba18dfaf9ce993f82db
[ "MIT" ]
8
2018-01-05T15:25:45.000Z
2018-02-19T02:41:43.000Z
tests/conftest.py
eatfirst/python-tuco
47e58a3ebaf3f7e8ac3e2ba18dfaf9ce993f82db
[ "MIT" ]
7
2018-01-04T15:51:32.000Z
2021-04-28T21:54:57.000Z
tests/conftest.py
eatfirst/python-tuco
47e58a3ebaf3f7e8ac3e2ba18dfaf9ce993f82db
[ "MIT" ]
null
null
null
"""Test configuration.""" import os import pytest @pytest.fixture() def dont_run_in_appveyor(): """Test if the app is not on AppVeyor.""" if is_running_in_appveyor(): pytest.skip("This test does not work on appveyor") return True def is_running_in_appveyor(): """Check if the AppVeyor envir...
21.421053
60
0.675676
57
407
4.666667
0.54386
0.112782
0.082707
0.142857
0
0
0
0
0
0
0
0
0.189189
407
18
61
22.611111
0.806061
0.260442
0
0
0
0
0.164912
0
0
0
0
0
0
1
0.222222
true
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
05105591bc6d0f0c3f2ba62c0e744b8f1ea826e1
440
py
Python
project/properties/bases/component_properties.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
project/properties/bases/component_properties.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
project/properties/bases/component_properties.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
""" Component properties configuration. """ from project.models.property_model import PropertyModel from project.models.header_model import HeaderModel from project.enums import property_types_enum as prop_type from project.enums import string_types_enum as str_type from typing import Union from project.properties.exte...
31.428571
77
0.85
56
440
6.482143
0.446429
0.151515
0.093664
0.121212
0
0
0
0
0
0
0
0
0.093182
440
13
78
33.846154
0.909774
0.079545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
052587c3ec5bc8f51336af093fa8b1aa784383e7
13,598
py
Python
migrations/versions/6400ca70539d_.py
xxiaocheng/flask_douban_moive_web
fb1e88eccee1140d215ef8f1f789f215b1b3c2cf
[ "MIT" ]
2
2020-10-12T04:09:24.000Z
2021-12-31T06:24:36.000Z
migrations/versions/6400ca70539d_.py
xxiaocheng/flask_douban_moive_web
fb1e88eccee1140d215ef8f1f789f215b1b3c2cf
[ "MIT" ]
1
2020-10-12T04:16:10.000Z
2021-11-23T03:25:43.000Z
migrations/versions/6400ca70539d_.py
xxiaocheng/flask_douban_moive_web
fb1e88eccee1140d215ef8f1f789f215b1b3c2cf
[ "MIT" ]
2
2019-10-28T14:33:08.000Z
2020-10-07T09:53:04.000Z
"""empty message Revision ID: 6400ca70539d Revises: Create Date: 2020-02-03 21:13:56.346449 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = "6400ca70539d" down_revision = None branch_labels = None depends_on = None def upg...
46.251701
87
0.632887
1,621
13,598
5.144972
0.094386
0.104556
0.102398
0.110312
0.809592
0.777578
0.718225
0.656715
0.591727
0.556835
0
0.007908
0.19091
13,598
293
88
46.409556
0.750136
0.020738
0
0.507246
0
0
0.188192
0.019956
0
0
0
0
0
1
0.007246
false
0.003623
0.01087
0
0.018116
0
0
0
0
null
0
0
0
1
1
1
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
0540af457d4f99d4eb3e538b7fddafe630eb27bf
376
py
Python
pgm_multiplication17.py
ishabalu/trial2
2be09f6148bcf4e9b42dbf996244bbd0ac19a2fd
[ "bzip2-1.0.6" ]
null
null
null
pgm_multiplication17.py
ishabalu/trial2
2be09f6148bcf4e9b42dbf996244bbd0ac19a2fd
[ "bzip2-1.0.6" ]
null
null
null
pgm_multiplication17.py
ishabalu/trial2
2be09f6148bcf4e9b42dbf996244bbd0ac19a2fd
[ "bzip2-1.0.6" ]
null
null
null
Python 3.7.0b4 (v3.7.0b4:eb96c37699, May 2 2018, 19:02:22) [MSC v.1913 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> === RESTART: C:\Users\Isha\AppData\Local\Programs\Python\Python37\pgm2.py === 17 * 1 = 17 17 * 2 = 34 17 * 3 = 51 17 * 4 = 68 17 * 5 = 85 17 * 6 = 102 17...
23.5
96
0.601064
71
376
3.183099
0.774648
0.035398
0
0
0
0
0
0
0
0
0
0.322034
0.215426
376
15
97
25.066667
0.444068
0
0
0.133333
0
0
0.066489
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
05438ff9036557e08b01b2674843b1528d376473
637
py
Python
EasyVision/processors/__init__.py
foxis/EasyVision
ffb2ce1a93fdace39c6bcc13c8ae518cec76919e
[ "MIT", "BSD-3-Clause" ]
7
2018-12-27T07:45:31.000Z
2021-06-17T03:49:15.000Z
EasyVision/processors/__init__.py
itohio/EasyVision
de6a4bb9160cd08278ae9c5738497132a4cd3202
[ "MIT", "BSD-3-Clause" ]
null
null
null
EasyVision/processors/__init__.py
itohio/EasyVision
de6a4bb9160cd08278ae9c5738497132a4cd3202
[ "MIT", "BSD-3-Clause" ]
3
2019-08-21T03:36:56.000Z
2021-10-08T16:12:53.000Z
# -*- coding: utf-8 -*- from .base import Features, KeyPoint from .featureextractor import FeatureExtraction, FeatureMatchingMixin from .blobextractor import BlobExtraction, Blobs from .calibratedcamera import CalibratedCamera, PinholeCamera from .calibratedstereocamera import CalibratedStereoCamera, StereoCamera from...
42.466667
72
0.866562
56
637
9.857143
0.517857
0
0
0
0
0
0
0
0
0
0
0.00173
0.092622
637
14
73
45.5
0.953287
0.032967
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
054cec93702753f0945b61148de2e901c2f31354
2,230
py
Python
01/foxdot/foxdot_song1_api.py
kuroobicode/textmusic
d452cfbe9480bdab1ba9ddf9b4cd324a83e5fd88
[ "MIT" ]
null
null
null
01/foxdot/foxdot_song1_api.py
kuroobicode/textmusic
d452cfbe9480bdab1ba9ddf9b4cd324a83e5fd88
[ "MIT" ]
null
null
null
01/foxdot/foxdot_song1_api.py
kuroobicode/textmusic
d452cfbe9480bdab1ba9ddf9b4cd324a83e5fd88
[ "MIT" ]
null
null
null
# controll ####################################################### Clock.bpm = 120 Scale.default = Scale.major # ptn1 ####################################################### b1 >> bass([(0,7,0),3], dur=[0.25,0.5, 2], amp=((0.5,0.1,0.7), 1), pan=(-1,1)) b1.stop() mp1note = [7, 2, 5, 3, 2, 0] mp1dur = [1.5, 3, 1.5, ...
18.898305
82
0.452018
443
2,230
2.275395
0.17833
0.049603
0.035714
0.053571
0.315476
0.231151
0.21131
0.193452
0.193452
0.165675
0
0.223328
0.188789
2,230
117
83
19.059829
0.333886
0.081614
0
0.208955
0
0
0.016547
0
0
0
0
0
0
0
null
null
0
0
null
null
0.044776
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
055885841cdadffcfa348761b196c6ffcae48575
226
py
Python
src/octopus_energy_client/__init__.py
ChristopherJohnston/octopus_energy
5e6c92a2f3365247f5640a7bf1631915c2e22aab
[ "MIT" ]
1
2022-01-16T21:42:14.000Z
2022-01-16T21:42:14.000Z
src/octopus_energy_client/__init__.py
ChristopherJohnston/octopus_energy
5e6c92a2f3365247f5640a7bf1631915c2e22aab
[ "MIT" ]
5
2022-01-16T19:12:46.000Z
2022-03-31T21:06:12.000Z
src/octopus_energy_client/__init__.py
ChristopherJohnston/octopus_energy
5e6c92a2f3365247f5640a7bf1631915c2e22aab
[ "MIT" ]
null
null
null
from .client import OctopusEnergy from .enums import ResourceType, ChargeType, Aggregate from .util import iso_format __all__ = [ "OctopusEnergy", "ResourceType", "ChargeType", "Aggregate", "iso_format" ]
18.833333
54
0.707965
22
226
7
0.545455
0.285714
0.402597
0
0
0
0
0
0
0
0
0
0.19469
226
11
55
20.545455
0.846154
0
0
0
0
0
0.238938
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
057ae449caa031c0b6d3788ed64f93dca05b97c6
671
py
Python
django_rq/workers.py
lechup/django-rq
5873bac13ee61c82731e222bafa02f0a6afa8fee
[ "MIT" ]
null
null
null
django_rq/workers.py
lechup/django-rq
5873bac13ee61c82731e222bafa02f0a6afa8fee
[ "MIT" ]
null
null
null
django_rq/workers.py
lechup/django-rq
5873bac13ee61c82731e222bafa02f0a6afa8fee
[ "MIT" ]
1
2017-06-07T16:03:35.000Z
2017-06-07T16:03:35.000Z
from rq import Worker from rq.utils import import_attribute from .queues import get_queues from .settings import EXCEPTION_HANDLERS def get_exception_handlers(): """ Custom exception handlers could be defined in settings.py: RQ = { 'EXCEPTION_HANDLERS': ['path.to.handler'], } """ retu...
25.807692
70
0.682563
82
671
5.402439
0.414634
0.268623
0.090293
0.103837
0
0
0
0
0
0
0
0.001942
0.232489
671
25
71
26.84
0.858252
0.250373
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.454545
0
0.818182
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
05875aeb45cef44b56e23f69e9ec3328f6611bfd
206,036
py
Python
pypsbuilder/psbuilders.py
johnytian/pypsbuilder
6e7a279ae9789c79d11d45e7026abe70170934b4
[ "MIT" ]
null
null
null
pypsbuilder/psbuilders.py
johnytian/pypsbuilder
6e7a279ae9789c79d11d45e7026abe70170934b4
[ "MIT" ]
null
null
null
pypsbuilder/psbuilders.py
johnytian/pypsbuilder
6e7a279ae9789c79d11d45e7026abe70170934b4
[ "MIT" ]
null
null
null
"""Visual pseudosection builder for THERMOCALC.""" # author: Ondrej Lexa # website: petrol.natur.cuni.cz/~ondro import sys import os try: import cPickle as pickle except ImportError: import pickle import gzip from pathlib import Path from datetime import datetime import itertools from pkg_resources import res...
50.710313
187
0.513842
21,093
206,036
4.937657
0.056986
0.015727
0.030648
0.012367
0.781527
0.739453
0.703553
0.682583
0.668891
0.642717
0
0.008899
0.376594
206,036
4,062
188
50.722797
0.801953
0.038221
0
0.698588
0
0.000282
0.056551
0.000612
0.000565
0
0
0.000492
0
1
0.040678
false
0.001977
0.016667
0.00452
0.076836
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
5553f81f56176da93829bdbab53eec2d12ee2159
53
py
Python
davan/http/service/withing/__init__.py
davandev/davanserver
0be914268c8e34d4092251508bae213cff3ef621
[ "MIT" ]
null
null
null
davan/http/service/withing/__init__.py
davandev/davanserver
0be914268c8e34d4092251508bae213cff3ef621
[ "MIT" ]
null
null
null
davan/http/service/withing/__init__.py
davandev/davanserver
0be914268c8e34d4092251508bae213cff3ef621
[ "MIT" ]
null
null
null
''' Created on 11 juni 2017 @author: Wilma '''
8.833333
24
0.566038
7
53
4.285714
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.283019
53
5
25
10.6
0.631579
0.735849
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5554c3d53c3450bacdf33abecb551692bc1c2d9f
1,422
py
Python
tests.py
Vianpyro/minecraft_with_python
7b6d203bf900eae3ffa4f4929f6fe0ef2bd8fe76
[ "MIT" ]
1
2021-07-31T01:05:26.000Z
2021-07-31T01:05:26.000Z
tests.py
Vianpyro/minecraft_with_python
7b6d203bf900eae3ffa4f4929f6fe0ef2bd8fe76
[ "MIT" ]
null
null
null
tests.py
Vianpyro/minecraft_with_python
7b6d203bf900eae3ffa4f4929f6fe0ef2bd8fe76
[ "MIT" ]
null
null
null
import minecraft_with_python as mcwpy import unittest import os class Tests(unittest.TestCase): def test_class_datapack_path(self): # Check that the path always ends with a path separator ("/") or nothing ("") self.assertEqual(mcwpy.Datapack(path='').path, '') self.assertEqual(mcwpy...
47.4
94
0.690577
171
1,422
5.578947
0.263158
0.157233
0.209644
0.18239
0.589099
0.469602
0.422432
0.246331
0.246331
0.246331
0
0.001681
0.16315
1,422
29
95
49.034483
0.8
0.052743
0
0
0
0
0.110942
0
0
0
0
0
0.565217
1
0.173913
false
0
0.130435
0
0.347826
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
5572dfa73d0411b6ebb1f8fa3f5746adc810d94f
1,973
py
Python
pywincffi/core/typesbase.py
opalmer/pycffiwin32
39210182a92e93c37a9f1c644fd5fcc1aa32f6d1
[ "MIT" ]
10
2015-11-19T12:39:50.000Z
2021-02-21T20:15:29.000Z
pywincffi/core/typesbase.py
opalmer/pycffiwin32
39210182a92e93c37a9f1c644fd5fcc1aa32f6d1
[ "MIT" ]
109
2015-06-15T05:03:33.000Z
2018-01-14T10:18:48.000Z
pywincffi/core/typesbase.py
opalmer/pycffiwin32
39210182a92e93c37a9f1c644fd5fcc1aa32f6d1
[ "MIT" ]
8
2015-07-29T04:18:27.000Z
2018-11-02T17:15:40.000Z
""" Types Base ========== Provides the base types on top of which user visible types will be built. """ # pylint: disable=too-few-public-methods class CFFICDataWrapper(object): """ Base class for exposing Python types and interfaces to pywincffi users: * Wraps a CFFI cdata object in self._cdata. * D...
32.344262
78
0.646731
243
1,973
4.979424
0.452675
0.066942
0.027273
0.033058
0.057851
0.057851
0
0
0
0
0
0
0.27775
1,973
60
79
32.883333
0.849123
0.524075
0
0.095238
0
0
0.006897
0
0
0
0
0
0
1
0.238095
false
0.047619
0
0.142857
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
55780f6c9e8d1999e48149ce366f8263177aebad
915
py
Python
utils/stathat.py
Ecotrust/formhub
05033bb5aa152cc2cbcd7382c2c999d82b2c3276
[ "BSD-2-Clause" ]
1
2015-03-16T20:47:29.000Z
2015-03-16T20:47:29.000Z
utils/stathat.py
Ecotrust/formhub
05033bb5aa152cc2cbcd7382c2c999d82b2c3276
[ "BSD-2-Clause" ]
1
2016-11-22T13:08:58.000Z
2016-11-22T13:08:58.000Z
utils/stathat.py
Ecotrust/formhub
05033bb5aa152cc2cbcd7382c2c999d82b2c3276
[ "BSD-2-Clause" ]
3
2015-03-20T03:54:17.000Z
2022-02-15T00:45:04.000Z
import urllib import urllib2 class StatHat: def http_post(self, path, data): pdata = urllib.urlencode(data) req = urllib2.Request('http://api.stathat.com' + path, pdata) resp = urllib2.urlopen(req) return resp.read() def post_value(self,...
39.782609
97
0.580328
118
915
4.305085
0.271186
0.07874
0.07874
0.141732
0.429134
0.248032
0.165354
0.165354
0.165354
0.165354
0
0.004511
0.273224
915
22
98
41.590909
0.759399
0
0
0
0
0
0.091803
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.25
0.8125
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
55831fe0013d7c5c2ea758ee2bfa3524a86dca8b
106
py
Python
chapter8/todo_list/todo/controllers/__init__.py
qiujiajin/todo-list
9d0dcc0d1f2b87dd497fec9afa81d592c7312041
[ "MIT" ]
11
2020-06-20T14:03:47.000Z
2021-05-21T07:46:06.000Z
chapter8/todo_list/todo/controllers/__init__.py
qiujiajin/todo-list
9d0dcc0d1f2b87dd497fec9afa81d592c7312041
[ "MIT" ]
2
2020-07-11T08:34:52.000Z
2022-02-15T13:28:34.000Z
chapter8/todo_list/todo/controllers/__init__.py
qiujiajin/todo-list
9d0dcc0d1f2b87dd497fec9afa81d592c7312041
[ "MIT" ]
10
2020-06-21T05:11:49.000Z
2022-02-14T12:18:02.000Z
from . import todo, static, auth routes = { **todo.routes, **static.routes, **auth.routes, }
13.25
32
0.584906
12
106
5.166667
0.5
0.322581
0
0
0
0
0
0
0
0
0
0
0.245283
106
7
33
15.142857
0.775
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
55850973f3d24c780e0259711c8dee2f9e0e85c2
631
py
Python
heroku_helper.py
imDivu/HerokuControler
8f87b0061c5847995e5c6aa121740c8101890ec6
[ "MIT" ]
1
2020-12-03T15:23:06.000Z
2020-12-03T15:23:06.000Z
heroku_helper.py
imdivu/HinataControler
8f87b0061c5847995e5c6aa121740c8101890ec6
[ "MIT" ]
null
null
null
heroku_helper.py
imdivu/HinataControler
8f87b0061c5847995e5c6aa121740c8101890ec6
[ "MIT" ]
1
2021-01-02T05:49:46.000Z
2021-01-02T05:49:46.000Z
import heroku3 from config import Config client = heroku3.from_key(Config.HEROKU_API_KEY) class HerokuHelper: def __init__(self,appName,apiKey): self.API_KEY = apiKey self.APP_NAME = appName self.client = self.getClient() self.app = self.client.apps()[self.APP_NAME] def getCli...
23.37037
52
0.654517
83
631
4.819277
0.337349
0.105
0.105
0.085
0
0
0
0
0
0
0
0.006224
0.236133
631
26
53
24.269231
0.823651
0
0
0
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0.105263
0.210526
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e94da31f45deb149a5fcec330b638d9a2fc31d63
6,830
py
Python
tests/test_testconfig.py
wojole/pytest-testconfig
820f33044d1f00c1237eebe4274d5b0898521b5b
[ "Apache-2.0" ]
12
2019-10-07T22:17:45.000Z
2022-02-01T16:31:35.000Z
tests/test_testconfig.py
wojole/pytest-testconfig
820f33044d1f00c1237eebe4274d5b0898521b5b
[ "Apache-2.0" ]
6
2019-01-16T18:18:13.000Z
2021-03-09T08:08:13.000Z
tests/test_testconfig.py
wojole/pytest-testconfig
820f33044d1f00c1237eebe4274d5b0898521b5b
[ "Apache-2.0" ]
8
2019-02-27T19:46:34.000Z
2020-11-21T02:58:29.000Z
# -*- coding: utf-8 -*- import os def test_tc_file_from_ini(testdir): """Test for parsing configuration from ini file.""" testdir_path = os.getcwd() # create a temporary ini configuration file testdir.makefile(".ini", example_cfg=""" # INI [myapp_servers1] main_server = 10.1.1.1 seco...
27.540323
88
0.579209
802
6,830
4.74813
0.150873
0.014706
0.015756
0.017069
0.764443
0.722164
0.648109
0.648109
0.607143
0.607143
0
0.020846
0.304685
6,830
247
89
27.651822
0.781007
0.200439
0
0.359375
0
0
0.464799
0.138889
0
0
0
0
0.046875
1
0.054688
false
0.054688
0.007813
0
0.0625
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e958ae45539c285cf2c490f985457d151462d702
28
py
Python
Scheduler/__init__.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
2
2018-07-04T06:10:33.000Z
2021-09-27T19:18:58.000Z
Scheduler/__init__.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
2
2016-10-17T00:31:32.000Z
2016-10-30T20:47:08.000Z
Scheduler/__init__.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
null
null
null
__author__ = 'marcopereira'
14
27
0.785714
2
28
9
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.72
0
0
0
0
0
0.428571
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
e98fa496288b0f8b831d8bf78ee1f9fab7965f67
3,905
py
Python
tests/cases/issues/test_issue_151.py
broglep-work/python-pytest-cases
4976c0073a2fad5fbe5de34a5d1199efda0b7da9
[ "BSD-3-Clause" ]
213
2018-07-05T21:21:21.000Z
2022-03-22T04:54:53.000Z
tests/cases/issues/test_issue_151.py
broglep-work/python-pytest-cases
4976c0073a2fad5fbe5de34a5d1199efda0b7da9
[ "BSD-3-Clause" ]
259
2018-06-22T16:46:33.000Z
2022-03-23T19:39:15.000Z
tests/cases/issues/test_issue_151.py
broglep-work/python-pytest-cases
4976c0073a2fad5fbe5de34a5d1199efda0b7da9
[ "BSD-3-Clause" ]
27
2019-03-26T12:46:49.000Z
2022-02-21T16:56:23.000Z
import sys import itertools import pytest from pytest_cases.common_pytest_marks import has_pytest_param from pytest_cases import parametrize_with_cases, case, get_case_id @pytest.fixture def barToFoo(): pass @case(id="simple") def case_depends_on_fixture(barToFoo): inputs = ["foo", "bar"] request_dat...
35.5
136
0.764405
551
3,905
5.001815
0.176044
0.111756
0.160377
0.103774
0.763062
0.734761
0.676705
0.535922
0.486938
0.458273
0
0.002939
0.128809
3,905
109
137
35.825688
0.807172
0.096543
0
0.285714
0
0
0.24808
0.150782
0
0
0
0
0.028571
1
0.228571
false
0.171429
0.071429
0.014286
0.342857
0
0
0
0
null
0
0
0
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
1
0
1
0
0
0
0
0
3
e9bb6a64e1e58093b316862584fda1866b4f6625
1,247
py
Python
xview3/centernet/models/necks.py
BloodAxe/xView3-The-First-Place-Solution
9a9600e7dfbaa24ff5a72c81061fbbbfed865847
[ "MIT" ]
39
2022-01-11T05:20:29.000Z
2022-03-09T10:35:47.000Z
xview3/centernet/models/necks.py
DIUx-xView/xView3_first_place
63a594601bf71a96909230d31097dca790b40ff2
[ "MIT" ]
1
2022-03-07T09:50:22.000Z
2022-03-07T09:50:22.000Z
xview3/centernet/models/necks.py
BloodAxe/xView3-The-First-Place-Solution
9a9600e7dfbaa24ff5a72c81061fbbbfed865847
[ "MIT" ]
4
2022-01-14T16:14:02.000Z
2022-02-22T02:17:33.000Z
import collections from typing import List, Dict from pytorch_toolbelt.modules import FPNFuse from torch import nn, Tensor __all__ = ["TensorAtIndex", "PickTensors", "HyperColumnNeck"] class TensorAtIndex(nn.Module): def __init__(self, channels: List[int], index: int = 0): super().__init__() self...
32.815789
107
0.68324
154
1,247
5.285714
0.311688
0.058968
0.040541
0.055283
0.283784
0.283784
0.283784
0.240786
0.115479
0
0
0.00497
0.193264
1,247
37
108
33.702703
0.804175
0
0
0.185185
0
0
0.031275
0
0
0
0
0
0
1
0.222222
false
0
0.148148
0.111111
0.592593
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
e9d1562055706238f8eb92c3ed2f06f0ec1cd5a9
151
py
Python
pre_commit_hooks/commit-msg.py
cristianu0612/pre-commit
9993d9113e24f87cae4e3a2a321efa4dce2aa68e
[ "MIT" ]
null
null
null
pre_commit_hooks/commit-msg.py
cristianu0612/pre-commit
9993d9113e24f87cae4e3a2a321efa4dce2aa68e
[ "MIT" ]
null
null
null
pre_commit_hooks/commit-msg.py
cristianu0612/pre-commit
9993d9113e24f87cae4e3a2a321efa4dce2aa68e
[ "MIT" ]
null
null
null
#!/bin/bash MSG="$1" if ! grep -qE "updated" "$MSG";then cat "$MSG" echo "Your commit message must contain the word 'updated'" exit 1 fi
15.1
62
0.609272
24
151
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.017391
0.238411
151
9
63
16.777778
0.782609
0.066225
0
0
0
0
0.485714
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
e9d420b689c71df7b8a69a54c4ebe49faa0d1005
562
py
Python
python_base/lists.py
RuigerS/Tuturials
2169f778161933b2739608c3613a684bacdaef80
[ "MIT" ]
null
null
null
python_base/lists.py
RuigerS/Tuturials
2169f778161933b2739608c3613a684bacdaef80
[ "MIT" ]
1
2021-01-03T11:38:43.000Z
2021-01-03T11:38:43.000Z
python_base/lists.py
RuigerS/Tuturials
2169f778161933b2739608c3613a684bacdaef80
[ "MIT" ]
null
null
null
import os #clear the screen os.system('cls') ################################################### my_name="Tim" nums=[1,2,3,4] first_names=["John","Bob",nums,my_name, "Mary", 41] print(first_names) print(first_names[3]) print(first_names[2][2]) first_names[0]="Tina" print(first_names[0]) del first_names[0] del first...
20.071429
51
0.603203
83
562
3.879518
0.385542
0.465839
0.326087
0.124224
0.403727
0.279503
0
0
0
0
0
0.028736
0.071174
562
28
52
20.071429
0.588123
0.080071
0
0.166667
0
0
0.060386
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.444444
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
758e78ce701fa94ccdf944c61c8dd39f63c1702a
3,945
py
Python
news/settings.py
QUDUSKUNLE/OPEN-API
7bdf31af5fa99c0b054f5dd9dff478c8900d3cac
[ "MIT" ]
null
null
null
news/settings.py
QUDUSKUNLE/OPEN-API
7bdf31af5fa99c0b054f5dd9dff478c8900d3cac
[ "MIT" ]
3
2020-02-11T23:16:23.000Z
2021-06-10T21:33:02.000Z
news/settings.py
QUDUSKUNLE/OPEN-API
7bdf31af5fa99c0b054f5dd9dff478c8900d3cac
[ "MIT" ]
null
null
null
""" Django settings for news project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os impor...
26.125828
91
0.69962
445
3,945
6.044944
0.4
0.072491
0.057249
0.065056
0.208922
0.178067
0.120074
0.099257
0.04461
0
0
0.010303
0.163498
3,945
151
92
26.125828
0.804848
0.258048
0
0
1
0
0.528926
0.420455
0
0
0
0
0
1
0
false
0.065934
0.021978
0
0.021978
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
75a8d04c092538fae27f5c37bb3c808d8e91cbd0
881
py
Python
components/books/migrations/0006_auto_20200416_0330.py
minhhh-0927/brs
cce586c460340a7ce88c92ad6dfb6b33f68b934e
[ "MIT" ]
null
null
null
components/books/migrations/0006_auto_20200416_0330.py
minhhh-0927/brs
cce586c460340a7ce88c92ad6dfb6b33f68b934e
[ "MIT" ]
9
2021-03-19T01:56:51.000Z
2022-03-12T00:24:30.000Z
components/books/migrations/0006_auto_20200416_0330.py
minhhh-0927/brs
cce586c460340a7ce88c92ad6dfb6b33f68b934e
[ "MIT" ]
3
2020-04-19T04:50:28.000Z
2020-07-13T00:48:17.000Z
# Generated by Django 3.0.5 on 2020-04-16 03:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('books', '0005_book_price'), ] operations = [ migrations.AlterField( model_name='book', name='is_activate', ...
25.911765
52
0.568672
80
881
6.1375
0.4625
0.162933
0.203666
0.236253
0.568228
0.568228
0.568228
0.568228
0.470468
0.470468
0
0.03172
0.320091
881
33
53
26.69697
0.78798
0.051078
0
0.592593
1
0
0.127098
0
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
75c5aec6a80f90cadf0b02f6c3ddcd377eb2df40
58
py
Python
cache.py
paulo-raca/emdec-gtfs
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
8
2015-03-20T02:47:32.000Z
2021-11-06T12:18:33.000Z
cache.py
paulo-raca/Emdec-GTransit
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
null
null
null
cache.py
paulo-raca/Emdec-GTransit
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
4
2015-03-23T22:52:38.000Z
2021-01-05T14:34:49.000Z
import aiocache cache = aiocache.SqliteCache("cache.db")
14.5
40
0.775862
7
58
6.428571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.103448
58
3
41
19.333333
0.865385
0
0
0
0
0
0.137931
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
75f7ad40ee601baeab6936bc42534690c1776f6c
186
py
Python
Basics/media_aritmetica.py
RodrigoFranciozi/Learning-Python
ef4f7dc934ff6a2d82414d6b7fca3c968506dd52
[ "MIT" ]
null
null
null
Basics/media_aritmetica.py
RodrigoFranciozi/Learning-Python
ef4f7dc934ff6a2d82414d6b7fca3c968506dd52
[ "MIT" ]
null
null
null
Basics/media_aritmetica.py
RodrigoFranciozi/Learning-Python
ef4f7dc934ff6a2d82414d6b7fca3c968506dd52
[ "MIT" ]
null
null
null
n1 = float(input("Insira o primeiro valor: ")) n2 = float(input("Insira o segundo valor: ")) media = (n1 + n2) / 2 print('A média entre {} e {} é igual a {:.1f}: '.format(n1,n2,media))
31
69
0.612903
31
186
3.677419
0.645161
0.175439
0.280702
0.298246
0
0
0
0
0
0
0
0.052288
0.177419
186
6
69
31
0.69281
0
0
0
0
0
0.475936
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
75f91b2fd29e6e6efe22fe6491a657c6f3142ae6
1,528
py
Python
buoy/client/device/common/exceptions.py
redmic-project/device-oag-buoy-buoy-client
d1644a8a1de63671c8757155333370385f2f02ec
[ "MIT" ]
null
null
null
buoy/client/device/common/exceptions.py
redmic-project/device-oag-buoy-buoy-client
d1644a8a1de63671c8757155333370385f2f02ec
[ "MIT" ]
2
2021-03-25T23:09:49.000Z
2021-06-02T00:44:01.000Z
buoy/client/device/common/exceptions.py
redmic-project/device-oag-buoy-buoy-client
d1644a8a1de63671c8757155333370385f2f02ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datetime import datetime, timezone from buoy.client.notification.common import NotificationLevel class DeviceBaseException(Exception): def __init__(self, message, exception: Exception, level=NotificationLevel.LOW, **kwargs): self.proccess = kwargs.pop('proccess', None) ...
41.297297
119
0.732984
150
1,528
7.226667
0.3
0.166052
0.138376
0.166052
0.595941
0.595941
0.595941
0.443727
0.357011
0.357011
0
0.000775
0.155759
1,528
36
120
42.444444
0.839535
0.013743
0
0.26087
0
0
0.053156
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0
0.521739
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
75fbd820d4bf717f48c66ab63b66afa6b1235c01
998
py
Python
dataStructures/binary_tree.py
CharlieShelbourne/algos_practice
bf32a739a9ab88f177461057fededb42e2d7fe10
[ "MIT" ]
null
null
null
dataStructures/binary_tree.py
CharlieShelbourne/algos_practice
bf32a739a9ab88f177461057fededb42e2d7fe10
[ "MIT" ]
null
null
null
dataStructures/binary_tree.py
CharlieShelbourne/algos_practice
bf32a739a9ab88f177461057fededb42e2d7fe10
[ "MIT" ]
null
null
null
class Node: def __init__(self,name): self.name = name self.left = None self.right = None self.visit = False def insert(self, name): if name < self.name: if self.left is None: self.left = Node(name) else: self.le...
24.341463
39
0.561122
124
998
4.33871
0.177419
0.234201
0.301115
0.195167
0.466543
0.345725
0.189591
0.189591
0.189591
0.189591
0
0
0.346693
998
41
40
24.341463
0.825153
0
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0
0
0.205882
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
f92e8ed0ed93938b18ffa115861b7832b39cd7c5
179
py
Python
hw/globals.py
fuzzyklein/hw-4.2.0
76a7fcae40c60f18b067d0f51ee70d7a578ffea0
[ "Apache-2.0" ]
null
null
null
hw/globals.py
fuzzyklein/hw-4.2.0
76a7fcae40c60f18b067d0f51ee70d7a578ffea0
[ "Apache-2.0" ]
null
null
null
hw/globals.py
fuzzyklein/hw-4.2.0
76a7fcae40c60f18b067d0f51ee70d7a578ffea0
[ "Apache-2.0" ]
null
null
null
""" Define some global variables to be accessed from different modules. """ from pathlib import Path BASEDIR = Path(__file__).parent.parent PROGRAM = BASEDIR.stem.split('-')[0]
25.571429
75
0.743017
24
179
5.375
0.833333
0
0
0
0
0
0
0
0
0
0
0.006452
0.134078
179
6
76
29.833333
0.825806
0.374302
0
0
0
0
0.009615
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
f99151ba9f5ded36dd735024a1d181e41b6b8a5b
1,203
py
Python
tests/bench.py
TrackNet/python-lz4
28d59e3b00f0ec763463ada5b92e529d4c1fb80b
[ "BSD-3-Clause" ]
null
null
null
tests/bench.py
TrackNet/python-lz4
28d59e3b00f0ec763463ada5b92e529d4c1fb80b
[ "BSD-3-Clause" ]
null
null
null
tests/bench.py
TrackNet/python-lz4
28d59e3b00f0ec763463ada5b92e529d4c1fb80b
[ "BSD-3-Clause" ]
null
null
null
import uuid import timeit import lz4 import os from timeit import Timer import sys import blosc DATA = open(sys.argv[1], "rb").read() LZ4_DATA = lz4.block.compress(DATA) BLOSC_DATA = blosc.compress(DATA, cname='lz4', clevel=5, shuffle=True) LOOPS = 100 print("Data Size:") print(" Input: %d" % len(DATA)) print(" LZ4...
48.12
174
0.700748
177
1,203
4.60452
0.225989
0.077301
0.068712
0.107975
0.428221
0.306748
0.306748
0.215951
0.215951
0
0
0.024322
0.111388
1,203
24
175
50.125
0.738073
0
0
0
0
0
0.41064
0.068163
0
0
0
0
0
1
0
false
0
0.52381
0
0.52381
0.47619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
3
f9b698951cb6b2e951cd3322af7e9ff3bbd29b1b
1,743
py
Python
conjugator/models.py
pres220/top-100-german-verbs
420f9cfe602d3a07b390415f19d6cd85999ac3be
[ "MIT" ]
1
2019-12-24T00:18:29.000Z
2019-12-24T00:18:29.000Z
conjugator/models.py
pres220/top-100-german-verbs
420f9cfe602d3a07b390415f19d6cd85999ac3be
[ "MIT" ]
7
2020-01-05T12:18:50.000Z
2021-09-22T18:21:23.000Z
conjugator/models.py
pres220/top-100-german-verbs
420f9cfe602d3a07b390415f19d6cd85999ac3be
[ "MIT" ]
2
2019-12-24T00:18:32.000Z
2021-12-15T11:33:47.000Z
from django.db import models class Verb(models.Model): """Table representing the top 100 German verbs""" infinitive = models.CharField(primary_key=True, max_length=30) frequency = models.PositiveSmallIntegerField(unique=True) translation = models.CharField(max_length=50, blank=True) present_partic...
32.277778
96
0.701664
217
1,743
5.465438
0.267281
0.151771
0.102024
0.182125
0.507589
0.424958
0.424958
0.277403
0.197302
0.123103
0
0.018908
0.180723
1,743
53
97
32.886792
0.811625
0.096386
0
0.285714
0
0
0.048906
0
0
0
0
0
0
1
0.114286
false
0
0.028571
0.114286
0.885714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
f9e76cd2cfc0576ecc43dab9cdbe6f53b3e5fb2a
175
py
Python
query1.py
sawyerwatts/cs488
f1edc95a1e858c3f135fa4df7640177918a7f9c4
[ "MIT" ]
3
2020-05-14T22:41:34.000Z
2020-08-25T01:52:10.000Z
query1.py
sawyerwatts/cs488
f1edc95a1e858c3f135fa4df7640177918a7f9c4
[ "MIT" ]
null
null
null
query1.py
sawyerwatts/cs488
f1edc95a1e858c3f135fa4df7640177918a7f9c4
[ "MIT" ]
null
null
null
from query_setup import collection over100 = collection.find({"recorded.speed" : {"$gt" : 100}}).count() print("The number of documents with a speed over 100 is", over100)
25
69
0.72
25
175
5
0.84
0
0
0
0
0
0
0
0
0
0
0.08
0.142857
175
6
70
29.166667
0.753333
0
0
0
0
0
0.373563
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ddc4ae691f4b47f15d5293cd7c21eafc861e3bb4
1,261
bzl
Python
go/def.bzl
jayconrod/rules_go
1679d8862ec1acb72f918b36ea98ecd9bcb342c3
[ "Apache-2.0" ]
null
null
null
go/def.bzl
jayconrod/rules_go
1679d8862ec1acb72f918b36ea98ecd9bcb342c3
[ "Apache-2.0" ]
null
null
null
go/def.bzl
jayconrod/rules_go
1679d8862ec1acb72f918b36ea98ecd9bcb342c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
37.088235
94
0.758128
205
1,261
4.502439
0.473171
0.045504
0.083424
0.121343
0.209101
0.209101
0.209101
0.062839
0
0
0
0.007233
0.122918
1,261
33
95
38.212121
0.827306
0.455987
0
0
0
0
0.777132
0.579457
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ddd3292335838ad769b12ebe28b716c8888c9af1
3,723
py
Python
ProcesadoresTexto/GenerateVectorsFromTweets.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
ProcesadoresTexto/GenerateVectorsFromTweets.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
ProcesadoresTexto/GenerateVectorsFromTweets.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
import datetime from Doc2Vec import Doc2Vec import os.path from LimpiadorTweets import LimpiadorTweets from Config.Conf import Conf import numpy as np class GenerateVectorsFromTweets(): """docstring for GenerateVectorsFromText""" class __impl: """ Implementation of the singleton interface """ def _...
32.657895
110
0.692452
445
3,723
5.61573
0.213483
0.044818
0.009604
0.035214
0.705882
0.661865
0.661865
0.661865
0.661865
0.661865
0
0.009412
0.200913
3,723
114
111
32.657895
0.830588
0.06339
0
0.705882
1
0
0.074052
0.072858
0
0
0
0
0
1
0.094118
false
0
0.070588
0
0.270588
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ddea7f4f47e9ecb710768e3b27e57e771525c5c9
335
py
Python
packit_service/trigger_mapping.py
jpopelka/packit-service
5802fa78200daf9cd479d820c3cc003c530b9af7
[ "MIT" ]
20
2019-05-24T12:33:05.000Z
2020-07-28T06:03:57.000Z
packit_service/trigger_mapping.py
jpopelka/packit-service
5802fa78200daf9cd479d820c3cc003c530b9af7
[ "MIT" ]
735
2019-05-15T11:52:36.000Z
2020-08-02T23:21:44.000Z
packit_service/trigger_mapping.py
jpopelka/packit-service
5802fa78200daf9cd479d820c3cc003c530b9af7
[ "MIT" ]
28
2019-05-16T13:32:03.000Z
2020-07-29T10:23:54.000Z
# Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT from packit.config import JobType def are_job_types_same(first: JobType, second: JobType) -> bool: """ We need to treat `build` alias in a special way. """ return first == second or {first, second} == {JobType.build, JobTy...
27.916667
84
0.707463
46
335
5.065217
0.73913
0.111588
0
0
0
0
0
0
0
0
0
0
0.185075
335
11
85
30.454545
0.85348
0.370149
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
ddeec904daf2b4d3abd7bf0b9cb567a0a8f09b9f
173
py
Python
pkg/wvpy/__init__.py
WinVector/wvpy
8f273132b029dd0f11059e506574838e537e5ed6
[ "BSD-3-Clause" ]
2
2019-06-21T17:38:16.000Z
2019-07-12T20:01:53.000Z
pkg/wvpy/__init__.py
WinVector/wvpy
8f273132b029dd0f11059e506574838e537e5ed6
[ "BSD-3-Clause" ]
null
null
null
pkg/wvpy/__init__.py
WinVector/wvpy
8f273132b029dd0f11059e506574838e537e5ed6
[ "BSD-3-Clause" ]
null
null
null
__docformat__ = "restructuredtext" __version__ = "0.2.7" __doc__ = """ This<https://github.com/WinVector/wvpy> is a package of example files for teaching data science. """
24.714286
96
0.734104
23
173
5
1
0
0
0
0
0
0
0
0
0
0
0.019868
0.127168
173
6
97
28.833333
0.741722
0
0
0
0
0.2
0.687861
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fb0786e51d1b211d9208bc7def77c8f765bfa2e0
748
py
Python
tangos/parallel_tasks/backends/null.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
15
2017-12-04T18:05:32.000Z
2021-12-20T22:11:20.000Z
tangos/parallel_tasks/backends/null.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
99
2017-11-09T16:47:20.000Z
2022-03-07T10:15:12.000Z
tangos/parallel_tasks/backends/null.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
14
2017-11-06T18:46:17.000Z
2021-12-13T10:49:53.000Z
from __future__ import absolute_import import warnings def send(data, destination, tag=0): raise RuntimeError("Cannot send data to another CPU: parallelism is disabled") def receive(source=None, tag=0): raise RuntimeError("Cannot receive data from another CPU: parallelism is disabled") def receive_any(sourc...
24.933333
120
0.729947
108
748
4.962963
0.5
0.059701
0.128731
0.128731
0.416045
0.358209
0.358209
0.268657
0.268657
0.268657
0
0.008197
0.184492
748
30
121
24.933333
0.870492
0
0
0.2
0
0
0.351135
0
0
0
0
0
0
1
0.4
false
0.1
0.1
0.1
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
1
0
0
1
0
0
3
fb097099f47e2922d051c5bd29e501db3c75dc20
214
py
Python
text/_geometry/boxing/outline/width/_width.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_geometry/boxing/outline/width/_width.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_geometry/boxing/outline/width/_width.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
""" *Outline-Width* """ from enum import Enum # [TODO] float is a placeholder, replace with measure class OutlineWidth( Enum, float, ): Thin = "Thin" Medium = "Medium" Thick = "Thick"
11.263158
53
0.593458
24
214
5.291667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.280374
214
18
54
11.888889
0.824675
0.317757
0
0
0
0
0.113636
0
0
0
0
0.055556
0
1
0
false
0
0.125
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
1
0
0
0
0
0
0
0
1
0
0
3
fb0f32126571d725079861bbde40bca5df0976d3
266
py
Python
src/arrays/best-time-to-buy-and-sell-stock-with-transaction-fee.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
null
null
null
src/arrays/best-time-to-buy-and-sell-stock-with-transaction-fee.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
null
null
null
src/arrays/best-time-to-buy-and-sell-stock-with-transaction-fee.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
1
2020-08-09T06:37:21.000Z
2020-08-09T06:37:21.000Z
def solve(prices, fee): t_i_k_0 = 0 t_i_k_1 = -float('inf') for price in prices: t_i_k_0 = max(t_i_k_0, t_i_k_1 + price - fee) t_i_k_1 = max(t_i_k_1, t_i_k_0 - price) return t_i_k_0 A = [1, 3, 2, 8, 4, 9] B = 2 print(solve(A, B))
17.733333
53
0.567669
66
266
1.878788
0.363636
0.145161
0.217742
0.16129
0.080645
0
0
0
0
0
0
0.090426
0.293233
266
14
54
19
0.569149
0
0
0
0
0
0.011278
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.1
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fb1b5f0fbad1cf0d77619ab41952446ca4bbd58e
306
py
Python
joplin/pages/official_documents_page/migrations/0010_merge_20200914_2007.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
15
2018-09-27T07:36:30.000Z
2021-08-03T16:01:21.000Z
joplin/pages/official_documents_page/migrations/0010_merge_20200914_2007.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
183
2017-11-16T23:30:47.000Z
2020-12-18T21:43:36.000Z
joplin/pages/official_documents_page/migrations/0010_merge_20200914_2007.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
12
2017-12-12T22:48:05.000Z
2021-03-01T18:01:24.000Z
# Generated by Django 2.2.15 on 2020-09-14 20:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('official_documents_page', '0009_auto_20200909_1529'), ('official_documents_page', '0009_auto_20200827_1552'), ] operations = [ ]
20.4
63
0.686275
37
306
5.405405
0.756757
0.17
0.21
0.25
0.29
0
0
0
0
0
0
0.197531
0.205882
306
14
64
21.857143
0.625514
0.150327
0
0
1
0
0.356589
0.356589
0
0
0
0
0
1
0
false
0
0.125
0
0.5
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
3489303aa14565f81ed201b32cfdb74449da3a4e
68
py
Python
src/lib/xml/etree/__init__.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
10
2015-11-13T17:02:40.000Z
2021-02-09T23:21:05.000Z
src/lib/xml/etree/__init__.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
43
2015-06-03T17:59:23.000Z
2021-09-17T10:45:21.000Z
src/lib/xml/etree/__init__.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
13
2017-07-02T03:16:46.000Z
2021-07-05T14:53:56.000Z
raise NotImplementedError("etree is not yet implemented in Skulpt")
34
67
0.823529
9
68
6.222222
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
68
1
68
68
0.933333
0
0
0
0
0
0.558824
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
348bfe1c0c1e7bf41af5959f35fb40c1351f3d59
117
py
Python
tests/browsable_api/no_auth_urls.py
daleione/django-rest-framework
f81ca786427db40b648b5bcc0e67044163215457
[ "BSD-3-Clause" ]
4
2019-02-11T13:01:34.000Z
2020-10-22T08:39:57.000Z
tests/browsable_api/no_auth_urls.py
daleione/django-rest-framework
f81ca786427db40b648b5bcc0e67044163215457
[ "BSD-3-Clause" ]
34
2020-05-19T08:07:13.000Z
2021-01-11T22:40:52.000Z
tests/browsable_api/no_auth_urls.py
daleione/django-rest-framework
f81ca786427db40b648b5bcc0e67044163215457
[ "BSD-3-Clause" ]
2
2019-03-01T11:55:31.000Z
2019-07-07T09:58:16.000Z
from django.conf.urls import url from .views import MockView urlpatterns = [ url(r'^$', MockView.as_view()), ]
14.625
35
0.683761
16
117
4.9375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.17094
117
7
36
16.714286
0.814433
0
0
0
0
0
0.017094
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
34ac01fd82149b010867fdbb87949767bde0b978
660
py
Python
demo/django_doctor_demo/simple/healthchecks.py
peopledoc/django-doctor
607dc22e5946f5a8bf3b6073ffe1d3696facab82
[ "BSD-3-Clause" ]
7
2015-10-08T04:16:14.000Z
2021-12-08T21:49:42.000Z
demo/django_doctor_demo/simple/healthchecks.py
peopledoc/django-doctor
607dc22e5946f5a8bf3b6073ffe1d3696facab82
[ "BSD-3-Clause" ]
14
2015-08-12T14:47:51.000Z
2022-02-25T09:36:53.000Z
demo/django_doctor_demo/simple/healthchecks.py
peopledoc/django-doctor
607dc22e5946f5a8bf3b6073ffe1d3696facab82
[ "BSD-3-Clause" ]
2
2020-05-29T17:28:04.000Z
2021-03-13T04:57:59.000Z
# -*- coding: utf-8 -*- """Health checks.""" import doctor class FakeHealthCheck(doctor.HealthCheck): """Check that health checks are captured.""" def test_success(self): """Successful healthcheck is captured and passes.""" self.assertTrue(True) # Yes, that's a fake healthcheck! def test...
33
77
0.65303
78
660
5.487179
0.512821
0.049065
0.147196
0.168224
0.14486
0
0
0
0
0
0
0.001938
0.218182
660
19
78
34.736842
0.827519
0.39697
0
0
0
0
0.191375
0
0
0
0
0
0.333333
1
0.333333
false
0
0.111111
0
0.555556
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
34aeba8767a5a7a65a0f70eeff8e578477e5176f
194
py
Python
timetracker/projects/urls.py
tm-kn/CHT2520-assignment2
05d8c8372d60672e603acf201d1fbf7ffde9484e
[ "BSD-2-Clause" ]
null
null
null
timetracker/projects/urls.py
tm-kn/CHT2520-assignment2
05d8c8372d60672e603acf201d1fbf7ffde9484e
[ "BSD-2-Clause" ]
9
2019-12-04T23:33:07.000Z
2022-02-10T12:23:54.000Z
timetracker/projects/urls.py
tm-kn/cht2520-assignment2
05d8c8372d60672e603acf201d1fbf7ffde9484e
[ "BSD-2-Clause" ]
null
null
null
from django.urls import path from timetracker.projects.views import ProjectCreateView app_name = 'projects' urlpatterns = [ path('create/', ProjectCreateView.as_view(), name='create'), ]
19.4
64
0.752577
22
194
6.545455
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.128866
194
9
65
21.555556
0.852071
0
0
0
0
0
0.108247
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
34c5ba6928e3e937f0d5514d07ef74c0ec335baf
148
py
Python
service/app.py
jeffbuttars/apistar-websocket-examples
06e63745ec7d62065d6203be427a2ab99781c1bc
[ "Apache-2.0" ]
1
2018-09-18T06:38:03.000Z
2018-09-18T06:38:03.000Z
service/app.py
jeffbuttars/apistar-websocket-examples
06e63745ec7d62065d6203be427a2ab99781c1bc
[ "Apache-2.0" ]
null
null
null
service/app.py
jeffbuttars/apistar-websocket-examples
06e63745ec7d62065d6203be427a2ab99781c1bc
[ "Apache-2.0" ]
null
null
null
from apistar import ASyncApp from handlers import routes, WebSocketEvents app = ASyncApp( event_hooks=[WebSocketEvents], routes=routes, )
16.444444
44
0.763514
16
148
7
0.625
0
0
0
0
0
0
0
0
0
0
0
0.168919
148
8
45
18.5
0.910569
0
0
0
0
0
0
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
34ce6552da247379b008e586e670c76df5ee3ab7
1,782
py
Python
src/models/user.py
sroy8091/flask-app
e606574aa067edd77ebb3208af7bb9e57f2604fb
[ "MIT" ]
null
null
null
src/models/user.py
sroy8091/flask-app
e606574aa067edd77ebb3208af7bb9e57f2604fb
[ "MIT" ]
null
null
null
src/models/user.py
sroy8091/flask-app
e606574aa067edd77ebb3208af7bb9e57f2604fb
[ "MIT" ]
null
null
null
""" Define the User model """ from flask_login import UserMixin from werkzeug.security import check_password_hash, generate_password_hash from . import db from .abc import BaseModel, MetaBaseModel class User(db.Model, BaseModel, UserMixin, metaclass=MetaBaseModel): """ The User model """ __tablename__ = "us...
33
83
0.670034
221
1,782
5.235294
0.289593
0.042351
0.043215
0.027658
0.193604
0.152118
0.152118
0.096802
0.096802
0.096802
0
0.004351
0.22615
1,782
53
84
33.622642
0.834663
0.084736
0
0.176471
1
0
0.002514
0
0
0
0
0
0
1
0.147059
false
0.382353
0.117647
0
0.617647
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
34d78278fa71c84c979f0be5d342687534907fb0
51
py
Python
project/apps/core/__init__.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
null
null
null
project/apps/core/__init__.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
18
2020-06-05T23:18:53.000Z
2022-01-14T20:36:08.000Z
project/apps/core/__init__.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
null
null
null
default_app_config = 'apps.core.config.CoreConfig'
25.5
50
0.823529
7
51
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.058824
51
1
51
51
0.833333
0
0
0
0
0
0.529412
0.529412
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
9b34271748e280d6a3e384c94b4c411a2c542f48
333
py
Python
src/the_tale/the_tale/game/mobs/relations.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/the_tale/the_tale/game/mobs/relations.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/the_tale/the_tale/game/mobs/relations.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import smart_imports smart_imports.all() class MOB_RECORD_STATE(rels_django.DjangoEnum): records = (('ENABLED', 0, 'в игре'), ('DISABLED', 1, 'вне игры')) class INDEX_ORDER_TYPE(rels_django.DjangoEnum): records = (('BY_LEVEL', 'by_level', 'по уровню'), ('BY_NAME', 'by_name', ...
22.2
53
0.621622
42
333
4.642857
0.690476
0.123077
0.205128
0.276923
0
0
0
0
0
0
0
0.007634
0.213213
333
14
54
23.785714
0.736641
0
0
0
0
0
0.228916
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
9b437787498cbe7b137358c2619c65b89a4c0c91
282
py
Python
Expressions/Operations/Concatination.py
mathiasquintero/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
5
2016-05-24T10:42:10.000Z
2017-09-19T11:59:21.000Z
Expressions/Operations/Concatination.py
nerdsupremacist/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
7
2016-05-26T13:46:33.000Z
2016-06-15T20:57:15.000Z
Expressions/Operations/Concatination.py
mathiasquintero/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
null
null
null
from Expressions.String import String class Concatination(String): def __init__(self, left, right): self.left = left self.right = right def eval(self): return str(self.left.eval()) + str(self.right.eval()) def type(self): return String
23.5
61
0.631206
36
282
4.833333
0.416667
0.137931
0
0
0
0
0
0
0
0
0
0
0.255319
282
12
62
23.5
0.828571
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9b4748b29de3dbbac4e7f88d4b608658c64bad6d
171
py
Python
snort_Inline_Wtih_DAQ_NFQ_And_2_mitmproxy/secondMitmProxyInlineScript.py
Snur/proxySSL
20cce0cf2281f2507e1654de29e13b1bb7b8e59b
[ "BSD-2-Clause" ]
3
2016-04-13T12:20:29.000Z
2019-07-25T05:34:24.000Z
snort_Inline_Wtih_DAQ_NFQ_And_2_mitmproxy/secondMitmProxyInlineScript.py
Snur/proxySSL
20cce0cf2281f2507e1654de29e13b1bb7b8e59b
[ "BSD-2-Clause" ]
null
null
null
snort_Inline_Wtih_DAQ_NFQ_And_2_mitmproxy/secondMitmProxyInlineScript.py
Snur/proxySSL
20cce0cf2281f2507e1654de29e13b1bb7b8e59b
[ "BSD-2-Clause" ]
7
2016-01-24T20:20:12.000Z
2020-09-24T07:43:13.000Z
""" This script encrypt http and transfer it to port 443. By Olivier Soucy. """ def request(context, flow): flow.request.port = 443 flow.request.scheme = "https"
21.375
53
0.690058
25
171
4.72
0.76
0.118644
0
0
0
0
0
0
0
0
0
0.043478
0.192982
171
7
54
24.428571
0.811594
0.415205
0
0
0
0
0.054348
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9b570ce6bad038ef4b4a956aa7934088719337e2
726
py
Python
backend/utils/permissions.py
Huoran559/vue-element-frontend-backend
2ab21792c314692fb9b11c6e5f1e890ffaf5cf3c
[ "MIT" ]
15
2021-01-31T01:45:46.000Z
2022-03-27T00:23:21.000Z
backend/utils/permissions.py
zouv/vue-admin-django
40e91e2ff0781dad89a3f5325514a04816406cfb
[ "MIT" ]
10
2020-06-06T00:18:48.000Z
2022-01-13T01:47:39.000Z
backend/utils/permissions.py
zouv/vue-admin-django
40e91e2ff0781dad89a3f5325514a04816406cfb
[ "MIT" ]
4
2021-07-09T09:45:44.000Z
2022-03-28T06:47:31.000Z
# -*- coding: utf-8 -*- #author:laoseng(QQ:1572665580),feilong(hhr66@qq.com) #create:2018-09 # 授权 基础类 from rest_framework import permissions class IsSuperUser(permissions.BasePermission): """ Allows access only to super users. """ def has_permission(self, request, view): return request.user an...
29.04
73
0.701102
92
726
5.467391
0.673913
0.065606
0.083499
0.099404
0
0
0
0
0
0
0
0.032815
0.202479
726
25
74
29.04
0.835924
0.347107
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.888889
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
9b62907456973e43b38661bee2fc8d01ceea5ec9
760
py
Python
filters/inverted.py
borisboychev/Image-Filters
71b3bfe00d83d7fcf38fef297562511a306439d3
[ "MIT" ]
null
null
null
filters/inverted.py
borisboychev/Image-Filters
71b3bfe00d83d7fcf38fef297562511a306439d3
[ "MIT" ]
null
null
null
filters/inverted.py
borisboychev/Image-Filters
71b3bfe00d83d7fcf38fef297562511a306439d3
[ "MIT" ]
null
null
null
import cv2 class InvertedFilter: def __init__(self, capture_device=cv2.VideoCapture(0)): self.capture_device = capture_device def make_1080p(self): self.capture_device.set(3, 1920) self.capture_device.set(4, 1080) def apply_invert(self, frame): # inverts values re...
23.75
59
0.6
87
760
5.045977
0.505747
0.207289
0.232346
0.091116
0
0
0
0
0
0
0
0.054104
0.294737
760
31
60
24.516129
0.764925
0.055263
0
0
0
0
0.012587
0
0
0
0.005594
0
0
1
0.210526
false
0
0.052632
0.052632
0.368421
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3