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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a60fb2acba9138ba57622f3e2db8900bc4117db4 | 47 | py | Python | 2020/examples-in-class-2020-10-08/string_example_char_looping.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2021-02-04T16:59:11.000Z | 2021-02-04T16:59:11.000Z | 2020/examples-in-class-2020-10-08/string_example_char_looping.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | null | null | null | 2020/examples-in-class-2020-10-08/string_example_char_looping.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2019-10-30T14:37:48.000Z | 2019-10-30T14:37:48.000Z | name1 = "Atilla"
for ch in name1:
print(ch)
| 7.833333 | 16 | 0.638298 | 8 | 47 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.234043 | 47 | 5 | 17 | 9.4 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 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 |
a61607b7a9d208f3f533e4328610fb7f70310970 | 821 | py | Python | tests/policy/test_policy_interface.py | PuzeLiu/mushroom-rl | 99942b425e66b4ddcc26009d7105dde23841e95d | [
"MIT"
] | 344 | 2020-01-10T09:45:02.000Z | 2022-03-30T09:48:28.000Z | tests/policy/test_policy_interface.py | AmmarFahmy/mushroom-rl | 2625ee7f64d5613b3b9fba00f0b7a39fece88ca5 | [
"MIT"
] | 44 | 2020-01-23T03:00:56.000Z | 2022-03-25T17:14:22.000Z | tests/policy/test_policy_interface.py | AmmarFahmy/mushroom-rl | 2625ee7f64d5613b3b9fba00f0b7a39fece88ca5 | [
"MIT"
] | 93 | 2020-01-10T21:17:58.000Z | 2022-03-31T17:58:52.000Z | from mushroom_rl.policy import Policy, ParametricPolicy
def abstract_method_tester(f, ex, *args):
try:
f(*args)
except ex:
pass
else:
assert False
def test_policy_interface():
tmp = Policy()
abstract_method_tester(tmp.__call__, NotImplementedError)
abstract_method_tes... | 25.65625 | 70 | 0.718636 | 93 | 821 | 6.043011 | 0.387097 | 0.174377 | 0.24911 | 0.245552 | 0.256228 | 0.153025 | 0.153025 | 0 | 0 | 0 | 0 | 0 | 0.204629 | 821 | 31 | 71 | 26.483871 | 0.860643 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.12 | false | 0.08 | 0.04 | 0 | 0.16 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a6202a9b7c4b2c494203b9010a1e51bf68df4643 | 1,418 | py | Python | gs/recipe/setupgs/tests/setupgs.py | groupserver/gs.recipe.setupgs | 94932ca1415eac6799b20c7c24fd288d976cf9b3 | [
"ZPL-2.1"
] | null | null | null | gs/recipe/setupgs/tests/setupgs.py | groupserver/gs.recipe.setupgs | 94932ca1415eac6799b20c7c24fd288d976cf9b3 | [
"ZPL-2.1"
] | null | null | null | gs/recipe/setupgs/tests/setupgs.py | groupserver/gs.recipe.setupgs | 94932ca1415eac6799b20c7c24fd288d976cf9b3 | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright © 2014, 2015 OnlineGroups.net and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany ... | 40.514286 | 78 | 0.643865 | 172 | 1,418 | 5.244186 | 0.622093 | 0.062084 | 0.049889 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.165726 | 1,418 | 34 | 79 | 41.705882 | 0.750634 | 0.486601 | 0 | 0 | 0 | 0 | 0.144026 | 0 | 0 | 0 | 0 | 0.029412 | 0.153846 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.615385 | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
a623ea119328caba63da747c4c2badbe9924fb8a | 118 | py | Python | math_statistics/statistics.py | fstrnad/pyDRLinWESM | 1d41340fb1888ec90f700c726fd7239e3cef3eae | [
"BSD-2-Clause"
] | 6 | 2020-04-23T11:07:42.000Z | 2021-09-14T07:05:21.000Z | math_statistics/statistics.py | fstrnad/pyDRLinWESM | 1d41340fb1888ec90f700c726fd7239e3cef3eae | [
"BSD-2-Clause"
] | null | null | null | math_statistics/statistics.py | fstrnad/pyDRLinWESM | 1d41340fb1888ec90f700c726fd7239e3cef3eae | [
"BSD-2-Clause"
] | 2 | 2021-07-29T23:54:04.000Z | 2022-01-16T19:01:26.000Z | import numpy as np
@np.vectorize
def std_err_bin_coefficient(n,p):
std_dev=p*(1-p)
return np.sqrt(std_dev/n)
| 16.857143 | 33 | 0.711864 | 24 | 118 | 3.291667 | 0.666667 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.161017 | 118 | 6 | 34 | 19.666667 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a627b24cedd7b2c55a2c336f05264348159ceb62 | 1,884 | py | Python | modules/2.79/bpy/ops/mask.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/mask.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/mask.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | def add_feather_vertex(location=(0.0, 0.0)):
pass
def add_feather_vertex_slide(MASK_OT_add_feather_vertex=None, MASK_OT_slide_point=None):
pass
def add_vertex(location=(0.0, 0.0)):
pass
def add_vertex_slide(MASK_OT_add_vertex=None, MASK_OT_slide_point=None):
pass
def copy_splines():
pass
d... | 12 | 88 | 0.686837 | 287 | 1,884 | 4.247387 | 0.275261 | 0.218212 | 0.02461 | 0.045119 | 0.251846 | 0.181296 | 0.181296 | 0.181296 | 0.155865 | 0.049221 | 0 | 0.024536 | 0.199575 | 1,884 | 156 | 89 | 12.076923 | 0.78382 | 0 | 0 | 0.5 | 0 | 0 | 0.006376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a6327ae910b6c8464dc75de584549638aad25c55 | 66 | py | Python | tests/flask_genshi_testapp/package_mod/__init__.py | dag/flask-genshi | 5686cf0882d64147951bdbe7e15fc41438fa652a | [
"BSD-3-Clause"
] | 11 | 2015-02-02T09:23:05.000Z | 2018-05-29T02:14:22.000Z | tests/flask_genshi_testapp/package_mod/__init__.py | OnShift/flask-genshi | 898d58ca95422da68d03ae33742e07fcdbc7382c | [
"BSD-3-Clause"
] | 1 | 2018-03-11T06:26:48.000Z | 2018-03-11T06:26:48.000Z | tests/flask_genshi_testapp/package_mod/__init__.py | OnShift/flask-genshi | 898d58ca95422da68d03ae33742e07fcdbc7382c | [
"BSD-3-Clause"
] | 4 | 2015-03-21T23:40:24.000Z | 2020-09-01T04:10:34.000Z |
from flask import Module
mod = Module(__name__, 'package_mod')
| 11 | 37 | 0.742424 | 9 | 66 | 4.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 5 | 38 | 13.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 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 |
a65ac6be081a2aa5ed476f5f64db6a4e8e99de03 | 818 | py | Python | examples/mal.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | examples/mal.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | examples/mal.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | import networkx as nx
from progressbar import progressbar
from pyrthomas.network_analyser import NetworkAnalyser
network = nx.DiGraph()
# self.network.add_edge('x', 'y', weight=1)
# self.network.add_edge('x', 'x', weight=2)
# self.network.add_edge('y', 'x', weight=-1)
network.add_edge('BTK', 'MAL', weight=1)
network... | 29.214286 | 70 | 0.744499 | 121 | 818 | 4.876033 | 0.338843 | 0.169492 | 0.237288 | 0.172881 | 0.308475 | 0.137288 | 0 | 0 | 0 | 0 | 0 | 0.02973 | 0.095355 | 818 | 27 | 71 | 30.296296 | 0.767568 | 0.187042 | 0 | 0 | 0 | 0 | 0.08346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a65b559e2134f7f370eb1834ed83f061fd3aaad2 | 354 | py | Python | apps/admin/logics.py | z371657110/webbasketball | 31ff6bb23f4cf102c3e24abe87b5ac49a6d75bf9 | [
"MIT"
] | 1 | 2016-01-15T16:41:31.000Z | 2016-01-15T16:41:31.000Z | apps/admin/logics.py | z371657110/webbasketball | 31ff6bb23f4cf102c3e24abe87b5ac49a6d75bf9 | [
"MIT"
] | null | null | null | apps/admin/logics.py | z371657110/webbasketball | 31ff6bb23f4cf102c3e24abe87b5ac49a6d75bf9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import datetime
from django import forms
from django.conf import settings
from django.db import transaction
from django.db import models
from apps.game.models import Game
from apps.team.models import Team
from django.contrib.auth.models import User
import utils.files.lo... | 22.125 | 45 | 0.793785 | 55 | 354 | 5.109091 | 0.490909 | 0.177936 | 0.085409 | 0.128114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003311 | 0.146893 | 354 | 15 | 46 | 23.6 | 0.927152 | 0.059322 | 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 |
a65c2b8cef1cf42be0653f3af4afe9bcb19675f6 | 3,253 | py | Python | ocli/ai/jet_256_colors.py | bopopescu/TSAR-AI | f5812f35838db1ba17da068bc31bdbf866d022c1 | [
"Apache-2.0"
] | null | null | null | ocli/ai/jet_256_colors.py | bopopescu/TSAR-AI | f5812f35838db1ba17da068bc31bdbf866d022c1 | [
"Apache-2.0"
] | null | null | null | ocli/ai/jet_256_colors.py | bopopescu/TSAR-AI | f5812f35838db1ba17da068bc31bdbf866d022c1 | [
"Apache-2.0"
] | 1 | 2020-07-19T22:47:26.000Z | 2020-07-19T22:47:26.000Z | """
generate table:
from matplotlib import cm
import numpy as np
_m = cm.get_cmap('jet')
gradient = np.linspace(0, 1, 256)
l = [cm.colors.to_hex(_m(c)) for c in gradient]
"""
COLORS = ['#000080', '#000084', '#000089', '#00008d', '#000092', '#000096', '#00009b', '#00009f', '#0000a4', '#0000a8',
'#0000ad', '#... | 87.918919 | 119 | 0.510913 | 289 | 3,253 | 5.737024 | 0.958478 | 0.028951 | 0.032569 | 0.028951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330633 | 0.165078 | 3,253 | 36 | 120 | 90.361111 | 0.279823 | 0.051337 | 0 | 0 | 1 | 0 | 0.582385 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6721dca8ff9811bc887b1339da9330ad5e10283 | 3,646 | py | Python | src/services/traffic_service.py | r-anime/modbot | 52e8f251273435e0146bd8d6633ff22549e138aa | [
"MIT"
] | 3 | 2020-07-06T08:26:12.000Z | 2021-04-20T05:31:38.000Z | src/services/traffic_service.py | r-anime/modbot | 52e8f251273435e0146bd8d6633ff22549e138aa | [
"MIT"
] | 8 | 2021-06-01T03:49:28.000Z | 2022-03-18T02:27:43.000Z | src/services/traffic_service.py | r-anime/modbot | 52e8f251273435e0146bd8d6633ff22549e138aa | [
"MIT"
] | 1 | 2021-04-20T05:30:46.000Z | 2021-04-20T05:30:46.000Z | import datetime
from data.traffic_data import TrafficData, TrafficMonthlyModel, TrafficDailyModel
_traffic_data = TrafficData()
def add_daily_traffic(
target_date: datetime.date, unique_pageviews: int, total_pageviews: int, subscribers: int
) -> TrafficDailyModel:
"""Adds a new row of daily traffic data to... | 39.204301 | 120 | 0.731212 | 451 | 3,646 | 5.627494 | 0.166297 | 0.104807 | 0.090623 | 0.068558 | 0.835697 | 0.779354 | 0.689519 | 0.689519 | 0.689519 | 0.689519 | 0 | 0.004777 | 0.196105 | 3,646 | 92 | 121 | 39.630435 | 0.86114 | 0.184037 | 0 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0 | 0.036364 | 0 | 0.145455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 |
a68e5514d241514461027627bb3285f703c66786 | 286 | py | Python | noscrapy/selectors/item.py | hwms/noscrapy | c7ccdb0f842eaa482c08b0932901c8a0a283f754 | [
"MIT"
] | 3 | 2017-05-04T03:25:16.000Z | 2017-12-24T10:08:17.000Z | noscrapy/selectors/item.py | hwms/noscrapy | c7ccdb0f842eaa482c08b0932901c8a0a283f754 | [
"MIT"
] | null | null | null | noscrapy/selectors/item.py | hwms/noscrapy | c7ccdb0f842eaa482c08b0932901c8a0a283f754 | [
"MIT"
] | null | null | null | from ..selector import Selector
class ItemSelector(Selector):
can_have_childs = True
can_have_local_childs = True
will_return_items = True
def _get_data(self, parent_item):
yield from self.get_items(parent_item)
def _get_columns(self):
return ()
| 20.428571 | 46 | 0.702797 | 38 | 286 | 4.921053 | 0.552632 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 286 | 13 | 47 | 22 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a69f96e2b260468b8205b7532614ed71d02642c6 | 262 | py | Python | useful_modules.py | namsaech/-astr-119-hw-1- | dcd7f11c72d60485983532e3628a3f478e6d5977 | [
"MIT"
] | null | null | null | useful_modules.py | namsaech/-astr-119-hw-1- | dcd7f11c72d60485983532e3628a3f478e6d5977 | [
"MIT"
] | 1 | 2018-10-11T21:11:46.000Z | 2018-10-11T21:11:46.000Z | useful_modules.py | namsaech/-astr-119-hw-1- | dcd7f11c72d60485983532e3628a3f478e6d5977 | [
"MIT"
] | 1 | 2018-10-18T18:48:18.000Z | 2018-10-18T18:48:18.000Z |
# coding: utf-8
# In[1]:
#useful modules
import numpy as np
import matplotlib.pyplot as plt
import sys #access to C-like sys library
import os #access to os
print(sys.argv) #prints command line arguments
print(os.getcwd) #prints current working directory
| 15.411765 | 50 | 0.755725 | 43 | 262 | 4.604651 | 0.72093 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.167939 | 262 | 16 | 51 | 16.375 | 0.899083 | 0.515267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a6af2692cbad64a957118a9f23e7b1ed04427443 | 319 | py | Python | article/models.py | VictorSoltan/battleVerseNews | 61498c3ed62b475129cede4487320817ecc6cf04 | [
"MIT"
] | null | null | null | article/models.py | VictorSoltan/battleVerseNews | 61498c3ed62b475129cede4487320817ecc6cf04 | [
"MIT"
] | null | null | null | article/models.py | VictorSoltan/battleVerseNews | 61498c3ed62b475129cede4487320817ecc6cf04 | [
"MIT"
] | null | null | null | from django.db import models
from ckeditor_uploader.fields import RichTextUploadingField
from django.utils import timezone
class Article(models.Model):
title = models.CharField(max_length=255)
post_body = RichTextUploadingField(blank=True, null=True)
created_at = models.DateField(default=timezone.now())
| 31.9 | 61 | 0.799373 | 40 | 319 | 6.275 | 0.725 | 0.079681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010676 | 0.119122 | 319 | 9 | 62 | 35.444444 | 0.882562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 |
a6badc9917a61cbb033ee07f650f8a3d8d85a8c9 | 223 | py | Python | local_utils/__init__.py | yvonwin/lanenet-lane-detection-pytorch | b1a14c3123e988069034eaa783a2dbc6bc509065 | [
"MIT"
] | null | null | null | local_utils/__init__.py | yvonwin/lanenet-lane-detection-pytorch | b1a14c3123e988069034eaa783a2dbc6bc509065 | [
"MIT"
] | null | null | null | local_utils/__init__.py | yvonwin/lanenet-lane-detection-pytorch | b1a14c3123e988069034eaa783a2dbc6bc509065 | [
"MIT"
] | null | null | null | '''
Author: your name
Date: 2021-08-16 11:00:16
LastEditTime: 2021-08-16 11:00:17
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /lanenet-lane-detection-pytorch/local_utils/__init__.py
'''
| 24.777778 | 65 | 0.780269 | 35 | 223 | 4.828571 | 0.8 | 0.071006 | 0.094675 | 0.118343 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139303 | 0.098655 | 223 | 8 | 66 | 27.875 | 0.701493 | 0.959641 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6cb40074d17a4594a4f0b026fd8b613f7629fca | 4,010 | py | Python | plot_creation_scripts/sd_search_censet/CenSET_Comparing_scale_sd_removal_wide_FASHION.py | andrewjh9/CenBench | afd960b77ade05be2d2368bed3b47d54f7e229b6 | [
"MIT"
] | null | null | null | plot_creation_scripts/sd_search_censet/CenSET_Comparing_scale_sd_removal_wide_FASHION.py | andrewjh9/CenBench | afd960b77ade05be2d2368bed3b47d54f7e229b6 | [
"MIT"
] | null | null | null | plot_creation_scripts/sd_search_censet/CenSET_Comparing_scale_sd_removal_wide_FASHION.py | andrewjh9/CenBench | afd960b77ade05be2d2368bed3b47d54f7e229b6 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import tikzplotlib
axis_label_size = 24
font = {'family' : 'normal',
'weight' : 'bold',
'size' : axis_label_size-6}
plt.rc('font', **font)
read_dataset_acc_set = np.genfromtxt('results/base_line_set/SET__fashion_mnist_for_1000_epochs_20210531-1832... | 71.607143 | 215 | 0.832918 | 674 | 4,010 | 4.413947 | 0.151335 | 0.096134 | 0.122353 | 0.096807 | 0.777143 | 0.730084 | 0.68437 | 0.613109 | 0.613109 | 0.613109 | 0 | 0.093544 | 0.053616 | 4,010 | 56 | 216 | 71.607143 | 0.690382 | 0.232419 | 0 | 0 | 0 | 0 | 0.528665 | 0.488925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6ceb6b420613585460d36d243d9374d423a7223 | 1,837 | py | Python | leo/external/npyscreen/npysNPSFilteredData.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 1,550 | 2015-01-14T16:30:37.000Z | 2022-03-31T08:55:58.000Z | leo/external/npyscreen/npysNPSFilteredData.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 2,009 | 2015-01-13T16:28:52.000Z | 2022-03-31T18:21:48.000Z | leo/external/npyscreen/npysNPSFilteredData.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 200 | 2015-01-05T15:07:41.000Z | 2022-03-07T17:05:01.000Z | #@+leo-ver=5-thin
#@+node:ekr.20170428084207.353: * @file ../external/npyscreen/npysNPSFilteredData.py
#@+others
#@+node:ekr.20170428084207.354: ** class NPSFilteredDataBase
class NPSFilteredDataBase:
#@+others
#@+node:ekr.20170428084207.355: *3* __init__
def __init__(self, values=None):
self._value... | 31.135593 | 84 | 0.669026 | 231 | 1,837 | 5.090909 | 0.316017 | 0.065476 | 0.196429 | 0.091837 | 0.12585 | 0.047619 | 0.047619 | 0 | 0 | 0 | 0 | 0.135862 | 0.21067 | 1,837 | 58 | 85 | 31.672414 | 0.675172 | 0.425694 | 0 | 0.153846 | 0 | 0 | 0.044574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.038462 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a6ec1b383d5468b7d2320ee8016043e14c6414de | 165 | py | Python | src/gt4sd/algorithms/generation/pgt/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | null | null | null | src/gt4sd/algorithms/generation/pgt/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | null | null | null | src/gt4sd/algorithms/generation/pgt/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | null | null | null | """PGT initialization."""
from .core import PGT, PGTCoherenceChecker, PGTEditor, PGTGenerator
__all__ = ["PGT", "PGTGenerator", "PGTEditor", "PGTCoherenceChecker"]
| 33 | 69 | 0.751515 | 14 | 165 | 8.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 4 | 70 | 41.25 | 0.805369 | 0.115152 | 0 | 0 | 0 | 0 | 0.307143 | 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 |
a6f6dca06c521072e951f76277e1d17d95285679 | 161 | py | Python | story/urls.py | crydotsnake/djangogirls | 0e764294085d6d7d3c4f61a7fe36f91640abedcd | [
"BSD-3-Clause"
] | 446 | 2015-01-04T20:58:26.000Z | 2022-03-30T23:08:26.000Z | story/urls.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 649 | 2015-01-09T23:42:14.000Z | 2022-03-31T17:27:19.000Z | story/urls.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 319 | 2015-01-06T20:58:42.000Z | 2022-03-30T06:29:04.000Z | from django.urls import path
from story.views import StoryListView
app_name = "story"
urlpatterns = [
path('', StoryListView.as_view(), name='stories'),
]
| 17.888889 | 54 | 0.720497 | 20 | 161 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149068 | 161 | 8 | 55 | 20.125 | 0.832117 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 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 |
a6fd90b4d3524c1a2ce9f0e9430f4307768fb805 | 260 | py | Python | main.py | bsbateam/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | 3 | 2020-05-04T00:33:57.000Z | 2021-01-10T04:42:07.000Z | main.py | genemators/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | null | null | null | main.py | genemators/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T00:35:01.000Z | 2020-07-22T00:35:01.000Z | # -*- coding: utf-8 -*-
# Importing launcher
try:
from core import launch
from loader import loader
loader()
except ImportError as err:
print(f"Import failed, {err}")
exit(1)
if __name__ == '__main__':
launch()
pass
| 17.333333 | 35 | 0.592308 | 31 | 260 | 4.709677 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.292308 | 260 | 14 | 36 | 18.571429 | 0.782609 | 0.153846 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.4 | 0 | 0.4 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
471582db5209168e66ee1af2dfe597edccc6cc05 | 231 | py | Python | pacote-download/d007 - ler duas notas e mostrar a media.py | Carlos-DOliveira/cursoemvideo-python3 | 4546c8a7360155243e2f7ecbbb80c57868f770a2 | [
"MIT"
] | null | null | null | pacote-download/d007 - ler duas notas e mostrar a media.py | Carlos-DOliveira/cursoemvideo-python3 | 4546c8a7360155243e2f7ecbbb80c57868f770a2 | [
"MIT"
] | null | null | null | pacote-download/d007 - ler duas notas e mostrar a media.py | Carlos-DOliveira/cursoemvideo-python3 | 4546c8a7360155243e2f7ecbbb80c57868f770a2 | [
"MIT"
] | null | null | null | ''' 007 Desenvolva um programa que leia as duas notas de um aluno, calcule e mostre a sua média '''
nota1 = float(input('Digite a nota 1: '))
nota2 = float(input('Digite a nota 2: '))
print(f'A média é: {(nota1 + nota2)/2:.2f}') | 33 | 99 | 0.662338 | 41 | 231 | 3.731707 | 0.707317 | 0.130719 | 0.20915 | 0.222222 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058201 | 0.181818 | 231 | 7 | 100 | 33 | 0.751323 | 0.393939 | 0 | 0 | 0 | 0 | 0.511278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
471f891bb17125c11b0dedd70952f74958d7c70d | 58 | py | Python | src/data/__init__.py | Business-Wizard/License_Plate_Reader_App | 968217ffaa74ba636ea83f54ec9825567ca8699c | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"FTL",
"X11"
] | 5 | 2021-02-11T07:08:39.000Z | 2021-10-31T10:10:54.000Z | src/data/__init__.py | Business-Wizard/License_Plate_Reader_App | 968217ffaa74ba636ea83f54ec9825567ca8699c | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"FTL",
"X11"
] | 6 | 2021-02-04T19:19:42.000Z | 2022-02-10T03:15:00.000Z | src/data/__init__.py | Business-Wizard/License_Plate_Recognition | 968217ffaa74ba636ea83f54ec9825567ca8699c | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"FTL",
"X11"
] | 1 | 2020-12-14T11:43:35.000Z | 2020-12-14T11:43:35.000Z | __all__ = ['imageprocess', 'makedataset', 'segmentation']
| 29 | 57 | 0.724138 | 4 | 58 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 58 | 1 | 58 | 58 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
472a35fc24cdf7cf98a67899876a62979147d8d4 | 206 | py | Python | adventure/urls.py | ttw4-mud/server | bb49b89669a2b54e3ae449c382a20d75401b17ee | [
"MIT"
] | null | null | null | adventure/urls.py | ttw4-mud/server | bb49b89669a2b54e3ae449c382a20d75401b17ee | [
"MIT"
] | 6 | 2020-04-29T05:52:35.000Z | 2021-09-22T19:00:46.000Z | adventure/urls.py | Sara-DLC/mud-server | 11d1ea5dc8aab69ac64a6e0572f918a58a076894 | [
"MIT"
] | null | null | null | ############################################################
# from django.urls import path, include
############################################################
app_name = "adventure"
urlpatterns = []
| 20.6 | 60 | 0.286408 | 10 | 206 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 206 | 9 | 61 | 22.888889 | 0.308511 | 0.179612 | 0 | 0 | 0 | 0 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5b4f3ebdceb0f81bcfcf1c1c4080c1b73c3922ed | 1,986 | py | Python | ftputil/__init__.py | pombredanne/sschwarzer.net-ftputil | d752244ed0ff408f003d8f84c02a9d49f0c10ade | [
"AFL-2.1"
] | null | null | null | ftputil/__init__.py | pombredanne/sschwarzer.net-ftputil | d752244ed0ff408f003d8f84c02a9d49f0c10ade | [
"AFL-2.1"
] | null | null | null | ftputil/__init__.py | pombredanne/sschwarzer.net-ftputil | d752244ed0ff408f003d8f84c02a9d49f0c10ade | [
"AFL-2.1"
] | null | null | null | # Copyright (C) 2002-2013, Stefan Schwarzer <sschwarzer@sschwarzer.net>
# and ftputil contributors (see `doc/contributors.txt`)
# See the file LICENSE for licensing terms.
"""
ftputil - high-level FTP client library
FTPHost objects
This class resembles the `os` module's interface to ordinary file
systems. In ... | 34.842105 | 71 | 0.70141 | 262 | 1,986 | 5.217557 | 0.564886 | 0.030724 | 0.017557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.202417 | 1,986 | 56 | 72 | 35.464286 | 0.857955 | 0.891742 | 0 | 0 | 0 | 0 | 0.08867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5b5e3e3d96153f073e4c5c692dd60931f6a6f91b | 650 | py | Python | gaphor/plugins/console/tests/test_docstring_formatting.py | MartinIIOT/gaphor | b08bf6ddb8c92ec87fccabc2ddee697609f73e67 | [
"Apache-2.0"
] | 867 | 2018-01-09T00:19:09.000Z | 2022-03-31T02:49:23.000Z | gaphor/plugins/console/tests/test_docstring_formatting.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 790 | 2018-01-13T23:47:07.000Z | 2022-03-31T16:04:27.000Z | gaphor/plugins/console/tests/test_docstring_formatting.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 117 | 2018-01-09T02:24:49.000Z | 2022-03-23T08:07:42.000Z | from gaphor.plugins.console.console import docstring_dedent
def test_docstring_with_leading_space():
docstr = """\
line one
line two
"""
expected = "line one\nline two\n"
assert docstring_dedent(docstr) == expected
def test_docstring_without_leading_space():
docstr = """lin... | 19.117647 | 59 | 0.652308 | 78 | 650 | 5.192308 | 0.282051 | 0.103704 | 0.118519 | 0.125926 | 0.787654 | 0.787654 | 0.787654 | 0.787654 | 0.592593 | 0.592593 | 0 | 0 | 0.252308 | 650 | 33 | 60 | 19.69697 | 0.833333 | 0 | 0 | 0.65 | 0 | 0 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
5b63c72d3d5030664bdbe106e7b84ac2247e443c | 94 | py | Python | web_front/exts.py | daidamao/FabricDefectsModifier | c68739c0b1a9d888904af6602159bf04a96a1335 | [
"MIT"
] | null | null | null | web_front/exts.py | daidamao/FabricDefectsModifier | c68739c0b1a9d888904af6602159bf04a96a1335 | [
"MIT"
] | 1 | 2020-03-26T14:04:43.000Z | 2020-03-26T14:04:43.000Z | web_front/exts.py | daidamao/FabricDefectsModifier | c68739c0b1a9d888904af6602159bf04a96a1335 | [
"MIT"
] | 1 | 2020-03-26T13:28:46.000Z | 2020-03-26T13:28:46.000Z | # encoding:utf-8
# 创建有关数据库的东西
from flask_sqlalchemy import SQLAlchemy
db=SQLAlchemy() | 13.428571 | 40 | 0.744681 | 11 | 94 | 6.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.180851 | 94 | 7 | 41 | 13.428571 | 0.883117 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5b670b9ab44cc3bf9cb8e8e045896c921c257368 | 517 | py | Python | maix/__init__.py | znstj/MaixPy3 | f672b2049b668a5a72ad249933cf9a009760799e | [
"MIT"
] | null | null | null | maix/__init__.py | znstj/MaixPy3 | f672b2049b668a5a72ad249933cf9a009760799e | [
"MIT"
] | null | null | null | maix/__init__.py | znstj/MaixPy3 | f672b2049b668a5a72ad249933cf9a009760799e | [
"MIT"
] | null | null | null |
__all__ = ['nn', 'display', 'camera']
try:
from . import nn
__all__.extend(['nn'])
except ModuleNotFoundError as e:
pass
try:
import _maix_image as image
__all__.extend(['image'])
except ModuleNotFoundError as e:
pass
try:
import _maix as utils
__all__.extend(['utils'])
except ModuleNotFoundError as... | 15.666667 | 37 | 0.70793 | 67 | 517 | 5.059701 | 0.283582 | 0.132743 | 0.39823 | 0.412979 | 0.60177 | 0.507375 | 0.507375 | 0.265487 | 0 | 0 | 0 | 0 | 0.181818 | 517 | 32 | 38 | 16.15625 | 0.801418 | 0 | 0 | 0.576923 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.192308 | 0.192308 | 0 | 0.192308 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5b6f2fe3181e26546bb6d3f2d666b5c9db6d6af2 | 164 | py | Python | tests/common.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | tests/common.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | 1 | 2017-02-04T13:03:05.000Z | 2017-02-04T13:03:05.000Z | tests/common.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | import asyncio
from unittest import TestCase
class BaseTest(TestCase):
def setUp(self):
super().setUp()
self.loop = asyncio.get_event_loop()
| 16.4 | 44 | 0.676829 | 20 | 164 | 5.45 | 0.7 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22561 | 164 | 9 | 45 | 18.222222 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 |
5b75837352783abf6c5c63eb3c5a755ba4b537d7 | 363 | py | Python | __init__.py | yifei8/spider_blogs | c86ff17bd371694b3e2bae690af434a0be8d9b88 | [
"Apache-2.0"
] | 2 | 2018-06-15T07:55:00.000Z | 2019-01-30T08:36:37.000Z | __init__.py | yifei8/spider_blogs | c86ff17bd371694b3e2bae690af434a0be8d9b88 | [
"Apache-2.0"
] | null | null | null | __init__.py | yifei8/spider_blogs | c86ff17bd371694b3e2bae690af434a0be8d9b88 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
import re
import urlparse
if __name__ == "__main__":
url = 'http://blog.csdn.net/hustqb/article/list'
up = urlparse.urlparse(url)
if 'blog.csdn.net' == up.hostname:
print 'yes'
print up.path
print up.path.split(r'/')
print up.path.sp... | 21.352941 | 52 | 0.567493 | 50 | 363 | 3.96 | 0.6 | 0.106061 | 0.166667 | 0.161616 | 0.171717 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.256198 | 363 | 16 | 53 | 22.6875 | 0.725926 | 0.104683 | 0 | 0 | 0 | 0 | 0.21118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.416667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5b76db26893315b4ff4893bf89e0b90a779ac01b | 1,134 | py | Python | examples/jumping/add_jumping_distribution_sets.py | CU-NESS/distpy | 279ba7e46726a85246566401fca19b8739d18d08 | [
"Apache-2.0"
] | null | null | null | examples/jumping/add_jumping_distribution_sets.py | CU-NESS/distpy | 279ba7e46726a85246566401fca19b8739d18d08 | [
"Apache-2.0"
] | null | null | null | examples/jumping/add_jumping_distribution_sets.py | CU-NESS/distpy | 279ba7e46726a85246566401fca19b8739d18d08 | [
"Apache-2.0"
] | null | null | null | """
File: examples/jumping/add_jumping_distribution_sets.py
Author: Keith Tauscher
Date: 18 Feb 2018
Description: Example script showing the meaning and method of summing two
JumpingDistributionSet objects using the '+' and '+=' operators.
"""
from distpy import UniformJumpingDistribution, JumpingDistribu... | 47.25 | 79 | 0.829806 | 128 | 1,134 | 6.96875 | 0.335938 | 0.383408 | 0.419283 | 0.195067 | 0.497758 | 0.497758 | 0.2713 | 0.2713 | 0.206278 | 0.206278 | 0 | 0.013436 | 0.081129 | 1,134 | 23 | 80 | 49.304348 | 0.84261 | 0.219577 | 0 | 0 | 0 | 0 | 0.010262 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 |
5b7c7e6af68c4c49732f20825c74bf093a8df03a | 40 | py | Python | src/morpyengine/Systems/__init__.py | Morgiver/morpyengine | c02cb575edfb4d4cec3e09cec5869c53ef9772ab | [
"MIT"
] | null | null | null | src/morpyengine/Systems/__init__.py | Morgiver/morpyengine | c02cb575edfb4d4cec3e09cec5869c53ef9772ab | [
"MIT"
] | null | null | null | src/morpyengine/Systems/__init__.py | Morgiver/morpyengine | c02cb575edfb4d4cec3e09cec5869c53ef9772ab | [
"MIT"
] | null | null | null | __all__ = [
'Mouse',
'Render'
]
| 8 | 12 | 0.45 | 3 | 40 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 40 | 4 | 13 | 10 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.275 | 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 |
5b8f80ddc2cfc1a127866508638612ee8e871d5e | 250 | py | Python | CursoEmVideo/Mundo1/Aulas/aula07c.py | rafaelgama/Curso_Python | 908231de9de4a17f5aa829f2671fd88de9261eda | [
"MIT"
] | 1 | 2020-05-07T20:21:15.000Z | 2020-05-07T20:21:15.000Z | CursoEmVideo/Mundo1/Aulas/aula07c.py | rafaelgama/Curso_Python | 908231de9de4a17f5aa829f2671fd88de9261eda | [
"MIT"
] | null | null | null | CursoEmVideo/Mundo1/Aulas/aula07c.py | rafaelgama/Curso_Python | 908231de9de4a17f5aa829f2671fd88de9261eda | [
"MIT"
] | null | null | null | #Leia um numero e mostre seu dobro, triplo e raiz quadrada
n = int(input('Digite um numero: '))
print('O número é: {}'.format(n))
print('O dobro é: {}'.format(n*2))
print('O triplo é: {}'.format(n*3))
print('A raiz quadrada é: {}'.format(n**(1/2)))
| 31.25 | 58 | 0.632 | 46 | 250 | 3.434783 | 0.5 | 0.177215 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0.14 | 250 | 7 | 59 | 35.714286 | 0.716279 | 0.228 | 0 | 0 | 0 | 0 | 0.418848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
5ba5770f64a529d70d649bd236085b0e3464d8ec | 351 | py | Python | 2019 Pipeline - mp/configs_old.py | uutzinger/BucketVision | 3f12431173b0ac280e0c39839dce3de401d16e99 | [
"MIT"
] | 1 | 2019-10-12T20:15:15.000Z | 2019-10-12T20:15:15.000Z | 2019 Pipeline - mp/configs_old.py | uutzinger/BucketVision | 3f12431173b0ac280e0c39839dce3de401d16e99 | [
"MIT"
] | null | null | null | 2019 Pipeline - mp/configs_old.py | uutzinger/BucketVision | 3f12431173b0ac280e0c39839dce3de401d16e99 | [
"MIT"
] | null | null | null | configs = {
'camera_res': (320, 240),
'crop_top' : 2/6,
'crop_bot' : 5/6,
'exposure' : 3,
'CSIexposure' : 3000,
'CSIframerate': 90
}
cropped_vres = int(configs['camera_res'][1]*(configs['crop_bot'])) - int(configs['camera_res'][1]*(configs['crop_top']))
configs['output_res'] = (configs['ca... | 27 | 120 | 0.603989 | 46 | 351 | 4.369565 | 0.5 | 0.258706 | 0.318408 | 0.189055 | 0.308458 | 0.308458 | 0.308458 | 0 | 0 | 0 | 0 | 0.069204 | 0.176638 | 351 | 12 | 121 | 29.25 | 0.626298 | 0 | 0 | 0 | 0 | 0 | 0.323782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5bd98d6affe515509cf0a1b549eb6fc5e6a6583b | 314 | py | Python | tests/test_joinville_fake.py | danielSbastos/understanding-tests | 876321014d56376d62e100728e15fc0bbc86c5f2 | [
"MIT"
] | null | null | null | tests/test_joinville_fake.py | danielSbastos/understanding-tests | 876321014d56376d62e100728e15fc0bbc86c5f2 | [
"MIT"
] | null | null | null | tests/test_joinville_fake.py | danielSbastos/understanding-tests | 876321014d56376d62e100728e15fc0bbc86c5f2 | [
"MIT"
] | null | null | null | from understanding_tests.joinville import Joinville
class StreetFake:
STREET = 'Max Colin'
def get_description(self):
return self.STREET
def test_with_fake():
street = StreetFake()
jlle = Joinville('América', street)
assert str(jlle) == 'Neighborhood: América, Street: Max Colin'
| 19.625 | 66 | 0.697452 | 36 | 314 | 5.972222 | 0.638889 | 0.083721 | 0.130233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207006 | 314 | 15 | 67 | 20.933333 | 0.863454 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
75065ebe22436d2b1c40285ab2f619d5ef6ed3f3 | 1,309 | py | Python | src/offchainapi/database.py | mengxu-fb/off-chain-reference | a798fe81b79ef892f71dc58c136f9458ecfd7769 | [
"Apache-2.0"
] | null | null | null | src/offchainapi/database.py | mengxu-fb/off-chain-reference | a798fe81b79ef892f71dc58c136f9458ecfd7769 | [
"Apache-2.0"
] | null | null | null | src/offchainapi/database.py | mengxu-fb/off-chain-reference | a798fe81b79ef892f71dc58c136f9458ecfd7769 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0
class Database:
""" The interface that underlying database should implement """
def get(self, prefix, key):
""" Given a prefix and key, return the value in db """
return NotImplementedError() # pragma: no cover... | 34.447368 | 78 | 0.629488 | 164 | 1,309 | 5.018293 | 0.365854 | 0.087485 | 0.26367 | 0.28068 | 0.503038 | 0.503038 | 0.399757 | 0.126367 | 0.126367 | 0.126367 | 0 | 0.002103 | 0.273491 | 1,309 | 37 | 79 | 35.378378 | 0.863302 | 0.478228 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7542a996b38ea911b37d14bdf728e330f47783de | 1,421 | py | Python | src/mine/creditCard/2017_credit_card.py | AldrichYang/HelloPython3 | de3d3f3cf293980a7e11aaa488a2621035efc599 | [
"Apache-2.0"
] | null | null | null | src/mine/creditCard/2017_credit_card.py | AldrichYang/HelloPython3 | de3d3f3cf293980a7e11aaa488a2621035efc599 | [
"Apache-2.0"
] | null | null | null | src/mine/creditCard/2017_credit_card.py | AldrichYang/HelloPython3 | de3d3f3cf293980a7e11aaa488a2621035efc599 | [
"Apache-2.0"
] | null | null | null | from src.mine.creditCard import pay_computes as pc
# 2016.12
my = 3901.5
pf = 1204.0
zs = 4845.63
pc.need_to_pay('2016.12', my, pf, zs)
# 2017.01
my = 1759.61
zs = 7918.85
pf = 378
pay01 = pc.need_to_pay('2017.01', my, pf, zs)
# 2017.02
my = 1586.88
pf = 527
zs = 4643.27
pay02 = pc.need_to_pay('2017.02', my, pf, zs)... | 16.916667 | 117 | 0.617875 | 296 | 1,421 | 2.875 | 0.368243 | 0.091657 | 0.122209 | 0.168038 | 0.211516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36652 | 0.201267 | 1,421 | 83 | 118 | 17.120482 | 0.38326 | 0.072484 | 0 | 0 | 0 | 0 | 0.079755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.017857 | 0.017857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f359227fe8dd88121f5dd1277fc6bd0cfc8b85c2 | 194 | py | Python | records/03-23/list_slice.py | AaronYang2333/CSCI_570 | 03e34ce5ff192fc94612bc3afb51dcab3e854462 | [
"Apache-2.0"
] | 36 | 2020-07-25T00:13:25.000Z | 2022-02-28T17:48:15.000Z | records/03-23/list_slice.py | AaronYang2333/LeetCode | 03e34ce5ff192fc94612bc3afb51dcab3e854462 | [
"Apache-2.0"
] | 6 | 2020-06-06T04:39:37.000Z | 2021-04-03T01:45:39.000Z | records/03-23/list_slice.py | AaronYang2333/LeetCode | 03e34ce5ff192fc94612bc3afb51dcab3e854462 | [
"Apache-2.0"
] | 16 | 2020-12-16T02:38:16.000Z | 2022-02-28T17:48:16.000Z | __author__ = 'Aaron Yang'
__email__ = 'byang971@usc.edu'
__date__ = '3/23/2020 4:35 PM'
if __name__ == '__main__':
list = ['1', '2', '3', '4', '5']
print(list[10:])
# 切片操作不会引起下标越界异常 | 24.25 | 36 | 0.587629 | 27 | 194 | 3.481481 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.195876 | 194 | 8 | 37 | 24.25 | 0.474359 | 0.072165 | 0 | 0 | 0 | 0 | 0.312849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
f3605c29a11de4c218b7076d61487542bb7903c0 | 166 | py | Python | src/kinds.py | ikanor/event-sourcing-python | 85e8766f05f92d25fca37426a70eab2daf8b26d9 | [
"MIT"
] | null | null | null | src/kinds.py | ikanor/event-sourcing-python | 85e8766f05f92d25fca37426a70eab2daf8b26d9 | [
"MIT"
] | null | null | null | src/kinds.py | ikanor/event-sourcing-python | 85e8766f05f92d25fca37426a70eab2daf8b26d9 | [
"MIT"
] | null | null | null | BASKET_CREATED = 'basket_created'
ADD_ITEM = 'add_item'
ITEM_ADDED = 'item_added'
CHECKOUT = 'checkout'
CHECKOUT_STARTED = 'checkout_started'
PAY_ORDER = 'pay_order'
| 23.714286 | 37 | 0.783133 | 22 | 166 | 5.454545 | 0.409091 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 166 | 6 | 38 | 27.666667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.391566 | 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 |
f39289496b593e11810e986e5aac0f9d5fe5f3c6 | 131 | py | Python | Python/baekjoon/bronze/baek_2588.py | KwanHoo/Data-Structure__Algorithm | b985f8b41a366b9c028da711ea43a643151268e2 | [
"MIT"
] | null | null | null | Python/baekjoon/bronze/baek_2588.py | KwanHoo/Data-Structure__Algorithm | b985f8b41a366b9c028da711ea43a643151268e2 | [
"MIT"
] | null | null | null | Python/baekjoon/bronze/baek_2588.py | KwanHoo/Data-Structure__Algorithm | b985f8b41a366b9c028da711ea43a643151268e2 | [
"MIT"
] | null | null | null | ## 백준 2588번
## 곱셈
## 입출력, 사칙연산, 수학
A = int(input())
B = input()
for i in range(2, -1, -1):
print(A*int(B[i]))
print(A*int(B)) | 13.1 | 26 | 0.519084 | 27 | 131 | 2.518519 | 0.62963 | 0.176471 | 0.264706 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 0.21374 | 131 | 10 | 27 | 13.1 | 0.592233 | 0.19084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f393a045e96251bf3f8b092d3a2024bc9bced0dc | 147 | py | Python | configuration.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | configuration.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | configuration.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | import os
DATABASE_SERVER_IP = '192.168.0.16'
DATABASE_NAME = 'Spotifake'
DATABASE_USERNAME = 'userSpotifake'
DATABASE_PASSWORD = 'Spotifake2020'
| 21 | 35 | 0.795918 | 18 | 147 | 6.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 0.102041 | 147 | 6 | 36 | 24.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.319728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f3967064c679fb422bd29967e69671542c76850e | 2,114 | py | Python | rapic/base.py | ydaniels/rapic | 0b45733c9003e118a43054a4bc537602ac5d5be5 | [
"MIT"
] | 1 | 2019-12-20T08:54:50.000Z | 2019-12-20T08:54:50.000Z | rapic/base.py | ydaniels/rapic | 0b45733c9003e118a43054a4bc537602ac5d5be5 | [
"MIT"
] | null | null | null | rapic/base.py | ydaniels/rapic | 0b45733c9003e118a43054a4bc537602ac5d5be5 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class BaseClient:
"""This is the entry point for creating a client, every client must inherit from this class.
Note this is an abstract class, it cannot be used directly and every child class must implement
all abstract methods specified below.
"""
_... | 32.523077 | 112 | 0.640492 | 270 | 2,114 | 4.9 | 0.374074 | 0.089947 | 0.075586 | 0.031746 | 0.170824 | 0.054422 | 0.054422 | 0.054422 | 0 | 0 | 0 | 0 | 0.287606 | 2,114 | 64 | 113 | 33.03125 | 0.878486 | 0.519868 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0.086957 | 0.043478 | 0.043478 | 0.608696 | 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 |
f39bea71c2f51b5290667d8bc0c42f5306af3ac9 | 421 | py | Python | hello.py | brian-jos/cgi-lab | 41699846f01504ac3755ba3ceec0e6184401feb7 | [
"Apache-2.0"
] | null | null | null | hello.py | brian-jos/cgi-lab | 41699846f01504ac3755ba3ceec0e6184401feb7 | [
"Apache-2.0"
] | null | null | null | hello.py | brian-jos/cgi-lab | 41699846f01504ac3755ba3ceec0e6184401feb7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import os
print("Content-type:text/html\r\n\r\n")
print()
print("<html>")
print("<head>")
print("<title>hello.py</title>")
print("</head>")
print("<body>")
print(f"<p>{os.environ}</p>")
print(f"<h2>QUERY_STRING: {os.environ['QUERY_STRING']}</h2>")
print(f"<h2>HTTP_USER_AGENT: {os.environ['HTTP_... | 22.157895 | 67 | 0.634204 | 70 | 421 | 3.728571 | 0.471429 | 0.068966 | 0.10728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01269 | 0.064133 | 421 | 18 | 68 | 23.388889 | 0.649746 | 0.049881 | 0 | 0 | 0 | 0 | 0.636591 | 0.305764 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0.928571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f39f354d24371695c224303bf44055846ce215fc | 2,793 | py | Python | discooord/models/events.py | TehBigA/discooord | 9a290686664a0c8636958058e28d4115f45c1cc3 | [
"MIT"
] | null | null | null | discooord/models/events.py | TehBigA/discooord | 9a290686664a0c8636958058e28d4115f45c1cc3 | [
"MIT"
] | 1 | 2016-12-15T02:03:58.000Z | 2016-12-15T02:07:42.000Z | discooord/models/events.py | TehBigA/discooord | 9a290686664a0c8636958058e28d4115f45c1cc3 | [
"MIT"
] | null | null | null | from ..utils import get_logger
from .gateway import GatewayEventDispatcher, GatewayEvent
from . import snowflake
from .guild import Guild, GuildMember
from .user import User, Presence
from .chat import DMChannel, Message, Reaction, TypingStart, Emoji
from .operations import Status
from .voice import VoiceState
_LOG... | 21.320611 | 93 | 0.684569 | 256 | 2,793 | 7.402344 | 0.324219 | 0.237467 | 0.277045 | 0.144063 | 0.343008 | 0.242744 | 0.104485 | 0.104485 | 0.104485 | 0.104485 | 0 | 0 | 0.203008 | 2,793 | 130 | 94 | 21.484615 | 0.851303 | 0.012531 | 0 | 0.411111 | 0 | 0 | 0.093648 | 0 | 0 | 0 | 0 | 0.007692 | 0 | 1 | 0.022222 | false | 0.088889 | 0.088889 | 0 | 0.355556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
340cda616a8f0035c762f7adad7ba104e3124a04 | 467 | py | Python | conference/__init__.py | cinghiale/conference | 7e5d9c462693d997e8507ee3a4c66ec5e4c0eb0e | [
"BSD-2-Clause"
] | 1 | 2016-02-17T14:43:57.000Z | 2016-02-17T14:43:57.000Z | conference/__init__.py | cinghiale/conference | 7e5d9c462693d997e8507ee3a4c66ec5e4c0eb0e | [
"BSD-2-Clause"
] | 5 | 2015-02-11T11:26:40.000Z | 2018-01-15T19:52:51.000Z | conference/__init__.py | cinghiale/conference | 7e5d9c462693d997e8507ee3a4c66ec5e4c0eb0e | [
"BSD-2-Clause"
] | 5 | 2015-01-16T06:12:00.000Z | 2019-03-22T21:51:19.000Z | # -*- coding: UTF-8 -*-
"""
Package contenente views/models e templatetags utili in più conferenze
pycon-like. Idealmente in questo package trovano posto la gestione di modelli
comuni (tipo le deadlines) templatetags di utilità (come la navigazione) e
codice particolare come l'accesso ad assopy. Questo package *non* do... | 35.923077 | 77 | 0.768737 | 70 | 467 | 5.071429 | 0.742857 | 0.050704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004938 | 0.132762 | 467 | 12 | 78 | 38.916667 | 0.871605 | 0.775161 | 0 | 0 | 0 | 0 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
343ca8ee2ef73dd4315ac8d2b0835f93074162bc | 379 | py | Python | api/suids/views.py | CenterForOpenScience/SHARE | c7715af2881f6fa23197d4e7c381d90169a90ed1 | [
"Apache-2.0"
] | 87 | 2015-01-06T18:24:45.000Z | 2021-08-08T07:59:40.000Z | api/suids/views.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 442 | 2015-01-01T19:16:01.000Z | 2022-03-30T21:10:26.000Z | api/suids/views.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 67 | 2015-03-10T16:32:58.000Z | 2021-11-12T16:33:41.000Z | from rest_framework import viewsets
from api.suids.serializers import SuidSerializer
from api.base import ShareViewSet
from share.models import SourceUniqueIdentifier
class SuidViewSet(ShareViewSet, viewsets.ReadOnlyModelViewSet):
serializer_class = SuidSerializer
ordering = ('id', )
def get_queryset(... | 23.6875 | 63 | 0.791557 | 39 | 379 | 7.615385 | 0.692308 | 0.047138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147757 | 379 | 15 | 64 | 25.266667 | 0.919505 | 0 | 0 | 0 | 0 | 0 | 0.005277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
343e7a8f6897ba133ef5e5cedbdae34d4cf926a5 | 846 | py | Python | ex_tools/globals.py | yu-ichiro/ex-tools | 6320841fb2f5fcdb7146ca08f64af8acb9e6ec1d | [
"MIT"
] | null | null | null | ex_tools/globals.py | yu-ichiro/ex-tools | 6320841fb2f5fcdb7146ca08f64af8acb9e6ec1d | [
"MIT"
] | null | null | null | ex_tools/globals.py | yu-ichiro/ex-tools | 6320841fb2f5fcdb7146ca08f64af8acb9e6ec1d | [
"MIT"
] | null | null | null | class Empty:
"""
A constant that is Like None, but adding a little more.
When compared with "==", it negates the bool(other) e.g. [] == Empty, {} == Empty, None == Empty
When compared with "is", "Empty is Empty" only evaluates to True.
This feature about "is" is convenient when checking default arg... | 27.290323 | 100 | 0.586288 | 130 | 846 | 3.723077 | 0.446154 | 0.03719 | 0.03719 | 0.049587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.308511 | 846 | 30 | 101 | 28.2 | 0.818803 | 0.702128 | 0 | 0 | 0 | 0 | 0.027174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.375 | 0.875 | 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 |
3467a6dabe1f995db30e379e4aba9ad99c7e782d | 1,243 | py | Python | ChoCoTeX_app/writeTeX.py | DamienMinenna/ChoCoTeX | 01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea | [
"MIT"
] | 1 | 2021-03-07T21:56:41.000Z | 2021-03-07T21:56:41.000Z | ChoCoTeX_app/writeTeX.py | DamienMinenna/ChoCoTeX | 01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea | [
"MIT"
] | 1 | 2021-03-07T21:26:05.000Z | 2021-03-07T21:26:05.000Z | ChoCoTeX_app/writeTeX.py | DamienMinenna/ChoCoTeX | 01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea | [
"MIT"
] | 1 | 2021-03-08T16:23:36.000Z | 2021-03-08T16:23:36.000Z |
def writeuser_tex(text_tex,env):
if env == 1:
text_file = open("latex/user_eq.tex", "w")
text_file.write(r"\begin{align*}")
text_file.write("\n")
text_file.write(r"%s" % text_tex)
text_file.write("\n")
text_file.write(r"\end{align*}")
text_file.close()
e... | 33.594595 | 72 | 0.583266 | 185 | 1,243 | 3.708108 | 0.2 | 0.314869 | 0.322157 | 0.22449 | 0.695335 | 0.618076 | 0.591837 | 0.591837 | 0.510204 | 0.510204 | 0 | 0.006263 | 0.229284 | 1,243 | 36 | 73 | 34.527778 | 0.709812 | 0 | 0 | 0.545455 | 0 | 0 | 0.198068 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0 | 0 | 0.060606 | 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 |
346cc04eed454237b17c9075dce0c44721cd4d34 | 50 | py | Python | dev/cpp/__init__.py | bowlofstew/client | 0d5ae42aaf9863e3871828b6df06170aad17c560 | [
"MIT"
] | 40 | 2015-04-15T09:40:23.000Z | 2022-02-11T11:07:24.000Z | dev/cpp/__init__.py | bowlofstew/client | 0d5ae42aaf9863e3871828b6df06170aad17c560 | [
"MIT"
] | 19 | 2015-04-15T18:34:53.000Z | 2018-11-17T00:11:05.000Z | dev/cpp/__init__.py | bowlofstew/client | 0d5ae42aaf9863e3871828b6df06170aad17c560 | [
"MIT"
] | 22 | 2015-04-15T09:45:46.000Z | 2020-09-29T17:04:19.000Z | import os
DEV_CPP_DIR = os.path.dirname(__file__)
| 16.666667 | 39 | 0.8 | 9 | 50 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 2 | 40 | 25 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3470eb884cc14d14cbd77716acd5098382e7801b | 602 | py | Python | entity/Location.py | LunaGao/a_monsters_expedition | 1b47179d79edf4a93a76db560a109f1c5b249394 | [
"Apache-2.0"
] | null | null | null | entity/Location.py | LunaGao/a_monsters_expedition | 1b47179d79edf4a93a76db560a109f1c5b249394 | [
"Apache-2.0"
] | null | null | null | entity/Location.py | LunaGao/a_monsters_expedition | 1b47179d79edf4a93a76db560a109f1c5b249394 | [
"Apache-2.0"
] | null | null | null | from push_enum import Push
class Location:
x = 0
y = 0
location_value = None
push_location = None
def __init__(self, x, y, location_value=None, push_location=None):
self.x = x
self.y = y
self.location_value = location_value
self.push_location = push_location
d... | 27.363636 | 108 | 0.622924 | 81 | 602 | 4.37037 | 0.234568 | 0.367232 | 0.19209 | 0.118644 | 0.440678 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.272425 | 602 | 21 | 109 | 28.666667 | 0.803653 | 0 | 0 | 0.125 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
34815927e409137a17392acb0738bc05bc96e038 | 191 | py | Python | service/surf/apps/themes/admin.py | surfedushare/search-portal | 708a0d05eee13c696ca9abd7e84ab620d3900fbe | [
"MIT"
] | 2 | 2021-08-19T09:40:59.000Z | 2021-12-14T11:08:20.000Z | service/surf/apps/themes/admin.py | surfedushare/search-portal | 708a0d05eee13c696ca9abd7e84ab620d3900fbe | [
"MIT"
] | 159 | 2020-05-14T14:17:34.000Z | 2022-03-23T10:28:13.000Z | service/surf/apps/themes/admin.py | surfedushare/search-portal | 708a0d05eee13c696ca9abd7e84ab620d3900fbe | [
"MIT"
] | 1 | 2021-11-11T13:37:22.000Z | 2021-11-11T13:37:22.000Z | from django.contrib import admin
from surf.apps.themes.models import Theme
class ThemeAdmin(admin.ModelAdmin):
list_display = ('external_id',)
admin.site.register(Theme, ThemeAdmin)
| 17.363636 | 41 | 0.774869 | 25 | 191 | 5.84 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125654 | 191 | 10 | 42 | 19.1 | 0.874252 | 0 | 0 | 0 | 0 | 0 | 0.057592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
348286117545f285e26d311606416b23d637e951 | 130 | py | Python | example.py | antonverburg/pi1wire | f9241cb8b12732f7a5a2f5310df8c2eaffb4f5d5 | [
"MIT"
] | 1 | 2020-09-16T21:25:57.000Z | 2020-09-16T21:25:57.000Z | example.py | antonverburg/pi1wire | f9241cb8b12732f7a5a2f5310df8c2eaffb4f5d5 | [
"MIT"
] | 1 | 2021-10-31T13:15:24.000Z | 2021-11-27T12:50:21.000Z | example.py | antonverburg/pi1wire | f9241cb8b12732f7a5a2f5310df8c2eaffb4f5d5 | [
"MIT"
] | 1 | 2021-10-30T09:19:46.000Z | 2021-10-30T09:19:46.000Z | from pi1wire import Pi1Wire
for s in Pi1Wire().find_all_sensors():
print('%s = %.2f' % (s.mac_address, s.get_temperature()))
| 26 | 61 | 0.684615 | 20 | 130 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.146154 | 130 | 4 | 62 | 32.5 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 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 |
cab202d4d6603632194df8bca0f31d9c5199a733 | 478 | py | Python | test_cards_pytest.py | vv31415926/python_lesson_10_Pro | 34653c7f7db9240475532a42c0f77c97e9f9dde9 | [
"MIT"
] | null | null | null | test_cards_pytest.py | vv31415926/python_lesson_10_Pro | 34653c7f7db9240475532a42c0f77c97e9f9dde9 | [
"MIT"
] | null | null | null | test_cards_pytest.py | vv31415926/python_lesson_10_Pro | 34653c7f7db9240475532a42c0f77c97e9f9dde9 | [
"MIT"
] | null | null | null | from cards import Cards
class Test_cards:
def setup(self):
self.cards = Cards()
def teardown(self):
pass
def test_init(self):
assert self.cards.cards == []
def test_get_cards(self): # [[рейтинг, достоинство(название), код символа, масть ],...]
assert len(self.cards.... | 21.727273 | 93 | 0.575314 | 64 | 478 | 4.1875 | 0.4375 | 0.16791 | 0.104478 | 0.126866 | 0.19403 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0.028249 | 0.259414 | 478 | 21 | 94 | 22.761905 | 0.728814 | 0.123431 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.384615 | false | 0.076923 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
cabb4e80d3ff05d1127c33cfd4a2f4f477057098 | 140 | py | Python | lec_05/simple_hash_map.py | diable201/Grokking_Algorithms | 2597b93a91ec5aabc06f9791b42de03f7d01656b | [
"MIT"
] | 1 | 2020-09-11T10:25:32.000Z | 2020-09-11T10:25:32.000Z | lec_05/simple_hash_map.py | diable201/Grokking_Algorithms | 2597b93a91ec5aabc06f9791b42de03f7d01656b | [
"MIT"
] | null | null | null | lec_05/simple_hash_map.py | diable201/Grokking_Algorithms | 2597b93a91ec5aabc06f9791b42de03f7d01656b | [
"MIT"
] | null | null | null | book = {"apple": 0.67,
"banana": 1.49,
"milk": 2.3
}
book["avocado"] = 1.5
print(book)
print(book["banana"])
print(book["avocado"]) | 15.555556 | 22 | 0.571429 | 22 | 140 | 3.636364 | 0.590909 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0.164286 | 140 | 9 | 23 | 15.555556 | 0.598291 | 0 | 0 | 0 | 0 | 0 | 0.248227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 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 |
cac70ec83294d444d652dd3df7183212ebc19c45 | 28 | py | Python | backend/imdb_analyser/model/__init__.py | Mushroomator/IMDb-Analyser | 85f0682260b58f27cd30443714323e2c6b22d023 | [
"Apache-2.0"
] | null | null | null | backend/imdb_analyser/model/__init__.py | Mushroomator/IMDb-Analyser | 85f0682260b58f27cd30443714323e2c6b22d023 | [
"Apache-2.0"
] | null | null | null | backend/imdb_analyser/model/__init__.py | Mushroomator/IMDb-Analyser | 85f0682260b58f27cd30443714323e2c6b22d023 | [
"Apache-2.0"
] | null | null | null | __all__ = ["actor_model.py"] | 28 | 28 | 0.714286 | 4 | 28 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.482759 | 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 |
cae09b4a0b8fffd22672748888b2d0b860b43b3e | 113 | py | Python | Lecture9/super_list.py | kopok2/PythonCourse | f741b17adaa7290380e83408ed24100127837ad7 | [
"MIT"
] | 3 | 2019-10-30T21:14:49.000Z | 2019-12-31T13:03:17.000Z | Lecture9/super_list.py | kopok2/PythonCourse | f741b17adaa7290380e83408ed24100127837ad7 | [
"MIT"
] | null | null | null | Lecture9/super_list.py | kopok2/PythonCourse | f741b17adaa7290380e83408ed24100127837ad7 | [
"MIT"
] | null | null | null | from classtools import AttrDisplay
class SuperList(list, AttrDisplay):
pass
sl = SuperList()
print(SuperList) | 14.125 | 35 | 0.787611 | 13 | 113 | 6.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 8 | 36 | 14.125 | 0.908163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
cae7e9fc4098954d2cc8356ba83d5b26cfd142d7 | 164 | py | Python | infinity/apps/base/json_urls.py | ra101/Django-Infinity | 9fd17c3c27e1d9f4c1796007b7dc053857edd294 | [
"MIT"
] | null | null | null | infinity/apps/base/json_urls.py | ra101/Django-Infinity | 9fd17c3c27e1d9f4c1796007b7dc053857edd294 | [
"MIT"
] | null | null | null | infinity/apps/base/json_urls.py | ra101/Django-Infinity | 9fd17c3c27e1d9f4c1796007b7dc053857edd294 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import live_view
urlpatterns = [
path("live_settings/<str:live_url_endpoint>/", live_view, name="live-url-demo"),
]
| 18.222222 | 84 | 0.731707 | 24 | 164 | 4.791667 | 0.625 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 164 | 8 | 85 | 20.5 | 0.809859 | 0 | 0 | 0 | 0 | 0 | 0.310976 | 0.231707 | 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 |
caf8c83cf2765fda08e01c90b3543b9529646544 | 80 | py | Python | configs/.jupyter/nbgrader_config.py | artificialsoph/soph-config | 9d686eca2a0e8c3ad264abf6931723ef80f3de8f | [
"Unlicense"
] | null | null | null | configs/.jupyter/nbgrader_config.py | artificialsoph/soph-config | 9d686eca2a0e8c3ad264abf6931723ef80f3de8f | [
"Unlicense"
] | null | null | null | configs/.jupyter/nbgrader_config.py | artificialsoph/soph-config | 9d686eca2a0e8c3ad264abf6931723ef80f3de8f | [
"Unlicense"
] | null | null | null | c = get_config()
c.CourseDirectory.root = '/Users/s/git/Metis/dbs_ml_instructor' | 40 | 63 | 0.775 | 13 | 80 | 4.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 80 | 2 | 63 | 40 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b1fd0647c1ba8e3709f708d93fa187deeafefe8 | 109 | py | Python | tests/expr5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 31 | 2022-01-07T23:56:33.000Z | 2022-03-29T16:09:02.000Z | tests/expr5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 197 | 2021-12-29T19:01:41.000Z | 2022-03-31T15:58:25.000Z | tests/expr5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 17 | 2022-01-06T15:34:36.000Z | 2022-03-31T13:55:33.000Z | def test_StrOp_concat():
s: str
s = '3' + '4'
s = "a " + "test"
s = 'test' + 'test' + 'test'
| 18.166667 | 32 | 0.422018 | 16 | 109 | 2.75 | 0.5625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.348624 | 109 | 5 | 33 | 21.8 | 0.591549 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 0 | 0.6 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 |
1b22d0d465d410cb83b4957c0a127ed2ad996a57 | 555 | py | Python | src/jaxga/ops/add.py | RobinKa/jaxga | 6345af6d30e04fc4e96877f2a6ed65f9999ee605 | [
"MIT"
] | 7 | 2021-11-02T10:01:52.000Z | 2021-12-30T17:33:58.000Z | src/jaxga/ops/add.py | RobinKa/jaxga | 6345af6d30e04fc4e96877f2a6ed65f9999ee605 | [
"MIT"
] | 2 | 2021-12-27T18:08:06.000Z | 2022-01-08T19:04:31.000Z | src/jaxga/ops/add.py | RobinKa/jaxga | 6345af6d30e04fc4e96877f2a6ed65f9999ee605 | [
"MIT"
] | 1 | 2021-12-29T18:44:07.000Z | 2021-12-29T18:44:07.000Z | import jax
import jax.numpy as jnp
from .reduce_same import get_mv_reduce_same
from functools import cache
@cache
def get_mv_add(a_blade_indices, b_blade_indices):
out_blade_indices = a_blade_indices + b_blade_indices
mv_reduce_same, out_blade_indices = get_mv_reduce_same(out_blade_indices)
de... | 32.647059 | 78 | 0.783784 | 91 | 555 | 4.241758 | 0.274725 | 0.248705 | 0.186529 | 0.07772 | 0.274611 | 0.274611 | 0 | 0 | 0 | 0 | 0 | 0.002141 | 0.158559 | 555 | 16 | 79 | 34.6875 | 0.824411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1b31e7a7354314214231d84c02624e5b5ec77e71 | 1,522 | py | Python | dataStructures/MinMaxStack.py | rickylaufitness/minialgos | 0441c1e5b8479bda9f106e1a04ec8166b04b7407 | [
"MIT"
] | null | null | null | dataStructures/MinMaxStack.py | rickylaufitness/minialgos | 0441c1e5b8479bda9f106e1a04ec8166b04b7407 | [
"MIT"
] | null | null | null | dataStructures/MinMaxStack.py | rickylaufitness/minialgos | 0441c1e5b8479bda9f106e1a04ec8166b04b7407 | [
"MIT"
] | null | null | null | '''
Write a Min Max Stack class. The class should support pushing and popping values on and off the stack, peeking at
values at the top of the stack, and getting both the minimum and maximum values in the stack. All class methods, when
considered independently, should run in constant time and with constant space.
Inpu... | 20.849315 | 117 | 0.61958 | 226 | 1,522 | 4.154867 | 0.252212 | 0.159744 | 0.031949 | 0.037274 | 0.242812 | 0.242812 | 0.178914 | 0.093717 | 0 | 0 | 0 | 0.029185 | 0.23456 | 1,522 | 72 | 118 | 21.138889 | 0.776824 | 0.440867 | 0 | 0 | 0 | 0 | 0.028605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1b631bbc0ef6593565153bcf7370e4919e17d5ea | 146 | py | Python | pacote-Download/pythontestes/desafio030.py | FernandoFalcone-dev/exercicios-Python | a867cf5cd08ae7325f2f7916b4116b5f31fe83ef | [
"MIT"
] | null | null | null | pacote-Download/pythontestes/desafio030.py | FernandoFalcone-dev/exercicios-Python | a867cf5cd08ae7325f2f7916b4116b5f31fe83ef | [
"MIT"
] | null | null | null | pacote-Download/pythontestes/desafio030.py | FernandoFalcone-dev/exercicios-Python | a867cf5cd08ae7325f2f7916b4116b5f31fe83ef | [
"MIT"
] | null | null | null | num = int(input('Me diga um número qualquer: '))
if num % 2 == 0:
print(f'O número {num} é PAR.')
else:
print(f'O número {num} é ÍMPAR.')
| 24.333333 | 48 | 0.589041 | 27 | 146 | 3.185185 | 0.666667 | 0.139535 | 0.162791 | 0.302326 | 0.395349 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.226027 | 146 | 5 | 49 | 29.2 | 0.743363 | 0 | 0 | 0 | 0 | 0 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b8aa53163e559eb44dab98cdc619493a4d190e8 | 925 | py | Python | pythonapm/collector/insinfo.py | nextapm/pythonapm | ddd8ad374e4f268516fc81f0bf710206565b737e | [
"FTL"
] | null | null | null | pythonapm/collector/insinfo.py | nextapm/pythonapm | ddd8ad374e4f268516fc81f0bf710206565b737e | [
"FTL"
] | null | null | null | pythonapm/collector/insinfo.py | nextapm/pythonapm | ddd8ad374e4f268516fc81f0bf710206565b737e | [
"FTL"
] | null | null | null |
import json
import os
from pythonapm.util import current_milli_time, is_valid_rescode
from pythonapm.constants import manage_agent, delete_agent, shutdown
class Instanceinfo:
def __init__(self):
self.last_reported = None
self.status = manage_agent
self.modified_time = current_milli_time()... | 22.560976 | 68 | 0.683243 | 116 | 925 | 5.137931 | 0.310345 | 0.120805 | 0.09396 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254054 | 925 | 40 | 69 | 23.125 | 0.863768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.153846 | 0.153846 | 0.653846 | 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 |
1b955d7ba157b3a0b98141a9b18529cc7e19ef50 | 3,281 | py | Python | cogs/Premiun_Generator.py | herobrine00100/Rewards-Master-Bot | 0dba7b7f23ec56d808f2c613aa2a1f61f8466823 | [
"MIT"
] | 5 | 2021-04-16T13:55:42.000Z | 2022-03-12T18:28:34.000Z | cogs/Premiun_Generator.py | herobrine00100/Rewards-Master-Bot | 0dba7b7f23ec56d808f2c613aa2a1f61f8466823 | [
"MIT"
] | null | null | null | cogs/Premiun_Generator.py | herobrine00100/Rewards-Master-Bot | 0dba7b7f23ec56d808f2c613aa2a1f61f8466823 | [
"MIT"
] | 3 | 2022-01-21T06:40:28.000Z | 2022-03-13T09:41:14.000Z | import discord
import random, os, time
import colorama, datetime, requests
from discord import Embed, File
from discord.ext import commands
from colorama import Fore
from colorama import init
init()
class Premiun_Gen(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listene... | 48.970149 | 182 | 0.606827 | 404 | 3,281 | 4.883663 | 0.287129 | 0.030411 | 0.024328 | 0.034465 | 0.72073 | 0.72073 | 0.691333 | 0.608211 | 0.608211 | 0.608211 | 0 | 0.006711 | 0.273392 | 3,281 | 67 | 183 | 48.970149 | 0.820889 | 0 | 0 | 0.545455 | 0 | 0 | 0.294776 | 0.072761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.121212 | 0.106061 | 0 | 0.151515 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1b974af736422300d71d56fb8453c41acf5a8bf9 | 2,532 | py | Python | nncf/structures.py | gnomonsis/nncf_pytorch | 9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb | [
"Apache-2.0"
] | null | null | null | nncf/structures.py | gnomonsis/nncf_pytorch | 9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb | [
"Apache-2.0"
] | 4 | 2020-07-17T11:12:35.000Z | 2021-12-15T15:20:24.000Z | nncf/structures.py | gnomonsis/nncf_pytorch | 9fc4a92b5cb1b2c240e633c4ffa69b4fae1917fb | [
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writin... | 41.508197 | 118 | 0.740521 | 325 | 2,532 | 5.673846 | 0.433846 | 0.05423 | 0.043384 | 0.047722 | 0.432213 | 0.432213 | 0.418655 | 0.418655 | 0.344902 | 0.344902 | 0 | 0.003949 | 0.199842 | 2,532 | 60 | 119 | 42.2 | 0.906219 | 0.669431 | 0 | 0.421053 | 0 | 0 | 0.080972 | 0.080972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1b97befdba7a5aba5b177617d6198b35e9108a4d | 474 | py | Python | spiketools/tests/stats/test_generators.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | null | null | null | spiketools/tests/stats/test_generators.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | null | null | null | spiketools/tests/stats/test_generators.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | null | null | null | """Tests for spiketools.stats.generators"""
import inspect
from spiketools.stats.generators import *
###################################################################################################
###################################################################################################
def test_poisso... | 26.333333 | 99 | 0.419831 | 32 | 474 | 6.125 | 0.65625 | 0.153061 | 0.255102 | 0.316327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.101266 | 474 | 17 | 100 | 27.882353 | 0.453052 | 0.078059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 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 |
1ba2f4118b91f2b4199369b3e8e0fa5cc7f1ae9d | 27 | py | Python | external/TriBITS/dev_testing/fissile4/local-checkin-test-defaults.8vt.th232.py | murraypurves/BootsOnTheGround | 15acc4ed064e368f6af5114408f1be8a62749f32 | [
"MIT"
] | 4 | 2017-02-01T00:39:29.000Z | 2018-08-09T11:53:18.000Z | external/TriBITS/dev_testing/fissile4/local-checkin-test-defaults.8vt.th232.py | murraypurves/BootsOnTheGround | 15acc4ed064e368f6af5114408f1be8a62749f32 | [
"MIT"
] | 14 | 2017-01-19T17:56:04.000Z | 2017-08-27T21:52:35.000Z | external/TriBITS/dev_testing/fissile4/local-checkin-test-defaults.8vt.th232.py | murraypurves/BootsOnTheGround | 15acc4ed064e368f6af5114408f1be8a62749f32 | [
"MIT"
] | 1 | 2019-10-03T12:13:36.000Z | 2019-10-03T12:13:36.000Z | defaults = [
"-j10",
]
| 6.75 | 12 | 0.407407 | 2 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.333333 | 27 | 3 | 13 | 9 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
1ba54f67fbeca699eda154fc6d759502d7e1d498 | 112 | py | Python | large_population.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | large_population.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | large_population.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | def large_population(population):
if(found > 2000):
return True
else:
return False
| 18.666667 | 34 | 0.580357 | 12 | 112 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.348214 | 112 | 5 | 35 | 22.4 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1ba87a0682cc840a3db80d064db1aab091c8342b | 1,146 | py | Python | kicost/currency_converter/default_rates.py | mdeweerd/KiCost | 2f67dad0f8d3335590835a6790181fc6428086d5 | [
"MIT"
] | null | null | null | kicost/currency_converter/default_rates.py | mdeweerd/KiCost | 2f67dad0f8d3335590835a6790181fc6428086d5 | [
"MIT"
] | null | null | null | kicost/currency_converter/default_rates.py | mdeweerd/KiCost | 2f67dad0f8d3335590835a6790181fc6428086d5 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
default_date = '2021-03-10'
default_rates = {'EUR': 1.0,
'USD': 1.1892,
'JPY': 129.12,
'BGN': 1.9558,
'CZK': 26.226,
'DKK': 7.4366,
'GBP': 0.85655,
'HUF': 367... | 30.157895 | 33 | 0.279232 | 112 | 1,146 | 2.839286 | 0.848214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345168 | 0.557592 | 1,146 | 37 | 34 | 30.972973 | 0.282051 | 0.034031 | 0 | 0 | 0 | 0 | 0.098643 | 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 |
1bacb2f9d1c400ceaa6c1774a0a1a964c5f1c10e | 248 | py | Python | astute-dashboard/astutedashboard/enabled/_8020_astute_admin_config_panel.py | sreenathmmenon/astttproject | 464fe20c8acf14afdfe03d1e4758e3df2b06196e | [
"Apache-2.0"
] | null | null | null | astute-dashboard/astutedashboard/enabled/_8020_astute_admin_config_panel.py | sreenathmmenon/astttproject | 464fe20c8acf14afdfe03d1e4758e3df2b06196e | [
"Apache-2.0"
] | null | null | null | astute-dashboard/astutedashboard/enabled/_8020_astute_admin_config_panel.py | sreenathmmenon/astttproject | 464fe20c8acf14afdfe03d1e4758e3df2b06196e | [
"Apache-2.0"
] | 1 | 2018-02-24T10:32:41.000Z | 2018-02-24T10:32:41.000Z | # If set, it will update the default panel of the PANEL_DASHBOARD.
DEFAULT_PANEL = 'billing_config'
PANEL_DASHBOARD = 'billing'
PANEL_GROUP = 'default'
PANEL = 'billing_config'
ADD_PANEL = 'astutedashboard.dashboards.billing.config.panel.Config'
| 27.555556 | 68 | 0.790323 | 33 | 248 | 5.727273 | 0.484848 | 0.190476 | 0.201058 | 0.26455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116935 | 248 | 8 | 69 | 31 | 0.863014 | 0.258065 | 0 | 0 | 0 | 0 | 0.530387 | 0.298343 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1bb9b711e7a3285d4facf3eb9b241a394d216f44 | 232 | py | Python | ssjsurvey/products/serializers.py | sivanagarajumolabanti/Shreeshubham | 7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5 | [
"MIT"
] | 1 | 2019-08-27T04:20:07.000Z | 2019-08-27T04:20:07.000Z | ssjsurvey/products/serializers.py | sivanagarajumolabanti/Shreeshubham | 7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5 | [
"MIT"
] | null | null | null | ssjsurvey/products/serializers.py | sivanagarajumolabanti/Shreeshubham | 7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5 | [
"MIT"
] | null | null | null | from .models import Products
from rest_framework import serializers
class ProductSerializer(serializers.ModelSerializer):
class Meta:
model = Products
fields = ('name', 'code', 'product_type', 'product_image')
| 25.777778 | 66 | 0.724138 | 24 | 232 | 6.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185345 | 232 | 8 | 67 | 29 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.142241 | 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 |
1bc918214845521bdf35fff07b5ad19f2e99b775 | 1,022 | py | Python | docs/tutorial/python/flask/users_api.py | mrpotes/go-raml | f151e1e143c47282b294fe70c5e56f113988ed10 | [
"BSD-2-Clause"
] | 142 | 2016-02-11T06:23:34.000Z | 2022-03-24T06:05:22.000Z | docs/tutorial/python/flask/users_api.py | mrpotes/go-raml | f151e1e143c47282b294fe70c5e56f113988ed10 | [
"BSD-2-Clause"
] | 297 | 2016-02-04T06:23:13.000Z | 2020-08-20T13:23:22.000Z | docs/tutorial/python/flask/users_api.py | mrpotes/go-raml | f151e1e143c47282b294fe70c5e56f113988ed10 | [
"BSD-2-Clause"
] | 49 | 2016-02-01T10:59:50.000Z | 2021-05-20T15:04:01.000Z | # DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
from flask import Blueprint
from . import handlers
from . import oauth2_itsyouonline as oauth2_itsyouonline
users_api = Blueprint('users_api', __name__)
@users_api.route('/users', methods=['GET'])
@oauth2_itsyouonline.oauth2_itsyouonl... | 25.55 | 79 | 0.722114 | 130 | 1,022 | 5.484615 | 0.392308 | 0.201964 | 0.054698 | 0.075736 | 0.382889 | 0.291725 | 0.151473 | 0 | 0 | 0 | 0 | 0.009281 | 0.156556 | 1,022 | 39 | 80 | 26.205128 | 0.817865 | 0.242661 | 0 | 0 | 1 | 0 | 0.131285 | 0.036313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.1875 | 0 | 0.5625 | 0.125 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1bd7f021c0407334c8496329409c3a244104be8d | 1,379 | py | Python | db/tables.py | mtaung/bossfight_club | b3d4f62dd2fe917eeb2bbd022566ad5412d62f48 | [
"MIT"
] | null | null | null | db/tables.py | mtaung/bossfight_club | b3d4f62dd2fe917eeb2bbd022566ad5412d62f48 | [
"MIT"
] | 8 | 2018-11-02T20:04:33.000Z | 2018-11-10T01:11:00.000Z | db/tables.py | mtaung/bossfight_club | b3d4f62dd2fe917eeb2bbd022566ad5412d62f48 | [
"MIT"
] | null | null | null | from sqlalchemy import Column, Integer, String, Date, Sequence, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class User(Base):
__tablename__ = 'users'
id = Column(String(20), primary_key=True)
badge = Column(String(300))
color = Column(Integer, default=0... | 35.358974 | 74 | 0.696157 | 180 | 1,379 | 5.15 | 0.288889 | 0.210356 | 0.21575 | 0.113269 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040457 | 0.175489 | 1,379 | 38 | 75 | 36.289474 | 0.774846 | 0 | 0 | 0 | 0 | 0 | 0.048586 | 0 | 0 | 0 | 0.005801 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.970588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
941efc1c05ecf5cff5b1dcb7ad5e9ebc7f0e939e | 5,158 | py | Python | graders.py | Via-R/information-propagation-lattice | 7769edd3aedc2c5aa9e748c015f6697d08a3e282 | [
"MIT"
] | null | null | null | graders.py | Via-R/information-propagation-lattice | 7769edd3aedc2c5aa9e748c015f6697d08a3e282 | [
"MIT"
] | null | null | null | graders.py | Via-R/information-propagation-lattice | 7769edd3aedc2c5aa9e748c015f6697d08a3e282 | [
"MIT"
] | null | null | null | from math import sin, pi
_EPSILON: float = 1e-2
class GraderError(Exception):
pass
class Dot:
@staticmethod
def dot(c: float):
def inner(x: float) -> float:
"""Return 1 if x equals c and 0 otherwise."""
if c == x:
return 1 + _EPSILON
return ... | 24.917874 | 118 | 0.493602 | 659 | 5,158 | 3.85736 | 0.147193 | 0.018883 | 0.061369 | 0.06609 | 0.711644 | 0.665618 | 0.623918 | 0.586546 | 0.586546 | 0.541306 | 0 | 0.024582 | 0.408492 | 5,158 | 206 | 119 | 25.038835 | 0.808587 | 0.196394 | 0 | 0.711864 | 0 | 0 | 0.099926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20339 | false | 0.008475 | 0.008475 | 0 | 0.59322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9430e7b87f7c4e459355fea8f1375db7fab69791 | 2,682 | py | Python | fs/azblob/blob_file.py | turing-complet/fs-azureblob | b27549303a23fc016f67abff91a5cec2ab34e726 | [
"MIT"
] | 2 | 2021-12-21T10:44:29.000Z | 2022-01-04T17:25:12.000Z | fs/azblob/blob_file.py | turing-complet/fs-azureblob | b27549303a23fc016f67abff91a5cec2ab34e726 | [
"MIT"
] | 11 | 2021-09-16T23:39:42.000Z | 2022-02-11T02:42:45.000Z | fs/azblob/blob_file.py | turing-complet/fs-azureblob | b27549303a23fc016f67abff91a5cec2ab34e726 | [
"MIT"
] | 1 | 2021-11-07T22:15:57.000Z | 2021-11-07T22:15:57.000Z | import io
import os
import tempfile
from typing import Optional
from fs.mode import Mode
class BlobFile(io.IOBase):
"""Proxy for a blob file. Implements the standard file api.
See https://docs.python.org/3/library/io.html#io.IOBase
"""
@classmethod
def factory(cls, blob, mode):
"""Create... | 25.065421 | 66 | 0.587248 | 356 | 2,682 | 4.275281 | 0.289326 | 0.062418 | 0.079501 | 0.03548 | 0.097898 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002115 | 0.294929 | 2,682 | 106 | 67 | 25.301887 | 0.80275 | 0.059657 | 0 | 0.052632 | 0 | 0 | 0.044365 | 0.01279 | 0 | 0 | 0 | 0 | 0 | 1 | 0.302632 | false | 0 | 0.065789 | 0.184211 | 0.644737 | 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 |
943debdcd69e9a11736e3847b873ee8d016cb910 | 17,375 | py | Python | common_utils_py/agreements/service_factory.py | nevermined-io/common-utils-py | 4a02843d4f4771935b6f057badac844fef6f6f13 | [
"Apache-2.0"
] | 1 | 2020-12-02T13:49:43.000Z | 2020-12-02T13:49:43.000Z | common_utils_py/agreements/service_factory.py | nevermined-io/common-utils-py | 4a02843d4f4771935b6f057badac844fef6f6f13 | [
"Apache-2.0"
] | 2 | 2021-08-24T13:14:47.000Z | 2021-12-01T17:06:29.000Z | common_utils_py/agreements/service_factory.py | nevermined-io/common-utils-py | 4a02843d4f4771935b6f057badac844fef6f6f13 | [
"Apache-2.0"
] | null | null | null | from common_utils_py.agreements.service_agreement import ServiceAgreement
from common_utils_py.agreements.service_agreement_template import ServiceAgreementTemplate
from common_utils_py.agreements.service_types import ServiceTypes, ServiceTypesIndices
from common_utils_py.agreements.utils import get_sla_template
from c... | 38.270925 | 102 | 0.630504 | 1,688 | 17,375 | 6.280806 | 0.081161 | 0.080645 | 0.035842 | 0.053763 | 0.821449 | 0.780324 | 0.723543 | 0.644407 | 0.614695 | 0.576401 | 0 | 0.000573 | 0.296691 | 17,375 | 453 | 103 | 38.355408 | 0.867021 | 0.26918 | 0 | 0.544355 | 0 | 0 | 0.084374 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 1 | 0.084677 | false | 0.012097 | 0.024194 | 0 | 0.229839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
945c4474d02a1746daa6702bc74e0779c91b0056 | 851 | py | Python | tests/test_factory.py | firesock/pydantic-jsonapi | b7dc891892ab3439a71f78a9a5fd067c4d651ca8 | [
"MIT"
] | null | null | null | tests/test_factory.py | firesock/pydantic-jsonapi | b7dc891892ab3439a71f78a9a5fd067c4d651ca8 | [
"MIT"
] | null | null | null | tests/test_factory.py | firesock/pydantic-jsonapi | b7dc891892ab3439a71f78a9a5fd067c4d651ca8 | [
"MIT"
] | null | null | null | from typing import List
from typing_extensions import Literal
from pydantic_jsonapi import JsonApiModel
from pydantic_jsonapi.request import RequestModel, RequestDataModel
from pydantic_jsonapi.response import ResponseModel, ResponseDataModel
from tests.helpers import ItemModel
def test_json_api_model():
ItemRequ... | 47.277778 | 93 | 0.810811 | 87 | 851 | 7.770115 | 0.321839 | 0.115385 | 0.118343 | 0.059172 | 0.508876 | 0.366864 | 0.284024 | 0.284024 | 0.284024 | 0.284024 | 0 | 0 | 0.103408 | 851 | 17 | 94 | 50.058824 | 0.885976 | 0 | 0 | 0.142857 | 0 | 0 | 0.028202 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.428571 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
94762a203dbc83f5a34e29c62aaaad9d396841c5 | 372 | py | Python | testsuite/cases/pillow_convert.py | aclark4life/pillow-perf | 5cdf95cfaa99b6ddd40ab21cf64fd7938486f6e7 | [
"MIT"
] | 15 | 2016-10-24T14:59:17.000Z | 2021-09-30T00:40:04.000Z | testsuite/cases/pillow_convert.py | aclark4life/pillow-perf | 5cdf95cfaa99b6ddd40ab21cf64fd7938486f6e7 | [
"MIT"
] | 29 | 2016-10-23T17:10:36.000Z | 2022-03-09T11:06:53.000Z | testsuite/cases/pillow_convert.py | aclark4life/pillow-perf | 5cdf95cfaa99b6ddd40ab21cf64fd7938486f6e7 | [
"MIT"
] | 8 | 2016-10-22T21:25:50.000Z | 2020-07-09T10:18:24.000Z | from .base import rpartial, BaseConvertCase
from .pillow import PillowTestCase
class ConvertCase(BaseConvertCase, PillowTestCase):
def runner(self, im):
im.convert(self.mode_to)
cases = [
rpartial(ConvertCase, 'RGB', 'L'),
rpartial(ConvertCase, 'RGBA', 'LA'),
rpartial(ConvertCase, 'RGBa', 'R... | 23.25 | 51 | 0.682796 | 39 | 372 | 6.487179 | 0.538462 | 0.300395 | 0.272727 | 0.213439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 372 | 15 | 52 | 24.8 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.069892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 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 |
84b5952e44346547f598db70848e5773b378d574 | 212 | py | Python | bot.py | TallonRain/horsefaxbot | 2acfb063d58b883a31a06e777be4993ac8ebb891 | [
"MIT"
] | 1 | 2018-02-21T06:16:24.000Z | 2018-02-21T06:16:24.000Z | bot.py | TallonRain/horsefaxbot | 2acfb063d58b883a31a06e777be4993ac8ebb891 | [
"MIT"
] | 1 | 2021-06-01T22:06:03.000Z | 2021-06-01T22:06:03.000Z | bot.py | TallonRain/horsefaxbot | 2acfb063d58b883a31a06e777be4993ac8ebb891 | [
"MIT"
] | 2 | 2017-10-01T22:42:10.000Z | 2018-02-20T04:58:10.000Z | from horsefax.bot.core import HorseFaxBot
bot = HorseFaxBot()
bot.go()
# TODO: some sane way to run the bot forever.
import threading
[x.join() for x in threading.enumerate() if x != threading.current_thread()] | 26.5 | 76 | 0.745283 | 33 | 212 | 4.757576 | 0.727273 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 212 | 8 | 76 | 26.5 | 0.862637 | 0.20283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
84b6d20fc5e75e076ddac07934b939e945ad21a5 | 236 | py | Python | tests/test_day01.py | dbarbuzzi/aoc2021 | 48335c964a229cfe34d20bace03248b4d1cca585 | [
"MIT"
] | null | null | null | tests/test_day01.py | dbarbuzzi/aoc2021 | 48335c964a229cfe34d20bace03248b4d1cca585 | [
"MIT"
] | null | null | null | tests/test_day01.py | dbarbuzzi/aoc2021 | 48335c964a229cfe34d20bace03248b4d1cca585 | [
"MIT"
] | null | null | null | from aoc2021 import day01
def test_day01_part1():
data_path = "data/day01-sample.txt"
assert day01.part1(data_path) == 7
def test_day01_part2():
data_path = "data/day01-sample.txt"
assert day01.part2(data_path) == 5
| 19.666667 | 39 | 0.70339 | 36 | 236 | 4.388889 | 0.416667 | 0.202532 | 0.151899 | 0.227848 | 0.468354 | 0.468354 | 0.468354 | 0.468354 | 0 | 0 | 0 | 0.123711 | 0.177966 | 236 | 11 | 40 | 21.454545 | 0.690722 | 0 | 0 | 0.285714 | 0 | 0 | 0.177966 | 0.177966 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84c8119c44746e2e2cd458666ce0febc8701babd | 323 | py | Python | conftest.py | uktrade/directory-validators | a53b78fbe9f2c03feac6dec6e5009cc3f41edb4e | [
"MIT"
] | null | null | null | conftest.py | uktrade/directory-validators | a53b78fbe9f2c03feac6dec6e5009cc3f41edb4e | [
"MIT"
] | 40 | 2017-06-06T13:21:48.000Z | 2022-01-13T09:30:36.000Z | conftest.py | uktrade/directory-validators | a53b78fbe9f2c03feac6dec6e5009cc3f41edb4e | [
"MIT"
] | 1 | 2017-08-30T08:11:33.000Z | 2017-08-30T08:11:33.000Z | def pytest_configure():
from django.conf import settings
settings.configure(
DEBUG_PROPAGATE_EXCEPTIONS=True,
VALIDATOR_MAX_LOGO_SIZE_BYTES=10 * 1024 * 1024,
VALIDATOR_MAX_CASE_STUDY_IMAGE_SIZE_BYTES=2 * 1024 * 1024,
VALIDATOR_MAX_CASE_STUDY_VIDEO_SIZE_BYTES=50 * 1024 * 1024,
... | 35.888889 | 67 | 0.724458 | 42 | 323 | 5.119048 | 0.595238 | 0.167442 | 0.15814 | 0.186047 | 0.269767 | 0.269767 | 0 | 0 | 0 | 0 | 0 | 0.113725 | 0.210526 | 323 | 8 | 68 | 40.375 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84cb870ebd2f0aa288d7689c4ec023a76e403102 | 100 | py | Python | notebooks/legacy/legacy/test_load.py | tomkimpson/ML4L | ffa8360cb80df25bd6af4fa5cc39b42bd6f405cd | [
"MIT"
] | 1 | 2022-02-23T12:31:56.000Z | 2022-02-23T12:31:56.000Z | notebooks/legacy/legacy/test_load.py | tomkimpson/ML4L | ffa8360cb80df25bd6af4fa5cc39b42bd6f405cd | [
"MIT"
] | null | null | null | notebooks/legacy/legacy/test_load.py | tomkimpson/ML4L | ffa8360cb80df25bd6af4fa5cc39b42bd6f405cd | [
"MIT"
] | null | null | null | import rioxarray as rxr
f = rxr.open_rasterio('true_y_data.hdf')
print (f)
print ('--all done')
| 12.5 | 40 | 0.69 | 17 | 100 | 3.882353 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 7 | 41 | 14.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
84d532ae6fa72b2277ff6225ae5b5a7ec8401a64 | 12,730 | py | Python | pysnmp/HARMONIC-INC-NSG9000-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/HARMONIC-INC-NSG9000-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/HARMONIC-INC-NSG9000-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module HARMONIC-INC-NSG9000-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HARMONIC-INC-NSG9000-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:11:45 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.... | 181.857143 | 1,829 | 0.734485 | 1,444 | 12,730 | 6.475069 | 0.120499 | 0.1 | 0.163636 | 0.190909 | 0.597112 | 0.567166 | 0.567166 | 0.567166 | 0.564706 | 0.542674 | 0 | 0.094946 | 0.078319 | 12,730 | 69 | 1,830 | 184.492754 | 0.701952 | 0.026866 | 0 | 0 | 0 | 0 | 0.344616 | 0.164472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.032258 | 0.112903 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84d641b41bafed752366afa3cbf29d33fd529f83 | 327 | py | Python | caldav_framework/authentication.py | kfdm/todo | 8a9d5a42d4da911adbc45f23a56b544c7d6180b2 | [
"MIT"
] | 4 | 2020-10-02T20:20:21.000Z | 2021-03-15T17:07:46.000Z | caldav_framework/authentication.py | kfdm/todo | 8a9d5a42d4da911adbc45f23a56b544c7d6180b2 | [
"MIT"
] | 1 | 2021-05-05T05:01:36.000Z | 2021-05-05T05:01:36.000Z | caldav_framework/authentication.py | kfdm/todo | 8a9d5a42d4da911adbc45f23a56b544c7d6180b2 | [
"MIT"
] | 1 | 2021-03-15T17:09:31.000Z | 2021-03-15T17:09:31.000Z | from rest_framework import authentication
class BasicAuthentication(authentication.BasicAuthentication):
def authenticate_credentials(self, userid, password, request=None):
if "@" in userid:
userid, domain = userid.split("@")
return super().authenticate_credentials(userid, password, re... | 36.333333 | 74 | 0.733945 | 31 | 327 | 7.645161 | 0.677419 | 0.194093 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 327 | 8 | 75 | 40.875 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.006116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
84d93699ac7b0163b6018949da2106100869aeb2 | 221 | py | Python | apps/polygons/urls.py | charles-co/mozio-technical-assessment | 8d13baead3657fbcccc1fd58f1ad7169dab7a462 | [
"MIT"
] | null | null | null | apps/polygons/urls.py | charles-co/mozio-technical-assessment | 8d13baead3657fbcccc1fd58f1ad7169dab7a462 | [
"MIT"
] | 9 | 2022-02-28T12:35:53.000Z | 2022-03-31T12:31:08.000Z | apps/polygons/urls.py | charles-co/mozio-technical-assessment | 8d13baead3657fbcccc1fd58f1ad7169dab7a462 | [
"MIT"
] | null | null | null | from rest_framework.routers import DefaultRouter
from .views import PolygonViewSet
router = DefaultRouter()
router.register(r"", PolygonViewSet, basename="polygon")
app_name = "polygons"
urlpatterns = [] + router.urls
| 22.1 | 56 | 0.782805 | 24 | 221 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 221 | 9 | 57 | 24.555556 | 0.872449 | 0 | 0 | 0 | 0 | 0 | 0.067873 | 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 |
84db73d871b5abf8fef96c5c311345e5deb12d9c | 498 | py | Python | pytgcalls/__init__.py | cher-nov/pytgcalls_OLD | ff1be498dbb491c89f1865881ad94fcf03ff66b1 | [
"MIT"
] | null | null | null | pytgcalls/__init__.py | cher-nov/pytgcalls_OLD | ff1be498dbb491c89f1865881ad94fcf03ff66b1 | [
"MIT"
] | 3 | 2019-07-03T20:13:29.000Z | 2020-07-27T17:47:35.000Z | pytgcalls/__init__.py | cher-nov/pytgcalls | ff1be498dbb491c89f1865881ad94fcf03ff66b1 | [
"MIT"
] | 1 | 2021-09-28T05:40:27.000Z | 2021-09-28T05:40:27.000Z | #!/usr/bin/env python3
import _libtgvoip
from .libtgvoip import *
class AudioDataCallback(AudioDataDirectorSWIG):
def __init__(self, read_callable, write_callable):
self.read_callable = read_callable
self.write_callable = write_callable
super().__init__()
def read(self, size):
... | 24.9 | 76 | 0.694779 | 60 | 498 | 5.483333 | 0.533333 | 0.145897 | 0.145897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002558 | 0.214859 | 498 | 19 | 77 | 26.210526 | 0.838875 | 0.176707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
84e650b2867b2fa52646f7e83be5ac24fb54de15 | 1,503 | py | Python | doc/source/image/all.py | ppawlak/pystacia | 854053a2872c9374e2c121c4af549f6bba640116 | [
"MIT"
] | 9 | 2015-02-11T21:33:33.000Z | 2021-06-14T14:55:24.000Z | doc/source/image/all.py | ppawlak/pystacia | 854053a2872c9374e2c121c4af549f6bba640116 | [
"MIT"
] | 1 | 2016-08-01T12:31:17.000Z | 2016-08-01T12:31:17.000Z | doc/source/image/all.py | ppawlak/pystacia | 854053a2872c9374e2c121c4af549f6bba640116 | [
"MIT"
] | 2 | 2015-08-21T08:23:25.000Z | 2018-10-31T02:52:50.000Z | from os.path import dirname, join
from pystacia import (
lena, magick_logo, rose, wizard, granite, netscape, filters)
dest = join(dirname(__file__), '../_static/generated')
image = lena(256)
image.write(join(dest, 'lena.jpg'))
image.close()
image = lena(128)
image.write(join(dest, 'lena128.jpg'))
image.close()
... | 15.494845 | 64 | 0.745842 | 213 | 1,503 | 5.201878 | 0.356808 | 0.072202 | 0.101083 | 0.129964 | 0.039711 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015528 | 0.143047 | 1,503 | 96 | 65 | 15.65625 | 0.844721 | 0 | 0 | 0.111111 | 1 | 0 | 0.073852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0 | 0.541667 | 0 | 0.569444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ca15f13df83189e553b72384306282723e497195 | 2,228 | py | Python | paud/frames.py | ASVIEST/paud | 3493efea319ecf9d49ae1ba60e2c817a7be624ad | [
"MIT"
] | null | null | null | paud/frames.py | ASVIEST/paud | 3493efea319ecf9d49ae1ba60e2c817a7be624ad | [
"MIT"
] | null | null | null | paud/frames.py | ASVIEST/paud | 3493efea319ecf9d49ae1ba60e2c817a7be624ad | [
"MIT"
] | null | null | null | import struct
from audioop import reverse
from math import ceil
from .frame import Frame
class DataFrames:
__slots__ = ["data", "frame_width"]
def __init__(self, data, frame_width):
self.data = data
self.frame_width = frame_width
def __getitem__(self, item):
if isinstance(item, ... | 26.843373 | 121 | 0.567325 | 276 | 2,228 | 4.333333 | 0.235507 | 0.12709 | 0.175585 | 0.113712 | 0.363712 | 0.250836 | 0.153846 | 0.102007 | 0.050167 | 0 | 0 | 0.003318 | 0.323609 | 2,228 | 82 | 122 | 27.170732 | 0.790312 | 0.009874 | 0 | 0.066667 | 0 | 0 | 0.029492 | 0.009528 | 0 | 0 | 0 | 0.012195 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ca2721f5ee382eddcf02629d381c9c20d96ada75 | 345 | bzl | Python | build_scripts/bazel/python_rules.bzl | GirlsOfSteelRobotics/GirlsOfSteelFRC | 01694688ee9316cd93e243618ffbcb880051ef28 | [
"BSD-3-Clause"
] | null | null | null | build_scripts/bazel/python_rules.bzl | GirlsOfSteelRobotics/GirlsOfSteelFRC | 01694688ee9316cd93e243618ffbcb880051ef28 | [
"BSD-3-Clause"
] | 44 | 2021-11-09T23:23:48.000Z | 2022-03-22T23:44:15.000Z | build_scripts/bazel/python_rules.bzl | GirlsOfSteelRobotics/GirlsOfSteelFRC | 01694688ee9316cd93e243618ffbcb880051ef28 | [
"BSD-3-Clause"
] | 1 | 2021-11-19T03:45:21.000Z | 2021-11-19T03:45:21.000Z | # TODO add linters, automated tests, etc
def gos_py_library(name, **kwargs):
native.py_library(
name = name,
**kwargs
)
def gos_py_binary(name, **kwargs):
native.py_binary(
name = name,
**kwargs
)
def gos_py_test(name, **kwargs):
native.py_test(
name = name... | 17.25 | 40 | 0.562319 | 42 | 345 | 4.404762 | 0.357143 | 0.324324 | 0.12973 | 0.291892 | 0.237838 | 0.237838 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315942 | 345 | 19 | 41 | 18.157895 | 0.783898 | 0.110145 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca2b4cb9ad92842944cb93620ce68396ed1b4593 | 404 | py | Python | NucleationModel/trimmer.py | MFrassek/CommittorEAE | 88a467e4500bc9ab69834209f4eaec9f2d0d7a61 | [
"MIT"
] | null | null | null | NucleationModel/trimmer.py | MFrassek/CommittorEAE | 88a467e4500bc9ab69834209f4eaec9f2d0d7a61 | [
"MIT"
] | null | null | null | NucleationModel/trimmer.py | MFrassek/CommittorEAE | 88a467e4500bc9ab69834209f4eaec9f2d0d7a61 | [
"MIT"
] | null | null | null | import numpy as np
class Trimmer():
def __init__(self, pBs):
self._keep_elements = [ele != 0 and ele != 1 for ele in pBs]
def trim_snapshots(self, list_to_trim):
return np.array(list_to_trim)[self._keep_elements]
@staticmethod
def trim_dict(dict_to_trim):
return {key: label f... | 26.933333 | 68 | 0.638614 | 62 | 404 | 3.870968 | 0.483871 | 0.1 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.262376 | 404 | 14 | 69 | 28.857143 | 0.791946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ca3ef36ed3248367fc6ad57d214859b100f70aaf | 156 | py | Python | ex4b.py | orende/intro-till-python | d2fccc7aaeabf88d6b040b7e199326a748dee0fa | [
"MIT"
] | null | null | null | ex4b.py | orende/intro-till-python | d2fccc7aaeabf88d6b040b7e199326a748dee0fa | [
"MIT"
] | null | null | null | ex4b.py | orende/intro-till-python | d2fccc7aaeabf88d6b040b7e199326a748dee0fa | [
"MIT"
] | null | null | null | # coding=utf-8
import json
with open('data.json', 'r') as myFile:
jsonData = json.load(myFile)
for entry in jsonData:
print entry['title']
| 19.5 | 38 | 0.641026 | 23 | 156 | 4.347826 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.224359 | 156 | 7 | 39 | 22.285714 | 0.818182 | 0.076923 | 0 | 0 | 0 | 0 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca41d36532eff7d455c37e1b6b9af6d35ca5a4e2 | 280 | py | Python | letcon/src/optimizer/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | 3 | 2020-08-25T22:08:01.000Z | 2022-02-05T06:49:55.000Z | letcon/src/optimizer/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | null | null | null | letcon/src/optimizer/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | null | null | null | '''
File: __init__.py
Project: optimizer
File Created: Monday, 17th August 2020 3:52:54 pm
Author: Sparsh Dutta (sparsh.dtt@gmail.com)
-----
Last Modified: Monday, 17th August 2020 3:52:54 pm
Modified By: Sparsh Dutta (sparsh.dtt@gmail.com>)
-----
Copyright 2020 Sparsh Dutta
'''
| 23.333333 | 50 | 0.725 | 44 | 280 | 4.522727 | 0.545455 | 0.165829 | 0.160804 | 0.201005 | 0.552764 | 0.552764 | 0.271357 | 0.271357 | 0 | 0 | 0 | 0.106996 | 0.132143 | 280 | 11 | 51 | 25.454545 | 0.711934 | 0.967857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca4638ed2f8df18b58fe07358ea9f7f948dafca0 | 791 | py | Python | model.py | crazyfrogspb/SocialPressureModel | 3a5256df9ab8c90d66027cf2015f95f678a09d7f | [
"MIT"
] | 1 | 2021-05-11T13:00:35.000Z | 2021-05-11T13:00:35.000Z | model.py | crazyfrogspb/SocialPressureModel | 3a5256df9ab8c90d66027cf2015f95f678a09d7f | [
"MIT"
] | 3 | 2020-03-24T15:55:56.000Z | 2021-02-02T21:55:10.000Z | model.py | crazyfrogspb/SocialPressureModel | 3a5256df9ab8c90d66027cf2015f95f678a09d7f | [
"MIT"
] | null | null | null | import numpy as np
from mesa import Agent, Model
from mesa.datacollection import DataCollector
from mesa.space import NetworkGrid
from mesa.time import SimultaneousActivation
class PoliticalAgent(Agent):
def __init__(self, unique_id, model, authenticity, ideal_point):
super().__init__(unique_id, model)
... | 21.378378 | 68 | 0.670038 | 93 | 791 | 5.451613 | 0.430108 | 0.063116 | 0.043393 | 0.059172 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.25158 | 791 | 36 | 69 | 21.972222 | 0.853041 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.16 | 0.2 | 0 | 0.52 | 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 |
ca4795a6c9b8d88cd26af655caac93884182bbdc | 27 | py | Python | formalchemy/ext/pyramid/forms/restfieldset.pt.py | pombreda/formalchemy | 613f721c6da432a12ed94012fad8e337fb5af958 | [
"MIT"
] | null | null | null | formalchemy/ext/pyramid/forms/restfieldset.pt.py | pombreda/formalchemy | 613f721c6da432a12ed94012fad8e337fb5af958 | [
"MIT"
] | null | null | null | formalchemy/ext/pyramid/forms/restfieldset.pt.py | pombreda/formalchemy | 613f721c6da432a12ed94012fad8e337fb5af958 | [
"MIT"
] | null | null | null | registry = dict(version=0)
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.111111 | 27 | 1 | 27 | 27 | 0.791667 | 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 |
ca64194719f0b5c269725442e7917e5e7b6bb55d | 25 | py | Python | notebooks/_solutions/pandas_03a_selecting_data7.py | jorisvandenbossche/DS-python-data-analysis | b4dd68b9c912c5d5c52c607aa117f5054449c73d | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/pandas_03a_selecting_data7.py | jorisvandenbossche/DS-python-data-analysis | b4dd68b9c912c5d5c52c607aa117f5054449c73d | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/pandas_03a_selecting_data7.py | jorisvandenbossche/DS-python-data-analysis | b4dd68b9c912c5d5c52c607aa117f5054449c73d | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | name = df['Name'][0]
name | 12.5 | 20 | 0.6 | 5 | 25 | 3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 25 | 2 | 21 | 12.5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 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 |
ca676487c61eb3bf68e5e78440813d6c393200c2 | 1,199 | py | Python | SourceRepositoryTools/Templates/ActivateEnvironment_custom.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | 1 | 2017-04-25T13:15:10.000Z | 2017-04-25T13:15:10.000Z | SourceRepositoryTools/Templates/ActivateEnvironment_custom.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | null | null | null | SourceRepositoryTools/Templates/ActivateEnvironment_custom.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | null | null | null | # <Invalid module name> pylint: disable = C0103
# ---------------------------------------------------------------------------
# |
# | ActivateEnvironment_custom.py
# |
# | David Brownell (db@DavidBrownell.com)
# |
# | 09/07/2015 08:09:46 PM
# |
# ------------------------------------------------------------... | 38.677419 | 103 | 0.40784 | 94 | 1,199 | 5.031915 | 0.691489 | 0.012685 | 0.038055 | 0.05074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033042 | 0.141785 | 1,199 | 30 | 104 | 39.966667 | 0.425656 | 0.71643 | 0 | 0 | 0 | 0 | 0.020906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.428571 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca6a646ea1b3aab1669c9c4b2377a9050a34b912 | 159 | py | Python | reservas/rooms/urls.py | hello-alf/reservas | b5569fd92da62ecd2e26c6756c170de69b8afa0b | [
"MIT"
] | null | null | null | reservas/rooms/urls.py | hello-alf/reservas | b5569fd92da62ecd2e26c6756c170de69b8afa0b | [
"MIT"
] | null | null | null | reservas/rooms/urls.py | hello-alf/reservas | b5569fd92da62ecd2e26c6756c170de69b8afa0b | [
"MIT"
] | null | null | null | from django.urls import re_path
from reservas.rooms.views import list_rooms
app_name = "rooms"
urlpatterns = [
re_path(r'^v1/rooms/', view=list_rooms),
]
| 19.875 | 44 | 0.742138 | 25 | 159 | 4.52 | 0.64 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.138365 | 159 | 7 | 45 | 22.714286 | 0.817518 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 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 |
ca7a481dc8770ba3662682b1ca4be79ea46ae9ae | 4,497 | py | Python | designate-8.0.0/tools/pretty_flake8.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | null | null | null | designate-8.0.0/tools/pretty_flake8.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | designate-8.0.0/tools/pretty_flake8.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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 requir... | 48.880435 | 2,267 | 0.686902 | 661 | 4,497 | 4.617247 | 0.313162 | 0.032438 | 0.029489 | 0.039318 | 0.334535 | 0.150066 | 0.12844 | 0.11599 | 0.066841 | 0 | 0 | 0.036325 | 0.155215 | 4,497 | 91 | 2,268 | 49.417582 | 0.767044 | 0.135868 | 0 | 0.036364 | 0 | 0.036364 | 0.633686 | 0.504779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.090909 | 0 | 0.145455 | 0.072727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca9b3e6c063f02d4c7cde7295033a2367080dd8c | 423 | py | Python | wradlib/tests/test_comp.py | wradlib/wradlib-old | 55b1687adafd4d0d8c301d6c6e52914df5844748 | [
"MIT"
] | null | null | null | wradlib/tests/test_comp.py | wradlib/wradlib-old | 55b1687adafd4d0d8c301d6c6e52914df5844748 | [
"MIT"
] | null | null | null | wradlib/tests/test_comp.py | wradlib/wradlib-old | 55b1687adafd4d0d8c301d6c6e52914df5844748 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2016, wradlib developers.
# Distributed under the MIT License. See LICENSE.txt for more info.
import unittest
class ComposeTest(unittest.TestCase):
def test_extract_circle(self):
pass
def test_togrid(self):
pass
def test_compose_ko(self):
pa... | 17.625 | 67 | 0.673759 | 54 | 423 | 5 | 0.685185 | 0.103704 | 0.122222 | 0.166667 | 0.162963 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012384 | 0.236407 | 423 | 23 | 68 | 18.391304 | 0.823529 | 0.297872 | 0 | 0.333333 | 0 | 0 | 0.027211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.083333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
049adc300aea26f79878dbba5da9074048400851 | 100 | py | Python | examples/RPSLS/RPS/params.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | examples/RPSLS/RPS/params.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | examples/RPSLS/RPS/params.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | EPOCHS = 3
LOG_ITER = 25
TEST_ITER = 50
WRITE_PERIOD = 100
#1440 train examples
#360 train examples | 14.285714 | 20 | 0.76 | 17 | 100 | 4.294118 | 0.823529 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 0.18 | 100 | 7 | 21 | 14.285714 | 0.707317 | 0.37 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
049c4ffc832b6f53d1b55a97e7052ff378fdc679 | 592,152 | py | Python | pysnmp/Nortel-MsCarrier-MscPassport-LogicalProcessorMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Nortel-MsCarrier-MscPassport-LogicalProcessorMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Nortel-MsCarrier-MscPassport-LogicalProcessorMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-LogicalProcessorMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-LogicalProcessorMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:19:33 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.... | 160.387866 | 12,710 | 0.769255 | 64,471 | 592,152 | 7.06544 | 0.033317 | 0.008825 | 0.012283 | 0.016377 | 0.544475 | 0.536407 | 0.530587 | 0.529206 | 0.524629 | 0.508193 | 0 | 0.097556 | 0.078851 | 592,152 | 3,691 | 12,711 | 160.431319 | 0.737548 | 0.000659 | 0 | 0 | 0 | 0 | 0.147122 | 0.068172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.105049 | 0.002443 | 0 | 0.002443 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
04b0998c7bfb6ea2a091cf6d5fc6946605fb960f | 232 | py | Python | trash.py | Indexerrowaty/tra.sh | 9dfda0a0b0a994e362df96f7fee7841d153fb405 | [
"MIT"
] | 7 | 2020-08-20T23:16:14.000Z | 2022-01-04T15:16:31.000Z | trash.py | team-indexed/tra.sh | 068880c342ebab2b3b745bfc46ef5337428f15e7 | [
"MIT"
] | 3 | 2020-08-24T20:58:03.000Z | 2020-11-17T12:57:35.000Z | trash.py | Indexerrowaty/tra.sh | 9dfda0a0b0a994e362df96f7fee7841d153fb405 | [
"MIT"
] | 4 | 2020-08-20T14:27:43.000Z | 2021-11-03T15:31:41.000Z | #!/usr/bin/env python
import sys
if not sys.argv[1:]:
a = """
==^==
|[[[|
|[[[|
'---'
"""
print(a)
else:
b = f"""
==^==
|[[[| <- this is
|[[[| {" ".join(sys.argv[1:])}
'---'
"""
print(b)
| 11.6 | 34 | 0.318966 | 25 | 232 | 2.96 | 0.72 | 0.189189 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.327586 | 232 | 19 | 35 | 12.210526 | 0.461538 | 0.086207 | 0 | 0.470588 | 0 | 0 | 0.559242 | 0.099526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.117647 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.