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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f83c82b2854821ecea29e65d0f1a177888040b12 | 664 | py | Python | 9/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | 9/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | 9/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | import encoding
def test_is_a_valid_number():
suite = range(1, 26)
assert encoding.is_valid(suite, number=26)
assert not encoding.is_valid(suite, number=50)
suite = range(2, 27)
assert encoding.is_valid(suite, number=49)
suite = list(range(3, 27)) + [49]
assert not encoding.is_valid(suite,... | 33.2 | 132 | 0.743976 | 107 | 664 | 4.280374 | 0.411215 | 0.087336 | 0.131004 | 0.174672 | 0.572052 | 0.572052 | 0.336245 | 0.183406 | 0 | 0 | 0 | 0.070053 | 0.14006 | 664 | 19 | 133 | 34.947368 | 0.732049 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.307692 | 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 |
f83e6afb92776cf88ecbfcf6bbaaa8a747f2ca87 | 1,885 | py | Python | src/feature_score/dbscan-iris.py | rafaelssantos/spas | 77a7610bbde0b12ef6cd77c49bc770f73df8a68d | [
"MIT"
] | null | null | null | src/feature_score/dbscan-iris.py | rafaelssantos/spas | 77a7610bbde0b12ef6cd77c49bc770f73df8a68d | [
"MIT"
] | null | null | null | src/feature_score/dbscan-iris.py | rafaelssantos/spas | 77a7610bbde0b12ef6cd77c49bc770f73df8a68d | [
"MIT"
] | null | null | null | from sklearn.datasets import load_iris
iris = load_iris()
from sklearn.cluster import DBSCAN
dbscan = DBSCAN(eps=0.2, metric='euclidean', min_samples=5)
import numpy
# DBSCAN(eps=0.5, metric='euclidean', min_samples=5,random_state=111)
iris = load_iris()
print (iris.feature_names)
X, y = load_iris(return_X_y=True... | 21.420455 | 69 | 0.605305 | 355 | 1,885 | 3.138028 | 0.2 | 0.156194 | 0.312388 | 0.33842 | 0.533214 | 0.454219 | 0.454219 | 0.454219 | 0.454219 | 0.454219 | 0 | 0.062663 | 0.187268 | 1,885 | 88 | 70 | 21.420455 | 0.664491 | 0.728912 | 0 | 0.153846 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0.153846 | 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 |
f8629f053b33dc3aa311a676b128f20e6b4eedc4 | 217 | py | Python | flow_control/link/mac_control_header.py | jason71319jason/ToolBox | b225afcdfdf34ef03b60d297e812a8737fdc265f | [
"MIT"
] | null | null | null | flow_control/link/mac_control_header.py | jason71319jason/ToolBox | b225afcdfdf34ef03b60d297e812a8737fdc265f | [
"MIT"
] | null | null | null | flow_control/link/mac_control_header.py | jason71319jason/ToolBox | b225afcdfdf34ef03b60d297e812a8737fdc265f | [
"MIT"
] | null | null | null | from scapy.all import *
class MACControlPause(Packet):
name = 'MACControlPause'
fields_desc = [ BitField('op_code',0,16),
BitField('pause_time',0,16)]
bind_layers(Ether, MACControlPause)
| 24.111111 | 48 | 0.663594 | 25 | 217 | 5.6 | 0.8 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.211982 | 217 | 8 | 49 | 27.125 | 0.783626 | 0 | 0 | 0 | 0 | 0 | 0.147465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.666667 | 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 |
f8969b03f915782b3626ea2930f163358cb6563d | 144 | py | Python | phishing-server/app/config.py | vladmustyatsa/PhishingGoogleSite | 98a0c585e54e996ecc90b05b18fc59854bccac2a | [
"MIT"
] | null | null | null | phishing-server/app/config.py | vladmustyatsa/PhishingGoogleSite | 98a0c585e54e996ecc90b05b18fc59854bccac2a | [
"MIT"
] | null | null | null | phishing-server/app/config.py | vladmustyatsa/PhishingGoogleSite | 98a0c585e54e996ecc90b05b18fc59854bccac2a | [
"MIT"
] | null | null | null | import os
class DevelopmentConfig:
DEBUG = True
TELEBOT_TOKEN = os.environ["TELEBOT_TOKEN"]
PROXI_HOST = os.environ['PROXI_HOST']
| 18 | 47 | 0.715278 | 18 | 144 | 5.5 | 0.611111 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 144 | 7 | 48 | 20.571429 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.159722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f8980a7bbe75b85e4526b8ed21428a8d2579acc1 | 268 | py | Python | backend/graminsta/post/admin.py | SPS-2020-Team-15/Graminsta | b2839b0bfc9ffb12379a47800761d6f337d9d183 | [
"Apache-2.0"
] | 1 | 2021-12-13T10:08:01.000Z | 2021-12-13T10:08:01.000Z | backend/graminsta/post/admin.py | SPS-2020-Team-15/Graminsta | b2839b0bfc9ffb12379a47800761d6f337d9d183 | [
"Apache-2.0"
] | 9 | 2020-07-27T12:43:25.000Z | 2020-08-30T07:15:31.000Z | backend/graminsta/post/admin.py | SPS-2020-Team-15/Graminsta | b2839b0bfc9ffb12379a47800761d6f337d9d183 | [
"Apache-2.0"
] | 2 | 2020-07-28T12:03:42.000Z | 2020-07-29T14:37:29.000Z | # -*- coding: UTF-8 -*-
"""admin.py"""
from django.contrib import admin
from .models import (FollowRelationship,
Post,
Comment)
admin.site.register(FollowRelationship)
admin.site.register(Post)
admin.site.register(Comment)
| 20.615385 | 40 | 0.634328 | 28 | 268 | 6.071429 | 0.535714 | 0.158824 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.238806 | 268 | 12 | 41 | 22.333333 | 0.828431 | 0.115672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f898db0a835220d40ba12caa5ae7c1ba9f06eeec | 264 | py | Python | challanges/find_maximum_value_binary_tree/node.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | challanges/find_maximum_value_binary_tree/node.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | challanges/find_maximum_value_binary_tree/node.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | class Node:
"""create a Node"""
def __init__(self, val):
self.val = val
self.left = None
self.right = None
def __repr__(self):
return 'Node Val: {}'.format(self.val)
def __str__(self):
return str(self.val)
| 20.307692 | 46 | 0.545455 | 34 | 264 | 3.882353 | 0.441176 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32197 | 264 | 12 | 47 | 22 | 0.73743 | 0.049242 | 0 | 0 | 0 | 0 | 0.04898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f8a568a2e4c8de8fe0cc0e0042ad9d8098dbcd45 | 81 | py | Python | src/schema/keys.py | null-none/python-hubgridcloud | 4928f351c9c2ae2d20a7fcd07bc9597ab8c9bc68 | [
"MIT"
] | null | null | null | src/schema/keys.py | null-none/python-hubgridcloud | 4928f351c9c2ae2d20a7fcd07bc9597ab8c9bc68 | [
"MIT"
] | null | null | null | src/schema/keys.py | null-none/python-hubgridcloud | 4928f351c9c2ae2d20a7fcd07bc9597ab8c9bc68 | [
"MIT"
] | null | null | null | from schema import Schema
schema_key = Schema({"name": str, "public_key": str})
| 20.25 | 53 | 0.716049 | 12 | 81 | 4.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 54 | 27 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 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 |
f8a6a91acb8481714aac57c6d9f16cf3ff5c5b95 | 849 | py | Python | tech_gallery_bot/domain/user_profile.py | ciandt/tech-gallery-chat-bot | f4c83ab626d829b8c8ce6dd549156224a034aa6d | [
"MIT"
] | 1 | 2020-02-19T14:03:25.000Z | 2020-02-19T14:03:25.000Z | tech_gallery_bot/domain/user_profile.py | ciandt/tech-gallery-chat-bot | f4c83ab626d829b8c8ce6dd549156224a034aa6d | [
"MIT"
] | null | null | null | tech_gallery_bot/domain/user_profile.py | ciandt/tech-gallery-chat-bot | f4c83ab626d829b8c8ce6dd549156224a034aa6d | [
"MIT"
] | 1 | 2020-03-31T15:11:35.000Z | 2020-03-31T15:11:35.000Z | from tech_gallery_bot.domain.user import User
from tech_gallery_bot.domain.user_technology import UserTechnology
class UserProfile:
def __init__(self, user, technologies):
self.user = user
self.technologies = technologies
@classmethod
def from_dict(cls, dict_):
return UserProfile... | 27.387097 | 86 | 0.616019 | 98 | 849 | 4.969388 | 0.295918 | 0.061602 | 0.061602 | 0.073922 | 0.11499 | 0.11499 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265018 | 849 | 30 | 87 | 28.3 | 0.780449 | 0 | 0 | 0 | 0 | 0 | 0.054181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.173913 | 0.521739 | 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 |
f8b59d69a6f284afa118aad1c06d9ba94db5d549 | 762 | py | Python | equip/visitors/classes.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 102 | 2015-01-03T13:51:03.000Z | 2022-02-28T03:56:26.000Z | equip/visitors/classes.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 4 | 2016-12-09T00:31:39.000Z | 2019-07-28T09:48:18.000Z | equip/visitors/classes.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 9 | 2015-05-08T12:17:28.000Z | 2020-12-17T08:20:00.000Z | # -*- coding: utf-8 -*-
"""
equip.visitors.classes
~~~~~~~~~~~~~~~~~~~~~~
Callback the visit method for each encountered class in the program.
:copyright: (c) 2014 by Romain Gaucher (@rgaucher)
:license: Apache 2, see LICENSE for more details.
"""
class ClassVisitor(object):
"""
A class visitor that ... | 23.8125 | 78 | 0.625984 | 86 | 762 | 5.395349 | 0.651163 | 0.051724 | 0.047414 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010327 | 0.237533 | 762 | 31 | 79 | 24.580645 | 0.788296 | 0.783465 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6efefe829537f0398f997c6767c28f1552f2c129 | 150 | py | Python | setup.py | iku-work/m-gym | 772b5495fe1f0a897cb9101f32b7d7042e5a0d9d | [
"MIT"
] | null | null | null | setup.py | iku-work/m-gym | 772b5495fe1f0a897cb9101f32b7d7042e5a0d9d | [
"MIT"
] | null | null | null | setup.py | iku-work/m-gym | 772b5495fe1f0a897cb9101f32b7d7042e5a0d9d | [
"MIT"
] | null | null | null |
from setuptools import setup, find_packages
setup(name='m_gym',
version='0.0.1',
install_requires=['gym','numpy','pathlib', 'uuid']
)
| 15 | 56 | 0.646667 | 20 | 150 | 4.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.173333 | 150 | 9 | 57 | 16.666667 | 0.733871 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 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 |
3e07410c7d37462ead97f5b461b069551c067054 | 1,353 | py | Python | view/textures.py | orthodoxego/self-study-tic-tac-toe-4-4 | cfb0eb31b9ca4206ca256a1f8e9aeb6b620fb1b7 | [
"BSD-3-Clause"
] | null | null | null | view/textures.py | orthodoxego/self-study-tic-tac-toe-4-4 | cfb0eb31b9ca4206ca256a1f8e9aeb6b620fb1b7 | [
"BSD-3-Clause"
] | null | null | null | view/textures.py | orthodoxego/self-study-tic-tac-toe-4-4 | cfb0eb31b9ca4206ca256a1f8e9aeb6b620fb1b7 | [
"BSD-3-Clause"
] | null | null | null | import pygame
from setup import Setup
class Textures:
"""Загружает из файлов и хранит изображения."""
def __init__(self):
self.setup = Setup()
# Клетка
self.cell = pygame.image.load('png/cell.png')
# Выделенная клетка
self.cell_select = pygame.image.load('png/cell_se... | 36.567568 | 100 | 0.626755 | 171 | 1,353 | 4.871345 | 0.292398 | 0.237695 | 0.32413 | 0.388956 | 0.493397 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0.016933 | 0.214339 | 1,353 | 36 | 101 | 37.583333 | 0.766698 | 0.11456 | 0 | 0 | 0 | 0 | 0.239899 | 0.035354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0.047619 | 0.285714 | 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 |
3e307798793668f010ac2d3b7106e57364d6ba32 | 101 | py | Python | python/testData/refactoring/extractmethod/ReturnTuple.before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractmethod/ReturnTuple.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractmethod/ReturnTuple.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def x(p_name, params):
return <selection>p_name + '(' + ', '.join(params) + ')'</selection>, None | 50.5 | 78 | 0.594059 | 13 | 101 | 4.461538 | 0.692308 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 2 | 78 | 50.5 | 0.682353 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e383a404d275498017170981719a58d8880f876 | 2,082 | py | Python | krysztalki/workDir/tests/test matrices/test_matrices_like_2_x0x.py | woblob/Crystal_Symmetry | be2984b4487d6075986ef60822a347d0b0e6b885 | [
"MIT"
] | null | null | null | krysztalki/workDir/tests/test matrices/test_matrices_like_2_x0x.py | woblob/Crystal_Symmetry | be2984b4487d6075986ef60822a347d0b0e6b885 | [
"MIT"
] | null | null | null | krysztalki/workDir/tests/test matrices/test_matrices_like_2_x0x.py | woblob/Crystal_Symmetry | be2984b4487d6075986ef60822a347d0b0e6b885 | [
"MIT"
] | null | null | null | import matrices_new_extended as mne
import numpy as np
import sympy as sp
from equality_check import Point
x, y, z = sp.symbols("x y z")
Point.base_point = np.array([x, y, z, 1])
class Test_Axis_2_x0x:
def test_matrix_2_x0x(self):
expected = Point([ z, -y, x, 1])
calculated = Point.calculate(mne... | 34.131148 | 64 | 0.653218 | 329 | 2,082 | 3.832827 | 0.139818 | 0.111023 | 0.101507 | 0.111023 | 0.8295 | 0.702617 | 0.672482 | 0.651864 | 0.526566 | 0.365583 | 0 | 0.071965 | 0.232469 | 2,082 | 60 | 65 | 34.7 | 0.717146 | 0 | 0 | 0.212766 | 0 | 0 | 0.002402 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 1 | 0.212766 | false | 0 | 0.085106 | 0 | 0.319149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e3cf7a65ddf1b57cb7e0e859e438a7082c018f1 | 314 | py | Python | controllers/home.py | bdoms/trestle | dcaf83a6522dbf05b4cbddf8664f90951ec28f03 | [
"MIT"
] | 4 | 2019-08-15T11:08:21.000Z | 2022-01-14T08:51:24.000Z | controllers/home.py | bdoms/trestle | dcaf83a6522dbf05b4cbddf8664f90951ec28f03 | [
"MIT"
] | 4 | 2020-03-23T16:01:52.000Z | 2022-03-04T16:13:55.000Z | controllers/home.py | bdoms/trestle | dcaf83a6522dbf05b4cbddf8664f90951ec28f03 | [
"MIT"
] | null | null | null | from tornado import web
from controllers._base import BaseController
class HomeController(BaseController):
@web.authenticated
async def get(self):
self.renderTemplate('home.html')
@web.authenticated
async def post(self):
self.renderJSON({'user': self.current_user.toDict()})
| 18.470588 | 61 | 0.707006 | 35 | 314 | 6.285714 | 0.628571 | 0.145455 | 0.190909 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191083 | 314 | 16 | 62 | 19.625 | 0.866142 | 0 | 0 | 0.222222 | 0 | 0 | 0.041401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e4ff5cb39987b675dc9627eb0e1b5d8a426cc76 | 1,260 | py | Python | lib/gridmath.py | Beirdo/temperature-matrix-head-node | ea07a177466829ff70e128a21b7590f29e296645 | [
"MIT"
] | null | null | null | lib/gridmath.py | Beirdo/temperature-matrix-head-node | ea07a177466829ff70e128a21b7590f29e296645 | [
"MIT"
] | null | null | null | lib/gridmath.py | Beirdo/temperature-matrix-head-node | ea07a177466829ff70e128a21b7590f29e296645 | [
"MIT"
] | null | null | null | # vim:ts=4:sw=4:ai:et:si:sts=4
import logging
import statistics
import scippy
logger = logging.getLogger(__name__)
class GridMath(object):
@staticmethod
def arithmetic_mean(readings):
return [statistics.mean(item) if item else None for item in readings]
@staticmethod
def harmonic_mean(read... | 26.25 | 79 | 0.683333 | 168 | 1,260 | 5.083333 | 0.255952 | 0.15808 | 0.105386 | 0.147541 | 0.509368 | 0.509368 | 0.509368 | 0.509368 | 0.509368 | 0.468384 | 0 | 0.003135 | 0.240476 | 1,260 | 47 | 80 | 26.808511 | 0.889237 | 0.022222 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3e71736d14410b11a23505b0cce6f8e4daf2c1a7 | 201 | py | Python | exercises/ex12.py | EstebanDalelR/LearningPythonTheHardWay | e8db577aa4daf9781496b3db2202599046e5c6b9 | [
"MIT"
] | null | null | null | exercises/ex12.py | EstebanDalelR/LearningPythonTheHardWay | e8db577aa4daf9781496b3db2202599046e5c6b9 | [
"MIT"
] | null | null | null | exercises/ex12.py | EstebanDalelR/LearningPythonTheHardWay | e8db577aa4daf9781496b3db2202599046e5c6b9 | [
"MIT"
] | null | null | null | age = raw_input("How old are you? ")
height = raw_input("How tall are you? ")
weight = raw_input("How much do you weigh?")
print "so you are %r, measure up to %r and weigh %r" % (age, height, weight)
| 33.5 | 76 | 0.666667 | 37 | 201 | 3.540541 | 0.540541 | 0.183206 | 0.251908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189055 | 201 | 5 | 77 | 40.2 | 0.803681 | 0 | 0 | 0 | 0 | 0 | 0.502488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e871a3dbb1dcee7f330f3b9d4da2ee98dbeb7e2 | 86 | py | Python | test.py | pl-Steve28-lq/SinavroLang | 8f8344bf9d92ba5498f9bbf103fb2c80cde724d2 | [
"MIT"
] | 4 | 2020-12-24T10:11:18.000Z | 2021-09-09T01:24:05.000Z | test.py | pl-Steve28-lq/SinavroLang | 8f8344bf9d92ba5498f9bbf103fb2c80cde724d2 | [
"MIT"
] | null | null | null | test.py | pl-Steve28-lq/SinavroLang | 8f8344bf9d92ba5498f9bbf103fb2c80cde724d2 | [
"MIT"
] | null | null | null | from Sinavro.Runner import *
a = InterpretFile('./example/wow.snvr', './example')
| 21.5 | 53 | 0.674419 | 10 | 86 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 54 | 28.666667 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.325301 | 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 |
3e8ca2dcc285ee85e78de75f22067abab69eb851 | 246 | py | Python | fe_cipher/models/areas/hand.py | uakihir0/fecipher | dd5c2a0d47d2701570b43f4906bdec993f4d571c | [
"MIT"
] | 3 | 2020-01-16T10:53:26.000Z | 2020-01-16T10:53:40.000Z | fe_cipher/models/areas/hand.py | uakihir0/fecipher | dd5c2a0d47d2701570b43f4906bdec993f4d571c | [
"MIT"
] | null | null | null | fe_cipher/models/areas/hand.py | uakihir0/fecipher | dd5c2a0d47d2701570b43f4906bdec993f4d571c | [
"MIT"
] | 1 | 2020-01-16T11:08:15.000Z | 2020-01-16T11:08:15.000Z | # -*- coding: utf-8 -*-
from fe_cipher.models.card import Card
# 手札
class Hand:
# 0 は一番左のカード
cards: [Card] = []
def __init__(self):
pass
# カードを手札に追加
def add_card(self, card: Card):
self.cards.append(card)
| 14.470588 | 38 | 0.577236 | 32 | 246 | 4.25 | 0.6875 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.288618 | 246 | 16 | 39 | 15.375 | 0.765714 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3e8ef7413c958ef4192cd4cd83f25a959a788856 | 189 | py | Python | src/protobuf_generated/python/setup.py | sim-san/CanLogSyncServ | 630a64306a14cad72a257cee474c69c253d3e2fb | [
"MIT"
] | 6 | 2019-12-11T08:33:35.000Z | 2021-05-18T15:51:33.000Z | src/protobuf_generated/python/setup.py | sim-san/CanLogSyncServ | 630a64306a14cad72a257cee474c69c253d3e2fb | [
"MIT"
] | 1 | 2020-02-27T12:34:22.000Z | 2020-03-04T09:12:31.000Z | src/protobuf_generated/python/setup.py | sim-san/CanLogSyncServ | 630a64306a14cad72a257cee474c69c253d3e2fb | [
"MIT"
] | 1 | 2020-10-05T09:30:41.000Z | 2020-10-05T09:30:41.000Z | from distutils.core import setup
setup(name='pyLucidIo',
version='',
description='',
author='',
url='',
#py_modules=['lucidIo'],
packages=['PbSignal'])
| 18.9 | 32 | 0.560847 | 17 | 189 | 6.176471 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 189 | 9 | 33 | 21 | 0.744681 | 0.121693 | 0 | 0 | 0 | 0 | 0.103659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 |
e41cfeb17767b0e79b409e8ff8f6f0b3522229c7 | 11,932 | py | Python | coramin/relaxations/tests/test_univariate_relaxations.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 11 | 2019-04-03T21:33:29.000Z | 2022-02-28T06:07:03.000Z | coramin/relaxations/tests/test_univariate_relaxations.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 50 | 2019-04-01T18:48:14.000Z | 2022-03-04T21:51:27.000Z | coramin/relaxations/tests/test_univariate_relaxations.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 9 | 2019-03-31T21:29:35.000Z | 2021-09-02T02:33:40.000Z | import unittest
import math
import pyomo.environ as pe
import coramin
import numpy as np
from coramin.relaxations.segments import compute_k_segment_points
class TestUnivariateExp(unittest.TestCase):
@classmethod
def setUpClass(cls):
model = pe.ConcreteModel()
cls.model = model
model.y ... | 44.192593 | 116 | 0.58121 | 1,621 | 11,932 | 4.176434 | 0.097471 | 0.009158 | 0.061448 | 0.046086 | 0.780207 | 0.730428 | 0.707829 | 0.675037 | 0.648892 | 0.636928 | 0 | 0.020487 | 0.28411 | 11,932 | 269 | 117 | 44.356877 | 0.772067 | 0 | 0 | 0.565574 | 0 | 0 | 0.010392 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 1 | 0.077869 | false | 0.004098 | 0.02459 | 0.004098 | 0.118852 | 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 |
e45eb54001770d92de022af68d00bfd40d2c8e9f | 313 | py | Python | tests/kyu_8_tests/test_volume_of_a_cuboid.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_8_tests/test_volume_of_a_cuboid.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_8_tests/test_volume_of_a_cuboid.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_8.volume_of_a_cuboid import get_volume_of_cuboid
class GetVolumeOfCuboidTestCase(unittest.TestCase):
def test_equal_1(self):
self.assertEqual(get_volume_of_cuboid(1, 2, 2), 4)
def test_equal_2(self):
self.assertEqual(get_volume_of_cuboid(6.3, 2, 5), 63)
| 26.083333 | 63 | 0.753994 | 50 | 313 | 4.38 | 0.52 | 0.146119 | 0.150685 | 0.232877 | 0.328767 | 0.328767 | 0.328767 | 0 | 0 | 0 | 0 | 0.049057 | 0.153355 | 313 | 11 | 64 | 28.454545 | 0.777358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e4ae3dbe63c36be1b75dd3c3e2e5340c4a29c896 | 1,033 | py | Python | IPL/app/forms/register_form.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | IPL/app/forms/register_form.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | IPL/app/forms/register_form.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import TextField, PasswordField, SubmitField
from wtforms.fields.html5 import EmailField
from wtforms.validators import DataRequired, Length, Email, EqualTo
from wtforms import ValidationError
from ..models.models import User
class RegisterForm(FlaskForm):
username = Te... | 46.954545 | 123 | 0.737657 | 119 | 1,033 | 6.361345 | 0.436975 | 0.058124 | 0.044914 | 0.03963 | 0.163804 | 0.073976 | 0.073976 | 0 | 0 | 0 | 0 | 0.007955 | 0.148112 | 1,033 | 21 | 124 | 49.190476 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.138432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.166667 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
e4bb9cac732ec6a4b805c168840d21801fda7d4e | 59 | py | Python | lambda-functions/telemetry-loader/telemetry_loader/config.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | lambda-functions/telemetry-loader/telemetry_loader/config.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | lambda-functions/telemetry-loader/telemetry_loader/config.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | import contextvars
s3_var = contextvars.ContextVar('s3')
| 11.8 | 37 | 0.779661 | 7 | 59 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.118644 | 59 | 4 | 38 | 14.75 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 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 |
e4ca2ad5ec89e0f1e0db995a39a404a754c0db17 | 313 | py | Python | xlab/data/importer/iex/api/symbols.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | 2 | 2020-05-06T04:05:30.000Z | 2020-11-10T16:23:50.000Z | xlab/data/importer/iex/api/symbols.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | 14 | 2020-05-06T06:37:50.000Z | 2021-10-30T03:38:05.000Z | xlab/data/importer/iex/api/symbols.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | null | null | null | from xlab.data.importer.iex.api import base
class IexSymbolsApi:
def __init__(self, token: str = ''):
self._client = base.SimpleIexApiHttpClient(token, 'ref-data/symbols',
lambda: {})
def get_symbols(self):
return self._client.call()
| 26.083333 | 77 | 0.56869 | 32 | 313 | 5.34375 | 0.71875 | 0.116959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322684 | 313 | 11 | 78 | 28.454545 | 0.806604 | 0 | 0 | 0 | 0 | 0 | 0.051118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e4da75a7de824570f618f24bcaa79a8df74f2dd7 | 755 | py | Python | tests/support/resources.py | jadsonluan/tapioca | e7f5f46fc98a1cfe5244026bd93fe5d78ddc3143 | [
"MIT"
] | 43 | 2015-01-05T14:02:06.000Z | 2020-10-02T00:54:12.000Z | tests/support/resources.py | jadsonluan/tapioca | e7f5f46fc98a1cfe5244026bd93fe5d78ddc3143 | [
"MIT"
] | 1 | 2017-02-16T14:59:07.000Z | 2017-02-16T14:59:07.000Z | tests/support/resources.py | jadsonluan/tapioca | e7f5f46fc98a1cfe5244026bd93fe5d78ddc3143 | [
"MIT"
] | 7 | 2015-01-21T10:56:28.000Z | 2019-10-24T01:22:19.000Z | from tapioca import ResourceHandler
class ResourceWithDocumentation(ResourceHandler):
"""
This is my resource
"""
def create_model(self, model):
"""
Creates a new instance of the resource
"""
return {}
def get_collection(self, callback):
"""
Gets a... | 18.875 | 50 | 0.533775 | 76 | 755 | 5.236842 | 0.473684 | 0.062814 | 0.163317 | 0.158291 | 0.150754 | 0.150754 | 0 | 0 | 0 | 0 | 0 | 0 | 0.370861 | 755 | 39 | 51 | 19.358974 | 0.837895 | 0.270199 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.166667 | 0.083333 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e4e9e469f40cd6bbc2e2da9ee2d0a42c3cf76084 | 124 | py | Python | geoviews/models/__init__.py | pmav99/geoviews | ad6e3f028b0532fdf604a92ffca3238c2bd8ef4f | [
"BSD-3-Clause"
] | 172 | 2019-11-18T17:30:53.000Z | 2022-03-31T21:36:41.000Z | geoviews/models/__init__.py | martinfleis/geoviews | 30abec5741f5173e746630f7b9e4fc6f7adfa102 | [
"BSD-3-Clause"
] | 166 | 2019-11-14T05:21:03.000Z | 2022-03-07T17:20:00.000Z | geoviews/models/__init__.py | martinfleis/geoviews | 30abec5741f5173e746630f7b9e4fc6f7adfa102 | [
"BSD-3-Clause"
] | 30 | 2016-04-20T08:33:58.000Z | 2018-06-25T20:05:05.000Z | from .custom_tools import ( # noqa
CheckpointTool, ClearTool, PolyVertexDrawTool, PolyVertexEditTool,
RestoreTool
)
| 24.8 | 70 | 0.774194 | 10 | 124 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 4 | 71 | 31 | 0.913462 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e4f2a6e70188455da4bbe804878a3f8334e5799b | 661 | py | Python | views/token.py | phenopolis/phenopolis_browser | b2e55c899c115963ce062ca0fbc42d4cab7c4dc7 | [
"MIT"
] | 24 | 2021-05-20T06:56:38.000Z | 2021-09-20T08:41:06.000Z | views/token.py | phenopolis/phenopolis_browser | b2e55c899c115963ce062ca0fbc42d4cab7c4dc7 | [
"MIT"
] | 68 | 2021-05-18T20:35:29.000Z | 2021-07-15T06:16:43.000Z | views/token.py | phenopolis/phenopolis_browser | b2e55c899c115963ce062ca0fbc42d4cab7c4dc7 | [
"MIT"
] | null | null | null | # code modified from https://realpython.com/handling-email-confirmation-in-flask/
from itsdangerous import URLSafeTimedSerializer
from views import application
def generate_confirmation_token(email):
serializer = URLSafeTimedSerializer(application.config["SECRET_KEY"])
return serializer.dumps(email, salt=appl... | 36.722222 | 110 | 0.780635 | 72 | 661 | 7.027778 | 0.527778 | 0.134387 | 0.16996 | 0.193676 | 0.391304 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0.006932 | 0.12708 | 661 | 17 | 111 | 38.882353 | 0.870017 | 0.119516 | 0 | 0.166667 | 1 | 0 | 0.110345 | 0.075862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5f700c82c02f586f32a56f3dcb6ec63de9b3c942 | 195 | py | Python | lib/spos/storage/spreadsheet/xlsx.py | mmoosstt/pwap | 1fdfd188eef132c25e9313744ed2e9b1347fab36 | [
"MIT"
] | 2 | 2021-12-20T21:32:01.000Z | 2022-01-09T09:38:25.000Z | lib/spos/storage/spreadsheet/xlsx.py | mmoosstt/pwap | 1fdfd188eef132c25e9313744ed2e9b1347fab36 | [
"MIT"
] | null | null | null | lib/spos/storage/spreadsheet/xlsx.py | mmoosstt/pwap | 1fdfd188eef132c25e9313744ed2e9b1347fab36 | [
"MIT"
] | null | null | null | from . import get_path
import openpyxl as opx
#To change an existing wookbook we located it by referencing its path
class DB:
wb = opx.load_workbook("{}\\{}".format(get_path(),"db02.xlsx"))
| 27.857143 | 69 | 0.723077 | 31 | 195 | 4.451613 | 0.83871 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.153846 | 195 | 6 | 70 | 32.5 | 0.824242 | 0.348718 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5f896b252419fb88ce7b5bec487d10b0ec744d8f | 904 | py | Python | omnis_wsbus/frozen.py | artsman/omnis_wsbus | 6e4801b594805172c16fafdf8b95a1deac4dba49 | [
"BSD-3-Clause"
] | null | null | null | omnis_wsbus/frozen.py | artsman/omnis_wsbus | 6e4801b594805172c16fafdf8b95a1deac4dba49 | [
"BSD-3-Clause"
] | 1 | 2018-10-18T12:06:37.000Z | 2018-11-07T07:35:32.000Z | omnis_wsbus/frozen.py | artsman/omnis_wsbus | 6e4801b594805172c16fafdf8b95a1deac4dba49 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
from __future__ import absolute_import
import os
import sys
def is_frozen():
"""
:return: True if the executable is currently frozen
"""
return getattr(sys, 'frozen', False)
def _resource_path_frozen(relative_path):
"""
:return: PyInstaller frozen path to resource
... | 21.52381 | 101 | 0.701327 | 120 | 904 | 4.95 | 0.316667 | 0.161616 | 0.075758 | 0.087542 | 0.518519 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0 | 0.001364 | 0.189159 | 904 | 41 | 102 | 22.04878 | 0.809004 | 0.251106 | 0 | 0.153846 | 0 | 0 | 0.022951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.076923 | 0.230769 | 0 | 0.846154 | 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 |
5f9358c9ca30cdbe0a9d40387ff4905161de85da | 1,145 | py | Python | test/test_pythoscope_generator_objects_namer.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_generator_objects_namer.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_generator_objects_namer.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | import unittest
class TestGetNameBaseForObject(unittest.TestCase):
def test_get_name_base_for_object(self):
# self.assertEqual(expected, get_name_base_for_object(obj))
assert False # TODO: implement your test here
class TestGetNextName(unittest.TestCase):
def test_get_next_name(self):
... | 36.935484 | 88 | 0.741485 | 139 | 1,145 | 5.820144 | 0.266187 | 0.098888 | 0.117429 | 0.142151 | 0.615575 | 0.274413 | 0.274413 | 0.229913 | 0.128554 | 0.128554 | 0 | 0 | 0.177293 | 1,145 | 30 | 89 | 38.166667 | 0.858811 | 0.411354 | 0 | 0.277778 | 0 | 0 | 0.012066 | 0 | 0 | 0 | 0 | 0.033333 | 0.277778 | 1 | 0.277778 | false | 0 | 0.055556 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5fa07dba4535760d21d2cfcaa6a855aca9c8e208 | 6,258 | py | Python | release/stubs.min/Wms/RemotingObjects/Scripting/Modules.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingObjects/Scripting/Modules.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingObjects/Scripting/Modules.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingObjects.Scripting.Modules calls itself Modules
# from Wms.RemotingObjects,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no important
from __init__ import *
# no functions
# classes
class AddModuleArgs(object):
""" AddModuleArgs... | 24.932271 | 215 | 0.659156 | 772 | 6,258 | 5.125648 | 0.139896 | 0.128886 | 0.077331 | 0.103108 | 0.550417 | 0.547637 | 0.547637 | 0.543594 | 0.528431 | 0.516553 | 0 | 0.002353 | 0.185203 | 6,258 | 250 | 216 | 25.032 | 0.773681 | 0.199904 | 0 | 0.544304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.278481 | false | 0.189873 | 0.012658 | 0 | 0.810127 | 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 |
5faa34bfd7e8415c3e234add23fd29dad2bce386 | 589 | py | Python | LoremSurvey/middleWare.py | 1506607292/loremsurvey | 2db356b6af984cff8c6941d491b4389218136026 | [
"Apache-2.0"
] | 1 | 2021-11-17T13:32:53.000Z | 2021-11-17T13:32:53.000Z | LoremSurvey/middleWare.py | 1506607292/loremsurvey | 2db356b6af984cff8c6941d491b4389218136026 | [
"Apache-2.0"
] | null | null | null | LoremSurvey/middleWare.py | 1506607292/loremsurvey | 2db356b6af984cff8c6941d491b4389218136026 | [
"Apache-2.0"
] | null | null | null | from django.utils.deprecation import MiddlewareMixin
class Custom(MiddlewareMixin):
def process_request(self, request):
pass
def process_view(self, request, callback, callback_args, callback_kwargs):
# return callback(request, *callback_args, **callback_kwargs)
pass
@staticmetho... | 23.56 | 78 | 0.697793 | 59 | 589 | 6.79661 | 0.40678 | 0.124688 | 0.164589 | 0.129676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229202 | 589 | 24 | 79 | 24.541667 | 0.88326 | 0.10017 | 0 | 0.5 | 0 | 0 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.1875 | 0.0625 | 0.0625 | 0.5625 | 0.0625 | 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 |
5fae188f26b5b615c7b04540c9fe50a88da3cc3c | 45 | py | Python | Phase-1/Day-4/2-DecimalToBinary.py | Gurubalan-GIT/Interview-Cell | d7097914423b302cecc80c5c5e6ff39e94116967 | [
"MIT"
] | 3 | 2019-05-17T16:14:53.000Z | 2019-05-18T08:54:04.000Z | Phase-1/Day-4/2-DecimalToBinary.py | Gurubalan-GIT/Interview-Cell | d7097914423b302cecc80c5c5e6ff39e94116967 | [
"MIT"
] | null | null | null | Phase-1/Day-4/2-DecimalToBinary.py | Gurubalan-GIT/Interview-Cell | d7097914423b302cecc80c5c5e6ff39e94116967 | [
"MIT"
] | 1 | 2019-05-18T00:37:52.000Z | 2019-05-18T00:37:52.000Z | n = int(input())
ans = bin(n)
print (ans[2:]) | 15 | 16 | 0.555556 | 9 | 45 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 45 | 3 | 17 | 15 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
395b6461376e19d9fd2334a63de0c91d71f2ea5c | 6,367 | py | Python | ledcontrol/colorpalettes.py | szebedy/led-control | 330ab8e4e24f902244a1d65d4c7aeafc7f4273c6 | [
"MIT"
] | null | null | null | ledcontrol/colorpalettes.py | szebedy/led-control | 330ab8e4e24f902244a1d65d4c7aeafc7f4273c6 | [
"MIT"
] | null | null | null | ledcontrol/colorpalettes.py | szebedy/led-control | 330ab8e4e24f902244a1d65d4c7aeafc7f4273c6 | [
"MIT"
] | null | null | null | # led-control WS2812B LED Controller Server
# Copyright 2021 jackw01. Released under the MIT License (see LICENSE for details).
default = {
0: {
'name': 'Sunset Light',
'mode': 0,
'colors': [
[
0.11311430089613972,
1,
1
... | 21.294314 | 83 | 0.284749 | 311 | 6,367 | 5.829582 | 0.369775 | 0.031991 | 0.072808 | 0.072808 | 0.035301 | 0.035301 | 0.035301 | 0.035301 | 0 | 0 | 0 | 0.620264 | 0.631066 | 6,367 | 298 | 84 | 21.365772 | 0.151554 | 0.019318 | 0 | 0.336735 | 0 | 0 | 0.04198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
396c182c6f55abdab37d92be49111ad53f70453b | 66 | py | Python | system/rt1176_nxp_evk/SPI.py | FredBill1/OpenART | 1e8ed02dbe5e109aafb65d39e7ee18f8875300c9 | [
"Apache-2.0"
] | 18 | 2021-09-15T08:22:36.000Z | 2022-03-24T08:54:13.000Z | system/rt1176_nxp_evk/SPI.py | FredBill1/OpenART | 1e8ed02dbe5e109aafb65d39e7ee18f8875300c9 | [
"Apache-2.0"
] | 3 | 2022-01-27T06:41:43.000Z | 2022-03-23T09:37:01.000Z | system/rt1176_nxp_evk/SPI.py | FredBill1/OpenART | 1e8ed02dbe5e109aafb65d39e7ee18f8875300c9 | [
"Apache-2.0"
] | 5 | 2022-01-05T10:23:45.000Z | 2022-02-24T02:09:53.000Z | from machine import SPI
spi=SPI(40)
spi.write("hello")
spi.read(5) | 16.5 | 23 | 0.742424 | 13 | 66 | 3.769231 | 0.692308 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.090909 | 66 | 4 | 24 | 16.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
396d8f3dd307ce0db3a26c366fcdd44997834f9a | 66,236 | py | Python | main.py | noahspooner/blackjackpython | a87d223e1ca0cb802fc49673c1de586f562fe94d | [
"MIT"
] | null | null | null | main.py | noahspooner/blackjackpython | a87d223e1ca0cb802fc49673c1de586f562fe94d | [
"MIT"
] | 1 | 2021-05-05T00:11:10.000Z | 2021-05-11T20:06:10.000Z | main.py | noahspooner/blackjackpython | a87d223e1ca0cb802fc49673c1de586f562fe94d | [
"MIT"
] | null | null | null | import random
import os
deck = ["ace_heart", "ace_diamond", "ace_club", "ace_spade",
"two_heart", "two_diamond", "two_club", "two_spade",
"three_heart", "three_diamond", "three_club", "three_spade",
"four_heart", "four_diamond", "four_club", "four_spade",
"five_heart", "five_diamond", ... | 37.805936 | 169 | 0.45969 | 6,407 | 66,236 | 4.397222 | 0.037927 | 0.138963 | 0.108331 | 0.076669 | 0.852199 | 0.752529 | 0.713769 | 0.649594 | 0.574451 | 0.347922 | 0 | 0.015129 | 0.477082 | 66,236 | 1,752 | 170 | 37.805936 | 0.798273 | 0.01626 | 0 | 0.395 | 0 | 0.008333 | 0.17388 | 0.002503 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003333 | false | 0 | 0.001667 | 0 | 0.005 | 0.141667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
397fd7ae152f89da32654a5ca156a332b09cc61f | 61 | py | Python | requestlogs/__init__.py | chiragkanhasoft/django-requestlogs | b28a30c46b71035a6752501f67ca6b0a4eac3eb8 | [
"MIT"
] | 27 | 2020-01-23T20:19:32.000Z | 2022-03-15T02:30:50.000Z | requestlogs/__init__.py | chiragkanhasoft/django-requestlogs | b28a30c46b71035a6752501f67ca6b0a4eac3eb8 | [
"MIT"
] | 15 | 2019-08-07T12:16:46.000Z | 2022-01-05T06:53:27.000Z | requestlogs/__init__.py | chiragkanhasoft/django-requestlogs | b28a30c46b71035a6752501f67ca6b0a4eac3eb8 | [
"MIT"
] | 13 | 2020-01-23T21:53:47.000Z | 2021-12-23T13:00:51.000Z | from .base import get_requestlog_entry
name = 'requestlogs'
| 15.25 | 38 | 0.803279 | 8 | 61 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 3 | 39 | 20.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 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 |
398e0b8ae939f27a2449c005838e4dd0536dec83 | 194 | py | Python | lib/loaf/slack_api/web_client/team.py | NickBeeuwsaert/loaf | f8cf6cbce16557d62112434475cba656432bc908 | [
"MIT"
] | 38 | 2018-01-24T00:20:26.000Z | 2021-07-19T17:06:59.000Z | lib/loaf/slack_api/web_client/team.py | NickBeeuwsaert/loaf | f8cf6cbce16557d62112434475cba656432bc908 | [
"MIT"
] | 2 | 2018-04-26T20:52:37.000Z | 2018-05-09T01:13:16.000Z | lib/loaf/slack_api/web_client/team.py | NickBeeuwsaert/loaf | f8cf6cbce16557d62112434475cba656432bc908 | [
"MIT"
] | 2 | 2018-01-28T12:17:28.000Z | 2018-04-27T21:34:34.000Z | class Team:
def __init__(self, client):
self.client = client
async def info(self):
result = await self.client.api_call('GET', 'team.info')
return result['team']
| 24.25 | 63 | 0.608247 | 25 | 194 | 4.52 | 0.56 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262887 | 194 | 7 | 64 | 27.714286 | 0.79021 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39c3c3a2726fa6e8a7095b87b4f9715e246c1548 | 452 | py | Python | creds.py | gowthambalusamy/alexaWeb | 5990b9092ea1db991d51c4539067394036d3a57d | [
"MIT"
] | null | null | null | creds.py | gowthambalusamy/alexaWeb | 5990b9092ea1db991d51c4539067394036d3a57d | [
"MIT"
] | null | null | null | creds.py | gowthambalusamy/alexaWeb | 5990b9092ea1db991d51c4539067394036d3a57d | [
"MIT"
] | null | null | null | # RENAME THIS FILE TO creds.py before use!
import os
#Alexa Settings
ProductID = "whirl_mobile_APP_123"
Security_Profile_Description = "A standalone app. This includes apps on the web"
Security_Profile_ID = "amzn1.application.b77ccabab3f14f91a4821d9956c3098c"
Client_ID = "amzn1.application-oa2-client.10f009150c2f4070... | 34.769231 | 82 | 0.840708 | 49 | 452 | 7.55102 | 0.816327 | 0.081081 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236585 | 0.09292 | 452 | 12 | 83 | 37.666667 | 0.665854 | 0.119469 | 0 | 0 | 0 | 0 | 0.648101 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39f03500c729d6e7924dcce64096564da99dc751 | 86 | py | Python | project-euler/0020_factorial_digit_sum.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | project-euler/0020_factorial_digit_sum.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | project-euler/0020_factorial_digit_sum.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | import math
digit = list(str(math.factorial(100)))
print(sum(int(x) for x in digit)) | 17.2 | 38 | 0.709302 | 16 | 86 | 3.8125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.127907 | 86 | 5 | 39 | 17.2 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f2de1cd779a874510207e3bd03bf7584c1061018 | 3,569 | py | Python | capital_care_custom_site/config/capital_care_custom_site.py | MostafaFekry/capital_care_custom_site | 141ad65cb01c852bed76f56a14584333047753c7 | [
"MIT"
] | null | null | null | capital_care_custom_site/config/capital_care_custom_site.py | MostafaFekry/capital_care_custom_site | 141ad65cb01c852bed76f56a14584333047753c7 | [
"MIT"
] | null | null | null | capital_care_custom_site/config/capital_care_custom_site.py | MostafaFekry/capital_care_custom_site | 141ad65cb01c852bed76f56a14584333047753c7 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Web Site"),
"icon": "fa fa-star",
"items": [
{
"type": "doctype",
"name": "Web Page",
"description": _("Content web page."),
"onboard": 1,
},
{
"type": "doctype",
"n... | 21.5 | 73 | 0.506584 | 315 | 3,569 | 5.622222 | 0.266667 | 0.142857 | 0.194805 | 0.186335 | 0.34218 | 0.125918 | 0.040655 | 0 | 0 | 0 | 0 | 0.002782 | 0.295041 | 3,569 | 166 | 74 | 21.5 | 0.701113 | 0 | 0 | 0.22561 | 0 | 0 | 0.517367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006098 | true | 0 | 0.012195 | 0.006098 | 0.02439 | 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 |
f2e989ee3d206dc3c6b97137fad51286d252339b | 1,471 | py | Python | smp_manifold_learning/data/synthetic/synthetic_unit_sphere_dataset_generator.py | gsutanto/smp_manifold_learning | 60ef8278942c784c8d3bcd0a09031475f80d96fb | [
"MIT"
] | 11 | 2020-09-26T12:13:01.000Z | 2022-03-23T07:34:14.000Z | smp_manifold_learning/data/synthetic/synthetic_unit_sphere_dataset_generator.py | gsutanto/smp_manifold_learning | 60ef8278942c784c8d3bcd0a09031475f80d96fb | [
"MIT"
] | 1 | 2021-04-10T10:42:28.000Z | 2021-04-16T07:04:26.000Z | smp_manifold_learning/data/synthetic/synthetic_unit_sphere_dataset_generator.py | gsutanto/smp_manifold_learning | 60ef8278942c784c8d3bcd0a09031475f80d96fb | [
"MIT"
] | 5 | 2020-09-24T18:52:46.000Z | 2022-03-23T07:26:15.000Z | import os
import numpy as np
def generate_synth_unit_sphere_dataset(N_data=20000,
rand_seed=38,
sampling_magnitude=50000.0,
noise_level=0.01,
dataset_save_path='u... | 42.028571 | 83 | 0.53433 | 159 | 1,471 | 4.503145 | 0.333333 | 0.167598 | 0.23743 | 0.192737 | 0.196927 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033595 | 0.39293 | 1,471 | 34 | 84 | 43.264706 | 0.768197 | 0.040109 | 0 | 0 | 1 | 0 | 0.032951 | 0.015759 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.16 | 0.04 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
840104bb6eb49734dd3cd5f396d04653e8d613d3 | 197 | py | Python | setup.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 3 | 2021-09-04T19:31:12.000Z | 2022-01-28T12:51:27.000Z | setup.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 1 | 2021-09-03T07:23:12.000Z | 2021-09-03T07:23:12.000Z | setup.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 3 | 2021-08-02T12:56:46.000Z | 2021-09-28T09:18:37.000Z | from setuptools import setup
# TODO move remaining things
setup(
install_requires=["base58~=2.1.0", "varint~=1.0.2"],
extras_require={"tests": ["pytest==6.2.5", "pytest-xdist==2.3.0"]},
)
| 24.625 | 71 | 0.654822 | 31 | 197 | 4.096774 | 0.741935 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 0.126904 | 197 | 7 | 72 | 28.142857 | 0.656977 | 0.13198 | 0 | 0 | 0 | 0 | 0.372781 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
843266b5c39994a8cdced7772ebc0b604af7e7d2 | 635 | gyp | Python | electronTowerDefense/binding.gyp | Gab-Z/rozetta | 491e255a9eec4bdf803a866a50be35d2ad3e4ff8 | [
"Apache-2.0"
] | 1 | 2019-11-28T08:02:06.000Z | 2019-11-28T08:02:06.000Z | electronTowerDefense/binding.gyp | Gab-Z/rozetta | 491e255a9eec4bdf803a866a50be35d2ad3e4ff8 | [
"Apache-2.0"
] | null | null | null | electronTowerDefense/binding.gyp | Gab-Z/rozetta | 491e255a9eec4bdf803a866a50be35d2ad3e4ff8 | [
"Apache-2.0"
] | null | null | null | {
"targets": [
{
"target_name": "towerdef",
"sources": [ "./cpp/towerdef_Main.cpp",
"./cpp/towerdef.cpp",
"./cpp/towerdef_Map.cpp",
"./cpp/towerdef_PathMap.cpp",
"./cpp/towerdef_Structure.cpp",
"./cpp/... | 28.863636 | 55 | 0.392126 | 48 | 635 | 5 | 0.458333 | 0.225 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434646 | 635 | 21 | 56 | 30.238095 | 0.668524 | 0 | 0 | 0 | 0 | 0 | 0.456693 | 0.253543 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
8439ff2bbce6a12e903759184f6fc04f750f088e | 1,605 | py | Python | app/forms.py | openf1/foxfire | 803e8745b37dbfa720abfe7fb1935309d156cb2d | [
"MIT"
] | null | null | null | app/forms.py | openf1/foxfire | 803e8745b37dbfa720abfe7fb1935309d156cb2d | [
"MIT"
] | null | null | null | app/forms.py | openf1/foxfire | 803e8745b37dbfa720abfe7fb1935309d156cb2d | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import PasswordField
from wtforms import StringField
from wtforms import SubmitField
from wtforms.validators import DataRequired
from wtforms.validators import Email
from wtforms.validators import EqualTo
from wtforms.validators import Regexp
class SigninForm(FlaskForm):
... | 38.214286 | 80 | 0.644237 | 158 | 1,605 | 6.537975 | 0.35443 | 0.07454 | 0.121975 | 0.169409 | 0.257502 | 0.257502 | 0.211036 | 0.118103 | 0 | 0 | 0 | 0.001629 | 0.234891 | 1,605 | 41 | 81 | 39.146341 | 0.839577 | 0 | 0 | 0.108108 | 0 | 0 | 0.295327 | 0.040498 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.27027 | 0.216216 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
844b82ae9c7c9c2adddee1843beb57a8a0fc7bdd | 3,665 | py | Python | AI_search.py | lifei96/Chinese-Chess-AI | e269798012c75779a7bbeab151baf033b16a6d69 | [
"MIT"
] | 20 | 2017-12-07T09:54:51.000Z | 2022-03-26T17:49:35.000Z | AI_search.py | lifei96/Chinese-Chess-AI | e269798012c75779a7bbeab151baf033b16a6d69 | [
"MIT"
] | null | null | null | AI_search.py | lifei96/Chinese-Chess-AI | e269798012c75779a7bbeab151baf033b16a6d69 | [
"MIT"
] | 6 | 2017-12-07T09:54:52.000Z | 2021-01-23T12:44:38.000Z | # Alpha-Beta search by Fei Li
import Const
from AI_base import *
class AI_search(AI_base):
def __init__(self):
AI_base.__init__(self)
self.max_depth = 5
self.visited = {}
self.moves = {}
def get_hash(self, board, is_red):
return board.hash(is_red)
def select_move... | 40.274725 | 99 | 0.497954 | 493 | 3,665 | 3.505071 | 0.133874 | 0.052083 | 0.024306 | 0.032407 | 0.715278 | 0.715278 | 0.703125 | 0.679977 | 0.66088 | 0.66088 | 0 | 0.013749 | 0.404638 | 3,665 | 90 | 100 | 40.722222 | 0.778185 | 0.007367 | 0 | 0.566265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.024096 | 0.012048 | 0.156627 | 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 |
ffcddcd9fe34073eec608bea76fe24d52cc021e3 | 156 | py | Python | challenges/sanity/sanity/grader/grader.py | NUSGreyhats/CTF101-Systems-Security-Fall2015 | fd4f37a963df4498de176c062201097f1ae8a96d | [
"MIT"
] | 3 | 2016-01-12T17:43:17.000Z | 2021-01-05T16:35:23.000Z | challenges/sanity/sanity/grader/grader.py | NUSGreyhats/CTF101-Systems-Security-Fall2015 | fd4f37a963df4498de176c062201097f1ae8a96d | [
"MIT"
] | null | null | null | challenges/sanity/sanity/grader/grader.py | NUSGreyhats/CTF101-Systems-Security-Fall2015 | fd4f37a963df4498de176c062201097f1ae8a96d | [
"MIT"
] | 3 | 2016-08-20T14:15:05.000Z | 2017-09-28T07:23:29.000Z | def grade(arg, key):
if "flag{1_h4v3_4_br41n}".lower() == key.lower():
return True, "You are not insane!"
else:
return False, "..."
| 26 | 53 | 0.557692 | 22 | 156 | 3.818182 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0.262821 | 156 | 5 | 54 | 31.2 | 0.678261 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 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 |
ffd713443dfa5b979bcb45f9e3aa26ac2c6c6038 | 668 | py | Python | Recycled/collector/stock_fina_tushare.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | 138 | 2018-01-03T03:32:49.000Z | 2022-03-12T02:57:46.000Z | Recycled/collector/stock_fina_tushare.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | 9 | 2018-01-01T03:16:24.000Z | 2021-05-27T09:57:24.000Z | Recycled/collector/stock_fina_tushare.py | lifg2000/StockAnalysisSystem | b0bef50f5c1a9565e1a1f953fedbe7821601147c | [
"Apache-2.0"
] | 50 | 2019-08-05T01:02:30.000Z | 2022-03-07T00:52:14.000Z | import tushare as ts
import config
class StockFinancialDataFromTuShare:
def __init__(self):
ts.set_token(config.TS_TOKEN)
self.__pro = ts.pro_api()
def init(self) -> bool:
pass
def inited(self) -> bool:
pass
# Validate this Collector is still valid or not.
def va... | 20.875 | 78 | 0.612275 | 88 | 668 | 4.511364 | 0.488636 | 0.120907 | 0.09068 | 0.105793 | 0.100756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29491 | 668 | 31 | 79 | 21.548387 | 0.842887 | 0.260479 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.333333 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
080fe72a8b4f8a6d627e7eda87fd3fa29e37658f | 84 | py | Python | series6.py | gaurinarayan/python | 435ebf3292b8be83b31474ee38fc6094a3c26dfa | [
"MIT"
] | null | null | null | series6.py | gaurinarayan/python | 435ebf3292b8be83b31474ee38fc6094a3c26dfa | [
"MIT"
] | null | null | null | series6.py | gaurinarayan/python | 435ebf3292b8be83b31474ee38fc6094a3c26dfa | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
s = pd.Series(np.tile([3,5],2))
print(s) | 16.8 | 32 | 0.654762 | 18 | 84 | 3.055556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.190476 | 84 | 5 | 33 | 16.8 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0829944db9db80c269cb74f02335e8e8de1a8376 | 2,101 | py | Python | tlslite/utils/python_eddsakey.py | tomato42/tlslite-1 | 4631799cdfac8f90b567d455e698b05d7a917599 | [
"Unlicense"
] | 121 | 2015-05-28T18:14:37.000Z | 2020-11-18T11:23:59.000Z | tlslite/utils/python_eddsakey.py | tomato42/tlslite-1 | 4631799cdfac8f90b567d455e698b05d7a917599 | [
"Unlicense"
] | 340 | 2015-05-28T15:56:11.000Z | 2020-11-04T11:40:45.000Z | tlslite/utils/python_eddsakey.py | tomato42/tlslite-1 | 4631799cdfac8f90b567d455e698b05d7a917599 | [
"Unlicense"
] | 60 | 2015-07-10T20:07:02.000Z | 2020-10-22T08:04:20.000Z | # Author Hubert Kario, copyright 2021
from .eddsakey import EdDSAKey
from ecdsa.keys import BadSignatureError
from ecdsa.der import UnexpectedDER
from .cryptomath import numBits
from .compat import compatHMAC
class Python_EdDSAKey(EdDSAKey):
"""
Concrete implementation of EdDSA object backed by python-ecdsa.... | 32.323077 | 78 | 0.692051 | 259 | 2,101 | 5.46332 | 0.432432 | 0.069965 | 0.036749 | 0.028269 | 0.032509 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00944 | 0.243693 | 2,101 | 64 | 79 | 32.828125 | 0.881057 | 0.350309 | 0 | 0.0625 | 0 | 0 | 0.025307 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.21875 | false | 0.03125 | 0.15625 | 0.125 | 0.59375 | 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 |
0854f644ea114bd3508f89ddc9580f7b82a15aa4 | 277 | py | Python | output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_pattern_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_pattern_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_pattern_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.unsigned_long.schema_instance.nistschema_sv_iv_atomic_unsigned_long_pattern_3_xsd.nistschema_sv_iv_atomic_unsigned_long_pattern_3 import NistschemaSvIvAtomicUnsignedLongPattern3
__all__ = [
"NistschemaSvIvAtomicUnsignedLongPattern3",
]
| 46.166667 | 213 | 0.902527 | 31 | 277 | 7.354839 | 0.612903 | 0.184211 | 0.236842 | 0.175439 | 0.350877 | 0.350877 | 0.350877 | 0.350877 | 0 | 0 | 0 | 0.015209 | 0.050542 | 277 | 5 | 214 | 55.4 | 0.851711 | 0 | 0 | 0 | 0 | 0 | 0.144404 | 0.144404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 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 |
f233f5c496196a4bdf4ec9af266e7ab1e3351340 | 7,048 | py | Python | sdk/ml/azure-ai-ml/tests/component/unittests/test_component_operations.py | dubiety/azure-sdk-for-python | 62ffa839f5d753594cf0fe63668f454a9d87a346 | [
"MIT"
] | 1 | 2022-02-01T18:50:12.000Z | 2022-02-01T18:50:12.000Z | sdk/ml/azure-ai-ml/tests/component/unittests/test_component_operations.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | sdk/ml/azure-ai-ml/tests/component/unittests/test_component_operations.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | import pytest
from typing import Callable
from unittest.mock import Mock, patch
from azure.ai.ml.entities._component.command_component import CommandComponent
from azure.ai.ml._operations import ComponentOperations
from azure.ai.ml._scope_dependent_operations import OperationScope
from azure.ai.ml._restclient.v2022_0... | 47.945578 | 112 | 0.742906 | 742 | 7,048 | 6.606469 | 0.121294 | 0.137903 | 0.215422 | 0.090167 | 0.793962 | 0.756018 | 0.695634 | 0.679519 | 0.646267 | 0.646267 | 0 | 0.005556 | 0.182747 | 7,048 | 146 | 113 | 48.273973 | 0.845486 | 0 | 0 | 0.472 | 0 | 0 | 0.051504 | 0.038167 | 0 | 0 | 0 | 0 | 0.128 | 1 | 0.072 | false | 0 | 0.056 | 0 | 0.136 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f245536c10f4bb181a15028b649211beef670189 | 5,548 | py | Python | app/models.py | KharitonovAndreyV/vD | cc60a6b01966f27fdec280ad02234337e73dfd3b | [
"bzip2-1.0.6"
] | null | null | null | app/models.py | KharitonovAndreyV/vD | cc60a6b01966f27fdec280ad02234337e73dfd3b | [
"bzip2-1.0.6"
] | null | null | null | app/models.py | KharitonovAndreyV/vD | cc60a6b01966f27fdec280ad02234337e73dfd3b | [
"bzip2-1.0.6"
] | null | null | null | from werkzeug.security import generate_password_hash, check_password_hash
from datetime import datetime
from app import db
from flask_login import UserMixin
from app import login
from hashlib import md5
from time import time
import jwt
from app import app
followers = db.Table('followers',
db.Column('follower_id', ... | 40.202899 | 93 | 0.672314 | 749 | 5,548 | 4.87984 | 0.192256 | 0.080985 | 0.095759 | 0.06238 | 0.44487 | 0.434473 | 0.392886 | 0.377018 | 0.377018 | 0.298495 | 0 | 0.009955 | 0.167087 | 5,548 | 137 | 94 | 40.49635 | 0.781 | 0.062185 | 0 | 0.186916 | 1 | 0 | 0.090892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11215 | false | 0.093458 | 0.084112 | 0.056075 | 0.738318 | 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 |
f251cc3e95dad713de272a893deb1674d5e0315e | 122 | py | Python | eahub/profiles/apps.py | taymonbeal/eahub.org | 311be65b927b7c7b02f16fba97d74903cf13cf59 | [
"MIT"
] | 1 | 2021-09-02T19:07:49.000Z | 2021-09-02T19:07:49.000Z | eahub/profiles/apps.py | taymonbeal/eahub.org | 311be65b927b7c7b02f16fba97d74903cf13cf59 | [
"MIT"
] | null | null | null | eahub/profiles/apps.py | taymonbeal/eahub.org | 311be65b927b7c7b02f16fba97d74903cf13cf59 | [
"MIT"
] | null | null | null | from django import apps
class ProfilesConfig(apps.AppConfig):
name = "eahub.profiles"
verbose_name = "Profiles"
| 17.428571 | 37 | 0.729508 | 14 | 122 | 6.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 6 | 38 | 20.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 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 |
f25c723deb6920aa2258b0b6f861c0ceae9c512f | 27 | py | Python | authKeys.py | sisandi/cafes-opened-now | 5770ebf1dda62f6e5f9170ac3ca29802d4a8cda8 | [
"MIT"
] | null | null | null | authKeys.py | sisandi/cafes-opened-now | 5770ebf1dda62f6e5f9170ac3ca29802d4a8cda8 | [
"MIT"
] | null | null | null | authKeys.py | sisandi/cafes-opened-now | 5770ebf1dda62f6e5f9170ac3ca29802d4a8cda8 | [
"MIT"
] | null | null | null | google_key = "Your API KEY" | 27 | 27 | 0.740741 | 5 | 27 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f26fe4ee517674bd37c2abc9093d0f179548a33b | 444 | py | Python | difference-of-squares/difference_of_squares.py | amalshehu/exercism-python | eb469246504fb22463e036a989dc9b44e0a83410 | [
"MIT"
] | 2 | 2016-08-25T10:58:44.000Z | 2017-11-13T12:58:04.000Z | difference-of-squares/difference_of_squares.py | amalshehu/exercism-python | eb469246504fb22463e036a989dc9b44e0a83410 | [
"MIT"
] | 1 | 2016-08-25T10:59:23.000Z | 2016-08-25T12:20:19.000Z | difference-of-squares/difference_of_squares.py | amalshehu/exercism-python | eb469246504fb22463e036a989dc9b44e0a83410 | [
"MIT"
] | null | null | null | # File: difference_of_squares.py
# Purpose: To find th difference of squares of first n numbers
# Programmer: Amal Shehu
# Course: Exercism
# Date: Saturday 3rd September 2016, 01:50 PM
def sum_of_squares(number):
return sum([i**2 for i in range(1, number+1)])
def square_of_sum(number):
... | 24.666667 | 66 | 0.686937 | 69 | 444 | 4.275362 | 0.521739 | 0.122034 | 0.128814 | 0.122034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.211712 | 444 | 17 | 67 | 26.117647 | 0.8 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f298f0ee2937fb8dc919df4df090f626816947a6 | 2,621 | py | Python | Modules/Calculator/Calculator/calculator.py | SMCEBI-didactics/sinwo-group1 | 4653567d3d7b73d68ae00795d582454e4dc1a9b4 | [
"MIT"
] | 5 | 2022-01-18T06:40:35.000Z | 2022-01-24T20:41:51.000Z | Modules/Calculator/Calculator/calculator.py | SMCEBI-didactics/sinwo-group1 | 4653567d3d7b73d68ae00795d582454e4dc1a9b4 | [
"MIT"
] | 5 | 2022-01-26T20:08:02.000Z | 2022-01-27T19:25:56.000Z | Modules/Calculator/Calculator/calculator.py | SMCEBI-didactics/sinwo-group1 | 4653567d3d7b73d68ae00795d582454e4dc1a9b4 | [
"MIT"
] | null | null | null | """
"""
def compute(address, mask):
""" Funkcja przeliczająca adres IP.
Args:
address (str): Adres IP.
mask (str): Maska IP.
Returns:
str: Binary address name.
str: Klasa.
str: Adres rozgłoszeniowy.
str: Zakres górny.
... | 31.578313 | 116 | 0.542541 | 326 | 2,621 | 4.199387 | 0.180982 | 0.227904 | 0.198685 | 0.160701 | 0.459459 | 0.41198 | 0.392988 | 0.197224 | 0.15924 | 0.15924 | 0 | 0.02938 | 0.298741 | 2,621 | 82 | 117 | 31.963415 | 0.715452 | 0.086227 | 0 | 0.326923 | 0 | 0 | 0.016515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0 | 0 | 0.038462 | 0.019231 | 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 |
f2ba8aa8f971ad1e5be3f66765a63532a509c096 | 1,217 | py | Python | word/models.py | harizMunawar/kbbi-as-a-service | d825a915a20bf84aa74a944e0d014c74b12808a5 | [
"MIT"
] | null | null | null | word/models.py | harizMunawar/kbbi-as-a-service | d825a915a20bf84aa74a944e0d014c74b12808a5 | [
"MIT"
] | null | null | null | word/models.py | harizMunawar/kbbi-as-a-service | d825a915a20bf84aa74a944e0d014c74b12808a5 | [
"MIT"
] | null | null | null | from django.db import models
class Word(models.Model):
name = models.CharField(max_length=255)
base_word = models.CharField(max_length=255, null=True, blank=True)
pronounciation = models.CharField(max_length=255, null=True, blank=True)
def __str__(self):
return self.name
def save(self, *a... | 35.794118 | 105 | 0.706656 | 165 | 1,217 | 5.048485 | 0.272727 | 0.12605 | 0.151261 | 0.201681 | 0.278511 | 0.246098 | 0.246098 | 0.246098 | 0.206483 | 0.153661 | 0 | 0.018793 | 0.169269 | 1,217 | 33 | 106 | 36.878788 | 0.805143 | 0 | 0 | 0.125 | 0 | 0 | 0.034511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.041667 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4b2f5f5bd018fe65681a5d2608993cb841478496 | 161 | py | Python | src/languages/urls.py | evis-market/web-interface-backend | f8930ff1c009ad18e522ab29680b4bcd50a6020e | [
"MIT"
] | 2 | 2021-08-30T22:58:32.000Z | 2021-12-12T10:47:52.000Z | src/languages/urls.py | evis-market/web-interface-backend | f8930ff1c009ad18e522ab29680b4bcd50a6020e | [
"MIT"
] | null | null | null | src/languages/urls.py | evis-market/web-interface-backend | f8930ff1c009ad18e522ab29680b4bcd50a6020e | [
"MIT"
] | 1 | 2021-08-22T19:12:44.000Z | 2021-08-22T19:12:44.000Z | from django.urls import path
from languages.views import LanguagesListView
urlpatterns = [
path('', LanguagesListView.as_view(), name='LanguagesList'),
]
| 17.888889 | 64 | 0.751553 | 17 | 161 | 7.058824 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136646 | 161 | 8 | 65 | 20.125 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b3438b48ba9971d0935b30ce4353ceb60b8dc8f | 161 | py | Python | core/forms.py | Wanderer2436/django_pharmacy | 2e12c41e30f2f2e2c0f3abdaded98a917420f5b8 | [
"MIT"
] | null | null | null | core/forms.py | Wanderer2436/django_pharmacy | 2e12c41e30f2f2e2c0f3abdaded98a917420f5b8 | [
"MIT"
] | 2 | 2022-03-31T14:34:44.000Z | 2022-03-31T14:35:17.000Z | core/forms.py | Wanderer2436/django_pharmacy | 2e12c41e30f2f2e2c0f3abdaded98a917420f5b8 | [
"MIT"
] | null | null | null | from django import forms
import core.models
class ProductEdit(forms.ModelForm):
class Meta:
model = core.models.Product
fields = '__all__'
| 17.888889 | 35 | 0.689441 | 19 | 161 | 5.631579 | 0.736842 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236025 | 161 | 8 | 36 | 20.125 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
4b4246d12dc15517e5ab3657af93cbb2385f62ff | 278 | py | Python | boa3/env.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3/env.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3/env.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | import os
PROJECT_ROOT_DIRECTORY = '/'.join(os.path.dirname(__file__).split(os.sep)[:-1])
# If you didn't install TestEngine in this project's root folder, change this to the path of your .dll folder
TEST_ENGINE_DIRECTORY = '{0}/Neo.TestEngine'.format(PROJECT_ROOT_DIRECTORY)
| 39.714286 | 109 | 0.769784 | 45 | 278 | 4.533333 | 0.733333 | 0.107843 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.107914 | 278 | 6 | 110 | 46.333333 | 0.814516 | 0.384892 | 0 | 0 | 0 | 0 | 0.112426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b5a1dfde67fa671399e4070809f3c50d8e11bc9 | 47,996 | py | Python | template_container_human/labels/slice_152.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_152.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_152.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | coordinates_E0E1E1 = ((126, 112),
(126, 114), (126, 115), (126, 130), (126, 131), (127, 113), (127, 115), (127, 131), (128, 92), (128, 115), (128, 116), (128, 121), (128, 131), (129, 92), (129, 116), (129, 118), (129, 119), (129, 131), (130, 92), (130, 117), (130, 122), (130, 131), (131, 87), (131, 89), (131, 90), (1... | 484.808081 | 865 | 0.486436 | 8,160 | 47,996 | 2.857843 | 0.015809 | 0.000772 | 0.000772 | 0.001029 | 0.001286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.579188 | 0.174098 | 47,996 | 98 | 866 | 489.755102 | 0.009107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b5b8a0f08a103e5297ca76e5811202698ab71d0 | 210 | py | Python | reamber/sm/lists/notes/SMNoteList.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/sm/lists/notes/SMNoteList.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/sm/lists/notes/SMNoteList.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | from abc import ABC
from typing import List
from reamber.base.Note import Note
from reamber.base.lists.notes.NoteList import NoteList
class SMNoteList(NoteList, ABC):
def data(self) -> List[Note]: pass
| 19.090909 | 54 | 0.766667 | 32 | 210 | 5.03125 | 0.53125 | 0.136646 | 0.186335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 210 | 10 | 55 | 21 | 0.904494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
4b6810342fc6da46e6a9f922a930c0732e4d30bf | 5,523 | py | Python | void_mesh.py | arifyunando/FEM_Python | e95de7353abcca0a277541bd4f6d55cc1532ba4c | [
"MIT"
] | null | null | null | void_mesh.py | arifyunando/FEM_Python | e95de7353abcca0a277541bd4f6d55cc1532ba4c | [
"MIT"
] | null | null | null | void_mesh.py | arifyunando/FEM_Python | e95de7353abcca0a277541bd4f6d55cc1532ba4c | [
"MIT"
] | null | null | null | import numpy as np
import math
def void_mesh(d1, d2, p, m, R, element_type):
q = np.array([
[0 , 0],
[d1 , 0],
[0 , d2],
[d1 , d2]
])
PD = 2
NoN = 2*(p + 1)*(m + 1) + 2*(p - 1)*(m + 1)
NoE = 4*p*m
NPE = 4 #D2QU4N
## Node ##
NL = np.zeros([NoN, PD]... | 38.354167 | 95 | 0.36013 | 1,074 | 5,523 | 1.837989 | 0.066108 | 0.070922 | 0.054711 | 0.048632 | 0.763931 | 0.702128 | 0.542553 | 0.463526 | 0.407295 | 0.311044 | 0 | 0.155711 | 0.380228 | 5,523 | 143 | 96 | 38.622378 | 0.420976 | 0.037842 | 0 | 0.224299 | 0 | 0 | 0.001137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009346 | false | 0 | 0.018692 | 0 | 0.037383 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b769ce21daf6129cf34b955e4548d8656aed5e8 | 319 | py | Python | PhysicsTools/PatAlgos/python/recoLayer0/jetCorrections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/PatAlgos/python/recoLayer0/jetCorrections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/PatAlgos/python/recoLayer0/jetCorrections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from PhysicsTools.PatAlgos.recoLayer0.jetCorrFactors_cfi import *
from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import *
## for scheduled mode
patJetCorrectionsTask = cms.Task(patJetCorrFactors)
patJetCorrections = cms.Sequence(patJetCorrectionsTask)
| 35.444444 | 79 | 0.865204 | 30 | 319 | 9.133333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.075235 | 319 | 8 | 80 | 39.875 | 0.925424 | 0.056426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4b7dc8519dadcd19065150465a5e0fcc68a649f8 | 169 | py | Python | aprendizado/curso_em_video/desafios/desafio014.py | renatodev95/Python | 2adee4a01de41f8bbb68fce563100c135a5ab549 | [
"MIT"
] | null | null | null | aprendizado/curso_em_video/desafios/desafio014.py | renatodev95/Python | 2adee4a01de41f8bbb68fce563100c135a5ab549 | [
"MIT"
] | null | null | null | aprendizado/curso_em_video/desafios/desafio014.py | renatodev95/Python | 2adee4a01de41f8bbb68fce563100c135a5ab549 | [
"MIT"
] | null | null | null | celcius = float(input('Informe a temperatura em °C: '))
fahrenheit = celcius * 9 / 5 + 32
print('A temperatura {}°C corresponde a {}°F!'.format(celcius, fahrenheit))
| 42.25 | 76 | 0.674556 | 26 | 169 | 4.5 | 0.653846 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.159763 | 169 | 3 | 77 | 56.333333 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.403614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
4ba07fd6761fd0c99b4775999681515073ca387c | 225 | py | Python | asyevent/utils/checker.py | HerveZu/asyevent | 7ff4cc63bfb81d38e587860ccbcefc11fd3a1d52 | [
"MIT"
] | 2 | 2021-09-12T17:19:25.000Z | 2021-09-21T13:26:37.000Z | asyevent/utils/checker.py | HerveZu/asyevent | 7ff4cc63bfb81d38e587860ccbcefc11fd3a1d52 | [
"MIT"
] | null | null | null | asyevent/utils/checker.py | HerveZu/asyevent | 7ff4cc63bfb81d38e587860ccbcefc11fd3a1d52 | [
"MIT"
] | null | null | null | import typing
def checker(lamb: typing.Callable[..., bool], *, error: Exception):
def wrapper(*args, **kwargs) -> bool:
if lamb(*args, **kwargs):
return True
raise error
return wrapper
| 18.75 | 67 | 0.582222 | 25 | 225 | 5.24 | 0.64 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 225 | 11 | 68 | 20.454545 | 0.808642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4ba78d818c9867103abdc1714dc8e6366159b479 | 400 | py | Python | mlrose_hiive/fitness/__init__.py | sridatta/mlrose | d9fe33df157bd801a33b13a803d737c4f8e48ebb | [
"BSD-3-Clause"
] | 63 | 2019-09-24T14:09:51.000Z | 2022-03-09T02:36:25.000Z | mlrose_hiive/fitness/__init__.py | kunla/mlrose | 306c96b156182a847f5c9e6ffb62eb805d266fef | [
"BSD-3-Clause"
] | 6 | 2019-10-04T01:04:21.000Z | 2021-08-31T19:06:13.000Z | mlrose_hiive/fitness/__init__.py | kunla/mlrose | 306c96b156182a847f5c9e6ffb62eb805d266fef | [
"BSD-3-Clause"
] | 104 | 2019-09-23T22:44:43.000Z | 2022-03-13T18:50:53.000Z | from .continuous_peaks import ContinuousPeaks
from .flip_flop import FlipFlop
from .four_peaks import FourPeaks
from .six_peaks import SixPeaks
from .continuous_peaks import ContinuousPeaks
from .one_max import OneMax
from .max_k_color import MaxKColor
from .knapsack import Knapsack
from .queens import Queens
from .tra... | 30.769231 | 45 | 0.86 | 54 | 400 | 6.185185 | 0.481481 | 0.131737 | 0.113772 | 0.149701 | 0.263473 | 0.263473 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 400 | 12 | 46 | 33.333333 | 0.940845 | 0 | 0 | 0.181818 | 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 |
298a2e1488c4beffc470e29c4552a9c1316d1580 | 756 | py | Python | neuralRisk/__init__.py | mokshasoul/neuralRisk | 7920b14524498d5b94e7f7145262a8e615079ca2 | [
"MIT"
] | null | null | null | neuralRisk/__init__.py | mokshasoul/neuralRisk | 7920b14524498d5b94e7f7145262a8e615079ca2 | [
"MIT"
] | null | null | null | neuralRisk/__init__.py | mokshasoul/neuralRisk | 7920b14524498d5b94e7f7145262a8e615079ca2 | [
"MIT"
] | null | null | null | import os
import sys
import re
import argparse
import neuralRisk
def init():
"""TODO: Docstring for __process_cl_args.
:returns: Function to be use
"""
parser = argparse.ArgumentParser(description='Loader for Risk Prediction')
parser.add_argument('commands', nargs='*')
parser.add_argument('--... | 32.869565 | 78 | 0.701058 | 92 | 756 | 5.521739 | 0.51087 | 0.124016 | 0.234252 | 0.082677 | 0.125984 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 756 | 22 | 79 | 34.363636 | 0.791277 | 0.088624 | 0 | 0 | 0 | 0 | 0.315007 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.0625 | false | 0 | 0.3125 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
29963f26a66425e81643d15fbef45ba130596c08 | 391 | py | Python | nixops_grafana/plugin.py | tewfik-ghariani/nixops-grafana | 896265c4615abb209d5e40a13d13dafccf80b46f | [
"MIT"
] | 3 | 2020-05-24T15:15:25.000Z | 2021-10-05T21:19:50.000Z | nixops_grafana/plugin.py | tewfik-ghariani/nixops-grafana | 896265c4615abb209d5e40a13d13dafccf80b46f | [
"MIT"
] | 2 | 2020-05-22T00:28:04.000Z | 2020-05-23T01:18:48.000Z | nixops_grafana/plugin.py | tewfik-ghariani/nixops-grafana | 896265c4615abb209d5e40a13d13dafccf80b46f | [
"MIT"
] | 1 | 2020-05-22T23:57:35.000Z | 2020-05-22T23:57:35.000Z | import os.path
import nixops.plugins
from nixops.plugins import Plugin
class NixopsGrafanaPlugin(Plugin):
@staticmethod
def nixexprs():
return [os.path.dirname(os.path.abspath(__file__)) + "/nix"]
@staticmethod
def load():
return [
"nixops_grafana.resources",
]
@... | 18.619048 | 68 | 0.662404 | 40 | 391 | 6.35 | 0.525 | 0.070866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230179 | 391 | 20 | 69 | 19.55 | 0.843854 | 0 | 0 | 0.133333 | 0 | 0 | 0.071611 | 0.061381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
299706e66b518267551dae6d45129e61bab55078 | 2,286 | py | Python | src/panoramic/cli/husky/core/tel/tel_remote_interface.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-11-13T17:26:59.000Z | 2021-03-19T15:11:26.000Z | src/panoramic/cli/husky/core/tel/tel_remote_interface.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-10-28T10:22:35.000Z | 2021-01-27T17:33:58.000Z | src/panoramic/cli/husky/core/tel/tel_remote_interface.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 3 | 2021-01-26T07:58:03.000Z | 2021-03-11T13:28:34.000Z | from abc import ABC, abstractmethod
from enum import Enum
from typing import Any, Dict, Generic, TypeVar
T = TypeVar('T')
class TelRemoteSpecProtocol(ABC):
"""
Base class defining interface between the diesel service and the auto-completion frontend.
"""
@abstractmethod
def to_remote_spec(self) ... | 27.542169 | 132 | 0.670604 | 241 | 2,286 | 6.257261 | 0.356846 | 0.013263 | 0.021883 | 0.029841 | 0.303714 | 0.248674 | 0.191645 | 0.191645 | 0.172414 | 0.114058 | 0 | 0.000577 | 0.242345 | 2,286 | 82 | 133 | 27.878049 | 0.870092 | 0.298775 | 0 | 0.45 | 0 | 0 | 0.023793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225 | false | 0.075 | 0.075 | 0.05 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
299b2f523f220ffca11c48e877f95af2b46ede7e | 84 | py | Python | ejabberd_python3d/defaults/constants.py | Dedaldino3D/ejabberd-python3d | 4ff4474347b89ecfda48ff05b76d3a8b3c983046 | [
"MIT"
] | 4 | 2020-11-04T02:33:06.000Z | 2021-08-29T23:55:47.000Z | ejabberd_python3d/defaults/constants.py | Dedaldino3D/ejabberd-python3d | 4ff4474347b89ecfda48ff05b76d3a8b3c983046 | [
"MIT"
] | null | null | null | ejabberd_python3d/defaults/constants.py | Dedaldino3D/ejabberd-python3d | 4ff4474347b89ecfda48ff05b76d3a8b3c983046 | [
"MIT"
] | 1 | 2021-09-26T01:49:23.000Z | 2021-09-26T01:49:23.000Z | XMLRPC_API_PROTOCOL = 'http'
XMLRPC_API_PORT = 4560
XMLRPC_API_SERVER = 'localhost'
| 21 | 31 | 0.809524 | 12 | 84 | 5.166667 | 0.666667 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.107143 | 84 | 3 | 32 | 28 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29b0e5f36143d1e5cf4535fa70e091478458329e | 413 | py | Python | eng/sitemaps.py | almazkun/goldenroofdotorg | a4f0238d293ae4671c09f087d902e5e0d0d1f397 | [
"Apache-2.0"
] | null | null | null | eng/sitemaps.py | almazkun/goldenroofdotorg | a4f0238d293ae4671c09f087d902e5e0d0d1f397 | [
"Apache-2.0"
] | 9 | 2020-06-06T00:07:59.000Z | 2022-01-13T01:50:49.000Z | eng/sitemaps.py | almazkun/goldenroofdotorg | a4f0238d293ae4671c09f087d902e5e0d0d1f397 | [
"Apache-2.0"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from django.shortcuts import reverse
from .models import Article
class StaticViewSitemap(Sitemap):
def items(self):
return ["home", "articles"]
def location(self, item):
return reverse(item)
class ArticleSitemap(Sitemap):
def items(self):
... | 19.666667 | 43 | 0.690073 | 49 | 413 | 5.795918 | 0.55102 | 0.070423 | 0.105634 | 0.133803 | 0.176056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217918 | 413 | 20 | 44 | 20.65 | 0.879257 | 0 | 0 | 0.153846 | 0 | 0 | 0.029056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.307692 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
29c5513cbc11189673097756ccd3b1879927766f | 204 | py | Python | neuralcorefres/util/preprocess.py | RyanElliott10/NeuralCorefRes | a0ca5c614cc1638ab7bd230fcfefbd26120ed800 | [
"MIT"
] | 2 | 2020-02-23T01:00:22.000Z | 2020-06-17T21:39:57.000Z | neuralcorefres/util/preprocess.py | RyanElliott10/NeuralCorefRes | a0ca5c614cc1638ab7bd230fcfefbd26120ed800 | [
"MIT"
] | 9 | 2020-02-27T01:08:55.000Z | 2022-03-12T00:16:12.000Z | neuralcorefres/util/preprocess.py | RyanElliott10/NeuralCorefRes | a0ca5c614cc1638ab7bd230fcfefbd26120ed800 | [
"MIT"
] | null | null | null | from typing import List
import numpy as np
Tensor = List[float]
def single_output(xdata: List[Tensor], ydata: List[Tensor]) -> List[Tensor]:
xdata = np.asarray(xdata)
ydata = np.asarray(ydata)
| 20.4 | 76 | 0.705882 | 30 | 204 | 4.766667 | 0.5 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171569 | 204 | 9 | 77 | 22.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
29cace1c8eeca4c2aff1bdf0af69bd3e1f59eb60 | 259 | py | Python | SIMPLE-NN/examples/SiO2/parameter_tuning_GDF/run.py | robinzixuan/MedfordLab- | c6982c8fe42e800105fc6d12f59de27f66567a9d | [
"MIT"
] | null | null | null | SIMPLE-NN/examples/SiO2/parameter_tuning_GDF/run.py | robinzixuan/MedfordLab- | c6982c8fe42e800105fc6d12f59de27f66567a9d | [
"MIT"
] | null | null | null | SIMPLE-NN/examples/SiO2/parameter_tuning_GDF/run.py | robinzixuan/MedfordLab- | c6982c8fe42e800105fc6d12f59de27f66567a9d | [
"MIT"
] | null | null | null | from simple_nn import Simple_nn
from simple_nn.features.symmetry_function import Symmetry_function
from simple_nn.models.neural_network import Neural_network
model = Simple_nn('input.yaml', descriptor=Symmetry_function(), model=Neural_network())
model.run()
| 37 | 87 | 0.84556 | 37 | 259 | 5.621622 | 0.405405 | 0.192308 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073359 | 259 | 6 | 88 | 43.166667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.03861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
29cc8e7256e89849629656c1b617c123a781cbd8 | 28 | py | Python | correlationMatrix/settings.py | open-risk/correlationMatrix | 2ce4ef55e234bf5ff5e4e6a8d6bb373a48147db9 | [
"Apache-2.0"
] | 9 | 2019-03-05T16:36:16.000Z | 2022-02-28T04:18:02.000Z | correlationMatrix/settings.py | open-risk/correlationMatrix | 2ce4ef55e234bf5ff5e4e6a8d6bb373a48147db9 | [
"Apache-2.0"
] | null | null | null | correlationMatrix/settings.py | open-risk/correlationMatrix | 2ce4ef55e234bf5ff5e4e6a8d6bb373a48147db9 | [
"Apache-2.0"
] | 4 | 2019-05-22T14:13:04.000Z | 2021-01-03T16:03:39.000Z | EIGENVALUE_TOLERANCE = 1e-8
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.107143 | 28 | 1 | 28 | 28 | 0.8 | 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 |
29e252dc7ac4a00397acda902366ef467926a81d | 73 | py | Python | mkd_local_descriptor/__init__.py | manyids2/mkd_local_descriptor | 01fa66b00239638efd3d46e9cbe3b7f3a11f73c0 | [
"MIT"
] | 15 | 2020-09-24T14:23:36.000Z | 2022-03-01T03:55:16.000Z | mkd_local_descriptor/__init__.py | manyids2/mkd_local_descriptor | 01fa66b00239638efd3d46e9cbe3b7f3a11f73c0 | [
"MIT"
] | null | null | null | mkd_local_descriptor/__init__.py | manyids2/mkd_local_descriptor | 01fa66b00239638efd3d46e9cbe3b7f3a11f73c0 | [
"MIT"
] | null | null | null | from .mkd import MKD
__version__ = '1.0.2'
__author__ = 'Arun Mukundan'
| 14.6 | 28 | 0.712329 | 11 | 73 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.164384 | 73 | 4 | 29 | 18.25 | 0.672131 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 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 |
29f567157fd180b3f4fb7c94ae21493a5912d16b | 182 | py | Python | oauth_app/server.py | dgyuri92/oauth_app | 7aadde8c1bd4ec3df9d3fe51c44dc99b37fcbb1a | [
"MIT"
] | null | null | null | oauth_app/server.py | dgyuri92/oauth_app | 7aadde8c1bd4ec3df9d3fe51c44dc99b37fcbb1a | [
"MIT"
] | 4 | 2016-02-07T13:19:37.000Z | 2016-02-09T12:09:17.000Z | oauth_app/server.py | dgyuri92/oauth_app | 7aadde8c1bd4ec3df9d3fe51c44dc99b37fcbb1a | [
"MIT"
] | null | null | null | """
Thin wrapper used to start web service
"""
from application.oauth_app_api import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=app.config['DEBUG'])
| 20.222222 | 63 | 0.692308 | 30 | 182 | 3.866667 | 0.766667 | 0.051724 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.142857 | 182 | 8 | 64 | 22.75 | 0.705128 | 0.208791 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
29fc87ce482a633b862b03dd8249aa68b8e9141a | 14,373 | py | Python | pynsett/tests/test_pynsett.py | fractalego/python-nlulite | 982b780adedebf2c8a1e119f0f8b46ae72a9c384 | [
"MIT"
] | 26 | 2019-01-12T21:52:36.000Z | 2022-03-30T11:28:52.000Z | pynsett/tests/test_pynsett.py | fractalego/python-nlulite | 982b780adedebf2c8a1e119f0f8b46ae72a9c384 | [
"MIT"
] | 2 | 2022-02-04T12:03:10.000Z | 2022-02-09T13:24:07.000Z | pynsett/tests/test_pynsett.py | fractalego/python-nlulite | 982b780adedebf2c8a1e119f0f8b46ae72a9c384 | [
"MIT"
] | 3 | 2019-08-18T18:45:48.000Z | 2022-02-04T11:39:38.000Z | import os
import unittest
from pynsett.discourse import Discourse
from pynsett.drt import Drs
from pynsett.extractor import Extractor
from pynsett.knowledge import Knowledge
from pynsett.inference import ForwardInference
from pynsett.metric import MetricFactory
from pynsett.drt.drs_matcher import DrsMatcher
from pynse... | 47.750831 | 275 | 0.610102 | 1,712 | 14,373 | 4.886098 | 0.130841 | 0.025105 | 0.050209 | 0.066946 | 0.779319 | 0.765093 | 0.743933 | 0.690496 | 0.644591 | 0.619008 | 0 | 0.012724 | 0.239964 | 14,373 | 300 | 276 | 47.91 | 0.753021 | 0 | 0 | 0.570342 | 0 | 0.038023 | 0.238364 | 0.019411 | 0 | 0 | 0 | 0 | 0.110266 | 1 | 0.102662 | false | 0.003802 | 0.041825 | 0 | 0.148289 | 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 |
4b127fd0649281405a1f2e3ecd3b86a477fd234c | 254 | py | Python | captcha9kw/__init__.py | WereCatf/captcha9kw | 446b6ebb85a4ab926d59755decbf9dc4548f4bd9 | [
"MIT"
] | 2 | 2021-11-22T16:02:23.000Z | 2022-02-26T21:19:37.000Z | captcha9kw/__init__.py | WereCatf/captcha9kw | 446b6ebb85a4ab926d59755decbf9dc4548f4bd9 | [
"MIT"
] | null | null | null | captcha9kw/__init__.py | WereCatf/captcha9kw | 446b6ebb85a4ab926d59755decbf9dc4548f4bd9 | [
"MIT"
] | null | null | null | import sys
if(sys.version_info >= (3, 8)):
from importlib.metadata import version
else:
from importlib_metadata import version
__version__ = version(__package__)
from .captcha9kw import api9kw, CaptchaError
__all__ = ["api9kw", "CaptchaError"]
| 23.090909 | 44 | 0.759843 | 30 | 254 | 5.966667 | 0.533333 | 0.145251 | 0.234637 | 0.301676 | 0.379888 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0.145669 | 254 | 10 | 45 | 25.4 | 0.801843 | 0 | 0 | 0 | 0 | 0 | 0.070866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b17df64a1c08d2d6ef694a7f16b83e402756793 | 4,423 | py | Python | Lib/plat-linux1/TERMIOS.py | 1byte2bytes/cpython | 7fbaeb819ca7b20dca048217ff585ec195e999ec | [
"Unlicense",
"TCL",
"DOC",
"AAL",
"X11"
] | 5 | 2022-03-26T21:53:36.000Z | 2022-03-30T21:47:20.000Z | Lib/plat-linux1/TERMIOS.py | 1byte2bytes/cpython | 7fbaeb819ca7b20dca048217ff585ec195e999ec | [
"Unlicense",
"TCL",
"DOC",
"AAL",
"X11"
] | 6 | 2020-11-18T15:48:14.000Z | 2021-05-03T21:20:50.000Z | Lib/plat-linux1/TERMIOS.py | 1byte2bytes/cpython | 7fbaeb819ca7b20dca048217ff585ec195e999ec | [
"Unlicense",
"TCL",
"DOC",
"AAL",
"X11"
] | 2 | 2015-07-16T08:14:13.000Z | 2022-03-27T01:55:17.000Z | # Generated by h2py from /usr/include/termios.h
# Included from features.h
_FEATURES_H = 1
_GNU_SOURCE = 1
__USE_ANSI = 1
__FAVOR_BSD = 1
_BSD_SOURCE = 1
_SVID_SOURCE = 1
_POSIX_SOURCE = 1
_POSIX_C_SOURCE = 2
__USE_POSIX = 1
__USE_POSIX2 = 1
__USE_MISC = 1
__USE_BSD = 1
__USE_SVID = 1
__USE_GNU = 1
__GNU_LIBRARY__ = 1... | 16.321033 | 72 | 0.735021 | 634 | 4,423 | 4.988959 | 0.638801 | 0.030351 | 0.01644 | 0.013279 | 0.026557 | 0.015808 | 0.015808 | 0.015808 | 0.015808 | 0 | 0 | 0.328086 | 0.181325 | 4,423 | 270 | 73 | 16.381481 | 0.545429 | 0.059462 | 0 | 0.00813 | 1 | 0.004065 | 0.016631 | 0.013979 | 0 | 0 | 0.085081 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b213dc486859d97e9af1b4335f30306da9c6ae7 | 2,250 | py | Python | src/heat_exchanger_network/heat_exchanger/topology.py | J-A-St/moc_retrofit_ga_de | ddb5a6b04c8a354399693fac40a667f43b7bb577 | [
"Apache-2.0"
] | null | null | null | src/heat_exchanger_network/heat_exchanger/topology.py | J-A-St/moc_retrofit_ga_de | ddb5a6b04c8a354399693fac40a667f43b7bb577 | [
"Apache-2.0"
] | null | null | null | src/heat_exchanger_network/heat_exchanger/topology.py | J-A-St/moc_retrofit_ga_de | ddb5a6b04c8a354399693fac40a667f43b7bb577 | [
"Apache-2.0"
] | null | null | null |
class Topology:
"""Heat exchanger topology data"""
def __init__(self, exchanger_addresses, case_study, number):
self.number = number
# Initial heat exchanger topology
self.initial_hot_stream = int(case_study.initial_exchanger_address_matrix['HS'][number] - 1)
self.initial_cold_... | 34.615385 | 123 | 0.718222 | 283 | 2,250 | 5.318021 | 0.169611 | 0.129568 | 0.083721 | 0.125581 | 0.660465 | 0.524917 | 0.457807 | 0.377409 | 0.163455 | 0.163455 | 0 | 0.008791 | 0.191111 | 2,250 | 64 | 124 | 35.15625 | 0.818132 | 0.027111 | 0 | 0.234043 | 0 | 0 | 0.012374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.276596 | false | 0.12766 | 0 | 0.191489 | 0.489362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
d99fc4bf5f2baa4d67dd0c19ab53d799acae5d97 | 59 | py | Python | tanit/thrift/master/dfs/__init__.py | yassineazzouz/kraken | 30d536eae2583e6fff51becbff836301058b8e69 | [
"MIT"
] | 1 | 2020-09-01T15:16:11.000Z | 2020-09-01T15:16:11.000Z | tanit/thrift/master/dfs/__init__.py | yassineazzouz/kraken | 30d536eae2583e6fff51becbff836301058b8e69 | [
"MIT"
] | null | null | null | tanit/thrift/master/dfs/__init__.py | yassineazzouz/kraken | 30d536eae2583e6fff51becbff836301058b8e69 | [
"MIT"
] | null | null | null | __all__ = ['ttypes', 'constants', 'DistributedFilesystem']
| 29.5 | 58 | 0.728814 | 4 | 59 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.610169 | 0.355932 | 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 |
d9d60f412859e2fae31e48861b9a8eee3e78e06d | 291 | py | Python | moto/apigateway/integration_parsers/unknown_parser.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/apigateway/integration_parsers/unknown_parser.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/apigateway/integration_parsers/unknown_parser.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | class TypeUnknownParser:
"""
Parse invocations to a APIGateway resource with an unknown integration type
"""
def invoke(self, request, integration):
_type = integration["type"]
raise NotImplementedError("The {0} type has not been implemented".format(_type))
| 32.333333 | 88 | 0.694158 | 32 | 291 | 6.25 | 0.8125 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.216495 | 291 | 8 | 89 | 36.375 | 0.872807 | 0.257732 | 0 | 0 | 0 | 0 | 0.205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9dee64280297443d556edf06bbd62ca44288990 | 17 | py | Python | mailapi/__init__.py | WKielen/mail-api | bb366f98d4a11df2c88018be0a2c298fac9346fb | [
"MIT"
] | null | null | null | mailapi/__init__.py | WKielen/mail-api | bb366f98d4a11df2c88018be0a2c298fac9346fb | [
"MIT"
] | 8 | 2020-03-24T17:20:46.000Z | 2021-06-02T00:39:01.000Z | mailapi/__init__.py | WKielen/mail-api | bb366f98d4a11df2c88018be0a2c298fac9346fb | [
"MIT"
] | null | null | null | name = "mailapi"
| 8.5 | 16 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 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 |
d9eb3a86b7a9f7127ed61ff238d5639e03350fd7 | 1,378 | py | Python | tests/importer/test_importer.py | pie-pie-kakaoent/uvicorn | 4e8781c4350fc26091cdf44e333e1ba7a12e965e | [
"BSD-3-Clause"
] | 5,012 | 2017-06-22T12:41:45.000Z | 2022-03-31T20:45:54.000Z | tests/importer/test_importer.py | pie-pie-kakaoent/uvicorn | 4e8781c4350fc26091cdf44e333e1ba7a12e965e | [
"BSD-3-Clause"
] | 1,084 | 2017-06-22T15:38:38.000Z | 2022-03-31T16:50:06.000Z | tests/importer/test_importer.py | pie-pie-kakaoent/uvicorn | 4e8781c4350fc26091cdf44e333e1ba7a12e965e | [
"BSD-3-Clause"
] | 534 | 2017-06-26T12:36:46.000Z | 2022-03-28T06:54:21.000Z | import pytest
from uvicorn.importer import ImportFromStringError, import_from_string
def test_invalid_format() -> None:
with pytest.raises(ImportFromStringError) as exc_info:
import_from_string("example:")
expected = 'Import string "example:" must be in format "<module>:<attribute>".'
assert expe... | 31.318182 | 83 | 0.753266 | 172 | 1,378 | 5.755814 | 0.261628 | 0.070707 | 0.113131 | 0.080808 | 0.329293 | 0.329293 | 0.329293 | 0.329293 | 0.329293 | 0.290909 | 0 | 0 | 0.159652 | 1,378 | 43 | 84 | 32.046512 | 0.854922 | 0 | 0 | 0.357143 | 0 | 0 | 0.219884 | 0.134978 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.214286 | false | 0 | 0.678571 | 0 | 0.892857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9f88b8c313c4413d7494431ac796972a5665ced | 1,180 | py | Python | function/python/brightics/common/statistics.py | shovsj/studio | 4bc01301c6acfd5d9bdcd711c6cfec22ff7cad4c | [
"Apache-2.0"
] | null | null | null | function/python/brightics/common/statistics.py | shovsj/studio | 4bc01301c6acfd5d9bdcd711c6cfec22ff7cad4c | [
"Apache-2.0"
] | null | null | null | function/python/brightics/common/statistics.py | shovsj/studio | 4bc01301c6acfd5d9bdcd711c6cfec22ff7cad4c | [
"Apache-2.0"
] | 1 | 2020-11-19T06:44:15.000Z | 2020-11-19T06:44:15.000Z | import pandas as pd
import numpy as np
import scipy.stats
# NOTE: all parameter 'a' is assumed as array-like
def max(a): return np.max(a)
def min(a): return np.min(a)
def range(a): return np.max(a) - np.min(a)
def sum(a): return np.sum(a)
def mean(a): return np.mean(a)
def var(a): return np.var(a)
def v... | 15.526316 | 86 | 0.694915 | 230 | 1,180 | 3.504348 | 0.265217 | 0.182382 | 0.17866 | 0.086849 | 0.32134 | 0.181141 | 0.148883 | 0.08933 | 0.08933 | 0.08933 | 0 | 0.007007 | 0.15339 | 1,180 | 75 | 87 | 15.733333 | 0.7998 | 0.040678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.884615 | false | 0 | 0.115385 | 0.884615 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a04b537346215970ad926cffb9bd2b2438269b4 | 18,845 | py | Python | tests/training/metrics/fbeta_multi_label_measure_test.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | 1 | 2022-01-06T02:06:23.000Z | 2022-01-06T02:06:23.000Z | tests/training/metrics/fbeta_multi_label_measure_test.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | 52 | 2020-11-11T13:08:25.000Z | 2021-12-16T13:04:30.000Z | tests/training/metrics/fbeta_multi_label_measure_test.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | null | null | null | from typing import Dict, List, Tuple, Union, Any
import pytest
import torch
from allennlp.common.checks import ConfigurationError
from allennlp.common.testing import (
AllenNlpTestCase,
global_distributed_metric,
multi_device,
run_distributed_test,
)
from sklearn.metrics import precision_recall_fscore_... | 37.316832 | 98 | 0.606474 | 2,231 | 18,845 | 4.94442 | 0.084267 | 0.01523 | 0.013326 | 0.009428 | 0.766748 | 0.746533 | 0.720515 | 0.675732 | 0.643369 | 0.640921 | 0 | 0.049018 | 0.275776 | 18,845 | 504 | 99 | 37.390873 | 0.759232 | 0.041496 | 0 | 0.596491 | 0 | 0 | 0.022958 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 1 | 0.052632 | false | 0 | 0.02005 | 0 | 0.075188 | 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 |
8a0b99f3c4000862c2af368ce61391184bc68148 | 797 | py | Python | custom_model_runner/datarobot_drum/drum/exceptions.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | null | null | null | custom_model_runner/datarobot_drum/drum/exceptions.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | null | null | null | custom_model_runner/datarobot_drum/drum/exceptions.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | null | null | null | class DrumException(Exception):
"""Base drum exception"""
pass
class DrumCommonException(DrumException):
"""Raised in case of common errors in drum"""
pass
class DrumPerfTestTimeout(DrumException):
"""Raised when the perf-test case takes too long"""
pass
class DrumPerfTestOOM(DrumExcept... | 21.540541 | 104 | 0.728984 | 89 | 797 | 6.516854 | 0.595506 | 0.196552 | 0.198276 | 0.134483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188206 | 797 | 36 | 105 | 22.138889 | 0.896445 | 0.462986 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.416667 | 0 | 0 | 0.583333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8a1362bca949c8ae70fcb48181112dc33fcf62c5 | 609 | py | Python | mmselfsup/models/necks/__init__.py | troyliu0105/mmselfsup | df907e5ce02951e68e5de825986d8d7e879ac5b4 | [
"Apache-2.0"
] | null | null | null | mmselfsup/models/necks/__init__.py | troyliu0105/mmselfsup | df907e5ce02951e68e5de825986d8d7e879ac5b4 | [
"Apache-2.0"
] | null | null | null | mmselfsup/models/necks/__init__.py | troyliu0105/mmselfsup | df907e5ce02951e68e5de825986d8d7e879ac5b4 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
from .avgpool2d_neck import AvgPool2dNeck
from .densecl_neck import DenseCLNeck
from .linear_neck import LinearNeck
from .mae_neck import MAEPretrainDecoder
from .mocov2_neck import MoCoV2Neck
from .nonlinear_neck import NonLinearNeck
from .odc_neck import ODCNeck
from .r... | 33.833333 | 63 | 0.801314 | 68 | 609 | 6.955882 | 0.441176 | 0.211416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011215 | 0.121511 | 609 | 17 | 64 | 35.823529 | 0.872897 | 0.073892 | 0 | 0 | 0 | 0 | 0.204626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
8a140e3900a0a128658defb651d0c40a601e7be2 | 1,133 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/SATImportOptions.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/SATImportOptions.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/SATImportOptions.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class SATImportOptions(BaseImportOptions, IDisposable):
"""
The import options used to import SAT format files.
SATImportOptions(option: SATImportOptions)
SATImportOptions()
"""
def Dispose(self):
""" Dispose(self: BaseImportOptions,A_0: bool) """
pass
def ReleaseUn... | 28.325 | 221 | 0.62842 | 111 | 1,133 | 5.765766 | 0.378378 | 0.04375 | 0.075 | 0.089063 | 0.176563 | 0.176563 | 0.176563 | 0.176563 | 0.176563 | 0.176563 | 0 | 0.001174 | 0.248014 | 1,133 | 39 | 222 | 29.051282 | 0.75 | 0.54722 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.071429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8a1cc25312a3a7ba45d786aee501187a86d91ee7 | 2,627 | py | Python | test/manual/trash/test_get_trash_document.py | membranepotential/mendeley-python-sdk | 0336f0164f4d409309e813cbd0140011b5b2ff8f | [
"Apache-2.0"
] | 103 | 2015-01-12T00:40:51.000Z | 2022-03-29T07:02:06.000Z | test/manual/trash/test_get_trash_document.py | membranepotential/mendeley-python-sdk | 0336f0164f4d409309e813cbd0140011b5b2ff8f | [
"Apache-2.0"
] | 26 | 2015-01-10T04:08:41.000Z | 2021-02-05T16:31:37.000Z | test/manual/trash/test_get_trash_document.py | membranepotential/mendeley-python-sdk | 0336f0164f4d409309e813cbd0140011b5b2ff8f | [
"Apache-2.0"
] | 43 | 2015-03-04T18:11:06.000Z | 2022-03-13T02:33:34.000Z | from test import get_user_session, cassette
from test.resources.documents import delete_all_documents, create_document, assert_core_document, assert_bib_document, \
assert_client_document, assert_tags_document, assert_all_document
def test_should_get_document_core_view():
session = get_user_session()
dele... | 32.432099 | 120 | 0.74115 | 345 | 2,627 | 5.208696 | 0.110145 | 0.100167 | 0.054535 | 0.070117 | 0.780746 | 0.708959 | 0.708959 | 0.631052 | 0.631052 | 0.631052 | 0 | 0 | 0.171298 | 2,627 | 80 | 121 | 32.8375 | 0.825448 | 0 | 0 | 0.545455 | 0 | 0 | 0.15531 | 0.14922 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.109091 | false | 0 | 0.036364 | 0 | 0.145455 | 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 |
8a2a4b6cd284735b3e8b56716d93be530009eaa8 | 20,971 | py | Python | tensorflow/python/kernel_tests/collective_ops_test.py | so5462/tensorflow | 0f9acc15ba56ecf01a79889d29295310559c681a | [
"Apache-2.0"
] | 2 | 2020-05-20T00:18:47.000Z | 2021-05-31T17:17:39.000Z | tensorflow/python/kernel_tests/collective_ops_test.py | so5462/tensorflow | 0f9acc15ba56ecf01a79889d29295310559c681a | [
"Apache-2.0"
] | null | null | null | tensorflow/python/kernel_tests/collective_ops_test.py | so5462/tensorflow | 0f9acc15ba56ecf01a79889d29295310559c681a | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 33.5 | 80 | 0.624672 | 2,337 | 20,971 | 5.382542 | 0.123663 | 0.04436 | 0.045632 | 0.046824 | 0.767629 | 0.721679 | 0.683043 | 0.664202 | 0.65514 | 0.627951 | 0 | 0.021433 | 0.285823 | 20,971 | 625 | 81 | 33.5536 | 0.818455 | 0.10896 | 0 | 0.752515 | 0 | 0 | 0.043786 | 0 | 0 | 0 | 0 | 0 | 0.052314 | 1 | 0.064386 | false | 0 | 0.034205 | 0 | 0.130785 | 0.002012 | 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 |
8a4c487d877786bcb5f4b78214fbf38efa7b41c9 | 325 | py | Python | tests/test_blueprint.py | johntheprime/apiflask | 66e2138662e5fde1b1b1b053f375aa67a347c12c | [
"MIT"
] | 1 | 2021-04-14T00:42:45.000Z | 2021-04-14T00:42:45.000Z | tests/test_blueprint.py | wo-ni/apiflask | bd7cf2c10f00426c8aff423e0d49371931b1cbfa | [
"MIT"
] | null | null | null | tests/test_blueprint.py | wo-ni/apiflask | bd7cf2c10f00426c8aff423e0d49371931b1cbfa | [
"MIT"
] | null | null | null | from apiflask import APIBlueprint
def test_blueprint_object():
bp = APIBlueprint('test', __name__)
assert bp.name == 'test'
assert hasattr(bp, 'tag')
assert bp.tag is None
def test_blueprint_tag():
bp = APIBlueprint('test', __name__, tag='foo')
assert bp.name == 'test'
assert bp.tag == '... | 21.666667 | 50 | 0.658462 | 43 | 325 | 4.697674 | 0.372093 | 0.158416 | 0.158416 | 0.217822 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209231 | 325 | 14 | 51 | 23.214286 | 0.785992 | 0 | 0 | 0.2 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.3 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
8a60f7344538c5f12da59c5225dec06dacfb937c | 308 | py | Python | pyngboard/__init__.py | tsouza/pyngboard | 00f696453c0dddedad588b2f48259e0c158a88ec | [
"MIT"
] | 1 | 2017-03-30T16:34:36.000Z | 2017-03-30T16:34:36.000Z | pyngboard/__init__.py | tsouza/pyngboard | 00f696453c0dddedad588b2f48259e0c158a88ec | [
"MIT"
] | null | null | null | pyngboard/__init__.py | tsouza/pyngboard | 00f696453c0dddedad588b2f48259e0c158a88ec | [
"MIT"
] | 1 | 2016-08-31T10:31:28.000Z | 2016-08-31T10:31:28.000Z | from .client import PingboardClient
__version__ = '0.0.6'
import logging
try: # Python 2.7+
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def emit(self, record):
pass
logging.getLogger('pyngboard').addHandler(NullHandler())
| 22 | 57 | 0.685065 | 34 | 308 | 6.088235 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.220779 | 308 | 13 | 58 | 23.692308 | 0.841667 | 0.035714 | 0 | 0 | 0 | 0 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
8a66600e37aaf53c9482da93f7658b338d82efea | 840 | py | Python | supertokens_python/recipe/thirdparty/api/__init__.py | girish946/supertokens-python | ce0e7f6035941b3a8d3d1f7ae867224fd9c41c3c | [
"Apache-2.0"
] | 36 | 2021-10-05T17:06:07.000Z | 2022-03-29T14:11:39.000Z | supertokens_python/recipe/thirdparty/api/__init__.py | girish946/supertokens-python | ce0e7f6035941b3a8d3d1f7ae867224fd9c41c3c | [
"Apache-2.0"
] | 56 | 2021-09-02T08:24:29.000Z | 2022-03-30T07:29:07.000Z | supertokens_python/recipe/thirdparty/api/__init__.py | girish946/supertokens-python | ce0e7f6035941b3a8d3d1f7ae867224fd9c41c3c | [
"Apache-2.0"
] | 8 | 2022-01-28T14:49:55.000Z | 2022-03-26T01:28:38.000Z | # Copyright (c) 2021, VRAI Labs and/or its affiliates. All rights reserved.
#
# This software is licensed under the Apache License, Version 2.0 (the
# "License") as published by the Apache Software Foundation.
#
# You may not use this file except in compliance with the License. You may
# obtain a copy of the License at... | 49.411765 | 76 | 0.797619 | 132 | 840 | 4.984848 | 0.621212 | 0.091185 | 0.045593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.147619 | 840 | 16 | 77 | 52.5 | 0.907821 | 0.779762 | 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 |
8a7eb1b5eeebf0983b8cc3fe10bc931d3b60ce8f | 23 | py | Python | distanceclosure/cython/__init__.py | tarikaltuncu/distanceclosure | 15a4663d2697f20c08e34a20a72676f881b66f13 | [
"MIT"
] | null | null | null | distanceclosure/cython/__init__.py | tarikaltuncu/distanceclosure | 15a4663d2697f20c08e34a20a72676f881b66f13 | [
"MIT"
] | null | null | null | distanceclosure/cython/__init__.py | tarikaltuncu/distanceclosure | 15a4663d2697f20c08e34a20a72676f881b66f13 | [
"MIT"
] | null | null | null | __all__ = ['_dijkstra'] | 23 | 23 | 0.695652 | 2 | 23 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0.375 | 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 |
8a823145a1532eea35fa1f2821c8dfa32bb366e7 | 1,125 | py | Python | internal/handlers/bangladesh.py | fillingthemoon/cartogram-web | 58b645bca0c22b9bccdb2a5a8213a5a24a7e5958 | [
"MIT"
] | null | null | null | internal/handlers/bangladesh.py | fillingthemoon/cartogram-web | 58b645bca0c22b9bccdb2a5a8213a5a24a7e5958 | [
"MIT"
] | 20 | 2019-10-20T11:27:38.000Z | 2022-03-12T00:28:17.000Z | internal/handlers/bangladesh.py | fillingthemoon/cartogram-web | 58b645bca0c22b9bccdb2a5a8213a5a24a7e5958 | [
"MIT"
] | 16 | 2019-08-22T04:49:44.000Z | 2021-06-09T04:44:57.000Z | import settings
import handlers.base_handler
import csv
class CartogramHandler(handlers.base_handler.BaseCartogramHandler):
def get_name(self):
return "Bangladesh"
def get_gen_file(self):
return "{}/bangladesh_processedmap.json".format(settings.CARTOGRAM_DATA_DIR)
def validate_values... | 28.125 | 312 | 0.629333 | 143 | 1,125 | 4.811189 | 0.468531 | 0.043605 | 0.055233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0.217778 | 1,125 | 39 | 313 | 28.846154 | 0.753409 | 0 | 0 | 0.142857 | 0 | 0 | 0.249778 | 0.027556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.107143 | 0.178571 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a86bf8293ecac40ace8a5210e6dcfda621e15aa | 120 | py | Python | Smart-Home-IoT-Platform/ctrl_air_purifier/shutdown.py | Kormap/Side-Projects | 9e61d5b062cc6823cfebc18370f7caae622ea571 | [
"MIT"
] | null | null | null | Smart-Home-IoT-Platform/ctrl_air_purifier/shutdown.py | Kormap/Side-Projects | 9e61d5b062cc6823cfebc18370f7caae622ea571 | [
"MIT"
] | null | null | null | Smart-Home-IoT-Platform/ctrl_air_purifier/shutdown.py | Kormap/Side-Projects | 9e61d5b062cc6823cfebc18370f7caae622ea571 | [
"MIT"
] | 1 | 2022-03-19T10:37:38.000Z | 2022-03-19T10:37:38.000Z | import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(21, GPIO.OUT)
GPIO.output(21, False)
| 17.142857 | 24 | 0.766667 | 21 | 120 | 4.380952 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.091667 | 120 | 6 | 25 | 20 | 0.807339 | 0 | 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 |
8a88e0e197d87deb862c3ee4c7fd71f847b772b4 | 1,985 | py | Python | google-cloud-sdk/.install/.backup/lib/surface/compute/instance_groups/describe.py | KaranToor/MA450 | c98b58aeb0994e011df960163541e9379ae7ea06 | [
"Apache-2.0"
] | 1 | 2017-11-29T18:52:27.000Z | 2017-11-29T18:52:27.000Z | google-cloud-sdk/.install/.backup/lib/surface/compute/instance_groups/describe.py | KaranToor/MA450 | c98b58aeb0994e011df960163541e9379ae7ea06 | [
"Apache-2.0"
] | null | null | null | google-cloud-sdk/.install/.backup/lib/surface/compute/instance_groups/describe.py | KaranToor/MA450 | c98b58aeb0994e011df960163541e9379ae7ea06 | [
"Apache-2.0"
] | 1 | 2020-07-25T12:09:01.000Z | 2020-07-25T12:09:01.000Z | # Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 29.626866 | 80 | 0.75869 | 240 | 1,985 | 6.15 | 0.479167 | 0.04065 | 0.038618 | 0.044715 | 0.132791 | 0.094851 | 0 | 0 | 0 | 0 | 0 | 0.004837 | 0.166751 | 1,985 | 66 | 81 | 30.075758 | 0.887545 | 0.320907 | 0 | 0.216216 | 0 | 0 | 0.046792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.054054 | 0.189189 | 0.513514 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.