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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c946d74268af25635327017d5e8916e6cd0dfcb2 | 638 | py | Python | jsobj_to_pydict/fast_test.py | thiagola92/python-utility | b12c1312cec4ea5f9cb15bcc76b45eada68dce07 | [
"MIT"
] | null | null | null | jsobj_to_pydict/fast_test.py | thiagola92/python-utility | b12c1312cec4ea5f9cb15bcc76b45eada68dce07 | [
"MIT"
] | null | null | null | jsobj_to_pydict/fast_test.py | thiagola92/python-utility | b12c1312cec4ea5f9cb15bcc76b45eada68dce07 | [
"MIT"
] | null | null | null | from jsobj_to_pydict import convert_to_python
string = """{
"nome": "Thiago",
"idade": 27,
"nota": 9.8,
"livros": {
"sim": 1,
"nao": 2
},
"limite": NaN,
"undefined":undefined,
"undefined": undefined,
"undefined": \nundefined,
"undefined": \n\t\rundefined,
"undefined":"undefined",
... | 26.583333 | 102 | 0.664577 | 80 | 638 | 5.2 | 0.7125 | 0.346154 | 0.324519 | 0.100962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.181818 | 638 | 24 | 103 | 26.583333 | 0.785441 | 0 | 0 | 0.090909 | 0 | 0 | 0.820031 | 0.104851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.045455 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c94b3cbccbec53763c55e23e4ef6450b52f038b2 | 589 | py | Python | 1st_100/problem001.py | takekoputa/project-euler | 6f434be429bd26f5d0f84f5ab0f5fa2bd677c790 | [
"MIT"
] | null | null | null | 1st_100/problem001.py | takekoputa/project-euler | 6f434be429bd26f5d0f84f5ab0f5fa2bd677c790 | [
"MIT"
] | null | null | null | 1st_100/problem001.py | takekoputa/project-euler | 6f434be429bd26f5d0f84f5ab0f5fa2bd677c790 | [
"MIT"
] | 1 | 2021-11-02T12:08:46.000Z | 2021-11-02T12:08:46.000Z | # Question: https://projecteuler.net/problem=1
N = 1000
# A: number of integers in [1, N) that are divisible by 3
# B: number of integers in [1, N) that are divisible by 5
# C: number of integers in [1, N) that are divisible by 15 = 3 * 5
A = (N - 1) // 3
B = (N - 1) // 5
C = (N - 1) // 15
# sumA: sum of integers i... | 26.772727 | 66 | 0.582343 | 116 | 589 | 2.956897 | 0.241379 | 0.040816 | 0.209913 | 0.227405 | 0.661808 | 0.661808 | 0.661808 | 0.661808 | 0.661808 | 0.661808 | 0 | 0.087156 | 0.259762 | 589 | 21 | 67 | 28.047619 | 0.699541 | 0.662139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 |
c94e1734a9694766dce83944e3def014d79ce382 | 26,389 | py | Python | utils/prune_utils.py | MarioMZhang/HAP-tryout | 9a423f35b50766533a0d2cab8069316ccb21954b | [
"MIT"
] | 24 | 2021-02-04T09:51:46.000Z | 2022-03-04T13:01:24.000Z | utils/prune_utils.py | ICML2021Submission1958/Hessian-Aware-Pruning-and-Optimal-Neural-Implant | 34310e93b314f38a8d262f0b1fdb033d16d7087f | [
"MIT"
] | 3 | 2021-07-26T07:18:00.000Z | 2022-01-07T12:17:11.000Z | utils/prune_utils.py | ICML2021Submission1958/Hessian-Aware-Pruning-and-Optimal-Neural-Implant | 34310e93b314f38a8d262f0b1fdb033d16d7087f | [
"MIT"
] | 2 | 2021-10-10T20:51:10.000Z | 2021-11-16T03:40:32.000Z | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import copy
from collections import OrderedDict
from torch.nn.modules.utils import _pair
# ======================================================
# Find layer dependency
# Update input indices (adapt to previous layers)
# Update out... | 39.862538 | 241 | 0.623593 | 3,408 | 26,389 | 4.658451 | 0.081573 | 0.056815 | 0.034392 | 0.049887 | 0.737843 | 0.708806 | 0.700869 | 0.676934 | 0.63511 | 0.617914 | 0 | 0.026788 | 0.253098 | 26,389 | 661 | 242 | 39.922844 | 0.778691 | 0.049718 | 0 | 0.50499 | 0 | 0 | 0.015014 | 0 | 0 | 0 | 0 | 0.001513 | 0.013972 | 1 | 0.071856 | false | 0.00998 | 0.01996 | 0.007984 | 0.149701 | 0.011976 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c94fcf52f61020b88de21fd0dc42420b14956dc9 | 247 | py | Python | textchunks/admin.py | aleosd/django-textchukns | d61b3d3bd4963eb1d7e0d6386c03c3f1d76b03ba | [
"BSD-3-Clause"
] | null | null | null | textchunks/admin.py | aleosd/django-textchukns | d61b3d3bd4963eb1d7e0d6386c03c3f1d76b03ba | [
"BSD-3-Clause"
] | null | null | null | textchunks/admin.py | aleosd/django-textchukns | d61b3d3bd4963eb1d7e0d6386c03c3f1d76b03ba | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from . import models
class ChunkAdmin(admin.ModelAdmin):
list_display = ('key', 'content')
search_fields = ('key', 'content')
admin.site.register(models.TextChunk, ChunkAdmin)
| 17.642857 | 49 | 0.692308 | 29 | 247 | 5.827586 | 0.724138 | 0.118343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.157895 | 247 | 13 | 50 | 19 | 0.807692 | 0.08502 | 0 | 0 | 0 | 0 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 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 |
c9559b49f3d2fb18e5cc0964056b7e12ed84a6d2 | 66 | py | Python | src/host/python/gsmlib/config.py | RP7/R7-OCM | bd4e7aeff7f8dcf874324ba458620f411101633e | [
"Apache-2.0"
] | 9 | 2016-05-09T04:18:16.000Z | 2021-11-26T02:00:56.000Z | src/host/python/gsmlib/config.py | RP7/R7-OCM | bd4e7aeff7f8dcf874324ba458620f411101633e | [
"Apache-2.0"
] | null | null | null | src/host/python/gsmlib/config.py | RP7/R7-OCM | bd4e7aeff7f8dcf874324ba458620f411101633e | [
"Apache-2.0"
] | 7 | 2016-05-09T04:18:29.000Z | 2020-11-28T08:52:37.000Z | from fractions import Fraction
SampleRate = Fraction(1920000,1)
| 13.2 | 32 | 0.80303 | 8 | 66 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0.136364 | 66 | 4 | 33 | 16.5 | 0.789474 | 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 |
c9643bf61d1547ffb9674724c9051f24e13d2e34 | 98 | py | Python | problems/Codeforces/A. Stickers and Toys.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | 6 | 2020-06-25T14:52:09.000Z | 2021-08-05T20:54:15.000Z | problems/Codeforces/A. Stickers and Toys.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | null | null | null | problems/Codeforces/A. Stickers and Toys.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | null | null | null | n=int(input())
for _ in range(n):
a,b,c=map(int,input().split())
print(max((a-b),(a-c))+1) | 24.5 | 34 | 0.540816 | 21 | 98 | 2.47619 | 0.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.142857 | 98 | 4 | 35 | 24.5 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
c9650dfb20121433b3490f4c9d76f9ca7364bd8a | 520 | py | Python | python/p1.py | nhutnamhcmus/project-Euler | a39b55fa558a0058fd196a5b8062b87875b415dd | [
"MIT"
] | null | null | null | python/p1.py | nhutnamhcmus/project-Euler | a39b55fa558a0058fd196a5b8062b87875b415dd | [
"MIT"
] | null | null | null | python/p1.py | nhutnamhcmus/project-Euler | a39b55fa558a0058fd196a5b8062b87875b415dd | [
"MIT"
] | null | null | null | # Solution to Project Euler problem 1
# Copyright (c) Nhut-Nam Le. All rights reserved.
def solution0(number, a, b):
if number < 0:
return 0
return sum([i for i in range(number) if i % a == 0 or i % b == 0])
print(solution0(10000, 3, 5))
def solution1(number, a, b):
return ((number - 1) // a)... | 34.666667 | 198 | 0.513462 | 86 | 520 | 3.104651 | 0.395349 | 0.157303 | 0.11985 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091146 | 0.261538 | 520 | 14 | 199 | 37.142857 | 0.604167 | 0.159615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0.25 | 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 |
a3104b1b034d4093e84a1a6f4129baaa1cc5bc82 | 59 | py | Python | readthedocs/gold/__init__.py | ank-forked/readthedocs.org | e4110e8db5d25b7e6c699dd2df1a580b04ee8d16 | [
"MIT"
] | 1 | 2021-04-27T05:55:34.000Z | 2021-04-27T05:55:34.000Z | readthedocs/gold/__init__.py | himynamesdave/readthedocs.org | 38e73cd73efb76461d28a5d9737731b7d7349297 | [
"MIT"
] | 4 | 2021-02-08T21:06:49.000Z | 2021-12-13T20:51:17.000Z | readthedocs/gold/__init__.py | himynamesdave/readthedocs.org | 38e73cd73efb76461d28a5d9737731b7d7349297 | [
"MIT"
] | 3 | 2016-08-04T12:53:13.000Z | 2016-11-02T14:17:55.000Z | default_app_config = 'readthedocs.gold.apps.GoldAppConfig'
| 29.5 | 58 | 0.847458 | 7 | 59 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.59322 | 0.59322 | 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 |
a338a52da90d53e05da3a980343bed65003af584 | 979 | py | Python | main/feeds.py | vadimpopovski/codegram | 5bc30671d9e4d60344484e2958de3c5753124fd4 | [
"MIT"
] | null | null | null | main/feeds.py | vadimpopovski/codegram | 5bc30671d9e4d60344484e2958de3c5753124fd4 | [
"MIT"
] | null | null | null | main/feeds.py | vadimpopovski/codegram | 5bc30671d9e4d60344484e2958de3c5753124fd4 | [
"MIT"
] | null | null | null | from django.contrib.syndication.views import Feed
from django.utils.feedgenerator import Atom1Feed
from main.models import Post
from django.urls import reverse
class CustomFeed(Atom1Feed):
def add_item_elements(self, handler, item):
super().add_item_elements(handler, item)
handler.addQuickElement(... | 27.971429 | 84 | 0.696629 | 124 | 979 | 5.379032 | 0.459677 | 0.052474 | 0.104948 | 0.08096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005089 | 0.19714 | 979 | 35 | 84 | 27.971429 | 0.843511 | 0 | 0 | 0 | 0 | 0 | 0.087755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.16 | 0.24 | 0.92 | 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 |
a3602d2ba3e7930009773393e3bd92e6441bd090 | 1,749 | py | Python | fabfile.py | btmash/deploy_btm_aegir | 8c8485314afcf49a76ca7df5e9d8d036510e6109 | [
"MIT"
] | 1 | 2018-05-03T17:55:59.000Z | 2018-05-03T17:55:59.000Z | fabfile.py | btmash/deploy_btm_aegir | 8c8485314afcf49a76ca7df5e9d8d036510e6109 | [
"MIT"
] | null | null | null | fabfile.py | btmash/deploy_btm_aegir | 8c8485314afcf49a76ca7df5e9d8d036510e6109 | [
"MIT"
] | null | null | null | from fabric.api import *
import time
def generate_drupal_platform(build, platform):
print "===> Generating new platform ..."
run("git clone --depth 1 -q git@repo.com/path/to/repo.git /path/to/platforms/%s" % (build))
run("ln -s /path/to/sftp/docs /path/to/platforms/%s/docs" % (build))
def provision_drupal_platform... | 44.846154 | 117 | 0.707833 | 261 | 1,749 | 4.643678 | 0.264368 | 0.074257 | 0.136139 | 0.092409 | 0.54868 | 0.44967 | 0.44967 | 0.316832 | 0.250825 | 0.123762 | 0 | 0.003161 | 0.095483 | 1,749 | 38 | 118 | 46.026316 | 0.762958 | 0 | 0 | 0.25 | 1 | 0.125 | 0.621281 | 0.364416 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.09375 | null | null | 0.15625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a373e078db0fb78debec9a531d8fc32c39ec1fa7 | 806 | py | Python | blog/rss.py | clovisouza/tastebud | 1f1ee9522f0f6ffee35db147b47948ae7ee6269e | [
"BSD-3-Clause"
] | null | null | null | blog/rss.py | clovisouza/tastebud | 1f1ee9522f0f6ffee35db147b47948ae7ee6269e | [
"BSD-3-Clause"
] | null | null | null | blog/rss.py | clovisouza/tastebud | 1f1ee9522f0f6ffee35db147b47948ae7ee6269e | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.syndication.feeds import Feed
from django.conf import settings
blog = __import__("%s.blog.models" % settings.MODULE_NAME,globals(),locals(),['views'])
from datetime import datetime as d
class BlogFeed(Feed):
title = settings.SITE_NAME
link = "/"
description = settings.SITE_DESCRIPTION
... | 29.851852 | 98 | 0.640199 | 106 | 806 | 4.688679 | 0.528302 | 0.054326 | 0.056338 | 0.072435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003252 | 0.236973 | 806 | 26 | 99 | 31 | 0.804878 | 0.119107 | 0 | 0 | 0 | 0 | 0.044223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.1875 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a38c7c30bcf31b813565789a18daeff875aed5bc | 1,725 | py | Python | randomizar.py | davirpp/IP-Projeto-Davi_Ribeiro-Thalles_Emannuel | 3df96ca66608a6e1a5850a452b6ed37ab2bdaff4 | [
"MIT"
] | null | null | null | randomizar.py | davirpp/IP-Projeto-Davi_Ribeiro-Thalles_Emannuel | 3df96ca66608a6e1a5850a452b6ed37ab2bdaff4 | [
"MIT"
] | null | null | null | randomizar.py | davirpp/IP-Projeto-Davi_Ribeiro-Thalles_Emannuel | 3df96ca66608a6e1a5850a452b6ed37ab2bdaff4 | [
"MIT"
] | null | null | null | import random
from display import *
def randomizar():
global conteudo_celula
num_tesouro = 0
num_buraco = 0
conteudo_celula = [[None for i in range(num_linhas)] for j in range(num_linhas)]
# colocar tesouros:
while (num_tesouro < 6):
i = random.randint(0, num_linhas - 1) # -1 por ser ... | 34.5 | 84 | 0.513623 | 241 | 1,725 | 3.473029 | 0.211618 | 0.250896 | 0.215054 | 0.172043 | 0.584229 | 0.494624 | 0.442055 | 0.41816 | 0.41816 | 0.41816 | 0 | 0.035552 | 0.364058 | 1,725 | 49 | 85 | 35.204082 | 0.727438 | 0.127536 | 0 | 0.242424 | 0 | 0 | 0.005358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.060606 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e65efb75313d3058932d8d234b15296c93ad761 | 438 | py | Python | pygsm/coordinate_systems/__init__.py | stenczelt/pyGSM | 48e7a710744ec768e2c4a0f4d8dc1f9ffd948ce1 | [
"MIT"
] | null | null | null | pygsm/coordinate_systems/__init__.py | stenczelt/pyGSM | 48e7a710744ec768e2c4a0f4d8dc1f9ffd948ce1 | [
"MIT"
] | 2 | 2021-05-29T13:04:31.000Z | 2021-05-30T11:05:41.000Z | pygsm/coordinate_systems/__init__.py | stenczelt/pyGSM | 48e7a710744ec768e2c4a0f4d8dc1f9ffd948ce1 | [
"MIT"
] | null | null | null | from .cartesian import CartesianCoordinates
from .delocalized_coordinates import DelocalizedInternalCoordinates
from .internal_coordinates import InternalCoordinates
from .primitive_internals import PrimitiveInternalCoordinates
from .slots import (Angle, Dihedral, Distance, OutOfPlane, RotationA,
Ro... | 48.666667 | 69 | 0.789954 | 37 | 438 | 9.27027 | 0.675676 | 0.099125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16895 | 438 | 8 | 70 | 54.75 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6e6b3c05976caa382ce1f4c009f5603c0cbc1f8a | 558 | py | Python | Algorithms/Dynamic-Programming/MaxSubArray/BottomUp.py | javokhirbek1999/AlgorithmsDS | f5f403fed959ac8cf3064c8c852c59f2e67496ab | [
"MIT"
] | 6 | 2021-03-21T02:24:05.000Z | 2021-04-05T01:32:13.000Z | Algorithms/Dynamic-Programming/MaxSubArray/BottomUp.py | javokhirbek1999/AlgorithmsDS | f5f403fed959ac8cf3064c8c852c59f2e67496ab | [
"MIT"
] | null | null | null | Algorithms/Dynamic-Programming/MaxSubArray/BottomUp.py | javokhirbek1999/AlgorithmsDS | f5f403fed959ac8cf3064c8c852c59f2e67496ab | [
"MIT"
] | null | null | null | class MaxSubArrayBottomUp:
def __init__(self, prices):
self.prices = prices
self.sub_solutions = [None] * len(prices)
for i in range(len(self.prices)):
if i == 0:
self.sub_solutions[i] = self.prices[0]
else:
self.sub_solutions[i] = max(... | 34.875 | 99 | 0.577061 | 76 | 558 | 4.039474 | 0.302632 | 0.228013 | 0.260586 | 0.166124 | 0.130293 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.30466 | 558 | 15 | 100 | 37.2 | 0.780928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e99da3b9755bfa8261362539fbf594dc76cf77c | 1,777 | py | Python | com/kakao/cafe/menu/tea/royalMilkTea.py | roseonghwan/kakao-cafe | 39ed9227f48ab329eccc27ccf11535e843a35f4c | [
"MIT"
] | 2 | 2020-04-04T22:49:03.000Z | 2020-05-15T09:59:34.000Z | com/kakao/cafe/menu/tea/royalMilkTea.py | bamin0422/kakao-cafe | f5aca5f6eaf3637eca6af136157f53737c0bffc8 | [
"MIT"
] | null | null | null | com/kakao/cafe/menu/tea/royalMilkTea.py | bamin0422/kakao-cafe | f5aca5f6eaf3637eca6af136157f53737c0bffc8 | [
"MIT"
] | null | null | null | from com.kakao.cafe.menu.tea.milkTea import MilkTea
class RoyalMilkTea(MilkTea):
def __init__(self):
super().__init__()
self.__royalHoney = 1
self.name = "RoyalMilkTea"
self.__price = 5000
self.__milk = 350
self.__blackTea = 2
def getName(self) -> str:
... | 25.385714 | 57 | 0.601013 | 199 | 1,777 | 5.18593 | 0.306533 | 0.062016 | 0.063953 | 0.065891 | 0.170543 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0.012638 | 0.287563 | 1,777 | 69 | 58 | 25.753623 | 0.802528 | 0 | 0 | 0.040816 | 0 | 0 | 0.025324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.367347 | false | 0.040816 | 0.020408 | 0.122449 | 0.530612 | 0.020408 | 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 |
6ec8e391621fbf3daef425f0a85d56604f7efd54 | 193 | py | Python | Bit2cAPI/Symbol.py | orel98/Bit2cAPI | e98cca3123cb166a9b51da377640478582a4a520 | [
"MIT"
] | null | null | null | Bit2cAPI/Symbol.py | orel98/Bit2cAPI | e98cca3123cb166a9b51da377640478582a4a520 | [
"MIT"
] | null | null | null | Bit2cAPI/Symbol.py | orel98/Bit2cAPI | e98cca3123cb166a9b51da377640478582a4a520 | [
"MIT"
] | null | null | null | from enum import Enum
class Symbol(Enum):
BTC = "BTC"
ETH = "ETH"
LTC = "LTC"
USDC = "USDC"
@property
def pair(self):
return f"{self.value.capitalize()}Nis"
| 13.785714 | 46 | 0.554404 | 25 | 193 | 4.28 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305699 | 193 | 13 | 47 | 14.846154 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.212435 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.888889 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
6ecc5f507a753f352cdbfde93fa49ecee00dc865 | 797 | py | Python | gdsclient/algo/algo_endpoints.py | FlorentinD/gdsclient | 04f41d9b60c3de3af308d1d264fadbce0ed54e68 | [
"Apache-2.0"
] | null | null | null | gdsclient/algo/algo_endpoints.py | FlorentinD/gdsclient | 04f41d9b60c3de3af308d1d264fadbce0ed54e68 | [
"Apache-2.0"
] | null | null | null | gdsclient/algo/algo_endpoints.py | FlorentinD/gdsclient | 04f41d9b60c3de3af308d1d264fadbce0ed54e68 | [
"Apache-2.0"
] | null | null | null | from ..query_runner.query_runner import QueryRunner
from .algo_proc_runner import AlgoProcRunner
class AlgoEndpoints:
def __init__(self, query_runner: QueryRunner, namespace: str):
self._query_runner = query_runner
self._namespace = namespace
@property
def mutate(self) -> AlgoProcRunner:
... | 31.88 | 78 | 0.718946 | 87 | 797 | 6.298851 | 0.252874 | 0.180657 | 0.164234 | 0.277372 | 0.489051 | 0.489051 | 0.489051 | 0.489051 | 0.489051 | 0.489051 | 0 | 0 | 0.180678 | 797 | 24 | 79 | 33.208333 | 0.839204 | 0 | 0 | 0.222222 | 0 | 0 | 0.117942 | 0.117942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6edbd876acdf0cd20630456f61e5beafa6303e86 | 169 | py | Python | chap06/list06c02.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | chap06/list06c02.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | chap06/list06c02.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | # 使用f字符串拼接字符串
s1 = input('字符串s1:')
s2 = input('字符串s2:')
no = int(input('整数no:'))
print(f'{s1}{s2}') # 字符串 + 字符串
print(f'{s1}{no}{s2}') # 字符串 + 整数 + 字符串 | 21.125 | 40 | 0.502959 | 25 | 169 | 3.4 | 0.52 | 0.141176 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 0.236686 | 169 | 8 | 40 | 21.125 | 0.596899 | 0.218935 | 0 | 0 | 0 | 0 | 0.305785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6edd7cc696731f68c8f00a132f1b412fefaed2c0 | 801 | py | Python | thesis/data/__init__.py | morris-frank/unnamed-source-separation | e23af1761e8fdd587a67b307eaee800b02f5bccf | [
"MIT"
] | 2 | 2021-01-05T11:34:09.000Z | 2021-01-05T16:06:36.000Z | thesis/data/__init__.py | morris-frank/unsupervised-source-separation | e23af1761e8fdd587a67b307eaee800b02f5bccf | [
"MIT"
] | 1 | 2020-05-12T18:52:18.000Z | 2020-05-12T18:52:18.000Z | thesis/data/__init__.py | morris-frank/unnamed-source-separation | e23af1761e8fdd587a67b307eaee800b02f5bccf | [
"MIT"
] | null | null | null | from torch.utils import data
from ..nn.modules import MelSpectrogram
class Dataset(data.Dataset):
def __init__(self, sr: int = 14_700, n_mels: int = 80):
self.rate = sr
self.spectrograph = MelSpectrogram(n_mels=n_mels, sr=sr)
def loader(self, batch_size: int, shuffle=True, **kwargs) -> data.D... | 32.04 | 101 | 0.614232 | 105 | 801 | 4.438095 | 0.466667 | 0.032189 | 0.055794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015491 | 0.274657 | 801 | 24 | 102 | 33.375 | 0.786575 | 0 | 0 | 0.105263 | 0 | 0 | 0.06367 | 0.026217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | 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 |
42b574cee44f2fbe95e04e8ca7b8093597ad7781 | 135 | py | Python | programmers/lv1/12917.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | 1 | 2021-01-22T15:58:32.000Z | 2021-01-22T15:58:32.000Z | programmers/lv1/12917.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | null | null | null | programmers/lv1/12917.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | null | null | null | def solution(s: str):
return "".join(sorted(s, reverse=True))
if __name__ == "__main__":
i = "Zbcdefg"
print(solution(i)) | 19.285714 | 43 | 0.614815 | 18 | 135 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 135 | 7 | 44 | 19.285714 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
42c97a82f2d68b2ddecdce7af284b73f2cfa1bcd | 70 | py | Python | qtoggleserver/paradox/__init__.py | qtoggle/qtoggleserver-paradox | 006fd1310d82cf4984e6a56c3e651a0f5704c6f4 | [
"Apache-2.0"
] | null | null | null | qtoggleserver/paradox/__init__.py | qtoggle/qtoggleserver-paradox | 006fd1310d82cf4984e6a56c3e651a0f5704c6f4 | [
"Apache-2.0"
] | null | null | null | qtoggleserver/paradox/__init__.py | qtoggle/qtoggleserver-paradox | 006fd1310d82cf4984e6a56c3e651a0f5704c6f4 | [
"Apache-2.0"
] | null | null | null |
from .paradoxalarm import ParadoxAlarm
VERSION = 'unknown-version'
| 11.666667 | 38 | 0.785714 | 7 | 70 | 7.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 5 | 39 | 14 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
42cee58c44731c5f2410a85f2eb50ca92b25a33d | 5,476 | py | Python | tests/test_zonecrossmixing.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | tests/test_zonecrossmixing.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | tests/test_zonecrossmixing.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | import os
import tempfile
import unittest
import logging
from pyidf import ValidationLevel
import pyidf
from pyidf.idf import IDF
from pyidf.zone_airflow import ZoneCrossMixing
log = logging.getLogger(__name__)
class TestZoneCrossMixing(unittest.TestCase):
def setUp(self):
self.fd, self.path = tempfile.m... | 53.686275 | 147 | 0.76954 | 688 | 5,476 | 5.668605 | 0.110465 | 0.147692 | 0.247692 | 0.166154 | 0.80641 | 0.677179 | 0.592308 | 0.518462 | 0.452308 | 0.333333 | 0 | 0.009901 | 0.170015 | 5,476 | 102 | 148 | 53.686275 | 0.848185 | 0.028488 | 0 | 0 | 0 | 0 | 0.085046 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 1 | 0.04 | false | 0 | 0.106667 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 |
42d2d8cb848dbefc1583d0dcdfcb696962e9fff6 | 178 | py | Python | pages/config/urls.py | LeandroMelloo/projeto_ecommerce_django | 8437920ab95113ade317675e0337c841b3fe6df1 | [
"Apache-2.0"
] | null | null | null | pages/config/urls.py | LeandroMelloo/projeto_ecommerce_django | 8437920ab95113ade317675e0337c841b3fe6df1 | [
"Apache-2.0"
] | null | null | null | pages/config/urls.py | LeandroMelloo/projeto_ecommerce_django | 8437920ab95113ade317675e0337c841b3fe6df1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from django.urls import path, include # novo
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('pages.urls')), # novo
]
| 22.25 | 44 | 0.674157 | 23 | 178 | 5.217391 | 0.521739 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 178 | 7 | 45 | 25.428571 | 0.810811 | 0.050562 | 0 | 0 | 0 | 0 | 0.096386 | 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 |
42d5fddf1ac3c1f9494b7546ff2cb038e13519d5 | 135 | py | Python | webots_kuka_gym/__init__.py | norton2000/webots-kuka-gym-env-master | 5aa9f74c38e6921ed94fe182d6802536061ded8c | [
"BSD-3-Clause"
] | 1 | 2021-01-21T02:54:20.000Z | 2021-01-21T02:54:20.000Z | webots_kuka_gym/__init__.py | gabrielesartor/webots-kuka-gym-env | 24b97de813b5aef43513a1d7f2183bc6b1154e62 | [
"BSD-3-Clause"
] | null | null | null | webots_kuka_gym/__init__.py | gabrielesartor/webots-kuka-gym-env | 24b97de813b5aef43513a1d7f2183bc6b1154e62 | [
"BSD-3-Clause"
] | null | null | null | from gym.envs.registration import register
register(
id='webots-kuka-v0',
entry_point='webots_kuka_gym.envs:WebotsKukaEnv',
)
| 19.285714 | 53 | 0.755556 | 18 | 135 | 5.5 | 0.722222 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.125926 | 135 | 6 | 54 | 22.5 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.355556 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42f9ad199bdc0fe13c2746226406d99485d57fc4 | 230 | py | Python | flstudio.py | steven-bello/Asistentevirtual-Alexa | d1976771b7f3bff46829856f497251cd4ab66f88 | [
"Unlicense"
] | null | null | null | flstudio.py | steven-bello/Asistentevirtual-Alexa | d1976771b7f3bff46829856f497251cd4ab66f88 | [
"Unlicense"
] | null | null | null | flstudio.py | steven-bello/Asistentevirtual-Alexa | d1976771b7f3bff46829856f497251cd4ab66f88 | [
"Unlicense"
] | null | null | null | import os
def flstudio():
print ('Abriendo FL Studio...')
os.chdir(os.path.dirname("C:\\Users\\steve\\OneDrive\\Documentos\\Ejecutables\\"))
os.system('FLStudio.lnk')
if __name__ == "__main__":
flstudio() | 25.555556 | 87 | 0.630435 | 27 | 230 | 5.074074 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 230 | 9 | 88 | 25.555556 | 0.721053 | 0 | 0 | 0 | 0 | 0 | 0.421525 | 0.237668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e04ed9815e305f452463f94d4f68ad5754dd9e1 | 291 | py | Python | mlrun/api/schemas/k8s.py | daniels290813/mlrun | c95d90c3b4ce78d9b71456333ccd201f932d60ea | [
"Apache-2.0"
] | null | null | null | mlrun/api/schemas/k8s.py | daniels290813/mlrun | c95d90c3b4ce78d9b71456333ccd201f932d60ea | [
"Apache-2.0"
] | null | null | null | mlrun/api/schemas/k8s.py | daniels290813/mlrun | c95d90c3b4ce78d9b71456333ccd201f932d60ea | [
"Apache-2.0"
] | null | null | null | import typing
import pydantic
class ResourceSpec(pydantic.BaseModel):
cpu: typing.Optional[str]
memory: typing.Optional[str]
gpu: typing.Optional[str]
class Resources(pydantic.BaseModel):
requests: ResourceSpec = ResourceSpec()
limits: ResourceSpec = ResourceSpec()
| 19.4 | 43 | 0.742268 | 30 | 291 | 7.2 | 0.466667 | 0.194444 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161512 | 291 | 14 | 44 | 20.785714 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6e0e7efd782ecc75cb624319b805ea01f0cf70ac | 2,660 | py | Python | projects/citation_forms/retired/adjective_citation_form_data.py | morphgnt/morphological-lexicon | 34653de199e30bbc4a9d29da7aa819ab520f6b81 | [
"MIT"
] | 16 | 2015-02-05T15:05:46.000Z | 2022-03-24T16:09:06.000Z | projects/citation_forms/retired/adjective_citation_form_data.py | morphgnt/morphological-lexicon | 34653de199e30bbc4a9d29da7aa819ab520f6b81 | [
"MIT"
] | 7 | 2015-11-23T18:55:03.000Z | 2021-03-25T21:42:22.000Z | projects/citation_forms/retired/adjective_citation_form_data.py | morphgnt/morphological-lexicon | 34653de199e30bbc4a9d29da7aa819ab520f6b81 | [
"MIT"
] | 6 | 2015-11-13T04:26:50.000Z | 2019-05-27T07:40:04.000Z | ADJECTIVE_CITATION_FORMS = [
((r"ος, α, ον$", r"^a-1a\(1\)$", r"^A$"), "", []),
((r"ος, α, ον$", r"^a-3b\(1\)$", r"^A$"), "", []),
((r"ος, α, ον$", r"^a-1a\(1\)$", r"^A,"), "", []), # @@@
((r"ος, α, ον$", r"^a-1a\(1\)$", r"^$"), "", []), # @@@... | 45.862069 | 79 | 0.18985 | 317 | 2,660 | 1.586751 | 0.15142 | 0.214712 | 0.149105 | 0.099404 | 0.745527 | 0.67992 | 0.67992 | 0.534791 | 0.455268 | 0.373757 | 0 | 0.027329 | 0.394737 | 2,660 | 57 | 80 | 46.666667 | 0.285093 | 0.025188 | 0 | 0 | 0 | 0 | 0.307573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e15d748b5f1a1e05dc42da0c4911714a9534b01 | 519 | py | Python | environments/mujoco/rand_param_envs/gym/spaces/multi_binary.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 119 | 2020-02-12T07:06:17.000Z | 2022-03-24T08:37:34.000Z | environments/mujoco/rand_param_envs/gym/spaces/multi_binary.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 2 | 2020-05-24T22:33:42.000Z | 2020-09-28T16:42:02.000Z | environments/mujoco/rand_param_envs/gym/spaces/multi_binary.py | lfeng1999/varibad | 840f4bd56ccee96a6c162265d18ec54db8b77a1e | [
"MIT"
] | 26 | 2020-04-20T13:10:11.000Z | 2022-03-22T10:21:10.000Z | import numpy as np
from environments.mujoco.rand_param_envs import gym
from environments.mujoco.rand_param_envs.gym.spaces import prng
class MultiBinary(gym.Space):
def __init__(self, n):
self.n = n
def sample(self):
return prng.np_random.randint(low=0, high=2, size=self.n)
def contains... | 23.590909 | 65 | 0.662813 | 79 | 519 | 4.164557 | 0.468354 | 0.085106 | 0.133739 | 0.158055 | 0.364742 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0.009877 | 0.219653 | 519 | 21 | 66 | 24.714286 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.214286 | 0.285714 | 0.928571 | 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 |
6e1638fce5ad62c44e341b667d8a99c6ad33b170 | 377 | py | Python | mall_spider/utils/id_gen.py | 524243642/taobao_spider | 9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e | [
"Unlicense"
] | 12 | 2019-06-06T12:23:08.000Z | 2021-06-15T17:50:07.000Z | mall_spider/utils/id_gen.py | 524243642/mall_spider | 9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e | [
"Unlicense"
] | 3 | 2021-03-31T19:02:47.000Z | 2022-02-11T03:43:15.000Z | mall_spider/utils/id_gen.py | 524243642/taobao_spider | 9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e | [
"Unlicense"
] | 5 | 2019-09-17T03:55:56.000Z | 2020-12-18T03:34:03.000Z | # coding: utf-8
import uuid
from mall_spider.utils.session_id_generator import SessionIdGenerator
class IdGen(SessionIdGenerator):
@staticmethod
def uuid():
return uuid.uuid1().__str__().replace("-", "")
@staticmethod
def generate_id(self, session):
return IdGen.uuid()
@staticm... | 18.85 | 69 | 0.671088 | 42 | 377 | 5.785714 | 0.595238 | 0.185185 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00678 | 0.217507 | 377 | 19 | 70 | 19.842105 | 0.816949 | 0.034483 | 0 | 0.416667 | 0 | 0 | 0.002762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6e254ae5955bf02799c901cb9712479b0f67e2e3 | 249 | py | Python | blog/forms.py | majeedkarimi/siteino | 03cfef5f1f5e52ea5ac0bac56820d20bac4d92e5 | [
"MIT"
] | null | null | null | blog/forms.py | majeedkarimi/siteino | 03cfef5f1f5e52ea5ac0bac56820d20bac4d92e5 | [
"MIT"
] | null | null | null | blog/forms.py | majeedkarimi/siteino | 03cfef5f1f5e52ea5ac0bac56820d20bac4d92e5 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from blog.models import Comment
from captcha.fields import CaptchaField
class CommentModelForm(ModelForm):
captcha = CaptchaField()
class Meta:
model = Comment
fields = '__all__'
| 20.75 | 39 | 0.702811 | 26 | 249 | 6.576923 | 0.615385 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 249 | 12 | 40 | 20.75 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.75 | 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 |
6e5374273de66d520de6e31337889886fc6417f2 | 238 | py | Python | bld2repo/bld2repo/config.py | ppisar/modulemd-tools | 1296439248e14fe3b2e17a2141975e68d3dc9be1 | [
"MIT"
] | 23 | 2020-07-26T14:49:46.000Z | 2022-03-30T03:38:41.000Z | bld2repo/bld2repo/config.py | ppisar/modulemd-tools | 1296439248e14fe3b2e17a2141975e68d3dc9be1 | [
"MIT"
] | 44 | 2020-06-25T12:59:51.000Z | 2022-03-31T11:45:31.000Z | bld2repo/bld2repo/config.py | ppisar/modulemd-tools | 1296439248e14fe3b2e17a2141975e68d3dc9be1 | [
"MIT"
] | 13 | 2020-06-25T12:53:16.000Z | 2021-09-06T06:25:54.000Z | class Config():
def __init__(self, koji_host, koji_storage_host, arch, result_dir):
self.koji_host = koji_host
self.koji_storage_host = koji_storage_host
self.arch = arch
self.result_dir = result_dir
| 26.444444 | 71 | 0.680672 | 33 | 238 | 4.424242 | 0.333333 | 0.164384 | 0.308219 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243697 | 238 | 8 | 72 | 29.75 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 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 |
283379ba378210966a87c1c11d77520f030e6bc6 | 566 | py | Python | tests/helpers.py | DilwoarH/digitalmarketplace-utils | 5d45efe09d274f2e6642ce320eb8d83aec798ce7 | [
"MIT"
] | null | null | null | tests/helpers.py | DilwoarH/digitalmarketplace-utils | 5d45efe09d274f2e6642ce320eb8d83aec798ce7 | [
"MIT"
] | null | null | null | tests/helpers.py | DilwoarH/digitalmarketplace-utils | 5d45efe09d274f2e6642ce320eb8d83aec798ce7 | [
"MIT"
] | null | null | null | from datetime import datetime
from six import BytesIO
class IsDatetime(object):
def __eq__(self, other):
return isinstance(other, datetime)
class MockFile(BytesIO):
def __init__(self, initial=b"", filename="", name=""):
# BytesIO on py2 is an old-style class (yeah, i know...)
BytesIO... | 22.64 | 64 | 0.637809 | 67 | 566 | 5.149254 | 0.477612 | 0.046377 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002404 | 0.265018 | 566 | 24 | 65 | 23.583333 | 0.826923 | 0.132509 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.1875 | 0.6875 | 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 |
284880d5a323cdf5e2966fc545bdff12779039b4 | 356 | py | Python | gnpy/core/__init__.py | odd22/gnpy | d28c67143eb36b0516721b19643971edb0129331 | [
"BSD-3-Clause"
] | 98 | 2018-06-05T22:05:18.000Z | 2022-03-21T18:38:28.000Z | gnpy/core/__init__.py | odd22/gnpy | d28c67143eb36b0516721b19643971edb0129331 | [
"BSD-3-Clause"
] | 244 | 2018-06-07T14:08:22.000Z | 2022-03-31T17:52:30.000Z | gnpy/core/__init__.py | odd22/gnpy | d28c67143eb36b0516721b19643971edb0129331 | [
"BSD-3-Clause"
] | 69 | 2018-06-29T15:42:23.000Z | 2022-03-24T20:43:56.000Z | '''
Simulation of signal propagation in the DWDM network
Optical signals, as defined via :class:`.info.SpectralInformation`, enter
:py:mod:`.elements` which compute how these signals are affected as they travel
through the :py:mod:`.network`.
The simulation is controlled via :py:mod:`.parameters` and implemented mainl... | 35.6 | 79 | 0.766854 | 51 | 356 | 5.333333 | 0.72549 | 0.073529 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120787 | 356 | 9 | 80 | 39.555556 | 0.86901 | 0.974719 | 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 |
2866d1af0f774e3f3de8245ed8ce42a73d6e1c48 | 338 | py | Python | spark_dependencies/python_lib/digSparkUtil/__init__.py | usc-isi-i2/WEDC | cf48355d8a5c6616fb34be9932520875e218d2c4 | [
"Apache-2.0"
] | 2 | 2015-12-18T00:37:46.000Z | 2016-05-27T19:52:53.000Z | spark_dependencies/python_lib/digSparkUtil/__init__.py | usc-isi-i2/WEDC | cf48355d8a5c6616fb34be9932520875e218d2c4 | [
"Apache-2.0"
] | null | null | null | spark_dependencies/python_lib/digSparkUtil/__init__.py | usc-isi-i2/WEDC | cf48355d8a5c6616fb34be9932520875e218d2c4 | [
"Apache-2.0"
] | null | null | null | __author__ = 'philpot'
__version__ = '1.0.23'
__all__ = ["dictUtil", "fileUtil", "jsonUtil", "listUtil", "logUtil", "miscUtil", "rddUtil","ESUtil","Workflow"]
from dictUtil import *
from fileUtil import *
from jsonUtil import *
from listUtil import *
from logUtil import *
from miscUtil import *
from rddUtil import *
fr... | 30.727273 | 112 | 0.730769 | 40 | 338 | 5.875 | 0.45 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.136095 | 338 | 11 | 113 | 30.727273 | 0.791096 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.727273 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2868530cbd1204d291dfd414db9315cd2ba105ed | 2,837 | py | Python | tests/test_pull_version_info.py | sgibson91/hub23-deploy-upgrades | 70c31378b4a4616bc1425842b538b3b005b90bae | [
"MIT"
] | null | null | null | tests/test_pull_version_info.py | sgibson91/hub23-deploy-upgrades | 70c31378b4a4616bc1425842b538b3b005b90bae | [
"MIT"
] | null | null | null | tests/test_pull_version_info.py | sgibson91/hub23-deploy-upgrades | 70c31378b4a4616bc1425842b538b3b005b90bae | [
"MIT"
] | null | null | null | import responses
from helm_bot.pull_version_info import (
pull_from_chart_file,
pull_from_github_pages,
pull_from_requirements_file,
)
test_url = "http://jsonplaceholder.typicode.com/"
test_header = {"Authorization": "token ThIs_Is_A_ToKeN"}
@responses.activate
def test_pull_from_chart_file():
test_... | 28.089109 | 186 | 0.557279 | 345 | 2,837 | 4.35942 | 0.182609 | 0.085106 | 0.017952 | 0.039894 | 0.832447 | 0.795213 | 0.652926 | 0.629654 | 0.605053 | 0.605053 | 0 | 0.076358 | 0.279873 | 2,837 | 100 | 187 | 28.37 | 0.659814 | 0.003525 | 0 | 0.4125 | 0 | 0.025 | 0.213805 | 0.04177 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.0375 | false | 0 | 0.025 | 0 | 0.0625 | 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 |
2879364e5defd8fe93f6cea8fa829daaf990d12f | 130 | py | Python | main.py | taojiaa/wechat_spider | 21ff3daefd20e54966971be2f121960ac85984a1 | [
"MIT"
] | null | null | null | main.py | taojiaa/wechat_spider | 21ff3daefd20e54966971be2f121960ac85984a1 | [
"MIT"
] | null | null | null | main.py | taojiaa/wechat_spider | 21ff3daefd20e54966971be2f121960ac85984a1 | [
"MIT"
] | null | null | null | from src.api import WechatSpider
nickname = '腾讯创业'
ws = WechatSpider(nickname)
ws.crawl_latest_posts(begin=6, end=11, count=3)
| 16.25 | 47 | 0.761538 | 20 | 130 | 4.85 | 0.85 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.123077 | 130 | 7 | 48 | 18.571429 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95422a4193eb944a8b07f6ae706207ebb5a4289d | 166 | py | Python | django_sqlalchemy/backend/creation.py | brosner/django-sqlalchemy | 3f427d726acac2469ba2b39c59210bde574591e5 | [
"BSD-3-Clause"
] | 4 | 2015-11-14T13:54:56.000Z | 2020-06-05T15:04:48.000Z | django_sqlalchemy/backend/creation.py | brosner/django-sqlalchemy | 3f427d726acac2469ba2b39c59210bde574591e5 | [
"BSD-3-Clause"
] | null | null | null | django_sqlalchemy/backend/creation.py | brosner/django-sqlalchemy | 3f427d726acac2469ba2b39c59210bde574591e5 | [
"BSD-3-Clause"
] | 3 | 2015-11-25T10:56:46.000Z | 2021-07-13T19:19:42.000Z | from django.conf import settings
from django.db.backends.creation import BaseDatabaseCreation
class DatabaseCreation(BaseDatabaseCreation):
data_types = {
}
| 23.714286 | 60 | 0.801205 | 17 | 166 | 7.764706 | 0.764706 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138554 | 166 | 6 | 61 | 27.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
954c305cf27a6549c6331d3d34f14cc36db40620 | 50 | py | Python | csv_parser/__init__.py | galbwe/csv_parser | 1582cb4a69443ca5f9a32a05692a9e1539478b74 | [
"MIT"
] | null | null | null | csv_parser/__init__.py | galbwe/csv_parser | 1582cb4a69443ca5f9a32a05692a9e1539478b74 | [
"MIT"
] | null | null | null | csv_parser/__init__.py | galbwe/csv_parser | 1582cb4a69443ca5f9a32a05692a9e1539478b74 | [
"MIT"
] | null | null | null | from .csv_parser import parse
__all__ = ['parse'] | 16.666667 | 29 | 0.74 | 7 | 50 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 3 | 30 | 16.666667 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 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 |
95645eea34f999f33e6174bb512c986ec6271693 | 89 | py | Python | wisconsin-src/datagen/genbuild.py | JiaMingLin/hash_join_practice | 356df1583c7bea116971e9c8d29ba6175a91f603 | [
"IJG"
] | 1 | 2019-04-24T00:14:02.000Z | 2019-04-24T00:14:02.000Z | wisconsin-src/datagen/genbuild.py | JiaMingLin/hash_join_practice | 356df1583c7bea116971e9c8d29ba6175a91f603 | [
"IJG"
] | null | null | null | wisconsin-src/datagen/genbuild.py | JiaMingLin/hash_join_practice | 356df1583c7bea116971e9c8d29ba6175a91f603 | [
"IJG"
] | null | null | null | maxkeyval = 16*1024*1024;
for i in xrange(1, maxkeyval+1):
print str(i) + '|' + str(i)
| 17.8 | 32 | 0.617978 | 16 | 89 | 3.4375 | 0.625 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 0.179775 | 89 | 4 | 33 | 22.25 | 0.589041 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9566c29cdf315c4f6909afea7ae56c032b48bd1f | 969 | py | Python | parser/main/executers.py | ynux/parsesql | de2b3672a5b3caa5a97ed96872783884137f704f | [
"MIT"
] | null | null | null | parser/main/executers.py | ynux/parsesql | de2b3672a5b3caa5a97ed96872783884137f704f | [
"MIT"
] | null | null | null | parser/main/executers.py | ynux/parsesql | de2b3672a5b3caa5a97ed96872783884137f704f | [
"MIT"
] | null | null | null | from multiprocessing import Pool, cpu_count, Queue
from main.sql_parser.snowsqlparser import ParseSql
class BaseExecuter(object):
pass
class SequentialExecuter(BaseExecuter):
def __init__(self, to_parse_files=None):
self.to_parse_files = to_parse_files
def parse(self):
dependencies =... | 26.916667 | 67 | 0.692466 | 120 | 969 | 5.3 | 0.358333 | 0.08805 | 0.150943 | 0.150943 | 0.220126 | 0.220126 | 0.220126 | 0.220126 | 0.220126 | 0.220126 | 0 | 0.001328 | 0.22291 | 969 | 36 | 68 | 26.916667 | 0.843293 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0.04 | 0.08 | 0.12 | 0.68 | 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 |
957e518db1638f690875405abaed0938ecb09ae0 | 26,700 | py | Python | GraphProperties/common/combine_graph_props_ipsi_contra_seeds_pandas.py | ludo67100/CereballarMaps-GraphProperties | 09b0bcd27361731db7984f3f1a82cd17a528c70d | [
"CC0-1.0"
] | null | null | null | GraphProperties/common/combine_graph_props_ipsi_contra_seeds_pandas.py | ludo67100/CereballarMaps-GraphProperties | 09b0bcd27361731db7984f3f1a82cd17a528c70d | [
"CC0-1.0"
] | null | null | null | GraphProperties/common/combine_graph_props_ipsi_contra_seeds_pandas.py | ludo67100/CereballarMaps-GraphProperties | 09b0bcd27361731db7984f3f1a82cd17a528c70d | [
"CC0-1.0"
] | null | null | null | """
Created on Wed Jun 17 14:01:23 2020
combine graph properties for different seeds
@author: Jyotika.bahuguna
"""
import os
import glob
import numpy as np
import pylab as pl
import scipy.io as sio
from copy import copy, deepcopy
import pickle
import matplotlib.cm as cm
import pdb
import h5py
import pandas as pd
... | 57.792208 | 441 | 0.687154 | 3,628 | 26,700 | 4.596748 | 0.054024 | 0.069077 | 0.067998 | 0.039336 | 0.867902 | 0.816814 | 0.728788 | 0.647179 | 0.577562 | 0.512562 | 0 | 0.00763 | 0.185169 | 26,700 | 461 | 442 | 57.917571 | 0.758917 | 0.026704 | 0 | 0.137026 | 0 | 0 | 0.284201 | 0.240102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002915 | false | 0 | 0.046647 | 0 | 0.052478 | 0.034985 | 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 |
959d3ce114445433b3304a17a8cd70d2e217280c | 529 | py | Python | python/programs/alphabet_soup/alphabet_soup.test.py | pabagan/Knowledgebase | 91c2dcabfc158cab538c2ae5a3b86e4d084042d0 | [
"MIT"
] | 2 | 2017-11-07T15:08:33.000Z | 2018-08-22T22:40:56.000Z | python/programs/alphabet_soup/alphabet_soup.test.py | pabagan/knowledgebase | 91c2dcabfc158cab538c2ae5a3b86e4d084042d0 | [
"MIT"
] | null | null | null | python/programs/alphabet_soup/alphabet_soup.test.py | pabagan/knowledgebase | 91c2dcabfc158cab538c2ae5a3b86e4d084042d0 | [
"MIT"
] | null | null | null | import unittest
from alphabet_soup import alphabet_soup
class Test(unittest.TestCase):
def test_alphabet_soup_OK(self):
is_doable =alphabet_soup('KANGAROO', 'OORAGNAK')
self.assertEqual(is_doable, True)
def test_alphabet_soup_KO(self):
is_doable =alphabet_soup('YES', 'NOT')
sel... | 29.388889 | 56 | 0.701323 | 67 | 529 | 5.134328 | 0.402985 | 0.244186 | 0.104651 | 0.174419 | 0.383721 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0.007009 | 0.190926 | 529 | 18 | 57 | 29.388889 | 0.796729 | 0 | 0 | 0.142857 | 0 | 0 | 0.079245 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.214286 | 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 |
95ac2344554fd721cb1f6bb3ca1d3776f257f4b2 | 357 | py | Python | test/test_integration.py | wolny/paintera_tools | e55b08b5154991873eaea7bf43448ce9da4ad6e7 | [
"MIT"
] | 1 | 2019-06-23T21:32:15.000Z | 2019-06-23T21:32:15.000Z | test/test_integration.py | wolny/paintera_tools | e55b08b5154991873eaea7bf43448ce9da4ad6e7 | [
"MIT"
] | null | null | null | test/test_integration.py | wolny/paintera_tools | e55b08b5154991873eaea7bf43448ce9da4ad6e7 | [
"MIT"
] | 1 | 2019-08-08T11:36:47.000Z | 2019-08-08T11:36:47.000Z | import unittest
# for now only test imports
class TestPainteraToolsIntegration(unittest.TestCase):
def test_imports(self):
import paintera_tools
self.assertTrue(hasattr(paintera_tools, 'serialize_from_commit'))
self.assertTrue(hasattr(paintera_tools, 'serialize_from_project'))
if __name_... | 25.5 | 74 | 0.745098 | 39 | 357 | 6.410256 | 0.589744 | 0.156 | 0.168 | 0.232 | 0.376 | 0.376 | 0.376 | 0 | 0 | 0 | 0 | 0 | 0.165266 | 357 | 13 | 75 | 27.461538 | 0.838926 | 0.070028 | 0 | 0 | 0 | 0 | 0.154545 | 0.130303 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
95b998b2f7a75ef34bcc1f66202d3f2be6d7f3b9 | 3,262 | py | Python | api/schemas/student/response_schemas/student_response_schemas.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | null | null | null | api/schemas/student/response_schemas/student_response_schemas.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | null | null | null | api/schemas/student/response_schemas/student_response_schemas.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | null | null | null | from optparse import Option
from typing import Any, Dict, List
from api.models.student.student_model import *
from pydantic import BaseModel
from api.schemas.student.request_schemas.student_request_schemas import StudentHigherStudiesInfoSchema
class AuthorizedUserStudentProfileView(BaseModel):
events: List[str... | 21.460526 | 102 | 0.675659 | 355 | 3,262 | 6.087324 | 0.273239 | 0.05553 | 0.0472 | 0.05553 | 0.576122 | 0.554836 | 0.554836 | 0.554836 | 0.554836 | 0.554836 | 0 | 0 | 0.247394 | 3,262 | 152 | 103 | 21.460526 | 0.880244 | 0.112201 | 0 | 0.706522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.01087 | 0.054348 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
95f05c87ce7f8931a58c410b27357ff8aaa67845 | 756 | py | Python | Algoritimos/lista2 prova 3/Q5.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | Algoritimos/lista2 prova 3/Q5.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | Algoritimos/lista2 prova 3/Q5.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | d = str(input("Digite uma data no formato 'DD/MM/AAAA': "))
data = (d.split("/"))
resp = [data[0]+" de "]
if data[1] == "01":
data[1] = "Janeiro de "
elif data[1] == "02":
data[1] = "Fevereiro de "
elif data[1] == "03":
data[1] = "Março de "
elif data[1] == "04":
data[1] = "Abril de "
elif data[1] == "05":
data[1]... | 23.625 | 59 | 0.547619 | 130 | 756 | 3.184615 | 0.376923 | 0.301932 | 0.2657 | 0.292271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.190476 | 756 | 31 | 60 | 24.387097 | 0.593137 | 0 | 0 | 0 | 0 | 0 | 0.279101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.064516 | 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 |
250acbd6517d8cc3b66a688bc6d1fcd92d2b40db | 724 | py | Python | opyoid/exceptions.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/exceptions.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/exceptions.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | class InjectException(Exception):
"""Base class for all exceptions."""
pass
class NonInjectableTypeError(InjectException):
"""Raised when a type could not be injected (i.e. they are no corresponding bindings)."""
pass
class NoBindingFound(NonInjectableTypeError):
"""Raised when no binding was fo... | 24.965517 | 93 | 0.726519 | 83 | 724 | 6.325301 | 0.578313 | 0.085714 | 0.190476 | 0.099048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183702 | 724 | 28 | 94 | 25.857143 | 0.888325 | 0.48895 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
251689ddd30565aee02c7833c14a3b11c1f86aa0 | 437 | py | Python | src/asynchron/codegen/spec/reader/yaml.py | zerlok/asynchron | 7808d042753f816b0f796282bf31dd5e01f9794e | [
"MIT"
] | 1 | 2022-02-04T04:54:19.000Z | 2022-02-04T04:54:19.000Z | src/asynchron/codegen/spec/reader/yaml.py | zerlok/asynchron | 7808d042753f816b0f796282bf31dd5e01f9794e | [
"MIT"
] | 1 | 2022-01-13T12:23:19.000Z | 2022-01-13T16:06:33.000Z | src/asynchron/codegen/spec/reader/yaml.py | zerlok/asynchron | 7808d042753f816b0f796282bf31dd5e01f9794e | [
"MIT"
] | null | null | null | __all__ = (
"YamlAsyncApiConfigReader",
)
import typing as t
import yaml
from asynchron.codegen.app import AsyncApiConfigReader
from asynchron.codegen.spec.asyncapi import AsyncAPIObject
# TODO: handle IO, yaml and pydantic errors
class YamlAsyncApiConfigReader(AsyncApiConfigReader):
def read(self, source... | 24.277778 | 85 | 0.775744 | 49 | 437 | 6.795918 | 0.714286 | 0.078078 | 0.12012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144165 | 437 | 17 | 86 | 25.705882 | 0.890374 | 0.1373 | 0 | 0 | 0 | 0 | 0.064171 | 0.064171 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
253f580472065d07ddad7e9116b135b08495b66a | 745 | py | Python | pillow/save-numpy-array-face/main_GRAY.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 140 | 2017-02-21T22:49:04.000Z | 2022-03-22T17:51:58.000Z | pillow/save-numpy-array-face/main_GRAY.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 5 | 2017-12-02T19:55:00.000Z | 2021-09-22T23:18:39.000Z | pillow/save-numpy-array-face/main_GRAY.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 79 | 2017-01-25T10:53:33.000Z | 2022-03-11T16:13:57.000Z | import numpy as np
import csv
from PIL import Image
counter = dict()
row = [
255, 0, 0, 0, 0, 0, 255,
0, 255, 255, 255, 255, 255, 0,
0, 255, 0, 255, 0, 255, 0,
0, 255, 255, 255, 255, 255, 0,
0, 255, 0, 0, 0, 255, 0,
0, 255, 255... | 20.694444 | 51 | 0.502013 | 109 | 745 | 3.431193 | 0.302752 | 0.074866 | 0.216578 | 0.192513 | 0.259358 | 0.248663 | 0.248663 | 0.18984 | 0.18984 | 0.18984 | 0 | 0.210953 | 0.338255 | 745 | 35 | 52 | 21.285714 | 0.547667 | 0 | 0 | 0.192308 | 0 | 0 | 0.030872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.115385 | 0 | 0.115385 | 0.038462 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
2546aba760544bb8e07fedd25f9121030793901f | 738 | py | Python | notebook/strtobool_test.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/strtobool_test.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/strtobool_test.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | from distutils.util import strtobool
print(strtobool('true'))
print(strtobool('True'))
print(strtobool('TRUE'))
# 1
# 1
# 1
print(strtobool('t'))
print(strtobool('yes'))
print(strtobool('y'))
print(strtobool('on'))
print(strtobool('1'))
# 1
# 1
# 1
# 1
# 1
print(strtobool('false'))
print(strtobool('False'))
print(st... | 13.666667 | 39 | 0.647696 | 101 | 738 | 4.732673 | 0.316832 | 0.497908 | 0.031381 | 0.025105 | 0.357741 | 0.232218 | 0 | 0 | 0 | 0 | 0 | 0.028213 | 0.135501 | 738 | 53 | 40 | 13.924528 | 0.721003 | 0.169377 | 0 | 0 | 0 | 0 | 0.116751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.041667 | 0 | 0.041667 | 0.791667 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
25544bad04ac4b0120ca961254c94b153b68fe05 | 214 | py | Python | katas/beta/count_words.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/count_words.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/count_words.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from re import compile, finditer
OMIT = {'a', 'the', 'on', 'at', 'of', 'upon', 'in', 'as'}
REGEX = compile(r'[a-z]+')
def word_count(s):
return sum(a.group() not in OMIT for a in finditer(REGEX, s.lower()))
| 23.777778 | 73 | 0.593458 | 37 | 214 | 3.405405 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172897 | 214 | 8 | 74 | 26.75 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
255f0396142b3e1b576e3f41a098ea49358f823e | 226 | py | Python | creevey/util/image.py | sugi-chan/creevey | 3e62303cf42c307a12c69b8baca9e5f003f91d38 | [
"BSD-3-Clause"
] | null | null | null | creevey/util/image.py | sugi-chan/creevey | 3e62303cf42c307a12c69b8baca9e5f003f91d38 | [
"BSD-3-Clause"
] | null | null | null | creevey/util/image.py | sugi-chan/creevey | 3e62303cf42c307a12c69b8baca9e5f003f91d38 | [
"BSD-3-Clause"
] | null | null | null | from functools import partial
from creevey.util import find_files_with_extensions
IMAGE_EXTENSIONS = ["jpeg", "jpg", "png", "bmp", "gif"]
find_image_files = partial(find_files_with_extensions, extensions=IMAGE_EXTENSIONS)
| 25.111111 | 83 | 0.79646 | 30 | 226 | 5.666667 | 0.533333 | 0.105882 | 0.152941 | 0.270588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10177 | 226 | 8 | 84 | 28.25 | 0.837438 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
25660e2a144a9e8f66e3efc900368c8509725d52 | 279 | py | Python | gcn/randomize_data.py | jc-chen/gcn | ff8bbc01e53935f469e2005ff1baad1efdf652f3 | [
"MIT"
] | null | null | null | gcn/randomize_data.py | jc-chen/gcn | ff8bbc01e53935f469e2005ff1baad1efdf652f3 | [
"MIT"
] | null | null | null | gcn/randomize_data.py | jc-chen/gcn | ff8bbc01e53935f469e2005ff1baad1efdf652f3 | [
"MIT"
] | 1 | 2020-11-04T15:37:52.000Z | 2020-11-04T15:37:52.000Z | import os, random
import sys
from shutil import copy2
m = sys.argv[1]
dest = "/home/jean/Documents/shuffled/" + m + "/"
for i in range(int(m)):
src = "/home/jean/Documents/cleaned/" + random.choice(os.listdir("/home/jean/Documents/cleaned/"))
print(i,src)
copy2(src,dest)
| 19.928571 | 99 | 0.684588 | 44 | 279 | 4.340909 | 0.568182 | 0.125654 | 0.267016 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012397 | 0.132616 | 279 | 13 | 100 | 21.461538 | 0.77686 | 0 | 0 | 0 | 0 | 0 | 0.320144 | 0.316547 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c264bc396222cbed53927d25ab841bd8e88a5937 | 62 | py | Python | classifier/config.py | Alex92rus/ErrorDetectionProject | e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8 | [
"Apache-2.0"
] | 1 | 2018-11-30T23:50:27.000Z | 2018-11-30T23:50:27.000Z | classifier/config.py | Alex92rus/ErrorDetectionProject | e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8 | [
"Apache-2.0"
] | null | null | null | classifier/config.py | Alex92rus/ErrorDetectionProject | e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8 | [
"Apache-2.0"
] | null | null | null | FILENAME = 'fce_train.gold.max.rasp.old_cat.m2'
WINDOWSIZE = 3 | 31 | 47 | 0.774194 | 11 | 62 | 4.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.080645 | 62 | 2 | 48 | 31 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0.539683 | 0.539683 | 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 |
c2662b6353cb523fb8f3b27e90ff43b253131049 | 54 | py | Python | EmployeeSQL/postgres_password.py | jtwilliams17/sql-challenge | 7248d379ebd0001de27d949b6ccc778613ccef5c | [
"ADSL"
] | null | null | null | EmployeeSQL/postgres_password.py | jtwilliams17/sql-challenge | 7248d379ebd0001de27d949b6ccc778613ccef5c | [
"ADSL"
] | null | null | null | EmployeeSQL/postgres_password.py | jtwilliams17/sql-challenge | 7248d379ebd0001de27d949b6ccc778613ccef5c | [
"ADSL"
] | null | null | null | # Postgres Password
postgres_pw = "Your Password Here" | 27 | 34 | 0.796296 | 7 | 54 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 34 | 27 | 0.893617 | 0.314815 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c26a5fe0731616aee65e9353402620f8748f584b | 595 | py | Python | transfer/data/conmssqlserver/insert_data.py | geezylucas/transfer-git | c47af7565f607840376ada2e9f27d849e9cc2af4 | [
"MIT"
] | null | null | null | transfer/data/conmssqlserver/insert_data.py | geezylucas/transfer-git | c47af7565f607840376ada2e9f27d849e9cc2af4 | [
"MIT"
] | null | null | null | transfer/data/conmssqlserver/insert_data.py | geezylucas/transfer-git | c47af7565f607840376ada2e9f27d849e9cc2af4 | [
"MIT"
] | null | null | null | from transfer.data.conmssqlserver.connection import ConnMSSQLServer
class InsertData(ConnMSSQLServer):
def __init__(self, server, database, user, password):
ConnMSSQLServer.__init__(self, server, database, user, password)
def insert_lane_assigns(self, assignments):
self.insert_many('{CALL db... | 39.666667 | 120 | 0.62521 | 51 | 595 | 7 | 0.529412 | 0.044818 | 0.078431 | 0.123249 | 0.319328 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 595 | 14 | 121 | 42.5 | 0.714 | 0 | 0 | 0 | 0 | 0 | 0.25042 | 0.230252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c2866e3dd0ca17d5cfd8a2fd4ea222f7cfe87b58 | 108 | py | Python | envs/setup.py | IceClear/vic-tensorflow | 706b96b4bc2a631ba5257d7bf2ebf4af7f0052f3 | [
"MIT"
] | 10 | 2017-05-21T20:28:18.000Z | 2020-12-20T17:33:02.000Z | envs/setup.py | IceClear/vic-tensorflow | 706b96b4bc2a631ba5257d7bf2ebf4af7f0052f3 | [
"MIT"
] | null | null | null | envs/setup.py | IceClear/vic-tensorflow | 706b96b4bc2a631ba5257d7bf2ebf4af7f0052f3 | [
"MIT"
] | 5 | 2017-05-21T20:28:22.000Z | 2018-08-20T17:13:31.000Z | from setuptools import setup
setup(name='vic_envs',
version='0.0.2',
install_requires=['gym'])
| 18 | 31 | 0.657407 | 15 | 108 | 4.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.185185 | 108 | 5 | 32 | 21.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c28f4b8bd46f7cc3040a53563b3171821346d902 | 167 | py | Python | backend/src/games/api/urls.py | Sammyuel/VisChess | 1952f18f24d821e4f54877173c1b5dafd34cf4fa | [
"MIT"
] | 5 | 2017-12-21T04:25:31.000Z | 2019-02-20T00:46:40.000Z | backend/src/games/api/urls.py | Sammyuel/VisChess | 1952f18f24d821e4f54877173c1b5dafd34cf4fa | [
"MIT"
] | null | null | null | backend/src/games/api/urls.py | Sammyuel/VisChess | 1952f18f24d821e4f54877173c1b5dafd34cf4fa | [
"MIT"
] | 1 | 2021-01-07T04:15:46.000Z | 2021-01-07T04:15:46.000Z | from django.conf.urls import url
from .views import GameList, GameID
urlpatterns = [
url(r'^$', GameList.as_view()),
url(r'^[0-9]+/$', GameID.as_view()),
]
| 16.7 | 40 | 0.628743 | 24 | 167 | 4.291667 | 0.625 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.167665 | 167 | 9 | 41 | 18.555556 | 0.726619 | 0 | 0 | 0 | 0 | 0 | 0.065868 | 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 |
c2b3e61f1c7aff2f782878b801ed280843d99cc9 | 6,803 | py | Python | example_cycles/N+3ref/benchmark_N3_MDP.py | askprash/pyCycle | e0845d7e320b6cb47367734c26ec3410c9fa5bf7 | [
"Apache-2.0"
] | 38 | 2019-08-12T15:27:25.000Z | 2022-01-27T16:34:51.000Z | example_cycles/N+3ref/benchmark_N3_MDP.py | askprash/pyCycle | e0845d7e320b6cb47367734c26ec3410c9fa5bf7 | [
"Apache-2.0"
] | 16 | 2019-11-07T17:39:54.000Z | 2022-03-01T14:59:48.000Z | example_cycles/N+3ref/benchmark_N3_MDP.py | askprash/pyCycle | e0845d7e320b6cb47367734c26ec3410c9fa5bf7 | [
"Apache-2.0"
] | 35 | 2019-08-12T15:27:37.000Z | 2022-03-17T16:25:33.000Z | import numpy as np
import unittest
import os
import openmdao.api as om
from openmdao.utils.assert_utils import assert_near_equal
import pycycle.api as pyc
from N3_MDP import N3_MDP_model
class N3MDPTestCase(unittest.TestCase):
def benchmark_case1(self):
prob = N3_MDP_model()
... | 49.297101 | 78 | 0.62443 | 1,037 | 6,803 | 3.877531 | 0.258438 | 0.134295 | 0.201442 | 0.250435 | 0.485451 | 0.425267 | 0.322059 | 0.138274 | 0.125342 | 0.07809 | 0 | 0.164798 | 0.213288 | 6,803 | 138 | 79 | 49.297101 | 0.58651 | 0.014993 | 0 | 0 | 0 | 0 | 0.207162 | 0.02966 | 0 | 0 | 0 | 0 | 0.482143 | 1 | 0.008929 | false | 0 | 0.0625 | 0 | 0.080357 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2b7ee32fc3927d0aa9580a3e8e66be6d7aa5e65 | 177 | py | Python | examples/swift_rockstar.py | navnm/green-hacker | 86c13c95c1554cfceb0d0b160a53f910d55e4d29 | [
"MIT"
] | 1 | 2019-06-27T11:38:58.000Z | 2019-06-27T11:38:58.000Z | examples/swift_rockstar.py | ghuntley/rockstar | fc8345e14a0dd6636bd37c1d3a49876226cf807e | [
"MIT"
] | null | null | null | examples/swift_rockstar.py | ghuntley/rockstar | fc8345e14a0dd6636bd37c1d3a49876226cf807e | [
"MIT"
] | null | null | null | from rockstar import RockStar
swift_code = "println('Hello world')"
rock_it_bro = RockStar(days=400, file_name='hello.swift', code=swift_code)
rock_it_bro.make_me_a_rockstar()
| 29.5 | 74 | 0.79661 | 29 | 177 | 4.517241 | 0.62069 | 0.206107 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.084746 | 177 | 5 | 75 | 35.4 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
c2c1f2e5aae8bdc7302a7be07ff47318f414b297 | 147 | py | Python | Dictator_service/apps.py | FurqanKhan1/Dictator | 74e29c12a8f92292ab3275661622c0632cdd0a7b | [
"Unlicense"
] | 5 | 2019-03-14T10:17:22.000Z | 2019-10-23T14:04:12.000Z | Dictator_service/apps.py | FurqanKhan1/Dictator | 74e29c12a8f92292ab3275661622c0632cdd0a7b | [
"Unlicense"
] | null | null | null | Dictator_service/apps.py | FurqanKhan1/Dictator | 74e29c12a8f92292ab3275661622c0632cdd0a7b | [
"Unlicense"
] | 14 | 2019-03-14T10:34:02.000Z | 2021-10-31T17:34:13.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class DictatorServiceConfig(AppConfig):
name = 'Dictator_service'
| 18.375 | 39 | 0.816327 | 16 | 147 | 7.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 7 | 40 | 21 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c2cd5e63ba66f9d45dd132ce5b0394945a3c37d3 | 793 | py | Python | tests/test_regex.py | kvvzr/python-emoji-regex | 9a7e92f862166d0b9f34c0105b027fea376d51c9 | [
"MIT"
] | 2 | 2016-07-11T08:40:28.000Z | 2017-03-11T05:52:51.000Z | tests/test_regex.py | kvvzr/python-emoji-regex | 9a7e92f862166d0b9f34c0105b027fea376d51c9 | [
"MIT"
] | null | null | null | tests/test_regex.py | kvvzr/python-emoji-regex | 9a7e92f862166d0b9f34c0105b027fea376d51c9 | [
"MIT"
] | 3 | 2016-08-20T10:10:14.000Z | 2018-11-22T04:30:32.000Z | # -*- coding: utf-8 -*-
from emoji_regex import emoji_regex
import unittest
import sys
class TestEmojiRegex(unittest.TestCase):
def test_emoji_regex(self):
emoji_re = emoji_regex.compile()
if sys.version_info >= (3, 0):
self.assertEqual(None, emoji_re.search('普通の文章'))
self... | 33.041667 | 61 | 0.627995 | 99 | 793 | 4.878788 | 0.343434 | 0.130435 | 0.182195 | 0.281574 | 0.604555 | 0.602484 | 0.469979 | 0 | 0 | 0 | 0 | 0.004886 | 0.225725 | 793 | 23 | 62 | 34.478261 | 0.76873 | 0.026482 | 0 | 0 | 0 | 0 | 0.033766 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.277778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2cfb72c8cf4e9c8cea724cf7d60c1bcba4839c6 | 97 | py | Python | Task-Week-4/Task-6/np_polynomial.py | Bijay555/innomatics-Apr21-internship | 69ff447b8303b9dec1242f7244f7b21e96420c1e | [
"MIT"
] | null | null | null | Task-Week-4/Task-6/np_polynomial.py | Bijay555/innomatics-Apr21-internship | 69ff447b8303b9dec1242f7244f7b21e96420c1e | [
"MIT"
] | null | null | null | Task-Week-4/Task-6/np_polynomial.py | Bijay555/innomatics-Apr21-internship | 69ff447b8303b9dec1242f7244f7b21e96420c1e | [
"MIT"
] | null | null | null | import numpy
a=list(map(float,raw_input().split()))
b=int(raw_input())
print(numpy.polyval(a,b))
| 19.4 | 38 | 0.721649 | 18 | 97 | 3.777778 | 0.722222 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 97 | 4 | 39 | 24.25 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
c2d2c829b38283689467347fa59d463cc994bcf6 | 63,230 | py | Python | yandex/cloud/dns/v1/dns_zone_service_pb2.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 36 | 2018-12-23T13:51:50.000Z | 2022-03-25T07:48:24.000Z | yandex/cloud/dns/v1/dns_zone_service_pb2.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 15 | 2019-02-28T04:55:09.000Z | 2022-03-06T23:17:24.000Z | yandex/cloud/dns/v1/dns_zone_service_pb2.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 18 | 2019-02-23T07:10:57.000Z | 2022-03-28T14:41:08.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: yandex/cloud/dns/v1/dns_zone_service.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _r... | 50.462889 | 8,095 | 0.777574 | 8,072 | 63,230 | 5.769202 | 0.051288 | 0.020185 | 0.034787 | 0.055316 | 0.77893 | 0.725654 | 0.689944 | 0.615925 | 0.593098 | 0.576521 | 0 | 0.057885 | 0.094006 | 63,230 | 1,252 | 8,096 | 50.503195 | 0.755036 | 0.029923 | 0 | 0.650216 | 1 | 0.017316 | 0.304283 | 0.258873 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009524 | 0 | 0.009524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c024593f667b757431cc8b0f0d389a2ea279c4d | 52 | py | Python | tests/data/exec.py | LauWien/pyam | 4cf3b98760703c77a69b1c24cf3ad59ffff7adc6 | [
"Apache-2.0"
] | 126 | 2018-05-03T16:01:00.000Z | 2022-03-25T17:01:38.000Z | tests/data/exec.py | LauWien/pyam | 4cf3b98760703c77a69b1c24cf3ad59ffff7adc6 | [
"Apache-2.0"
] | 562 | 2018-03-05T10:50:53.000Z | 2022-03-31T22:32:19.000Z | tests/data/exec.py | LauWien/pyam | 4cf3b98760703c77a69b1c24cf3ad59ffff7adc6 | [
"Apache-2.0"
] | 80 | 2018-03-26T07:59:12.000Z | 2022-03-05T17:53:47.000Z | def do_exec(df):
df.set_meta("bar", name="foo")
| 17.333333 | 34 | 0.615385 | 10 | 52 | 3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 35 | 26 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c07b3d9ae6bdd8908443513e600e52bfb2cbb94 | 119 | py | Python | zerojudge/a058.py | x06lan/mt | 3e4ddacc7717595acbfd689e22cd1e154843b99e | [
"MIT"
] | null | null | null | zerojudge/a058.py | x06lan/mt | 3e4ddacc7717595acbfd689e22cd1e154843b99e | [
"MIT"
] | null | null | null | zerojudge/a058.py | x06lan/mt | 3e4ddacc7717595acbfd689e22cd1e154843b99e | [
"MIT"
] | null | null | null |
out=[0,0,0]
x=int(input())
for i in range(x):
d=int(input())
g=d%3
out[g]+=1
print(" ".join([str(i)for i in out]))
| 13.222222 | 37 | 0.554622 | 29 | 119 | 2.275862 | 0.551724 | 0.060606 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.151261 | 119 | 8 | 38 | 14.875 | 0.60396 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c0bcc46865d3bc8ae2f40a12b79dc53a89596ac | 358 | py | Python | tests/unit/conftest.py | neuro-inc/platform-buckets-api | ba04edeb8565fa06e5af6d0316957a8816b087b2 | [
"Apache-2.0"
] | null | null | null | tests/unit/conftest.py | neuro-inc/platform-buckets-api | ba04edeb8565fa06e5af6d0316957a8816b087b2 | [
"Apache-2.0"
] | 55 | 2021-11-16T00:26:52.000Z | 2022-03-29T03:16:55.000Z | tests/unit/conftest.py | neuro-inc/platform-buckets-api | ba04edeb8565fa06e5af6d0316957a8816b087b2 | [
"Apache-2.0"
] | null | null | null | import pytest
from platform_buckets_api.storage import (
InMemoryBucketsStorage,
InMemoryCredentialsStorage,
)
@pytest.fixture
def in_memory_buckets_storage() -> InMemoryBucketsStorage:
return InMemoryBucketsStorage()
@pytest.fixture
def in_memory_credentials_storage() -> InMemoryCredentialsStorage:
... | 21.058824 | 66 | 0.812849 | 30 | 358 | 9.433333 | 0.5 | 0.091873 | 0.113074 | 0.127208 | 0.169611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 358 | 16 | 67 | 22.375 | 0.901274 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0.181818 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c253a9bb1dd8ca4e2a75c3a0b88d02cb907f5a0 | 10,723 | py | Python | guapow/common/model_util.py | vinifmor/guapow | 59a9a1e6706bacbcb3d4bbc762ff9264d5e6f582 | [
"Zlib"
] | 7 | 2021-10-06T17:02:13.000Z | 2022-03-22T10:45:23.000Z | guapow/common/model_util.py | vinifmor/guapow | 59a9a1e6706bacbcb3d4bbc762ff9264d5e6f582 | [
"Zlib"
] | 2 | 2022-03-16T11:20:54.000Z | 2022-03-24T13:54:49.000Z | guapow/common/model_util.py | vinifmor/guapow | 59a9a1e6706bacbcb3d4bbc762ff9264d5e6f582 | [
"Zlib"
] | null | null | null | import functools
from abc import ABC, abstractmethod
from logging import Logger
from typing import List, Optional, Set, Tuple, Type, Dict
from guapow.common import class_util
from guapow.common.model import CustomEnum, ProfileFile, FileModel
def rgetattr(obj, attr, *args):
def _getattr(obj, attr):
return... | 33.404984 | 188 | 0.610184 | 1,211 | 10,723 | 5.18332 | 0.131296 | 0.054803 | 0.04397 | 0.028039 | 0.392066 | 0.368647 | 0.347937 | 0.320854 | 0.312729 | 0.265573 | 0 | 0.003182 | 0.296652 | 10,723 | 320 | 189 | 33.509375 | 0.82909 | 0 | 0 | 0.314815 | 0 | 0.009259 | 0.055302 | 0.018092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226852 | false | 0.023148 | 0.027778 | 0.12037 | 0.50463 | 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 |
6c28cee772793db98fb836926257bd61ef581ea8 | 265 | py | Python | src/settings/mysql.py | arnulfojr/sanic-persistance-patterns | c3c433014401725ab60f1dde3c35848f9ce3ef88 | [
"MIT"
] | null | null | null | src/settings/mysql.py | arnulfojr/sanic-persistance-patterns | c3c433014401725ab60f1dde3c35848f9ce3ef88 | [
"MIT"
] | null | null | null | src/settings/mysql.py | arnulfojr/sanic-persistance-patterns | c3c433014401725ab60f1dde3c35848f9ce3ef88 | [
"MIT"
] | null | null | null | import os
USER = os.getenv('MYSQL_USER')
PASSWORD = os.getenv('MYSQL_PASSWORD')
PORT = int(os.getenv('MYSQL_PORT'))
ENDPOINT = os.getenv('MYSQL_ENDPOINT')
DATABASE = os.getenv('MYSQL_DATABASE')
URL = f'mysql://{USER}:{PASSWORD}@{ENDPOINT}:{PORT}/{DATABASE}'
| 17.666667 | 63 | 0.701887 | 36 | 265 | 5.027778 | 0.333333 | 0.220994 | 0.359116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101887 | 265 | 14 | 64 | 18.928571 | 0.760504 | 0 | 0 | 0 | 0 | 0 | 0.437736 | 0.203774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.142857 | 0 | 0.142857 | 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 |
6c2d03a27cc055e009ec3b93b175dc5899b58bb3 | 266 | py | Python | docs/examples/types_boolean.py | jasujm/pydantic | cc1cb4826c74ac5b651ef2d80c3478428a9950ca | [
"MIT"
] | 6 | 2021-08-11T11:37:59.000Z | 2021-11-12T01:33:11.000Z | docs/examples/types_boolean.py | jasujm/pydantic | cc1cb4826c74ac5b651ef2d80c3478428a9950ca | [
"MIT"
] | 197 | 2020-08-31T06:20:39.000Z | 2022-03-29T10:04:22.000Z | docs/examples/types_boolean.py | jasujm/pydantic | cc1cb4826c74ac5b651ef2d80c3478428a9950ca | [
"MIT"
] | 2 | 2021-11-23T16:28:21.000Z | 2021-11-23T16:28:33.000Z | from pydantic import BaseModel, ValidationError
class BooleanModel(BaseModel):
bool_value: bool
print(BooleanModel(bool_value=False))
print(BooleanModel(bool_value='False'))
try:
BooleanModel(bool_value=[])
except ValidationError as e:
print(str(e))
| 19 | 47 | 0.766917 | 32 | 266 | 6.25 | 0.5 | 0.18 | 0.315 | 0.26 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 266 | 13 | 48 | 20.461538 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.018797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c41b3800fe16935c99e9feec4c0aa2f921f8417 | 88 | py | Python | eve_sde/apps.py | kimnnmadsen/eve-abyssal-market | 1e07498b98be9282b969badff51d55258c72e7ed | [
"MIT"
] | 13 | 2018-08-23T14:27:22.000Z | 2020-12-07T12:35:38.000Z | eve_sde/apps.py | kimnnmadsen/eve-abyssal-market | 1e07498b98be9282b969badff51d55258c72e7ed | [
"MIT"
] | 25 | 2018-10-09T14:37:33.000Z | 2020-05-15T20:21:48.000Z | eve_sde/apps.py | Aimsucks/blue_donut | 4c769e8a9923a120ff5c8b28221b79aca370121d | [
"MIT"
] | 9 | 2020-04-12T16:24:53.000Z | 2020-10-30T02:04:57.000Z | from django.apps import AppConfig
class EveSdeConfig(AppConfig):
name = 'eve_sde'
| 14.666667 | 33 | 0.75 | 11 | 88 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6c438a962d4df2f99ec6321f611e92a4ee1325ae | 429 | py | Python | venv/Lib/site-packages/configurationutil/gui/__init__.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/configurationutil/gui/__init__.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/configurationutil/gui/__init__.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
from .config_launcher import ConfigLauncherFrame
from .params import (ParamsConfigButton,
ParamsDictConfigFrame,
ParamsListConfigFrame,
ParamsConfigWindow,
ParamsUITypesConstant)
from .add_edit_inheritable import AddE... | 35.75 | 63 | 0.706294 | 31 | 429 | 9.645161 | 0.677419 | 0.046823 | 0.073579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003155 | 0.261072 | 429 | 11 | 64 | 39 | 0.940063 | 0.034965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6c4e17d2c2bd07b03c74ff80df16c291c7754df0 | 174 | py | Python | setup.py | mariogeiger/gradientflow | 16749d538ca1caf3052ca50bfbdbabb61bd8e3a1 | [
"MIT"
] | 1 | 2020-12-08T02:07:30.000Z | 2020-12-08T02:07:30.000Z | setup.py | mariogeiger/gradientflow | 16749d538ca1caf3052ca50bfbdbabb61bd8e3a1 | [
"MIT"
] | 1 | 2021-08-30T14:50:01.000Z | 2021-08-31T12:07:46.000Z | setup.py | mariogeiger/gradientflow | 16749d538ca1caf3052ca50bfbdbabb61bd8e3a1 | [
"MIT"
] | null | null | null | """
Installation script
"""
from setuptools import setup, find_packages
setup(
version='0.0.1',
name='gradientflow',
packages=find_packages(exclude=["build"])
)
| 15.818182 | 45 | 0.689655 | 20 | 174 | 5.9 | 0.75 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.155172 | 174 | 10 | 46 | 17.4 | 0.782313 | 0.109195 | 0 | 0 | 0 | 0 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c4eb227b75e6de54d941270b681afd011bd3fd6 | 146 | py | Python | DS2/milestone1.py | saumi06/CS610-Project | 75cb3da4d7dfbe2ed5c810def232a9a4765a9f05 | [
"Apache-2.0"
] | null | null | null | DS2/milestone1.py | saumi06/CS610-Project | 75cb3da4d7dfbe2ed5c810def232a9a4765a9f05 | [
"Apache-2.0"
] | null | null | null | DS2/milestone1.py | saumi06/CS610-Project | 75cb3da4d7dfbe2ed5c810def232a9a4765a9f05 | [
"Apache-2.0"
] | null | null | null | import networkx as nx
import matplotlib.pyplot as plt
G=nx.read_edgelist('Wiki.csv', delimiter=',', create_using=nx.Graph())
print (nx.info(G)) | 36.5 | 71 | 0.739726 | 24 | 146 | 4.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 146 | 4 | 72 | 36.5 | 0.80916 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6c6f2e0bf55f02cae8ce47f810c2adff59b2dc8b | 254 | py | Python | winguhub/profile/forms.py | movicha/winguhub | 8a82615952db47bc332d5691b1ef6dea521b422c | [
"Apache-2.0"
] | null | null | null | winguhub/profile/forms.py | movicha/winguhub | 8a82615952db47bc332d5691b1ef6dea521b422c | [
"Apache-2.0"
] | null | null | null | winguhub/profile/forms.py | movicha/winguhub | 8a82615952db47bc332d5691b1ef6dea521b422c | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
from django import forms
from django.utils.translation import ugettext_lazy as _
class ProfileForm(forms.Form):
nickname = forms.CharField(max_length=64, required=False)
intro = forms.CharField(max_length=256, required=False)
| 28.222222 | 61 | 0.779528 | 35 | 254 | 5.542857 | 0.685714 | 0.103093 | 0.175258 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027149 | 0.129921 | 254 | 8 | 62 | 31.75 | 0.850679 | 0.059055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6c79335dbd179614f1bb5d2be7613a47ec4337ef | 483 | py | Python | recbole/model/sequential_recommender/myrec2.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | recbole/model/sequential_recommender/myrec2.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | recbole/model/sequential_recommender/myrec2.py | mengruwu/RecBole | 251fb3478a35b061a2a411d598e8c716b94133c1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/9/18 11:33
# @Author : Hui Wang
# @Email : hui.wang@ruc.edu.cn
"""
MyRec2
################################################
Reference: None
Reference: None
"""
import torch
import torch.nn.functional as F
from torch import nn
from recbole.model.sequential_recommender.sasr... | 17.25 | 62 | 0.592133 | 59 | 483 | 4.694915 | 0.677966 | 0.050542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0.186335 | 483 | 27 | 63 | 17.888889 | 0.666667 | 0.401656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
665b4c104f387c02048bca6e1dd0ed9d41092afc | 128 | py | Python | CorePythonProg/ch06/0609ex.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch06/0609ex.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch06/0609ex.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | 1 | 2022-01-25T15:51:34.000Z | 2022-01-25T15:51:34.000Z | #!/usr/bin/env python
str = raw_input('Enter a string like 03:30 >')
hm = str.split(":", 1)
print int(hm[0])*60 + int(hm[1])
| 18.285714 | 46 | 0.601563 | 25 | 128 | 3.04 | 0.8 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 0.164063 | 128 | 6 | 47 | 21.333333 | 0.626168 | 0.15625 | 0 | 0 | 0 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
665c15435c37c1b99a9d814e84088c5c7e112005 | 59 | py | Python | locale/pot/api/plotting/_autosummary/pyvista-Renderer-disable_shadows-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/plotting/_autosummary/pyvista-Plotter-disable_shadows-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/plotting/_autosummary/pyvista-Plotter-disable_shadows-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | import pyvista
pl = pyvista.Plotter()
pl.disable_shadows()
| 14.75 | 22 | 0.779661 | 8 | 59 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 3 | 23 | 19.666667 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
666778b809c1dcddbf35bca7e276e617f3b6b320 | 2,900 | py | Python | pydsstools/core/grid.py | alai-arpas/pydsstools | 1de47f6822e6b57528757920009591e21ecf5ba2 | [
"MIT"
] | 54 | 2018-02-08T20:07:48.000Z | 2022-03-07T02:03:37.000Z | pydsstools/core/grid.py | alai-arpas/pydsstools | 1de47f6822e6b57528757920009591e21ecf5ba2 | [
"MIT"
] | 38 | 2019-02-13T17:45:54.000Z | 2022-03-29T20:47:31.000Z | pydsstools/core/grid.py | alai-arpas/pydsstools | 1de47f6822e6b57528757920009591e21ecf5ba2 | [
"MIT"
] | 29 | 2018-09-20T18:08:29.000Z | 2022-03-29T17:48:38.000Z | import numpy as np
import numpy.ma as ma
from .._lib import SpatialGridStruct as SpatialGridStructBase
from .transform import TransformMethodsMixin, array_bounds
class SpatialGridStruct(SpatialGridStructBase,TransformMethodsMixin):
_accessors = set()
def __init__(self,*args,**kwargs):
super().__init__(... | 20.422535 | 88 | 0.622069 | 347 | 2,900 | 5.037464 | 0.340058 | 0.050343 | 0.088101 | 0.062929 | 0.141304 | 0.090961 | 0 | 0 | 0 | 0 | 0 | 0.000947 | 0.271379 | 2,900 | 141 | 89 | 20.567376 | 0.826313 | 0.094138 | 0 | 0.146667 | 0 | 0 | 0.054369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253333 | false | 0 | 0.053333 | 0.16 | 0.573333 | 0.013333 | 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 |
667a55fc56a423fab99f3258214fd18284473ec8 | 3,430 | py | Python | app/tests/unit/test_training_use_cases.py | bda-19fs/bda-chatbot | 4fcbda813ff5d3854a4c2e12413775676bcba9e2 | [
"MIT"
] | 1 | 2019-05-25T12:12:39.000Z | 2019-05-25T12:12:39.000Z | app/tests/unit/test_training_use_cases.py | bda-19fs/bda-chatbot | 4fcbda813ff5d3854a4c2e12413775676bcba9e2 | [
"MIT"
] | null | null | null | app/tests/unit/test_training_use_cases.py | bda-19fs/bda-chatbot | 4fcbda813ff5d3854a4c2e12413775676bcba9e2 | [
"MIT"
] | null | null | null | from bda_core.use_cases.training.model import (
create_language_model
)
concepts = [
'Dropbox acquired document collaboration company Hackpad in April 2014. A year later, Dropbox launched a Dropbox Notes note-taking product in beta testing phase. Dropbox Paper was officially announced on October 15, 2015, foll... | 110.645161 | 962 | 0.785131 | 562 | 3,430 | 4.741993 | 0.478648 | 0.063415 | 0.049906 | 0.040525 | 0.209006 | 0.164353 | 0.164353 | 0.129831 | 0.102814 | 0 | 0 | 0.02087 | 0.175802 | 3,430 | 30 | 963 | 114.333333 | 0.921825 | 0 | 0 | 0.2 | 0 | 0.28 | 0.703207 | 0 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
669d24ecb18666d9025fd82ba6425ccd096c8712 | 4,757 | py | Python | ydb/public/api/grpc/ydb_import_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 2 | 2022-02-18T16:18:52.000Z | 2022-02-19T20:15:05.000Z | ydb/public/api/grpc/ydb_import_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 1 | 2022-02-09T12:49:19.000Z | 2022-02-21T08:15:36.000Z | ydb/public/api/grpc/ydb_import_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 2 | 2022-02-03T14:58:56.000Z | 2022-02-22T19:42:59.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from ydb.public.api.protos import ydb_import_pb2 as ydb_dot_public_dot_api_dot_protos_dot_ydb__import__pb2
class ImportServiceStub(object):
"""Missing asso... | 45.740385 | 134 | 0.705066 | 508 | 4,757 | 6.175197 | 0.23622 | 0.054511 | 0.053554 | 0.062161 | 0.71087 | 0.696844 | 0.696844 | 0.646478 | 0.629264 | 0.592923 | 0 | 0.008977 | 0.227244 | 4,757 | 103 | 135 | 46.184466 | 0.844396 | 0.130965 | 0 | 0.444444 | 1 | 0 | 0.074542 | 0.04631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.458333 | 0.027778 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
66b26bbff285271835d23070c539bc4c53458a71 | 120 | py | Python | Mouse_pos.py | LeoniCristian/Python | 39172562419cfed5217c0ae247ff54c0a67533e9 | [
"MIT"
] | null | null | null | Mouse_pos.py | LeoniCristian/Python | 39172562419cfed5217c0ae247ff54c0a67533e9 | [
"MIT"
] | null | null | null | Mouse_pos.py | LeoniCristian/Python | 39172562419cfed5217c0ae247ff54c0a67533e9 | [
"MIT"
] | null | null | null | import time
import win32api, win32con
while True:
time.sleep(0.3)
pos = win32api.GetCursorPos()
print(pos) | 17.142857 | 33 | 0.691667 | 16 | 120 | 5.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0.208333 | 120 | 7 | 34 | 17.142857 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
dd1e34bdb751e338da8a4101105165af387d8f44 | 4,886 | py | Python | code/test_dssl.py | dashan-emr/dsslpy | 7e96be734bd8641ef0c51be21e72e60ba291e4ca | [
"Apache-2.0"
] | null | null | null | code/test_dssl.py | dashan-emr/dsslpy | 7e96be734bd8641ef0c51be21e72e60ba291e4ca | [
"Apache-2.0"
] | null | null | null | code/test_dssl.py | dashan-emr/dsslpy | 7e96be734bd8641ef0c51be21e72e60ba291e4ca | [
"Apache-2.0"
] | 1 | 2021-03-27T04:20:16.000Z | 2021-03-27T04:20:16.000Z | import numpy as np
from dssl import huber,DSSL
import unittest
class TestDSSL(unittest.TestCase):
def test_toy(self):
"""
Test the loss on a couple of toy examples
"""
l2_reg = 0.75
smoothness_reg = 0.0
h = 0.01
X = np.array([[1,2],
... | 29.433735 | 113 | 0.454564 | 641 | 4,886 | 3.330733 | 0.152886 | 0.113349 | 0.025293 | 0.078689 | 0.764403 | 0.75363 | 0.712881 | 0.664637 | 0.664637 | 0.664637 | 0 | 0.048227 | 0.422841 | 4,886 | 166 | 114 | 29.433735 | 0.708865 | 0.061195 | 0 | 0.637255 | 0 | 0 | 0.001796 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.039216 | false | 0 | 0.029412 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd2a71af07e91c74049cde4434dad0790aeeb1c8 | 150 | py | Python | perawatan/apps.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | null | null | null | perawatan/apps.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | null | null | null | perawatan/apps.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | 1 | 2021-07-28T23:19:27.000Z | 2021-07-28T23:19:27.000Z | from django.apps import AppConfig
class PerawatanConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'perawatan'
| 21.428571 | 56 | 0.766667 | 17 | 150 | 6.647059 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 6 | 57 | 25 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 0.193333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dd3390ce24c464fb65cb2e3d2f8c9890bfdeba4e | 111 | py | Python | Python/LoadTesting/PySSCM/setup.py | kmstumpff/Scripts | b01350b5f099fb7b18a0ed47b3a7a51eed96cb62 | [
"BSD-2-Clause"
] | 1 | 2016-01-31T05:41:20.000Z | 2016-01-31T05:41:20.000Z | Python/LoadTesting/PySSCM/setup.py | kmstumpff/Scripts | b01350b5f099fb7b18a0ed47b3a7a51eed96cb62 | [
"BSD-2-Clause"
] | null | null | null | Python/LoadTesting/PySSCM/setup.py | kmstumpff/Scripts | b01350b5f099fb7b18a0ed47b3a7a51eed96cb62 | [
"BSD-2-Clause"
] | null | null | null | from distutils.core import setup
setup(
name='PySSCM',
version='1.0',
py_modules=['PySSCM'],
)
| 15.857143 | 32 | 0.612613 | 14 | 111 | 4.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.225225 | 111 | 6 | 33 | 18.5 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd6297132cffd91eabec06303c11338de0ff3c76 | 101 | py | Python | headposeestimationapp/ConstManager.py | Atlas200dk/sample-headposeestimation-python | b90897638ce109de9df77a204e9b0cc4f5ff6ef1 | [
"BSD-3-Clause"
] | null | null | null | headposeestimationapp/ConstManager.py | Atlas200dk/sample-headposeestimation-python | b90897638ce109de9df77a204e9b0cc4f5ff6ef1 | [
"BSD-3-Clause"
] | null | null | null | headposeestimationapp/ConstManager.py | Atlas200dk/sample-headposeestimation-python | b90897638ce109de9df77a204e9b0cc4f5ff6ef1 | [
"BSD-3-Clause"
] | null | null | null | face_detection_model_path = './face_detection.om'
head_pose_model_path = './head_pose_estimation.om'
| 33.666667 | 50 | 0.821782 | 15 | 101 | 4.933333 | 0.533333 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 101 | 2 | 51 | 50.5 | 0.778947 | 0 | 0 | 0 | 0 | 0 | 0.435644 | 0.247525 | 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 |
dd741a6c57676200f6373072d936fc4175f0b5b7 | 111 | py | Python | cs133-python/notes/ch2.py | clmay/school | a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6 | [
"MIT"
] | null | null | null | cs133-python/notes/ch2.py | clmay/school | a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6 | [
"MIT"
] | null | null | null | cs133-python/notes/ch2.py | clmay/school | a4780ca6f517614ab5a5d9a44d0c6d8bc00783b6 | [
"MIT"
] | 1 | 2019-12-26T20:32:31.000Z | 2019-12-26T20:32:31.000Z | width = float(input("Width: "))
height = float(input("Height: "))
area = width * height
print("Area: ",area)
| 15.857143 | 33 | 0.630631 | 14 | 111 | 5 | 0.428571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 6 | 34 | 18.5 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
dd767598037f3abebed3e3649c6cc3c26906e7f7 | 80 | py | Python | basic/string.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | 2 | 2018-01-20T03:38:58.000Z | 2019-07-21T11:33:24.000Z | basic/string.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | null | null | null | basic/string.py | LaurenceYang/learn-python | 819994039abd3af298f73b1a73976eaa95071096 | [
"Apache-2.0"
] | null | null | null | s = '我的名字叫Bob'
print(s)
b = s.encode('utf-8')
print(b)
print(b.decode('utf-8'))
| 13.333333 | 24 | 0.6125 | 16 | 80 | 3.0625 | 0.5 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.1125 | 80 | 5 | 25 | 16 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 |
dd7f1b1c780e9648c123833542c2d7622509a8e1 | 118 | py | Python | Python-programs/inverted_pattern.py | manavbansalcoder/Hacktoberfest2021 | ba20770f070bf9c0b02a8fe2bcbeb72cd559e428 | [
"CC0-1.0"
] | null | null | null | Python-programs/inverted_pattern.py | manavbansalcoder/Hacktoberfest2021 | ba20770f070bf9c0b02a8fe2bcbeb72cd559e428 | [
"CC0-1.0"
] | null | null | null | Python-programs/inverted_pattern.py | manavbansalcoder/Hacktoberfest2021 | ba20770f070bf9c0b02a8fe2bcbeb72cd559e428 | [
"CC0-1.0"
] | null | null | null | rows = 5
num = rows
for i in range(rows, 0, -1):
for j in range(0, i):
print(num, end=' ')
print("\r") | 19.666667 | 28 | 0.5 | 22 | 118 | 2.681818 | 0.590909 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.305085 | 118 | 6 | 29 | 19.666667 | 0.670732 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06d8ad75c55707eb80c2ec8bf5aa005b1365fcee | 356 | py | Python | lib_ddos_simulator/old/api/tests/conftest.py | jfuruness/lib_ddos_simulator | 2d860fd3f35f4c25262f5269251eed89975f95e8 | [
"BSD-4-Clause"
] | 1 | 2020-04-01T22:42:36.000Z | 2020-04-01T22:42:36.000Z | lib_ddos_simulator/old/api/tests/conftest.py | jfuruness/lib_ddos_simulator | 2d860fd3f35f4c25262f5269251eed89975f95e8 | [
"BSD-4-Clause"
] | null | null | null | lib_ddos_simulator/old/api/tests/conftest.py | jfuruness/lib_ddos_simulator | 2d860fd3f35f4c25262f5269251eed89975f95e8 | [
"BSD-4-Clause"
] | 1 | 2020-02-16T17:55:46.000Z | 2020-02-16T17:55:46.000Z | import pytest
from ..api import create_app
@pytest.fixture(scope="package")
def app():
"""Create and configure a new app instance for each test."""
# create the app with common test config
app = create_app()
yield app
@pytest.fixture(scope="package")
def client(app):
"""A test client for the a... | 18.736842 | 64 | 0.674157 | 52 | 356 | 4.557692 | 0.480769 | 0.075949 | 0.135021 | 0.177215 | 0.261603 | 0.261603 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205056 | 356 | 18 | 65 | 19.777778 | 0.837456 | 0.339888 | 0 | 0.222222 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
06eb7fd28be6cd0f8b165906cfb2ec9b2155a762 | 289 | py | Python | opentimesheet/profiles/api/permissions.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | null | null | null | opentimesheet/profiles/api/permissions.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | 95 | 2021-02-20T21:53:29.000Z | 2022-01-14T17:24:50.000Z | opentimesheet/profiles/api/permissions.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | null | null | null | from rest_framework import permissions
class HasProfilePermission(permissions.BasePermission):
"""
Global permission check for user with a profile.
"""
def has_permission(self, request, view):
return request.user is not None and hasattr(request.user, "profile")
| 26.272727 | 76 | 0.730104 | 34 | 289 | 6.147059 | 0.794118 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190311 | 289 | 10 | 77 | 28.9 | 0.893162 | 0.16609 | 0 | 0 | 0 | 0 | 0.031111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
06f0bdcd22477d3b3c18bf83a76b606d03e4ac25 | 860 | py | Python | tests/test_FileReader.py | nvaldeziii/netmon | 3a61a206ab4d071c3c4853694d960d0e8d671336 | [
"Apache-2.0"
] | null | null | null | tests/test_FileReader.py | nvaldeziii/netmon | 3a61a206ab4d071c3c4853694d960d0e8d671336 | [
"Apache-2.0"
] | null | null | null | tests/test_FileReader.py | nvaldeziii/netmon | 3a61a206ab4d071c3c4853694d960d0e8d671336 | [
"Apache-2.0"
] | null | null | null | import unittest
import sys
sys.path.insert(0,'..')
from netmon.netmon import FileReader
class TestFileReader(unittest.TestCase):
def setUp(self):
self.FileReader = FileReader('ipaddress_test.json')
def test_Read(self):
self.assertEqual("{},{}".format(self.FileReader.Lines[0].name,self.FileRea... | 39.090909 | 123 | 0.67907 | 122 | 860 | 4.696721 | 0.319672 | 0.244328 | 0.298429 | 0.17452 | 0.279232 | 0.279232 | 0 | 0 | 0 | 0 | 0 | 0.064474 | 0.116279 | 860 | 21 | 124 | 40.952381 | 0.689474 | 0 | 0 | 0 | 0 | 0 | 0.143023 | 0.024419 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.1875 | false | 0 | 0.1875 | 0 | 0.4375 | 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 |
6617795010bd2b401def1627aaa0423243935161 | 279 | py | Python | output/models/nist_data/atomic/date_time/schema_instance/nistschema_sv_iv_atomic_date_time_min_inclusive_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/date_time/schema_instance/nistschema_sv_iv_atomic_date_time_min_inclusive_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/date_time/schema_instance/nistschema_sv_iv_atomic_date_time_min_inclusive_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.date_time.schema_instance.nistschema_sv_iv_atomic_date_time_min_inclusive_1_xsd.nistschema_sv_iv_atomic_date_time_min_inclusive_1 import NistschemaSvIvAtomicDateTimeMinInclusive1
__all__ = [
"NistschemaSvIvAtomicDateTimeMinInclusive1",
]
| 46.5 | 214 | 0.903226 | 33 | 279 | 6.909091 | 0.606061 | 0.131579 | 0.184211 | 0.175439 | 0.359649 | 0.359649 | 0.359649 | 0.359649 | 0.359649 | 0 | 0 | 0.015094 | 0.050179 | 279 | 5 | 215 | 55.8 | 0.845283 | 0 | 0 | 0 | 0 | 0 | 0.146953 | 0.146953 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6622712caf5d4556bec92ec7e191c8c391bebe92 | 61 | py | Python | src/zinc/formats.py | mindsnacks/Zinc | a5f39ca4c4a4894f265f1f2b61d6ea53b8db01f8 | [
"MIT"
] | 7 | 2015-01-09T07:15:18.000Z | 2022-03-24T14:27:45.000Z | src/zinc/formats.py | amrox/Zinc | 699c81ff39549647139b6f8e1eb84566f97cf033 | [
"MIT"
] | 5 | 2018-09-04T22:56:38.000Z | 2021-09-01T13:11:23.000Z | src/zinc/formats.py | amrox/Zinc | 699c81ff39549647139b6f8e1eb84566f97cf033 | [
"MIT"
] | 1 | 2015-09-22T13:48:25.000Z | 2015-09-22T13:48:25.000Z |
from .utils import enum
Formats = enum(RAW='raw', GZ='gz')
| 12.2 | 34 | 0.655738 | 10 | 61 | 4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 4 | 35 | 15.25 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 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 |
665187eaad0e0716239e275855d59dfc93965e06 | 3,190 | py | Python | WorldTimeAPI/schemas.py | Dulatr/WorldTimeAPI | bdc4018f461120a056c813511a9144c76e1410d9 | [
"MIT"
] | null | null | null | WorldTimeAPI/schemas.py | Dulatr/WorldTimeAPI | bdc4018f461120a056c813511a9144c76e1410d9 | [
"MIT"
] | 3 | 2020-05-29T23:06:24.000Z | 2020-05-31T22:13:35.000Z | WorldTimeAPI/schemas.py | Dulatr/WorldTimeAPI | bdc4018f461120a056c813511a9144c76e1410d9 | [
"MIT"
] | null | null | null | """
A collection of JSON response schemes from http://Worldtimeapi.org
"""
class JsonScheme:
"""
Base JSON response scheme class.
Use children instead.
"""
def __init__(self,**jsonObj):
self._data = {}
for key,item in jsonObj.items():
if isinstance(self,DateTimeJson):
... | 27.264957 | 207 | 0.587774 | 358 | 3,190 | 5.02514 | 0.259777 | 0.093385 | 0.132296 | 0.110061 | 0.1801 | 0.060033 | 0.060033 | 0.060033 | 0.060033 | 0.060033 | 0 | 0 | 0.294671 | 3,190 | 116 | 208 | 27.5 | 0.799556 | 0.170846 | 0 | 0.315068 | 0 | 0 | 0.158375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30137 | false | 0.013699 | 0 | 0.150685 | 0.60274 | 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 |
b07a689ea95e7d66cb75d5bda23a04c3b3a9fc9c | 699 | py | Python | src/pypianoroll/__init__.py | salu133445/lakh-pianoroll-dataset | a8a8582254ff5f3225e792fa1ba1f939f0423080 | [
"MIT"
] | 59 | 2018-05-03T17:17:26.000Z | 2022-03-21T09:54:07.000Z | src/pypianoroll/__init__.py | salu133445/lakh-pianoroll-dataset | a8a8582254ff5f3225e792fa1ba1f939f0423080 | [
"MIT"
] | 4 | 2018-04-25T13:15:23.000Z | 2021-01-24T11:16:50.000Z | src/pypianoroll/__init__.py | salu133445/lakh-pianoroll-dataset | a8a8582254ff5f3225e792fa1ba1f939f0423080 | [
"MIT"
] | 8 | 2019-05-15T00:46:10.000Z | 2022-03-28T11:07:14.000Z | """
Pypianoroll
===========
A python package for handling multi-track piano-rolls.
Features
--------
- handle piano-rolls of multiple tracks with metadata
- utilities for manipulating piano-rolls
- save to and load from .npz files using efficient sparse matrix format
- parse from and write to MIDI files
"""
from pypi... | 31.772727 | 71 | 0.779685 | 93 | 699 | 5.709677 | 0.55914 | 0.141243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13877 | 699 | 21 | 72 | 33.285714 | 0.88206 | 0.430615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 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 |
b09112d89a508b70beafcfc9040267c44c2748cd | 590 | py | Python | model/test/nhl/common_test_functions.py | evjrob/bayes-bet | c3f0e6b9e828478e0ca4031c5848a3bee24910b2 | [
"MIT"
] | 3 | 2021-01-26T18:04:07.000Z | 2022-03-14T22:09:37.000Z | model/test/nhl/common_test_functions.py | shuyi1981/bayes-bet | 4f0715d31e726e8f6f4363dc9743f48fbb330b1d | [
"MIT"
] | 10 | 2019-12-24T18:54:28.000Z | 2021-09-28T04:47:45.000Z | model/test/nhl/common_test_functions.py | shuyi1981/bayes-bet | 4f0715d31e726e8f6f4363dc9743f48fbb330b1d | [
"MIT"
] | 1 | 2021-08-18T09:05:52.000Z | 2021-08-18T09:05:52.000Z | import numpy as np
import pytest
def compare_mv_num_dict(d1, d2):
assert d1['i'] == d2['i'], "The numeric model vars 'i' does not match!"
assert d1['h'] == d2['h'], "The numeric model vars 'h' does not match!"
assert np.all(d1['o'][0] == d2['o'][0]), "The numeric model vars 'o'[0] does not match!"
asse... | 59 | 92 | 0.591525 | 111 | 590 | 3.117117 | 0.243243 | 0.17341 | 0.260116 | 0.32948 | 0.549133 | 0.306358 | 0.306358 | 0.306358 | 0 | 0 | 0 | 0.053608 | 0.177966 | 590 | 10 | 93 | 59 | 0.659794 | 0 | 0 | 0 | 0 | 0 | 0.467005 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b09253a7bf34093bd337675fd2a5fd9eca59ed74 | 581 | py | Python | tests/manual_checks/least_squares.py | dylanagreen/Arraymancer | e99d9d95108395406100eeed1e99f01ebe38501d | [
"Apache-2.0"
] | 1,015 | 2017-04-27T12:47:39.000Z | 2022-03-27T17:42:55.000Z | tests/manual_checks/least_squares.py | dylanagreen/Arraymancer | e99d9d95108395406100eeed1e99f01ebe38501d | [
"Apache-2.0"
] | 432 | 2017-04-15T08:00:02.000Z | 2022-03-27T15:34:36.000Z | tests/manual_checks/least_squares.py | dylanagreen/Arraymancer | e99d9d95108395406100eeed1e99f01ebe38501d | [
"Apache-2.0"
] | 108 | 2017-09-14T13:30:06.000Z | 2022-02-14T05:49:12.000Z | import numpy as np
a = np.array([
[ 0.12, -8.19, 7.69, -2.26, -4.71],
[-6.91, 2.22, -5.12, -9.08, 9.96],
[-3.33, -8.94, -6.72, -4.40, -9.98],
[ 3.97, 3.33, -2.74, -7.92, -3.20]
])
b = np.array([
[ 7.30, 0.47, -6.28],
[ 1.33, 6.58, -3.42],
[ 2.68, -1.71, 3.46],
... | 18.741935 | 46 | 0.390706 | 116 | 581 | 1.956897 | 0.474138 | 0.123348 | 0.070485 | 0.140969 | 0.14978 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247113 | 0.254733 | 581 | 30 | 47 | 19.366667 | 0.277136 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b09c7c47a5730303be1133830f7c920b291a1cb3 | 61 | py | Python | src/settings.py | KUTuaNithid/connect4Nithid | e96d94dcd162f6dbde0cb041af1cf3277e2a6437 | [
"MIT"
] | 41 | 2018-07-14T10:05:04.000Z | 2022-03-14T20:41:21.000Z | src/settings.py | KUTuaNithid/connect4Nithid | e96d94dcd162f6dbde0cb041af1cf3277e2a6437 | [
"MIT"
] | 14 | 2019-07-22T23:28:46.000Z | 2022-03-11T23:28:30.000Z | src/settings.py | KUTuaNithid/connect4Nithid | e96d94dcd162f6dbde0cb041af1cf3277e2a6437 | [
"MIT"
] | 3 | 2019-12-05T16:12:15.000Z | 2021-04-06T01:37:48.000Z | import os
cwd = os.getcwd()
charts_folder = cwd + "/charts/"
| 15.25 | 32 | 0.672131 | 9 | 61 | 4.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 3 | 33 | 20.333333 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 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 |
b0b02c91d52c9cae6448fa4d344ea80da92121e8 | 698 | py | Python | rlgym/utils/state_setters/state_setter.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | null | null | null | rlgym/utils/state_setters/state_setter.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | null | null | null | rlgym/utils/state_setters/state_setter.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | 1 | 2021-04-06T22:09:30.000Z | 2021-04-06T22:09:30.000Z | """
Base state setter class.
"""
from abc import ABC, abstractmethod
from rlgym.utils.state_setters.wrappers.state_wrapper import StateWrapper
class StateSetter(ABC):
def __init__(self):
pass
@abstractmethod
def reset(self, state_wrapper: StateWrapper):
"""
Function to be called ... | 29.083333 | 111 | 0.710602 | 89 | 698 | 5.483146 | 0.58427 | 0.07377 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001873 | 0.234957 | 698 | 23 | 112 | 30.347826 | 0.911985 | 0.507163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0 | 0.625 | 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 |
b0cace2d13a46e321951fdf77d39fa4a211d4d58 | 394 | py | Python | concourse/steps/component_descriptor_util.py | jkrayl/cc-utils | f006650b6093e6cddc08906905e642d86962cb39 | [
"Apache-2.0"
] | null | null | null | concourse/steps/component_descriptor_util.py | jkrayl/cc-utils | f006650b6093e6cddc08906905e642d86962cb39 | [
"Apache-2.0"
] | null | null | null | concourse/steps/component_descriptor_util.py | jkrayl/cc-utils | f006650b6093e6cddc08906905e642d86962cb39 | [
"Apache-2.0"
] | null | null | null | import ci.util
import os
import product.model
def parse_component_descriptor():
component_descriptor_file = os.path.join(
ci.util.check_env('COMPONENT_DESCRIPTOR_DIR'),
'component_descriptor'
)
component_descriptor = product.model.ComponentDescriptor.from_dict(
raw_dict=ci.util.parse_y... | 23.176471 | 71 | 0.763959 | 47 | 394 | 6.06383 | 0.468085 | 0.466667 | 0.196491 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159898 | 394 | 16 | 72 | 24.625 | 0.861027 | 0 | 0 | 0 | 0 | 0 | 0.111675 | 0.060914 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.25 | 0 | 0.416667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.