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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc9374b52efa43fa17b9a0af296b2df7217ecd1e | 769 | py | Python | kernel/sigmoid.py | jingjieli95/UnarySim | 775b38fa2d6b05a69fd73acb4766e50200a5cc37 | [
"MIT"
] | 17 | 2020-04-26T19:38:03.000Z | 2022-02-23T02:05:08.000Z | kernel/sigmoid.py | pan185/UnarySim | c03386efdbb8151f3c33f34b44d1d6a6fc960434 | [
"MIT"
] | 3 | 2021-11-03T18:20:29.000Z | 2022-02-11T16:30:16.000Z | kernel/sigmoid.py | pan185/UnarySim | c03386efdbb8151f3c33f34b44d1d6a6fc960434 | [
"MIT"
] | 9 | 2019-12-03T05:08:55.000Z | 2022-01-04T20:24:55.000Z | import torch
from UnarySim.kernel.add import FSUAdd
class FSUHardsigmoid(torch.nn.Module):
"""
This is a scaled addition (x+1)/2, compatible to for both unipolar and bipolar bitstream.
"""
def __init__(self, mode="bipolar", depth=8):
super(FSUHardsigmoid, self).__init__()
self.sadd = F... | 28.481481 | 93 | 0.643693 | 105 | 769 | 4.552381 | 0.457143 | 0.066946 | 0.054393 | 0.07113 | 0.25523 | 0.25523 | 0.154812 | 0.154812 | 0.154812 | 0.154812 | 0 | 0.013267 | 0.215865 | 769 | 26 | 94 | 29.576923 | 0.779436 | 0.161248 | 0 | 0.142857 | 0 | 0 | 0.011401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5d77aa75aa1a81781050a9bf61e92ebf1c2022e6 | 2,431 | py | Python | lib/rpc/errors.py | modulus-sa/ganeti | 592c0e945cc2c7b0013f813ea8c9d8ec0d5bab98 | [
"BSD-2-Clause"
] | 396 | 2015-01-22T11:44:32.000Z | 2022-03-31T14:14:29.000Z | lib/rpc/errors.py | modulus-sa/ganeti | 592c0e945cc2c7b0013f813ea8c9d8ec0d5bab98 | [
"BSD-2-Clause"
] | 1,550 | 2015-04-05T09:53:50.000Z | 2022-03-28T17:42:20.000Z | lib/rpc/errors.py | modulus-sa/ganeti | 592c0e945cc2c7b0013f813ea8c9d8ec0d5bab98 | [
"BSD-2-Clause"
] | 119 | 2015-01-06T21:37:15.000Z | 2022-03-07T06:36:26.000Z | #
#
# Copyright (C) 2013 Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and ... | 30.3875 | 76 | 0.765529 | 336 | 2,431 | 5.53869 | 0.544643 | 0.019344 | 0.014508 | 0.024718 | 0.098872 | 0.073079 | 0.073079 | 0.073079 | 0.073079 | 0.073079 | 0 | 0.002987 | 0.173591 | 2,431 | 79 | 77 | 30.772152 | 0.923345 | 0.831345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5d86b8b5a1efc17cf8539a5367bb6c927df5a93c | 270 | py | Python | tests/test_feature_engineering.py | rama96/Utils | 92306e1f830fb1eddfdae62733155ae30dd122df | [
"MIT"
] | null | null | null | tests/test_feature_engineering.py | rama96/Utils | 92306e1f830fb1eddfdae62733155ae30dd122df | [
"MIT"
] | null | null | null | tests/test_feature_engineering.py | rama96/Utils | 92306e1f830fb1eddfdae62733155ae30dd122df | [
"MIT"
] | null | null | null | from easy_ml.feature_engineering import FeatureScaler
from easy_ml import DIR_SAMPLE
import pandas as pd
from tests.conftest import test_data
def test_feature_scaler(test_data):
assert len(test_data) == 30
def test_feature_scaler2(test_data):
assert 1==1 | 22.5 | 53 | 0.796296 | 43 | 270 | 4.72093 | 0.534884 | 0.157635 | 0.098522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021834 | 0.151852 | 270 | 12 | 54 | 22.5 | 0.864629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5d926e7db98508609e2f4014b104b362118308ef | 405 | py | Python | timechart/core/models/window.py | kmteras/timenaut-legacy-qt | 2e6f587ffe2ad24d59be76fd1cb80b8e3f56821e | [
"MIT"
] | null | null | null | timechart/core/models/window.py | kmteras/timenaut-legacy-qt | 2e6f587ffe2ad24d59be76fd1cb80b8e3f56821e | [
"MIT"
] | null | null | null | timechart/core/models/window.py | kmteras/timenaut-legacy-qt | 2e6f587ffe2ad24d59be76fd1cb80b8e3f56821e | [
"MIT"
] | null | null | null | class Window:
def __init__(self, title: str, window_id: int = None, type_str: str = None, type_color: str = None):
self.id = window_id
self.title = title
self.type_str = type_str
self.type_color = type_color
def get_name_part(self, index: int = -1) -> str:
return self.ti... | 31.153846 | 104 | 0.612346 | 58 | 405 | 3.965517 | 0.344828 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003344 | 0.261728 | 405 | 12 | 105 | 33.75 | 0.765886 | 0 | 0 | 0 | 0 | 0 | 0.051852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5d96fb4a2154ea209590aa36d2c513ef41a07fad | 147 | py | Python | practice/lists_and_dictionaries/ex6.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | null | null | null | practice/lists_and_dictionaries/ex6.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | 8 | 2017-12-29T21:19:00.000Z | 2018-04-01T05:05:05.000Z | practice/lists_and_dictionaries/ex6.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | 1 | 2017-12-27T23:45:58.000Z | 2017-12-27T23:45:58.000Z | start_list = [5, 3, 1, 2, 4]
square_list = []
for number in start_list:
square_list.append(number ** 2)
square_list.sort()
print square_list
| 13.363636 | 33 | 0.693878 | 25 | 147 | 3.84 | 0.56 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.176871 | 147 | 10 | 34 | 14.7 | 0.743802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d98b83711e88cfd094b03060a3d27bfbc517a0b | 279 | py | Python | api/admin.py | hiro2620/DRF-RESTAPI-server-with-auth | c66f52e2d2111a03d36a631886020b7ddd3a1524 | [
"MIT"
] | null | null | null | api/admin.py | hiro2620/DRF-RESTAPI-server-with-auth | c66f52e2d2111a03d36a631886020b7ddd3a1524 | [
"MIT"
] | 3 | 2021-06-04T23:43:01.000Z | 2021-06-10T20:11:12.000Z | api/admin.py | hiro2620/DRF-RESTAPI-server-with-auth | c66f52e2d2111a03d36a631886020b7ddd3a1524 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Schedule
# Register your models here.
@admin.register(Schedule)
class ScheduleAdmin(admin.ModelAdmin):
model = Schedule
list_display = ['owner', 'id', 'date', 'time', 'content', 'created_at', 'updated_at', 'is_done'] | 31 | 100 | 0.724014 | 35 | 279 | 5.657143 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136201 | 279 | 9 | 100 | 31 | 0.821577 | 0.09319 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5d9aed233dcdd0ae1a5670a01984dd66d14bc6e4 | 996 | py | Python | Code/ExcelData.py | JiashengWu/t2wml | aea2926d67e21faf418a9a3550e33b78dc85526d | [
"MIT"
] | null | null | null | Code/ExcelData.py | JiashengWu/t2wml | aea2926d67e21faf418a9a3550e33b78dc85526d | [
"MIT"
] | null | null | null | Code/ExcelData.py | JiashengWu/t2wml | aea2926d67e21faf418a9a3550e33b78dc85526d | [
"MIT"
] | null | null | null | import os
class ExcelData:
def __init__(self):
self.file_location = None
self.current_sheet_name = None
def get_file_location(self) -> str:
"""
This function returns the file location
:return:
"""
return self.file_location
def get_sheet_name(self) -> str:
"""
This function returns the current s... | 20.326531 | 91 | 0.708835 | 139 | 996 | 4.848921 | 0.244604 | 0.231454 | 0.166172 | 0.118694 | 0.430267 | 0.293769 | 0.130564 | 0.130564 | 0.130564 | 0 | 0 | 0 | 0.193775 | 996 | 48 | 92 | 20.75 | 0.839352 | 0.332329 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.055556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5db0a6ca4c1e4ef3fd75663843e118ac457f9299 | 289 | py | Python | adult_libsvm_self.py | khamrranirr/adult_dataset_preprogress | 409c788eaf37ec87fd9c5fb42355f7ad18cee34b | [
"MIT"
] | null | null | null | adult_libsvm_self.py | khamrranirr/adult_dataset_preprogress | 409c788eaf37ec87fd9c5fb42355f7ad18cee34b | [
"MIT"
] | null | null | null | adult_libsvm_self.py | khamrranirr/adult_dataset_preprogress | 409c788eaf37ec87fd9c5fb42355f7ad18cee34b | [
"MIT"
] | null | null | null | from libsvm.python.commonutil import svm_read_problem
from libsvm.python.svmutil import svm_train, svm_predict
y ,x = svm_read_problem('adult_train.csv')
m = svm_train(y ,x)
test_y ,test_x = svm_read_problem('adult_test.csv')
p_label ,p_acc ,p_val = svm_predict(test_y ,test_x ,m) | 36.125 | 57 | 0.771626 | 53 | 289 | 3.849057 | 0.396226 | 0.102941 | 0.205882 | 0.147059 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124567 | 289 | 8 | 58 | 36.125 | 0.806324 | 0 | 0 | 0 | 0 | 0 | 0.102474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5dc20ccefdcb0aca19e158b230abde3172fd52c9 | 165 | py | Python | jspaste/__main__.py | pruebando/jspaste | cefe8789b9e1af958adc30cce7b88e991141a134 | [
"MIT"
] | 1 | 2021-08-29T16:09:27.000Z | 2021-08-29T16:09:27.000Z | jspaste/__main__.py | pruebando/jspaste | cefe8789b9e1af958adc30cce7b88e991141a134 | [
"MIT"
] | null | null | null | jspaste/__main__.py | pruebando/jspaste | cefe8789b9e1af958adc30cce7b88e991141a134 | [
"MIT"
] | null | null | null | from .vares import *
def main():
print(f"Welcome To The Api Wrapper Of Jspaste!\nCreator: {Creator}\nOwner Of Jspaste: {Owner}")
if __name__ == "__main__":
main()
| 27.5 | 96 | 0.70303 | 24 | 165 | 4.5 | 0.833333 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 165 | 5 | 97 | 33 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5dc53524dcb8182908baea69c1a787712cfb5f86 | 59 | py | Python | F_Machine_learning/2_Supervised-Learning/solutions/ex4_2.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | F_Machine_learning/2_Supervised-Learning/solutions/ex4_2.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | F_Machine_learning/2_Supervised-Learning/solutions/ex4_2.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | idxs = df.isna().any(axis=1) # axis=1 does it row-wise
idxs | 29.5 | 54 | 0.677966 | 13 | 59 | 3.076923 | 0.769231 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.135593 | 59 | 2 | 55 | 29.5 | 0.745098 | 0.389831 | 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 |
5dd41d9aba851803180bf34136043edce2ad8654 | 358 | py | Python | utils.py | Lightmoll/SimpleStatus | e2eef3b1c7488899f5da74e18976dac5b18aefe0 | [
"MIT"
] | null | null | null | utils.py | Lightmoll/SimpleStatus | e2eef3b1c7488899f5da74e18976dac5b18aefe0 | [
"MIT"
] | null | null | null | utils.py | Lightmoll/SimpleStatus | e2eef3b1c7488899f5da74e18976dac5b18aefe0 | [
"MIT"
] | null | null | null | def html_sanatize(in_str):
in_str = in_str.replace("&", "&")
in_str = in_str.replace("<", "<")
in_str = in_str.replace(">", ">")
in_str = in_str.replace("\"", """)
in_str = in_str.replace("'", "'")
in_str = in_str.replace("\r\n", "<br>")
in_str = in_str.replace("\r", "<br>")
in_str = in_str.... | 29.833333 | 40 | 0.589385 | 60 | 358 | 3.2 | 0.25 | 0.46875 | 0.328125 | 0.46875 | 0.739583 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 358 | 11 | 41 | 32.545455 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 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 |
b90557d65d7d1293670bed30ee7cb8ab78b0e0dd | 127 | py | Python | python/p184ex8.py | ThePeeps191/dmoj-solutions | 7137e945f3f595c481ad4d29e1dc3a77d8b26e55 | [
"MIT"
] | 1 | 2022-01-23T16:02:14.000Z | 2022-01-23T16:02:14.000Z | python/p184ex8.py | ThePeeps191/dmoj-solutions | 7137e945f3f595c481ad4d29e1dc3a77d8b26e55 | [
"MIT"
] | 5 | 2022-01-23T00:16:49.000Z | 2022-01-30T04:37:45.000Z | python/p184ex8.py | ThePeeps191/dmoj-solutions | 7137e945f3f595c481ad4d29e1dc3a77d8b26e55 | [
"MIT"
] | 1 | 2022-01-23T00:03:47.000Z | 2022-01-23T00:03:47.000Z | v = [input() for _ in range(int(input()))]
i = 0
for x in list("ABCDEF"):
print(v.count(x))
i += v.count(x)
print(len(v) - i) | 21.166667 | 42 | 0.574803 | 26 | 127 | 2.769231 | 0.538462 | 0.166667 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.173228 | 127 | 6 | 43 | 21.166667 | 0.67619 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b90b7c172041430b00e6c1cbea5d0fe712e0284b | 314 | py | Python | kubernetes_typed/client/models/v1_photon_persistent_disk_volume_source.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 22 | 2020-12-10T13:06:02.000Z | 2022-02-13T21:58:15.000Z | kubernetes_typed/client/models/v1_photon_persistent_disk_volume_source.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 4 | 2021-03-08T07:06:12.000Z | 2022-03-29T23:41:45.000Z | kubernetes_typed/client/models/v1_photon_persistent_disk_volume_source.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 2 | 2021-09-05T19:18:28.000Z | 2022-03-14T02:56:17.000Z | # Code generated by `typeddictgen`. DO NOT EDIT.
"""V1PhotonPersistentDiskVolumeSourceDict generated type."""
from typing import TypedDict
V1PhotonPersistentDiskVolumeSourceDict = TypedDict(
"V1PhotonPersistentDiskVolumeSourceDict",
{
"fsType": str,
"pdID": str,
},
total=False,
)
| 24.153846 | 60 | 0.710191 | 23 | 314 | 9.695652 | 0.782609 | 0.421525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011811 | 0.191083 | 314 | 12 | 61 | 26.166667 | 0.866142 | 0.324841 | 0 | 0 | 1 | 0 | 0.23301 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f8d901fb080c4ba216b5f134f112437868b287f9 | 929 | py | Python | diagrams/programming/framework.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 2 | 2021-04-09T01:17:58.000Z | 2021-04-10T16:19:21.000Z | diagrams/programming/framework.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 49 | 2021-02-09T08:09:26.000Z | 2022-02-28T08:10:14.000Z | diagrams/programming/framework.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 1 | 2021-12-10T20:05:06.000Z | 2021-12-10T20:05:06.000Z | # This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Programming
class _Framework(_Programming):
_type = "framework"
_icon_dir = "resources/programming/framework"
class Angular(_Framework):
_icon = "angular.png"
class Backbone(_Framework):
_icon = "backbone.png"
c... | 14.075758 | 68 | 0.683531 | 105 | 929 | 5.742857 | 0.333333 | 0.301824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199139 | 929 | 65 | 69 | 14.292308 | 0.810484 | 0.079656 | 0 | 0 | 1 | 0 | 0.201878 | 0.036385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.967742 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5d01dce4d3ff56b5e5ca9048f6bc46cf8c4a6ad9 | 889 | py | Python | api/app_client.py | whwtraffic12306/12309 | 647372a055244741f399d05f113b8dc609393726 | [
"MIT"
] | 33 | 2019-07-31T14:34:53.000Z | 2022-03-21T05:49:49.000Z | api/app_client.py | whwtraffic12306/12309 | 647372a055244741f399d05f113b8dc609393726 | [
"MIT"
] | 7 | 2019-09-20T11:48:31.000Z | 2022-03-11T23:53:43.000Z | api/app_client.py | whwtraffic12306/12309 | 647372a055244741f399d05f113b8dc609393726 | [
"MIT"
] | 9 | 2019-10-30T00:03:39.000Z | 2021-08-30T04:52:25.000Z | # --------------------------------------------------------
# object detection restful api
# author:wang lei
# update time:2018-9-21
# ---------------------------------------------------
# encoding: utf-8
import sys
#reload(sys)
#sys.setdefaultencoding('utf-8')
import requests
import re
import time
time1=time.time()
f... | 24.027027 | 124 | 0.614173 | 109 | 889 | 4.990826 | 0.559633 | 0.049632 | 0.036765 | 0.040441 | 0.235294 | 0.183824 | 0.183824 | 0.183824 | 0 | 0 | 0 | 0.068836 | 0.101237 | 889 | 36 | 125 | 24.694444 | 0.612015 | 0.668166 | 0 | 0 | 0 | 0.125 | 0.369963 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5d031a9bd463c4a432c3249502a5a668ac6aa0b7 | 377 | py | Python | Back-End/Python/External Libraries/Flask/Flask-Extensions/Flask-Admin/examples_01/flask_admin_/contrib/sqla/__init__.py | ASHISHKUMAR2411/Programming-CookBook | 9c60655d64d21985ccb4196360858d98344701f9 | [
"MIT"
] | 25 | 2021-04-28T02:51:26.000Z | 2022-03-24T13:58:04.000Z | Back-End/Python/External Libraries/Flask/Flask-Extensions/Flask-Admin/examples_01/flask_admin_/contrib/sqla/__init__.py | ASHISHKUMAR2411/Programming-CookBook | 9c60655d64d21985ccb4196360858d98344701f9 | [
"MIT"
] | 1 | 2022-03-03T23:33:41.000Z | 2022-03-03T23:35:41.000Z | Back-End/Python/External Libraries/Flask/Flask-Extensions/Flask-Admin/examples_01/flask_admin_/contrib/sqla/__init__.py | ASHISHKUMAR2411/Programming-CookBook | 9c60655d64d21985ccb4196360858d98344701f9 | [
"MIT"
] | 15 | 2021-05-30T01:35:20.000Z | 2022-03-25T12:38:25.000Z | # # Note taken from --> https://gist.github.com/JungeAlexander/6ce0a5213f3af56d7369 & https://stackoverflow.com/questions/714063/importing-modules-from-parent-folder/11158224#11158224
# import os, sys, inspect
# current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
# parent_dir = os.p... | 75.4 | 184 | 0.782493 | 50 | 377 | 5.82 | 0.6 | 0.061856 | 0.061856 | 0.109966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 0.066313 | 377 | 5 | 185 | 75.4 | 0.724432 | 0.962865 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d0f7740409c86beb0b9855bb0f06d8931923c2a | 18,844 | py | Python | libs/yowsup/yowsup/yowsup/common/tools.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | null | null | null | libs/yowsup/yowsup/yowsup/common/tools.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | null | null | null | libs/yowsup/yowsup/yowsup/common/tools.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | null | null | null | import time,datetime,re, hashlib
import calendar
from dateutil import tz
import os
from .constants import YowConstants
import codecs, sys
import logging
import tempfile
import base64
import hashlib
import os.path, mimetypes
from .optionalmodules import PILOptionalModule, FFVideoOptionalModule
# Document
from preview_g... | 51.911846 | 7,106 | 0.652462 | 2,950 | 18,844 | 4.133559 | 0.282373 | 0.033213 | 0.008119 | 0.008857 | 0.15524 | 0.142939 | 0.13441 | 0.115877 | 0.10989 | 0.098409 | 0 | 0.310248 | 0.18547 | 18,844 | 362 | 7,107 | 52.055249 | 0.484201 | 0.437009 | 0 | 0.297398 | 0 | 0 | 0.06159 | 0.006609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107807 | false | 0 | 0.078067 | 0.011152 | 0.356877 | 0.003717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d1ee90f7207979849a5fb860893752a7f2c6f3d | 260 | py | Python | 18.listas_variaveis_compostas/ex081.py | hermyay/Curso-de-Python | 175ec28d569fc76d9e897d7c32888cb14f0cf44c | [
"MIT"
] | null | null | null | 18.listas_variaveis_compostas/ex081.py | hermyay/Curso-de-Python | 175ec28d569fc76d9e897d7c32888cb14f0cf44c | [
"MIT"
] | null | null | null | 18.listas_variaveis_compostas/ex081.py | hermyay/Curso-de-Python | 175ec28d569fc76d9e897d7c32888cb14f0cf44c | [
"MIT"
] | null | null | null | # Crie um programa que vai ler varios numeros e colocar em uma lista. Depois disso, mostre:
# a) Quantos numeros foram digitados.
# b) A lista de valores, ordenada de forma decrescente.
# c) Se o valor 5 foi digitado e esta' ou nao na lista.
numeros = list[]
| 37.142857 | 91 | 0.734615 | 45 | 260 | 4.244444 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.196154 | 260 | 6 | 92 | 43.333333 | 0.909091 | 0.896154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d2fe3812e37b1fd8db5e0706144cdaaedbfd6cc | 4,142 | py | Python | app/model/user.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | app/model/user.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | app/model/user.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | # from datetime import datetime
# from werkzeug.security import generate_password_hash, check_password_hash
# from itsdangerous import TimedJSONWebSignatureSerializer as Serializer,\
# BadSignature, SignatureExpired
# from flask import current_app
# from flask_login import UserMixin, AnonymousUserMixin
# from... | 33.674797 | 76 | 0.575085 | 431 | 4,142 | 5.37819 | 0.364269 | 0.034944 | 0.034513 | 0.03365 | 0.109577 | 0.099223 | 0.069888 | 0.035375 | 0 | 0 | 0 | 0.003461 | 0.302511 | 4,142 | 122 | 77 | 33.95082 | 0.798892 | 0.914293 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d37f18900da7f509465ec4ca3616e121193b84e | 811 | py | Python | src/membership/repository/caching.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | null | null | null | src/membership/repository/caching.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | 78 | 2019-06-03T03:24:36.000Z | 2021-06-25T15:19:17.000Z | src/membership/repository/caching.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | null | null | null | """
"""
from wheezy.caching.patterns import Cached
from wheezy.caching.patterns import key_builder
from config import cache
from membership.repository import keys
kb = key_builder(key_prefix='mbr')
cached = Cached(cache, kb, time=3600 * 24, namespace='membership')
class MembershipRepository(object):
def __in... | 23.852941 | 66 | 0.720099 | 108 | 811 | 5.222222 | 0.351852 | 0.095745 | 0.106383 | 0.090426 | 0.205674 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008982 | 0.176326 | 811 | 33 | 67 | 24.575758 | 0.835329 | 0 | 0 | 0 | 0 | 0 | 0.016169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.2 | 0.2 | 0.7 | 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 |
5d449052dfc23fa10d9c8068906a5eefd2e8d7af | 515 | py | Python | Python-For-Everyone-Horstmann/Chapter9-Objects-and-Classes/bankaccount_simplified.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter9-Objects-and-Classes/bankaccount_simplified.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter9-Objects-and-Classes/bankaccount_simplified.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | 1 | 2019-09-22T06:27:49.000Z | 2019-09-22T06:27:49.000Z | class BankAccount():
def __init__(self, name, balance):
self._name = name
self._balance = balance
def get_name(self):
return self._name
def get_balance(self):
return self._balance
def deposit(self, amount):
if amount < 0:
print("Deposit amount must ... | 23.409091 | 53 | 0.578641 | 58 | 515 | 4.931034 | 0.362069 | 0.192308 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.335922 | 515 | 21 | 54 | 24.52381 | 0.830409 | 0 | 0 | 0 | 0 | 0 | 0.062136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0 | 0.117647 | 0.529412 | 0.058824 | 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 |
5d6df8c98b905f556ac126bce91b21a7c55346c6 | 286 | py | Python | demo2/main.py | sd5682295/toanki | 08ce17bfccd65d2c615e5263a1a46e81bf9cf497 | [
"MIT"
] | 12 | 2020-03-23T05:07:15.000Z | 2022-02-23T08:25:32.000Z | demo2/main.py | sd5682295/toanki | 08ce17bfccd65d2c615e5263a1a46e81bf9cf497 | [
"MIT"
] | null | null | null | demo2/main.py | sd5682295/toanki | 08ce17bfccd65d2c615e5263a1a46e81bf9cf497 | [
"MIT"
] | 6 | 2020-09-04T01:40:36.000Z | 2022-01-07T01:58:34.000Z | # encoding = utf-8
from demo2.tool.dir_handle import dir_handle
# from demo2.tool.run_html import run_html
from demo2.tool.run_html import run_html
if __name__ == "__main__":
dh = dir_handle()
files = dh.get_html_iter(type='list')
[run_html(file).run() for file in files]
| 26 | 44 | 0.727273 | 48 | 286 | 3.958333 | 0.479167 | 0.184211 | 0.205263 | 0.168421 | 0.347368 | 0.347368 | 0.347368 | 0.347368 | 0 | 0 | 0 | 0.016667 | 0.160839 | 286 | 10 | 45 | 28.6 | 0.775 | 0.199301 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d7220b43bc281d23cd78b4c303c7e61d83fc5e9 | 283 | py | Python | aoc2021/test_day5.py | jonsth131/aoc | f5d82bdcdeb2eea13dec3135dd0590b4a3bf1ebd | [
"MIT"
] | null | null | null | aoc2021/test_day5.py | jonsth131/aoc | f5d82bdcdeb2eea13dec3135dd0590b4a3bf1ebd | [
"MIT"
] | null | null | null | aoc2021/test_day5.py | jonsth131/aoc | f5d82bdcdeb2eea13dec3135dd0590b4a3bf1ebd | [
"MIT"
] | null | null | null | from day5 import part1, part2
test_input = """0,9 -> 5,9
8,0 -> 0,8
9,4 -> 3,4
2,2 -> 2,1
7,0 -> 7,4
6,4 -> 2,0
0,9 -> 2,9
3,4 -> 1,4
0,0 -> 8,8
5,5 -> 8,2""".splitlines()
def test_part1():
assert part1(test_input) == 5
def test_part2():
assert part2(test_input) == 12
| 12.863636 | 34 | 0.547703 | 64 | 283 | 2.34375 | 0.328125 | 0.18 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.222615 | 283 | 21 | 35 | 13.47619 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.385159 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
537c1f11497321e2acb0e2f3df39e4113087b06e | 489 | py | Python | pandapower/__init__.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | 1 | 2018-12-31T13:01:51.000Z | 2018-12-31T13:01:51.000Z | pandapower/__init__.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | pandapower/__init__.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "1.6.0"
from pandapower.auxiliary import *
from pandapower.create import *
from pandapower.diagnostic import *
from pandapower.file_io import *
from pandapower.run import *
from pandapower.runpm import *
from pandapower.std_types import *
from pandapower.toolbox import *
from pandapower.powerflow import ... | 28.764706 | 59 | 0.809816 | 64 | 489 | 6.0625 | 0.484375 | 0.396907 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006977 | 0.120654 | 489 | 16 | 60 | 30.5625 | 0.895349 | 0.02863 | 0 | 0 | 0 | 0 | 0.010571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
538d66791b1f8beaa09af6be51fcb777fa23ca4b | 11,091 | py | Python | tests/calendar_cli/setting/test_setting.py | mogproject/calendar-cli | 095fe4cfe76bc1890742d22accef48a5f9f6ca45 | [
"Apache-2.0"
] | 12 | 2015-10-14T09:05:48.000Z | 2021-06-27T11:32:48.000Z | tests/calendar_cli/setting/test_setting.py | mogproject/calendar-cli | 095fe4cfe76bc1890742d22accef48a5f9f6ca45 | [
"Apache-2.0"
] | 18 | 2015-10-14T06:20:26.000Z | 2017-01-23T23:33:01.000Z | tests/calendar_cli/setting/test_setting.py | mogproject/calendar-cli | 095fe4cfe76bc1890742d22accef48a5f9f6ca45 | [
"Apache-2.0"
] | 4 | 2016-10-12T18:35:24.000Z | 2019-12-31T17:13:02.000Z | # encoding: utf-8
from __future__ import division, print_function, absolute_import, unicode_literals
import six
from datetime import datetime, timedelta
from tzlocal import get_localzone
from mog_commons import unittest
from calendar_cli.model import EventTime, Event
from calendar_cli.setting.setting import Setting
fr... | 50.643836 | 115 | 0.579208 | 1,728 | 11,091 | 3.655671 | 0.094907 | 0.022796 | 0.028969 | 0.037993 | 0.79104 | 0.755897 | 0.720595 | 0.668039 | 0.668039 | 0.647143 | 0 | 0.165343 | 0.239293 | 11,091 | 218 | 116 | 50.876147 | 0.583383 | 0.006943 | 0 | 0.290698 | 0 | 0 | 0.124557 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 1 | 0.040698 | false | 0 | 0.046512 | 0.005814 | 0.098837 | 0.005814 | 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 |
53988bbc9921c847928ac8a83642732eb22567cb | 3,711 | py | Python | components/py_engine/framework/network.py | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | components/py_engine/framework/network.py | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | components/py_engine/framework/network.py | willianchanlovegithub/AliOS-Things | 637c0802cab667b872d3b97a121e18c66f256eab | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | # -*- coding: UTF-8 -*-
import netmgr as nm
import time
_wifi_connected = False
def singleton(cls, *args, **kw):
instances = {}
def getinstance():
if cls not in instances:
instances[cls] = cls(*args, **kw)
nm.init()
return instances[cls]
return getinstance
def _o... | 20.059459 | 72 | 0.371598 | 298 | 3,711 | 4.510067 | 0.419463 | 0.055804 | 0.017857 | 0.02381 | 0.16369 | 0.135417 | 0.065476 | 0.065476 | 0.065476 | 0 | 0 | 0.013801 | 0.531393 | 3,711 | 184 | 73 | 20.168478 | 0.759057 | 0.37079 | 0 | 0.040816 | 0 | 0 | 0.120988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22449 | false | 0.122449 | 0.040816 | 0 | 0.44898 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
53ba7ccc169fa1575d8bc72bf9e72ad05276fa37 | 86 | py | Python | config/base_settings.py | luiscberrocal/bgeneral_statements | 5cf77af94271654451d369bd893ba647f722bf93 | [
"MIT"
] | null | null | null | config/base_settings.py | luiscberrocal/bgeneral_statements | 5cf77af94271654451d369bd893ba647f722bf93 | [
"MIT"
] | null | null | null | config/base_settings.py | luiscberrocal/bgeneral_statements | 5cf77af94271654451d369bd893ba647f722bf93 | [
"MIT"
] | null | null | null | from pathlib import Path
ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent | 28.666667 | 60 | 0.813953 | 13 | 86 | 5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 86 | 3 | 60 | 28.666667 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
53c4124f529fe32ec4c0ba270705e7cae261f776 | 6,156 | py | Python | hanse_ros/hanse_object_detection/src/hanse_object_detection/cfg/ObjectDetectionConfig.py | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | hanse_ros/hanse_object_detection/src/hanse_object_detection/cfg/ObjectDetectionConfig.py | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | hanse_ros/hanse_object_detection/src/hanse_object_detection/cfg/ObjectDetectionConfig.py | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | ## *********************************************************
##
## File autogenerated for the hanse_object_detection package
## by the dynamic_reconfigure package.
## Please do not edit.
##
## ********************************************************/
##**********************************************************
## S... | 83.189189 | 3,414 | 0.660656 | 735 | 6,156 | 5.457143 | 0.311565 | 0.089753 | 0.02917 | 0.042633 | 0.459486 | 0.412366 | 0.412366 | 0.412366 | 0.374221 | 0.374221 | 0 | 0.015947 | 0.123944 | 6,156 | 73 | 3,415 | 84.328767 | 0.727795 | 0.340318 | 0 | 0 | 1 | 0.052632 | 0.623805 | 0.223452 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53d48569bdddd6ef5ae1a6b0eec653cfb8ad98b1 | 4,014 | py | Python | venv/Lib/site-packages/nbconvert/filters/tests/test_ansi.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,367 | 2015-05-24T22:59:22.000Z | 2022-03-31T07:44:02.000Z | venv/Lib/site-packages/nbconvert/filters/tests/test_ansi.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,534 | 2015-05-08T21:47:15.000Z | 2022-03-31T10:09:31.000Z | venv/Lib/site-packages/nbconvert/filters/tests/test_ansi.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 586 | 2015-05-17T01:21:02.000Z | 2022-03-24T17:06:05.000Z | # coding: utf-8
"""
Module with tests for ansi filters
"""
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import unicode_literals
from ...tests.base import TestsBase
from ..ansi import strip_ansi, ansi2html, ansi2latex
class TestAnsi(TestsBase):... | 54.243243 | 255 | 0.613353 | 555 | 4,014 | 4.403604 | 0.228829 | 0.062602 | 0.090426 | 0.062602 | 0.524959 | 0.410802 | 0.306874 | 0.248773 | 0.219313 | 0.179214 | 0 | 0.070448 | 0.183109 | 4,014 | 73 | 256 | 54.986301 | 0.674901 | 0.05705 | 0 | 0.230769 | 0 | 0.211538 | 0.625033 | 0.526764 | 0 | 0 | 0 | 0 | 0.057692 | 1 | 0.057692 | false | 0 | 0.057692 | 0 | 0.134615 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53e962fbd82dcea4dd4654b67e87819c7d601117 | 3,518 | py | Python | tests/validators/test_region_to_or_ref_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | 1 | 2021-12-10T19:41:01.000Z | 2021-12-10T19:41:01.000Z | tests/validators/test_region_to_or_ref_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | 83 | 2021-10-20T22:54:28.000Z | 2022-03-24T19:07:06.000Z | tests/validators/test_region_to_or_ref_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | null | null | null | from typing import Type, List, Tuple, Dict, Any
import pytest
from pydantic import BaseModel, ValidationError
from ensysmod.schemas.energy_transmission_distance import EnergyTransmissionDistanceCreate
schemas_with_region_to_or_ref_required: List[Tuple[Type[BaseModel], Dict[str, Any]]] = [
(EnergyTransmissionDist... | 39.52809 | 111 | 0.717737 | 527 | 3,518 | 4.472486 | 0.142315 | 0.108613 | 0.089096 | 0.115825 | 0.793806 | 0.793806 | 0.773865 | 0.685617 | 0.666101 | 0.666101 | 0 | 0.010614 | 0.142979 | 3,518 | 88 | 112 | 39.977273 | 0.771144 | 0.087834 | 0 | 0.489796 | 0 | 0 | 0.128287 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 1 | 0.122449 | false | 0 | 0.081633 | 0 | 0.204082 | 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 |
53ef6c2987753b95bf3d358ce72df28ee7642f15 | 1,528 | py | Python | CodeFights/pressureGauges.py | HKuz/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | 1 | 2020-06-14T20:10:04.000Z | 2020-06-14T20:10:04.000Z | CodeFights/pressureGauges.py | makramjandar/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | null | null | null | CodeFights/pressureGauges.py | makramjandar/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | 1 | 2019-12-09T12:48:05.000Z | 2019-12-09T12:48:05.000Z | #!/usr/local/bin/python
# Code Fights Pressure Gauges Problem
def pressureGauges(morning, evening):
return [list(map(min, zip(morning, evening))),
list(map(max, zip(morning, evening)))]
def main():
tests = [
[
[3, 5, 2, 6],
[1, 6, 6, 6],
[
... | 22.80597 | 74 | 0.330497 | 152 | 1,528 | 3.269737 | 0.453947 | 0.016097 | 0.018109 | 0.024145 | 0.124748 | 0.124748 | 0 | 0 | 0 | 0 | 0 | 0.250663 | 0.506545 | 1,528 | 66 | 75 | 23.151515 | 0.408488 | 0.037958 | 0 | 0.140351 | 0 | 0 | 0.070845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0.017544 | 0 | 0.017544 | 0.052632 | 0.035088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54da214910add8f8fdbec4812ae562dbf41ec1b5 | 957 | py | Python | analise_de_algoritmos/algoritmos/python/mochila_fracionaria.py | WesleyAdriann/iesb | 99c856f12df5d9c35003ce2e28242077f07eeae5 | [
"MIT"
] | null | null | null | analise_de_algoritmos/algoritmos/python/mochila_fracionaria.py | WesleyAdriann/iesb | 99c856f12df5d9c35003ce2e28242077f07eeae5 | [
"MIT"
] | null | null | null | analise_de_algoritmos/algoritmos/python/mochila_fracionaria.py | WesleyAdriann/iesb | 99c856f12df5d9c35003ce2e28242077f07eeae5 | [
"MIT"
] | 1 | 2020-04-21T01:17:45.000Z | 2020-04-21T01:17:45.000Z |
# -*- coding: utf-8 -*-
def main(capacidade, valores, pesos):
pesos_valores = []
for i in range(len(valores)):
pesos_valores.append((pesos[i], valores[i]))
pesos_valores_ordenanos = sorted(
pesos_valores,
key = lambda item: item[1]/item[0],
reverse=True
)
x = [0]*... | 26.583333 | 93 | 0.605016 | 124 | 957 | 4.451613 | 0.346774 | 0.23913 | 0.304348 | 0.199275 | 0.356884 | 0.306159 | 0.126812 | 0.126812 | 0 | 0 | 0 | 0.052925 | 0.249739 | 957 | 35 | 94 | 27.342857 | 0.715877 | 0.021944 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.041667 | 0.041667 | 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 |
54ed528b985a0b574c6d983f6444f28ad861bfa7 | 8,576 | py | Python | datalabs/utils/feature_funcs.py | ExpressAI/DataLab | c3eddd4068f131d031c2486c60b650092bb0ae84 | [
"Apache-2.0"
] | 54 | 2022-01-26T06:58:58.000Z | 2022-03-31T05:11:35.000Z | datalabs/utils/feature_funcs.py | ExpressAI/DataLab | c3eddd4068f131d031c2486c60b650092bb0ae84 | [
"Apache-2.0"
] | 81 | 2022-01-26T06:46:41.000Z | 2022-03-24T05:05:31.000Z | datalabs/utils/feature_funcs.py | ExpressAI/DataLab | c3eddd4068f131d031c2486c60b650092bb0ae84 | [
"Apache-2.0"
] | 7 | 2022-02-06T09:28:31.000Z | 2022-03-16T01:06:37.000Z | from lexicalrichness import LexicalRichness
import sacrebleu
BASIC_WORDS = (
"a, about, above, across, act, actor, active, activity, add, "
"afraid, after, again, age, ago, agree, air, all, alone, along, "
"already, always, am, amount, an, and, angry, another, answer, any,"
" anyone, anything, anytime,... | 72.067227 | 2,556 | 0.663946 | 1,141 | 8,576 | 4.969325 | 0.915863 | 0.014109 | 0.00776 | 0.005644 | 0.005644 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001442 | 0.191231 | 8,576 | 118 | 2,557 | 72.677966 | 0.816032 | 0.006763 | 0 | 0 | 0 | 0.207921 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029703 | false | 0.009901 | 0.029703 | 0 | 0.089109 | 0.009901 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54efbaf3c7d65fa4dde06e20113e3e0aa9d3edfc | 178 | py | Python | build/lib/osu/__init__.py | Sheepposu/osu.py | 1ea84da64efa10a4ff14bb1b535717d114d04eeb | [
"MIT"
] | 4 | 2021-05-06T20:51:33.000Z | 2022-02-09T23:27:43.000Z | osu/__init__.py | Sheepposu/osu.py | 1ea84da64efa10a4ff14bb1b535717d114d04eeb | [
"MIT"
] | 2 | 2021-07-20T09:12:02.000Z | 2021-12-01T18:47:06.000Z | build/lib/osu/__init__.py | Sheepposu/osu.py | 1ea84da64efa10a4ff14bb1b535717d114d04eeb | [
"MIT"
] | 1 | 2021-12-01T17:59:32.000Z | 2021-12-01T17:59:32.000Z | from .auth import AuthHandler
from .objects import *
from .client import Client
from .exceptions import *
from .notification import NotificationWebsocket
__version__ = '0.2.0'
| 19.777778 | 47 | 0.792135 | 22 | 178 | 6.227273 | 0.545455 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.140449 | 178 | 8 | 48 | 22.25 | 0.875817 | 0 | 0 | 0 | 0 | 0 | 0.02809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 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 |
070baa5403a1a164eb9f57a3370590f011789d14 | 55,043 | py | Python | swagger_client/models/orgsorgidprojectsprojectidbuildtargets_builds.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | swagger_client/models/orgsorgidprojectsprojectidbuildtargets_builds.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | swagger_client/models/orgsorgidprojectsprojectidbuildtargets_builds.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Unity Cloud Build
This API is intended to be used in conjunction with the Unity Cloud Build service. A tool for building your Unity projects in the Cloud. See https://developer.cloud.unity3d.com for more information. ## Making requests This website is built to allow requests to be made a... | 39.372675 | 4,140 | 0.687608 | 6,043 | 55,043 | 6.043025 | 0.084726 | 0.046662 | 0.257407 | 0.2085 | 0.645709 | 0.55893 | 0.502026 | 0.418835 | 0.299989 | 0.174298 | 0 | 0.016964 | 0.24499 | 55,043 | 1,397 | 4,141 | 39.400859 | 0.861759 | 0.501971 | 0 | 0.090444 | 0 | 0 | 0.123822 | 0.031061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170648 | false | 0 | 0.005119 | 0 | 0.271331 | 0.003413 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
070d82b0f9d5efef5c938ce7fc078564bc7df75c | 1,111 | py | Python | app/Chatroom.py | glasgow18/team-5 | a7956e1187bb8dbe688cb65ee07a85f53dd40a04 | [
"MIT"
] | null | null | null | app/Chatroom.py | glasgow18/team-5 | a7956e1187bb8dbe688cb65ee07a85f53dd40a04 | [
"MIT"
] | null | null | null | app/Chatroom.py | glasgow18/team-5 | a7956e1187bb8dbe688cb65ee07a85f53dd40a04 | [
"MIT"
] | null | null | null | from datetime import datetime
from app import database as db
class Chatroom(db.Model):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
name = db.Column(db.String(150), nullable = False)
creationDate = db.Column(db.DateTime, nullable=False, default=datetime.utcnow)
lastUpdate = db.Column(db.DateTim... | 33.666667 | 128 | 0.738974 | 146 | 1,111 | 5.575342 | 0.417808 | 0.058968 | 0.07371 | 0.058968 | 0.2457 | 0.2457 | 0.2457 | 0.127764 | 0.127764 | 0 | 0 | 0.009385 | 0.136814 | 1,111 | 32 | 129 | 34.71875 | 0.839416 | 0 | 0 | 0 | 0 | 0 | 0.034234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.083333 | 0.125 | 0.75 | 0.041667 | 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 |
072d6d5152670a4e28484213038f05f7adedcea1 | 376 | py | Python | backend/api/asistencia/models.py | matiassalinas/tarea-cmm | 4c7e15d165589f9da74c0e1343202b33edfc3809 | [
"MIT"
] | null | null | null | backend/api/asistencia/models.py | matiassalinas/tarea-cmm | 4c7e15d165589f9da74c0e1343202b33edfc3809 | [
"MIT"
] | null | null | null | backend/api/asistencia/models.py | matiassalinas/tarea-cmm | 4c7e15d165589f9da74c0e1343202b33edfc3809 | [
"MIT"
] | null | null | null | from jsonfield import JSONField
from django.db import models
class Estudiante(models.Model):
nombre = models.CharField(max_length=200)
asistencia = models.CharField(max_length=5, default="00000") # 1: asistencia, 0: inasistencia
class Curso(models.Model):
nombre = models.CharField(max_length=200... | 34.181818 | 100 | 0.74734 | 45 | 376 | 6.177778 | 0.533333 | 0.161871 | 0.194245 | 0.258993 | 0.316547 | 0.316547 | 0.316547 | 0.316547 | 0 | 0 | 0 | 0.044164 | 0.156915 | 376 | 11 | 101 | 34.181818 | 0.832808 | 0.079787 | 0 | 0.25 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
072fe1cc4db46f2d819954bf67b40e26fae53fc1 | 280 | py | Python | moment_polytopes/utils.py | amsqi/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | 2 | 2017-02-14T21:37:33.000Z | 2017-02-15T10:24:37.000Z | moment_polytopes/utils.py | catch22/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | null | null | null | moment_polytopes/utils.py | catch22/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | 1 | 2021-02-23T15:35:22.000Z | 2021-02-23T15:35:22.000Z | from __future__ import absolute_import, print_function
from sage.all import matrix
__all__ = ["dim_affine_hull"]
def dim_affine_hull(points):
"""Return dimension of affine hull of given collection of points."""
return matrix([p - points[0] for p in points[1:]]).rank()
| 28 | 72 | 0.739286 | 42 | 280 | 4.595238 | 0.595238 | 0.15544 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008439 | 0.153571 | 280 | 9 | 73 | 31.111111 | 0.805907 | 0.221429 | 0 | 0 | 0 | 0 | 0.070755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0.2 | 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 |
07317787f81829d7e80b5095ed410c2dcf7fdd85 | 58 | py | Python | lucid_torch/transforms/stability/blur/TFMSMedianBlur.py | HealthML/lucid-torch | 627700a83b5b2690cd8f95010b5ed439204102f4 | [
"MIT"
] | 1 | 2021-08-20T07:38:09.000Z | 2021-08-20T07:38:09.000Z | lucid_torch/transforms/stability/blur/TFMSMedianBlur.py | HealthML/lucid-torch | 627700a83b5b2690cd8f95010b5ed439204102f4 | [
"MIT"
] | 5 | 2021-03-19T15:50:42.000Z | 2022-03-12T00:53:17.000Z | lucid_torch/transforms/stability/blur/TFMSMedianBlur.py | HealthML/lucid-torch | 627700a83b5b2690cd8f95010b5ed439204102f4 | [
"MIT"
] | null | null | null | import kornia
TFMSMedianBlur = kornia.filters.MedianBlur
| 14.5 | 42 | 0.844828 | 6 | 58 | 8.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 3 | 43 | 19.333333 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
073187ed473408df096a437f11ce2a44bb3a82d2 | 188 | py | Python | 3.-Imprimir_valor_variable_python.py | emiliocarcanobringas/3.-Imprimir_valor_variable_python | 43644cb8ec735e4ea2e1798cbebba54a1b455d26 | [
"MIT"
] | null | null | null | 3.-Imprimir_valor_variable_python.py | emiliocarcanobringas/3.-Imprimir_valor_variable_python | 43644cb8ec735e4ea2e1798cbebba54a1b455d26 | [
"MIT"
] | null | null | null | 3.-Imprimir_valor_variable_python.py | emiliocarcanobringas/3.-Imprimir_valor_variable_python | 43644cb8ec735e4ea2e1798cbebba54a1b455d26 | [
"MIT"
] | null | null | null | # Este programa muestra como imprimir el valor de una variable.
numero = 7
print("El valor de la variable es: ")
print(numero)
# Este programa fue escrito por Emilio Carcaño Bringas.
| 31.333333 | 64 | 0.744681 | 29 | 188 | 4.827586 | 0.724138 | 0.171429 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.191489 | 188 | 5 | 65 | 37.6 | 0.914474 | 0.611702 | 0 | 0 | 0 | 0 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
07426ef49fabfff86fbf264928ce222eaded0b11 | 136 | py | Python | parsl/version.py | benclifford/parsl | 21f8681882779050d2e074591e95ada43789748f | [
"Apache-2.0"
] | null | null | null | parsl/version.py | benclifford/parsl | 21f8681882779050d2e074591e95ada43789748f | [
"Apache-2.0"
] | null | null | null | parsl/version.py | benclifford/parsl | 21f8681882779050d2e074591e95ada43789748f | [
"Apache-2.0"
] | null | null | null | """Set module version.
<Major>.<Minor>.<maintenance>[alpha/beta/..]
Alphas will be numbered like this -> 0.4.0a0
"""
VERSION = '0.7.2'
| 19.428571 | 44 | 0.654412 | 21 | 136 | 4.238095 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.125 | 136 | 6 | 45 | 22.666667 | 0.689076 | 0.808824 | 0 | 0 | 0 | 0 | 0.263158 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
075af3a69e54e128fd5168a1369755395246be48 | 246 | py | Python | confess/models/facebook_post.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 21 | 2017-10-30T20:55:48.000Z | 2021-09-03T14:06:58.000Z | confess/models/facebook_post.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 1 | 2021-11-08T02:05:34.000Z | 2021-11-08T06:54:41.000Z | confess/models/facebook_post.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 3 | 2017-11-15T23:18:00.000Z | 2018-01-01T06:44:03.000Z | from confess.models import db
from sqlalchemy.orm.exc import NoResultFound
from datetime import datetime
class FacebookPost(db.Model):
id = db.Column(db.Integer, primary_key=True)
post_id = db.Column(db.Integer, db.ForeignKey('post.id')) | 35.142857 | 61 | 0.772358 | 37 | 246 | 5.081081 | 0.567568 | 0.042553 | 0.106383 | 0.12766 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 246 | 7 | 61 | 35.142857 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0.02834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4ad1bf767e0561c3cc7eab1f91f23aa9a4ee1a82 | 593 | py | Python | logout/routes.py | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | logout/routes.py | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | logout/routes.py | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template, request, redirect, url_for, session
logout = Blueprint(
"logout",
__name__,
static_folder='static',
)
@logout.route('/', methods=["GET", "POST"])
def index():
if 'loggedIn' in session:
session.pop('loggedIn')
if 'username' in session:
... | 26.954545 | 81 | 0.605396 | 66 | 593 | 5.30303 | 0.469697 | 0.102857 | 0.182857 | 0.217143 | 0.194286 | 0.194286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256324 | 593 | 21 | 82 | 28.238095 | 0.793651 | 0 | 0 | 0.105263 | 0 | 0 | 0.172007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.105263 | 0.052632 | 0 | 0.210526 | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4af317e00b02bba073047635ee5ebc7a65dff234 | 216 | py | Python | mak/build_framework/configure/arch/x86.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/build_framework/configure/arch/x86.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/build_framework/configure/arch/x86.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | def configure(conf):
conf.env.ARCHITECTURE = 'x86'
conf.env.VALID_ARCHITECTURES = ['x86', 'i386']
conf.env.ARCH_FAMILY = 'x86'
conf.env.ARCH_LP64 = False
conf.env.append_unique('DEFINES', '_X86')
| 30.857143 | 50 | 0.666667 | 29 | 216 | 4.793103 | 0.551724 | 0.251799 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072626 | 0.171296 | 216 | 6 | 51 | 36 | 0.703911 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 |
ab042f2b78dbe660225888492b5808e91883fadc | 2,713 | py | Python | test/test_utils.py | fanlu/lhotse | 1573cd5c317e196e6945cefbc364ea9ea9de192a | [
"Apache-2.0"
] | 1 | 2021-01-05T07:33:35.000Z | 2021-01-05T07:33:35.000Z | test/test_utils.py | wuxiaobo/lhotse | 011a651ebe5a051701fba32ad99c07bcd6e81d35 | [
"Apache-2.0"
] | null | null | null | test/test_utils.py | wuxiaobo/lhotse | 011a651ebe5a051701fba32ad99c07bcd6e81d35 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from tempfile import NamedTemporaryFile
import pytest
from lhotse.utils import TimeSpan, load_yaml, overlaps, overspans, perturb_num_samples, save_to_yaml, save_to_json, \
load_json
@pytest.mark.parametrize(
['lhs', 'rhs', 'expected'], [
(TimeSpan(0, 1), TimeSpan(0, 1), True... | 35.697368 | 117 | 0.583118 | 372 | 2,713 | 4.172043 | 0.13172 | 0.243557 | 0.206186 | 0.127577 | 0.765464 | 0.725515 | 0.683634 | 0.63982 | 0.619845 | 0.401418 | 0 | 0.061098 | 0.227792 | 2,713 | 75 | 118 | 36.173333 | 0.679714 | 0 | 0 | 0.430769 | 0 | 0 | 0.031699 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.061538 | false | 0 | 0.061538 | 0 | 0.123077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab17d97e79170ada171949e0f062ae516e949d5c | 858 | py | Python | code/bots/bot_CallBot.py | tamlhp/deepbot-poker | 7526ed9aac7acd9461dea6a90549f6265acbbd9c | [
"Apache-2.0"
] | 9 | 2019-12-04T15:42:29.000Z | 2021-12-16T05:29:13.000Z | code/bots/bot_CallBot.py | Publician/deepbot-poker | 7526ed9aac7acd9461dea6a90549f6265acbbd9c | [
"Apache-2.0"
] | 5 | 2019-12-04T15:45:43.000Z | 2021-11-11T03:28:56.000Z | code/bots/bot_CallBot.py | Publician/deepbot-poker | 7526ed9aac7acd9461dea6a90549f6265acbbd9c | [
"Apache-2.0"
] | 4 | 2020-09-14T09:01:45.000Z | 2021-04-09T04:53:57.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Fri Mar 22 14:28:39 2019
@author: cyril
"""
from pypokerengine.players import BasePokerPlayer
class CallBot(BasePokerPlayer):
def declare_action(self, valid_actions, hole_card, round_state):
call_action_info = valid_actions[1]
action,... | 24.514286 | 79 | 0.703963 | 113 | 858 | 5.044248 | 0.477876 | 0.087719 | 0.098246 | 0.089474 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.202797 | 858 | 34 | 80 | 25.235294 | 0.811404 | 0.110723 | 0 | 0.277778 | 0 | 0 | 0.015915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.277778 | 0.055556 | 0.055556 | 0.611111 | 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 |
ab1cfafd0106b494ede9dbb5cfbed85aaf1c0708 | 18 | py | Python | demo4/multi_files_executor/executor/utils/helper.py | nan-wang/python-meetup-hangzhou-202203 | f4867f6a4a3c1f90da41ad46e9597ef9e398d146 | [
"Apache-2.0"
] | 3 | 2022-03-06T13:24:21.000Z | 2022-03-31T09:30:26.000Z | demo4/multi_files_executor/executor/utils/helper.py | nan-wang/python-meetup-hangzhou-202203 | f4867f6a4a3c1f90da41ad46e9597ef9e398d146 | [
"Apache-2.0"
] | null | null | null | demo4/multi_files_executor/executor/utils/helper.py | nan-wang/python-meetup-hangzhou-202203 | f4867f6a4a3c1f90da41ad46e9597ef9e398d146 | [
"Apache-2.0"
] | null | null | null | bar_var = 'helper' | 18 | 18 | 0.722222 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 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 |
ab4c0e6f5c3ab5d16b16fa6f3b0e31d22c89cd4d | 75 | py | Python | totalone.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | 1 | 2018-07-15T13:36:22.000Z | 2018-07-15T13:36:22.000Z | totalone.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | null | null | null | totalone.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | 1 | 2018-07-15T13:39:05.000Z | 2018-07-15T13:39:05.000Z | total = item_one + \
item_two + \
item_three
print 'total'
| 15 | 20 | 0.546667 | 9 | 75 | 4.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | 75 | 4 | 21 | 18.75 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab5223971287fc90915f02ca176d0c801869482e | 243 | py | Python | While loop with break.py | kwadjooe/net-programmability-automation | dd3d48b57c1132026e6757f9aeeefbb2c2d2e90f | [
"MIT"
] | null | null | null | While loop with break.py | kwadjooe/net-programmability-automation | dd3d48b57c1132026e6757f9aeeefbb2c2d2e90f | [
"MIT"
] | null | null | null | While loop with break.py | kwadjooe/net-programmability-automation | dd3d48b57c1132026e6757f9aeeefbb2c2d2e90f | [
"MIT"
] | null | null | null | word = input("please type in any word of your choice: \n")
while word != "Jesus":
if word == "Jesus":
break
else:
word = input("please type in any word of your choice: \n")
else:
print("The Name above all Name \n") | 27 | 66 | 0.596708 | 38 | 243 | 3.815789 | 0.526316 | 0.124138 | 0.206897 | 0.262069 | 0.565517 | 0.565517 | 0.565517 | 0.565517 | 0.565517 | 0.565517 | 0 | 0 | 0.27572 | 243 | 9 | 67 | 27 | 0.823864 | 0 | 0 | 0.5 | 0 | 0 | 0.491803 | 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 |
ab5fd4ea9b587c521fd5ee5af71facd8f5f5de42 | 310 | py | Python | E1.8/Start/views.py | GregTMJ/Frontendrepos | f4e344be7fece20af6843eafceea7d147f899c65 | [
"MIT"
] | null | null | null | E1.8/Start/views.py | GregTMJ/Frontendrepos | f4e344be7fece20af6843eafceea7d147f899c65 | [
"MIT"
] | null | null | null | E1.8/Start/views.py | GregTMJ/Frontendrepos | f4e344be7fece20af6843eafceea7d147f899c65 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
# Create your views here.
class HomeView(TemplateView):
template_name = 'Home.html'
class AboutView(TemplateView):
template_name = 'about.html'
class ContactView(TemplateView):
template_name = 'contacts.html'
| 18.235294 | 45 | 0.764516 | 36 | 310 | 6.5 | 0.583333 | 0.25641 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151613 | 310 | 16 | 46 | 19.375 | 0.889734 | 0.074194 | 0 | 0 | 0 | 0 | 0.112281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
db4b8b00ae03019cc90ccbf108f21c7320625904 | 355 | py | Python | mysite/bookslab/models.py | Varanasi-Software-Junction/newdjango | 4e260a6223739d9922a45f735b9f931154bbb1ac | [
"MIT"
] | 2 | 2021-08-24T12:13:02.000Z | 2021-10-02T06:36:15.000Z | mysite/bookslab/models.py | Varanasi-Software-Junction/newdjango | 4e260a6223739d9922a45f735b9f931154bbb1ac | [
"MIT"
] | null | null | null | mysite/bookslab/models.py | Varanasi-Software-Junction/newdjango | 4e260a6223739d9922a45f735b9f931154bbb1ac | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Book(models.Model):
bookname=models.CharField(max_length=50)
price=models.IntegerField()
subject=models.CharField(max_length=20)
class Meta:
db_table="book"
class BookImage(models.Model):
bookname = models.CharField(max_length=50)
book_img = mode... | 22.1875 | 50 | 0.777465 | 50 | 355 | 5.4 | 0.56 | 0.166667 | 0.2 | 0.266667 | 0.333333 | 0.333333 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0.018868 | 0.104225 | 355 | 15 | 51 | 23.666667 | 0.830189 | 0.067606 | 0 | 0.2 | 0 | 0 | 0.033435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.9 | 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 |
db57a9b0aa3c222af0d8199f5a0dfe21fa8cf15d | 339 | py | Python | setup.py | AndrijSalata/telegram_reporter | 3276d255747af682ffa40183fa319db9b1834c8f | [
"MIT"
] | null | null | null | setup.py | AndrijSalata/telegram_reporter | 3276d255747af682ffa40183fa319db9b1834c8f | [
"MIT"
] | null | null | null | setup.py | AndrijSalata/telegram_reporter | 3276d255747af682ffa40183fa319db9b1834c8f | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='telegram_reporter',
version='1.1',
install_requires=[
'questionary~=1.10.0',
'Telethon~=1.24.0',
],
scripts=['telegram_reporter/main.py'],
entry_points={
'console_scripts': [
'telegram_reporter=telegram_reporter:run',... | 21.1875 | 54 | 0.581121 | 35 | 339 | 5.428571 | 0.657143 | 0.336842 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.268437 | 339 | 16 | 55 | 21.1875 | 0.725806 | 0 | 0 | 0.133333 | 0 | 0 | 0.394118 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 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 |
db5efcc4bd57765db77420e778ea0e4d86756570 | 55 | py | Python | utils/constants.py | ruudvlutters/Handwriting-synthesis | a4d1952dfb18dd40e4a6fd9f5f50c4c43a92d1bd | [
"MIT"
] | 161 | 2019-09-09T13:16:14.000Z | 2022-03-30T16:59:11.000Z | utils/constants.py | ruudvlutters/Handwriting-synthesis | a4d1952dfb18dd40e4a6fd9f5f50c4c43a92d1bd | [
"MIT"
] | 4 | 2019-09-16T22:26:52.000Z | 2021-12-08T13:54:16.000Z | utils/constants.py | ruudvlutters/Handwriting-synthesis | a4d1952dfb18dd40e4a6fd9f5f50c4c43a92d1bd | [
"MIT"
] | 21 | 2019-09-17T06:14:37.000Z | 2022-02-12T22:49:57.000Z | class Global:
train_mean = 0.0
train_std = 1.0
| 13.75 | 20 | 0.618182 | 10 | 55 | 3.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.290909 | 55 | 3 | 21 | 18.333333 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
db69317db92831cf9030d14f39b978cfc259e10b | 360 | py | Python | tools/data/soccernet/change_dir_download.py | Alexis-Fab/mmaction2 | 6f76bb465a7164f907318cf58f77fc3d613f8f0f | [
"Apache-2.0"
] | null | null | null | tools/data/soccernet/change_dir_download.py | Alexis-Fab/mmaction2 | 6f76bb465a7164f907318cf58f77fc3d613f8f0f | [
"Apache-2.0"
] | null | null | null | tools/data/soccernet/change_dir_download.py | Alexis-Fab/mmaction2 | 6f76bb465a7164f907318cf58f77fc3d613f8f0f | [
"Apache-2.0"
] | null | null | null | import os
import shutil
from os import path as osp
for dir1 in os.listdir('/media/opekta/CopaEurope/SoccerDB'):
if (dir1[:11]=='videos-2021'):
dir2=osp.join('/media/opekta/CopaEurope/SoccerDB/'+dir1,'videos')
for file in os.listdir(dir2):
shutil.move(osp.join(dir2,file),'/media/opekta/C... | 36 | 87 | 0.661111 | 50 | 360 | 4.76 | 0.46 | 0.138655 | 0.264706 | 0.365546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040956 | 0.186111 | 360 | 10 | 88 | 36 | 0.771331 | 0 | 0 | 0 | 0 | 0 | 0.34349 | 0.296399 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
db6ad773ae2672167bb8c89aec6c7ac6b31487af | 441 | py | Python | leetcode/0258_add_digits.py | chaosWsF/Python-Practice | ff617675b6bcd125933024bb4c246b63a272314d | [
"BSD-2-Clause"
] | null | null | null | leetcode/0258_add_digits.py | chaosWsF/Python-Practice | ff617675b6bcd125933024bb4c246b63a272314d | [
"BSD-2-Clause"
] | null | null | null | leetcode/0258_add_digits.py | chaosWsF/Python-Practice | ff617675b6bcd125933024bb4c246b63a272314d | [
"BSD-2-Clause"
] | null | null | null | """
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.
Example:
Input: 38
Output: 2
Explanation: The process is like: 3 + 8 = 11, 1 + 1 = 2.
Since 2 has only one digit, return it.
Follow up:
Could you do it without any loop/recursion... | 24.5 | 100 | 0.621315 | 72 | 441 | 3.805556 | 0.763889 | 0.051095 | 0.072993 | 0.109489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054487 | 0.292517 | 441 | 17 | 101 | 25.941176 | 0.823718 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
db9088806a2e5883e83c4ff6255e5267326e6134 | 166 | py | Python | activities/serializers.py | neosergio/djangoino | ca50b4976a4460483742aff2b46e4429d74778f3 | [
"MIT"
] | 4 | 2019-10-04T07:31:32.000Z | 2021-01-26T22:49:50.000Z | activities/serializers.py | neosergio/djangoino | ca50b4976a4460483742aff2b46e4429d74778f3 | [
"MIT"
] | null | null | null | activities/serializers.py | neosergio/djangoino | ca50b4976a4460483742aff2b46e4429d74778f3 | [
"MIT"
] | 6 | 2016-10-24T13:38:14.000Z | 2019-05-04T11:08:29.000Z | from rest_framework import serializers
from .models import Activity
class ActivitySerializer(serializers.ModelSerializer):
class Meta:
model = Activity
| 20.75 | 54 | 0.783133 | 17 | 166 | 7.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174699 | 166 | 7 | 55 | 23.714286 | 0.941606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 |
db932fe68b5321172ac8bbdbcb229a73f9b3c039 | 60,894 | py | Python | pythonocc/lib/OCC/gce.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | 2 | 2017-10-30T15:51:48.000Z | 2020-11-04T02:23:36.000Z | pythonocc/lib/OCC/gce.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | null | null | null | pythonocc/lib/OCC/gce.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | 4 | 2017-11-29T05:24:34.000Z | 2020-03-05T23:23:23.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (3,0,0):
new_instancemethod = lambda func, inst, cls: _gce.SWI... | 38.37051 | 1,066 | 0.671955 | 8,169 | 60,894 | 4.787244 | 0.055454 | 0.024241 | 0.032731 | 0.02823 | 0.764083 | 0.593372 | 0.57445 | 0.514077 | 0.466899 | 0.425167 | 0 | 0.014411 | 0.244474 | 60,894 | 1,586 | 1,067 | 38.394704 | 0.835612 | 0.492971 | 0 | 0.306667 | 1 | 0 | 0.027203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182222 | false | 0.006667 | 0.026667 | 0.004444 | 0.553333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dbaced097c91f4ed85861bb38037e04bdc9033fd | 200 | py | Python | main.py | DCCollao/ti_apii | 7241e7880b40575e6ee97b8385cb0b0ea8fdb498 | [
"Apache-2.0"
] | null | null | null | main.py | DCCollao/ti_apii | 7241e7880b40575e6ee97b8385cb0b0ea8fdb498 | [
"Apache-2.0"
] | null | null | null | main.py | DCCollao/ti_apii | 7241e7880b40575e6ee97b8385cb0b0ea8fdb498 | [
"Apache-2.0"
] | null | null | null | from httplib2 import Response
from fastapi import FastAPI
from starlette.responses import FileResponse
app = FastAPI()
@app.get("/")
async def read_index():
return FileResponse('pagina.html')
| 16.666667 | 44 | 0.76 | 25 | 200 | 6.04 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.145 | 200 | 11 | 45 | 18.181818 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 |
dbb0df20c1cc46acfe41b25c8ef3a426cec89c74 | 17,359 | py | Python | python/interpret_community/mimic/models/linear_model.py | rogerhe/interpret-community | ea38a3b4ad896a7cce4bbfde85bac8fc27f88908 | [
"MIT"
] | 1 | 2020-03-29T15:12:39.000Z | 2020-03-29T15:12:39.000Z | python/interpret_community/mimic/models/linear_model.py | chhetri22/interpret-community | e61652111ac4badda2212926ad9d56ab7b56ad27 | [
"MIT"
] | null | null | null | python/interpret_community/mimic/models/linear_model.py | chhetri22/interpret-community | e61652111ac4badda2212926ad9d56ab7b56ad27 | [
"MIT"
] | null | null | null | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
"""Defines an explainable linear model."""
import numpy as np
import scipy as sp
from .explainable_model import BaseExplainableModel, _get... | 42.651106 | 117 | 0.638919 | 1,825 | 17,359 | 5.852055 | 0.100822 | 0.025749 | 0.022285 | 0.026217 | 0.736049 | 0.736049 | 0.717603 | 0.686704 | 0.678277 | 0.670037 | 0 | 0.001429 | 0.274497 | 17,359 | 406 | 118 | 42.756158 | 0.846594 | 0.256236 | 0 | 0.564815 | 0 | 0 | 0.129881 | 0.015295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087963 | false | 0 | 0.032407 | 0 | 0.24537 | 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 |
dbcdb1a31105d3f04e91dc77cf1798bb3a7237ce | 495 | py | Python | tests/test_file_util_daily_script.py | cadvena/toolbox | d95c2dc669dd573169aeb9ef45950fec04c3dd83 | [
"MIT"
] | null | null | null | tests/test_file_util_daily_script.py | cadvena/toolbox | d95c2dc669dd573169aeb9ef45950fec04c3dd83 | [
"MIT"
] | null | null | null | tests/test_file_util_daily_script.py | cadvena/toolbox | d95c2dc669dd573169aeb9ef45950fec04c3dd83 | [
"MIT"
] | null | null | null | import unittest
class TestClass(unittest.TestCase):
def setUp(self):
print("\nCalling TestOSWrapper.setUp()...")
def tearDown(self):
print("\nCalling TestOSWrapper.tearDown()...")
def test_something(self):
pass
if __name__ == '__main__':
### 2 - invoke ... | 24.75 | 56 | 0.577778 | 52 | 495 | 5.326923 | 0.615385 | 0.064982 | 0.122744 | 0.216607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.30303 | 495 | 19 | 57 | 26.052632 | 0.794203 | 0.246465 | 0 | 0 | 0 | 0 | 0.229651 | 0.148256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.1 | 0 | 0.5 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
dbd4bfde76001df1cb45d6037d7255115ce86d63 | 237 | py | Python | packages/pyright-internal/src/tests/samples/unbound2.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/unbound2.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/unbound2.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | # This sample validates that an unbound variable error is reported
# even if that variable has a type declaration.
def fn1():
aaa: int
# This should generate an error because aaa is unbound.
return aaa
fn1()
| 18.230769 | 67 | 0.675105 | 34 | 237 | 4.705882 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.278481 | 237 | 12 | 68 | 19.75 | 0.923977 | 0.691983 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dbdb9fdd10561048ef9832f26aa294bc7aeacbc0 | 106 | py | Python | edgar/src/enums.py | WallStreetAnalytics/edgar-parsing-prototype | 8e9d1fee3dfade273c9a7566c2df986ec178c504 | [
"MIT"
] | 3 | 2021-03-05T02:30:47.000Z | 2021-03-06T03:56:08.000Z | edgar/src/enums.py | WallStreetAnalytics/edgar-parsing-prototype | 8e9d1fee3dfade273c9a7566c2df986ec178c504 | [
"MIT"
] | 2 | 2021-03-06T03:41:45.000Z | 2021-03-08T16:01:07.000Z | edgar/src/enums.py | WallStreetAnalytics/edgar-parsing-prototype | 8e9d1fee3dfade273c9a7566c2df986ec178c504 | [
"MIT"
] | 1 | 2021-03-06T03:56:11.000Z | 2021-03-06T03:56:11.000Z | class FormTypes:
Q = "10-Q"
K = "10-K"
def __init__(self):
raise NotImplementedError
| 15.142857 | 33 | 0.575472 | 13 | 106 | 4.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.311321 | 106 | 6 | 34 | 17.666667 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
915831da78d143eb9aff75f04a1a063840932c6a | 1,222 | py | Python | _assignments/pandas/series/pandas_series_arithmetic.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/pandas/series/pandas_series_arithmetic.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/pandas/series/pandas_series_arithmetic.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | """
* Assignment: Series Arithmetic
* Complexity: easy
* Lines of code: 5 lines
* Time: 5 min
English:
1. Set random seed to zero
2. Generate `data: ndarray` with 5 random digits [0, 9]
3. Create `index: list` with index names as sequential letters in english alphabet
4. Create `s: pd.Series` from `dat... | 24.44 | 86 | 0.633388 | 182 | 1,222 | 4.252747 | 0.582418 | 0.041344 | 0.007752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050111 | 0.265139 | 1,222 | 49 | 87 | 24.938776 | 0.811804 | 0.927987 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9159cd1e1cc0ed4ba65b04538a3525ef14f6a612 | 294 | py | Python | src/api/api_v1/endpoints/__init__.py | cmtools/datetime | fe7e0ce4b09a241e3fd3e943f3c0207d73602a31 | [
"MIT"
] | null | null | null | src/api/api_v1/endpoints/__init__.py | cmtools/datetime | fe7e0ce4b09a241e3fd3e943f3c0207d73602a31 | [
"MIT"
] | null | null | null | src/api/api_v1/endpoints/__init__.py | cmtools/datetime | fe7e0ce4b09a241e3fd3e943f3c0207d73602a31 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
from .now import router as now_router
from .month import router as month_router
# from .user import router as user_routes
router = APIRouter(prefix='/eps')
router.include_router(now_router)
router.include_router(month_router)
# router.include_router(user_routes) | 29.4 | 41 | 0.823129 | 44 | 294 | 5.295455 | 0.295455 | 0.154506 | 0.180258 | 0.214592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105442 | 294 | 10 | 42 | 29.4 | 0.885932 | 0.251701 | 0 | 0 | 0 | 0 | 0.018349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
916019ee4bba44a3a09081d520774d851150b245 | 153 | py | Python | pacote-download/CursoemVideo/ex024.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | pacote-download/CursoemVideo/ex024.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | pacote-download/CursoemVideo/ex024.py | pemedeiros/python-CeV | e34eebdfd6f5cf254a9ad1ce076083c735f68f28 | [
"MIT"
] | null | null | null | cid = input('Digite o nome da sua cidade:')
pn = cid.split()
if('Santo' in pn[0]):
print('Começa com Santo')
else:
print('Não começa com Santo')
| 21.857143 | 43 | 0.633987 | 26 | 153 | 3.730769 | 0.730769 | 0.185567 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.196078 | 153 | 6 | 44 | 25.5 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
916033d5351de9578a68ad69ba78da0be9145c12 | 135,110 | py | Python | env/lib/python3.6/site-packages/dialogflow_v2/proto/intent_pb2.py | NickDST/Interactive-Assistant-Winter | 7b4ea5bea45201a8a091134cdfab9e8bd3419d65 | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/dialogflow_v2/proto/intent_pb2.py | NickDST/Interactive-Assistant-Winter | 7b4ea5bea45201a8a091134cdfab9e8bd3419d65 | [
"MIT"
] | 15 | 2020-01-28T23:14:29.000Z | 2022-02-10T00:40:40.000Z | env/lib/python3.6/site-packages/dialogflow_v2/proto/intent_pb2.py | NickDST/Interactive-Assistant-Winter | 7b4ea5bea45201a8a091134cdfab9e8bd3419d65 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/dialogflow_v2/proto/intent.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from goog... | 43.824197 | 10,940 | 0.730634 | 16,600 | 135,110 | 5.696265 | 0.054518 | 0.034519 | 0.062025 | 0.082944 | 0.758022 | 0.71628 | 0.660589 | 0.607817 | 0.574864 | 0.535576 | 0 | 0.032489 | 0.1546 | 135,110 | 3,082 | 10,941 | 43.838417 | 0.795355 | 0.045607 | 0 | 0.603053 | 1 | 0.050527 | 0.355736 | 0.181162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009088 | false | 0.000364 | 0.006907 | 0 | 0.018175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
916cef9686e71f54eb372b3899fbc45e218eb9c8 | 1,563 | py | Python | spider/python/cache.py | liukun-lk/douban_group | 6dd8bf2075fd25f2e440c023da59c4842ff79882 | [
"MIT"
] | null | null | null | spider/python/cache.py | liukun-lk/douban_group | 6dd8bf2075fd25f2e440c023da59c4842ff79882 | [
"MIT"
] | 4 | 2018-08-12T04:28:31.000Z | 2021-04-13T09:27:22.000Z | spider/python/cache.py | 221-lab/douban_group | 6dd8bf2075fd25f2e440c023da59c4842ff79882 | [
"MIT"
] | 2 | 2018-01-23T00:36:48.000Z | 2018-04-11T13:48:22.000Z | #! /usr/bin/env python3
import redis
class Cache(object):
"""Redis客户端
"""
__client = None
def __init__(self):
if not self.__client:
pool = redis.ConnectionPool(host='localhost', port=6379, db=3)
self.__client = redis.Redis(connection_pool=pool)
def r_sadd(self, ca... | 30.057692 | 166 | 0.662188 | 225 | 1,563 | 4.28 | 0.266667 | 0.132918 | 0.099688 | 0.074766 | 0.402908 | 0.367601 | 0.280374 | 0.211838 | 0.122534 | 0.093458 | 0 | 0.018356 | 0.198337 | 1,563 | 51 | 167 | 30.647059 | 0.7502 | 0.264875 | 0 | 0 | 0 | 0 | 0.026385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0.035714 | 0.25 | 0.75 | 0.035714 | 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 |
917da3363fa5dc68ddc7b05416f39047fad2404f | 293 | py | Python | item/admin.py | ngr/sm_00 | d8480cbbe88efd9947e2cb6d5a205f824cc5450d | [
"MIT"
] | null | null | null | item/admin.py | ngr/sm_00 | d8480cbbe88efd9947e2cb6d5a205f824cc5450d | [
"MIT"
] | 117 | 2015-01-01T06:20:05.000Z | 2016-01-06T08:16:20.000Z | item/admin.py | ngr/sm_00 | d8480cbbe88efd9947e2cb6d5a205f824cc5450d | [
"MIT"
] | null | null | null | from django.contrib import admin
from item.models import ItemBaseParam, ItemParamDirectory, ItemDirectory, ItemRecipe, Item
admin.site.register(ItemBaseParam)
admin.site.register(ItemParamDirectory)
admin.site.register(ItemDirectory)
admin.site.register(ItemRecipe)
admin.site.register(Item)
| 32.555556 | 90 | 0.849829 | 34 | 293 | 7.323529 | 0.382353 | 0.180723 | 0.341365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061433 | 293 | 8 | 91 | 36.625 | 0.905455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9187186caadbfc4161960ff18734507e1fda6340 | 188 | py | Python | Agents/NetworkAgent/network/myclass.py | Entek-Technical-Services/BEMOSS3.5 | 581a205b4129530474a5ceee93cb36ef62992d4c | [
"BSD-3-Clause"
] | 73 | 2017-07-11T21:46:41.000Z | 2022-03-11T03:35:25.000Z | Agents/NetworkAgent/network/myclass.py | Entek-Technical-Services/BEMOSS3.5 | 581a205b4129530474a5ceee93cb36ef62992d4c | [
"BSD-3-Clause"
] | 19 | 2017-10-10T22:06:15.000Z | 2022-03-28T21:03:33.000Z | Agents/NetworkAgent/network/myclass.py | Entek-Technical-Services/BEMOSS3.5 | 581a205b4129530474a5ceee93cb36ef62992d4c | [
"BSD-3-Clause"
] | 36 | 2017-06-24T00:17:03.000Z | 2022-03-31T13:58:36.000Z | myvar = {1:10,2:20}
class myclass():
def __init__(self):
myvar[1]=100
print myvar
self.printvar()
def printvar(self):
print myvar
k = myclass()
| 13.428571 | 23 | 0.542553 | 24 | 188 | 4.083333 | 0.583333 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.329787 | 188 | 13 | 24 | 14.461538 | 0.698413 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.444444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
918fcefb7037542c10d27b6f662cacfc4d637c78 | 16,227 | py | Python | vo/orb/pattern.py | yangzuyuanhao/vin | 0f485fcb6bf53341898142021b6a1295a0ca87a3 | [
"MIT"
] | 1 | 2022-03-23T01:13:57.000Z | 2022-03-23T01:13:57.000Z | vo/orb/pattern.py | yangzuyuanhao/vin | 0f485fcb6bf53341898142021b6a1295a0ca87a3 | [
"MIT"
] | null | null | null | vo/orb/pattern.py | yangzuyuanhao/vin | 0f485fcb6bf53341898142021b6a1295a0ca87a3 | [
"MIT"
] | null | null | null |
bit_pattern_31 = \
[
8,-3, 9,5, #/*mean (0), correlation (0)*/,
4,2, 7,-12, #/*mean (1.12461e-05), correlation (0.0437584)*/,
-11,9, -8,2, #/*mean (3.37382e-05), correlation (0.0617409)*/,
7,-12, 12,-13, #/*mean (5.62303e-05), correlation (0.0636977)*/,
2,-13, 2,12, #/*mean (0.000134953), correlat... | 61.935115 | 68 | 0.542244 | 2,564 | 16,227 | 3.430967 | 0.205928 | 0.34921 | 0.027055 | 0.006138 | 0.044333 | 0.009094 | 0 | 0 | 0 | 0 | 0 | 0.361933 | 0.158193 | 16,227 | 261 | 69 | 62.172414 | 0.282064 | 0.697233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9194d561b0b2f6aaf155d71704a4b7e179fafe99 | 1,922 | py | Python | pocket48_api/pocket48_api_constants.py | wdwind/pocket48_api | e3ea1941f1b6de22cada7cb6dce355e441edbe70 | [
"MIT"
] | 3 | 2020-12-16T06:44:36.000Z | 2022-01-15T04:29:54.000Z | pocket48_api/pocket48_api_constants.py | wdwind/pocket48_api | e3ea1941f1b6de22cada7cb6dce355e441edbe70 | [
"MIT"
] | 3 | 2020-12-11T03:18:48.000Z | 2021-06-29T04:39:13.000Z | pocket48_api/pocket48_api_constants.py | wdwind/pocket48_api | e3ea1941f1b6de22cada7cb6dce355e441edbe70 | [
"MIT"
] | null | null | null | LOGIN_URL = 'https://pocketapi.48.cn/user/api/v1/login/app/mobile'
IM_ROOM_MESSAGE_URL = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/homeowner'
IM_ROOM_MESSAGE_ALL_URL = 'https://pocketapi.48.cn/im/api/v1/chatroom/msg/list/all'
IM_ROOM_INFO_URL = 'https://pocketapi.48.cn/im/api/v1/im/room/info/type/source'
IM_... | 68.642857 | 92 | 0.76847 | 331 | 1,922 | 4.287009 | 0.181269 | 0.135307 | 0.287526 | 0.321353 | 0.686399 | 0.67019 | 0.67019 | 0.654686 | 0.586328 | 0.410148 | 0 | 0.039869 | 0.047347 | 1,922 | 27 | 93 | 71.185185 | 0.735117 | 0.361082 | 0 | 0 | 0 | 0.1875 | 0.703947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9196fd7c37fcaf5240f1bc1078afa31b835ddaa3 | 1,057 | py | Python | class06_dataAbstraction/tree.py | HuSharp/CS61A_Fall_2020 | 0cdd8cf3857b6ad75fd63a2ab671917d7023cd98 | [
"MIT"
] | 1 | 2021-04-02T09:30:18.000Z | 2021-04-02T09:30:18.000Z | class06_dataAbstraction/tree.py | HuSharp/CS61A_Fall_2020 | 0cdd8cf3857b6ad75fd63a2ab671917d7023cd98 | [
"MIT"
] | null | null | null | class06_dataAbstraction/tree.py | HuSharp/CS61A_Fall_2020 | 0cdd8cf3857b6ad75fd63a2ab671917d7023cd98 | [
"MIT"
] | null | null | null | '''
Descripttion:
version:
Author: HuSharp
Date: 2021-02-14 18:15:33
LastEditors: HuSharp
LastEditTime: 2021-02-14 20:11:25
@Email: 8211180515@csu.edu.cn
'''
def tree(label, branches=[]):
for branch in branches:
assert is_tree(branch), 'branches must tree! '
return [label] + list(branches)
def label... | 21.571429 | 61 | 0.617786 | 156 | 1,057 | 4.134615 | 0.397436 | 0.093023 | 0.065116 | 0.058915 | 0.055814 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05611 | 0.241249 | 1,057 | 49 | 62 | 21.571429 | 0.74813 | 0.216651 | 0 | 0.076923 | 0 | 0 | 0.029024 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.269231 | false | 0 | 0 | 0.115385 | 0.615385 | 0.115385 | 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 |
9198735d08158e5228f4a4af41333b8da24b732f | 2,397 | py | Python | shapely/prepared.py | tfardet/Shapely | 462de3aa7a8bbd80408762a2d5aaf84b04476e4d | [
"BSD-3-Clause"
] | null | null | null | shapely/prepared.py | tfardet/Shapely | 462de3aa7a8bbd80408762a2d5aaf84b04476e4d | [
"BSD-3-Clause"
] | null | null | null | shapely/prepared.py | tfardet/Shapely | 462de3aa7a8bbd80408762a2d5aaf84b04476e4d | [
"BSD-3-Clause"
] | null | null | null | """
Support for GEOS prepared geometry operations.
"""
import pygeos
from pickle import PicklingError
class PreparedGeometry:
"""
A geometry prepared for efficient comparison to a set of other geometries.
Example:
>>> from shapely.geometry import Point, Polygon
>>> triangle = Polygon(((0.0,... | 31.12987 | 90 | 0.645807 | 288 | 2,397 | 5.340278 | 0.288194 | 0.085826 | 0.093628 | 0.117035 | 0.356307 | 0.236021 | 0.136541 | 0 | 0 | 0 | 0 | 0.008884 | 0.248644 | 2,397 | 76 | 91 | 31.539474 | 0.845086 | 0.388402 | 0 | 0 | 0 | 0 | 0.040175 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 1 | 0.342857 | false | 0 | 0.085714 | 0 | 0.742857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
91a4aa9e394ab92d22919a637599c189272cb4b9 | 6,053 | py | Python | pep_sequencer_lib/kbe_scorer.py | cgasb/PepThreader | 54c34fd8070eacb5f9805c97f51dd51f0609a855 | [
"Apache-2.0"
] | 2 | 2022-02-17T15:04:29.000Z | 2022-02-17T16:06:53.000Z | pep_sequencer_lib/kbe_scorer.py | cgasb/PepThreader | 54c34fd8070eacb5f9805c97f51dd51f0609a855 | [
"Apache-2.0"
] | null | null | null | pep_sequencer_lib/kbe_scorer.py | cgasb/PepThreader | 54c34fd8070eacb5f9805c97f51dd51f0609a855 | [
"Apache-2.0"
] | null | null | null | from Bio.PDB import PDBParser
kb_entropy_dict = {("ALA", "ALA"): 0.08, ("ALA", "ILE"): 0.11, ("ALA", "LEU"): 0.10, ("ALA", "VAL"): 0.10, ("ALA", "MET"): 0.10, ("ALA", "PHE"): 0.08, ("ALA", "TRP"): 0.09, ("ALA", "GLY"): 0.11, ("ALA", "PRO"): 0.13, ("ALA", "CYS"): 0.11, ("ALA", "ASN"): 0.12, ("ALA", "GLN"): 0.13, ("ALA... | 131.586957 | 4,638 | 0.468858 | 1,068 | 6,053 | 2.58427 | 0.101124 | 0.031522 | 0.013043 | 0.006522 | 0.034058 | 0.017391 | 0.017391 | 0 | 0 | 0 | 0 | 0.126727 | 0.16306 | 6,053 | 45 | 4,639 | 134.511111 | 0.418081 | 0.017677 | 0 | 0.058824 | 0 | 0 | 0.213829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.029412 | 0.029412 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91a928c4778926f9ea0bfa9ec69fc646e2ddef04 | 159 | py | Python | visual_components/vglobe/urls.py | ec-everest/vre-portal | 287abbd3ec928ec1075171fa41629c09089f1ae2 | [
"Apache-2.0"
] | 1 | 2017-01-16T15:33:27.000Z | 2017-01-16T15:33:27.000Z | visual_components/vglobe/urls.py | ec-everest/vre-portal | 287abbd3ec928ec1075171fa41629c09089f1ae2 | [
"Apache-2.0"
] | null | null | null | visual_components/vglobe/urls.py | ec-everest/vre-portal | 287abbd3ec928ec1075171fa41629c09089f1ae2 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url( r'^getShapefileList.py', views.getShapefileList, name = 'getShapefileList' )
]
| 19.875 | 85 | 0.72956 | 18 | 159 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157233 | 159 | 7 | 86 | 22.714286 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 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 |
91b44ea93834a303fbf2a3d373c73f997b42ae48 | 428 | py | Python | src/tic/plane/migrations/0011_auto_20180429_1512.py | gunduzhuseyn/Tic-SPLE | d6321be0a3824c6b071e558df47f372bcf855e07 | [
"MIT"
] | null | null | null | src/tic/plane/migrations/0011_auto_20180429_1512.py | gunduzhuseyn/Tic-SPLE | d6321be0a3824c6b071e558df47f372bcf855e07 | [
"MIT"
] | null | null | null | src/tic/plane/migrations/0011_auto_20180429_1512.py | gunduzhuseyn/Tic-SPLE | d6321be0a3824c6b071e558df47f372bcf855e07 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-04-29 15:12
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('plane', '0010_auto_20180429_1504'),
]
operations = [
migrations.RemoveField(
model_name='seat',
name='is_empty',
),
... | 19.454545 | 47 | 0.556075 | 44 | 428 | 5.25 | 0.727273 | 0.103896 | 0.225108 | 0.25974 | 0.329004 | 0.329004 | 0 | 0 | 0 | 0 | 0 | 0.108014 | 0.329439 | 428 | 21 | 48 | 20.380952 | 0.696864 | 0.10514 | 0 | 0.4 | 1 | 0 | 0.133858 | 0.060367 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 |
91b53bb8ebbf53369b07e5f5e9135b4602c0e8d6 | 173 | py | Python | french_ping_calculator/apps/calculator/templatetags/addclasstags.py | chrisdavisgithub/french_ping_calculator | 2f775125d653921540e00d116471b07b2a97d201 | [
"WTFPL"
] | null | null | null | french_ping_calculator/apps/calculator/templatetags/addclasstags.py | chrisdavisgithub/french_ping_calculator | 2f775125d653921540e00d116471b07b2a97d201 | [
"WTFPL"
] | 1 | 2015-02-10T17:23:19.000Z | 2015-02-10T17:23:19.000Z | french_ping_calculator/apps/calculator/templatetags/addclasstags.py | chrisdavisgithub/french_ping_calculator | 2f775125d653921540e00d116471b07b2a97d201 | [
"WTFPL"
] | null | null | null | from django import template
register = template.Library()
@register.filter(name='addclass')
def addclass(field, value):
return field.as_widget(attrs={"class": value})
| 21.625 | 50 | 0.745665 | 22 | 173 | 5.818182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 7 | 51 | 24.714286 | 0.836601 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
91ba271511c1faf7080aea006d788a81b99cb7cd | 223 | bzl | Python | dart/build_rules/codegen/_labels.bzl | nickclmb/rules_dart | 2cae27be60b858bfa45c649db15946cabb245556 | [
"Apache-2.0"
] | 13 | 2016-10-27T18:33:41.000Z | 2018-09-23T15:51:56.000Z | dart/build_rules/codegen/_labels.bzl | nickclmb/rules_dart | 2cae27be60b858bfa45c649db15946cabb245556 | [
"Apache-2.0"
] | 92 | 2016-10-12T20:41:10.000Z | 2018-11-26T22:18:26.000Z | dart/build_rules/codegen/_labels.bzl | nickclmb/rules_dart | 2cae27be60b858bfa45c649db15946cabb245556 | [
"Apache-2.0"
] | 21 | 2016-10-12T20:24:15.000Z | 2018-11-20T08:17:46.000Z | """Normalizes paths to targets which may vary based on the workspace."""
labels = struct(
package = Label("@pub__bazel_codegen//:_bazel_codegen"),
template = Label("//dart/build_rules/codegen:codegen_template"),
)
| 31.857143 | 72 | 0.726457 | 28 | 223 | 5.535714 | 0.785714 | 0.154839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134529 | 223 | 6 | 73 | 37.166667 | 0.803109 | 0.295964 | 0 | 0 | 0 | 0 | 0.523179 | 0.523179 | 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 |
91bbf3067a70330ccab0e27f949df55922b5f5d6 | 22,755 | py | Python | tests/testsuite.py | swethareddychevuru/awslabs | 8745afe7fdddc0b8e60980ad4b3f58a294c8206b | [
"MIT-0"
] | 99 | 2017-09-18T20:12:04.000Z | 2022-01-21T15:26:54.000Z | tests/testsuite.py | swethareddychevuru/awslabs | 8745afe7fdddc0b8e60980ad4b3f58a294c8206b | [
"MIT-0"
] | 1 | 2018-05-28T19:10:28.000Z | 2020-05-25T01:18:42.000Z | tests/testsuite.py | swethareddychevuru/awslabs | 8745afe7fdddc0b8e60980ad4b3f58a294c8206b | [
"MIT-0"
] | 58 | 2017-09-23T08:16:42.000Z | 2022-03-25T09:10:13.000Z | #!/usr/bin/env python
from __future__ import print_function
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from datetime i... | 52.795824 | 119 | 0.602461 | 2,777 | 22,755 | 4.806986 | 0.130717 | 0.015282 | 0.008315 | 0.011087 | 0.731515 | 0.724099 | 0.719455 | 0.695483 | 0.688965 | 0.688965 | 0 | 0.011051 | 0.24443 | 22,755 | 430 | 120 | 52.918605 | 0.76537 | 0.023555 | 0 | 0.602532 | 0 | 0.010127 | 0.207519 | 0 | 0 | 0 | 0 | 0 | 0.032911 | 1 | 0.025316 | false | 0.017722 | 0.037975 | 0.002532 | 0.118987 | 0.075949 | 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 |
91c9f294173e9bd5ed9819b9ddf673de63bc0a9a | 27,258 | py | Python | src/config/schema-transformer/test/test_bgp.py | zhongyangni/controller | 439032d46767dd033ba55c1e5c34e7f2213da8b3 | [
"Apache-2.0"
] | null | null | null | src/config/schema-transformer/test/test_bgp.py | zhongyangni/controller | 439032d46767dd033ba55c1e5c34e7f2213da8b3 | [
"Apache-2.0"
] | 2 | 2018-12-04T02:20:52.000Z | 2018-12-22T06:16:30.000Z | src/config/schema-transformer/test/test_bgp.py | zhongyangni/controller | 439032d46767dd033ba55c1e5c34e7f2213da8b3 | [
"Apache-2.0"
] | 1 | 2018-12-04T02:07:47.000Z | 2018-12-04T02:07:47.000Z | #
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
import sys
import gevent
from testtools.matchers import Contains, Not
try:
import config_db
import to_bgp
except ImportError:
from schema_transformer import config_db
from schema_transformer import to_bgp
from vnc_api.vnc_api import ... | 45.888889 | 127 | 0.674518 | 3,824 | 27,258 | 4.393567 | 0.071653 | 0.044581 | 0.063091 | 0.030951 | 0.763586 | 0.731623 | 0.709839 | 0.664365 | 0.609249 | 0.57193 | 0 | 0.024344 | 0.232922 | 27,258 | 593 | 128 | 45.966273 | 0.779186 | 0.071942 | 0 | 0.495575 | 0 | 0 | 0.055432 | 0.008955 | 0 | 0 | 0 | 0 | 0.059735 | 0 | null | null | 0.002212 | 0.026549 | null | null | 0.015487 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91cbef2e11377c27e88826d51ef0275b33dd41a7 | 170 | py | Python | atest/resources/testlibs/get_selenium_options.py | ishandutta2007/SeleniumLibrary | 6b2748122b2af219d8247dab4b6db00d3c49e60d | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2018-03-22T11:27:57.000Z | 2021-03-04T19:15:38.000Z | atest/resources/testlibs/get_selenium_options.py | ishandutta2007/SeleniumLibrary | 6b2748122b2af219d8247dab4b6db00d3c49e60d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | atest/resources/testlibs/get_selenium_options.py | ishandutta2007/SeleniumLibrary | 6b2748122b2af219d8247dab4b6db00d3c49e60d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-10-07T08:44:50.000Z | 2020-10-07T08:44:50.000Z | from selenium import webdriver
def get_chrome_options():
options = webdriver.ChromeOptions()
options.add_argument('--disable-dev-shm-usage')
return options
| 21.25 | 51 | 0.747059 | 20 | 170 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 170 | 7 | 52 | 24.285714 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 0.135294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
37d726b674e8a9ed5523cdbe9a88d55696273245 | 299 | py | Python | notes_app/models.py | VitalGolubev/notes-app-1 | 6bc966c6385aa02f781a9b3c764164a4e3d39a7a | [
"MIT"
] | null | null | null | notes_app/models.py | VitalGolubev/notes-app-1 | 6bc966c6385aa02f781a9b3c764164a4e3d39a7a | [
"MIT"
] | null | null | null | notes_app/models.py | VitalGolubev/notes-app-1 | 6bc966c6385aa02f781a9b3c764164a4e3d39a7a | [
"MIT"
] | null | null | null | class Note:
def __init__(self, **kwargs):
self.id = kwargs.get("id")
self.title = kwargs.get("title")
self.content = kwargs.get("content")
def __str__(self):
return self.title
def __repr__(self):
return f"<Note id={self.id} title={self.title}>"
| 24.916667 | 56 | 0.58194 | 39 | 299 | 4.153846 | 0.358974 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 299 | 11 | 57 | 27.181818 | 0.733032 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 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 |
37debd3f181425dbb80ef2c358d332295f04aafe | 581 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/CODESIGNAL/almost_increasing_sequence.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/CODESIGNAL/almost_increasing_sequence.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/CODESIGNAL/almost_increasing_sequence.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | def is_increasing_sequence(sequence):
for i in range(len(sequence) - 1):
if sequence[i] >= sequence[i + 1]:
return i
return -1
def almostIncreasingSequence(sequence):
j = is_increasing_sequence(sequence)
if j == -1:
return True
if is_increasing_sequence(sequence[j - 1 :... | 34.176471 | 77 | 0.636833 | 77 | 581 | 4.701299 | 0.298701 | 0.124309 | 0.220994 | 0.309392 | 0.171271 | 0.171271 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.259897 | 581 | 16 | 78 | 36.3125 | 0.818605 | 0.149742 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 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 |
37e7757aa932e289762c7273c05a339614ec74a2 | 107 | py | Python | examples/music_bot/__init__.py | gieseladev/andesite.py | 6141775f59cc11024cad8fd8491c555fc2cfc984 | [
"MIT"
] | 3 | 2019-06-07T18:55:36.000Z | 2022-03-18T15:02:10.000Z | examples/music_bot/__init__.py | gieseladev/andesite.py | 6141775f59cc11024cad8fd8491c555fc2cfc984 | [
"MIT"
] | 2 | 2019-05-23T14:53:38.000Z | 2021-06-01T23:34:16.000Z | examples/music_bot/__init__.py | gieseladev/andesite.py | 6141775f59cc11024cad8fd8491c555fc2cfc984 | [
"MIT"
] | null | null | null | """A simple music bot made using Andesite."""
from . import andesite_cog, bot, cli
__version__ = "0.0.1"
| 17.833333 | 45 | 0.691589 | 17 | 107 | 4.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.168224 | 107 | 5 | 46 | 21.4 | 0.741573 | 0.364486 | 0 | 0 | 0 | 0 | 0.080645 | 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 |
533863b68ca9979b9a1f2d2959fba5cb8298e219 | 2,539 | py | Python | alkymi/decorators.py | MathiasStokholm/alkymi | 2d8bb1da92a6b05f4ff8d5b2ff1f069d5315b792 | [
"MIT"
] | 37 | 2021-01-15T15:34:25.000Z | 2022-02-02T10:15:02.000Z | alkymi/decorators.py | MathiasStokholm/alkymi | 2d8bb1da92a6b05f4ff8d5b2ff1f069d5315b792 | [
"MIT"
] | null | null | null | alkymi/decorators.py | MathiasStokholm/alkymi | 2d8bb1da92a6b05f4ff8d5b2ff1f069d5315b792 | [
"MIT"
] | null | null | null | from typing import Iterable, Callable, TypeVar
from .config import CacheType
from .foreach_recipe import ForeachRecipe
from .recipe import Recipe
R = TypeVar("R") # The return type of the bound function
def recipe(ingredients: Iterable[Recipe] = (), transient: bool = False, cache: CacheType = CacheType.Auto) -> \
... | 43.033898 | 119 | 0.686885 | 322 | 2,539 | 5.363354 | 0.26087 | 0.037058 | 0.074117 | 0.033005 | 0.680371 | 0.680371 | 0.637522 | 0.637522 | 0.637522 | 0.637522 | 0 | 0 | 0.239858 | 2,539 | 58 | 120 | 43.775862 | 0.894819 | 0.582513 | 0 | 0.125 | 0 | 0 | 0.001107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
536b5a46c842b65cb3ae5958131b978a79cf1a41 | 253 | py | Python | backend/sevenapp/views.py | BrunoOliveiraDantas/Seven-Application | 069df21ae49c4810c7d5051b4da8e59d2947b54a | [
"MIT"
] | null | null | null | backend/sevenapp/views.py | BrunoOliveiraDantas/Seven-Application | 069df21ae49c4810c7d5051b4da8e59d2947b54a | [
"MIT"
] | 1 | 2022-03-02T08:24:36.000Z | 2022-03-02T08:24:36.000Z | backend/sevenapp/views.py | BrunoOliveiraDantas/Seven-Application | 069df21ae49c4810c7d5051b4da8e59d2947b54a | [
"MIT"
] | null | null | null | from django.shortcuts import render
from rest_framework import viewsets
from .models import User
from .serializers import UserSerializer
class UserViewSet(viewsets.ModelViewSet):
serializer_class = UserSerializer
queryset = User.objects.all()
| 25.3 | 41 | 0.814229 | 29 | 253 | 7.034483 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134387 | 253 | 9 | 42 | 28.111111 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 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 |
72548103d5378a4552a4dea943a731ad9b2c2ae9 | 255 | py | Python | client/table from csv.py | pramadito/CSVintoWebTableWithNetwork | 756539031a0ee5b31397c4e6bd25ad5e159e23c3 | [
"MIT"
] | null | null | null | client/table from csv.py | pramadito/CSVintoWebTableWithNetwork | 756539031a0ee5b31397c4e6bd25ad5e159e23c3 | [
"MIT"
] | null | null | null | client/table from csv.py | pramadito/CSVintoWebTableWithNetwork | 756539031a0ee5b31397c4e6bd25ad5e159e23c3 | [
"MIT"
] | null | null | null | # begin the table
print("<table>")
infile = open("test 3 column.csv","r")
for line in infile:
row = line.split(",")
print("<tr>")
for i in row.count:
print("<td>%s</td>" % row[i])
print("</tr>")
# end the table
print("</table>") | 18.214286 | 38 | 0.541176 | 39 | 255 | 3.538462 | 0.564103 | 0.115942 | 0.188406 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.223529 | 255 | 14 | 39 | 18.214286 | 0.691919 | 0.113725 | 0 | 0 | 0 | 0 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
72655c667e7104118e5b4f66dab741d71809661b | 1,719 | py | Python | mergen/__init__.py | tdaylan/MCOV | 2bb806ea084532a7aecc0465769baecb4148101d | [
"MIT"
] | null | null | null | mergen/__init__.py | tdaylan/MCOV | 2bb806ea084532a7aecc0465769baecb4148101d | [
"MIT"
] | null | null | null | mergen/__init__.py | tdaylan/MCOV | 2bb806ea084532a7aecc0465769baecb4148101d | [
"MIT"
] | null | null | null | #
from .mergen import *
#utilities
import numpy as np
import numpy.ma as ma
# import pandas as pd
from datetime import datetime
import os
import shutil
import fnmatch
import pdb
#plotting
# import matplotlib.pyplot as plt
# from mpl_toolkits.axes_grid1.inset_locator import (inset_axes, InsetPosition, mark_inset)
# ... | 27.285714 | 91 | 0.816172 | 222 | 1,719 | 6.274775 | 0.387387 | 0.080402 | 0.043073 | 0.064609 | 0.117732 | 0.117732 | 0.117732 | 0.117732 | 0.117732 | 0.117732 | 0 | 0.004013 | 0.130308 | 1,719 | 62 | 92 | 27.725806 | 0.927759 | 0.757417 | 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 |
7269c625e2a95744d382b2c88a06667a3db68d78 | 2,980 | py | Python | tests/handling/test_multistep.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/handling/test_multistep.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/handling/test_multistep.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | import asyncio
import pytest
import kopf
from kopf.reactor.causation import HANDLER_CAUSES, CREATE, UPDATE, DELETE, RESUME
from kopf.reactor.handling import custom_object_handler
@pytest.mark.parametrize('cause_type', HANDLER_CAUSES)
async def test_1st_step_stores_progress_by_patching(
registry, handlers, e... | 36.790123 | 85 | 0.687919 | 393 | 2,980 | 5 | 0.201018 | 0.082443 | 0.082443 | 0.056997 | 0.789822 | 0.787277 | 0.727735 | 0.644275 | 0.60458 | 0.60458 | 0 | 0.029857 | 0.17953 | 2,980 | 80 | 86 | 37.25 | 0.773824 | 0 | 0 | 0.459016 | 0 | 0 | 0.13255 | 0 | 0 | 0 | 0 | 0 | 0.327869 | 1 | 0 | false | 0 | 0.081967 | 0 | 0.081967 | 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 |
72a4b320ee2be0f81683d155daec753bdb2e4502 | 284 | py | Python | test/run/t294.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t294.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t294.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | # Test behaviour of min() and max() on lists and tuples
l = ['b','a','d','c']
m = ['1','0','4','3']
print l
print m
print min(l), max(l)
print min(m), max(m)
print min(l,m), max(l,m)
t = tuple(l)
u = tuple(m)
print t
print min(t), max(t)
print min(u), max(u)
print min(t,u), max(t,u)
| 18.933333 | 55 | 0.577465 | 66 | 284 | 2.484848 | 0.348485 | 0.292683 | 0.109756 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016878 | 0.165493 | 284 | 14 | 56 | 20.285714 | 0.675105 | 0.18662 | 0 | 0 | 0 | 0 | 0.034935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.692308 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
72ab7a03db208b67bb5d52f1a9f0c2cbcac28032 | 566 | py | Python | multichat/chat/models.py | orehush/channels-examples | 5721e346c2e50381868c80c1daa8551d1d80eac5 | [
"BSD-3-Clause"
] | 1,311 | 2016-03-23T20:04:59.000Z | 2022-03-22T11:32:24.000Z | multichat/chat/models.py | orehush/channels-examples | 5721e346c2e50381868c80c1daa8551d1d80eac5 | [
"BSD-3-Clause"
] | 18 | 2016-03-23T22:06:38.000Z | 2021-02-21T20:03:12.000Z | multichat/chat/models.py | orehush/channels-examples | 5721e346c2e50381868c80c1daa8551d1d80eac5 | [
"BSD-3-Clause"
] | 529 | 2016-03-23T20:19:15.000Z | 2022-03-22T11:32:29.000Z | from django.db import models
class Room(models.Model):
"""
A room for people to chat in.
"""
# Room title
title = models.CharField(max_length=255)
# If only "staff" users are allowed (is_staff on django's User)
staff_only = models.BooleanField(default=False)
def __str__(self):
... | 22.64 | 84 | 0.628975 | 76 | 566 | 4.578947 | 0.697368 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007389 | 0.282686 | 566 | 24 | 85 | 23.583333 | 0.849754 | 0.374558 | 0 | 0 | 0 | 0 | 0.022876 | 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 |
72d458fff94ec9860a0001696d4132185067fe21 | 2,320 | py | Python | tensorflow/python/ipu/keras/layers/assume_equal_across_replicas.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ipu/keras/layers/assume_equal_across_replicas.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ipu/keras/layers/assume_equal_across_replicas.py | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The TensorFlow 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 applica... | 42.962963 | 80 | 0.727586 | 329 | 2,320 | 5.066869 | 0.50152 | 0.035993 | 0.045591 | 0.044991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004156 | 0.170259 | 2,320 | 53 | 81 | 43.773585 | 0.861818 | 0.79569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 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 |
72dd3a68b6f7058a06f4b425b9c010634fba09c9 | 2,795 | py | Python | Pyrado/pyrado/policies/dummy.py | jacarvalho/SimuRLacra | a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5 | [
"BSD-3-Clause"
] | null | null | null | Pyrado/pyrado/policies/dummy.py | jacarvalho/SimuRLacra | a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5 | [
"BSD-3-Clause"
] | null | null | null | Pyrado/pyrado/policies/dummy.py | jacarvalho/SimuRLacra | a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5 | [
"BSD-3-Clause"
] | null | null | null | import torch as to
from torch.distributions.uniform import Uniform
from pyrado.policies.base import Policy
from pyrado.policies.base_recurrent import RecurrentPolicy
from pyrado.utils.data_types import EnvSpec
class IdlePolicy(Policy):
""" The most simple policy which simply does nothing """
name: str = 'id... | 31.055556 | 97 | 0.654741 | 367 | 2,795 | 4.792916 | 0.256131 | 0.050028 | 0.047754 | 0.03411 | 0.649233 | 0.625355 | 0.599204 | 0.599204 | 0.599204 | 0.544628 | 0 | 0 | 0.246154 | 2,795 | 89 | 98 | 31.404494 | 0.834836 | 0.286941 | 0 | 0.487179 | 0 | 0 | 0.009815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0.076923 | 0.128205 | 0.102564 | 0.641026 | 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 |
72f195f39f95f1675bb3ba0b4131483dfc145632 | 8,121 | py | Python | model/segmentation.py | Tianfang-Zhang/acm-pytorch | 239a3f2010c8f8bb746e81953eba9fa917f9ee44 | [
"MIT"
] | 15 | 2020-12-10T05:05:13.000Z | 2022-03-06T06:52:16.000Z | model/segmentation.py | Yidan-Zhang/acm-pytorch | 239a3f2010c8f8bb746e81953eba9fa917f9ee44 | [
"MIT"
] | 3 | 2021-03-08T13:12:33.000Z | 2022-03-25T06:34:20.000Z | model/segmentation.py | Yidan-Zhang/acm-pytorch | 239a3f2010c8f8bb746e81953eba9fa917f9ee44 | [
"MIT"
] | 8 | 2020-12-07T12:10:12.000Z | 2021-09-29T07:15:33.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from .fusion import AsymBiChaFuseReduce, BiLocalChaFuseReduce, BiGlobalChaFuseReduce
class ResidualBlock(nn.Module):
def __init__(self, in_channels, out_channels, stride, downsample):
super(ResidualBlock, self).__init__()
self.bod... | 39.231884 | 101 | 0.605344 | 1,004 | 8,121 | 4.667331 | 0.099602 | 0.084507 | 0.089202 | 0.044814 | 0.77038 | 0.760777 | 0.732608 | 0.682458 | 0.650875 | 0.601152 | 0 | 0.034583 | 0.277183 | 8,121 | 206 | 102 | 39.42233 | 0.763714 | 0 | 0 | 0.576687 | 0 | 0 | 0.017239 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 1 | 0.07362 | false | 0 | 0.02454 | 0.006135 | 0.171779 | 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 |
72fe2888c7bc668bac5c0b39f213004228731fc8 | 314 | py | Python | __init__.py | silviaskura/frogamsk-skill | 4ec8150c059e74236ee9d98eecfc500a29761fbf | [
"Apache-2.0"
] | null | null | null | __init__.py | silviaskura/frogamsk-skill | 4ec8150c059e74236ee9d98eecfc500a29761fbf | [
"Apache-2.0"
] | null | null | null | __init__.py | silviaskura/frogamsk-skill | 4ec8150c059e74236ee9d98eecfc500a29761fbf | [
"Apache-2.0"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class Frogamsk(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('frogamsk.intent')
def handle_frogamsk(self, message):
self.speak_dialog('frogamsk')
def create_skill():
return Frogamsk()
| 19.625 | 53 | 0.72293 | 35 | 314 | 6.057143 | 0.542857 | 0.09434 | 0.160377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181529 | 314 | 15 | 54 | 20.933333 | 0.824903 | 0 | 0 | 0 | 0 | 0 | 0.073482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f4018bf9372f5d9484ec23581e83d2905914e123 | 449 | py | Python | configs/_base_/datasets/wheat_detection_mstrain_pseudo.py | changqinyao/mmdetection | f9f26fd23b748e118bf960030a13c3c74d8603f0 | [
"Apache-2.0"
] | 136 | 2020-08-24T08:18:16.000Z | 2022-03-31T13:45:12.000Z | configs/_base_/datasets/wheat_detection_mstrain_pseudo.py | changqinyao/mmdetection | f9f26fd23b748e118bf960030a13c3c74d8603f0 | [
"Apache-2.0"
] | 5 | 2020-10-07T08:44:36.000Z | 2021-12-17T06:00:57.000Z | configs/_base_/datasets/wheat_detection_mstrain_pseudo.py | changqinyao/mmdetection | f9f26fd23b748e118bf960030a13c3c74d8603f0 | [
"Apache-2.0"
] | 28 | 2020-08-24T11:07:07.000Z | 2022-01-01T13:07:54.000Z | _base_ = "./wheat_detection_mstrain.py"
data_root = "/data/"
data = dict(
samples_per_gpu=1,
train=dict(
ann_file=[
data_root + "coco_train.json",
data_root + "coco_pseudo_test.json",
data_root + "coco_pseudo_test.json",
data_root + "coco_pseudo_test.json... | 28.0625 | 105 | 0.57461 | 55 | 449 | 4.254545 | 0.381818 | 0.307692 | 0.205128 | 0.205128 | 0.504274 | 0.504274 | 0.350427 | 0.350427 | 0.350427 | 0.350427 | 0 | 0.003077 | 0.276169 | 449 | 15 | 106 | 29.933333 | 0.716923 | 0 | 0 | 0.214286 | 0 | 0 | 0.296214 | 0.202673 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
f40bb4700b0e7937396eba291174909cd0e551b0 | 226 | py | Python | nmea/hdm.py | IOTECH-Donegal/HeadingSensor | ff3fdfa00ba0290b155147a309234d7c836c4091 | [
"MIT"
] | null | null | null | nmea/hdm.py | IOTECH-Donegal/HeadingSensor | ff3fdfa00ba0290b155147a309234d7c836c4091 | [
"MIT"
] | null | null | null | nmea/hdm.py | IOTECH-Donegal/HeadingSensor | ff3fdfa00ba0290b155147a309234d7c836c4091 | [
"MIT"
] | null | null | null | # HDM - Heading - Magnetic
# Vessel heading in degrees with respect to magnetic north produced by any device or system producing magnetic heading.
# $--HDM,x.x,M*hh<CR><LF>
# Heading Degrees, magnetic
# M = magnetic
# Checksum | 37.666667 | 119 | 0.743363 | 34 | 226 | 4.941176 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 226 | 6 | 120 | 37.666667 | 0.884211 | 0.946903 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f4153a7ea64ffcb2bcb2356bdaa5a1e35474faf2 | 751 | py | Python | phonenumbers/data/region_TG.py | igushev/fase_lib | 182c626193193b196041b18b9974b5b2cbf15c67 | [
"MIT"
] | 7 | 2019-05-20T09:57:02.000Z | 2020-01-10T05:30:48.000Z | phonenumbers/data/region_TG.py | igushev/fase_lib | 182c626193193b196041b18b9974b5b2cbf15c67 | [
"MIT"
] | null | null | null | phonenumbers/data/region_TG.py | igushev/fase_lib | 182c626193193b196041b18b9974b5b2cbf15c67 | [
"MIT"
] | null | null | null | """Auto-generated file, do not edit by hand. TG metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_TG = PhoneMetadata(id='TG', country_code=228, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[29]\\d{7}', possible_number_pattern='\\... | 83.444444 | 143 | 0.715047 | 107 | 751 | 4.813084 | 0.53271 | 0.100971 | 0.168932 | 0.209709 | 0.015534 | 0.015534 | 0 | 0 | 0 | 0 | 0 | 0.085837 | 0.069241 | 751 | 8 | 144 | 93.875 | 0.65093 | 0.070573 | 0 | 0 | 1 | 0.166667 | 0.197977 | 0.096821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f41987fa76e0c192478e5394e4d29cfa1ab6f79c | 20,544 | py | Python | sdk/yapily/models/authorisation_request_response.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | sdk/yapily/models/authorisation_request_response.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | sdk/yapily/models/authorisation_request_response.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Yapily API
To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501
OpenAPI spec version: 0.0.155
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pp... | 34.354515 | 1,301 | 0.661507 | 2,290 | 20,544 | 5.636681 | 0.097817 | 0.035327 | 0.200186 | 0.167803 | 0.588395 | 0.453207 | 0.385962 | 0.329873 | 0.205841 | 0.092656 | 0 | 0.015151 | 0.257837 | 20,544 | 597 | 1,302 | 34.41206 | 0.831442 | 0.357963 | 0 | 0.087786 | 0 | 0 | 0.18924 | 0.098432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167939 | false | 0 | 0.01145 | 0 | 0.28626 | 0.007634 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f41d97697fd42cc1de5a5dfb03b6e261f0d9af4b | 94 | py | Python | python/812.largest-triangle-area.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/812.largest-triangle-area.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/812.largest-triangle-area.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | class Solution:
def largestTriangleArea(self, points: List[List[int]]) -> float:
| 23.5 | 68 | 0.648936 | 10 | 94 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 94 | 3 | 69 | 31.333333 | 0.835616 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.