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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c64a6b44bae5e0a5d5fc62796b26c56502f5a3f | 2,577 | py | Python | v0/label.py | eilla1/MailCorgi | 4de04775d3c2e0367c21a882f7a791f64d69cd0d | [
"MIT"
] | 1 | 2022-03-12T17:49:25.000Z | 2022-03-12T17:49:25.000Z | v0/label.py | exu3/MailCorgi | 4de04775d3c2e0367c21a882f7a791f64d69cd0d | [
"MIT"
] | null | null | null | v0/label.py | exu3/MailCorgi | 4de04775d3c2e0367c21a882f7a791f64d69cd0d | [
"MIT"
] | null | null | null | # generates a 4x6 thermal-ready label w/ address info(for #6.75 envelopes) and a message from hack club
from reportlab.pdfgen.canvas import Canvas
import supabaseAddress
def labelPDF(nUID, rUID, stamp):
addr = supabaseAddress.Address()
# get addresses
nAddr = addr.nodemaster_address(uid=nUID)
rAddr = addr.add... | 31.048193 | 103 | 0.66395 | 305 | 2,577 | 5.603279 | 0.308197 | 0.177882 | 0.231714 | 0.294909 | 0.521943 | 0.521943 | 0.462259 | 0.462259 | 0.34055 | 0.34055 | 0 | 0.040567 | 0.206054 | 2,577 | 82 | 104 | 31.426829 | 0.794721 | 0.0617 | 0 | 0.34375 | 1 | 0 | 0.065533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.03125 | 0 | 0.0625 | 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 |
5c84661025eafc30ad21e22c66890644aca5f1cf | 107 | py | Python | agc/agc003/agc003a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | agc/agc003/agc003a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | agc/agc003/agc003a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | S = input()
if ('N' in S) ^ ('S' in S) or ('W' in S) ^ ('E' in S):
print('No')
else:
print('Yes')
| 15.285714 | 54 | 0.420561 | 21 | 107 | 2.142857 | 0.571429 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28972 | 107 | 6 | 55 | 17.833333 | 0.592105 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
5c88fffea68f0e00893e38b8182b88bd23b965a0 | 506 | py | Python | goPrime.py | fmuror02/Prime-numbers | 9c7016758edc96453c9a114a5de69d0c3f5a93b5 | [
"MIT"
] | 2 | 2022-01-15T09:04:21.000Z | 2022-01-15T19:22:48.000Z | goPrime.py | fmuror02/Prime-numbers | 9c7016758edc96453c9a114a5de69d0c3f5a93b5 | [
"MIT"
] | null | null | null | goPrime.py | fmuror02/Prime-numbers | 9c7016758edc96453c9a114a5de69d0c3f5a93b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 14 20:15:13 2022
@author: fmuror02
"""
import getPrime
print('Hello. Welcome to the python code that generates infinite prime numbers. You can read how this works in our text file in the package "Setup.txt".')
print('If you have, to start just introduce the high... | 38.923077 | 155 | 0.719368 | 82 | 506 | 4.439024 | 0.707317 | 0.071429 | 0.087912 | 0.10989 | 0.203297 | 0.203297 | 0.203297 | 0.203297 | 0 | 0 | 0 | 0.036408 | 0.185771 | 506 | 12 | 156 | 42.166667 | 0.847087 | 0.152174 | 0 | 0 | 1 | 0.4 | 0.814181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c9445d4472f7786d983a37c5fd5be2184f3bcdb | 122 | py | Python | basic_syntax_conditional_statements_and_loops/lab/word_reverse.py | PetkoAndreev/Python-fundamentals | dcf2ecb65d7a82a6688a7529a14eb8a331a83256 | [
"MIT"
] | null | null | null | basic_syntax_conditional_statements_and_loops/lab/word_reverse.py | PetkoAndreev/Python-fundamentals | dcf2ecb65d7a82a6688a7529a14eb8a331a83256 | [
"MIT"
] | null | null | null | basic_syntax_conditional_statements_and_loops/lab/word_reverse.py | PetkoAndreev/Python-fundamentals | dcf2ecb65d7a82a6688a7529a14eb8a331a83256 | [
"MIT"
] | null | null | null | word = input()
reverse_word = ''
for i in range(len(word) - 1, -1 , -1):
reverse_word += word[i]
print(reverse_word) | 17.428571 | 39 | 0.622951 | 20 | 122 | 3.65 | 0.5 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.196721 | 122 | 7 | 40 | 17.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
5ca195c4d4ea4e66a8e838e3df310b5922bd3bbe | 175 | py | Python | synopsis.py | WRY-learning/k3stopwatch | 8b2d041480cbb5f153796404bbeb19dde2cd1a99 | [
"MIT"
] | null | null | null | synopsis.py | WRY-learning/k3stopwatch | 8b2d041480cbb5f153796404bbeb19dde2cd1a99 | [
"MIT"
] | 2 | 2021-10-16T11:39:53.000Z | 2022-03-23T07:02:27.000Z | synopsis.py | WRY-learning/k3stopwatch | 8b2d041480cbb5f153796404bbeb19dde2cd1a99 | [
"MIT"
] | 1 | 2021-08-20T07:35:49.000Z | 2021-08-20T07:35:49.000Z | import k3stopwatch
sw = k3stopwatch.StopWatch()
with sw.timer('rwoot'):
for i in range(50):
with sw.timer('inner_task'):
print("do_inner_task(i)")
| 21.875 | 38 | 0.617143 | 24 | 175 | 4.375 | 0.666667 | 0.114286 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0.24 | 175 | 7 | 39 | 25 | 0.759399 | 0 | 0 | 0 | 0 | 0 | 0.177143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
5ca1be8ca280d5815ede2e5361a39ba81e152b40 | 316 | py | Python | _perimeter.py | Carters04/Formula-Project | ff274c632b986ffdf1c1e51492f3a8a1b8791dbd | [
"MIT"
] | null | null | null | _perimeter.py | Carters04/Formula-Project | ff274c632b986ffdf1c1e51492f3a8a1b8791dbd | [
"MIT"
] | null | null | null | _perimeter.py | Carters04/Formula-Project | ff274c632b986ffdf1c1e51492f3a8a1b8791dbd | [
"MIT"
] | null | null | null | # We need this module for some of the formulas
import math
# Perimeter of a Square
def perSqr(side):
return side * 4
# Perimeter of a Rectangle
def perRect(width, height):
return (width * 2) + (height * 2)
# Perimeter of any Polygon
def perPoly(side, sideCount):
return side * sideCount
| 21.066667 | 47 | 0.670886 | 45 | 316 | 4.711111 | 0.622222 | 0.15566 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012712 | 0.253165 | 316 | 14 | 48 | 22.571429 | 0.885593 | 0.367089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 |
5ca2c03d1588c971a50aeb75bcaf577d3b48be72 | 7,012 | py | Python | mars/dataframe/merge/tests/test_merge.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/merge/tests/test_merge.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/merge/tests/test_merge.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2018 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 48.027397 | 106 | 0.56988 | 835 | 7,012 | 4.694611 | 0.183234 | 0.091837 | 0.039796 | 0.040816 | 0.759439 | 0.759439 | 0.706122 | 0.690051 | 0.690051 | 0.66352 | 0 | 0.028453 | 0.278237 | 7,012 | 145 | 107 | 48.358621 | 0.746098 | 0.081147 | 0 | 0.610619 | 0 | 0 | 0.071551 | 0 | 0 | 0 | 0 | 0 | 0.371681 | 1 | 0.035398 | false | 0 | 0.053097 | 0 | 0.097345 | 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 |
5ca37a81654918c14722976dd42984d9f8dd57a4 | 628 | py | Python | bot/messages/ru/regex.py | Gliger13/bdo_daily_bot | d569405fcae1978c2bb1ac34d1f75936040a3552 | [
"MIT"
] | null | null | null | bot/messages/ru/regex.py | Gliger13/bdo_daily_bot | d569405fcae1978c2bb1ac34d1f75936040a3552 | [
"MIT"
] | null | null | null | bot/messages/ru/regex.py | Gliger13/bdo_daily_bot | d569405fcae1978c2bb1ac34d1f75936040a3552 | [
"MIT"
] | null | null | null | """
Module contain regex templates
"""
import re
# Different regex constructions for checking correct input
time = re.compile(r'(?P<time>(?P<hours>[0-1]?[0-9]|[2][0-3])(?P<separator>.?)(?P<minutes>[0-5][0-9]))')
server = re.compile(r'(?P<server>Арши|Арша|'
r'(?P<name>(Оливия|оливия|Кальфеон|кальфе... | 41.866667 | 105 | 0.593949 | 99 | 628 | 3.767677 | 0.464646 | 0.032172 | 0.107239 | 0.117962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042991 | 0.148089 | 628 | 14 | 106 | 44.857143 | 0.654206 | 0.140127 | 0 | 0 | 0 | 0.25 | 0.657895 | 0.629699 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
5ce2fc0bb7cf7f2af137cf14f04a5e7f1a2aaaa8 | 286 | py | Python | test_selenium_gdorks.py | danynt14/QALADIES-2021-GDORKS | e0a49a150cccb6402a6db75393c11390e0e2d9e0 | [
"MIT"
] | null | null | null | test_selenium_gdorks.py | danynt14/QALADIES-2021-GDORKS | e0a49a150cccb6402a6db75393c11390e0e2d9e0 | [
"MIT"
] | null | null | null | test_selenium_gdorks.py | danynt14/QALADIES-2021-GDORKS | e0a49a150cccb6402a6db75393c11390e0e2d9e0 | [
"MIT"
] | null | null | null |
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
navigator = webdriver.Chrome()
navigator.get("http://www.google.com")
navigator.find_element_by_name("q").send_keys(" \"QAladies\" ")
navigator.find_element_by_name("q").send_keys(Keys.RETURN)
| 26 | 64 | 0.755245 | 39 | 286 | 5.333333 | 0.538462 | 0.115385 | 0.192308 | 0.211538 | 0.336538 | 0.336538 | 0.336538 | 0.336538 | 0 | 0 | 0 | 0 | 0.104895 | 286 | 10 | 65 | 28.6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.094545 | 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 |
7a34b606cc73619e86f811519cfd1bfc082b9d46 | 279 | py | Python | source/modules/input_processing_funcitons.py | lenchevskii/4x4_serialization | 322eda51b59563131d8213b311652971c160d75d | [
"MIT"
] | null | null | null | source/modules/input_processing_funcitons.py | lenchevskii/4x4_serialization | 322eda51b59563131d8213b311652971c160d75d | [
"MIT"
] | null | null | null | source/modules/input_processing_funcitons.py | lenchevskii/4x4_serialization | 322eda51b59563131d8213b311652971c160d75d | [
"MIT"
] | null | null | null | import csv
import json
from xmltodict import parse
def from_xml(file):
return parse(file)
def from_json(file):
return json.loads(file)
def from_csv(file):
return csv.DictReader(file, dialect='unix')
def from_bin(file):
return bytes(file, encoding='utf16') | 14.684211 | 47 | 0.716846 | 42 | 279 | 4.666667 | 0.428571 | 0.142857 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.175627 | 279 | 19 | 48 | 14.684211 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.032143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.272727 | 0.363636 | 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 |
7a41723b9bcae7104867895282cc5a711cd26362 | 101 | py | Python | briefmetrics/web/views/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 18 | 2020-02-06T23:31:43.000Z | 2022-02-09T00:32:42.000Z | briefmetrics/web/views/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 8 | 2020-02-08T23:00:46.000Z | 2021-07-27T20:52:12.000Z | briefmetrics/web/views/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 1 | 2020-07-09T12:59:27.000Z | 2020-07-09T12:59:27.000Z | from . import (
account,
admin,
api,
index,
report,
settings,
webhook,
)
| 10.1 | 15 | 0.50495 | 9 | 101 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.39604 | 101 | 9 | 16 | 11.222222 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7a5df274b686156321258a499a6ad369fd568f06 | 323 | py | Python | climatetalk/node_types/water_heater_commercial.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 3 | 2021-04-30T20:12:16.000Z | 2022-03-09T11:53:12.000Z | climatetalk/node_types/water_heater_commercial.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | null | null | null | climatetalk/node_types/water_heater_commercial.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 2 | 2021-04-08T18:29:39.000Z | 2021-04-30T20:13:55.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Kevin Schlosser
from . import NodeType, Node
from ..mdi import water_heater
NODE_TYPE_WATER_HEATER_COMMERCIAL = NodeType(0x1A).set_desc('Commercial Water Heater')
class WaterHeaterCommercial(Node, water_heater.WaterHeaterMDI):
node_type = NODE_TYPE_WATER_HEATER_COMMERCIA... | 24.846154 | 86 | 0.79257 | 41 | 323 | 5.95122 | 0.536585 | 0.22541 | 0.106557 | 0.155738 | 0.237705 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024648 | 0.120743 | 323 | 12 | 87 | 26.916667 | 0.834507 | 0.160991 | 0 | 0 | 0 | 0 | 0.086142 | 0 | 0 | 0 | 0.014981 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7a6861ae9eb0e03ac89785402390cccdfd63efa7 | 798 | py | Python | PingPong.py | mrBarsyk/PingPong | cd1b33e3b44f2f2bde879415315d5808f8f376e9 | [
"CC0-1.0"
] | null | null | null | PingPong.py | mrBarsyk/PingPong | cd1b33e3b44f2f2bde879415315d5808f8f376e9 | [
"CC0-1.0"
] | null | null | null | PingPong.py | mrBarsyk/PingPong | cd1b33e3b44f2f2bde879415315d5808f8f376e9 | [
"CC0-1.0"
] | null | null | null | from pygame import *
window = display.set_mode((700, 500))
display.set_caption("Ping Pong")
clock = time.Clock()
game = True
x1 = 100
y1 = 150
x2 =250
y2 = 30
while game:
keys_pressed = key.get_pressed()
if keys_pressed[K_w] and y1 > 0:
y1 -= 10
if keys_pressed[K_s] and y1 < 395:
... | 15.96 | 42 | 0.548872 | 130 | 798 | 3.215385 | 0.415385 | 0.236842 | 0.248804 | 0.267943 | 0.296651 | 0.258373 | 0 | 0 | 0 | 0 | 0 | 0.13447 | 0.338346 | 798 | 49 | 43 | 16.285714 | 0.657197 | 0 | 0 | 0 | 0 | 0 | 0.011278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 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 |
7a77f2030eb864b8b9d330c4ae30ed9c93e81936 | 172 | py | Python | example/cat/forms.py | BeeNag/django-s3direct | d78cb4471ebfb73230691586e5d6b648610cea94 | [
"MIT"
] | 539 | 2015-01-04T20:47:57.000Z | 2022-03-06T09:43:29.000Z | example/cat/forms.py | BeeNag/django-s3direct | d78cb4471ebfb73230691586e5d6b648610cea94 | [
"MIT"
] | 198 | 2015-01-21T22:33:52.000Z | 2022-03-31T19:24:47.000Z | example/cat/forms.py | BeeNag/django-s3direct | d78cb4471ebfb73230691586e5d6b648610cea94 | [
"MIT"
] | 211 | 2015-02-02T00:54:35.000Z | 2022-03-31T10:18:04.000Z | from django import forms
from s3direct.widgets import S3DirectWidget
class S3DirectUploadForm(forms.Form):
misc = forms.URLField(widget=S3DirectWidget(dest='misc'))
| 21.5 | 61 | 0.796512 | 20 | 172 | 6.85 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.116279 | 172 | 7 | 62 | 24.571429 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7a817de3422e2132505b24724006f60666827851 | 201 | py | Python | plugin/flags_sources/__init__.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | plugin/flags_sources/__init__.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | plugin/flags_sources/__init__.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | """A module for generation of flags from a specified flag source."""
__all__ = ("flags_source", "flags_file", "cmake_file", "makefile"
"compilation_db", "CppProperties", "c_cpp_properties")
| 50.25 | 68 | 0.701493 | 25 | 201 | 5.24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154229 | 201 | 3 | 69 | 67 | 0.770588 | 0.308458 | 0 | 0 | 0 | 0 | 0.62406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7a8b12bfd6438b47c0dd7c7b3afaa76e5c5db3dc | 86,666 | py | Python | tags/views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | null | null | null | tags/views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 3 | 2020-01-02T20:17:06.000Z | 2020-01-04T21:13:09.000Z | tags/views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 1 | 2021-10-29T22:15:27.000Z | 2021-10-29T22:15:27.000Z | """View functions and classes for the tags app."""
from itertools import groupby
from django.db.models import Case, Count, F, IntegerField, Q, Sum, When
from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist
from django.http import HttpResponseRedirect, HttpResponseForbidden
from django.shortcuts... | 50.98 | 119 | 0.688875 | 10,582 | 86,666 | 5.379229 | 0.051125 | 0.05836 | 0.03821 | 0.017708 | 0.79669 | 0.752701 | 0.707587 | 0.681991 | 0.65557 | 0.613355 | 0 | 0.001777 | 0.220859 | 86,666 | 1,699 | 120 | 51.010006 | 0.841214 | 0.127547 | 0 | 0.619651 | 0 | 0 | 0.166166 | 0.07793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110935 | false | 0.002377 | 0.013471 | 0.023772 | 0.416799 | 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 |
7a9df5e24acc287a8327516e7d9b81ff20da2d16 | 183 | py | Python | src/gcp_hashicorp_packer_reaper/logger.py | binxio/gcp-hashicorp-packer-reaper | 6e13e141d32c05ba1da72d06ba2e37e86ccc6d1e | [
"Apache-2.0"
] | 1 | 2020-08-11T10:02:39.000Z | 2020-08-11T10:02:39.000Z | src/gcp_hashicorp_packer_reaper/logger.py | binxio/gcp-hashicorp-packer-reaper | 6e13e141d32c05ba1da72d06ba2e37e86ccc6d1e | [
"Apache-2.0"
] | 1 | 2020-08-26T07:01:58.000Z | 2020-08-26T07:01:58.000Z | src/gcp_hashicorp_packer_reaper/logger.py | binxio/gcp-hashicorp-packer-reaper | 6e13e141d32c05ba1da72d06ba2e37e86ccc6d1e | [
"Apache-2.0"
] | null | null | null | import os
import logging
logging.basicConfig(format="%(levelname)s: %(message)s")
log = logging.getLogger("gcp_hashicorp_packer_reaper")
log.setLevel(os.getenv("LOG_LEVEL", "INFO"))
| 26.142857 | 56 | 0.770492 | 25 | 183 | 5.48 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 183 | 6 | 57 | 30.5 | 0.80117 | 0 | 0 | 0 | 0 | 0 | 0.360656 | 0.147541 | 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 |
7aac205e704219475d9ca06edd687166162d89d9 | 1,684 | py | Python | PreprocessData/all_class_files/AggregateRating.py | wkid-neu/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 3 | 2021-11-06T12:29:05.000Z | 2022-03-22T12:48:55.000Z | PreprocessData/all_class_files/AggregateRating.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | null | null | null | PreprocessData/all_class_files/AggregateRating.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 1 | 2021-11-06T12:29:12.000Z | 2021-11-06T12:29:12.000Z | from PreprocessData.all_class_files.Rating import Rating
import global_data
class AggregateRating(Rating):
def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, potentialAction=None, sameAs=... | 42.1 | 344 | 0.700713 | 175 | 1,684 | 6.474286 | 0.308571 | 0.039718 | 0.03707 | 0.051192 | 0.035305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216746 | 1,684 | 39 | 345 | 43.179487 | 0.858984 | 0 | 0 | 0.275862 | 0 | 0 | 0.012158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.068966 | 0.103448 | 0.517241 | 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 |
8f9a6d897060437d84453455fdb86e65877a757a | 181 | py | Python | hash_test.py | lIll1IIll/society | 2a0bd82f935bdfa318302368a8c66714f0a13c52 | [
"MIT"
] | null | null | null | hash_test.py | lIll1IIll/society | 2a0bd82f935bdfa318302368a8c66714f0a13c52 | [
"MIT"
] | null | null | null | hash_test.py | lIll1IIll/society | 2a0bd82f935bdfa318302368a8c66714f0a13c52 | [
"MIT"
] | null | null | null | import module.encrypt.hash as hash
origin = 'hello world!'
sha256 = hash.sha256(origin)
md5 = hash.md5(origin)
print("origin:", origin)
print("sha256:", sha256)
print("md5:", md5) | 20.111111 | 34 | 0.707182 | 26 | 181 | 4.923077 | 0.423077 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.116022 | 181 | 9 | 35 | 20.111111 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 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 |
8fa05020d849ca51200e17f0732922a99ce8cf54 | 642 | py | Python | beginner-projects-solutions/99Bottles.py | AsherManangan/beginner-projects | 68c56bc513514d3d6b2fed9448758517d9af06b0 | [
"Unlicense"
] | 2 | 2021-07-29T13:25:19.000Z | 2021-08-17T14:17:38.000Z | beginner-projects-solutions/99Bottles.py | AsherManangan/beginner-projects | 68c56bc513514d3d6b2fed9448758517d9af06b0 | [
"Unlicense"
] | null | null | null | beginner-projects-solutions/99Bottles.py | AsherManangan/beginner-projects | 68c56bc513514d3d6b2fed9448758517d9af06b0 | [
"Unlicense"
] | null | null | null | print("Lyrics of the Song 99 Bottles of Beer")
bottlecount = int(99)
confirm = int (1)
i = bottlecount
while(i>1):
print(f"{bottlecount} bottles of beer on the wall, {bottlecount} bottles of beer. \n")
bottlecount=bottlecount-1
i-=1
print(f"Take one down and pass it around, {bottlecount} bottles of beer... | 42.8 | 94 | 0.707165 | 116 | 642 | 3.913793 | 0.293103 | 0.132159 | 0.171806 | 0.15859 | 0.508811 | 0.389868 | 0.211454 | 0.096916 | 0 | 0 | 0 | 0.019084 | 0.183801 | 642 | 14 | 95 | 45.857143 | 0.847328 | 0 | 0 | 0 | 0 | 0.076923 | 0.705607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
8fa263c230b04272fb9b0e47241ab8a309ad6a7f | 4,293 | py | Python | test/utils/test_concurrent.py | cathiele/plantumlcli | c969c38795538245ab06f4c52a230ed9ebca30c0 | [
"Apache-2.0"
] | 11 | 2020-11-29T15:08:35.000Z | 2021-11-19T16:40:15.000Z | test/utils/test_concurrent.py | cathiele/plantumlcli | c969c38795538245ab06f4c52a230ed9ebca30c0 | [
"Apache-2.0"
] | 5 | 2020-11-30T06:18:07.000Z | 2021-11-20T12:32:56.000Z | test/utils/test_concurrent.py | cathiele/plantumlcli | c969c38795538245ab06f4c52a230ed9ebca30c0 | [
"Apache-2.0"
] | 1 | 2021-11-19T16:40:19.000Z | 2021-11-19T16:40:19.000Z | import os
import time
import pytest
from plantumlcli.utils import linear_process, timing_func
from ..test import unittest
@unittest
class TestUtilsConcurrent:
def test_linear_process(self):
for _ in range(0, 1000):
_list = []
linear_process(
items=[2, 3, 5, 7],
... | 29.8125 | 95 | 0.495225 | 539 | 4,293 | 3.732839 | 0.146568 | 0.017893 | 0.017893 | 0.082008 | 0.754473 | 0.737078 | 0.71173 | 0.639165 | 0.627237 | 0.627237 | 0 | 0.043627 | 0.385977 | 4,293 | 143 | 96 | 30.020979 | 0.719651 | 0 | 0 | 0.59322 | 0 | 0 | 0.04682 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.118644 | false | 0 | 0.042373 | 0 | 0.194915 | 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 |
8fb59cee3b0bfff7e7502c9f9c3e46ea446ed19e | 439 | py | Python | 2019-06-04/backend/app/views.py | sunwenquan/1804 | 5b5161079411510231f56d4cb2166885812a6b6a | [
"Apache-2.0"
] | null | null | null | 2019-06-04/backend/app/views.py | sunwenquan/1804 | 5b5161079411510231f56d4cb2166885812a6b6a | [
"Apache-2.0"
] | 9 | 2019-12-04T23:24:19.000Z | 2022-02-10T08:53:21.000Z | 2019-06-04/backend/app/views.py | sunwenquan/1804 | 5b5161079411510231f56d4cb2166885812a6b6a | [
"Apache-2.0"
] | 1 | 2019-06-06T03:14:46.000Z | 2019-06-06T03:14:46.000Z | from django.http import JsonResponse
from django.shortcuts import render
# Create your views here.
def hi(request):
print('1.',type(request))
print('2.',request)
if request.method == 'GET':
return JsonResponse({'method':'GET'})
elif request.method == 'POST':
return JsonResponse({'meth... | 25.823529 | 46 | 0.665148 | 52 | 439 | 5.615385 | 0.538462 | 0.184932 | 0.246575 | 0.191781 | 0.212329 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00554 | 0.177677 | 439 | 17 | 47 | 25.823529 | 0.803324 | 0.052392 | 0 | 0 | 0 | 0 | 0.13012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.083333 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8fba9ca79077fb78ba41232d3cba30b64e4efe9f | 5,816 | py | Python | apps/douban/models.py | kainzhang/kz-graduation-project-backend | 3dede8f741b4f8709c0f6f64897626590fee736b | [
"MIT"
] | 1 | 2021-11-27T10:27:16.000Z | 2021-11-27T10:27:16.000Z | apps/douban/models.py | kainzhang/kz-graduation-project-backend | 3dede8f741b4f8709c0f6f64897626590fee736b | [
"MIT"
] | null | null | null | apps/douban/models.py | kainzhang/kz-graduation-project-backend | 3dede8f741b4f8709c0f6f64897626590fee736b | [
"MIT"
] | null | null | null | from datetime import datetime
import django.utils.timezone as timezone
from django.db import models
# Create your models here.
class ItemAnalysis(models.Model):
ITEM_TYPE = (
(1, 'movie'),
(2, 'book'),
)
dad_id = models.CharField(max_length=20, null=False, blank=False)
dad_type = mode... | 44.060606 | 110 | 0.705983 | 804 | 5,816 | 4.981343 | 0.186567 | 0.109863 | 0.178527 | 0.233458 | 0.767291 | 0.754307 | 0.645194 | 0.555306 | 0.54382 | 0.429463 | 0 | 0.018918 | 0.163858 | 5,816 | 131 | 111 | 44.396947 | 0.804647 | 0.061554 | 0 | 0.42268 | 0 | 0 | 0.024862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.030928 | 0.041237 | 0.907216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8fd3110d1fe17da3fce5ef80b0264c51c7701cdf | 159 | py | Python | bootlog/forms.py | last-ent/Django-Bootlog | 7e97017d276c54c6748187c04dbf8190f6d86b1c | [
"BSD-3-Clause"
] | 2 | 2015-10-05T12:32:14.000Z | 2016-03-11T06:07:44.000Z | bootlog/forms.py | last-ent/Django-Bootlog | 7e97017d276c54c6748187c04dbf8190f6d86b1c | [
"BSD-3-Clause"
] | null | null | null | bootlog/forms.py | last-ent/Django-Bootlog | 7e97017d276c54c6748187c04dbf8190f6d86b1c | [
"BSD-3-Clause"
] | null | null | null | from django import forms
class CommentForm(forms.Form):
comment = forms.CharField()
handle = forms.CharField(required=False)
#post = forms.ForeignKey(Post) | 26.5 | 41 | 0.773585 | 20 | 159 | 6.15 | 0.7 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 159 | 6 | 42 | 26.5 | 0.87234 | 0.18239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
8901ba6298c51a67c6d33d8f34b477e80e3bcbb7 | 364 | py | Python | src/lime_python/protocol/client/channels/session_channel.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 2 | 2019-09-10T15:10:11.000Z | 2021-02-05T21:44:38.000Z | src/lime_python/protocol/client/channels/session_channel.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 9 | 2021-05-19T21:08:15.000Z | 2021-05-31T20:43:26.000Z | src/lime_python/protocol/client/channels/session_channel.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 3 | 2019-09-10T15:10:32.000Z | 2022-01-24T13:36:46.000Z | from abc import abstractmethod
from ...listeners import SessionListener
from ...session import Session
class SessionChannel(SessionListener):
"""Session Channel."""
@abstractmethod
def send_session(self, session: Session) -> None:
"""Send a Session.
Args:
session (Session): ... | 20.222222 | 53 | 0.64011 | 36 | 364 | 6.444444 | 0.555556 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263736 | 364 | 17 | 54 | 21.411765 | 0.865672 | 0.222527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.428571 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
8916097c344eb9f4bba5a00e85108ecda5afb4ea | 113 | py | Python | pythonExercicios/ex005.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | pythonExercicios/ex005.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | pythonExercicios/ex005.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | n = int(input('Digite um número: '))
print('O sucessor de {} é {}, e o seu antecessor é {}'.format(n, n+1, n-1))
| 37.666667 | 75 | 0.59292 | 22 | 113 | 3.045455 | 0.727273 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.176991 | 113 | 2 | 76 | 56.5 | 0.698925 | 0 | 0 | 0 | 0 | 0 | 0.566372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
891a73091ab95b3a63e8f1ff65db68ffb867c40f | 291 | py | Python | supervised_learning/0x0F-word_embeddings/3-main.py | kyeeh/holbertonschool-machine_learning | 8e4894c2b036ec7f4750de5bf99b95aee5b94449 | [
"MIT"
] | null | null | null | supervised_learning/0x0F-word_embeddings/3-main.py | kyeeh/holbertonschool-machine_learning | 8e4894c2b036ec7f4750de5bf99b95aee5b94449 | [
"MIT"
] | null | null | null | supervised_learning/0x0F-word_embeddings/3-main.py | kyeeh/holbertonschool-machine_learning | 8e4894c2b036ec7f4750de5bf99b95aee5b94449 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from gensim.test.utils import common_texts
word2vec_model = __import__('2-word2vec').word2vec_model
gensim_to_keras = __import__('3-gensim_to_keras').gensim_to_keras
print(common_texts[:2])
w2v = word2vec_model(common_texts, min_count=1)
print(gensim_to_keras(w2v))
| 29.1 | 65 | 0.810997 | 46 | 291 | 4.630435 | 0.478261 | 0.150235 | 0.244131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04059 | 0.068729 | 291 | 9 | 66 | 32.333333 | 0.745387 | 0.072165 | 0 | 0 | 0 | 0 | 0.100372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.333333 | 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 |
891c09c2229b3c21d9fcc4b5e31305ee7a68197f | 1,568 | py | Python | pms/pms/doctype/screen/screen.py | vignesharumainayagam/pms-admin | 9c16ef4c0298d16d78b245b62864719c9a822242 | [
"MIT"
] | null | null | null | pms/pms/doctype/screen/screen.py | vignesharumainayagam/pms-admin | 9c16ef4c0298d16d78b245b62864719c9a822242 | [
"MIT"
] | null | null | null | pms/pms/doctype/screen/screen.py | vignesharumainayagam/pms-admin | 9c16ef4c0298d16d78b245b62864719c9a822242 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2017, Valiant Systems and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class Screen(Document):
pass
def on_update(self):
pass
# self.parental_task = frappe... | 27.034483 | 75 | 0.660077 | 202 | 1,568 | 4.891089 | 0.272277 | 0.1417 | 0.08502 | 0.064777 | 0.532389 | 0.444332 | 0.33502 | 0.33502 | 0.234818 | 0.234818 | 0 | 0.006998 | 0.179847 | 1,568 | 57 | 76 | 27.508772 | 0.761275 | 0.785714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0.428571 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
64ffd70fa2322e506c62202a61864b8cbdc6fbc0 | 792 | py | Python | preprocessing/preprocess_data.py | AnonTendim/si-library | f5f66e27b8db245c9f77c993bb1c1a38b1231d1d | [
"MIT"
] | 1 | 2022-03-15T00:24:08.000Z | 2022-03-15T00:24:08.000Z | preprocessing/preprocess_data.py | AnonTendim/si-library | f5f66e27b8db245c9f77c993bb1c1a38b1231d1d | [
"MIT"
] | null | null | null | preprocessing/preprocess_data.py | AnonTendim/si-library | f5f66e27b8db245c9f77c993bb1c1a38b1231d1d | [
"MIT"
] | 1 | 2021-12-27T18:47:27.000Z | 2021-12-27T18:47:27.000Z | import utils.preprocessing_utils
def main():
filename = input("Input xlsx file: ")
df, id_to_covariates = utils.preprocessing_utils.import_excel(filename)
tensor = utils.preprocessing_utils.convert_to_tensor(df)
print(id_to_covariates)
print("-----Get tensor time slice-----")
print(utils.preprocessing_utils.get_... | 44 | 86 | 0.763889 | 104 | 792 | 5.461538 | 0.259615 | 0.126761 | 0.283451 | 0.197183 | 0.526408 | 0.397887 | 0.397887 | 0.193662 | 0 | 0 | 0 | 0.012431 | 0.085859 | 792 | 18 | 87 | 44 | 0.772099 | 0 | 0 | 0 | 0 | 0 | 0.226986 | 0.03657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.1875 | 0.5625 | 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 |
8f05970dcb3cd69f28733662c4b7b2d4ff621f17 | 387 | py | Python | data_extractors/card_data_extractor/base.py | SahandAkbarzadeh/trello-board-to-csv | c1a4c4a489c3f78e18adec201a791a49c0a11066 | [
"MIT"
] | 1 | 2019-04-04T11:01:10.000Z | 2019-04-04T11:01:10.000Z | data_extractors/card_data_extractor/base.py | SahandAkbarzadeh/trello-board-to-csv | c1a4c4a489c3f78e18adec201a791a49c0a11066 | [
"MIT"
] | null | null | null | data_extractors/card_data_extractor/base.py | SahandAkbarzadeh/trello-board-to-csv | c1a4c4a489c3f78e18adec201a791a49c0a11066 | [
"MIT"
] | null | null | null | from trello import Card
from typing import Dict, List
class DataExtractor:
card: Card
arguments: List[str]
@property
def category(self):
return "default_card_data"
def __init__(self, card: Card):
self.card = card
def extract(self) -> Dict[str, str]:
pass
@classm... | 17.590909 | 40 | 0.635659 | 47 | 387 | 4.851064 | 0.510638 | 0.105263 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 387 | 21 | 41 | 18.428571 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0.043928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0.133333 | 0.733333 | 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 |
8f18263b65489c380056d4efcc42a0afd9c756fe | 1,858 | py | Python | Scripts/support.py | atfinke/Dorm-Room-Client | 4614f19718b5c6710e483f1f0e1a0bc4249a9ad9 | [
"MIT"
] | null | null | null | Scripts/support.py | atfinke/Dorm-Room-Client | 4614f19718b5c6710e483f1f0e1a0bc4249a9ad9 | [
"MIT"
] | 1 | 2021-06-01T22:37:27.000Z | 2021-06-01T22:37:27.000Z | Scripts/support.py | atfinke/Dorm-Room-Client | 4614f19718b5c6710e483f1f0e1a0bc4249a9ad9 | [
"MIT"
] | null | null | null | import os
import json
def directory():
return os.path.expanduser("~/Library/Application Support/Dorm Room Client/")
def nanoleaf_ip_path():
return directory() + "nanoleaf_ip.txt"
def nanoleaf_token_path():
return directory() + "nanoleaf_token.txt"
def nanoleaf_all_effects_path():
return directory() ... | 22.658537 | 80 | 0.676534 | 245 | 1,858 | 4.893878 | 0.204082 | 0.091743 | 0.095079 | 0.055046 | 0.430359 | 0.312761 | 0.312761 | 0.312761 | 0.312761 | 0.312761 | 0 | 0 | 0.207212 | 1,858 | 81 | 81 | 22.938272 | 0.813985 | 0 | 0 | 0.338983 | 0 | 0 | 0.106028 | 0.051668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237288 | false | 0 | 0.033898 | 0.118644 | 0.576271 | 0.016949 | 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 |
8f2f913b9572e6d6b7df702d52a39cef69f08c01 | 352 | py | Python | ontospy/extras/__init__.py | KGerring/Ontospy | 337718d4abec5b390e5ff3caa76ab307e8b3674e | [
"MIT"
] | null | null | null | ontospy/extras/__init__.py | KGerring/Ontospy | 337718d4abec5b390e5ff3caa76ab307e8b3674e | [
"MIT"
] | 1 | 2022-02-14T11:34:16.000Z | 2022-02-14T11:34:16.000Z | ontospy/extras/__init__.py | KGerring/Ontospy | 337718d4abec5b390e5ff3caa76ab307e8b3674e | [
"MIT"
] | null | null | null |
from rdflib.graph import Graph, ConjunctiveGraph, ReadOnlyGraphAggregate
from rdflib.term import BNode, Node, URIRef, IdentifiedNode
from rdflib import Graph, URIRef, Literal # type: ignore
from rdflib.namespace import OWL, DCTERMS, RDF, RDFS, XSD # type: ignore
from rdflib import Namespace
NS = Namespace("https:/... | 39.111111 | 73 | 0.775568 | 46 | 352 | 5.934783 | 0.543478 | 0.18315 | 0.117216 | 0.14652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003289 | 0.136364 | 352 | 9 | 74 | 39.111111 | 0.894737 | 0.107955 | 0 | 0 | 0 | 0 | 0.067961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 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 |
8f375dd8328af66f3fe70535bf75f85df1066da3 | 2,876 | py | Python | ribosome/util/callback.py | tek/ribosome-py | 8bd22e549ddff1ee893d6e3a0bfba123a09e96c6 | [
"MIT"
] | null | null | null | ribosome/util/callback.py | tek/ribosome-py | 8bd22e549ddff1ee893d6e3a0bfba123a09e96c6 | [
"MIT"
] | null | null | null | ribosome/util/callback.py | tek/ribosome-py | 8bd22e549ddff1ee893d6e3a0bfba123a09e96c6 | [
"MIT"
] | null | null | null | import re
import abc
from typing import Callable
from amino import Maybe, Either, __, Right, L, List, _, Map, Try
from ribosome.logging import Logging
from ribosome.nvim.api.data import NvimApi
class VimCallback(Logging, metaclass=abc.ABCMeta):
def __init__(self, target) -> None:
self.target = target
... | 22.825397 | 79 | 0.655076 | 340 | 2,876 | 5.235294 | 0.252941 | 0.044944 | 0.043258 | 0.031461 | 0.217978 | 0.140449 | 0.08764 | 0.046067 | 0.046067 | 0 | 0 | 0.001328 | 0.214534 | 2,876 | 125 | 80 | 23.008 | 0.786631 | 0 | 0 | 0.222222 | 0 | 0 | 0.03338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234568 | false | 0 | 0.08642 | 0.148148 | 0.580247 | 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 |
8f384e127c9eb041bb2fb6d66dc4d3a8d21f9df1 | 3,599 | py | Python | help/src/workflow_objects.py | arthurhammer/alfred-workflows | 4535c1e2ee4fea6e8c5c8ebba1d65898fcacdc82 | [
"MIT"
] | 9 | 2016-09-21T10:12:13.000Z | 2020-11-07T20:53:54.000Z | help/src/workflow_objects.py | arthurhammer/alfred-workflows | 4535c1e2ee4fea6e8c5c8ebba1d65898fcacdc82 | [
"MIT"
] | 1 | 2016-09-19T07:39:25.000Z | 2018-12-05T21:53:46.000Z | help/src/workflow_objects.py | arthurhammer/alfred-workflows | 4535c1e2ee4fea6e8c5c8ebba1d65898fcacdc82 | [
"MIT"
] | 1 | 2020-07-18T00:22:52.000Z | 2020-07-18T00:22:52.000Z | # encoding: utf-8
"""Wrappers around workflow `info.plist` files."""
from __future__ import print_function, unicode_literals
import os
import plistlib
# PyObjC
from AppKit import NSCommandKeyMask, NSAlternateKeyMask, \
NSControlKeyMask, NSShiftKeyMask
class Workflow(object):
"""Thin wrapper ... | 22.354037 | 81 | 0.589053 | 410 | 3,599 | 5.034146 | 0.268293 | 0.09593 | 0.101744 | 0.067829 | 0.30281 | 0.081395 | 0.081395 | 0.04845 | 0.04845 | 0.04845 | 0 | 0.00118 | 0.293415 | 3,599 | 160 | 82 | 22.49375 | 0.808887 | 0.153932 | 0 | 0.252632 | 0 | 0 | 0.046948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273684 | false | 0 | 0.042105 | 0.2 | 0.6 | 0.010526 | 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 |
8f5c091f15404e15fa857a4b443afa63d96e6744 | 736 | py | Python | src/tests/test_bin_heaps.py | Edsger-dev/Edsger | 541b4a398d54827292d74e001ca43eaf814f89c7 | [
"MIT"
] | null | null | null | src/tests/test_bin_heaps.py | Edsger-dev/Edsger | 541b4a398d54827292d74e001ca43eaf814f89c7 | [
"MIT"
] | null | null | null | src/tests/test_bin_heaps.py | Edsger-dev/Edsger | 541b4a398d54827292d74e001ca43eaf814f89c7 | [
"MIT"
] | null | null | null | from edsger.test_heaps import (
bheap_init,
bheap_insert_01,
bheap_insert_02,
bheap_insert_03,
bheab_decrease,
bheap_peek,
bheap_is_empty,
bheap_extract,
sort,
)
def test_bheap_init_01():
assert bheap_init(0)
def test_bheap_init_02():
assert bheap_init(4)
def test_bheap... | 14.153846 | 31 | 0.711957 | 106 | 736 | 4.462264 | 0.207547 | 0.147992 | 0.20296 | 0.114165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040956 | 0.203804 | 736 | 51 | 32 | 14.431373 | 0.766212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0.322581 | true | 0 | 0.032258 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8f74602bd4131538ddd617cb70374e1fdd7c2ecd | 338 | py | Python | noiseblend_api/response.py | alin23/noiseblend-api | 94409c47e77665f391cdbb8f2b10db63cf120703 | [
"Apache-2.0",
"MIT"
] | null | null | null | noiseblend_api/response.py | alin23/noiseblend-api | 94409c47e77665f391cdbb8f2b10db63cf120703 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-04-20T16:39:55.000Z | 2021-04-20T16:39:55.000Z | noiseblend_api/response.py | alin23/noiseblend-api | 94409c47e77665f391cdbb8f2b10db63cf120703 | [
"Apache-2.0",
"MIT"
] | null | null | null | from typing import Any
from sanic.response import HTTPResponse, json
from stringcase import camelcase
from .transform import transform_datetime, transform_keys, transform_values
def camelcase_json(response: Any) -> HTTPResponse:
return json(
transform_values(transform_keys(response, camelcase), transfor... | 26 | 81 | 0.795858 | 39 | 338 | 6.717949 | 0.410256 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 338 | 12 | 82 | 28.166667 | 0.909722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
56d26cccb2a373d5e84c4327f2ac2420cb557e54 | 220 | py | Python | data/reference.py | Scronullik/whatyouknow | ed2b0e63242b53e24a5273df7e4f723099387898 | [
"MIT"
] | 2 | 2021-01-28T04:34:43.000Z | 2021-07-13T09:08:53.000Z | data/reference.py | Scronullik/whatyouknow | ed2b0e63242b53e24a5273df7e4f723099387898 | [
"MIT"
] | null | null | null | data/reference.py | Scronullik/whatyouknow | ed2b0e63242b53e24a5273df7e4f723099387898 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from factory.django import get_model
class ReferenceModel:
USER = get_user_model()
POST = get_model('blog', 'Post')
COMMENT = get_model('comments', 'Comment')
| 24.444444 | 46 | 0.736364 | 30 | 220 | 5.166667 | 0.5 | 0.154839 | 0.154839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 220 | 8 | 47 | 27.5 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.104545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 |
56dee3dcf7fa372c941594bc5b1813517e02b773 | 399 | py | Python | src/bpmn_python/graph/classes/activities/task_type.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | src/bpmn_python/graph/classes/activities/task_type.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | src/bpmn_python/graph/classes/activities/task_type.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Class used for representing tTask of BPMN 2.0 graph
"""
import graph.classes.activities.activity_type as activity
class Task(activity.Activity):
"""
Class used for representing tTask of BPMN 2.0 graph
"""
def __init__(self):
"""
Default constructor, initializes obje... | 22.166667 | 74 | 0.659148 | 50 | 399 | 5.08 | 0.64 | 0.070866 | 0.094488 | 0.188976 | 0.330709 | 0.330709 | 0.330709 | 0.330709 | 0.330709 | 0.330709 | 0 | 0.016447 | 0.238095 | 399 | 17 | 75 | 23.470588 | 0.819079 | 0.461153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
71025fc5b94082a423ce18a163738b1e6a3c5540 | 384 | py | Python | filter_plugins/hetzner_firewall.py | nl2go/hetzner-firewall | 68f9ea8fd5502fbd8a1130aa74b957b521f1a18c | [
"MIT"
] | 10 | 2019-11-20T11:10:54.000Z | 2020-12-14T11:59:23.000Z | filter_plugins/hetzner_firewall.py | nl2go/hetzner-firewall | 68f9ea8fd5502fbd8a1130aa74b957b521f1a18c | [
"MIT"
] | 1 | 2019-12-11T10:36:21.000Z | 2019-12-11T10:36:21.000Z | filter_plugins/hetzner_firewall.py | nl2go/hetzner-firewall | 68f9ea8fd5502fbd8a1130aa74b957b521f1a18c | [
"MIT"
] | 1 | 2020-11-21T14:23:09.000Z | 2020-11-21T14:23:09.000Z | from ansible_filter import change_set
from ansible_filter import form_urlencode
from ansible_filter import omit
class FilterModule(object):
def filters(self):
return {
'hetzner_firewall_change_set': change_set.change_set,
'hetzner_firewall_form_urlencode': form_urlencode.form_urle... | 27.428571 | 77 | 0.723958 | 45 | 384 | 5.8 | 0.4 | 0.137931 | 0.195402 | 0.264368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 384 | 13 | 78 | 29.538462 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0.205729 | 0.205729 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0.1 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
712359c1367000bbc49a39645ec77b4601016850 | 364 | py | Python | Strassen/MatrixMult.py | panos1998/SortingAlgorithms | 928bcf5d8820b4b6272ff349c42a13dbaa543a68 | [
"Apache-2.0"
] | null | null | null | Strassen/MatrixMult.py | panos1998/SortingAlgorithms | 928bcf5d8820b4b6272ff349c42a13dbaa543a68 | [
"Apache-2.0"
] | null | null | null | Strassen/MatrixMult.py | panos1998/SortingAlgorithms | 928bcf5d8820b4b6272ff349c42a13dbaa543a68 | [
"Apache-2.0"
] | 1 | 2021-10-04T19:57:56.000Z | 2021-10-04T19:57:56.000Z | import random
def simplemult(a, b):
c = [[0 for m in range(len(b))] for h in range(len(a))]
for i in range(len(a)):
for j in range(len(b[0])):
for k in range(len(b)):
c[i][j] += a[i][k]*b[k][j]
print (c)
k = [[i*j for i in range(5)] for j in range(4)]
x = [[(1+i)*(j+1) for i in range... | 20.222222 | 56 | 0.516484 | 81 | 364 | 2.320988 | 0.271605 | 0.335106 | 0.265957 | 0.175532 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.263736 | 364 | 17 | 57 | 21.411765 | 0.671642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0.090909 | 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 |
8530e755a405f2e4c69260d088ed97a2413fcab6 | 2,374 | py | Python | dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_comments.py | linruoma/airflow-jobs | fda122a74c6a030ec542828dd14d22d7fbbba622 | [
"Apache-2.0"
] | null | null | null | dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_comments.py | linruoma/airflow-jobs | fda122a74c6a030ec542828dd14d22d7fbbba622 | [
"Apache-2.0"
] | null | null | null | dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_comments.py | linruoma/airflow-jobs | fda122a74c6a030ec542828dd14d22d7fbbba622 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from airflow import DAG
from airflow.operators.python import PythonOperator
# v0.0.1
from oss_know.libs.base_dict.variable_key import OPENSEARCH_CONN_DATA, GITHUB_TOKENS
NEED_INIT_SYNC_GITHUB_ISSUES_COMMENTS_REPOS = "need_init_github_issues_comments_repos"
with DAG(
dag_id='gith... | 38.918033 | 102 | 0.73968 | 297 | 2,374 | 5.397306 | 0.218855 | 0.209607 | 0.262009 | 0.284467 | 0.588896 | 0.475359 | 0.227698 | 0.181535 | 0.106051 | 0.106051 | 0 | 0.005252 | 0.197978 | 2,374 | 60 | 103 | 39.566667 | 0.83666 | 0.070767 | 0 | 0.04878 | 0 | 0 | 0.103088 | 0.089464 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.170732 | 0.02439 | 0.268293 | 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 |
85677625ac6d072c7b38d950a24f261cdd92e6a7 | 1,061 | py | Python | editor/migrations/0002_transform.py | CarlosMatheus/PyginWeb | a6151bd4e59559a60c7c23ab8e1355517c63fe2d | [
"MIT"
] | 2 | 2018-07-12T00:16:57.000Z | 2021-02-25T06:18:33.000Z | editor/migrations/0002_transform.py | CarlosMatheus/PyginWeb | a6151bd4e59559a60c7c23ab8e1355517c63fe2d | [
"MIT"
] | null | null | null | editor/migrations/0002_transform.py | CarlosMatheus/PyginWeb | a6151bd4e59559a60c7c23ab8e1355517c63fe2d | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2018-06-28 07:45
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('editor', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Transform',
... | 37.892857 | 114 | 0.614515 | 112 | 1,061 | 5.6875 | 0.482143 | 0.169545 | 0.235479 | 0.291994 | 0.405024 | 0.405024 | 0.405024 | 0.405024 | 0 | 0 | 0 | 0.046482 | 0.249764 | 1,061 | 27 | 115 | 39.296296 | 0.753769 | 0.042413 | 0 | 0 | 1 | 0 | 0.096647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.238095 | 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 |
856bb6c905390eecb1f6470a9fa9ec81a509c49c | 150 | py | Python | app/api/auth/__init__.py | samanyougarg/sample-rest-api | 0d394a289810bc3ced3420076b7cb0f2de7d5997 | [
"MIT"
] | 3 | 2019-07-31T14:10:29.000Z | 2020-04-18T14:36:42.000Z | app/api/auth/__init__.py | samanyougarg/sample-rest-api | 0d394a289810bc3ced3420076b7cb0f2de7d5997 | [
"MIT"
] | null | null | null | app/api/auth/__init__.py | samanyougarg/sample-rest-api | 0d394a289810bc3ced3420076b7cb0f2de7d5997 | [
"MIT"
] | 2 | 2019-07-28T12:06:13.000Z | 2022-02-16T06:02:13.000Z | from flask import Blueprint
from flask_login import current_user
from ... import db
auth = Blueprint('auth', __name__)
from . import views # noqa
| 16.666667 | 36 | 0.753333 | 21 | 150 | 5.095238 | 0.571429 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 150 | 8 | 37 | 18.75 | 0.862903 | 0.026667 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.4 | 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 |
8573eb4f6672c817abdeb600560536f9c85292ea | 1,411 | py | Python | m3dfio.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | m3dfio.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | m3dfio.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | import sys
import json
import logging
logging.basicConfig()
sys.path.append("../M3D-Fio")
from octoprint_m3dfio import M3DFioPlugin
class dummyPluginManager (object):
def __init__(self, logger):
self._logger = logger
def send_plugin_message(self, plugin, data):
dataStr = json.dumps(data, indent=4, separator... | 23.516667 | 92 | 0.702339 | 184 | 1,411 | 5.184783 | 0.369565 | 0.062893 | 0.0587 | 0.079665 | 0.085954 | 0.044025 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.160879 | 1,411 | 59 | 93 | 23.915254 | 0.785473 | 0.034727 | 0 | 0 | 0 | 0 | 0.016924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.105263 | 0.131579 | 0.552632 | 0.078947 | 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 |
857a27e928b53554372a812215544af477b10992 | 131 | py | Python | forms/constants/__init__.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 206 | 2015-10-15T07:05:08.000Z | 2021-02-19T11:48:36.000Z | forms/constants/__init__.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 8 | 2017-10-16T10:18:31.000Z | 2022-03-09T14:24:27.000Z | forms/constants/__init__.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 61 | 2015-10-15T08:12:44.000Z | 2022-03-10T12:25:06.000Z | TEXT_STYLE_INPUTS = (
'EmailInput',
'NumberInput',
'PasswordInput',
'TextInput',
'Textarea',
'URLInput',
)
| 14.555556 | 21 | 0.580153 | 9 | 131 | 8.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 131 | 8 | 22 | 16.375 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.450382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
85c80b47574b416bb62e3e5adbefe08176b56627 | 290 | py | Python | test/test_utils.py | clarityai-eng/jsonschema2ddl | e098375fefeb33f224cb4d9e14c77ebee696ae38 | [
"MIT"
] | 4 | 2020-10-08T11:08:06.000Z | 2022-02-09T16:22:11.000Z | test/test_utils.py | clarityai-eng/jsonschema2ddl | e098375fefeb33f224cb4d9e14c77ebee696ae38 | [
"MIT"
] | null | null | null | test/test_utils.py | clarityai-eng/jsonschema2ddl | e098375fefeb33f224cb4d9e14c77ebee696ae38 | [
"MIT"
] | null | null | null | from jsonschema2ddl.utils import db_column_name, db_table_name
def test_name_changes():
assert db_column_name('IAmGroot') == "i_am_groot"
assert db_table_name('IAmGroot') == '"i_am_groot"'
assert db_table_name('IAmGroot', schema_name='gardians') == '"gardians"."i_am_groot"'
| 32.222222 | 89 | 0.741379 | 42 | 290 | 4.666667 | 0.428571 | 0.107143 | 0.168367 | 0.153061 | 0.397959 | 0.397959 | 0.397959 | 0.397959 | 0.397959 | 0.397959 | 0 | 0.003922 | 0.12069 | 290 | 8 | 90 | 36.25 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.265517 | 0.07931 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a422165f92d0cbde26e54ed43da4cfc4b443f23d | 277 | py | Python | utils.py | yashikak99/spam-ham | 15aa8080a39950809f07e632b671a89dfd3e82d6 | [
"MIT"
] | null | null | null | utils.py | yashikak99/spam-ham | 15aa8080a39950809f07e632b671a89dfd3e82d6 | [
"MIT"
] | null | null | null | utils.py | yashikak99/spam-ham | 15aa8080a39950809f07e632b671a89dfd3e82d6 | [
"MIT"
] | null | null | null | import string
from nltk.corpus import stopwords
def text_process(message):
noPunc = [char for char in message if char not in string.punctuation]
noPunc = ''.join(noPunc)
return [word for word in noPunc.split() if word not in stopwords.words('english')]
| 27.7 | 87 | 0.703971 | 40 | 277 | 4.85 | 0.575 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209386 | 277 | 9 | 88 | 30.777778 | 0.885845 | 0 | 0 | 0 | 0 | 0 | 0.026119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a430ef9d0ec84b98fec5ccf3dc52b1f62d4290b6 | 577 | py | Python | opendata/users/forms.py | OpenData-NC/open-data-nc | 5e1964d5c986f79055e6f018f0f2f9a15a3eaf99 | [
"MIT"
] | 5 | 2015-10-31T02:01:24.000Z | 2021-03-02T12:34:59.000Z | opendata/users/forms.py | OpenData-NC/open-data-nc | 5e1964d5c986f79055e6f018f0f2f9a15a3eaf99 | [
"MIT"
] | null | null | null | opendata/users/forms.py | OpenData-NC/open-data-nc | 5e1964d5c986f79055e6f018f0f2f9a15a3eaf99 | [
"MIT"
] | 4 | 2016-04-05T06:07:15.000Z | 2020-10-18T01:17:17.000Z | from django import forms
from django.contrib.auth import forms as auth
from django.contrib.auth.models import User
from captcha.fields import ReCaptchaField
class UserCreationForm(auth.UserCreationForm):
"""Modified form that uses our custom User model."""
first_name = forms.CharField(max_length=30)
las... | 30.368421 | 78 | 0.714038 | 69 | 577 | 5.884058 | 0.536232 | 0.073892 | 0.083744 | 0.103448 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0.012712 | 0.181976 | 577 | 18 | 79 | 32.055556 | 0.847458 | 0.079723 | 0 | 0 | 0 | 0 | 0.118095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a4366dc7a5097d7a614e2bcdab72443105e1bc97 | 29 | py | Python | tests/__init__.py | MrTrustworthy/game_of_life | 183ddf40e501094a7e0024dd707a197a40124141 | [
"MIT"
] | null | null | null | tests/__init__.py | MrTrustworthy/game_of_life | 183ddf40e501094a7e0024dd707a197a40124141 | [
"MIT"
] | null | null | null | tests/__init__.py | MrTrustworthy/game_of_life | 183ddf40e501094a7e0024dd707a197a40124141 | [
"MIT"
] | null | null | null | __author__ = 'MrTrustworthy'
| 14.5 | 28 | 0.793103 | 2 | 29 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 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 |
a445fd51080de01a7781b1c7cef74a20f31429ed | 70 | py | Python | zenrows/__init__.py | ZenRows/zenrows-python-sdk | 2fd09154577f9c8ad1f20ff5544ef244e0bb9f59 | [
"MIT"
] | 2 | 2021-12-17T08:25:14.000Z | 2021-12-30T08:58:47.000Z | zenrows/__init__.py | ZenRows/zenrows-python-sdk | 2fd09154577f9c8ad1f20ff5544ef244e0bb9f59 | [
"MIT"
] | null | null | null | zenrows/__init__.py | ZenRows/zenrows-python-sdk | 2fd09154577f9c8ad1f20ff5544ef244e0bb9f59 | [
"MIT"
] | null | null | null | from zenrows.client import ZenRowsClient
__all__ = ['ZenRowsClient']
| 17.5 | 40 | 0.8 | 7 | 70 | 7.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 41 | 23.333333 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 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 |
a4474859a3e5591523e2f49b86406f876ff1f25a | 202 | py | Python | src/diptest/__init__.py | jaib1/yass | 9899c7d63c522a26b160ac7a223c794dfd3e23c6 | [
"Apache-2.0"
] | 59 | 2017-10-29T02:21:17.000Z | 2022-03-23T01:12:27.000Z | src/diptest/__init__.py | jaib1/yass | 9899c7d63c522a26b160ac7a223c794dfd3e23c6 | [
"Apache-2.0"
] | 257 | 2017-10-25T17:11:36.000Z | 2021-10-21T19:12:00.000Z | src/diptest/__init__.py | jaib1/yass | 9899c7d63c522a26b160ac7a223c794dfd3e23c6 | [
"Apache-2.0"
] | 24 | 2017-10-28T19:59:44.000Z | 2021-07-14T09:56:45.000Z | """
Original authors: https://github.com/alimuldal/diptest
The code under this module is a fork from the original project.
"""
from diptest._interface import dip, diptest
__all__ = ['dip', 'diptest']
| 22.444444 | 63 | 0.742574 | 28 | 202 | 5.178571 | 0.75 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 202 | 8 | 64 | 25.25 | 0.833333 | 0.589109 | 0 | 0 | 0 | 0 | 0.133333 | 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 |
a468ac04d5713eef63aebe8646c376a03f3d74b1 | 1,291 | py | Python | features/archives-real-world/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | features/archives-real-world/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | features/archives-real-world/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class Test(Test):
settings=TestSettings(
input='42e99f18e9fbcd64888dcb84c48b49df',
args='--ar-index=100'
)
def test_check_for_some_currently_detected_functions(self):
assert self.out_c.has_func( '_ZN16ObserverEventMap12getObserversEj' )
assert... | 67.947368 | 151 | 0.825716 | 95 | 1,291 | 10.757895 | 0.452632 | 0.088063 | 0.114481 | 0.123288 | 0.184932 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 0.096407 | 0.116189 | 1,291 | 18 | 152 | 71.722222 | 0.799299 | 0 | 0 | 0 | 0 | 0 | 0.573199 | 0.562355 | 0 | 0 | 0 | 0 | 0.5625 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4820ed2457c00e5e8ea1cd9aa48bb346b76236b | 314 | py | Python | gibberish/chat/admin.py | tooreht/gibberish | 48d0e5ed31f0a16d8882304bca2416fefe0b149c | [
"MIT"
] | null | null | null | gibberish/chat/admin.py | tooreht/gibberish | 48d0e5ed31f0a16d8882304bca2416fefe0b149c | [
"MIT"
] | null | null | null | gibberish/chat/admin.py | tooreht/gibberish | 48d0e5ed31f0a16d8882304bca2416fefe0b149c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Message, Room
admin.site.register(
Message,
list_display=['id', 'room', 'message', 'user'],
list_display_link=['id'],
)
admin.site.register(
Room,
list_display=['id', 'name', 'staff_only'],
list_display_link=['id'],
)
| 17.444444 | 48 | 0.652866 | 41 | 314 | 4.829268 | 0.512195 | 0.222222 | 0.171717 | 0.171717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003759 | 0.152866 | 314 | 17 | 49 | 18.470588 | 0.740602 | 0.066879 | 0 | 0.333333 | 0 | 0 | 0.127148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4832e5f021d9f94dfffd7095d0ef3500c83ed98 | 1,320 | py | Python | src/carts/migrations/0002_auto_20190822_2050.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | 3 | 2021-09-27T00:45:42.000Z | 2021-09-28T16:42:05.000Z | src/carts/migrations/0002_auto_20190822_2050.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | null | null | null | src/carts/migrations/0002_auto_20190822_2050.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-23 03:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('birthday', '0005_hellodate'),
('carts', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='cart',
... | 25.882353 | 66 | 0.519697 | 110 | 1,320 | 6.145455 | 0.345455 | 0.106509 | 0.153846 | 0.201183 | 0.718935 | 0.431953 | 0 | 0 | 0 | 0 | 0 | 0.026995 | 0.354545 | 1,320 | 50 | 67 | 26.4 | 0.766432 | 0.034091 | 0 | 0.727273 | 1 | 0 | 0.146897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4868b7cd3e011687ec509d8ad2b84c7b0891fd3 | 3,616 | py | Python | S4/S4 Library/simulation/situations/ambient/ghost_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/situations/ambient/ghost_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/situations/ambient/ghost_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from role.role_state import RoleState
from sims4.utils import classproperty
from situations.situation_complex import SituationState, SituationStateData
from situations.situation_job import SituationJob
import alarms
import clock
import sims4.tuning.tunable
import situations.bouncer
import situations.situation_complex
D... | 43.566265 | 662 | 0.738108 | 436 | 3,616 | 5.788991 | 0.288991 | 0.039223 | 0.047147 | 0.036846 | 0.198891 | 0.184628 | 0.162441 | 0.140254 | 0.140254 | 0.140254 | 0 | 0.004051 | 0.180863 | 3,616 | 82 | 663 | 44.097561 | 0.848076 | 0 | 0 | 0.234375 | 0 | 0 | 0.098728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.140625 | 0.109375 | 0.546875 | 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 |
a48c4bcccc0b92381c14956dfef65496b1d90580 | 260 | py | Python | keybow_hue/keyboard/keyboard.py | ian-antking/keybow-hue | 4279ef77efced77a6d08c3e4b3f9e24075a55a86 | [
"MIT"
] | null | null | null | keybow_hue/keyboard/keyboard.py | ian-antking/keybow-hue | 4279ef77efced77a6d08c3e4b3f9e24075a55a86 | [
"MIT"
] | null | null | null | keybow_hue/keyboard/keyboard.py | ian-antking/keybow-hue | 4279ef77efced77a6d08c3e4b3f9e24075a55a86 | [
"MIT"
] | null | null | null | class Keyboard:
def __init__(self):
self.keys = []
def add_key(self, key):
self.keys.append(key)
def get_key(self, index):
return [key for key in self.keys if key.index == index][0]
if __name__ == '__main__':
exit()
| 18.571429 | 66 | 0.584615 | 37 | 260 | 3.72973 | 0.513514 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.280769 | 260 | 13 | 67 | 20 | 0.73262 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a490125366a65f3f9871ded9143c638c7ca57e3c | 823 | py | Python | model/domainresource.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/domainresource.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/domainresource.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/DomainResource) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .extension import Extension
from... | 31.653846 | 111 | 0.744836 | 98 | 823 | 6.244898 | 0.530612 | 0.078431 | 0.071895 | 0.101307 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034433 | 0.153098 | 823 | 26 | 112 | 31.653846 | 0.843615 | 0.381531 | 0 | 0 | 1 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.461538 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a4a97d2ad55e728b64199a869bd4873f575f1f88 | 2,146 | py | Python | lib/python/environ_util.py | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 1,178 | 2020-09-10T17:15:42.000Z | 2022-03-31T14:59:35.000Z | lib/python/environ_util.py | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 1 | 2020-05-22T05:22:35.000Z | 2020-05-22T05:22:35.000Z | lib/python/environ_util.py | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 107 | 2020-09-10T17:29:30.000Z | 2022-03-18T09:00:14.000Z | # Copyright 2020 Makani Technologies LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 29.39726 | 78 | 0.708295 | 298 | 2,146 | 5.040268 | 0.530201 | 0.039947 | 0.025965 | 0.021305 | 0.023968 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008037 | 0.188257 | 2,146 | 72 | 79 | 29.805556 | 0.854191 | 0.27959 | 0 | 0.060606 | 0 | 0 | 0.299768 | 0.01859 | 0 | 0 | 0 | 0.013889 | 0 | 0 | null | null | 0.060606 | 0.121212 | null | null | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8efd665e4914c4c5cf231ae4480e5af7b19c8a19 | 353 | py | Python | pytrek/gui/gamepieces/base/BaseTorpedoExplosion.py | hasii2011/PyArcadeStarTrek | 370edbb62f15f69322aa7f109d6d36ebf20cbe4a | [
"MIT"
] | 1 | 2021-06-13T00:56:24.000Z | 2021-06-13T00:56:24.000Z | pytrek/gui/gamepieces/base/BaseTorpedoExplosion.py | hasii2011/PyArcadeStarTrek | 370edbb62f15f69322aa7f109d6d36ebf20cbe4a | [
"MIT"
] | 94 | 2021-04-16T20:34:10.000Z | 2022-01-13T19:58:20.000Z | pytrek/gui/gamepieces/base/BaseTorpedoExplosion.py | hasii2011/PyArcadeStarTrek | 370edbb62f15f69322aa7f109d6d36ebf20cbe4a | [
"MIT"
] | null | null | null |
from pytrek.gui.gamepieces.base.BaseAnimator import BaseAnimator
from pytrek.gui.gamepieces.base.BaseAnimator import TextureList
class BaseTorpedoExplosion(BaseAnimator):
def __init__(self, textureList: TextureList, delayFrames: int, scale: float = 1.0):
super().__init__(textureList=textureList, delay... | 29.416667 | 87 | 0.793201 | 38 | 353 | 7.157895 | 0.526316 | 0.073529 | 0.095588 | 0.169118 | 0.330882 | 0.330882 | 0.330882 | 0 | 0 | 0 | 0 | 0.00641 | 0.116147 | 353 | 11 | 88 | 32.090909 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f1304b707c12f559adc85ef60d9b3cc587967ff0 | 524 | py | Python | AI/pyneogame/Agent/RandomAgent.py | neodev-ab/NeoGame | f2c0c010b2ea13d99e23ecd2f59592433fbd2385 | [
"MIT"
] | 2 | 2019-08-29T13:52:36.000Z | 2019-11-23T23:41:54.000Z | AI/pyneogame/Agent/RandomAgent.py | neodev-ab/NeoGame | f2c0c010b2ea13d99e23ecd2f59592433fbd2385 | [
"MIT"
] | 9 | 2019-08-30T08:01:37.000Z | 2021-10-06T06:48:09.000Z | AI/pyneogame/Agent/RandomAgent.py | neodev-ab/NeoGame | f2c0c010b2ea13d99e23ecd2f59592433fbd2385 | [
"MIT"
] | 2 | 2019-05-12T14:41:42.000Z | 2019-11-23T23:47:24.000Z | import random
from . import BaseAgent # Work for python dev_script
class RandomAgent(BaseAgent.BaseAgent):
def __str__(self):
return "Random Agent"
def get_action(self, state, actions, as_string=False):
action = random.choice(actions)
if as_string:
return ''.join([str(x... | 20.96 | 59 | 0.624046 | 65 | 524 | 4.892308 | 0.569231 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002703 | 0.293893 | 524 | 24 | 60 | 21.833333 | 0.856757 | 0.114504 | 0 | 0 | 0 | 0 | 0.026144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.785714 | 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 |
f162b7ac7d5e62536d8674729aa6d8884b5e8746 | 177 | py | Python | api/urls.py | Alonso-Arias/misPerris2019 | 9e1649839f498dc2ad78e685ab7bef0683de3b73 | [
"MIT"
] | null | null | null | api/urls.py | Alonso-Arias/misPerris2019 | 9e1649839f498dc2ad78e685ab7bef0683de3b73 | [
"MIT"
] | 14 | 2019-12-05T01:02:44.000Z | 2022-03-12T00:06:57.000Z | api/urls.py | Alonso-Arias/misPerris2019 | 9e1649839f498dc2ad78e685ab7bef0683de3b73 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^mascotas/$', views.ApiMascota.as_view()),
url(r'^usuarios/$', views.ApiUsuario.as_view()),
] | 25.285714 | 52 | 0.683616 | 24 | 177 | 4.958333 | 0.625 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 7 | 53 | 25.285714 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f16454f2e2ceb7b5b578e7acef1e575482cc7274 | 530 | py | Python | mayan/apps/appearance/migrations/0019_auto_20220319_1818.py | punphatai/Mayan-EDMS | 8f929e427b497817ad0e024cec7f7bec61b172c0 | [
"Apache-2.0"
] | null | null | null | mayan/apps/appearance/migrations/0019_auto_20220319_1818.py | punphatai/Mayan-EDMS | 8f929e427b497817ad0e024cec7f7bec61b172c0 | [
"Apache-2.0"
] | null | null | null | mayan/apps/appearance/migrations/0019_auto_20220319_1818.py | punphatai/Mayan-EDMS | 8f929e427b497817ad0e024cec7f7bec61b172c0 | [
"Apache-2.0"
] | 1 | 2022-02-21T13:19:36.000Z | 2022-02-21T13:19:36.000Z | # Generated by Django 2.2.24 on 2022-03-19 18:18
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('appearance', '0018_theme_import_file'),
]
operations = [
migrations.AlterField(
model_name='theme... | 26.5 | 157 | 0.65283 | 58 | 530 | 5.844828 | 0.637931 | 0.058997 | 0.117994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048426 | 0.220755 | 530 | 19 | 158 | 27.894737 | 0.772397 | 0.086792 | 0 | 0 | 1 | 0 | 0.122407 | 0.045643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f168e4f5f79c361135f196e50c1854dbadb22ca2 | 53 | py | Python | newsdatascraper/__init__.py | erikqu/NewsDataScraper | 686102b53d11ba14773ac9d468a2f4b1b4c45a42 | [
"MIT"
] | 5 | 2019-08-13T00:12:02.000Z | 2021-12-14T02:38:41.000Z | newsdatascraper/__init__.py | erikqu/NewsDataScraper | 686102b53d11ba14773ac9d468a2f4b1b4c45a42 | [
"MIT"
] | null | null | null | newsdatascraper/__init__.py | erikqu/NewsDataScraper | 686102b53d11ba14773ac9d468a2f4b1b4c45a42 | [
"MIT"
] | null | null | null | from .scraper import Scraper
__all__ = ["MyClass"]
| 10.6 | 28 | 0.716981 | 6 | 53 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 53 | 4 | 29 | 13.25 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 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 |
f18d0588260c2c81d0a95c1fc0e24563bd6cd7db | 189 | py | Python | recipe_blog/recipe/urls.py | hossshakiba/recipe-blog-api | 755e4b4f10aa7b1918b260a5823900fb41bfff1b | [
"MIT"
] | 2 | 2021-07-07T21:20:48.000Z | 2021-08-17T04:36:41.000Z | recipe_blog/recipe/urls.py | hossshakiba/recipe-blog-api | 755e4b4f10aa7b1918b260a5823900fb41bfff1b | [
"MIT"
] | null | null | null | recipe_blog/recipe/urls.py | hossshakiba/recipe-blog-api | 755e4b4f10aa7b1918b260a5823900fb41bfff1b | [
"MIT"
] | null | null | null | from rest_framework.routers import SimpleRouter
from .views import RecipeViewSet
router = SimpleRouter()
router.register('', RecipeViewSet, basename='recipes')
urlpatterns = router.urls
| 21 | 54 | 0.804233 | 20 | 189 | 7.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 189 | 8 | 55 | 23.625 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 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 |
74ed6cbb4e23e9f73de1934a61df046b873512dd | 3,201 | py | Python | src/scs_osio/cmd/cmd_device_topics.py | south-coast-science/scs_osio | d1675a03efb8e5d003f659862dda0aeaefece401 | [
"MIT"
] | 1 | 2017-04-24T14:58:31.000Z | 2017-04-24T14:58:31.000Z | src/scs_osio/cmd/cmd_device_topics.py | south-coast-science/scs_osio | d1675a03efb8e5d003f659862dda0aeaefece401 | [
"MIT"
] | null | null | null | src/scs_osio/cmd/cmd_device_topics.py | south-coast-science/scs_osio | d1675a03efb8e5d003f659862dda0aeaefece401 | [
"MIT"
] | 3 | 2017-12-05T12:41:31.000Z | 2018-11-05T15:29:15.000Z | """
Created on 2 Jul 2017
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
import optparse
from scs_core.data.datetime import LocalizedDatetime
# --------------------------------------------------------------------------------------------------------------------
class CmdDeviceTopics(object):
""... | 32.333333 | 118 | 0.492971 | 316 | 3,201 | 4.753165 | 0.281646 | 0.063915 | 0.043276 | 0.050599 | 0.310253 | 0.268975 | 0.237017 | 0.149134 | 0.149134 | 0.075899 | 0 | 0.011396 | 0.232427 | 3,201 | 98 | 119 | 32.663265 | 0.599919 | 0.218994 | 0 | 0.177778 | 0 | 0.022222 | 0.133932 | 0.01225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.044444 | 0.155556 | 0.533333 | 0.044444 | 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 |
74f06852b096357e21d43f726d629fa373be01b5 | 1,796 | py | Python | dataset/generate_split_list.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | 10 | 2021-12-01T00:55:32.000Z | 2022-01-02T18:07:04.000Z | dataset/generate_split_list.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | null | null | null | dataset/generate_split_list.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | 3 | 2021-12-01T00:55:47.000Z | 2021-12-17T15:18:43.000Z | #Generate Train Test Split List
# logging.basicConfig(level=logging.INFO)
# opt = {"normalization": "UnitBall", "class_choice": ["plane"], "SVR": True, "sample": True, "npoints": 2500,
# "shapenet13": True, "demo": False, "logger": logging.getLogger(), "img_aug": False,
# "img_aug_type": 'rgb', "color_a... | 39.911111 | 112 | 0.597996 | 254 | 1,796 | 4 | 0.374016 | 0.070866 | 0.082677 | 0.059055 | 0.181102 | 0.127953 | 0.122047 | 0.122047 | 0.064961 | 0 | 0 | 0.018611 | 0.22216 | 1,796 | 45 | 113 | 39.911111 | 0.708661 | 0.949332 | 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 |
2d2b16e829ff24f42570299357bb7befd30f4a7b | 310 | py | Python | insertion_sort.py | jaylusleep/python-projects | 717fa23998b95763d8e9b0610b56c97cd6c31381 | [
"MIT"
] | null | null | null | insertion_sort.py | jaylusleep/python-projects | 717fa23998b95763d8e9b0610b56c97cd6c31381 | [
"MIT"
] | null | null | null | insertion_sort.py | jaylusleep/python-projects | 717fa23998b95763d8e9b0610b56c97cd6c31381 | [
"MIT"
] | null | null | null | #INCOMPLETE
to_sort = [230, 6, 3, 234565, 9, 13000]
def ins_sort():
for i in range(0, len(to_sort)):
j=i
for j in range(1, j+1):
if to_sort[j+1]<to_sort[j]:
val=to_sort[j+1]
to_sort[j+1]=to_sort[j]
to_sort[j]=val
print(to_sort) | 22.142857 | 39 | 0.496774 | 56 | 310 | 2.571429 | 0.392857 | 0.375 | 0.340278 | 0.166667 | 0.263889 | 0.263889 | 0.263889 | 0 | 0 | 0 | 0 | 0.115 | 0.354839 | 310 | 14 | 40 | 22.142857 | 0.605 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.1 | 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 |
2d3a01b2cbff16b37a1feb2b81822cef77d217e7 | 342 | py | Python | game_mastering/serializers/file.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | game_mastering/serializers/file.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | game_mastering/serializers/file.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | 1 | 2021-08-14T18:46:52.000Z | 2021-08-14T18:46:52.000Z | """ Serializer module for the GameMasterFile model """
from common.serializers import PrivateModelSerializer
from game_mastering.models import GameMasterFile
class GameMasterFileSerializer(PrivateModelSerializer):
""" Serializer for the GameMasterFile model """
class Meta:
model = GameMasterFile
... | 31.090909 | 55 | 0.763158 | 31 | 342 | 8.258065 | 0.612903 | 0.046875 | 0.15625 | 0.195313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172515 | 342 | 10 | 56 | 34.2 | 0.904594 | 0.254386 | 0 | 0 | 0 | 0 | 0.029046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
742097fb23f04bdad88d324aa0250cfa15185c16 | 149 | py | Python | body_mass_calculator/apps.py | AlexanderUstinovv/body_mass_calculator | 0cefb6e0d0785d9045959493b4553390a6c58dc7 | [
"BSD-3-Clause"
] | null | null | null | body_mass_calculator/apps.py | AlexanderUstinovv/body_mass_calculator | 0cefb6e0d0785d9045959493b4553390a6c58dc7 | [
"BSD-3-Clause"
] | null | null | null | body_mass_calculator/apps.py | AlexanderUstinovv/body_mass_calculator | 0cefb6e0d0785d9045959493b4553390a6c58dc7 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class CalculatorConfig(AppConfig):
name = 'body_mass_calculator'
verbose_name = 'Калькулятор массы тела'
| 21.285714 | 43 | 0.771812 | 17 | 149 | 6.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 6 | 44 | 24.833333 | 0.896 | 0 | 0 | 0 | 0 | 0 | 0.281879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 |
743ee1c453c783a12b6b42fdf19457d509daf2bb | 505 | py | Python | mcapi/models.py | Build-Week-mdd-cabinet1/medcab1-api | 7ea7e51682eae36fcf5075563a0b770976f981c8 | [
"MIT"
] | null | null | null | mcapi/models.py | Build-Week-mdd-cabinet1/medcab1-api | 7ea7e51682eae36fcf5075563a0b770976f981c8 | [
"MIT"
] | null | null | null | mcapi/models.py | Build-Week-mdd-cabinet1/medcab1-api | 7ea7e51682eae36fcf5075563a0b770976f981c8 | [
"MIT"
] | 2 | 2020-07-31T22:11:07.000Z | 2021-08-19T20:49:38.000Z | from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
db = SQLAlchemy()
migrate = Migrate()
class Strain_data(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
race = db.Column(db.String(50))
flavors = db.Column(db.String(500))
positive = ... | 28.055556 | 48 | 0.69505 | 74 | 505 | 4.689189 | 0.391892 | 0.207493 | 0.259366 | 0.322767 | 0.322767 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047393 | 0.164356 | 505 | 17 | 49 | 29.705882 | 0.774882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.857143 | 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 |
74411e9c03ee8ff096dc231567efd8a0ad1bd8ed | 2,164 | py | Python | src/si/util/metrics.py | pg42862/Sistemas_Inteligentes_para_a_MBIONF | 5dd5b487da5b3c6a0989274598c911cc639138a3 | [
"Apache-2.0"
] | null | null | null | src/si/util/metrics.py | pg42862/Sistemas_Inteligentes_para_a_MBIONF | 5dd5b487da5b3c6a0989274598c911cc639138a3 | [
"Apache-2.0"
] | null | null | null | src/si/util/metrics.py | pg42862/Sistemas_Inteligentes_para_a_MBIONF | 5dd5b487da5b3c6a0989274598c911cc639138a3 | [
"Apache-2.0"
] | 1 | 2021-11-15T16:15:50.000Z | 2021-11-15T16:15:50.000Z | import numpy as np
import pandas as pd
def accuracy_score(y_true, y_pred):
"""Classification performance metric compute the accuracy of y_true and y_pred
:param numoy.array y_true: like a shape array
:param numoy.array y_pred: like a shape array
:return c (float) accuracy score"""
correct = 0
... | 30.478873 | 119 | 0.658503 | 344 | 2,164 | 3.965116 | 0.270349 | 0.080645 | 0.048387 | 0.073314 | 0.164223 | 0.1261 | 0.064516 | 0.064516 | 0.064516 | 0.064516 | 0 | 0.010198 | 0.229667 | 2,164 | 70 | 120 | 30.914286 | 0.808038 | 0.347505 | 0 | 0 | 0 | 0 | 0.021658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.054054 | 0.108108 | 0.567568 | 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 |
7446b3519f4140f1cca20edee9bc34c086e72e9b | 1,296 | py | Python | user.py | MosesOpiyo/password_locker | 907e2f027854d6cbe7985ee502142b7707822e53 | [
"MIT"
] | null | null | null | user.py | MosesOpiyo/password_locker | 907e2f027854d6cbe7985ee502142b7707822e53 | [
"MIT"
] | null | null | null | user.py | MosesOpiyo/password_locker | 907e2f027854d6cbe7985ee502142b7707822e53 | [
"MIT"
] | null | null | null | import pyperclip
class User:
"""
Class that generates new instances of users
"""
user_list = []
def save_user(self):
'''
save_password method saves password objects into password_list
'''
User.user_list.append(self)
def delete_user(self):
''... | 21.6 | 79 | 0.580247 | 147 | 1,296 | 4.911565 | 0.333333 | 0.066482 | 0.045706 | 0.055402 | 0.227147 | 0.160665 | 0.160665 | 0.160665 | 0.160665 | 0.160665 | 0 | 0 | 0.344907 | 1,296 | 59 | 80 | 21.966102 | 0.850412 | 0.165895 | 0 | 0.266667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.066667 | 0.033333 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
747e7652be7334eb86948956c34416cdb2d69be0 | 29 | py | Python | app/executable/poi_files/__init__.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 11 | 2016-02-29T21:12:58.000Z | 2016-07-06T22:29:22.000Z | app/executable/poi_files/__init__.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 9 | 2015-06-12T22:37:41.000Z | 2016-02-09T21:47:21.000Z | app/executable/poi_files/__init__.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 16 | 2016-02-23T03:22:02.000Z | 2016-07-09T18:46:34.000Z | __all__ = ["svm", "svmutil"]
| 14.5 | 28 | 0.586207 | 3 | 29 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 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 |
74968475718cf128203d792fe60f2a5c6cea7664 | 31,606 | py | Python | fonts/FreeSerifItalic18pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeSerifItalic18pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeSerifItalic18pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | FreeSerifItalic18pt7bBitmaps = [
0x01, 0xC0, 0xF0, 0x3C, 0x0F, 0x03, 0x81, 0xE0, 0x70, 0x1C, 0x06, 0x01,
0x80, 0xC0, 0x30, 0x0C, 0x02, 0x01, 0x80, 0x40, 0x10, 0x00, 0x00, 0x01,
0x80, 0xF0, 0x3C, 0x06, 0x00, 0x38, 0x77, 0x8F, 0x78, 0xF7, 0x0E, 0x60,
0xE6, 0x0C, 0xC1, 0x8C, 0x18, 0x81, 0x00, 0x00, 0x60, 0... | 70.079823 | 75 | 0.578719 | 4,871 | 31,606 | 3.754876 | 0.070211 | 0.047676 | 0.020339 | 0.019245 | 0.279278 | 0.211919 | 0.16643 | 0.14959 | 0.121597 | 0.106288 | 0 | 0.511457 | 0.252958 | 31,606 | 450 | 76 | 70.235556 | 0.263182 | 0.027526 | 0 | 0.004484 | 0 | 0 | 0 | 0 | 0 | 0 | 0.53987 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
74a0407f5e3801aeb6ddfcd5c04aba77582bf15b | 138 | py | Python | Contest/ABC061/c/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC061/c/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC061/c/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
_, k, *l = map(int, open(0).read().split())
for a,b in sorted(zip(*[iter(l)]*2)):
k -= b
if k < 1:print(a);exit() | 27.6 | 43 | 0.557971 | 29 | 138 | 2.62069 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.144928 | 138 | 5 | 44 | 27.6 | 0.610169 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77805518419f4d65ced5fb1a1ad580b43fcbdf3e | 143 | py | Python | src/genie/libs/parser/iosxe/tests/ShowPost/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowPost/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowPost/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
'test': {
'loopback Test': {
'status': True
}
}
}
| 17.875 | 30 | 0.286713 | 7 | 143 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.601399 | 143 | 7 | 31 | 20.428571 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 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 | 1 | 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 |
77aac58a2fbcf8e8af9ed0be2cdc05eea13b7336 | 57 | py | Python | Searcher/sercherConfig.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null | Searcher/sercherConfig.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null | Searcher/sercherConfig.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null |
class SearcherConfig():
AND = 'AND'
OR = 'OR'
| 11.4 | 23 | 0.508772 | 6 | 57 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 57 | 4 | 24 | 14.25 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 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 |
77abb6fdb4d5d927030401bcea3f92ae5a784d1d | 380 | py | Python | misc/twilio_test.py | DickJ/vt3 | 09ee5391b91e8e7c56bd0dcf4ba0f8a42310240a | [
"Unlicense"
] | null | null | null | misc/twilio_test.py | DickJ/vt3 | 09ee5391b91e8e7c56bd0dcf4ba0f8a42310240a | [
"Unlicense"
] | 2 | 2021-03-22T17:12:14.000Z | 2021-12-13T19:37:04.000Z | misc/twilio_test.py | DickJ/fitu | b9b1b3f4940565786c8db939be039f5343340a26 | [
"Unlicense"
] | 1 | 2017-07-04T18:59:05.000Z | 2017-07-04T18:59:05.000Z | from pprint import pprint as pp
class TwilioRestClient:
def __init__(self, account_sid, auth_token):
self.account_sid = account_sid
self.auth_token = auth_token
self.messages = TwilioMessage()
class TwilioMessage:
def __init__(self):
pass
def create(self, body=None, to=No... | 22.352941 | 53 | 0.655263 | 48 | 380 | 4.875 | 0.479167 | 0.128205 | 0.094017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260526 | 380 | 16 | 54 | 23.75 | 0.83274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.083333 | 0 | 0.583333 | 0.083333 | 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 |
77adaf5c489da5628bf528a23d224c186b7f82fc | 135 | py | Python | problems/5.py | christofferaakre/project-euler | 4b42802233be10e4a592798205171fb5156dae6b | [
"MIT"
] | null | null | null | problems/5.py | christofferaakre/project-euler | 4b42802233be10e4a592798205171fb5156dae6b | [
"MIT"
] | null | null | null | problems/5.py | christofferaakre/project-euler | 4b42802233be10e4a592798205171fb5156dae6b | [
"MIT"
] | null | null | null | from main import Solver
solver = Solver()
smallest = 1 * 2 * 3 * 5 * 7 * 11 * 13 * 17 * 19 * 2 * 2 * 3 * 2
solver.solve(5, smallest)
| 19.285714 | 64 | 0.57037 | 24 | 135 | 3.208333 | 0.625 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 0.281481 | 135 | 6 | 65 | 22.5 | 0.608247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77aee3587dc9dc84de277a60efb75d24d0d17649 | 286 | py | Python | python_version/python_version/_imports_.py | Gabriel-Alexander10/Desafio-BTG | 91a454537d01578cd5b4eeebce04b8d96f3f533c | [
"CNRI-Python",
"Xnet",
"X11"
] | null | null | null | python_version/python_version/_imports_.py | Gabriel-Alexander10/Desafio-BTG | 91a454537d01578cd5b4eeebce04b8d96f3f533c | [
"CNRI-Python",
"Xnet",
"X11"
] | null | null | null | python_version/python_version/_imports_.py | Gabriel-Alexander10/Desafio-BTG | 91a454537d01578cd5b4eeebce04b8d96f3f533c | [
"CNRI-Python",
"Xnet",
"X11"
] | null | null | null | from .DraggableAndResizable import DraggableAndResizable
from .Graph import Graph
from .index import index
from .Home import Home
from .index import index
from .index import index
__all__ = [
"DraggableAndResizable",
"Graph",
"index",
"Home",
"index",
"index"
] | 19.066667 | 56 | 0.706294 | 31 | 286 | 6.387097 | 0.225806 | 0.136364 | 0.227273 | 0.30303 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202797 | 286 | 15 | 57 | 19.066667 | 0.868421 | 0 | 0 | 0.357143 | 0 | 0 | 0.156794 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
77bd90140578f41d515e9100dc3bef4d2d3c4891 | 395 | py | Python | automate the boring stuff with python/auto_gui/spiralDraw.py | xu6148152/Binea_Python_Project | d943eb5f4685d08f080b372dcf1a7cbd5d63efed | [
"MIT"
] | null | null | null | automate the boring stuff with python/auto_gui/spiralDraw.py | xu6148152/Binea_Python_Project | d943eb5f4685d08f080b372dcf1a7cbd5d63efed | [
"MIT"
] | null | null | null | automate the boring stuff with python/auto_gui/spiralDraw.py | xu6148152/Binea_Python_Project | d943eb5f4685d08f080b372dcf1a7cbd5d63efed | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- encoding: utf-8 -*-
import pyautogui, time
time.sleep(5)
pyautogui.click()
distance = 200
while distance > 0:
pyautogui.dragRel(distance, 0, duration=0.2)
distance = distance - 5
pyautogui.dragRel(0, distance, duration=0.2)
pyautogui.dragRel(-distance, 0, duration=0.2)
... | 24.6875 | 49 | 0.683544 | 54 | 395 | 5 | 0.37037 | 0.237037 | 0.111111 | 0.185185 | 0.637037 | 0.637037 | 0.637037 | 0.637037 | 0.637037 | 0.637037 | 0 | 0.064024 | 0.16962 | 395 | 15 | 50 | 26.333333 | 0.759146 | 0.113924 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77bee0482c07b6194df3264e870bdb47f8849640 | 272 | py | Python | results/scripts/config.py | andres-erbsen/rrtcp | c3b2f199e5e159ef29847a16399d1758e36e1acf | [
"Apache-2.0"
] | 1 | 2018-02-26T17:59:51.000Z | 2018-02-26T17:59:51.000Z | results/scripts/config.py | andres-erbsen/rrtcp | c3b2f199e5e159ef29847a16399d1758e36e1acf | [
"Apache-2.0"
] | null | null | null | results/scripts/config.py | andres-erbsen/rrtcp | c3b2f199e5e159ef29847a16399d1758e36e1acf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
delayIntervals = [0, 40, 80, 160]
lossIntervals = [0, 5, 10]
tcpTestLocation = '../../tcp-clock-station/tcp-clock-station'
udpTestLocation = '../../udp-clock-station/udp-clock-station'
rrtcpTestLocation = '../../rrtcp-clock-station/rrtcp-clock-station'
| 34 | 67 | 0.705882 | 33 | 272 | 5.818182 | 0.575758 | 0.375 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048 | 0.080882 | 272 | 7 | 68 | 38.857143 | 0.72 | 0.058824 | 0 | 0 | 0 | 0 | 0.498039 | 0.498039 | 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 | 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 |
7ac38b1819bc104a5d49dcb51d8e4ee6e16604cf | 283 | py | Python | stacklog/__init__.py | appgurung/StackLogPython | fea5d253957e8ed0a523444130ed629e4e6a456e | [
"MIT"
] | null | null | null | stacklog/__init__.py | appgurung/StackLogPython | fea5d253957e8ed0a523444130ed629e4e6a456e | [
"MIT"
] | null | null | null | stacklog/__init__.py | appgurung/StackLogPython | fea5d253957e8ed0a523444130ed629e4e6a456e | [
"MIT"
] | null | null | null | from .stacklog import StackLogHandler
__all__ = ['StackLogHandler']
# Publish this class to the "logging.handlers" module so that it can be use
# from a logging config file via logging.config.fileConfig().
import logging.handlers
logging.handlers.StackLogHandler = StackLogHandler
| 31.444444 | 75 | 0.80212 | 36 | 283 | 6.194444 | 0.666667 | 0.201794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127208 | 283 | 8 | 76 | 35.375 | 0.902834 | 0.469965 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
7ac604b4287de5eb41e0d6a3b3caab1993d49488 | 142 | py | Python | setup.py | SanjoSolutions/gym-street-fighter-v | b1d84cebfbe83a0ed6b199be79b9386e61674d2b | [
"Unlicense"
] | null | null | null | setup.py | SanjoSolutions/gym-street-fighter-v | b1d84cebfbe83a0ed6b199be79b9386e61674d2b | [
"Unlicense"
] | null | null | null | setup.py | SanjoSolutions/gym-street-fighter-v | b1d84cebfbe83a0ed6b199be79b9386e61674d2b | [
"Unlicense"
] | null | null | null | from setuptools import setup
setup(
name='gym_street_fighter_v',
version='0.1.0',
install_requires=['gym', 'pymem', 'pywin32']
)
| 17.75 | 48 | 0.669014 | 19 | 142 | 4.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0.169014 | 142 | 7 | 49 | 20.285714 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7acce1e7a224cbc69514412999815741ffdda749 | 159 | py | Python | script/readme.py | rutgerhofste/raster_income_levels | 99e6556a29b412589ef1adc84765f00aa0028688 | [
"MIT"
] | null | null | null | script/readme.py | rutgerhofste/raster_income_levels | 99e6556a29b412589ef1adc84765f00aa0028688 | [
"MIT"
] | null | null | null | script/readme.py | rutgerhofste/raster_income_levels | 99e6556a29b412589ef1adc84765f00aa0028688 | [
"MIT"
] | null | null | null |
# coding: utf-8
# ## Script Order
#
#
# 1. **Y2019M07D02_RH_Covert_PBL_Data_Geotiff_V01**
# Convert PBL asci rasters to geotiff using rasterio.
#
#
| 14.454545 | 56 | 0.672956 | 21 | 159 | 4.809524 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 0.213836 | 159 | 10 | 57 | 15.9 | 0.712 | 0.855346 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7aeacfcd93badcfdac3a98c0f31b46be313b71d2 | 828 | py | Python | gui/views/placeholder.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | gui/views/placeholder.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | gui/views/placeholder.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | from gui.models.component import MenuComponentModel
from .component import ComponentView
from .drawables.box import Box
from .labeled import LabeledMixin
class Placeholder(ComponentView, LabeledMixin):
def __init__(self, model: MenuComponentModel):
self._model = model
self._regular_color = (.7, .... | 33.12 | 112 | 0.714976 | 99 | 828 | 5.707071 | 0.333333 | 0.127434 | 0.046018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.184783 | 828 | 24 | 113 | 34.5 | 0.832593 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bb583c69f647d3abd71dfc94acba9519b6344352 | 473 | py | Python | influxdbclient03.py | MikePolyakov/neuraluniversity | 908681783128bc6238bc343248055209fc72cf80 | [
"MIT"
] | null | null | null | influxdbclient03.py | MikePolyakov/neuraluniversity | 908681783128bc6238bc343248055209fc72cf80 | [
"MIT"
] | null | null | null | influxdbclient03.py | MikePolyakov/neuraluniversity | 908681783128bc6238bc343248055209fc72cf80 | [
"MIT"
] | null | null | null | # Выполнить команды в influxdb клиенте в терминале
# - Просмотр баз
# show databases
# - Создание базы
# create database first
# - Выбор базы данных
# use first
# - просмотр измерений
# show measurements
# - запись данных
# insert test_m,p1=40,p2=50,data=20 value=1
# insert test_m,p1=40,p2=50,data=20 value=2
# - просмо... | 23.65 | 50 | 0.735729 | 70 | 473 | 4.928571 | 0.6 | 0.043478 | 0.121739 | 0.191304 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0 | 0.045918 | 0.171247 | 473 | 19 | 51 | 24.894737 | 0.834184 | 0.919662 | 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 | 1 | 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 | 0 | 0 | 0 | 3 |
247cae1e4284dcdbb0bbb221fe4e7a7bb677a430 | 5,684 | py | Python | examples/python/tests/test.format.py | abhi3700/libxl | 9f8370083aaf0ac13a4ea3c84d177922da95c543 | [
"RSA-MD"
] | 3 | 2019-02-01T01:21:06.000Z | 2022-03-04T16:45:23.000Z | examples/python/tests/test.format.py | abhi3700/libxl | 9f8370083aaf0ac13a4ea3c84d177922da95c543 | [
"RSA-MD"
] | null | null | null | examples/python/tests/test.format.py | abhi3700/libxl | 9f8370083aaf0ac13a4ea3c84d177922da95c543 | [
"RSA-MD"
] | null | null | null | import unittest
from libxlpy import *
class TestFormat(unittest.TestCase):
def setUp(self):
self.book = Book()
self.format = self.book.addFormat()
def test_font(self):
font = self.format.font()
self.assertEquals(type(font).__name__, 'XLPyFont')
def test_setFont(self):
... | 36.203822 | 79 | 0.707776 | 591 | 5,684 | 6.675127 | 0.170897 | 0.210393 | 0.042586 | 0.063878 | 0.452725 | 0.249937 | 0.027883 | 0.027883 | 0.027883 | 0 | 0 | 0.006876 | 0.18121 | 5,684 | 156 | 80 | 36.435897 | 0.840782 | 0 | 0 | 0.034483 | 0 | 0 | 0.002815 | 0 | 0 | 0 | 0 | 0 | 0.431034 | 1 | 0.215517 | false | 0 | 0.017241 | 0 | 0.241379 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
249c3eaf51d84115694b25eecbabb16bdfc7ae84 | 361 | py | Python | RPG/bot_classes/locations/planets/base_planet.py | JuanShotLC/Negative_Space_Bot | d4c3abe553e9e129bd073c57d2fc4b0038c4e139 | [
"MIT"
] | 1 | 2020-05-17T17:18:07.000Z | 2020-05-17T17:18:07.000Z | RPG/bot_classes/locations/planets/base_planet.py | JuanShotLC/Negative_Space_Bot | d4c3abe553e9e129bd073c57d2fc4b0038c4e139 | [
"MIT"
] | null | null | null | RPG/bot_classes/locations/planets/base_planet.py | JuanShotLC/Negative_Space_Bot | d4c3abe553e9e129bd073c57d2fc4b0038c4e139 | [
"MIT"
] | 1 | 2020-05-07T13:16:22.000Z | 2020-05-07T13:16:22.000Z | class BasePlanet:
def __init__(self, name, description):
self.name = name
self.description = description
self.port = None
def get_info(self):
return f'*{self.name}*\n' \
f'{self.description}'
def start(self, message):
self.port.start(message)
def... | 22.5625 | 42 | 0.578947 | 42 | 361 | 4.761905 | 0.404762 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307479 | 361 | 15 | 43 | 24.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.091413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
249e07228603a365673d7920f3aa50856d501499 | 230 | py | Python | roles/lib_utils/src/class/import.py | andrewklau/openshift-ansible | 7b512bf5fc36ee9ad2df65d8e129aa52c939d98e | [
"Apache-2.0"
] | 2 | 2015-02-04T07:24:39.000Z | 2015-05-03T10:27:56.000Z | roles/lib_utils/src/class/import.py | andrewklau/openshift-ansible | 7b512bf5fc36ee9ad2df65d8e129aa52c939d98e | [
"Apache-2.0"
] | null | null | null | roles/lib_utils/src/class/import.py | andrewklau/openshift-ansible | 7b512bf5fc36ee9ad2df65d8e129aa52c939d98e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# pylint: skip-file
# pylint: disable=wrong-import-order
import json
import os
import re
# pylint: disable=import-error
import ruamel.yaml as yaml
import shutil
from ansible.module_utils.basic import AnsibleModule
| 19.166667 | 52 | 0.8 | 34 | 230 | 5.382353 | 0.676471 | 0.142077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.126087 | 230 | 11 | 53 | 20.909091 | 0.905473 | 0.408696 | 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 |
24a08e2981248e7cf2166485af5b8c547ee40746 | 55 | py | Python | Mundo #01/ex-025-a09-nomepessoas.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | 1 | 2020-06-02T07:31:16.000Z | 2020-06-02T07:31:16.000Z | Mundo #01/ex-025-a09-nomepessoas.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | null | null | null | Mundo #01/ex-025-a09-nomepessoas.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | null | null | null | n = input('Digite seu nome: ')
print(n.find('Sousa'))
| 13.75 | 30 | 0.618182 | 9 | 55 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 31 | 18.333333 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
24a175eb3a2dbfc48492c1feb19b4ce9450e03bc | 218 | py | Python | app/__init__.py | zeroday0619/XenXenXenSe | 5af079e5edde3a6e4a1f5868052480d7b140d87c | [
"MIT"
] | 1 | 2021-04-23T08:56:05.000Z | 2021-04-23T08:56:05.000Z | app/__init__.py | Alex4386/XenXenXenSe | c60e50f26a7c3b306ee3cbb140b3ad7f39c21d93 | [
"MIT"
] | null | null | null | app/__init__.py | Alex4386/XenXenXenSe | c60e50f26a7c3b306ee3cbb140b3ad7f39c21d93 | [
"MIT"
] | null | null | null | from app.controller import Controller
from app.extension import CustomizeLogger
from app.services import Console, Server
from app.settings import Settings
__all__ = ["services", "controller", "settings", "extension"]
| 31.142857 | 61 | 0.802752 | 26 | 218 | 6.576923 | 0.423077 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 218 | 6 | 62 | 36.333333 | 0.881443 | 0 | 0 | 0 | 0 | 0 | 0.16055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
24b7130a2d5fb8ae900da5030acf98040200438a | 327 | py | Python | inheritance/lab/multiple_inheritance_02.py | BoyanPeychinov/object_oriented_programming | a960721c7c17710bd7b151a9025647e953435962 | [
"MIT"
] | null | null | null | inheritance/lab/multiple_inheritance_02.py | BoyanPeychinov/object_oriented_programming | a960721c7c17710bd7b151a9025647e953435962 | [
"MIT"
] | null | null | null | inheritance/lab/multiple_inheritance_02.py | BoyanPeychinov/object_oriented_programming | a960721c7c17710bd7b151a9025647e953435962 | [
"MIT"
] | null | null | null | class Person:
def sleep(self):
return "sleeping..."
class Employee:
def get_fired(self):
return "fired..."
class Teacher(Person, Employee):
def teach(self):
return "teaching..."
gosho = Teacher()
print(Teacher.__mro__)
print(gosho.sleep())
print(gosho.get_fired())
print(gosho.t... | 16.35 | 32 | 0.639144 | 39 | 327 | 5.205128 | 0.410256 | 0.147783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204893 | 327 | 20 | 33 | 16.35 | 0.780769 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0.214286 | 0.642857 | 0.285714 | 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 |
24b9bbf917cc7b52b77b387604f8ac29677a1325 | 400 | py | Python | yowsup/layers/protocol_acks/protocolentities/test_ack.py | rihbyne/yowsup | 06581618fdba54aa51041624e19d5dce64b054ef | [
"MIT"
] | 1 | 2019-12-16T11:00:06.000Z | 2019-12-16T11:00:06.000Z | yowsup/layers/protocol_acks/protocolentities/test_ack.py | pasinit/yowsup | 894007650bf3d75ef7af4a0e57e84dc7cccc4dfe | [
"MIT"
] | null | null | null | yowsup/layers/protocol_acks/protocolentities/test_ack.py | pasinit/yowsup | 894007650bf3d75ef7af4a0e57e84dc7cccc4dfe | [
"MIT"
] | 3 | 2017-08-18T21:24:46.000Z | 2018-09-07T21:07:39.000Z | from yowsup.layers.protocol_acks.protocolentities.ack import AckProtocolEntity
from yowsup.structs import ProtocolTreeNode
from yowsup.structs.protocolentity import ProtocolEntityTest
class AckProtocolEntityTest(ProtocolEntityTest):
def setUp(self):
self.ProtocolEntity = AckProtocolEntity
self.node... | 44.444444 | 96 | 0.785 | 41 | 400 | 7.585366 | 0.536585 | 0.096463 | 0.109325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1225 | 400 | 8 | 97 | 50 | 0.88604 | 0 | 0 | 0 | 0 | 0 | 0.065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 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 |
24c293b68abaca4374f515e28daa8df673fc0d04 | 444 | py | Python | chatbot/multipleChoiceResponseBuilder.py | bastronaut/facebookChatbot | 05bd69c60e0795aff75604ad6a967d95ad1504c7 | [
"MIT"
] | null | null | null | chatbot/multipleChoiceResponseBuilder.py | bastronaut/facebookChatbot | 05bd69c60e0795aff75604ad6a967d95ad1504c7 | [
"MIT"
] | null | null | null | chatbot/multipleChoiceResponseBuilder.py | bastronaut/facebookChatbot | 05bd69c60e0795aff75604ad6a967d95ad1504c7 | [
"MIT"
] | null | null | null | from facebookChatbot.database.sampledata import Sampledata
from facebookChatbot.database.db import Db
from datetime import time, tzinfo, datetime, timedelta
import datetime as dt
import time
import re
import log... | 34.153846 | 95 | 0.617117 | 38 | 444 | 7.105263 | 0.552632 | 0.140741 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 444 | 12 | 96 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0.076577 | 0.065315 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.7 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
24fc223820ed30560ec69c1047f2f1f81c3a48ce | 181 | py | Python | tags/urls.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | null | null | null | tags/urls.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | null | null | null | tags/urls.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | 1 | 2021-09-05T03:42:53.000Z | 2021-09-05T03:42:53.000Z | from django.urls import path
from .views import TagAjaxCreateView
app_name = 'tags'
urlpatterns = [
path('create/ajax/', TagAjaxCreateView.as_view(), name='tag_ajax_new'),
]
| 18.1 | 75 | 0.734807 | 23 | 181 | 5.608696 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138122 | 181 | 9 | 76 | 20.111111 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7007f6770aa283b0db6983dc227b7fb4c8c01662 | 57 | py | Python | apigateway/settings.py | allanice001/djangoapigateway | c35bdc7e7da24de0b19a99d3b3af7f3b7e1bdae7 | [
"MIT"
] | 1 | 2019-11-12T17:40:17.000Z | 2019-11-12T17:40:17.000Z | apigateway/settings.py | allanice001/djangoapigateway | c35bdc7e7da24de0b19a99d3b3af7f3b7e1bdae7 | [
"MIT"
] | null | null | null | apigateway/settings.py | allanice001/djangoapigateway | c35bdc7e7da24de0b19a99d3b3af7f3b7e1bdae7 | [
"MIT"
] | 2 | 2018-09-19T22:09:32.000Z | 2019-02-20T08:05:01.000Z | SERVICE_PREFIX = 's'
SERVICE_PATH = '/' + SERVICE_PREFIX
| 19 | 35 | 0.719298 | 7 | 57 | 5.428571 | 0.571429 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 36 | 28.5 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 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 |
700ec3f3029c42b86b66d07a0b85e50ce95a14fc | 208 | py | Python | picostocks/utils.py | picostocks/python-picostocks | efe42c7d971d4af18f201125e9655fab3d02e1e7 | [
"MIT"
] | null | null | null | picostocks/utils.py | picostocks/python-picostocks | efe42c7d971d4af18f201125e9655fab3d02e1e7 | [
"MIT"
] | 1 | 2019-03-25T05:43:53.000Z | 2019-03-25T05:43:53.000Z | picostocks/utils.py | picostocks/python-picostocks | efe42c7d971d4af18f201125e9655fab3d02e1e7 | [
"MIT"
] | 2 | 2019-08-15T22:12:34.000Z | 2019-12-31T07:56:38.000Z | # -*- coding: utf-8 -*-
import decimal
def float2string(number, precision=18):
return '{0:.{prec}f}'.format(
decimal.Context(prec=100).create_decimal(str(number)),
prec=precision,
)
| 20.8 | 62 | 0.625 | 25 | 208 | 5.16 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047904 | 0.197115 | 208 | 9 | 63 | 23.111111 | 0.724551 | 0.100962 | 0 | 0 | 0 | 0 | 0.064865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 3 |
701448f6a41f7088ac23abcd1fa479f5a046cbf2 | 550 | py | Python | heliosburn/django/hbproject/api/models/__init__.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | null | null | null | heliosburn/django/hbproject/api/models/__init__.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | null | null | null | heliosburn/django/hbproject/api/models/__init__.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | 1 | 2020-09-17T18:19:05.000Z | 2020-09-17T18:19:05.000Z | # from django.conf import settings
# from sqlalchemy import create_engine
# from sqlalchemy.orm import scoped_session
# from sqlalchemy.orm.session import sessionmaker
#
# dbsession = scoped_session(sessionmaker())
# engine = create_engine("postgresql://%s:%s@%s/%s" % (
# settings.DATABASES['default']['USER'],
# ... | 42.307692 | 75 | 0.718182 | 62 | 550 | 6.274194 | 0.483871 | 0.174807 | 0.246787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 550 | 13 | 75 | 42.307692 | 0.802062 | 0.952727 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 3 |
702f9b450510439d3cf2e115a0f4e8dd78072b8b | 69 | py | Python | 01.Fundamentals/_02_Primitie-Data-Types-and-Variables/_05_BooleanVariable.py | VProfirov/Telerik-Academy-Course_Python-version_Homeworks-and-Exams | d8dadce0a3084d466d522292038ef1ff3b876891 | [
"MIT"
] | null | null | null | 01.Fundamentals/_02_Primitie-Data-Types-and-Variables/_05_BooleanVariable.py | VProfirov/Telerik-Academy-Course_Python-version_Homeworks-and-Exams | d8dadce0a3084d466d522292038ef1ff3b876891 | [
"MIT"
] | null | null | null | 01.Fundamentals/_02_Primitie-Data-Types-and-Variables/_05_BooleanVariable.py | VProfirov/Telerik-Academy-Course_Python-version_Homeworks-and-Exams | d8dadce0a3084d466d522292038ef1ff3b876891 | [
"MIT"
] | null | null | null | isFemale = input('Are you a female (y/n)?') == 'y'
print( isFemale )
| 23 | 50 | 0.608696 | 11 | 69 | 3.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 2 | 51 | 34.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.