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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e951acf619bd81394427d8e42721c0b0db717204 | 1,160 | py | Python | Python Part 2 Exercises/Lesson 5 - Lists of Lists.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | Python Part 2 Exercises/Lesson 5 - Lists of Lists.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | Python Part 2 Exercises/Lesson 5 - Lists of Lists.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | """
def generate_list_books(filename):
book_list = []
file_in = open(filename, encoding='utf-8', errors='replace')
file_in.readline()
for line in file_in:
line = line.strip().split(",")
line[2] = float(line[2])
line[3] = int(line[3])
line[4] = int(line[4])
lin... | 21.090909 | 105 | 0.552586 | 178 | 1,160 | 3.410112 | 0.280899 | 0.105437 | 0.072488 | 0.042834 | 0.102142 | 0.102142 | 0.102142 | 0.102142 | 0.102142 | 0.102142 | 0 | 0.045828 | 0.266379 | 1,160 | 55 | 106 | 21.090909 | 0.66745 | 0.984483 | 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 |
e957393d4b094e24e1cea3eeb2c0b3f95ffdaa26 | 427 | py | Python | arc852/file_image_source.py | athenian-robotics/common-robotics-python | a2ede8fb3072cf1baa53672f76081aa6bfde397f | [
"MIT"
] | 1 | 2019-02-20T22:59:59.000Z | 2019-02-20T22:59:59.000Z | arc852/file_image_source.py | athenian-robotics/common-robotics | a2ede8fb3072cf1baa53672f76081aa6bfde397f | [
"MIT"
] | null | null | null | arc852/file_image_source.py | athenian-robotics/common-robotics | a2ede8fb3072cf1baa53672f76081aa6bfde397f | [
"MIT"
] | 1 | 2020-05-23T09:08:42.000Z | 2020-05-23T09:08:42.000Z | import cv2
import arc852.cli_args as cli
from arc852.generic_image_source import GenericImageSource
class FileImageSource(GenericImageSource):
args = [cli.filename]
def __init__(self, filename):
super(FileImageSource, self).__init__()
self.__cv2_img = cv2.imread(filename)
def start(sel... | 19.409091 | 58 | 0.683841 | 51 | 427 | 5.372549 | 0.490196 | 0.080292 | 0.072993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0.236534 | 427 | 21 | 59 | 20.333333 | 0.809816 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.214286 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e985b081be6c314c34518c301b0ad505a26b7801 | 3,136 | py | Python | sources/utils/helpers.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | 1 | 2021-06-23T20:19:45.000Z | 2021-06-23T20:19:45.000Z | sources/utils/helpers.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | null | null | null | sources/utils/helpers.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | null | null | null | #
# MIT License
#
# Copyright (c) 2020 Pablo Rodriguez Nava, @pablintino
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# t... | 34.086957 | 99 | 0.683673 | 407 | 3,136 | 5.017199 | 0.358722 | 0.129285 | 0.150833 | 0.044564 | 0.238981 | 0.215475 | 0.113124 | 0.074927 | 0 | 0 | 0 | 0.001619 | 0.212054 | 3,136 | 91 | 100 | 34.461538 | 0.824767 | 0.350765 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.306122 | false | 0 | 0 | 0.163265 | 0.591837 | 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 |
e98a999d029d498d01b9f015cfa099eed54b6542 | 169 | py | Python | office365/sharepoint/changes/change_web.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/changes/change_web.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/changes/change_web.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.changes.change import Change
class ChangeWeb(Change):
@property
def web_id(self):
return self.properties.get("WebId", None)
| 18.777778 | 54 | 0.715976 | 21 | 169 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.183432 | 169 | 8 | 55 | 21.125 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.029586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e997cf29f1f010ccb03101018c493d5f81b230d9 | 162 | py | Python | main.py | JanAndrosiuk/Movie-Scraper-App | 1702da1a42c723c1c058ae3455a729a9215ed96c | [
"MIT"
] | null | null | null | main.py | JanAndrosiuk/Movie-Scraper-App | 1702da1a42c723c1c058ae3455a729a9215ed96c | [
"MIT"
] | null | null | null | main.py | JanAndrosiuk/Movie-Scraper-App | 1702da1a42c723c1c058ae3455a729a9215ed96c | [
"MIT"
] | null | null | null | from routes import *
from bottle import run
def main():
run(host='localhost', port=8001, debug=True)
return 1
if __name__ == "__main__":
main()
| 11.571429 | 48 | 0.641975 | 22 | 162 | 4.363636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.234568 | 162 | 13 | 49 | 12.461538 | 0.733871 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e99f8d8cd97252231551ad2f188e95f0782f6786 | 770 | py | Python | insights/parsers/tests/test_od_cpu_dma_latency.py | skateman/insights-core | e7cd3001ffc2558757b9e7759dbe27b8b29f4bac | [
"Apache-2.0"
] | 1 | 2021-11-08T16:25:01.000Z | 2021-11-08T16:25:01.000Z | insights/parsers/tests/test_od_cpu_dma_latency.py | ahitacat/insights-core | 0ba58dbe5edceef0bd4a74c1caf6b826381ccda5 | [
"Apache-2.0"
] | null | null | null | insights/parsers/tests/test_od_cpu_dma_latency.py | ahitacat/insights-core | 0ba58dbe5edceef0bd4a74c1caf6b826381ccda5 | [
"Apache-2.0"
] | null | null | null | import doctest
import pytest
from insights.parsers import od_cpu_dma_latency
from insights.parsers.od_cpu_dma_latency import OdCpuDmaLatency
from insights.tests import context_wrap
from insights.parsers import SkipException
CONTENT_OD_CPU_DMA_LATENCY = """
2000000000
"""
CONTENT_OD_CPU_DMA_LATENCY_EMPTY = ""
def... | 27.5 | 88 | 0.801299 | 103 | 770 | 5.592233 | 0.320388 | 0.09375 | 0.203125 | 0.208333 | 0.34375 | 0.305556 | 0.25 | 0.25 | 0 | 0 | 0 | 0.031204 | 0.125974 | 770 | 27 | 89 | 28.518519 | 0.824666 | 0 | 0 | 0 | 0 | 0 | 0.037662 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.105263 | false | 0 | 0.315789 | 0 | 0.421053 | 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 |
e9bcd30273c11fb35ffa8754f17e17af5c1e3785 | 14 | py | Python | login.py | wihop/test27 | a4191ba59d8a2024e1fe440062e9b1cf8b30c2dc | [
"MIT"
] | null | null | null | login.py | wihop/test27 | a4191ba59d8a2024e1fe440062e9b1cf8b30c2dc | [
"MIT"
] | null | null | null | login.py | wihop/test27 | a4191ba59d8a2024e1fe440062e9b1cf8b30c2dc | [
"MIT"
] | null | null | null | num =1
num =3
| 4.666667 | 6 | 0.571429 | 4 | 14 | 2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.285714 | 14 | 2 | 7 | 7 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e9c0895add5899be815b789724f6ac052629fa99 | 117 | py | Python | Artesian/MarketData/_Enum/AggregationRule.py | AndreaCuneo/Artesian.SDK-Python | 1f3528293e2da42d9f1901cd94165464cffab3fc | [
"MIT"
] | null | null | null | Artesian/MarketData/_Enum/AggregationRule.py | AndreaCuneo/Artesian.SDK-Python | 1f3528293e2da42d9f1901cd94165464cffab3fc | [
"MIT"
] | null | null | null | Artesian/MarketData/_Enum/AggregationRule.py | AndreaCuneo/Artesian.SDK-Python | 1f3528293e2da42d9f1901cd94165464cffab3fc | [
"MIT"
] | null | null | null | from enum import Enum
class AggregationRule(Enum):
Undefined = 0
SumAndDivide = 1
AverageAndReplicate = 2 | 23.4 | 28 | 0.726496 | 13 | 117 | 6.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.222222 | 117 | 5 | 29 | 23.4 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
e9c1749005c1906c7c1389f59e2a043db52283c1 | 705 | py | Python | src/ros_say/say.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | src/ros_say/say.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | src/ros_say/say.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | import rospy
from std_msgs.msg import String
def publish_to_topic(msg):
pub = rospy.Publisher('/rossay', String, queue_size=10)
tx = String()
tx.data = msg
pub.publish(tx)
def logdebug(msg, *args, **kwargs):
rospy.logdebug(msg, *args, **kwargs)
publish_to_topic(msg)
def loginfo(msg, *args, *... | 22.03125 | 59 | 0.662411 | 99 | 705 | 4.575758 | 0.262626 | 0.154525 | 0.286976 | 0.225166 | 0.357616 | 0.357616 | 0.357616 | 0.291391 | 0 | 0 | 0 | 0.003454 | 0.178723 | 705 | 31 | 60 | 22.741935 | 0.778929 | 0 | 0 | 0.227273 | 0 | 0 | 0.009957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e9cef6d99b52cc805ec9ac9ce59b259aa3cf54ca | 151 | py | Python | visual_map/apps.py | ig-rudenko/zabbix-map | 84255b133039426426ddbd31dc93c45acb48dcfa | [
"Apache-2.0"
] | null | null | null | visual_map/apps.py | ig-rudenko/zabbix-map | 84255b133039426426ddbd31dc93c45acb48dcfa | [
"Apache-2.0"
] | null | null | null | visual_map/apps.py | ig-rudenko/zabbix-map | 84255b133039426426ddbd31dc93c45acb48dcfa | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class VisualMapConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'visual_map'
| 21.571429 | 56 | 0.768212 | 18 | 151 | 6.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 6 | 57 | 25.166667 | 0.875969 | 0 | 0 | 0 | 0 | 0 | 0.258278 | 0.192053 | 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 |
e9de4762f802e5caf1e5de03911f42c066d117e3 | 359 | py | Python | radiopadre/notebook.py | ratt-ru/radiopadre | 3bf934eba69144d9707777a57da0e827625517a3 | [
"MIT"
] | 9 | 2019-08-08T12:32:20.000Z | 2021-07-06T17:50:35.000Z | radiopadre/notebook.py | ratt-ru/radiopadre | 3bf934eba69144d9707777a57da0e827625517a3 | [
"MIT"
] | 70 | 2019-03-26T12:42:23.000Z | 2022-02-14T13:45:03.000Z | radiopadre/notebook.py | ratt-ru/radiopadre | 3bf934eba69144d9707777a57da0e827625517a3 | [
"MIT"
] | null | null | null | from radiopadre.file import ItemBase, FileBase
from radiopadre.render import render_title, render_url, render_preamble, rich_string, htmlize
class NotebookFile(FileBase):
def __init__(self, *args, **kw):
FileBase.__init__(self, *args, **kw)
@property
def downloadable_url(self):
return rend... | 27.615385 | 93 | 0.735376 | 44 | 359 | 5.681818 | 0.590909 | 0.112 | 0.096 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167131 | 359 | 12 | 94 | 29.916667 | 0.83612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
756eb1cfdd22b5a8264cae58a411306eb270498f | 654 | py | Python | step_impl/vowels_steps.py | almeidh/py-gauge | ad27c01084c002464d953d7996497bdc5f926bf8 | [
"MIT"
] | null | null | null | step_impl/vowels_steps.py | almeidh/py-gauge | ad27c01084c002464d953d7996497bdc5f926bf8 | [
"MIT"
] | null | null | null | step_impl/vowels_steps.py | almeidh/py-gauge | ad27c01084c002464d953d7996497bdc5f926bf8 | [
"MIT"
] | null | null | null | from getgauge.python import step, before_scenario, Messages, DataStoreFactory
from utils.page_factory import PageFactory
# --------------------------
# Gauge step implementations
# --------------------------
@step("The word <word> has <number> vowels.")
def assert_no_of_vowels_in(word, number):
PageFactory.vowe... | 29.727273 | 77 | 0.732416 | 83 | 654 | 5.493976 | 0.445783 | 0.059211 | 0.138158 | 0.177632 | 0.254386 | 0.122807 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0.102446 | 654 | 22 | 78 | 29.727273 | 0.776831 | 0.122324 | 0 | 0 | 0 | 0 | 0.196147 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
759f9a07b3d027653188df371076c4d0240ec9de | 623 | py | Python | src/github/models/user.py | isabella232/SGTM | 3793d78e99f89e5f73bac5c44f9d8a18cac75fbf | [
"MIT"
] | 8 | 2020-12-05T00:13:03.000Z | 2022-01-11T11:35:51.000Z | src/github/models/user.py | Asana/SGTM | 0e9e236980ed68e80e021470da6374945bbac501 | [
"MIT"
] | 12 | 2020-12-14T18:21:21.000Z | 2022-03-29T17:06:20.000Z | src/github/models/user.py | isabella232/SGTM | 3793d78e99f89e5f73bac5c44f9d8a18cac75fbf | [
"MIT"
] | 2 | 2021-06-27T09:32:55.000Z | 2022-02-27T23:17:36.000Z | from typing import Optional, Dict, Any
import copy
class User(object):
def __init__(self, raw_user: Dict[str, Any]):
if "login" not in raw_user or not raw_user["login"].strip():
raise ValueError("User must have a login")
self._raw = copy.deepcopy(raw_user)
def id(self) -> str:
... | 25.958333 | 68 | 0.598716 | 89 | 623 | 4.022472 | 0.359551 | 0.136872 | 0.108939 | 0.094972 | 0.111732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272873 | 623 | 23 | 69 | 27.086957 | 0.790287 | 0 | 0 | 0 | 0 | 0 | 0.075441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.176471 | 0.764706 | 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 |
75d48195c56aae6a2d0f05e4d6ae50ff8c778bf2 | 462 | py | Python | galaxy/main/migrations/0063_remove_deprecated_role_fields.py | tima/galaxy | b371b973e0e9150f3e8b9b08068828b092982f62 | [
"Apache-2.0"
] | null | null | null | galaxy/main/migrations/0063_remove_deprecated_role_fields.py | tima/galaxy | b371b973e0e9150f3e8b9b08068828b092982f62 | [
"Apache-2.0"
] | null | null | null | galaxy/main/migrations/0063_remove_deprecated_role_fields.py | tima/galaxy | b371b973e0e9150f3e8b9b08068828b092982f62 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0062_move_repository_counters'),
]
operations = [
migrations.RemoveField(model_name='role', name='average_score'),
m... | 25.666667 | 73 | 0.686147 | 48 | 462 | 6.3125 | 0.604167 | 0.207921 | 0.257426 | 0.29703 | 0.409241 | 0.409241 | 0.283828 | 0 | 0 | 0 | 0 | 0.013228 | 0.181818 | 462 | 17 | 74 | 27.176471 | 0.78836 | 0.045455 | 0 | 0 | 0 | 0 | 0.189066 | 0.066059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.454545 | 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 |
75e7f7a28483a2bca9b731fbdc2e199a8fa9ea99 | 1,140 | py | Python | dapper/mods/Lorenz63/boc12.py | sebastienbarthelemy/DAPPER | dc92a7339932af059967bd9cf0a473ae9b8d7bf9 | [
"MIT"
] | 1 | 2019-11-12T21:39:00.000Z | 2019-11-12T21:39:00.000Z | dapper/mods/Lorenz63/boc12.py | cecidip/DAPPER | dc92a7339932af059967bd9cf0a473ae9b8d7bf9 | [
"MIT"
] | null | null | null | dapper/mods/Lorenz63/boc12.py | cecidip/DAPPER | dc92a7339932af059967bd9cf0a473ae9b8d7bf9 | [
"MIT"
] | null | null | null | # Reproduce results from Fig 11 of
# M. Bocquet and P. Sakov (2012): "Combining inflation-free and
# iterative ensemble Kalman filters for strongly nonlinear systems"
from dapper.mods.Lorenz63.sak12 import HMM
# The only diff to sak12 is R: boc12 uses 1 and 8, sak12 uses 2 (and 8)
from dapper import *
HMM.Obs.noise.... | 38 | 78 | 0.52193 | 178 | 1,140 | 3.314607 | 0.438202 | 0.122034 | 0.176271 | 0.189831 | 0.311864 | 0.311864 | 0.283051 | 0.20678 | 0.20678 | 0.105085 | 0 | 0.105521 | 0.285088 | 1,140 | 29 | 79 | 39.310345 | 0.618405 | 0.792982 | 0 | 0 | 0 | 0 | 0.02994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f92ea7c0c6d49055dbc619624c3e66a7180dfdb3 | 12,311 | py | Python | UltronRoBo/modules/__aimultilanguage.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | UltronRoBo/modules/__aimultilanguage.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | UltronRoBo/modules/__aimultilanguage.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2021 UltronRoBo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | 36.208824 | 93 | 0.553001 | 1,552 | 12,311 | 4.338918 | 0.160438 | 0.009356 | 0.05643 | 0.018711 | 0.721859 | 0.702406 | 0.689932 | 0.655628 | 0.655628 | 0.647312 | 0 | 0.017762 | 0.268297 | 12,311 | 339 | 94 | 36.315634 | 0.729796 | 0.098124 | 0 | 0.774194 | 0 | 0 | 0.166366 | 0.063571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003584 | false | 0 | 0.028674 | 0.003584 | 0.046595 | 0.014337 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f937fa8c8a16b6213b8f5b89a5b75680e1222f56 | 2,013 | py | Python | worms/criteria/base.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 4 | 2018-01-30T23:13:43.000Z | 2021-02-12T22:36:54.000Z | worms/criteria/base.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 9 | 2018-02-23T00:52:25.000Z | 2022-01-26T00:02:32.000Z | worms/criteria/base.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 4 | 2018-06-28T21:30:14.000Z | 2022-03-30T17:50:42.000Z | import abc
import numpy as np
import homog as hm
from numpy.linalg import inv
from worms.util import jit
Ux = np.array([1, 0, 0, 0])
Uy = np.array([0, 1, 0, 0])
Uz = np.array([0, 0, 1, 0])
class WormCriteria(abc.ABC):
@abc.abstractmethod
def score(self, **kw):
pass
allowed_attributes = (
"last_b... | 23.964286 | 71 | 0.615002 | 282 | 2,013 | 4.216312 | 0.333333 | 0.070648 | 0.030278 | 0.023549 | 0.030278 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018145 | 0.260805 | 2,013 | 83 | 72 | 24.253012 | 0.780914 | 0 | 0 | 0.029851 | 0 | 0 | 0.061103 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.208955 | false | 0.014925 | 0.074627 | 0.104478 | 0.507463 | 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 |
f93ab25dcb9271147e77b194862c6c60e2c15b85 | 1,757 | py | Python | nba_data/data/game.py | jaebradley/nba_data | 30d817bbc1c5474774f97f3800354492e382d206 | [
"MIT"
] | 8 | 2017-01-07T13:32:16.000Z | 2019-08-08T17:36:26.000Z | nba_data/data/game.py | jaebradley/nba_data | 30d817bbc1c5474774f97f3800354492e382d206 | [
"MIT"
] | 72 | 2016-09-01T01:21:07.000Z | 2021-03-25T21:41:38.000Z | nba_data/data/game.py | jaebradley/nba_data | 30d817bbc1c5474774f97f3800354492e382d206 | [
"MIT"
] | 4 | 2016-12-06T10:30:59.000Z | 2021-09-08T21:23:43.000Z | class Game:
def __init__(self, id, match_up):
self.id = id
self.match_up = match_up
def __unicode__(self):
return '{0} - {1}'.format(self.get_additional_unicode(), self.get_base_unicode())
def get_base_unicode(self):
return 'id: {id} | match up: {match_up}'.format(self.id,... | 35.857143 | 119 | 0.704041 | 237 | 1,757 | 4.818565 | 0.139241 | 0.085814 | 0.061296 | 0.105079 | 0.583187 | 0.530648 | 0.364273 | 0.294221 | 0.294221 | 0.294221 | 0 | 0.001404 | 0.188958 | 1,757 | 48 | 120 | 36.604167 | 0.8 | 0 | 0 | 0.30303 | 0 | 0 | 0.141719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.151515 | 0.606061 | 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 |
f945d73dc56bc2c6de0605926d234f912917c5c4 | 192 | py | Python | my_first_webdriver.py | williamholtkamp/unc_webscraping | c9ad7a6a492d050ea646ab5b70c6f351ab99e870 | [
"CC0-1.0"
] | 4 | 2021-02-03T00:33:33.000Z | 2021-04-16T21:58:25.000Z | my_first_webdriver.py | williamholtkamp/unc_webscraping | c9ad7a6a492d050ea646ab5b70c6f351ab99e870 | [
"CC0-1.0"
] | null | null | null | my_first_webdriver.py | williamholtkamp/unc_webscraping | c9ad7a6a492d050ea646ab5b70c6f351ab99e870 | [
"CC0-1.0"
] | 3 | 2020-10-23T18:20:37.000Z | 2021-02-05T12:49:07.000Z | #following script opens up your first webdriver browser and goes to the specified link
from selenium import webdriver
driver = webdriver.Chrome()
driver.get('https://www.google.com/')
| 27.428571 | 87 | 0.760417 | 27 | 192 | 5.407407 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 192 | 6 | 88 | 32 | 0.901235 | 0.442708 | 0 | 0 | 0 | 0 | 0.232323 | 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 |
f94db5537f35a72175a5968d1dcc47b2f6d25ba6 | 311 | py | Python | kosmos/zos/ZosNodes/ZOSVirtual.py | Pishoy/jumpscaleX_threebot | 781e839857fecfa601a31d98d86d304e3a6b3b4e | [
"Apache-2.0"
] | null | null | null | kosmos/zos/ZosNodes/ZOSVirtual.py | Pishoy/jumpscaleX_threebot | 781e839857fecfa601a31d98d86d304e3a6b3b4e | [
"Apache-2.0"
] | 546 | 2019-08-29T11:48:19.000Z | 2020-12-06T07:20:45.000Z | kosmos/zos/ZosNodes/ZOSVirtual.py | Pishoy/jumpscaleX_threebot | 781e839857fecfa601a31d98d86d304e3a6b3b4e | [
"Apache-2.0"
] | 5 | 2019-09-26T14:03:05.000Z | 2020-04-16T08:47:10.000Z | from Jumpscale import j
from .ZOSContainer import ZOSContainers
from .ZOSInstance import ZOSInstance
class ZOSVirtual(ZOSInstance):
"""
is the host which runs a ZOS operating system
is a Virtual Zero-OS running on a virtual service provider
"""
def _init(self, **kwargs):
pass
| 18.294118 | 62 | 0.707395 | 40 | 311 | 5.475 | 0.75 | 0.073059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234727 | 311 | 16 | 63 | 19.4375 | 0.920168 | 0.337621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f983560b381da0021faa8b318c7ecd01b487c63f | 16,051 | py | Python | lib/python3.7/site-packages/gatco_apimanager/views/couchdb.py | teomoney1999/ACT_gatco_project | a804a6348efeab90f3114606cfbc73aaebab63e1 | [
"MIT"
] | null | null | null | lib/python3.7/site-packages/gatco_apimanager/views/couchdb.py | teomoney1999/ACT_gatco_project | a804a6348efeab90f3114606cfbc73aaebab63e1 | [
"MIT"
] | 1 | 2019-11-27T08:58:03.000Z | 2019-11-27T08:58:03.000Z | lib/python3.7/site-packages/gatco_apimanager/views/couchdb.py | teomoney1999/ACT_gatco_project | a804a6348efeab90f3114606cfbc73aaebab63e1 | [
"MIT"
] | 2 | 2019-06-19T07:33:45.000Z | 2021-06-21T08:19:31.000Z | # -*- coding: utf-8 -
import asyncio
# import pymongo
import ujson
import math
# from bson.objectid import ObjectId
from cloudant.query import Query
from gatco.exceptions import GatcoException, ServerError
from gatco.response import json, text, HTTPResponse
from gatco.request import json_loads
from . import ModelView... | 40.842239 | 160 | 0.595041 | 1,767 | 16,051 | 5.253537 | 0.099038 | 0.070882 | 0.027146 | 0.060325 | 0.76527 | 0.727459 | 0.708176 | 0.671119 | 0.671119 | 0.643219 | 0 | 0.005858 | 0.319357 | 16,051 | 392 | 161 | 40.946429 | 0.843844 | 0.051648 | 0 | 0.59 | 0 | 0 | 0.041326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01 | false | 0.003333 | 0.026667 | 0 | 0.203333 | 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 |
f989a8ab7bd4c020ae58199b39d5401abadd08a1 | 357 | py | Python | back/api/management/commands/setcustompassword.py | kalbermattenm/geoshop2 | b1c5c9124248e7df4d4653e9b7cb33590e9d11de | [
"BSD-3-Clause"
] | null | null | null | back/api/management/commands/setcustompassword.py | kalbermattenm/geoshop2 | b1c5c9124248e7df4d4653e9b7cb33590e9d11de | [
"BSD-3-Clause"
] | null | null | null | back/api/management/commands/setcustompassword.py | kalbermattenm/geoshop2 | b1c5c9124248e7df4d4653e9b7cb33590e9d11de | [
"BSD-3-Clause"
] | null | null | null | import os
from django.core.management.base import BaseCommand, CommandError
from django.contrib.auth import get_user_model
UserModel = get_user_model()
class Command(BaseCommand):
def handle(self, *args, **options):
u = UserModel.objects.get(username='admin')
u.set_password(os.environ.get('ADMIN_P... | 29.75 | 65 | 0.722689 | 47 | 357 | 5.361702 | 0.638298 | 0.079365 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 357 | 11 | 66 | 32.454545 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f99e4cafa46fa36cad26a48954e6a140b222dc41 | 501 | py | Python | reqcli/errors.py | shiftinv/reqcli | 3b8fe42bcddf7676bb7d9a70f6bd2a430ae7beb1 | [
"Apache-2.0"
] | null | null | null | reqcli/errors.py | shiftinv/reqcli | 3b8fe42bcddf7676bb7d9a70f6bd2a430ae7beb1 | [
"Apache-2.0"
] | null | null | null | reqcli/errors.py | shiftinv/reqcli | 3b8fe42bcddf7676bb7d9a70f6bd2a430ae7beb1 | [
"Apache-2.0"
] | null | null | null | class ResponseStatusError(Exception):
status: int
def __init__(self, message: str, status: int):
super().__init__(message)
self.status = status
def __reduce__(self): # pragma: no cover
return (type(self), (*self.args, self.status))
class ConfigDependencyError(Exception):
pas... | 16.7 | 54 | 0.686627 | 51 | 501 | 6.509804 | 0.470588 | 0.195783 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215569 | 501 | 29 | 55 | 17.275862 | 0.844784 | 0.031936 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.294118 | 0 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f9a7923e4fcf5836f4c0dbf26f9c1465c820f925 | 49 | py | Python | cst_modeling/__init__.py | swayli94/cst-modeling3d | 3799aec6fa08ae5e9b66760bf0a8c998527f9a8c | [
"MIT"
] | 5 | 2020-11-17T02:24:55.000Z | 2021-12-18T10:12:21.000Z | cst_modeling/__init__.py | swayli94/cst-modeling3d | 3799aec6fa08ae5e9b66760bf0a8c998527f9a8c | [
"MIT"
] | null | null | null | cst_modeling/__init__.py | swayli94/cst-modeling3d | 3799aec6fa08ae5e9b66760bf0a8c998527f9a8c | [
"MIT"
] | 1 | 2021-03-13T16:19:57.000Z | 2021-03-13T16:19:57.000Z | __version__ = "0.1.13"
__name__ = "cst_modeling"
| 16.333333 | 25 | 0.714286 | 7 | 49 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.122449 | 49 | 2 | 26 | 24.5 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0.367347 | 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 |
f9abcb53f8c5b40987eb6b1c02d59e4b4c660b34 | 827 | py | Python | tests/test_data.py | alingse/emoji-chengyu | 2d4436212c1d2899dfc12a1c965ea2ddce9a4aab | [
"MIT"
] | 3 | 2020-04-28T03:25:36.000Z | 2022-01-24T04:52:01.000Z | tests/test_data.py | alingse/emoji-chengyu | 2d4436212c1d2899dfc12a1c965ea2ddce9a4aab | [
"MIT"
] | null | null | null | tests/test_data.py | alingse/emoji-chengyu | 2d4436212c1d2899dfc12a1c965ea2ddce9a4aab | [
"MIT"
] | 1 | 2020-04-28T03:25:49.000Z | 2020-04-28T03:25:49.000Z | import unittest
from emoji_chengyu.data import DefaultChengyuManager
from emoji_chengyu.data import CommonChengyuManager
from emoji_chengyu.data import DefaultEmojiManager
from emoji_chengyu.data import clean_tone
from emoji_chengyu.data import split_pinyin
class TestData(unittest.TestCase):
def test_load_on_... | 30.62963 | 58 | 0.737606 | 107 | 827 | 5.504673 | 0.383178 | 0.076401 | 0.135823 | 0.169779 | 0.29202 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.177751 | 827 | 26 | 59 | 31.807692 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0.067715 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f9b38134648472f5513418f289ad7f59bb4c5113 | 2,017 | py | Python | wlroots/wlr_types/__init__.py | anriha/pywlroots | 13e043fc73b40249d09596f5c26580b1ae55ec54 | [
"NCSA"
] | null | null | null | wlroots/wlr_types/__init__.py | anriha/pywlroots | 13e043fc73b40249d09596f5c26580b1ae55ec54 | [
"NCSA"
] | null | null | null | wlroots/wlr_types/__init__.py | anriha/pywlroots | 13e043fc73b40249d09596f5c26580b1ae55ec54 | [
"NCSA"
] | null | null | null | # Copyright (c) 2019 Sean Vig
from .compositor import Compositor # noqa: F401
from .cursor import Cursor # noqa: F401
from .data_control_v1 import DataControlManagerV1 # noqa: F401
from .data_device_manager import DataDeviceManager # noqa: F401
from .foreign_toplevel_management_v1 import ForeignToplevelManagerV1 ... | 40.34 | 82 | 0.768468 | 242 | 2,017 | 6.256198 | 0.355372 | 0.153236 | 0.198151 | 0.035667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068019 | 0.169063 | 2,017 | 49 | 83 | 41.163265 | 0.835322 | 0.171542 | 0 | 0 | 0 | 0 | 0.032317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.681818 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f9bb4c56c85fe0458266ec52b26fe1dbee6037d6 | 967 | py | Python | tbr_reg/__init__.py | ucl-tbr-group-project/regression | ab02f62cdf83ffc43d9b8e88b0c1833190d65b95 | [
"MIT"
] | null | null | null | tbr_reg/__init__.py | ucl-tbr-group-project/regression | ab02f62cdf83ffc43d9b8e88b0c1833190d65b95 | [
"MIT"
] | null | null | null | tbr_reg/__init__.py | ucl-tbr-group-project/regression | ab02f62cdf83ffc43d9b8e88b0c1833190d65b95 | [
"MIT"
] | null | null | null | from .autoencoders import create_autoencoder
from .autoencoders import train_autoencoder
from .data_utils import load_batches
from .data_utils import encode_data_frame
from .data_utils import x_y_split
from .data_utils import c_d_y_split
from .gans import create_discriminator
from .gans import create_generator
from .... | 32.233333 | 54 | 0.872802 | 153 | 967 | 5.130719 | 0.326797 | 0.084076 | 0.089172 | 0.096815 | 0.084076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101344 | 967 | 29 | 55 | 33.344828 | 0.903337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f9cac33d6aab543b9bb9aaf8d87b105473df95c9 | 33 | py | Python | src/__init__.py | uvraj88/SimpleNetworkService | 9396654f148170f02ce13577a25f8caaa6415a2e | [
"Apache-2.0"
] | null | null | null | src/__init__.py | uvraj88/SimpleNetworkService | 9396654f148170f02ce13577a25f8caaa6415a2e | [
"Apache-2.0"
] | null | null | null | src/__init__.py | uvraj88/SimpleNetworkService | 9396654f148170f02ce13577a25f8caaa6415a2e | [
"Apache-2.0"
] | null | null | null | #init file
__version__ = '1.0.0'
| 11 | 21 | 0.666667 | 6 | 33 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.151515 | 33 | 2 | 22 | 16.5 | 0.535714 | 0.272727 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
ddb24d05ac2913bf9d5467c1c017c03fc1c95ef3 | 8,629 | py | Python | printers/fairresults70.py | simonlet/MissRateSimulator | 89f481a3408d243a61a6907f332e36ca9a2fb45d | [
"MIT"
] | 1 | 2021-05-26T16:03:13.000Z | 2021-05-26T16:03:13.000Z | printers/fairresults70.py | simonlet/MissRateSimulator | 89f481a3408d243a61a6907f332e36ca9a2fb45d | [
"MIT"
] | null | null | null | printers/fairresults70.py | simonlet/MissRateSimulator | 89f481a3408d243a61a6907f332e36ca9a2fb45d | [
"MIT"
] | 3 | 2019-05-27T16:53:28.000Z | 2021-02-07T21:58:11.000Z | import matplotlib
matplotlib.use('Agg')
import matplotlib.patches as mpatches
import random
import math
import numpy as np
import matplotlib.pyplot as plt
import itertools
from matplotlib import rcParams
from matplotlib.backends.backend_pdf import PdfPages
#fileName = 'diffrent_set_size'
fileName = '10tasks_u70'
fo... | 90.831579 | 2,144 | 0.785375 | 1,179 | 8,629 | 5.731128 | 0.373198 | 0.00444 | 0.008288 | 0.00666 | 0.012432 | 0.002664 | 0 | 0 | 0 | 0 | 0 | 0.631055 | 0.069301 | 8,629 | 94 | 2,145 | 91.797872 | 0.21031 | 0.015877 | 0 | 0.04918 | 0 | 0 | 0.024079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.147541 | 0 | 0.147541 | 0.016393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ddba631bac0c4624ecd16301bbc93a45be5e7b6a | 186 | py | Python | setup.py | uptrace/uptrace-python | 808ee29e6cecfa561224c4f4387f8a9fb95e85a6 | [
"BSD-2-Clause"
] | 7 | 2020-10-10T09:07:06.000Z | 2022-03-17T14:26:05.000Z | setup.py | uptrace/uptrace-python | 808ee29e6cecfa561224c4f4387f8a9fb95e85a6 | [
"BSD-2-Clause"
] | 31 | 2021-02-23T11:31:15.000Z | 2022-03-21T08:06:12.000Z | setup.py | uptrace/uptrace-python | 808ee29e6cecfa561224c4f4387f8a9fb95e85a6 | [
"BSD-2-Clause"
] | 3 | 2020-11-30T13:36:54.000Z | 2022-02-23T17:37:06.000Z | import os
import setuptools
PKG_INFO = {}
with open(os.path.join("src", "uptrace", "version.py")) as f:
exec(f.read(), PKG_INFO)
setuptools.setup(version=PKG_INFO["__version__"])
| 18.6 | 61 | 0.698925 | 28 | 186 | 4.392857 | 0.642857 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123656 | 186 | 9 | 62 | 20.666667 | 0.754601 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
ddbf0cbb40263312c451826ff2e69b53928d7416 | 60 | py | Python | package_updater/__init__.py | superlevure/package_updater | df80df23bd24fb3856cf723081ac4a68f2c412e3 | [
"MIT"
] | null | null | null | package_updater/__init__.py | superlevure/package_updater | df80df23bd24fb3856cf723081ac4a68f2c412e3 | [
"MIT"
] | null | null | null | package_updater/__init__.py | superlevure/package_updater | df80df23bd24fb3856cf723081ac4a68f2c412e3 | [
"MIT"
] | null | null | null | from .package_updater import Update
__version__ = "0.0.3"
| 12 | 35 | 0.75 | 9 | 60 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 60 | 4 | 36 | 15 | 0.72549 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 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 |
ddc06c65eb1a2f3358dc1d1c80fb8211ee59e6a3 | 445 | py | Python | polyaxon/api/index/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/api/index/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/api/index/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.response import Response
from rest_framework.throttling import AnonRateThrottle
from rest_framework.views import APIView
class HealthRateThrottle(AnonRateThrottle):
scope = 'health'
class HealthView(APIView):
authentication_classes = ()
throttle_clas... | 26.176471 | 54 | 0.782022 | 49 | 445 | 6.938776 | 0.571429 | 0.094118 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007895 | 0.146067 | 445 | 16 | 55 | 27.8125 | 0.886842 | 0 | 0 | 0 | 0 | 0 | 0.013483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ddcca3c42effd1a86ff82fad018297ec94ad1127 | 138 | py | Python | test/resources/inspectors/python/case3_redefining_builtin.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 18 | 2020-10-05T16:48:11.000Z | 2022-03-22T04:15:38.000Z | test/resources/inspectors/python/case3_redefining_builtin.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 60 | 2020-10-05T17:01:05.000Z | 2022-01-27T12:46:14.000Z | test/resources/inspectors/python/case3_redefining_builtin.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 6 | 2021-02-09T09:31:19.000Z | 2021-08-13T07:45:51.000Z | a = int(input())
b = int(input())
range = range(a, b + 1)
list = list(filter(lambda x: x % 3 == 0, range))
print(sum(list) / len(list))
| 17.25 | 48 | 0.572464 | 25 | 138 | 3.16 | 0.6 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.195652 | 138 | 7 | 49 | 19.714286 | 0.684685 | 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 |
ddd7affd6e7048e92218de8726cda8982eeb56a1 | 110 | py | Python | nbconvert_reportlab/__init__.py | takluyver/nbconvert-reportlab | 8f921dcd7fb441c2555642d7364b011d4711aaf3 | [
"MIT"
] | 13 | 2016-09-29T17:28:26.000Z | 2019-09-09T15:08:47.000Z | nbconvert_reportlab/__init__.py | takluyver/nbconvert-reportlab | 8f921dcd7fb441c2555642d7364b011d4711aaf3 | [
"MIT"
] | 4 | 2016-09-29T17:45:02.000Z | 2017-11-15T09:31:55.000Z | nbconvert_reportlab/__init__.py | takluyver/nbconvert-reportlab | 8f921dcd7fb441c2555642d7364b011d4711aaf3 | [
"MIT"
] | 3 | 2016-12-06T10:13:59.000Z | 2019-11-29T09:46:49.000Z | """Convert notebooks to PDF using Reportlab
"""
__version__ = '0.2'
from .exporter import ReportlabExporter
| 15.714286 | 43 | 0.754545 | 13 | 110 | 6.076923 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 110 | 6 | 44 | 18.333333 | 0.819149 | 0.363636 | 0 | 0 | 0 | 0 | 0.047619 | 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 |
ddd93cb01b6f286d2cf3bf053ca404d9d463910d | 270 | py | Python | classes/angle.py | KenNewcomb/Topologist | 8e3faffdb1945ca355b1667aaae48a51df930de1 | [
"MIT"
] | 3 | 2015-07-15T18:42:51.000Z | 2019-05-01T10:52:57.000Z | classes/angle.py | KenNewcomb/Topologist | 8e3faffdb1945ca355b1667aaae48a51df930de1 | [
"MIT"
] | null | null | null | classes/angle.py | KenNewcomb/Topologist | 8e3faffdb1945ca355b1667aaae48a51df930de1 | [
"MIT"
] | null | null | null | # angle.py: A class describing an angle between three atoms.
class Angle:
atom1 = ""
atom2 = ""
atom3 = ""
angle = 0.0
def __init__(self, atom1, atom2, atom3, angle):
self.atom1 = atom1
self.atom2 = atom2
self.atom3 = atom3
self.angle = angle
| 19.285714 | 60 | 0.62963 | 37 | 270 | 4.486486 | 0.432432 | 0.120482 | 0.180723 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069652 | 0.255556 | 270 | 13 | 61 | 20.769231 | 0.756219 | 0.214815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ddecb00af4970d6b0bfa6886415e8136f7d81a95 | 159 | py | Python | EfficientCoding/Assignment-6-shooting.py | vikbehal/Explore | b35948d8a6894647df3ee462746475f7e66f78f8 | [
"MIT"
] | 3 | 2019-01-29T06:33:34.000Z | 2022-01-26T20:01:04.000Z | EfficientCoding/Assignment-6-shooting.py | vikbehal/Explore | b35948d8a6894647df3ee462746475f7e66f78f8 | [
"MIT"
] | null | null | null | EfficientCoding/Assignment-6-shooting.py | vikbehal/Explore | b35948d8a6894647df3ee462746475f7e66f78f8 | [
"MIT"
] | 1 | 2022-03-11T10:47:29.000Z | 2022-03-11T10:47:29.000Z | def solve(data):
X, Y, N, W, P1, P2 = data
for _ in range(int(input())):
data = [int(num) for num in input().split(" ")]
print(solve(data)) | 22.714286 | 52 | 0.534591 | 26 | 159 | 3.230769 | 0.653846 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.264151 | 159 | 7 | 53 | 22.714286 | 0.700855 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 |
ddfc17a7986a68754f19910472f7d868a2858c32 | 25 | py | Python | cmsplugin_vimeo/test/__init__.py | rescale/cmsplugin_vimeo | 246fc21755446412924ff67f3bc4c778244cee09 | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_vimeo/test/__init__.py | rescale/cmsplugin_vimeo | 246fc21755446412924ff67f3bc4c778244cee09 | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_vimeo/test/__init__.py | rescale/cmsplugin_vimeo | 246fc21755446412924ff67f3bc4c778244cee09 | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'francesco'
| 12.5 | 24 | 0.76 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 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 |
fb0c8270e934912c80a9f2eda6592537eac1af02 | 1,434 | py | Python | mibs/pycopia/mibs/SNMP_USM_DH_OBJECTS_MIB_OID.py | kdart/pycopia | 1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d | [
"Apache-2.0"
] | 89 | 2015-03-26T11:25:20.000Z | 2022-01-12T06:25:14.000Z | mibs/pycopia/mibs/SNMP_USM_DH_OBJECTS_MIB_OID.py | kdart/pycopia | 1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d | [
"Apache-2.0"
] | 1 | 2015-07-05T03:27:43.000Z | 2015-07-11T06:21:20.000Z | mibs/pycopia/mibs/SNMP_USM_DH_OBJECTS_MIB_OID.py | kdart/pycopia | 1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d | [
"Apache-2.0"
] | 30 | 2015-04-30T01:35:54.000Z | 2022-01-12T06:19:49.000Z | # python
# This file is generated by a program (mib2py).
import SNMP_USM_DH_OBJECTS_MIB
OIDMAP = {
'1.3.6.1.3.101': SNMP_USM_DH_OBJECTS_MIB.snmpUsmDHObjectsMIB,
'1.3.6.1.3.101.1': SNMP_USM_DH_OBJECTS_MIB.usmDHKeyObjects,
'1.3.6.1.3.101.1.1': SNMP_USM_DH_OBJECTS_MIB.usmDHPublicObjects,
'1.3.6.1.3.101.1.2': SNMP_USM_D... | 53.111111 | 78 | 0.778243 | 306 | 1,434 | 3.385621 | 0.133987 | 0.07722 | 0.173745 | 0.30888 | 0.573359 | 0.53668 | 0.472973 | 0.198842 | 0.092664 | 0.092664 | 0 | 0.15625 | 0.040446 | 1,434 | 26 | 79 | 55.153846 | 0.596657 | 0.036262 | 0 | 0 | 1 | 0.363636 | 0.269231 | 0.133527 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 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 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb0d02a5d465c49c56af84ea66d6a3bb2cbf99c5 | 1,105 | py | Python | odp/db/models/client.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 2 | 2021-03-04T07:09:47.000Z | 2022-01-02T19:23:41.000Z | odp/db/models/client.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 18 | 2020-09-16T09:16:45.000Z | 2022-01-25T14:17:42.000Z | odp/db/models/client.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 1 | 2021-06-25T13:02:57.000Z | 2021-06-25T13:02:57.000Z | from sqlalchemy import Column, String, ForeignKey
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.orm import relationship
from odp.db import Base
from odp.db.models.client_scope import ClientScope
class Client(Base):
"""Client application config. The associated scopes
represent ... | 35.645161 | 124 | 0.742986 | 140 | 1,105 | 5.735714 | 0.514286 | 0.059776 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163801 | 1,105 | 30 | 125 | 36.833333 | 0.869048 | 0.247059 | 0 | 0 | 0 | 0 | 0.122373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.333333 | 0.066667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
fb1ba3a5f26babae6c55761357c299747dca3d7d | 1,225 | py | Python | obj/category.py | ArthurBartoli/QuestLog | 96acb8279c067547dc1b44556af6c9fd280284aa | [
"MIT"
] | null | null | null | obj/category.py | ArthurBartoli/QuestLog | 96acb8279c067547dc1b44556af6c9fd280284aa | [
"MIT"
] | null | null | null | obj/category.py | ArthurBartoli/QuestLog | 96acb8279c067547dc1b44556af6c9fd280284aa | [
"MIT"
] | null | null | null | from questlog import QuestLog
class Category():
'''A category is a subfolder of a QuestLog and contains itself another QuestLog'''
def __init__(self, title, ql_title, ql_parent, ql_desc=''):
self.title = title
self.questlog = QuestLog(ql_title, desc=ql_desc)
self.ql_parent = ql_parent
... | 29.166667 | 86 | 0.671837 | 170 | 1,225 | 4.535294 | 0.217647 | 0.093385 | 0.108949 | 0.116732 | 0.403372 | 0.281453 | 0.281453 | 0.281453 | 0.185473 | 0.185473 | 0 | 0 | 0.231837 | 1,225 | 41 | 87 | 29.878049 | 0.819341 | 0.090612 | 0 | 0.25 | 0 | 0 | 0.01355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.035714 | 0.178571 | 0.607143 | 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 |
fb2058691cb76f9bf1b051e83d3299359a200c6c | 397 | py | Python | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/fail/numerictypes.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/fail/numerictypes.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/fail/numerictypes.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 1 | 2021-04-26T22:41:56.000Z | 2021-04-26T22:41:56.000Z | import numpy as np
# Techincally this works, but probably shouldn't. See
#
# https://github.com/numpy/numpy/issues/16366
#
np.maximum_sctype(1) # E: incompatible type "int"
np.issubsctype(1, np.int64) # E: incompatible type "int"
np.issubdtype(1, np.int64) # E: incompatible type "int"
np.find_common_... | 28.357143 | 91 | 0.702771 | 59 | 397 | 4.677966 | 0.525424 | 0.188406 | 0.246377 | 0.217391 | 0.384058 | 0.217391 | 0.217391 | 0.217391 | 0 | 0 | 0 | 0.048048 | 0.161209 | 397 | 13 | 92 | 30.538462 | 0.780781 | 0.564232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb25b3d7a2fe7cd6282ebe55438c530b80c2419e | 517 | py | Python | env/experiments.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | env/experiments.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | env/experiments.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | """
Stores everything needed to write experiments.
"""
__all__ = []
#experiments
from EGGS_labrad.lib.servers.script_scanner.experiment import experiment
__all__.append("experiment")
from EGGS_labrad.lib.servers.script_scanner import experiment_classes
from EGGS_labrad.lib.servers.script_scanner.experiment_classes im... | 30.411765 | 72 | 0.839458 | 67 | 517 | 5.955224 | 0.313433 | 0.100251 | 0.175439 | 0.213033 | 0.478697 | 0.478697 | 0.328321 | 0.235589 | 0 | 0 | 0 | 0 | 0.073501 | 517 | 17 | 73 | 30.411765 | 0.832985 | 0.123791 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fb3693408e7092730e43d1020be124f53cd11da7 | 322 | py | Python | server/project/apps/core/forms.py | CalHoll/9001 | 7fe371346d4fefb7b2434262da67b7e1b18057e4 | [
"MIT"
] | 54 | 2017-01-20T20:05:23.000Z | 2022-02-02T12:34:33.000Z | server/project/apps/core/forms.py | CalHoll/9001 | 7fe371346d4fefb7b2434262da67b7e1b18057e4 | [
"MIT"
] | 104 | 2019-11-25T08:33:52.000Z | 2021-08-02T06:17:19.000Z | server/project/apps/core/forms.py | CalHoll/9001 | 7fe371346d4fefb7b2434262da67b7e1b18057e4 | [
"MIT"
] | 9 | 2017-01-26T05:56:01.000Z | 2018-05-15T16:50:19.000Z | import django_filters
from .models import Playlist, FavoritesList
class PlaylistFilter(django_filters.FilterSet):
class Meta:
model = Playlist
fields = ('user_id', )
class FavoritesListFilter(django_filters.FilterSet):
class Meta:
model = FavoritesList
fields = ('user_id', ... | 18.941176 | 52 | 0.686335 | 32 | 322 | 6.75 | 0.5 | 0.180556 | 0.203704 | 0.25 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232919 | 322 | 16 | 53 | 20.125 | 0.874494 | 0 | 0 | 0.4 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
348dc17ec6bd1a910d2e1f23c9de1eb0677fad7a | 459 | py | Python | hello_world.py | edmund-bishanga/pytest_and_selenium_expts | e6e34e80f5d5bf853ffbbe1d96e567568319b827 | [
"MIT"
] | null | null | null | hello_world.py | edmund-bishanga/pytest_and_selenium_expts | e6e34e80f5d5bf853ffbbe1d96e567568319b827 | [
"MIT"
] | null | null | null | hello_world.py | edmund-bishanga/pytest_and_selenium_expts | e6e34e80f5d5bf853ffbbe1d96e567568319b827 | [
"MIT"
] | null | null | null | #!/usr/bin/python
print("Hello world")
print("GOD LOVES YOU")
print("John 3:16\n")
print("CHRIST JESUS: EMMANUEL...")
print("Full of TRUTH & GRACE")
print("John 1:17\n")
print("Love God: with ALL you are... + the kitchen sink!")
print("Love ya Neighbour: as you already love ya self...")
print("ENJOY THE DISCIPLESHIP... | 21.857143 | 58 | 0.697168 | 68 | 459 | 4.705882 | 0.676471 | 0.05625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014888 | 0.122004 | 459 | 20 | 59 | 22.95 | 0.779156 | 0.034858 | 0 | 0 | 0 | 0 | 0.693182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
349b39884bb881700fb84a1d3950aac605a02b25 | 2,290 | py | Python | tests/test_abc.py | neurobin/python-ocd | 178bc7923e4702a1d90b2b38bc28515921f8553d | [
"BSD-3-Clause"
] | null | null | null | tests/test_abc.py | neurobin/python-ocd | 178bc7923e4702a1d90b2b38bc28515921f8553d | [
"BSD-3-Clause"
] | 1 | 2020-04-26T16:00:32.000Z | 2020-04-26T16:00:32.000Z | tests/test_abc.py | neurobin/python-easyvar | 178bc7923e4702a1d90b2b38bc28515921f8553d | [
"BSD-3-Clause"
] | null | null | null |
import unittest
from ocd import abc
from ocd.prop import Prop
class Test_abc(unittest.TestCase):
def setUp(self):
# init
pass
def tearDown(self):
# destruct
pass
def test_abc_VarConf_NIMP(self): # NIMP: Not Itempemented
class VarConf(abc.VarConf):
... | 28.987342 | 61 | 0.581659 | 260 | 2,290 | 5 | 0.165385 | 0.091538 | 0.169231 | 0.103846 | 0.771538 | 0.736154 | 0.700769 | 0.621538 | 0.506154 | 0.506154 | 0 | 0.000647 | 0.325328 | 2,290 | 78 | 62 | 29.358974 | 0.840777 | 0.023144 | 0 | 0.610169 | 0 | 0 | 0.003586 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 1 | 0.135593 | false | 0.050847 | 0.050847 | 0.067797 | 0.355932 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
34aa5c06330b1d511b424db33ed44e5d7dd8129d | 189 | py | Python | booktest/forms.py | Adolph-Anthony/study_django | 9ba9037107c8b1763bbc449d9d2c14f028ca0672 | [
"MIT"
] | null | null | null | booktest/forms.py | Adolph-Anthony/study_django | 9ba9037107c8b1763bbc449d9d2c14f028ca0672 | [
"MIT"
] | 1 | 2019-07-01T02:21:06.000Z | 2019-07-02T01:12:54.000Z | booktest/forms.py | Adolph-Anthony/study_django | 9ba9037107c8b1763bbc449d9d2c14f028ca0672 | [
"MIT"
] | null | null | null | from django import forms
class BookInfoForm(forms.Form):
btitle = forms.CharField(label='图书名称',required=True,max_length=20)
bpub_date = forms.DateField(label='发型日期',required=True)
| 31.5 | 70 | 0.761905 | 26 | 189 | 5.461538 | 0.769231 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.111111 | 189 | 5 | 71 | 37.8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.042328 | 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 |
34ad2ccb8ea8232aec89a5f71c1d054aa77dc2ad | 13,970 | py | Python | bot/New bot.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | bot/New bot.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | bot/New bot.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | {
"origin": [ "Where in the world am I? #Place#? I should be in prison. ", "#greeting#, remember to thank #Place# for their sacrifice of hosting Trump today! Someone save me.", "I escaped to #Place# but Trumps on my tail! I need help!", "Things I overhear: collusion....Idoit....#Phrase#......", "I'm having a great... | 36.098191 | 2,382 | 0.688332 | 1,826 | 13,970 | 5.271084 | 0.616648 | 0.003325 | 0.002494 | 0.002494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000812 | 0.118754 | 13,970 | 386 | 2,383 | 36.19171 | 0.780278 | 0 | 0 | 0 | 0 | 0.044503 | 0.776473 | 0.002578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34b092edc052b1e0d00c401ee896473f6a64c23d | 283 | py | Python | test_main.py | cupppu/BigDate | 6a9c285bf37dc6f967a23c1e1592fd9c41ed1a71 | [
"MIT"
] | null | null | null | test_main.py | cupppu/BigDate | 6a9c285bf37dc6f967a23c1e1592fd9c41ed1a71 | [
"MIT"
] | null | null | null | test_main.py | cupppu/BigDate | 6a9c285bf37dc6f967a23c1e1592fd9c41ed1a71 | [
"MIT"
] | null | null | null | hour_test = 6
if not args.hr:
hr = convertMonDayHr(hour_test)
elif hour_test < 12:
hr = convertMonDayHr(hour_test)
hr = "上午" + hr
elif hour_test > 12:
hr = convertMonDayHr(hour_test - 12)
hr = "下午" + hr
else:
hr = convertMonDayHr(hour_test)
hr = "下午" + hr | 23.583333 | 40 | 0.632509 | 42 | 283 | 4.095238 | 0.309524 | 0.325581 | 0.488372 | 0.581395 | 0.622093 | 0.453488 | 0.453488 | 0.453488 | 0 | 0 | 0 | 0.033019 | 0.250883 | 283 | 12 | 41 | 23.583333 | 0.778302 | 0 | 0 | 0.416667 | 0 | 0 | 0.021127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34c7cc921e0f9deb40eb8faacd83261dbbe1b439 | 1,026 | py | Python | code/Symbols/Symbol_Table.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/Symbols/Symbol_Table.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/Symbols/Symbol_Table.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | 1 | 2021-12-05T14:00:39.000Z | 2021-12-05T14:00:39.000Z | """
Integrantes:
Nome: Antônio Gustavo Muniz 22.119.001-0
Nome: João Vitor Dias dos Santos 22.119.006-9
Nome: Weverson da Silva Pereira 22.119.004-4
"""
import json
from Symbol import Symbol
class SymbolTable:
""" Class for Symbols tables """
symbol_table = {}
def __init__(self) -... | 22.304348 | 99 | 0.586745 | 123 | 1,026 | 4.715447 | 0.512195 | 0.151724 | 0.113793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039943 | 0.316764 | 1,026 | 45 | 100 | 22.8 | 0.787447 | 0.391813 | 0 | 0.133333 | 0 | 0 | 0.022688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
34ca493c8ac992db65269a12049777595d6a879a | 22 | py | Python | project/openaid/templatetags/__init__.py | DeppSRL/open-aid | 84130761c00600a8523f4f28467d70ad974859cd | [
"BSD-3-Clause"
] | 11 | 2015-09-30T19:08:37.000Z | 2021-11-08T11:18:04.000Z | project/openaid/templatetags/__init__.py | DeppSRL/open-aid | 84130761c00600a8523f4f28467d70ad974859cd | [
"BSD-3-Clause"
] | 3 | 2015-02-07T23:29:00.000Z | 2015-10-19T04:42:20.000Z | project/openaid/templatetags/__init__.py | DeppSRL/open-aid | 84130761c00600a8523f4f28467d70ad974859cd | [
"BSD-3-Clause"
] | 7 | 2016-06-08T10:11:36.000Z | 2022-02-05T14:26:00.000Z | __author__ = 'joke2k'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 22 | 1 | 22 | 22 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 |
34edb633462afc86f41871ccea960661b584383c | 1,247 | py | Python | scrapers/scrapers/spiders/FuseSpider.py | rbbh/Oncase-challenge | b04057ece5354d7bc6221dd7870a1a9693730e32 | [
"MIT"
] | null | null | null | scrapers/scrapers/spiders/FuseSpider.py | rbbh/Oncase-challenge | b04057ece5354d7bc6221dd7870a1a9693730e32 | [
"MIT"
] | null | null | null | scrapers/scrapers/spiders/FuseSpider.py | rbbh/Oncase-challenge | b04057ece5354d7bc6221dd7870a1a9693730e32 | [
"MIT"
] | null | null | null | from datetime import datetime as dt
import scrapy
from scrapers.items import FuseItem
class PostSpider(scrapy.Spider):
name = 'fuse'
allowed_domains = ['fuse.tv']
urls = [
"https://www.fuse.tv/latest#read" # selecionando a url específica que contém as notícias do site
... | 54.217391 | 469 | 0.380914 | 96 | 1,247 | 4.9375 | 0.708333 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003578 | 0.551724 | 1,247 | 22 | 470 | 56.681818 | 0.844365 | 0.097033 | 0 | 0 | 0 | 0 | 0.422974 | 0.051647 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.066667 | 0.2 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
34eff7d809d46eea33078c325514201d7c387481 | 1,279 | py | Python | test/test_SensorPose.py | jcandan/WonderPy | ee82322b082e94015258b34b27f23501f8130fa2 | [
"MIT"
] | 46 | 2018-07-31T20:30:41.000Z | 2022-03-23T17:14:51.000Z | test/test_SensorPose.py | jcandan/WonderPy | ee82322b082e94015258b34b27f23501f8130fa2 | [
"MIT"
] | 24 | 2018-08-01T09:59:29.000Z | 2022-02-26T20:57:51.000Z | test/test_SensorPose.py | jcandan/WonderPy | ee82322b082e94015258b34b27f23501f8130fa2 | [
"MIT"
] | 24 | 2018-08-01T19:14:31.000Z | 2021-02-18T13:26:40.000Z | import unittest
from test.robotTestUtil import RobotTestUtil
class MyTestCase(unittest.TestCase):
def test_pose(self):
robot = RobotTestUtil.make_fake_dash()
packet = {}
packet['2002'] = {
'x' : 1.2,
'y' : 3.4,
'degree': 5.6,
}
... | 28.422222 | 66 | 0.548084 | 128 | 1,279 | 5.359375 | 0.320313 | 0.28863 | 0.367347 | 0.161808 | 0.632653 | 0.501458 | 0.501458 | 0.501458 | 0.501458 | 0.501458 | 0 | 0.043839 | 0.340109 | 1,279 | 44 | 67 | 29.068182 | 0.768957 | 0 | 0 | 0.545455 | 0 | 0 | 0.032056 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.030303 | false | 0 | 0.060606 | 0 | 0.121212 | 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 |
5501ab9251679e9c55580f0c64a632d331a5bc44 | 186 | py | Python | deets.py | lileddie/selfservepwd | abf4a25890a06a48c3e30fa551582fa116a346eb | [
"MIT"
] | null | null | null | deets.py | lileddie/selfservepwd | abf4a25890a06a48c3e30fa551582fa116a346eb | [
"MIT"
] | null | null | null | deets.py | lileddie/selfservepwd | abf4a25890a06a48c3e30fa551582fa116a346eb | [
"MIT"
] | null | null | null | #Passwd file for passwordmanager app
loginpass='windowsADpasswd'
user='domain.name\\username'
passwordReset = 'staticPassword'
new_pass = 'newadpassword'
adServer='adServer.domain.name'
| 26.571429 | 36 | 0.811828 | 20 | 186 | 7.5 | 0.85 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 186 | 6 | 37 | 31 | 0.872093 | 0.188172 | 0 | 0 | 0 | 0 | 0.553333 | 0.14 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.6 | 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 |
5503e7724cf930a5319c0edd5862a02412bfb684 | 1,279 | py | Python | piperoni/operators/base.py | CitrineInformatics/piperoni | a5764e9da3a51da0a8962a00fd574a97b173d9a4 | [
"Apache-2.0"
] | 2 | 2021-04-21T19:51:06.000Z | 2021-04-23T17:57:09.000Z | piperoni/operators/base.py | CitrineInformatics/piperoni | a5764e9da3a51da0a8962a00fd574a97b173d9a4 | [
"Apache-2.0"
] | null | null | null | piperoni/operators/base.py | CitrineInformatics/piperoni | a5764e9da3a51da0a8962a00fd574a97b173d9a4 | [
"Apache-2.0"
] | null | null | null | from functools import reduce
from typing import List
from abc import ABC, abstractmethod
import logging
import pandas as pd
import warnings
"""
This module implements the BaseOperator object.
Operators are applied to inputs using the __call__ python API, which wraps
the `transform` methods implemented for each Ope... | 23.254545 | 79 | 0.657545 | 144 | 1,279 | 5.770833 | 0.534722 | 0.036101 | 0.036101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254105 | 1,279 | 54 | 80 | 23.685185 | 0.871069 | 0.319781 | 0 | 0 | 0 | 0 | 0.008753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.066667 | 0.4 | 0.066667 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
5521ff3fe5fe31c80eacd4765957cf09677868c9 | 3,986 | py | Python | locations/spiders/apple.py | bealbrown/allhours | f750ee7644246a97bd16879f14115d7845f76b89 | [
"MIT"
] | null | null | null | locations/spiders/apple.py | bealbrown/allhours | f750ee7644246a97bd16879f14115d7845f76b89 | [
"MIT"
] | null | null | null | locations/spiders/apple.py | bealbrown/allhours | f750ee7644246a97bd16879f14115d7845f76b89 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
#import json
import re
from locations.hourstudy import inputoutput
class AppleSpider(scrapy.Spider):
name = "apple"
allowed_domains = ["apple.com"]
start_urls = (
'https://www.apple.com/retail/storelist/',
)
def store_hours(self, store_hours):
... | 52.447368 | 160 | 0.561967 | 480 | 3,986 | 4.616667 | 0.258333 | 0.146661 | 0.186823 | 0.162455 | 0.575812 | 0.561372 | 0.554152 | 0.547834 | 0.493682 | 0.452166 | 0 | 0.010091 | 0.204466 | 3,986 | 75 | 161 | 53.146667 | 0.688742 | 0.077772 | 0 | 0 | 0 | 0.22 | 0.398254 | 0.35461 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.06 | 0 | 0.22 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5523c221f96bcb8d726eca4962f30f097b541ff6 | 25 | py | Python | recipes/yolov5_onnx/example.py | notAI-tech/fastDeploy-core | 011f4cba2d2b018efe0a5548978e290225f2e745 | [
"MIT"
] | null | null | null | recipes/yolov5_onnx/example.py | notAI-tech/fastDeploy-core | 011f4cba2d2b018efe0a5548978e290225f2e745 | [
"MIT"
] | 1 | 2020-04-12T13:36:22.000Z | 2020-04-12T13:36:22.000Z | recipes/yolov5_onnx/example.py | notAI-tech/fastDeploy-core | 011f4cba2d2b018efe0a5548978e290225f2e745 | [
"MIT"
] | null | null | null | example = ["zidane.jpg"]
| 12.5 | 24 | 0.64 | 3 | 25 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 |
9b4a540421f9c467216dc50871c7a0aedf1eb26a | 396 | py | Python | NST_Hotbox/W_hotbox/Single/apColorSampler/003.py | CreativeLyons/NST_Hotbox | 48d23a651d9578a70b16bcc2c034de4b3586883f | [
"MIT"
] | null | null | null | NST_Hotbox/W_hotbox/Single/apColorSampler/003.py | CreativeLyons/NST_Hotbox | 48d23a651d9578a70b16bcc2c034de4b3586883f | [
"MIT"
] | null | null | null | NST_Hotbox/W_hotbox/Single/apColorSampler/003.py | CreativeLyons/NST_Hotbox | 48d23a651d9578a70b16bcc2c034de4b3586883f | [
"MIT"
] | null | null | null | #----------------------------------------------------------------------------------------------------------
#
# AUTOMATICALLY GENERATED FILE TO BE USED BY W_HOTBOX
#
# NAME: Bake
# COLOR: #685777
# TEXTCOLOR: #ffffff
#
#----------------------------------------------------------------------------------------------------... | 28.285714 | 107 | 0.305556 | 26 | 396 | 4.615385 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.090909 | 396 | 13 | 108 | 30.461538 | 0.316667 | 0.775253 | 0 | 0 | 1 | 0 | 0.051282 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b7c2fa4b13bd61043410d116386fb2ea45cedc8 | 999 | py | Python | corehq/form_processor/backends/sql/supply.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | null | null | null | corehq/form_processor/backends/sql/supply.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 94 | 2020-12-11T06:57:31.000Z | 2022-03-15T10:24:06.000Z | corehq/form_processor/backends/sql/supply.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | null | null | null | from corehq.apps.commtrack.helpers import make_supply_point
from corehq.form_processor.abstract_models import AbstractSupplyInterface
from corehq.form_processor.backends.sql.dbaccessors import CaseAccessorSQL
class SupplyPointSQL(AbstractSupplyInterface):
@classmethod
def get_or_create_by_location(cls, locat... | 33.3 | 75 | 0.771772 | 122 | 999 | 5.959016 | 0.360656 | 0.121045 | 0.074278 | 0.063274 | 0.154058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168168 | 999 | 29 | 76 | 34.448276 | 0.87485 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.136364 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
32c9887e376278347c4e15e18c18eb75e940bdbd | 269 | py | Python | Appointment/admin.py | CiganOliviu/InfiniteShoot | 14f7fb21e360e3c58876d82ebbe206054c72958e | [
"MIT"
] | 1 | 2021-04-02T16:45:37.000Z | 2021-04-02T16:45:37.000Z | Appointment/admin.py | CiganOliviu/InfiniteShoot-1 | 6322ae34f88caaffc1de29dfa4f6d86d175810a7 | [
"Apache-2.0"
] | null | null | null | Appointment/admin.py | CiganOliviu/InfiniteShoot-1 | 6322ae34f88caaffc1de29dfa4f6d86d175810a7 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Appointment
class AppointmentAdmin(admin.ModelAdmin):
list_display = ('first_name', 'last_name', 'email', 'desired_date', 'sent_moment', 'seen', 'accepted')
admin.site.register(Appointment, AppointmentAdmin)
| 26.9 | 106 | 0.765799 | 31 | 269 | 6.483871 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107807 | 269 | 9 | 107 | 29.888889 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.219331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 |
32d0f3bc24adfab4054c30f3f5e21861d6979f1a | 58 | py | Python | ASCII/t1.py | matewszz/Python | 18b7fc96d3ed294d2002ed484941a0ee8cf18108 | [
"MIT"
] | null | null | null | ASCII/t1.py | matewszz/Python | 18b7fc96d3ed294d2002ed484941a0ee8cf18108 | [
"MIT"
] | null | null | null | ASCII/t1.py | matewszz/Python | 18b7fc96d3ed294d2002ed484941a0ee8cf18108 | [
"MIT"
] | null | null | null | import string
s = 'mary11had a littlee lamb'
print = (s) | 11.6 | 30 | 0.689655 | 9 | 58 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.206897 | 58 | 5 | 31 | 11.6 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
32d857afba3a20329784306fd1db72a9f87339f6 | 440 | py | Python | tests/test_utils_data.py | lucasmfaria/image_classifier | 94e077125ee0c4b7a0cb7d2ff043567a3601a516 | [
"MIT"
] | 7 | 2021-12-11T20:24:57.000Z | 2022-03-03T02:56:32.000Z | tests/test_utils_data.py | lucasmfaria/image_classifier | 94e077125ee0c4b7a0cb7d2ff043567a3601a516 | [
"MIT"
] | null | null | null | tests/test_utils_data.py | lucasmfaria/image_classifier | 94e077125ee0c4b7a0cb7d2ff043567a3601a516 | [
"MIT"
] | null | null | null | import sys
from pathlib import Path
try:
from utils.data import create_aux_dataframe, train_test_valid_split, filter_binary_labels, optimize_dataset, \
delete_folder, create_split
except ModuleNotFoundError:
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from utils.data import creat... | 40 | 114 | 0.795455 | 59 | 440 | 5.525424 | 0.508475 | 0.055215 | 0.079755 | 0.116564 | 0.687117 | 0.687117 | 0.687117 | 0.687117 | 0.687117 | 0.687117 | 0 | 0.002632 | 0.136364 | 440 | 10 | 115 | 44 | 0.855263 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
32d86d992fd5bceca71f38045878ec955f5ec00b | 294 | py | Python | src/rlext/misc.py | kngwyu/rlext | b7e74ba4b440d2c6f98ea79dcd0aab15053fa96a | [
"Apache-2.0"
] | null | null | null | src/rlext/misc.py | kngwyu/rlext | b7e74ba4b440d2c6f98ea79dcd0aab15053fa96a | [
"Apache-2.0"
] | null | null | null | src/rlext/misc.py | kngwyu/rlext | b7e74ba4b440d2c6f98ea79dcd0aab15053fa96a | [
"Apache-2.0"
] | null | null | null | import typing as t
import numpy as np
from gym.spaces import Box
def box_action_scaler(action_space: Box) -> t.Callable[[np.ndarray], np.ndarray]:
shift = action_space.low
scale = action_space.high - action_space.low
return lambda action: scale / (1.0 + np.exp(-action)) + shift
| 26.727273 | 81 | 0.717687 | 47 | 294 | 4.361702 | 0.531915 | 0.214634 | 0.136585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00823 | 0.173469 | 294 | 10 | 82 | 29.4 | 0.835391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 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 |
32f27312c84306f3edb747f0f69983c26b59d778 | 3,586 | py | Python | WebService/app/models.py | CryptoSalamander/DeepFake-Detection | f3b1c95ce1955a4c203a9f3d1279c5fbade66684 | [
"MIT"
] | null | null | null | WebService/app/models.py | CryptoSalamander/DeepFake-Detection | f3b1c95ce1955a4c203a9f3d1279c5fbade66684 | [
"MIT"
] | null | null | null | WebService/app/models.py | CryptoSalamander/DeepFake-Detection | f3b1c95ce1955a4c203a9f3d1279c5fbade66684 | [
"MIT"
] | 1 | 2021-04-11T06:27:48.000Z | 2021-04-11T06:27:48.000Z | from app import db, login
from datetime import datetime
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
user_name = db.Column(db.String(64), unique=True, nullable=False)
... | 38.55914 | 99 | 0.688511 | 502 | 3,586 | 4.782869 | 0.207171 | 0.086631 | 0.108288 | 0.084965 | 0.44898 | 0.356518 | 0.321533 | 0.297376 | 0.244065 | 0.149521 | 0 | 0.006376 | 0.168991 | 3,586 | 92 | 100 | 38.978261 | 0.799329 | 0.041829 | 0 | 0.140625 | 1 | 0 | 0.090643 | 0.02924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140625 | false | 0.09375 | 0.0625 | 0.0625 | 0.84375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fd0445408b4e2ce0f1a5646a132544bebf3d255c | 190 | py | Python | dojotrust/request.py | kipkemoimayor/Dojo_Trust | 34b0dbe8ae056b0747ca3474b558dd65a59eb5b0 | [
"MIT"
] | 2 | 2019-06-08T20:02:40.000Z | 2021-09-30T07:20:57.000Z | dojotrust/request.py | kipkemoimayor/Dojo_Trust | 34b0dbe8ae056b0747ca3474b558dd65a59eb5b0 | [
"MIT"
] | 12 | 2020-02-12T00:31:48.000Z | 2022-02-10T12:04:08.000Z | dojotrust/request.py | kipkemoimayor/Dojo_Trust | 34b0dbe8ae056b0747ca3474b558dd65a59eb5b0 | [
"MIT"
] | null | null | null | import requests
def location():
response=requests.get("http://api.ipstack.com/105.27.206.46?access_key=18220f1e8b17fbf02d95d972679ccfef")
geodata=response.json()
return geodata
| 27.142857 | 109 | 0.763158 | 23 | 190 | 6.26087 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 0.110526 | 190 | 6 | 110 | 31.666667 | 0.680473 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fd17982343a6bf5291fbda21f25004d6079a45a1 | 199 | py | Python | students/K33402/Kondrashov_Egor/LR2/commerce/commerce/urls.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 7 | 2021-09-02T08:20:58.000Z | 2022-01-12T11:48:07.000Z | students/K33402/Kondrashov_Egor/LR2/commerce/commerce/urls.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 76 | 2021-09-17T23:01:50.000Z | 2022-03-18T16:42:03.000Z | students/K33402/Kondrashov_Egor/LR2/commerce/commerce/urls.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 60 | 2021-09-04T16:47:39.000Z | 2022-03-21T04:41:27.000Z | """commerce URL Configuration"""
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path("admin/", admin.site.urls),
path("", include("auctions.urls"))
]
| 22.111111 | 38 | 0.698492 | 24 | 199 | 5.791667 | 0.583333 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145729 | 199 | 8 | 39 | 24.875 | 0.817647 | 0.130653 | 0 | 0 | 0 | 0 | 0.113772 | 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 |
fd3feec3826f9373db9daf6f11ac2a6f5a6d9609 | 431 | py | Python | env/lib/python3.6/site-packages/traits/adaptation/api.py | Raniac/NEURO-LEARN | 3c3acc55de8ba741e673063378e6cbaf10b64c7a | [
"Apache-2.0"
] | 8 | 2019-05-29T09:38:30.000Z | 2021-01-20T03:36:59.000Z | env/lib/python3.6/site-packages/traits/adaptation/api.py | Raniac/neurolearn_dev | 3c3acc55de8ba741e673063378e6cbaf10b64c7a | [
"Apache-2.0"
] | 12 | 2021-03-09T03:01:16.000Z | 2022-03-11T23:59:36.000Z | env/lib/python3.6/site-packages/traits/adaptation/api.py | Raniac/NEURO-LEARN | 3c3acc55de8ba741e673063378e6cbaf10b64c7a | [
"Apache-2.0"
] | 1 | 2020-07-17T12:49:49.000Z | 2020-07-17T12:49:49.000Z | from .adapter import Adapter, PurePythonAdapter
from .adaptation_error import AdaptationError
from .adaptation_manager import (
adapt,
AdaptationManager,
get_global_adaptation_manager,
provides_protocol,
register_factory,
register_offer,
register_provides,
reset_global_adaptation_manag... | 22.684211 | 47 | 0.795824 | 43 | 431 | 7.581395 | 0.488372 | 0.208589 | 0.211656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164733 | 431 | 18 | 48 | 23.944444 | 0.905556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.266667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd41bc6b8352a13522178ab7c7827ca643f6a978 | 3,115 | py | Python | api/users/serializers.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | null | null | null | api/users/serializers.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | 10 | 2020-12-07T08:54:30.000Z | 2022-03-13T12:23:03.000Z | api/users/serializers.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | null | null | null | from rest_framework import serializers
from django.core.validators import RegexValidator
from .models import UserProfile
class UserProfileSerializer(serializers.ModelSerializer):
"""ユーザープロファイルモデル用シリアライザ"""
user = serializers.HiddenField(default=serializers.CurrentUserDefault())
class Meta:
model ... | 40.986842 | 84 | 0.380417 | 156 | 3,115 | 7.5 | 0.358974 | 0.307692 | 0.320513 | 0.300855 | 0.623077 | 0.292308 | 0.208547 | 0.208547 | 0.208547 | 0.208547 | 0 | 0.002446 | 0.47512 | 3,115 | 75 | 85 | 41.533333 | 0.71315 | 0.006421 | 0 | 0.422535 | 0 | 0 | 0.224992 | 0.033668 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042254 | 0 | 0.084507 | 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 |
b5bf923f69b2f1a195f6a2164fbae124f199c868 | 81 | py | Python | moodle/__init__.py | Crissal1995/new_moodle_importer | c068a2dc2f97a6346031ac4e9a6844a98caa1305 | [
"MIT"
] | null | null | null | moodle/__init__.py | Crissal1995/new_moodle_importer | c068a2dc2f97a6346031ac4e9a6844a98caa1305 | [
"MIT"
] | null | null | null | moodle/__init__.py | Crissal1995/new_moodle_importer | c068a2dc2f97a6346031ac4e9a6844a98caa1305 | [
"MIT"
] | null | null | null | from moodle.automator import Automator
__all__ = ["Automator"]
version = "0.1"
| 13.5 | 38 | 0.728395 | 10 | 81 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.148148 | 81 | 5 | 39 | 16.2 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
b5c456a5e8c7aba4885bba955e13589c3d341152 | 1,287 | py | Python | torchmetrics/image/__init__.py | radandreicristian/metrics | 8048c77229f47d82d1adc391407f9cd2f5a8e9fa | [
"Apache-2.0"
] | 2 | 2022-01-20T12:33:18.000Z | 2022-03-25T04:30:02.000Z | torchmetrics/image/__init__.py | radandreicristian/metrics | 8048c77229f47d82d1adc391407f9cd2f5a8e9fa | [
"Apache-2.0"
] | null | null | null | torchmetrics/image/__init__.py | radandreicristian/metrics | 8048c77229f47d82d1adc391407f9cd2f5a8e9fa | [
"Apache-2.0"
] | null | null | null | # Copyright The PyTorch Lightning team.
#
# 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 i... | 44.37931 | 98 | 0.794095 | 163 | 1,287 | 6.208589 | 0.546012 | 0.110672 | 0.124506 | 0.071146 | 0.085968 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020018 | 0.146076 | 1,287 | 28 | 99 | 45.964286 | 0.900819 | 0.485625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b5d70ab09684b20a24edec88af826451e55e1ec4 | 195 | py | Python | services/viewcounts/apps.py | RyanFleck/AuxilliaryWebsiteServices | bcaa6689e567fdf9f20f7f4ea84043aa2b6f1378 | [
"MIT"
] | 1 | 2020-11-11T20:20:42.000Z | 2020-11-11T20:20:42.000Z | services/viewcounts/apps.py | RyanFleck/AuxilliaryWebsiteServices | bcaa6689e567fdf9f20f7f4ea84043aa2b6f1378 | [
"MIT"
] | 17 | 2020-11-09T19:04:04.000Z | 2022-03-01T18:08:42.000Z | services/viewcounts/apps.py | RyanFleck/AuxilliaryWebsiteServices | bcaa6689e567fdf9f20f7f4ea84043aa2b6f1378 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class ViewCountsConfig(AppConfig):
name = "services.viewcounts"
verbose_name = _("View Counts")
| 24.375 | 54 | 0.774359 | 23 | 195 | 6.391304 | 0.782609 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148718 | 195 | 7 | 55 | 27.857143 | 0.885542 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
bd1fb555a3aa55bcecdf98f31894d5a52d697994 | 734 | py | Python | backend/src/data_process/datacleaner.py | AnXi-TieGuanYin-Tea/MusicGenreClassifiaction | a0b9f621b0a5d2451180b12af7681756c5abd138 | [
"MIT"
] | 7 | 2018-05-01T19:39:17.000Z | 2020-01-02T17:11:05.000Z | backend/src/data_process/datacleaner.py | AnXi-TieGuanYin-Tea/MusicGenreClassifiaction | a0b9f621b0a5d2451180b12af7681756c5abd138 | [
"MIT"
] | 10 | 2018-12-10T22:16:43.000Z | 2020-08-27T18:23:45.000Z | backend/src/data_process/datacleaner.py | AnXi-TieGuanYin-Tea/MusicGenreClassifiaction | a0b9f621b0a5d2451180b12af7681756c5abd138 | [
"MIT"
] | 2 | 2021-04-16T08:20:17.000Z | 2022-01-06T14:06:44.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Nov 6 2018
@author: Akihiro Inui
"""
import numpy as np
class DataCleaner:
@staticmethod
def clean_data(input_dataframe):
"""
Replace Inf to NaN, then replace NaN to 0
:param input_dataframe: input pandas dataframe
... | 23.677419 | 74 | 0.637602 | 93 | 734 | 4.903226 | 0.419355 | 0.276316 | 0.201754 | 0.184211 | 0.225877 | 0.225877 | 0.225877 | 0.225877 | 0.225877 | 0.225877 | 0 | 0.018519 | 0.264305 | 734 | 30 | 75 | 24.466667 | 0.825926 | 0.358311 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.444444 | 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 |
bd237c8cc029dc3ff7a07afaffbfd766a6cb00a7 | 205 | py | Python | ontraportlib/controllers/__init__.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | ontraportlib/controllers/__init__.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | ontraportlib/controllers/__init__.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | __all__ = [
'base_controller',
'forms_controller',
'landing_page_controller',
'messages_controller',
'objects_controller',
'tasks_controller',
'transactions_controller',
] | 22.777778 | 31 | 0.668293 | 16 | 205 | 7.8125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214634 | 205 | 9 | 32 | 22.777778 | 0.776398 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0.23 | 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 |
bd3a6e6866b8527ae521f3115fb4c8710b8bf0d2 | 1,185 | py | Python | general/cleanup_py.py | xR86/scripts | a28e4b5011d2629805642b63f97038ede7c0b2e5 | [
"MIT"
] | 1 | 2022-02-05T06:35:14.000Z | 2022-02-05T06:35:14.000Z | general/cleanup_py.py | xR86/scripts | a28e4b5011d2629805642b63f97038ede7c0b2e5 | [
"MIT"
] | 2 | 2017-12-30T10:32:54.000Z | 2021-02-16T23:12:26.000Z | general/cleanup_py.py | xR86/scripts | a28e4b5011d2629805642b63f97038ede7c0b2e5 | [
"MIT"
] | null | null | null | """
Utility functions for finding dependencies locations.
"""
import site
def get_package_install_locations():
'''
There was also this method:
```
from distutils.sysconfig import get_python_lib
print(get_python_lib())
```
'''
return site.getsitepackages()
def recursive_find_peer_deps(find_peerdep):
'''
Call... | 23.7 | 87 | 0.736709 | 171 | 1,185 | 4.824561 | 0.438596 | 0.054545 | 0.082424 | 0.126061 | 0.30303 | 0.233939 | 0.167273 | 0.167273 | 0.167273 | 0.167273 | 0 | 0 | 0.147679 | 1,185 | 49 | 88 | 24.183673 | 0.816832 | 0.547679 | 0 | 0.105263 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.157895 | 0 | 0.526316 | 0.263158 | 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 |
bd404d49ac15baec2549ab59990990528394ae4f | 134 | py | Python | helm/dagster/schema/schema/charts/dagster/subschema/telemetry.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | helm/dagster/schema/schema/charts/dagster/subschema/telemetry.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | helm/dagster/schema/schema/charts/dagster/subschema/telemetry.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | from pydantic import BaseModel, Extra
class Telemetry(BaseModel):
enabled: bool
class Config:
extra = Extra.forbid
| 14.888889 | 37 | 0.69403 | 15 | 134 | 6.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246269 | 134 | 8 | 38 | 16.75 | 0.920792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bd535ff2da475103db73e39bd34a39afb78bca84 | 85 | py | Python | src/hello/__init__.py | SarahDVictoria/hello | e3bdee706acbbc3b5418b005c0d18297caee25e4 | [
"MIT"
] | null | null | null | src/hello/__init__.py | SarahDVictoria/hello | e3bdee706acbbc3b5418b005c0d18297caee25e4 | [
"MIT"
] | null | null | null | src/hello/__init__.py | SarahDVictoria/hello | e3bdee706acbbc3b5418b005c0d18297caee25e4 | [
"MIT"
] | null | null | null | class Hello:
def __init__(self):
while True:
print("Hello!")
| 17 | 27 | 0.517647 | 9 | 85 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364706 | 85 | 4 | 28 | 21.25 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1fadefca45df4102aacb48cc8d6446d9f9d5635c | 186 | py | Python | mysite/scisheets/ui/__init__.py | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 31 | 2016-11-16T22:34:35.000Z | 2022-03-22T22:16:11.000Z | mysite/scisheets/ui/__init__.py | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 6 | 2017-06-24T06:29:36.000Z | 2022-01-23T06:30:01.000Z | mysite/scisheets/ui/__init__.py | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 4 | 2017-07-27T16:23:50.000Z | 2022-03-12T06:36:13.000Z | """
Extends the scitables core to display tables in a browser.
UITable is a rendering independent user API to tables.
DGTable is an API to tables that gets rendered in YUI DataTable
"""
| 31 | 63 | 0.77957 | 31 | 186 | 4.677419 | 0.741935 | 0.068966 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 186 | 5 | 64 | 37.2 | 0.947712 | 0.951613 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1fb5d28b4a894485334890c05e234a77200b449a | 731 | py | Python | model/user_achievement.py | fi-ksi/dashboard-alpha | aaa800d02f78f198a95faf27af2bc8afeca4b867 | [
"MIT"
] | 4 | 2017-12-11T00:14:22.000Z | 2022-02-07T15:08:13.000Z | model/user_achievement.py | fi-ksi/dashboard-alpha | aaa800d02f78f198a95faf27af2bc8afeca4b867 | [
"MIT"
] | 94 | 2016-04-29T10:38:37.000Z | 2022-02-10T13:41:29.000Z | model/user_achievement.py | fi-ksi/dashboard-alpha | aaa800d02f78f198a95faf27af2bc8afeca4b867 | [
"MIT"
] | null | null | null | from sqlalchemy import Column, Integer, ForeignKey
from . import Base
from .user import User
from .achievement import Achievement
from .task import Task
class UserAchievement(Base):
__tablename__ = 'user_achievement'
__table_args__ = {
'mysql_engine': 'InnoDB',
'mysql_charset': 'utf8mb4'
... | 31.782609 | 75 | 0.636115 | 74 | 731 | 6.054054 | 0.378378 | 0.116071 | 0.205357 | 0.167411 | 0.196429 | 0.196429 | 0.196429 | 0.196429 | 0 | 0 | 0 | 0.003745 | 0.269494 | 731 | 22 | 76 | 33.227273 | 0.835206 | 0 | 0 | 0.111111 | 0 | 0 | 0.102599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.277778 | 0 | 0.611111 | 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 |
1fca975aaae74f761eb75ea1f54014d67027a10d | 51,199 | py | Python | library.py | olonok69/TIME_SERIES_MODELING_KERAS | c0e5a6f274d707551e3bcad2d2ccf75b18c39464 | [
"MIT"
] | 1 | 2019-03-14T19:15:32.000Z | 2019-03-14T19:15:32.000Z | library.py | olonok69/TIME_SERIES_MODELING_KERAS | c0e5a6f274d707551e3bcad2d2ccf75b18c39464 | [
"MIT"
] | null | null | null | library.py | olonok69/TIME_SERIES_MODELING_KERAS | c0e5a6f274d707551e3bcad2d2ccf75b18c39464 | [
"MIT"
] | 2 | 2019-03-14T19:15:33.000Z | 2019-05-28T13:12:36.000Z | import os
import sys
import pandas as pd
import numpy as np
import time
import datetime
from sklearn import preprocessing
import matplotlib.pyplot as plt
import matplotlib.pylab as py
#from sklearn import svm
#from sklearn import cross_validation
from sklearn.ensemble import RandomForestClassifier
from sklearn.linear_m... | 41.189863 | 345 | 0.681302 | 7,685 | 51,199 | 4.349382 | 0.083409 | 0.023037 | 0.016335 | 0.028003 | 0.749738 | 0.727599 | 0.706387 | 0.677577 | 0.663396 | 0.608227 | 0 | 0.041242 | 0.157484 | 51,199 | 1,243 | 346 | 41.189863 | 0.733633 | 0.156722 | 0 | 0.546083 | 0 | 0 | 0.084085 | 0.002116 | 0 | 0 | 0 | 0.000805 | 0 | 1 | 0.06682 | false | 0 | 0.03341 | 0 | 0.163594 | 0.072581 | 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 |
1fed36e026cd0d2b241907aec64b4f8af567e6cd | 281 | py | Python | workon/contrib/flow/apps.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/flow/apps.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/flow/apps.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
'''
AppConfig
'''
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class FlowConfig(AppConfig):
name = 'workon.contrib.flow'
label = 'workon_flow'
verbose_name = _("Real time websocket per user backend")
| 18.733333 | 60 | 0.715302 | 35 | 281 | 5.6 | 0.771429 | 0.132653 | 0.193878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004367 | 0.185053 | 281 | 14 | 61 | 20.071429 | 0.851528 | 0.085409 | 0 | 0 | 0 | 0 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1ff649576a8cbdf7535a2184c084d671c12547fa | 655 | py | Python | viewmodels/reserve/detail.py | computablelabs/compas | fbde4e2ef61ebadc5ffd6453bff60f678e6002d6 | [
"MIT"
] | 1 | 2019-10-24T19:16:10.000Z | 2019-10-24T19:16:10.000Z | viewmodels/reserve/detail.py | computablelabs/compas | fbde4e2ef61ebadc5ffd6453bff60f678e6002d6 | [
"MIT"
] | 7 | 2019-10-31T14:55:07.000Z | 2019-12-11T19:29:15.000Z | viewmodels/reserve/detail.py | computablelabs/compas | fbde4e2ef61ebadc5ffd6453bff60f678e6002d6 | [
"MIT"
] | null | null | null | from models.reserve import Reserve
from viewmodels.viewmodel import ViewModel
class Detail(ViewModel):
def __init__(self):
self.model = Reserve()
def get_support_price(self):
return str(self.model.get_support_price())
def get_withdrawal_proceeds(self, addr=None):
# assure was not ... | 28.478261 | 66 | 0.677863 | 85 | 655 | 5.035294 | 0.376471 | 0.10514 | 0.070093 | 0.084112 | 0.261682 | 0.163551 | 0.163551 | 0 | 0 | 0 | 0 | 0 | 0.221374 | 655 | 22 | 67 | 29.772727 | 0.839216 | 0.051908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
95166d77ef1d248ae094521782f231bf7169cc51 | 244 | py | Python | exercicios_basico/ex007.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex007.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex007.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | # Informe duas notas e sem seguida mostre sua média.
n1 = float(input('Informe a primeira nota: '))
n2 = float(input('Informe a segunda nota: '))
print("As notas do aluno foram {} e {}, logo sua média será {:.2f}".format(n1, n2, (n1 + n2)/2))
| 40.666667 | 96 | 0.663934 | 41 | 244 | 3.95122 | 0.658537 | 0.098765 | 0.209877 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.172131 | 244 | 5 | 97 | 48.8 | 0.762376 | 0.204918 | 0 | 0 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9520483442fea8406fd4ea774a04497e7d71c1d4 | 191 | py | Python | Python/Warmup-2/string_times.py | LucasHenrique-dev/exerc-cios-codingbat | ff92db10387757b9a2e3f72be6b7e51824b1ffa6 | [
"MIT"
] | 2 | 2020-12-09T13:36:44.000Z | 2021-08-16T01:17:16.000Z | Python/Warmup-2/string_times.py | LucasHenrique-dev/exerc-cios-codingbat | ff92db10387757b9a2e3f72be6b7e51824b1ffa6 | [
"MIT"
] | null | null | null | Python/Warmup-2/string_times.py | LucasHenrique-dev/exerc-cios-codingbat | ff92db10387757b9a2e3f72be6b7e51824b1ffa6 | [
"MIT"
] | null | null | null | """
Dada uma String "str", retorne uma nova que será uma cópia "n" vezes da original.
"n" não será negativo.
"""
def string_times(str, n):
return str*n
print(string_times("CASA", 0))
| 15.916667 | 81 | 0.670157 | 32 | 191 | 3.9375 | 0.65625 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.188482 | 191 | 11 | 82 | 17.363636 | 0.806452 | 0.544503 | 0 | 0 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 |
1f05478e54a476705a6251584e74a8a8c92519df | 216 | py | Python | unit2/deterministic_number.py | purelind/MITx-6.00.2x | de92f62c8b0465713077312d66690f47818e7f5b | [
"MIT"
] | null | null | null | unit2/deterministic_number.py | purelind/MITx-6.00.2x | de92f62c8b0465713077312d66690f47818e7f5b | [
"MIT"
] | null | null | null | unit2/deterministic_number.py | purelind/MITx-6.00.2x | de92f62c8b0465713077312d66690f47818e7f5b | [
"MIT"
] | null | null | null | import random
def deterministicNumber():
'''
Deterministically g
:return:
'''
return list(i for i in range(9, 21) if i % 2 == 0)[1]
if __name__ == '__main__':
print(deterministicNumber())
| 15.428571 | 57 | 0.606481 | 26 | 216 | 4.730769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.25463 | 216 | 13 | 58 | 16.615385 | 0.726708 | 0.12963 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1f12240b4d881fdec072311b9da5230ba028c437 | 23 | py | Python | src/__init__.py | sksdutra/RAFPy | d067b23723c7bed1debe096426ae2bc7bd8f2d50 | [
"MIT"
] | null | null | null | src/__init__.py | sksdutra/RAFPy | d067b23723c7bed1debe096426ae2bc7bd8f2d50 | [
"MIT"
] | null | null | null | src/__init__.py | sksdutra/RAFPy | d067b23723c7bed1debe096426ae2bc7bd8f2d50 | [
"MIT"
] | null | null | null | __author__ = 'skdutra'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1f215d1c4e58dfcce168b8ac4f42f6fdcd93d9ef | 179 | py | Python | Crawler/bus/bus-crawalData.py | AlbatrossBill/COSC4P02Project | c48682c014ab9de4847d46cffc710d386db93c0f | [
"MIT"
] | 4 | 2022-01-15T22:04:06.000Z | 2022-01-24T01:46:46.000Z | Crawler/bus/bus-crawalData.py | AlbatrossBill/COSC4P02Project | c48682c014ab9de4847d46cffc710d386db93c0f | [
"MIT"
] | null | null | null | Crawler/bus/bus-crawalData.py | AlbatrossBill/COSC4P02Project | c48682c014ab9de4847d46cffc710d386db93c0f | [
"MIT"
] | 1 | 2022-01-24T01:31:57.000Z | 2022-01-24T01:31:57.000Z | import requests
from bs4 import BeautifulSoup
url = "http://whereis.yourbus.com/bustime/api/v3/getroutes?key=n3YEcYp545e55YhAVG65m9CKZ"
doc = requests.get(url)
print(doc.text)
| 19.888889 | 89 | 0.793296 | 24 | 179 | 5.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067485 | 0.089385 | 179 | 8 | 90 | 22.375 | 0.803681 | 0 | 0 | 0 | 0 | 0 | 0.452514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1f69e1a328f31bb36fa1655ff8885266e5f40852 | 590 | py | Python | vae-jiali/models/base.py | haehn/dicompute | ee4364aaa1258a370bd62bbaf6e577936bf463b3 | [
"MIT"
] | null | null | null | vae-jiali/models/base.py | haehn/dicompute | ee4364aaa1258a370bd62bbaf6e577936bf463b3 | [
"MIT"
] | null | null | null | vae-jiali/models/base.py | haehn/dicompute | ee4364aaa1258a370bd62bbaf6e577936bf463b3 | [
"MIT"
] | null | null | null | import torch.nn as nn
from abc import abstractmethod
class BaseVAE(nn.Module):
def __init__(self):
super(BaseVAE, self).__init__()
def encode(self, input):
raise NotImplementedError
def decode(self, inputs):
raise NotImplementedError
def sample(self, batch_size, current_... | 21.071429 | 59 | 0.650847 | 63 | 590 | 5.920635 | 0.52381 | 0.193029 | 0.144772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257627 | 590 | 27 | 60 | 21.851852 | 0.851598 | 0 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0.105263 | 0.105263 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1f8eedf3a72903aab2d7d5efd63db57c9070f34c | 2,314 | py | Python | tests/test_client.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 3 | 2015-10-16T07:45:38.000Z | 2016-05-19T18:11:42.000Z | tests/test_client.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 35 | 2015-08-29T17:33:05.000Z | 2021-06-06T15:53:52.000Z | tests/test_client.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 10 | 2015-08-29T17:33:51.000Z | 2021-06-04T20:54:56.000Z | import pykazoo.client
from unittest import TestCase
from pykazoo.accounts import Accounts
from pykazoo.agents import Agents
from pykazoo.authentication import Authentication
from pykazoo.callflows import Callflows
from pykazoo.cdrs import CDRs
from pykazoo.clicktocalls import ClickToCalls
from pykazoo.conferences impor... | 42.851852 | 79 | 0.775713 | 294 | 2,314 | 6.088435 | 0.156463 | 0.128492 | 0.172067 | 0.24581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002593 | 0.166811 | 2,314 | 53 | 80 | 43.660377 | 0.92583 | 0 | 0 | 0 | 0 | 0 | 0.010804 | 0 | 0 | 0 | 0 | 0 | 0.44 | 1 | 0.04 | false | 0 | 0.48 | 0 | 0.54 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2f0d09da507f82170b9b07b9d8bfdbfef8c502f1 | 255 | py | Python | src/apps/eggs/__init__.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | src/apps/eggs/__init__.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | src/apps/eggs/__init__.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | """
Put here common independent stuff,
such as utilities, management commands, etc.,
what can not belong to any app.
DO NOT let this package to be dump of ugly code.
Putting code here, you rather make an exception,
than an ordinary core organization.
""" | 28.333333 | 48 | 0.764706 | 42 | 255 | 4.642857 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172549 | 255 | 9 | 49 | 28.333333 | 0.924171 | 0.968627 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2f1885b7f5cc551f3e75a35ef649ca09ab6b0266 | 111 | py | Python | Flask/8_context.py | hive-sql-parser/feitian | d9ff89e18c3604590152b64255409d8760f780b9 | [
"BSD-3-Clause"
] | null | null | null | Flask/8_context.py | hive-sql-parser/feitian | d9ff89e18c3604590152b64255409d8760f780b9 | [
"BSD-3-Clause"
] | null | null | null | Flask/8_context.py | hive-sql-parser/feitian | d9ff89e18c3604590152b64255409d8760f780b9 | [
"BSD-3-Clause"
] | null | null | null | from flask import Flask
@app.route("/index")
#线程局部变量 request
def index():
request.form.get("name")
| 10.090909 | 28 | 0.648649 | 15 | 111 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198198 | 111 | 10 | 29 | 11.1 | 0.808989 | 0.126126 | 0 | 0 | 0 | 0 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2f3282d19a5398ad14bbc14278ef21323ad8ffc8 | 24 | py | Python | src/MQTTLibrary/version.py | NikoHeikki/robotframework-mqttlibrary | b35614b412287aa4b3cb7082fb2048406f1e5e2a | [
"Apache-2.0"
] | 19 | 2015-02-23T22:53:00.000Z | 2022-03-21T12:08:36.000Z | src/MQTTLibrary/version.py | NikoHeikki/robotframework-mqttlibrary | b35614b412287aa4b3cb7082fb2048406f1e5e2a | [
"Apache-2.0"
] | 23 | 2015-04-22T22:40:14.000Z | 2022-03-22T07:56:10.000Z | src/MQTTLibrary/version.py | NikoHeikki/robotframework-mqttlibrary | b35614b412287aa4b3cb7082fb2048406f1e5e2a | [
"Apache-2.0"
] | 18 | 2015-04-18T00:33:57.000Z | 2022-01-25T09:47:24.000Z | VERSION = '0.7.1.post3'
| 12 | 23 | 0.625 | 5 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 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 |
2f3cd28ec535972dfd45e901f7c4459e17087223 | 79 | py | Python | sponsor-challenges/csit/part1 source/opcode.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | 6 | 2017-06-26T15:07:19.000Z | 2018-10-09T20:03:27.000Z | sponsor-challenges/csit/part1 source/opcode.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | null | null | null | sponsor-challenges/csit/part1 source/opcode.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | 1 | 2018-08-18T00:49:02.000Z | 2018-08-18T00:49:02.000Z | class opcode(object):
nul = 1
hello = 2
rhello = 130
get = 160
rget = 161
| 11.285714 | 21 | 0.620253 | 13 | 79 | 3.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 0.278481 | 79 | 6 | 22 | 13.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2f3d1c026893da79800202ff6899d5ac3850913b | 221 | py | Python | ifc_builder/__init__.py | amrit3701/ifc-builder | 1c7b9efc09b930a344fa87d3f783c0b6f2178a45 | [
"MIT"
] | 2 | 2019-02-04T06:50:10.000Z | 2020-09-16T07:03:26.000Z | ifc_builder/__init__.py | amrit3701/ifc-builder | 1c7b9efc09b930a344fa87d3f783c0b6f2178a45 | [
"MIT"
] | null | null | null | ifc_builder/__init__.py | amrit3701/ifc-builder | 1c7b9efc09b930a344fa87d3f783c0b6f2178a45 | [
"MIT"
] | 3 | 2018-11-25T16:58:54.000Z | 2020-11-06T10:46:40.000Z | """ ifc_builder package."""
try:
import ifcopenshell
except ModuleNotFoundError:
raise (
"""ifcopenshell module not found. Install it by following
http://www.ifcopenshell.org/python.html"""
)
| 22.1 | 65 | 0.665158 | 23 | 221 | 6.347826 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221719 | 221 | 9 | 66 | 24.555556 | 0.848837 | 0.090498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2f4cdb08f5f2ead8b25be8f465591ba4787e5fe7 | 288 | py | Python | tfp/test/split_test.py | meetulr/DanceTransformer | 37f06db6e6feb22b6c983e103a15d91923f926b5 | [
"Apache-2.0"
] | 2 | 2020-01-06T16:32:01.000Z | 2020-01-06T19:29:33.000Z | tfp/test/split_test.py | meetulr/DanceTransformer | 37f06db6e6feb22b6c983e103a15d91923f926b5 | [
"Apache-2.0"
] | null | null | null | tfp/test/split_test.py | meetulr/DanceTransformer | 37f06db6e6feb22b6c983e103a15d91923f926b5 | [
"Apache-2.0"
] | 2 | 2020-01-06T16:32:01.000Z | 2020-01-09T05:25:14.000Z | import os
import sys
# sys.path.append("../")
print(os.getcwd())
from tfp.config.config import SPLIT_JSON_LOC
# from tfp.utils.Split import Split
def test_config_for_split():
print(SPLIT_JSON_LOC)
if __name__ == "__main__":
print("Running manual test")
test_config_for_split()
| 16 | 44 | 0.743056 | 44 | 288 | 4.454545 | 0.5 | 0.071429 | 0.122449 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 288 | 17 | 45 | 16.941176 | 0.784 | 0.194444 | 0 | 0 | 0 | 0 | 0.117904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.444444 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2f79701bc8f6beb7af5874e5007ec569219fe8e0 | 160 | py | Python | test.py | leon709/KafkaConsole | 426409019bbb764f6e54f9be40ef127e66749972 | [
"BSD-2-Clause"
] | 1 | 2018-10-27T04:17:00.000Z | 2018-10-27T04:17:00.000Z | test.py | leon709/KafkaConsole | 426409019bbb764f6e54f9be40ef127e66749972 | [
"BSD-2-Clause"
] | null | null | null | test.py | leon709/KafkaConsole | 426409019bbb764f6e54f9be40ef127e66749972 | [
"BSD-2-Clause"
] | null | null | null |
from kafka_util import KafkaHelper
with KafkaHelper() as h:
consumer = h.get_consumer('test', 'tp_test1')
consumer.seek(-100, 2)
print 'done!' | 22.857143 | 53 | 0.66875 | 22 | 160 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.20625 | 160 | 7 | 54 | 22.857143 | 0.779528 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2f7a077d7fa671ca8aedb46be19ba3ac1f1dfd23 | 577 | py | Python | tests/utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | tests/utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | 5 | 2021-12-22T19:25:51.000Z | 2022-03-28T19:27:34.000Z | tests/utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | import json
def __read_file(file: str):
f = open("tests/test_data/" + file, "r", encoding="utf-8")
data = f.read()
f.close()
return data
def example_data() -> dict:
d = __read_file("test_inventory.json")
return json.loads(d)
def example_csgo_saved_item_shuffles() -> str:
return __read_... | 19.896552 | 69 | 0.651646 | 84 | 577 | 4.154762 | 0.380952 | 0.091691 | 0.045845 | 0.074499 | 0.217765 | 0.217765 | 0.217765 | 0.217765 | 0.217765 | 0.217765 | 0 | 0.004301 | 0.194107 | 577 | 28 | 70 | 20.607143 | 0.746237 | 0 | 0 | 0.333333 | 0 | 0 | 0.192374 | 0.051993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 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 |
2f92b84df1b6afd8cad84a0ede31079dde751517 | 113 | py | Python | KatesObjectOrientedPython/KatesObjectOrientedPython.py | katejp/ObjectOrientedPythonReference | ffc30e54b8d1e4a3182e388a544887845ca8c20e | [
"CC0-1.0"
] | null | null | null | KatesObjectOrientedPython/KatesObjectOrientedPython.py | katejp/ObjectOrientedPythonReference | ffc30e54b8d1e4a3182e388a544887845ca8c20e | [
"CC0-1.0"
] | null | null | null | KatesObjectOrientedPython/KatesObjectOrientedPython.py | katejp/ObjectOrientedPythonReference | ffc30e54b8d1e4a3182e388a544887845ca8c20e | [
"CC0-1.0"
] | null | null | null | userName = input("What is your name? ")
print("Hello, {}! What can I help you with today?".format(userName))
| 28.25 | 68 | 0.663717 | 17 | 113 | 4.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 3 | 69 | 37.666667 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 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 |
2f9eea24aacd7da67201772b20be8422b02eef84 | 143 | py | Python | config.py | SalN3t/NlpSQL | 2e4db3c26c2175204ec5c27d53e63900384b2e84 | [
"MIT"
] | 10 | 2018-05-26T18:00:09.000Z | 2021-11-07T16:56:28.000Z | config.py | SalN3t/NlpSQL | 2e4db3c26c2175204ec5c27d53e63900384b2e84 | [
"MIT"
] | 1 | 2020-01-14T10:04:03.000Z | 2020-01-14T10:04:03.000Z | config.py | SalN3t/NlpSQL | 2e4db3c26c2175204ec5c27d53e63900384b2e84 | [
"MIT"
] | 4 | 2020-05-27T16:48:06.000Z | 2021-12-12T20:21:07.000Z | db_config = {
'user': '##username##',
'passwd': '##password##',
'host': '##host##',
'db': 'employees',
} | 23.833333 | 33 | 0.377622 | 10 | 143 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34965 | 143 | 6 | 34 | 23.833333 | 0.569892 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 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 |
85d54d8d8a754b97bd6874604c8486c708f81498 | 1,059 | py | Python | __init__.py | pykit3/k3color | e9976906ab09f095b76ee98b8497b5de8d1525f1 | [
"MIT"
] | null | null | null | __init__.py | pykit3/k3color | e9976906ab09f095b76ee98b8497b5de8d1525f1 | [
"MIT"
] | null | null | null | __init__.py | pykit3/k3color | e9976906ab09f095b76ee98b8497b5de8d1525f1 | [
"MIT"
] | 1 | 2021-08-05T09:22:26.000Z | 2021-08-05T09:22:26.000Z | """
k3color creates colored text on terminal.
"""
from .color import Str
from .color import blue
from .color import cyan
from .color import danger
from .color import dark
from .color import fading_color
from .color import green
from .color import loaded
from .color import normal
from .color import optimal
from .color ... | 18.258621 | 41 | 0.679887 | 130 | 1,059 | 5.430769 | 0.292308 | 0.293201 | 0.488669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.216242 | 1,059 | 57 | 42 | 18.578947 | 0.844578 | 0.038716 | 0 | 0 | 0 | 0 | 0.162376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.46 | 0 | 0.46 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
85d5ec3c535f7e3c5e3b20eac8d01c186304a390 | 291 | py | Python | packages/PythonScripts/scripts/func_params_test.py | AndSviat/public | 4677029ca8ad2dcd8a989b6122e8e2bb21454e7c | [
"MIT"
] | null | null | null | packages/PythonScripts/scripts/func_params_test.py | AndSviat/public | 4677029ca8ad2dcd8a989b6122e8e2bb21454e7c | [
"MIT"
] | null | null | null | packages/PythonScripts/scripts/func_params_test.py | AndSviat/public | 4677029ca8ad2dcd8a989b6122e8e2bb21454e7c | [
"MIT"
] | null | null | null | #name: Func Params Test
#description: suggestions, choices and validators test
#language: python
#tags: test, selenium
#input: string country {suggestions: jsSuggestCountryName}
#input: string vegetable {choices: jsVeggies}
#input: double saltiness {validators: ["jsSaltinessRange"]}
| 36.375 | 60 | 0.773196 | 30 | 291 | 7.5 | 0.733333 | 0.097778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127148 | 291 | 7 | 61 | 41.571429 | 0.885827 | 0.927835 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
85e0e5e6f8e96309bc8a05791754a2381ab4196b | 267 | py | Python | app/helper.py | fushouhai/flask | dc057109008a467685e5585ee8101aaa8d6de38d | [
"MIT"
] | null | null | null | app/helper.py | fushouhai/flask | dc057109008a467685e5585ee8101aaa8d6de38d | [
"MIT"
] | null | null | null | app/helper.py | fushouhai/flask | dc057109008a467685e5585ee8101aaa8d6de38d | [
"MIT"
] | null | null | null | from flask import current_app
def jsonable():
# config_now = current_app.config # pay attentin to this point! pointing to the same object!!!
config_now = current_app.config.copy()
config_now.pop('PERMANENT_SESSION_LIFETIME')
return config_now
| 33.375 | 100 | 0.730337 | 37 | 267 | 5.027027 | 0.648649 | 0.193548 | 0.172043 | 0.204301 | 0.268817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 267 | 8 | 101 | 33.375 | 0.861111 | 0.35206 | 0 | 0 | 0 | 0 | 0.154762 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.