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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbdd687eef6b858d09d932438c72165f8801d4cf | 3,784 | py | Python | tests/acceptance/scenarios/test_multi_reg_file_CRUD.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 2 | 2017-09-15T10:38:56.000Z | 2017-09-20T12:48:55.000Z | tests/acceptance/scenarios/test_multi_reg_file_CRUD.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 31 | 2016-09-07T11:50:15.000Z | 2017-10-31T11:47:50.000Z | tests/acceptance/scenarios/test_multi_reg_file_CRUD.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 1 | 2017-08-31T11:55:09.000Z | 2017-08-31T11:55:09.000Z | """Test suite for CRUD operations on regular files in onedata,
in multi-client environment.
"""
__author__ = "Jakub Kudzia"
__copyright__ = "Copyright (C) 2015 ACK CYFRONET AGH"
__license__ = "This software is released under the MIT license cited in " \
"LICENSE.txt"
from tests.acceptance.steps.env_step... | 25.226667 | 89 | 0.79334 | 543 | 3,784 | 5.237569 | 0.186004 | 0.061533 | 0.158228 | 0.19339 | 0.657173 | 0.591421 | 0.45429 | 0.251758 | 0.160338 | 0.089311 | 0 | 0.001839 | 0.137685 | 3,784 | 149 | 90 | 25.395973 | 0.869752 | 0.023256 | 0 | 0.280899 | 0 | 0 | 0.343275 | 0.010575 | 0 | 0 | 0 | 0 | 0 | 1 | 0.280899 | false | 0.280899 | 0.089888 | 0 | 0.370787 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1db794ff88651eb6bb220314b57e0dcaeda3ee72 | 2,585 | py | Python | concept_extractor/extractor.py | fossabot/grafit | c7328cc7ed4d37d36fc735944aa8763fad090d97 | [
"MIT"
] | null | null | null | concept_extractor/extractor.py | fossabot/grafit | c7328cc7ed4d37d36fc735944aa8763fad090d97 | [
"MIT"
] | null | null | null | concept_extractor/extractor.py | fossabot/grafit | c7328cc7ed4d37d36fc735944aa8763fad090d97 | [
"MIT"
] | null | null | null | import abc
import csv
from textblob import TextBlob as tb
import math
from pkg_resources import resource_string
class ExtractStrategyAbstract(object):
"""Abstract strategy class for the extract method."""
__metaclass__ = abc.ABCMeta # define as absctract class
@abc.abstractmethod
def extract_keyphr... | 34.932432 | 643 | 0.672727 | 337 | 2,585 | 5.04451 | 0.436202 | 0.04 | 0.035294 | 0.042353 | 0.054706 | 0.054706 | 0 | 0 | 0 | 0 | 0 | 0.008056 | 0.231721 | 2,585 | 73 | 644 | 35.410959 | 0.847936 | 0.034816 | 0 | 0.041667 | 0 | 0.020833 | 0.263688 | 0.010064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.104167 | 0.104167 | 0.541667 | 0.020833 | 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 |
1de1df185f90238cd6562842d5883bc5d30d4e19 | 190 | py | Python | exercicios/ex 011 a 020/ex013.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | exercicios/ex 011 a 020/ex013.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | exercicios/ex 011 a 020/ex013.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | print('Vamos te dar um aumento salarial meu garoto')
n1 = float(input('Digite o valor do seu salário atual: R$ '))
print('Seu novo salário com reajuste de 15% é: R$ {:.2f}'.format(n1*1.15))
| 47.5 | 74 | 0.694737 | 35 | 190 | 3.771429 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.152632 | 190 | 3 | 75 | 63.333333 | 0.770186 | 0 | 0 | 0 | 0 | 0 | 0.694737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1deb5f9770276a375db9a740d905b74a6432f742 | 65 | py | Python | deployman/test_manifests.py | alexvnilsson/deployman | 293e253412cb0b313b76644c9d2286af24e68554 | [
"MIT"
] | null | null | null | deployman/test_manifests.py | alexvnilsson/deployman | 293e253412cb0b313b76644c9d2286af24e68554 | [
"MIT"
] | 3 | 2020-03-28T08:35:18.000Z | 2020-03-29T18:43:08.000Z | deployman/test_manifests.py | alexvnilsson/deployman | 293e253412cb0b313b76644c9d2286af24e68554 | [
"MIT"
] | null | null | null | import manifests
m = manifests.read("deploy.yml")
print(m.name) | 13 | 32 | 0.738462 | 10 | 65 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 5 | 33 | 13 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1dff807644cb75fc826024bade4b5fc5190e03e8 | 693 | py | Python | python/sample_amazon/eduactive-crack-amazon/print_braces.py | FriendlyUser/code-algorithm-questions | 3556df0093c5ca268d04819e79984bebdc6ac4fd | [
"MIT"
] | null | null | null | python/sample_amazon/eduactive-crack-amazon/print_braces.py | FriendlyUser/code-algorithm-questions | 3556df0093c5ca268d04819e79984bebdc6ac4fd | [
"MIT"
] | 3 | 2019-12-31T04:07:42.000Z | 2020-03-09T13:55:16.000Z | python/sample_amazon/eduactive-crack-amazon/print_braces.py | FriendlyUser/code-algorithm-questions | 3556df0093c5ca268d04819e79984bebdc6ac4fd | [
"MIT"
] | null | null | null | import copy
def print_all_braces(n):
# TODO: Write - Your - Code
output = []
result = []
print_all_braces_rec(n, 0, 0, output, result)
return result
def print_all_braces_rec(n, left_count, right_count, output, result):
if left_count >= n and right_count >= n:
result.append(copy.copy(... | 24.75 | 76 | 0.623377 | 97 | 693 | 4.185567 | 0.247423 | 0.155172 | 0.172414 | 0.167488 | 0.524631 | 0.480296 | 0.480296 | 0.480296 | 0.384236 | 0.20197 | 0 | 0.007828 | 0.262626 | 693 | 27 | 77 | 25.666667 | 0.786693 | 0.036075 | 0 | 0.315789 | 0 | 0 | 0.003003 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0.263158 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
380671d306ce917975acdbffe7a63030416e6ea5 | 276 | py | Python | models/locomchatlogsresponse.py | jujinesy/Empier_PythonKakaoBot | 80d2951955002b1a0b5d77b5c2830bc8def63ea3 | [
"MIT"
] | 3 | 2017-03-30T15:20:18.000Z | 2018-01-04T12:46:05.000Z | models/locomchatlogsresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 1 | 2020-08-06T08:13:22.000Z | 2020-08-06T08:13:22.000Z | models/locomchatlogsresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 5 | 2020-08-06T08:18:02.000Z | 2021-02-28T03:59:45.000Z | # -*- coding: utf-8 -*-
from locoresponse import LocoResponse
from locochatlog import *
class LocoMChatLogsResponse(LocoResponse):
def chat_logs(self):
return map(LocoChatLog, self._data["chatLogs"])
def eof(self):
return self._data["eof"]
| 21.230769 | 55 | 0.666667 | 30 | 276 | 6.033333 | 0.6 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.217391 | 276 | 12 | 56 | 23 | 0.833333 | 0.076087 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 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 |
3838f34bb91f155bc3d85e8aa7228a6c31703e97 | 9,846 | py | Python | tests/test_pipelines.py | bow/pytest-pipeline | 8d155ac3d82614a1459851835eea234e3a4bf996 | [
"BSD-3-Clause"
] | 20 | 2015-05-13T13:13:25.000Z | 2021-04-08T19:56:11.000Z | tests/test_pipelines.py | bow/pytest-pipeline | 8d155ac3d82614a1459851835eea234e3a4bf996 | [
"BSD-3-Clause"
] | 5 | 2016-06-09T21:45:27.000Z | 2020-05-18T16:28:06.000Z | tests/test_pipelines.py | bow/pytest-pipeline | 8d155ac3d82614a1459851835eea234e3a4bf996 | [
"BSD-3-Clause"
] | 2 | 2019-06-12T09:01:31.000Z | 2020-05-14T03:27:21.000Z | # -*- coding: utf-8 -*-
"""
plugin tests
~~~~~~~~~~~~
"""
# (c) 2014-2020 Wibowo Arindrarto <bow@bow.web.id>
import glob
import os
import sys
import pytest
pytest_plugins = "pytester"
MOCK_PIPELINE = """
#!/usr/bin/env python
if __name__ == "__main__":
import os
import sys
OUT_DIR = "output... | 20.948936 | 79 | 0.663823 | 1,230 | 9,846 | 5.15935 | 0.113821 | 0.036874 | 0.024582 | 0.031201 | 0.765994 | 0.732587 | 0.690986 | 0.663568 | 0.645919 | 0.645919 | 0 | 0.008267 | 0.201402 | 9,846 | 469 | 80 | 20.993603 | 0.798805 | 0.042048 | 0 | 0.668942 | 0 | 0.003413 | 0.588857 | 0.245597 | 0 | 0 | 0 | 0 | 0.174061 | 1 | 0.037543 | false | 0.054608 | 0.109215 | 0 | 0.156997 | 0.003413 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
69a297bb23b067ad96476ffd2781ef80cbefea2a | 92 | py | Python | profiles/__init__.py | nivbend/memoir | c7239ae9db852f8e14ed53a2ba96d4c72eb47f30 | [
"MIT"
] | null | null | null | profiles/__init__.py | nivbend/memoir | c7239ae9db852f8e14ed53a2ba96d4c72eb47f30 | [
"MIT"
] | 18 | 2016-08-26T21:26:58.000Z | 2017-03-21T20:14:35.000Z | profiles/__init__.py | nivbend/memoir | c7239ae9db852f8e14ed53a2ba96d4c72eb47f30 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
default_app_config = 'profiles.apps.ProfilesConfig'
| 30.666667 | 51 | 0.869565 | 11 | 92 | 6.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 2 | 52 | 46 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0.304348 | 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 |
69ae05676009a59d1d72dd6a5eba1ed9684761f7 | 325 | py | Python | p1_basic/day32_35thread/day35/09_基于yield实现协程.py | dong-pro/fullStackPython | 5ad8662f7b57f14c8529e7eaf64290eeda773557 | [
"Apache-2.0"
] | 1 | 2020-04-03T01:32:05.000Z | 2020-04-03T01:32:05.000Z | p1_basic/day32_35thread/day35/09_基于yield实现协程.py | dong-pro/fullStackPython | 5ad8662f7b57f14c8529e7eaf64290eeda773557 | [
"Apache-2.0"
] | null | null | null | p1_basic/day32_35thread/day35/09_基于yield实现协程.py | dong-pro/fullStackPython | 5ad8662f7b57f14c8529e7eaf64290eeda773557 | [
"Apache-2.0"
] | null | null | null | def f1():
print(11)
yield
print(22)
yield
print(33)
def f2():
print(55)
yield
print(66)
yield
print(77)
v1 = f1()
v2 = f2()
next(v1) # v1.send(None)
next(v2) # v1.send(None)
next(v1) # v1.send(None)
next(v2) # v1.send(None)
next(v1) # v1.send(None)
next(v2) # v1.send(N... | 12.5 | 25 | 0.541538 | 54 | 325 | 3.259259 | 0.296296 | 0.204545 | 0.340909 | 0.397727 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0 | 0.127119 | 0.273846 | 325 | 25 | 26 | 13 | 0.618644 | 0.255385 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.3 | 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 |
69b2ad3882e3e0a205b272174bdc854f45102d16 | 3,066 | py | Python | sahara-10.0.0/sahara/plugins/edp.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 161 | 2015-01-05T11:46:42.000Z | 2022-01-05T07:41:39.000Z | sahara-10.0.0/sahara/plugins/edp.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | sahara-10.0.0/sahara/plugins/edp.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 118 | 2015-01-29T06:34:35.000Z | 2021-12-06T07:30:09.000Z | # Copyright (c) 2018 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 31.608247 | 70 | 0.794521 | 429 | 3,066 | 5.321678 | 0.307692 | 0.073587 | 0.043802 | 0.052562 | 0.297854 | 0.196233 | 0.080596 | 0.028033 | 0 | 0 | 0 | 0.003722 | 0.123614 | 3,066 | 96 | 71 | 31.9375 | 0.845925 | 0.180365 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0 | 0.142857 | 0.122449 | 0.632653 | 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 |
69d16df046e40ecb10a5090cc9dc48a758654c81 | 4,890 | py | Python | te/TE_CLASS.py | priyadarshitathagat/te-ns | 8ef414a0eafe59b6ec4521ec3c31df8d964acc98 | [
"BSD-2-Clause"
] | 43 | 2020-11-12T12:54:53.000Z | 2022-03-22T20:11:02.000Z | te/TE_CLASS.py | priyadarshitathagat/te-ns | 8ef414a0eafe59b6ec4521ec3c31df8d964acc98 | [
"BSD-2-Clause"
] | 30 | 2020-11-12T12:44:08.000Z | 2022-03-24T08:53:32.000Z | te/TE_CLASS.py | priyadarshitathagat/te-ns | 8ef414a0eafe59b6ec4521ec3c31df8d964acc98 | [
"BSD-2-Clause"
] | 4 | 2021-05-10T11:34:01.000Z | 2021-12-06T21:54:46.000Z | #**********************************************************************************************
# Traffic Emulator for Network Services
# Copyright 2020 VMware, Inc
# The BSD-2 license (the "License") set forth below applies to all parts of
# the Traffic Emulator for Network Services project. You may not use this file
... | 40.75 | 95 | 0.683027 | 621 | 4,890 | 5.003221 | 0.281804 | 0.025105 | 0.058577 | 0.03476 | 0.20663 | 0.084648 | 0.084648 | 0.043772 | 0.043772 | 0.043772 | 0 | 0.001575 | 0.221063 | 4,890 | 119 | 96 | 41.092437 | 0.814124 | 0.34908 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0.013333 | 0.173333 | 0.613333 | 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 |
69d743022b32e99726ffd94b063eb828960c688d | 1,133 | py | Python | scrappers/plugins/cbsnews/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | 2 | 2016-01-10T08:45:29.000Z | 2019-10-25T06:53:39.000Z | scrappers/plugins/cbsnews/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | 3 | 2016-01-07T15:43:40.000Z | 2016-01-09T14:44:08.000Z | scrappers/plugins/cbsnews/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | null | null | null | import scrappers
import re
import scrappers.mixins
class CBSNews(scrappers.mixins.RSSScrapper, scrappers.Scrapper):
"""The CBS News RSS feeds scrapper.
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def should_translate(self):
return False
def encodin... | 34.333333 | 94 | 0.595763 | 141 | 1,133 | 4.695035 | 0.468085 | 0.05287 | 0.075529 | 0.128399 | 0.219033 | 0.219033 | 0.219033 | 0 | 0 | 0 | 0 | 0.001148 | 0.231244 | 1,133 | 32 | 95 | 35.40625 | 0.758898 | 0.105914 | 0 | 0 | 0 | 0 | 0.319672 | 0.025615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0.157895 | 0.684211 | 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 |
69eac15792b39daeec4f4b6159de2c71565e5027 | 133 | py | Python | ips/coordinator/urls.py | marklit/mass-ipv4-whois | 5dfcda0336a43f7b354e0d321053834320799f33 | [
"MIT"
] | 20 | 2016-05-03T11:41:38.000Z | 2021-06-22T18:19:52.000Z | ips/coordinator/urls.py | slachiewicz/mass-ipv4-whois | 5dfcda0336a43f7b354e0d321053834320799f33 | [
"MIT"
] | null | null | null | ips/coordinator/urls.py | slachiewicz/mass-ipv4-whois | 5dfcda0336a43f7b354e0d321053834320799f33 | [
"MIT"
] | 8 | 2016-05-16T07:29:12.000Z | 2019-09-09T10:13:32.000Z | from django.conf.urls import url
from coordinator.views import get_ips
urlpatterns = [
url(r'^$', get_ips, name='get_ips'),
]
| 14.777778 | 40 | 0.699248 | 20 | 133 | 4.5 | 0.65 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 8 | 41 | 16.625 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0e0646746fb9128edc406cc02ed9ca93f9eebd58 | 145 | py | Python | mods/libvis_mods/project-templates/test.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | mods/libvis_mods/project-templates/test.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | 3 | 2019-11-24T21:03:39.000Z | 2019-12-08T04:58:07.000Z | mods/libvis_mods/project-templates/test.py | DaniloZZZ/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | from cookiecutter.main import cookiecutter
def main():
cookiecutter('source-files')#, no_input=True)
if __name__ == '__main__':
main()
| 18.125 | 49 | 0.703448 | 17 | 145 | 5.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158621 | 145 | 7 | 50 | 20.714286 | 0.762295 | 0.110345 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0e0f0358e234d6a919a0d69b261d793456844398 | 714 | py | Python | src/woolgatherer/db_models/feedback.py | dojoteef/storium-frontend | fe1f1ebb7d26787dfdba4788260496b84e34f39c | [
"BSD-3-Clause"
] | 3 | 2020-11-26T16:39:21.000Z | 2022-02-03T17:14:09.000Z | src/woolgatherer/db_models/feedback.py | dojoteef/storium-frontend | fe1f1ebb7d26787dfdba4788260496b84e34f39c | [
"BSD-3-Clause"
] | 1 | 2020-11-06T15:49:47.000Z | 2020-11-06T15:49:47.000Z | src/woolgatherer/db_models/feedback.py | dojoteef/storium-frontend | fe1f1ebb7d26787dfdba4788260496b84e34f39c | [
"BSD-3-Clause"
] | null | null | null | """
Feedback database model
"""
from uuid import UUID
# pylint incorrectly complains about unused import for UniqueConstraint... not sure why
from sqlalchemy.schema import ( # pylint:disable=unused-import
ForeignKey,
UniqueConstraint,
)
from pydantic import Field
from woolgatherer.db_models.base import DBBas... | 26.444444 | 87 | 0.721289 | 80 | 714 | 6.3875 | 0.5375 | 0.046967 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172269 | 714 | 26 | 88 | 27.461538 | 0.864636 | 0.2493 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0e13980ad4a0df24c94e3a994a78892f3f1ec2f3 | 1,172 | py | Python | okta_uuid.py | tmehlinger/okta-uuid | ccccf65dac55bafa475386d34d36f67148d63d63 | [
"MIT"
] | null | null | null | okta_uuid.py | tmehlinger/okta-uuid | ccccf65dac55bafa475386d34d36f67148d63d63 | [
"MIT"
] | null | null | null | okta_uuid.py | tmehlinger/okta-uuid | ccccf65dac55bafa475386d34d36f67148d63d63 | [
"MIT"
] | 1 | 2020-01-29T16:38:52.000Z | 2020-01-29T16:38:52.000Z | """
--- okta-user-id --
This is a simple module for turning (apparently) base62-encoded Okta user IDs
into UUIDs. It also allows for reversing the UUID to an Okta user ID.
"""
__title__ = 'okta-uuid'
__author__ = 'Travis Mehlinger'
__email__ = 'tmehlinger@gmail.com'
__version__ = '0.1.0'
import uuid
import base62
... | 22.113208 | 78 | 0.614334 | 159 | 1,172 | 4.245283 | 0.477987 | 0.062222 | 0.062222 | 0.05037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017564 | 0.271331 | 1,172 | 52 | 79 | 22.538462 | 0.772834 | 0.217577 | 0 | 0.066667 | 0 | 0 | 0.088838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.066667 | 0.166667 | 0.533333 | 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 |
38758c48fbfaa05e44ba993d1cb6b2cb206d1030 | 382 | py | Python | Desafio Python/Aula 10 des29.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Desafio Python/Aula 10 des29.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Desafio Python/Aula 10 des29.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | print('\033[1:33m = \033[m'*20)
velocidade = float(input('Qual foi a velocidade atingida pelo seu carro? '))
print('\033[1:33m - \033[m'*20)
multa = ( (velocidade - 80) * 7)
if velocidade<= 80:
print('Parabéns vc não ultrapassou o limite de velocidade.')
else:
print('\033[:31mVocê ultrapassou o limite de 80km/... | 38.2 | 115 | 0.675393 | 63 | 382 | 4.111111 | 0.587302 | 0.092664 | 0.081081 | 0.092664 | 0.138996 | 0.138996 | 0.138996 | 0 | 0 | 0 | 0 | 0.126543 | 0.151832 | 382 | 9 | 116 | 42.444444 | 0.669753 | 0 | 0 | 0 | 0 | 0.125 | 0.586387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
38762d007be541b8081a364a3567612671d09a54 | 90 | py | Python | boggle/boggle_types.py | RacingTadpole/boggle | 2185da9e204e2d1ed686ccaac76d0d73396408fb | [
"MIT"
] | null | null | null | boggle/boggle_types.py | RacingTadpole/boggle | 2185da9e204e2d1ed686ccaac76d0d73396408fb | [
"MIT"
] | null | null | null | boggle/boggle_types.py | RacingTadpole/boggle | 2185da9e204e2d1ed686ccaac76d0d73396408fb | [
"MIT"
] | null | null | null | from typing import Tuple, Sequence
Position = Tuple[int, int, str]
Board = Sequence[str] | 18 | 34 | 0.744444 | 13 | 90 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 5 | 35 | 18 | 0.881579 | 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 |
388c2c380fb0625f28ccdd8961692fa7a4a0ba6f | 155 | py | Python | 0x0B-python-input_output/0-read_file.py | Rmolimock/holbertonschool-higher_level_programming | cf0421cbb6463b3960dc581badf7d4bbe1622b7d | [
"MIT"
] | 1 | 2019-05-21T09:34:41.000Z | 2019-05-21T09:34:41.000Z | 0x0B-python-input_output/0-read_file.py | Rmolimock/holbertonschool-higher_level_programming | cf0421cbb6463b3960dc581badf7d4bbe1622b7d | [
"MIT"
] | null | null | null | 0x0B-python-input_output/0-read_file.py | Rmolimock/holbertonschool-higher_level_programming | cf0421cbb6463b3960dc581badf7d4bbe1622b7d | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def read_file(filename=""):
'''open a given file'''
with open(filename, 'r') as f:
print("{}".format(f.read()), end="")
| 25.833333 | 44 | 0.554839 | 22 | 155 | 3.863636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.193548 | 155 | 5 | 45 | 31 | 0.672 | 0.225806 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
38a48a63517e7507c2299f7aa9bc85a0d639fa46 | 1,039 | py | Python | tests/spring_cloud/ribbon/spring_client_factory_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | tests/spring_cloud/ribbon/spring_client_factory_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | tests/spring_cloud/ribbon/spring_client_factory_test.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
# standard library
from unittest.mock import Mock
__author__ = "Ssu-Tsen"
__license__ = "Apache 2.0"
# standard library
# scip plugin
from ribbon.client.config.client_config import ClientConfig
from spring_cloud.ribbon.spring_client_factory import DynamicServerListLoadBalancer, SpringClientFa... | 38.481481 | 117 | 0.79307 | 129 | 1,039 | 5.976744 | 0.356589 | 0.124514 | 0.197147 | 0.178988 | 0.368353 | 0.368353 | 0.352789 | 0.32166 | 0 | 0 | 0 | 0.009815 | 0.117421 | 1,039 | 26 | 118 | 39.961538 | 0.830971 | 0.064485 | 0 | 0 | 0 | 0 | 0.024819 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0 | 0.2 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
38b36829c90266c767d9dd97e63cebe3eafc1a87 | 188 | py | Python | code/arc101_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/arc101_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/arc101_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n,k=map(int,input().split())
x=sorted(list(map(int,input().split())))
a=[]
for i in range(n-k+1):
l=x[i]
r=x[i+k-1]
a.append(min(abs(l)+abs(r-l),abs(r)+abs(l-r)))
print(min(a)) | 23.5 | 50 | 0.558511 | 45 | 188 | 2.333333 | 0.466667 | 0.038095 | 0.209524 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.117021 | 188 | 8 | 51 | 23.5 | 0.620482 | 0 | 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 | 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 |
38ba8476f4468f64b04ff0b7b6a30e92dd7a59ee | 3,875 | py | Python | information/urls.py | encrypted-fox/students_performance_monitoring | 1a6c80ff70f3738496809586ae3fc204a156ca3b | [
"MIT"
] | null | null | null | information/urls.py | encrypted-fox/students_performance_monitoring | 1a6c80ff70f3738496809586ae3fc204a156ca3b | [
"MIT"
] | 22 | 2020-01-23T17:41:36.000Z | 2021-07-02T14:00:00.000Z | information/urls.py | encrypted-fox/students_performance_monitoring | 1a6c80ff70f3738496809586ae3fc204a156ca3b | [
"MIT"
] | null | null | null | from rest_framework import routers
from .views import *
from . import views
router = routers.DefaultRouter()
router.register('start_years', StartYearsViewSet)
router.register('terms', TermsViewSet)
router.register('marks', ... | 94.512195 | 140 | 0.71071 | 389 | 3,875 | 6.562982 | 0.161954 | 0.159812 | 0.183314 | 0.264787 | 0.485311 | 0.411673 | 0.2217 | 0.151195 | 0 | 0 | 0 | 0.015753 | 0.213677 | 3,875 | 40 | 141 | 96.875 | 0.82212 | 0 | 0 | 0 | 0 | 0 | 0.347871 | 0.259871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.171429 | 0.085714 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
38ca6e99a40d91a92a675991a20e61ae2e892188 | 245 | py | Python | moment_polytopes/__init__.py | amsqi/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | 2 | 2017-02-14T21:37:33.000Z | 2017-02-15T10:24:37.000Z | moment_polytopes/__init__.py | catch22/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | null | null | null | moment_polytopes/__init__.py | catch22/moment_polytopes | 641f3c0ebeb0daaea6e9664acb01f95c3686382e | [
"MIT"
] | 1 | 2021-02-23T15:35:22.000Z | 2021-02-23T15:35:22.000Z | from __future__ import absolute_import, print_function
#:Current version.
__version__ = "1.2.dev0"
from .polyhedron import *
from .lie_group import *
from .ressayre import *
from .combinat import *
from . import qmp
from . import third_party
| 18.846154 | 54 | 0.771429 | 33 | 245 | 5.363636 | 0.575758 | 0.225989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.15102 | 245 | 12 | 55 | 20.416667 | 0.836538 | 0.069388 | 0 | 0 | 0 | 0 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0.125 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
38d3328f7f540ae7144d2d3997ad52f8fef40af2 | 2,091 | py | Python | dataloader.py | husnejahan/DeepAR-Pytorch | e9ad9d89231118e402973bccaca163e0ec6ccb25 | [
"Apache-2.0"
] | 213 | 2019-10-27T03:44:11.000Z | 2022-03-30T09:16:07.000Z | dataloader.py | husnejahan/DeepAR-Pytorch | e9ad9d89231118e402973bccaca163e0ec6ccb25 | [
"Apache-2.0"
] | 12 | 2019-11-01T19:27:22.000Z | 2021-04-21T15:18:14.000Z | dataloader.py | husnejahan/DeepAR-Pytorch | e9ad9d89231118e402973bccaca163e0ec6ccb25 | [
"Apache-2.0"
] | 65 | 2019-10-30T17:29:42.000Z | 2022-03-06T06:11:35.000Z | from __future__ import division
import numpy as np
import torch
import os
import logging
from torch.utils.data import DataLoader, Dataset, Sampler
logger = logging.getLogger('DeepAR.Data')
class TrainDataset(Dataset):
def __init__(self, data_path, data_name, num_class):
self.data = np.load(os.path.join(da... | 40.211538 | 98 | 0.677188 | 315 | 2,091 | 4.219048 | 0.187302 | 0.066215 | 0.036117 | 0.054176 | 0.653875 | 0.535741 | 0.492099 | 0.471783 | 0.429646 | 0.370203 | 0 | 0.006351 | 0.171688 | 2,091 | 52 | 99 | 40.211538 | 0.76097 | 0 | 0 | 0.214286 | 0 | 0 | 0.162524 | 0.071224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c7fd33ebc469ff54db653978e61a5112ca928175 | 3,654 | py | Python | bfassist/colours/rgbcolours.py | SanHime/bfassist | f4870189a54373487064897ad0d5bf46ae9d97f8 | [
"Apache-2.0"
] | 1 | 2021-07-09T14:40:14.000Z | 2021-07-09T14:40:14.000Z | bfassist/colours/rgbcolours.py | SanHime/bfassist | f4870189a54373487064897ad0d5bf46ae9d97f8 | [
"Apache-2.0"
] | null | null | null | bfassist/colours/rgbcolours.py | SanHime/bfassist | f4870189a54373487064897ad0d5bf46ae9d97f8 | [
"Apache-2.0"
] | null | null | null | #############################################################################
#
#
# RGB/A Colour webGenFramework module to BFA c7
#
#
#############################################################################
""" This is a rgb/a colour module for bfa colours.
Dependencies:
None
note:: Author(s): Mi... | 28.325581 | 115 | 0.550629 | 437 | 3,654 | 4.526316 | 0.231121 | 0.045501 | 0.050051 | 0.072801 | 0.452983 | 0.376138 | 0.341254 | 0.341254 | 0.286653 | 0.286653 | 0 | 0.011628 | 0.293924 | 3,654 | 128 | 116 | 28.546875 | 0.755039 | 0.432403 | 0 | 0.166667 | 0 | 0 | 0.017934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0.083333 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2a058c2e91963859e3047ef59760800cd0645b85 | 1,015 | py | Python | functions/process_data.py | donglinwu6066/SDEdit | a97f0e8f76bb7905858db18c464bdd77d1fcc3d0 | [
"MIT"
] | 330 | 2021-05-13T09:17:13.000Z | 2022-03-28T06:48:50.000Z | functions/process_data.py | donglinwu6066/SDEdit | a97f0e8f76bb7905858db18c464bdd77d1fcc3d0 | [
"MIT"
] | 9 | 2021-05-26T09:18:14.000Z | 2022-03-14T17:33:40.000Z | functions/process_data.py | donglinwu6066/SDEdit | a97f0e8f76bb7905858db18c464bdd77d1fcc3d0 | [
"MIT"
] | 33 | 2021-08-03T09:15:48.000Z | 2022-03-18T09:04:49.000Z | import torch
import os
def download_process_data(path="colab_demo"):
os.makedirs(path, exist_ok=True)
print("Downloading data")
torch.hub.download_url_to_file('https://image-editing-test-12345.s3-us-west-2.amazonaws.com/colab_examples/lsun_bedroom1.pth', os.path.join(path, 'lsun_bedroom1.pth'))
torch.... | 72.5 | 171 | 0.773399 | 168 | 1,015 | 4.470238 | 0.244048 | 0.053262 | 0.106525 | 0.126498 | 0.748336 | 0.748336 | 0.608522 | 0.608522 | 0.608522 | 0.608522 | 0 | 0.042977 | 0.060099 | 1,015 | 13 | 172 | 78.076923 | 0.744235 | 0 | 0 | 0 | 0 | 0.454545 | 0.565517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.272727 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2a07a530724a7f27b602e6bb2485918053cee2e5 | 47,705 | py | Python | ascent/datastore/v1/libraries/adaptors/ascent_es_adaptor.py | ahwspl/ascent-datastore | d003d92e175d20e12ce524a96c02bbea8d618ebb | [
"MIT"
] | null | null | null | ascent/datastore/v1/libraries/adaptors/ascent_es_adaptor.py | ahwspl/ascent-datastore | d003d92e175d20e12ce524a96c02bbea8d618ebb | [
"MIT"
] | null | null | null | ascent/datastore/v1/libraries/adaptors/ascent_es_adaptor.py | ahwspl/ascent-datastore | d003d92e175d20e12ce524a96c02bbea8d618ebb | [
"MIT"
] | null | null | null | import os
import json
import logging
import requests
import elasticsearch
import functools
from ..helpers import common_util as utils
from ..helpers.DBOperationError import DBOperationError
class AscentESAdaptor(object):
"""An adaptor to create and manage ElasticSearch, Neo4j, etc. database client. Currently only... | 39.490894 | 152 | 0.601551 | 5,048 | 47,705 | 5.562005 | 0.073891 | 0.050362 | 0.030096 | 0.024219 | 0.745628 | 0.72173 | 0.701428 | 0.687467 | 0.66973 | 0.662143 | 0 | 0.005054 | 0.307389 | 47,705 | 1,207 | 153 | 39.523612 | 0.844708 | 0.347574 | 0 | 0.538328 | 0 | 0 | 0.124968 | 0.005452 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078397 | false | 0.012195 | 0.013937 | 0 | 0.189895 | 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 |
2a2303ac628659b48cf82a3933e7fb43b0815b42 | 113 | py | Python | nonbonded/backend/database/models/targets/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 5 | 2020-05-11T18:25:00.000Z | 2022-01-27T10:55:09.000Z | nonbonded/backend/database/models/targets/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 88 | 2020-06-02T14:40:05.000Z | 2022-03-02T09:20:39.000Z | nonbonded/backend/database/models/targets/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | null | null | null | from nonbonded.backend.database.models.targets.targets import OptimizationTarget
__all__ = [OptimizationTarget]
| 28.25 | 80 | 0.858407 | 11 | 113 | 8.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 3 | 81 | 37.666667 | 0.885714 | 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 |
2a3f67baecf304ae09aa115ac7dd5f1bbf9dc521 | 1,100 | py | Python | inferencia/task/object_tracking/object_tracking/model/object_tracking_result.py | yuya-mochimaru-np/inferencia | e09f298d0a80672fc5bb9383e23c941290eff334 | [
"Apache-2.0"
] | null | null | null | inferencia/task/object_tracking/object_tracking/model/object_tracking_result.py | yuya-mochimaru-np/inferencia | e09f298d0a80672fc5bb9383e23c941290eff334 | [
"Apache-2.0"
] | 5 | 2021-07-25T23:19:29.000Z | 2021-07-26T23:35:13.000Z | inferencia/task/object_tracking/object_tracking/model/object_tracking_result.py | yuya-mochimaru-np/inferencia | e09f298d0a80672fc5bb9383e23c941290eff334 | [
"Apache-2.0"
] | 1 | 2021-09-18T12:06:13.000Z | 2021-09-18T12:06:13.000Z | from dataclasses import dataclass
import numpy as np
@dataclass
class ObjectTrackingResult:
frame_index: int
tracking_id: int
class_id: int
class_name: str
xmin: int
ymin: int
xmax: int
ymax: int
confidence: float
is_active: bool
def to_txt(self):
return "{} {} {} ... | 25 | 58 | 0.403636 | 94 | 1,100 | 4.574468 | 0.361702 | 0.046512 | 0.083721 | 0.111628 | 0.288372 | 0.288372 | 0.288372 | 0.288372 | 0.213953 | 0.213953 | 0 | 0 | 0.523636 | 1,100 | 43 | 59 | 25.581395 | 0.820611 | 0 | 0 | 0.297297 | 0 | 0 | 0.015455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.054054 | 0.108108 | 0.567568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2a56f1f668939cbe62a435c3f238349acdf25103 | 87 | py | Python | tests/roots/test-epub-anchor-id/conf.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-epub-anchor-id/conf.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-epub-anchor-id/conf.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | def setup(app):
app.add_crossref_type(directivename="setting", rolename="setting")
| 29 | 70 | 0.758621 | 11 | 87 | 5.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 2 | 71 | 43.5 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 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 |
2a61e494c692d6a1735d94fbbd4dbf7c06059f54 | 6,350 | py | Python | garden/models.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | garden/models.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | garden/models.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
import pytz
from django.conf import settings
from django.contrib.auth.hashers import check_password
from django.db import models
from django.urls import reverse
from rest_framework.request import Request
from garden.formatters import WateringStationFormatter
from .managers im... | 32.731959 | 110 | 0.706142 | 792 | 6,350 | 5.396465 | 0.200758 | 0.039775 | 0.037904 | 0.037436 | 0.36336 | 0.289658 | 0.230931 | 0.197005 | 0.197005 | 0.187646 | 0 | 0.003506 | 0.191496 | 6,350 | 193 | 111 | 32.901554 | 0.828983 | 0 | 0 | 0.233577 | 0 | 0 | 0.070394 | 0.030079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226277 | false | 0.014599 | 0.065693 | 0.175182 | 0.766423 | 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 |
2a73ca651d5e1e06b6ca98c089f86292be839cc6 | 193 | py | Python | apps/categories/urls.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | apps/categories/urls.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | apps/categories/urls.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^(?P<pk>[0-9]+)-(?P<slug>[\w-]+)/$',
views.CategoryListView.as_view(), name='list')
]
| 19.3 | 67 | 0.53886 | 25 | 193 | 4.12 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.243523 | 193 | 9 | 68 | 21.444444 | 0.691781 | 0 | 0 | 0 | 0 | 0 | 0.197917 | 0.177083 | 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 |
2a759ce4ce231485204ac2b7b88f6d4943cc534a | 1,632 | py | Python | paddlespeech/t2s/audio/codec.py | jerryuhoo/PaddleSpeech | 1eec7b5e042da294c7524af92f0fae4c32a71aa3 | [
"Apache-2.0"
] | 1,379 | 2021-11-10T02:42:21.000Z | 2022-03-31T13:34:25.000Z | paddlespeech/t2s/audio/codec.py | jerryuhoo/PaddleSpeech | 1eec7b5e042da294c7524af92f0fae4c32a71aa3 | [
"Apache-2.0"
] | 268 | 2021-11-10T14:07:34.000Z | 2022-03-31T02:25:20.000Z | paddlespeech/t2s/audio/codec.py | jerryuhoo/PaddleSpeech | 1eec7b5e042da294c7524af92f0fae4c32a71aa3 | [
"Apache-2.0"
] | 296 | 2021-11-15T02:37:11.000Z | 2022-03-31T12:14:46.000Z | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 31.384615 | 74 | 0.632966 | 293 | 1,632 | 3.474403 | 0.412969 | 0.013752 | 0.02947 | 0.020629 | 0.088409 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049728 | 0.211397 | 1,632 | 51 | 75 | 32 | 0.741259 | 0.60049 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.052632 | 1 | 0.210526 | false | 0 | 0.157895 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2a762e1559749352abb003b9e64d9fe31b76601b | 195 | py | Python | tests/_test_flow_output/fairytool/tests/test_version.py | Sillte/fairytemplate- | 81b4068fe07f767735d7e388c6429d3df93942ea | [
"MIT"
] | null | null | null | tests/_test_flow_output/fairytool/tests/test_version.py | Sillte/fairytemplate- | 81b4068fe07f767735d7e388c6429d3df93942ea | [
"MIT"
] | null | null | null | tests/_test_flow_output/fairytool/tests/test_version.py | Sillte/fairytemplate- | 81b4068fe07f767735d7e388c6429d3df93942ea | [
"MIT"
] | null | null | null | """Version's attribute test.
"""
import pytest
import fairytool
def test_version():
assert hasattr(fairytool, "__version__")
if __name__ == "__main__":
pytest.main(["--capture=no"])
| 13.928571 | 44 | 0.682051 | 22 | 195 | 5.454545 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158974 | 195 | 13 | 45 | 15 | 0.731707 | 0.128205 | 0 | 0 | 0 | 0 | 0.190184 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2a7f98c00479f4c251ef45f02f658b1295388bf4 | 253 | py | Python | test/utility/test_read_file_by_name.py | SoorajModi/PrOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | null | null | null | test/utility/test_read_file_by_name.py | SoorajModi/PrOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | 11 | 2021-05-19T05:03:15.000Z | 2021-09-08T00:53:01.000Z | test/utility/test_read_file_by_name.py | SoorajModi/PyOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | null | null | null | from prowl.utility.file import read_file_by_line
def test_read_file_by_line_returns_string():
expected: list = ["This", "is", "a", "test!"]
received: list = read_file_by_line('test/utility/test_read_file.txt')
assert expected == received
| 28.111111 | 73 | 0.731225 | 38 | 253 | 4.5 | 0.526316 | 0.187135 | 0.175439 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142292 | 253 | 8 | 74 | 31.625 | 0.788018 | 0 | 0 | 0 | 0 | 0 | 0.16996 | 0.12253 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2a898010065a50e1718734a76e1b9dc5dbc7b241 | 3,196 | py | Python | xls/dslx/free_variables.py | julianviera99/xls | 0715021e408774c6c5d8d61c41021aed679b02ea | [
"Apache-2.0"
] | null | null | null | xls/dslx/free_variables.py | julianviera99/xls | 0715021e408774c6c5d8d61c41021aed679b02ea | [
"Apache-2.0"
] | null | null | null | xls/dslx/free_variables.py | julianviera99/xls | 0715021e408774c6c5d8d61c41021aed679b02ea | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 34.73913 | 89 | 0.685544 | 438 | 3,196 | 4.853881 | 0.381279 | 0.047037 | 0.016933 | 0.018344 | 0.071496 | 0.053622 | 0.034807 | 0.034807 | 0.034807 | 0 | 0 | 0.003538 | 0.204005 | 3,196 | 91 | 90 | 35.120879 | 0.832154 | 0.362015 | 0 | 0 | 0 | 0 | 0.032713 | 0.013085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.06383 | 0.148936 | 0.531915 | 0.042553 | 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 |
2a935781a45b0654825f701c46d9e894002d6023 | 346 | py | Python | nxt/plugins/example.py | dalteocraft/nxt | ed990c5ec557b8f21469ed31f176ce76cd7e1303 | [
"MIT"
] | 53 | 2020-12-08T05:04:05.000Z | 2022-03-07T03:39:58.000Z | nxt/plugins/example.py | dalteocraft/nxt | ed990c5ec557b8f21469ed31f176ce76cd7e1303 | [
"MIT"
] | 30 | 2020-12-07T21:43:47.000Z | 2021-12-13T02:25:46.000Z | nxt/plugins/example.py | dalteocraft/nxt | ed990c5ec557b8f21469ed31f176ce76cd7e1303 | [
"MIT"
] | 9 | 2020-12-08T08:07:07.000Z | 2021-04-16T22:31:44.000Z | from nxt.tokens import register_token
PREFIX = 'ex::'
def detect_token_type(value):
return value.startswith(PREFIX)
def resolve_token(stage, node, value, layer, **kwargs):
value = stage.resolve(node, value, layer, **kwargs)
# Reverses given value
return value[::-1]
register_token(PREFIX, detect_t... | 20.352941 | 56 | 0.725434 | 46 | 346 | 5.282609 | 0.478261 | 0.106996 | 0.156379 | 0.164609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003436 | 0.15896 | 346 | 16 | 57 | 21.625 | 0.831615 | 0.057803 | 0 | 0 | 0 | 0 | 0.012346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
aa78d16f95a5d69001eaaa0e9760855951c6ee5f | 255 | py | Python | test/test_trivial.py | chrisfoulon/C-PAC | 2746a90c39cea586aede98343c5927252bb8e81a | [
"BSD-3-Clause"
] | 1 | 2021-08-02T23:23:39.000Z | 2021-08-02T23:23:39.000Z | test/test_trivial.py | chrisfoulon/C-PAC | 2746a90c39cea586aede98343c5927252bb8e81a | [
"BSD-3-Clause"
] | null | null | null | test/test_trivial.py | chrisfoulon/C-PAC | 2746a90c39cea586aede98343c5927252bb8e81a | [
"BSD-3-Clause"
] | 2 | 2021-08-02T23:23:40.000Z | 2022-02-26T12:39:30.000Z | from nose.tools import ok_, eq_
def test_b():
"""
Raw, unparented test.
"""
assert 'b' == 'b'
def test_1_and_1():
assert 1+1 == 2
def test_sum():
eq_(1+1,2)
def test_failing_compare():
ok_(2>3, 'Expected failure')
| 14.166667 | 32 | 0.560784 | 40 | 255 | 3.3 | 0.525 | 0.212121 | 0.045455 | 0.090909 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.278431 | 255 | 17 | 33 | 15 | 0.663043 | 0.082353 | 0 | 0 | 0 | 0 | 0.082569 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aa83afefeb07ac6416ccd1167e032e84a784f6ea | 62 | py | Python | config.py | reillykeele/CMPUT404-assignment-webserver | abd5ea11addaf0340c7b7cd74d617ccbdb95c66c | [
"Apache-2.0"
] | null | null | null | config.py | reillykeele/CMPUT404-assignment-webserver | abd5ea11addaf0340c7b7cd74d617ccbdb95c66c | [
"Apache-2.0"
] | null | null | null | config.py | reillykeele/CMPUT404-assignment-webserver | abd5ea11addaf0340c7b7cd74d617ccbdb95c66c | [
"Apache-2.0"
] | null | null | null | class Config:
BUFFER_SIZE = 1024
ROOT = './www' | 20.666667 | 27 | 0.532258 | 7 | 62 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.354839 | 62 | 3 | 28 | 20.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
aa87c810c48ade49a8b3be211d9544d9f7a05fa3 | 130 | py | Python | help/urls.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | help/urls.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | help/urls.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
app_name='HELP'
urlpatterns=[
url(r'^$',views.help_view,name='helpapp'),
] | 16.25 | 43 | 0.723077 | 20 | 130 | 4.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 8 | 44 | 16.25 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 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 |
aa8ce9406837f0e2f36279d11913bb15876ddaed | 149 | py | Python | setup.py | wizardsoftheweb/wotw-cookiecutter-base | f60e4d3ba48689bcacd879a6808f397ccfc5b308 | [
"0BSD"
] | null | null | null | setup.py | wizardsoftheweb/wotw-cookiecutter-base | f60e4d3ba48689bcacd879a6808f397ccfc5b308 | [
"0BSD"
] | null | null | null | setup.py | wizardsoftheweb/wotw-cookiecutter-base | f60e4d3ba48689bcacd879a6808f397ccfc5b308 | [
"0BSD"
] | null | null | null | """This file sets up the package"""
from setuptools import setup
setup(
name='wotw-cookiecutter-base',
version='0.2.0',
packages=[],
)
| 14.9 | 35 | 0.644295 | 20 | 149 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.194631 | 149 | 9 | 36 | 16.555556 | 0.775 | 0.194631 | 0 | 0 | 0 | 0 | 0.236842 | 0.192982 | 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 |
aa908a792cedfa01e1ce18dec5c68c3d3c9b1a7a | 172 | py | Python | worker.py | tcbegley/dash-rq-demo | 4cda74dc85da6f5dd5787723a09c85dd5d6103a2 | [
"MIT"
] | 42 | 2019-08-08T18:31:46.000Z | 2022-03-31T13:04:16.000Z | worker.py | tcbegley/dash-rq-demo | 4cda74dc85da6f5dd5787723a09c85dd5d6103a2 | [
"MIT"
] | null | null | null | worker.py | tcbegley/dash-rq-demo | 4cda74dc85da6f5dd5787723a09c85dd5d6103a2 | [
"MIT"
] | 5 | 2020-06-02T13:07:22.000Z | 2022-03-09T04:56:37.000Z | from rq import Connection, Worker
from dash_rq_demo import conn, queue
if __name__ == "__main__":
with Connection(conn):
w = Worker([queue])
w.work()
| 19.111111 | 36 | 0.651163 | 23 | 172 | 4.434783 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244186 | 172 | 8 | 37 | 21.5 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 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 |
aaab2ced51a44f29baf0d0df65d940ac2868dd22 | 359 | py | Python | src/demo.py | JKtubage/Neural-Network-deep-learning | 5e2ae55aa2fe23700847ffafe7e8fa6b998a07e1 | [
"Unlicense"
] | 1 | 2020-07-27T14:11:52.000Z | 2020-07-27T14:11:52.000Z | src/demo.py | JKtubage/Neural-Network-deep-learning | 5e2ae55aa2fe23700847ffafe7e8fa6b998a07e1 | [
"Unlicense"
] | null | null | null | src/demo.py | JKtubage/Neural-Network-deep-learning | 5e2ae55aa2fe23700847ffafe7e8fa6b998a07e1 | [
"Unlicense"
] | null | null | null | import mnist_loader
import network
training_data, validation_data, test_data = mnist_loader.load_data_wrapper()
# print("training data")
# print(type(training_data))
# print(len(training_data))
# print(training_data[0][0].shape)
# print(training_data[0][1].shape)
net = network.Network([784, 30, 10])
net.SGD(training_... | 29.916667 | 76 | 0.763231 | 57 | 359 | 4.561404 | 0.385965 | 0.323077 | 0.196154 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051829 | 0.086351 | 359 | 12 | 77 | 29.916667 | 0.740854 | 0.392758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
aabb5306640411c1a36b7f943f5dae95700df067 | 471 | py | Python | EPro-PnP-Det/epropnp_det/ops/pnp/builder.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 19 | 2022-03-21T10:22:24.000Z | 2022-03-30T15:43:46.000Z | EPro-PnP-Det/epropnp_det/ops/pnp/builder.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | null | null | null | EPro-PnP-Det/epropnp_det/ops/pnp/builder.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 3 | 2022-03-26T08:08:24.000Z | 2022-03-30T11:17:11.000Z | """
Copyright (C) 2010-2022 Alibaba Group Holding Limited.
"""
from mmcv.utils import Registry, build_from_cfg
PNP = Registry('pnp')
CAMERA = Registry('camera')
COSTFUN = Registry('cost_fun')
def build_pnp(cfg, **default_args):
return build_from_cfg(cfg, PNP, default_args)
def build_camera(cfg, **default_args)... | 23.55 | 54 | 0.747346 | 69 | 471 | 4.826087 | 0.347826 | 0.198198 | 0.144144 | 0.18018 | 0.315315 | 0.315315 | 0.315315 | 0.315315 | 0 | 0 | 0 | 0.01956 | 0.131635 | 471 | 19 | 55 | 24.789474 | 0.794621 | 0.11465 | 0 | 0 | 0 | 0 | 0.041565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.3 | 0.7 | 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 |
aac714a0d8aa095793c3920f5225a2f5bafddc31 | 191 | py | Python | smart_compose/api/models/payload.py | Jwuthri/SmartCompose | 0ca515e54a22b5e87a9d08c452684df371e284c7 | [
"Apache-2.0"
] | null | null | null | smart_compose/api/models/payload.py | Jwuthri/SmartCompose | 0ca515e54a22b5e87a9d08c452684df371e284c7 | [
"Apache-2.0"
] | null | null | null | smart_compose/api/models/payload.py | Jwuthri/SmartCompose | 0ca515e54a22b5e87a9d08c452684df371e284c7 | [
"Apache-2.0"
] | null | null | null | from typing import List
from pydantic import BaseModel
class SentimentPayload(BaseModel):
text: str
def payload_to_list(payload: SentimentPayload) -> List:
return [payload.text]
| 15.916667 | 55 | 0.764398 | 23 | 191 | 6.26087 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167539 | 191 | 11 | 56 | 17.363636 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 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 | 1 | 0 | 0 | 0 | 3 |
aad66a363685c6f845617fd28f46edf464a25f1a | 2,790 | py | Python | jacdac/dot_matrix/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/dot_matrix/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/dot_matrix/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file. Do not edit.
from jacdac.bus import Bus, Client
from .constants import *
from typing import Optional
class DotMatrixClient(Client):
"""
A rectangular dot matrix display, made of monochrome LEDs or Braille pins.
Implements a client for the `Dot Matrix <https://microsoft.github.io/jacd... | 35.769231 | 122 | 0.647312 | 385 | 2,790 | 4.535065 | 0.355844 | 0.056701 | 0.050401 | 0.068156 | 0.180985 | 0.154639 | 0.154639 | 0.049255 | 0.049255 | 0.049255 | 0 | 0.009653 | 0.257348 | 2,790 | 77 | 123 | 36.233766 | 0.833012 | 0.475627 | 0 | 0.185185 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.111111 | 0 | 0.62963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
aad90c4ca69e3da055c8ceae1672ea6bf6fbfb0e | 2,639 | py | Python | tests/test__meter.py | alpha-health-ai/pyformance | 3dcf6556a070e89c783f30ddfff03c986e7a5582 | [
"Apache-2.0"
] | 4 | 2019-11-13T11:11:43.000Z | 2021-06-20T11:01:27.000Z | tests/test__meter.py | alpha-health-ai/pyformance | 3dcf6556a070e89c783f30ddfff03c986e7a5582 | [
"Apache-2.0"
] | 5 | 2019-01-14T14:59:44.000Z | 2020-12-13T17:04:27.000Z | tests/test__meter.py | alpha-health-ai/pyformance | 3dcf6556a070e89c783f30ddfff03c986e7a5582 | [
"Apache-2.0"
] | 6 | 2019-04-17T21:07:40.000Z | 2022-01-18T16:11:51.000Z | from pyformance.meters import Meter
from tests import TimedTestCase
class MeterTestCase(TimedTestCase):
def setUp(self):
super(MeterTestCase, self).setUp()
self.meter = Meter(key="test_meter", clock=TimedTestCase.clock)
def tearDown(self):
super(MeterTestCase, self).tearDown()
de... | 32.580247 | 86 | 0.6313 | 373 | 2,639 | 4.345845 | 0.144772 | 0.10549 | 0.074028 | 0.061073 | 0.743985 | 0.73103 | 0.73103 | 0.718075 | 0.558914 | 0.487353 | 0 | 0.110073 | 0.270178 | 2,639 | 80 | 87 | 32.9875 | 0.731568 | 0.203107 | 0 | 0.436364 | 0 | 0 | 0.004778 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.109091 | false | 0 | 0.036364 | 0 | 0.163636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ab552347e2071ecbad6b131182124f845627507 | 2,890 | py | Python | tickets.py | DrumSergio/router-express | dcb9b68a7fa976d6ab00a1834a99976d7259be4a | [
"MIT"
] | null | null | null | tickets.py | DrumSergio/router-express | dcb9b68a7fa976d6ab00a1834a99976d7259be4a | [
"MIT"
] | null | null | null | tickets.py | DrumSergio/router-express | dcb9b68a7fa976d6ab00a1834a99976d7259be4a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# system('python tickets.py "Sergio" "Fernandez" "sergio@ole" "950001" "968868968"')
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import ... | 49.827586 | 112 | 0.73218 | 606 | 2,890 | 3.353135 | 0.20462 | 0.03937 | 0.192421 | 0.215059 | 0.54626 | 0.438976 | 0.438976 | 0.359744 | 0.359744 | 0.309547 | 0 | 0.11441 | 0.044291 | 2,890 | 57 | 113 | 50.701754 | 0.621289 | 0.080277 | 0 | 0.044444 | 0 | 0.266667 | 0.354497 | 0.278534 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.022222 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ae403033739cf9075e4a56c26608b3ad3168268 | 2,120 | py | Python | songs/la-gran-jaime/pop.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | 1 | 2021-12-02T15:39:15.000Z | 2021-12-02T15:39:15.000Z | songs/la-gran-jaime/pop.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | null | null | null | songs/la-gran-jaime/pop.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | null | null | null | Root.default = -3
Scale.default = 'minor'
Clock.bpm=100
acordes = [(2,4,6),(-1,1,3),(0,2,4)]
escalera = P[5,4,3,2]
p1 >> space([0,0,4,2,0,0,5,2],dur=1,amp=[0,1,1,1])
d1 >> play("X ",amp=1)
pt >> play('#', dur=16,sus=4, rate=-1/2, amp=var([1,0],[16,inf],start=now))
p1 >> space([4,4,2,0,3,3,2,1],dur=1,amp=[0,1,1,1])
p... | 33.650794 | 121 | 0.591981 | 519 | 2,120 | 2.379576 | 0.119461 | 0.032389 | 0.106883 | 0.05668 | 0.769231 | 0.740081 | 0.700405 | 0.604049 | 0.587854 | 0.535223 | 0 | 0.168957 | 0.073113 | 2,120 | 62 | 122 | 34.193548 | 0.459542 | 0 | 0 | 0.238095 | 0 | 0 | 0.125943 | 0.110377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
2afe1a8babab26efeb820ee44ee8ab5d7e27a3d5 | 8,036 | py | Python | src/picobox/_stack.py | ikalnytskyi/picobox | 7744331a702941b4acbbb983d245a26100744919 | [
"MIT"
] | 35 | 2017-11-26T20:04:46.000Z | 2020-09-11T08:41:16.000Z | src/picobox/_stack.py | ikalnytskyi/picobox | 7744331a702941b4acbbb983d245a26100744919 | [
"MIT"
] | 9 | 2017-11-14T15:44:04.000Z | 2021-05-08T19:00:46.000Z | src/picobox/_stack.py | ikalnytskyi/picobox | 7744331a702941b4acbbb983d245a26100744919 | [
"MIT"
] | 2 | 2018-03-15T20:05:10.000Z | 2021-07-08T00:39:54.000Z | """Picobox API to work with a box at the top of the stack."""
import contextlib
import functools
import threading
import typing as t
from ._box import Box, ChainBox
def _copy_signature(method, instance=None):
# This is a workaround to overcome 'sphinx.ext.autodoc' inability to
# retrieve a docstring of a bo... | 36.527273 | 85 | 0.641737 | 1,145 | 8,036 | 4.413974 | 0.261135 | 0.033637 | 0.017808 | 0.017412 | 0.291452 | 0.23051 | 0.20459 | 0.146023 | 0.099327 | 0.087851 | 0 | 0.00338 | 0.263564 | 8,036 | 219 | 86 | 36.694064 | 0.850625 | 0.601668 | 0 | 0.057143 | 0 | 0 | 0.030228 | 0 | 0 | 0 | 0 | 0.004566 | 0.014286 | 1 | 0.228571 | false | 0.085714 | 0.071429 | 0 | 0.528571 | 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 |
6316c0b8e76bf9507a515e424e6dd4f9f3f25d32 | 113 | py | Python | nlp/tests/test_marshal.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | nlp/tests/test_marshal.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | nlp/tests/test_marshal.py | mobarski/sandbox | 64ac79143750d5dcbd4d0f3abdab6efeb9bdf50c | [
"MIT"
] | null | null | null | import marshal
import numpy as np
a = np.array([[1,2],[3,4]],dtype=np.uint8)
m = marshal.dumps(a)
print(len(m))
| 16.142857 | 42 | 0.663717 | 23 | 113 | 3.26087 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0.123894 | 113 | 6 | 43 | 18.833333 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2d58d34b63477f939076dcc29ed925bbacb97d73 | 401 | py | Python | youtube_transcript_api/__init__.py | crhowell/youtube-transcript-api | c5bf0132ffa2906cc1bf6d480a70ef799dedc209 | [
"MIT"
] | null | null | null | youtube_transcript_api/__init__.py | crhowell/youtube-transcript-api | c5bf0132ffa2906cc1bf6d480a70ef799dedc209 | [
"MIT"
] | null | null | null | youtube_transcript_api/__init__.py | crhowell/youtube-transcript-api | c5bf0132ffa2906cc1bf6d480a70ef799dedc209 | [
"MIT"
] | null | null | null | from ._api import YouTubeTranscriptApi
from ._transcripts import TranscriptList, Transcript
from ._errors import (
TranscriptsDisabled,
NoTranscriptFound,
CouldNotRetrieveTranscript,
VideoUnavailable,
TooManyRequests,
NotTranslatable,
TranslationLanguageNotAvailable,
NoTranscriptAvailabl... | 25.0625 | 52 | 0.785536 | 23 | 401 | 13.565217 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17207 | 401 | 15 | 53 | 26.733333 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2d59cd530b38b12a5d295211a2d5bc8591a045db | 1,384 | py | Python | src/graph_build/tests/otp_graph_import/conftest.py | hellej/hope-green-path-server | 46742c413fbe4c3734edd12ec867bdf7e2b29f05 | [
"MIT"
] | 5 | 2020-05-24T12:18:54.000Z | 2021-04-25T19:07:16.000Z | src/graph_build/tests/otp_graph_import/conftest.py | hellej/hope-green-path-server | 46742c413fbe4c3734edd12ec867bdf7e2b29f05 | [
"MIT"
] | 43 | 2019-09-22T18:45:35.000Z | 2021-07-10T08:51:33.000Z | src/graph_build/tests/otp_graph_import/conftest.py | hellej/hope-green-path-server | 46742c413fbe4c3734edd12ec867bdf7e2b29f05 | [
"MIT"
] | 7 | 2020-08-04T06:50:14.000Z | 2021-01-17T11:36:13.000Z | import os
import pytest
from graph_build.otp_graph_import.conf import OtpGraphImportConf
conf = OtpGraphImportConf(
node_csv_file = 'graph_build/tests/otp_graph_import/data/test_nodes.csv',
edge_csv_file = 'graph_build/tests/otp_graph_import/data/test_edges.csv',
hma_poly_file = 'graph_build/tests/common/... | 37.405405 | 83 | 0.78396 | 217 | 1,384 | 4.543779 | 0.290323 | 0.156187 | 0.141988 | 0.127789 | 0.501014 | 0.395538 | 0.346856 | 0.217039 | 0.217039 | 0.089249 | 0 | 0 | 0.119942 | 1,384 | 36 | 84 | 38.444444 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.432803 | 0.406792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.571429 | 0 | 0.607143 | 0.035714 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2d7116e88022d4dc1fb7fe214c270cca1476dcb4 | 390 | py | Python | src/pytorch_metric_learning/losses/signal_to_noise_ratio_losses.py | wconnell/pytorch-metric-learning | 1affee7c77bb5d6d4ee559bad62b910a21b39d48 | [
"MIT"
] | 1 | 2021-05-30T14:59:42.000Z | 2021-05-30T14:59:42.000Z | src/pytorch_metric_learning/losses/signal_to_noise_ratio_losses.py | umitkacar/pytorch-metric-learning | bf2b7675b7b80e5762b75428d51e4ab0a861e710 | [
"MIT"
] | null | null | null | src/pytorch_metric_learning/losses/signal_to_noise_ratio_losses.py | umitkacar/pytorch-metric-learning | bf2b7675b7b80e5762b75428d51e4ab0a861e710 | [
"MIT"
] | null | null | null | from ..utils import common_functions as c_f
from .contrastive_loss import ContrastiveLoss
from ..distances import SNRDistance
class SignalToNoiseRatioContrastiveLoss(ContrastiveLoss):
def __init__(self,**kwargs):
super().__init__(**kwargs)
c_f.assert_distance_type(self, SNRDistance)
... | 32.5 | 58 | 0.723077 | 41 | 390 | 6.487805 | 0.634146 | 0.015038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 390 | 12 | 59 | 32.5 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
2d7685753e9918fb174a806df29c96b8c50f3832 | 1,837 | py | Python | test/functional/test-framework/log/base_log.py | josehu07/open-cas-linux-mf | 5c6870be8bbb6816645955b6e479c9b5c7c0074d | [
"BSD-3-Clause-Clear"
] | 2 | 2021-08-13T14:44:45.000Z | 2022-01-10T07:41:40.000Z | test/functional/test-framework/log/base_log.py | josehu07/open-cas-linux-mf | 5c6870be8bbb6816645955b6e479c9b5c7c0074d | [
"BSD-3-Clause-Clear"
] | null | null | null | test/functional/test-framework/log/base_log.py | josehu07/open-cas-linux-mf | 5c6870be8bbb6816645955b6e479c9b5c7c0074d | [
"BSD-3-Clause-Clear"
] | null | null | null | #
# Copyright(c) 2019-2020 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
from enum import Enum
from re import sub
class BaseLogResult(Enum):
DEBUG = 10
PASSED = 11
WORKAROUND = 12
WARNING = 13
SKIPPED = 14
FAILED = 15
EXCEPTION = 16
BLOCKED = 17
CRITICAL = 18
... | 23.253165 | 97 | 0.661404 | 233 | 1,837 | 4.849785 | 0.334764 | 0.087611 | 0.056637 | 0.077876 | 0.293805 | 0.278761 | 0.278761 | 0.278761 | 0.278761 | 0 | 0 | 0.040919 | 0.241698 | 1,837 | 78 | 98 | 23.551282 | 0.77028 | 0.045727 | 0 | 0.096154 | 0 | 0 | 0.049199 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326923 | false | 0.096154 | 0.038462 | 0.057692 | 0.634615 | 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 |
2d79b184d99e46cf84cd7f6d07232ff2fcbe3608 | 1,875 | py | Python | suvec/vk_api_impl/session/records_managing/records.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | 1 | 2021-05-07T16:48:16.000Z | 2021-05-07T16:48:16.000Z | suvec/vk_api_impl/session/records_managing/records.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | suvec/vk_api_impl/session/records_managing/records.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | import time
from typing import Optional, List
from abc import abstractmethod, ABC
from .session_types import Proxy, Credentials
from .consts import ResourceStatus, RESOURCE_OK_STATUS
class Record(ABC):
def __init__(self, obj_id: int, status: ResourceStatus = RESOURCE_OK_STATUS,
status_change_tim... | 27.173913 | 95 | 0.642667 | 229 | 1,875 | 4.934498 | 0.231441 | 0.084956 | 0.099115 | 0.053097 | 0.283186 | 0.178761 | 0.090265 | 0.090265 | 0.090265 | 0.090265 | 0 | 0 | 0.252267 | 1,875 | 68 | 96 | 27.573529 | 0.805991 | 0.0432 | 0 | 0.244898 | 0 | 0 | 0.064318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0 | 0.102041 | 0.142857 | 0.612245 | 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 |
2d7ebddbe627f74232f1c9206336c66bba2ebd23 | 217 | py | Python | vector_2d/__init__.py | betados/vector_2D | 62b50d2b4ecfe70873ee9c18c4a880b098610b33 | [
"MIT"
] | 3 | 2021-02-18T07:07:42.000Z | 2021-08-25T03:41:39.000Z | vector_2d/__init__.py | betados/vector_2D | 62b50d2b4ecfe70873ee9c18c4a880b098610b33 | [
"MIT"
] | 1 | 2019-09-10T21:16:41.000Z | 2019-09-10T21:16:41.000Z | vector_2d/__init__.py | betados/vector_2D | 62b50d2b4ecfe70873ee9c18c4a880b098610b33 | [
"MIT"
] | 1 | 2018-12-01T21:31:04.000Z | 2018-12-01T21:31:04.000Z | from vector_2d.vector import *
from vector_2d.vectorPolar import *
__all__ = ["vector", "vectorPolar", "VectorPolar", "Vector", "round_vector", "angle", "distance_point_line",
"distance_point_segment"]
| 27.125 | 109 | 0.709677 | 24 | 217 | 5.958333 | 0.5 | 0.13986 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.152074 | 217 | 7 | 110 | 31 | 0.766304 | 0 | 0 | 0 | 0 | 0 | 0.427907 | 0.102326 | 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 |
2d837e3954a6a2954c8fa6caddc6a17c46d28884 | 14,027 | py | Python | server/opendp_apps/analysis/testing/test_dp_count_spec.py | mikephelan/opendp-ux | 80c65da0ed17adc01c69b05dbc9cbf3a5973a016 | [
"MIT"
] | null | null | null | server/opendp_apps/analysis/testing/test_dp_count_spec.py | mikephelan/opendp-ux | 80c65da0ed17adc01c69b05dbc9cbf3a5973a016 | [
"MIT"
] | null | null | null | server/opendp_apps/analysis/testing/test_dp_count_spec.py | mikephelan/opendp-ux | 80c65da0ed17adc01c69b05dbc9cbf3a5973a016 | [
"MIT"
] | null | null | null | import json
from os.path import abspath, dirname, isfile, join
CURRENT_DIR = dirname(abspath(__file__))
TEST_DATA_DIR = join(dirname(dirname(dirname(CURRENT_DIR))), 'test_data')
from opendp_apps.analysis.testing.base_stat_spec_test import StatSpecTestCase
from opendp_apps.analysis.tools.dp_count_spec import DPCountSp... | 38.535714 | 91 | 0.544236 | 1,546 | 14,027 | 4.612549 | 0.134541 | 0.080494 | 0.053849 | 0.070677 | 0.779133 | 0.754032 | 0.720095 | 0.668349 | 0.668349 | 0.663582 | 0 | 0.034091 | 0.309902 | 14,027 | 364 | 92 | 38.535714 | 0.702583 | 0.220931 | 0 | 0.574359 | 0 | 0 | 0.113849 | 0.019268 | 0 | 0 | 0 | 0 | 0.205128 | 1 | 0.041026 | false | 0 | 0.041026 | 0 | 0.092308 | 0.005128 | 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 |
2dba6c4bf85bd2d5d37f0459f34f27c2cffb0601 | 105 | py | Python | test_script.py | martinagvilas/CompEnv-Ex1 | cf5ff4c2568163cc028ab692fb1239c2dd684e2b | [
"MIT"
] | null | null | null | test_script.py | martinagvilas/CompEnv-Ex1 | cf5ff4c2568163cc028ab692fb1239c2dd684e2b | [
"MIT"
] | null | null | null | test_script.py | martinagvilas/CompEnv-Ex1 | cf5ff4c2568163cc028ab692fb1239c2dd684e2b | [
"MIT"
] | 2 | 2020-02-11T18:49:21.000Z | 2021-03-02T13:05:08.000Z | from __future__ import print_function
a = 5
b = 2
print("{0} divided by {1} gives".format(a, b), a / b) | 17.5 | 53 | 0.657143 | 20 | 105 | 3.2 | 0.75 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.190476 | 105 | 6 | 53 | 17.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2dc67bcb3816a44c99be9007ea1352cfc8c9b5cc | 3,729 | py | Python | us/tests/test_us.py | Juh10/python-us | 3ce7b61e1dbab7188d12f072d8c21fe22437e1b0 | [
"BSD-3-Clause"
] | 346 | 2015-01-11T15:39:42.000Z | 2022-03-28T20:58:10.000Z | us/tests/test_us.py | Juh10/python-us | 3ce7b61e1dbab7188d12f072d8c21fe22437e1b0 | [
"BSD-3-Clause"
] | 41 | 2015-01-07T23:19:25.000Z | 2022-03-25T01:05:14.000Z | us/tests/test_us.py | Juh10/python-us | 3ce7b61e1dbab7188d12f072d8c21fe22437e1b0 | [
"BSD-3-Clause"
] | 59 | 2015-01-24T06:34:16.000Z | 2022-03-25T18:28:33.000Z | from itertools import chain
import jellyfish # type: ignore
import pytest # type: ignore
import pytz
import us
# attribute
def test_attribute():
for state in us.STATES_AND_TERRITORIES:
assert state == getattr(us.states, state.abbr)
def test_valid_timezones():
for state in us.STATES_AND_TERRITO... | 22.329341 | 84 | 0.668812 | 532 | 3,729 | 4.595865 | 0.191729 | 0.199591 | 0.143149 | 0.179959 | 0.394683 | 0.370143 | 0.342331 | 0.240082 | 0.208998 | 0.208998 | 0 | 0.007078 | 0.204344 | 3,729 | 166 | 85 | 22.463855 | 0.816987 | 0.06007 | 0 | 0.11236 | 0 | 0 | 0.045845 | 0 | 0 | 0 | 0 | 0 | 0.460674 | 1 | 0.258427 | false | 0 | 0.067416 | 0 | 0.325843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2dd4d0c220509a0dc70ecc80677f257581a3aa25 | 114 | py | Python | Exercicies/ex021.py | sthe-eduarda/Curso-de-python | 524f6cc132a5746bc039921f954f941e63aaede0 | [
"MIT"
] | null | null | null | Exercicies/ex021.py | sthe-eduarda/Curso-de-python | 524f6cc132a5746bc039921f954f941e63aaede0 | [
"MIT"
] | null | null | null | Exercicies/ex021.py | sthe-eduarda/Curso-de-python | 524f6cc132a5746bc039921f954f941e63aaede0 | [
"MIT"
] | null | null | null | import pygame
pygame.init()
pygame.mixer.music.load('nome do arquivo')
pygame.mix.music.play()
pygame.event.wait() | 22.8 | 42 | 0.77193 | 18 | 114 | 4.888889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 114 | 5 | 43 | 22.8 | 0.82243 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ddc009cf95d90f2ce02b600a2ba23904145eb6b | 856 | py | Python | ciphey/basemods/Decoders/base64_url.py | AlexandruValeanu/Ciphey | 58323db4443b0d29d7797dadab88955a02da8812 | [
"MIT"
] | 9,908 | 2020-06-06T01:06:50.000Z | 2022-03-31T21:22:57.000Z | ciphey/basemods/Decoders/base64_url.py | ScarlettHoefler/Ciphey | f7d21ce0993eeff0b53cec8717dfbd8f8419f8f5 | [
"MIT"
] | 423 | 2020-05-30T11:44:37.000Z | 2022-03-18T03:15:30.000Z | ciphey/basemods/Decoders/base64_url.py | ScarlettHoefler/Ciphey | f7d21ce0993eeff0b53cec8717dfbd8f8419f8f5 | [
"MIT"
] | 714 | 2020-06-09T20:24:41.000Z | 2022-03-29T15:28:53.000Z | import base64
from typing import Dict, Optional
from ciphey.iface import Config, Decoder, ParamSpec, T, U, registry
@registry.register
class Base64_url(Decoder[str]):
def decode(self, ctext: T) -> Optional[U]:
"""
Performs Base64 URL decoding
"""
ctext_padding = ctext + "=" * (4 -... | 25.176471 | 74 | 0.613318 | 99 | 856 | 5.171717 | 0.565657 | 0.052734 | 0.085938 | 0.097656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029221 | 0.280374 | 856 | 33 | 75 | 25.939394 | 0.801948 | 0.103972 | 0 | 0.227273 | 0 | 0 | 0.021534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.136364 | 0.136364 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2deb32613cd9b3370aa9365518f225462d369629 | 228 | py | Python | ML/ml.py | slav9n4ik/openhack2020 | 69d1687e1abe39fa303c1f77438b0d1e3f0d67d9 | [
"Apache-2.0"
] | null | null | null | ML/ml.py | slav9n4ik/openhack2020 | 69d1687e1abe39fa303c1f77438b0d1e3f0d67d9 | [
"Apache-2.0"
] | null | null | null | ML/ml.py | slav9n4ik/openhack2020 | 69d1687e1abe39fa303c1f77438b0d1e3f0d67d9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import sys
from random import seed
from random import randint
from time import sleep
#seed(1)
print('Argument List:', str(sys.argv))
sleep(15)
print('ID:', randint(0, 999999), ", Value: ", randint(0, 999999)) | 20.727273 | 65 | 0.710526 | 36 | 228 | 4.5 | 0.611111 | 0.123457 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085427 | 0.127193 | 228 | 11 | 65 | 20.727273 | 0.728643 | 0.100877 | 0 | 0 | 0 | 0 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
2df35feea4908f5049c168e33ad7a6c9519d4056 | 187 | py | Python | flask-appointment-calendar/tests/test_models.py | codyhan94/PMA-scheduler | 0984ea1350145b793e0932efd3869251069e681e | [
"MIT"
] | 1 | 2019-11-04T04:48:31.000Z | 2019-11-04T04:48:31.000Z | tests/test_models.py | rams502/flask-appointment-calendar | 381012fa1c6a736e54505b44f06bca4dab4b3df6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_models.py | rams502/flask-appointment-calendar | 381012fa1c6a736e54505b44f06bca4dab4b3df6 | [
"BSD-3-Clause"
] | 1 | 2022-01-28T16:44:21.000Z | 2022-01-28T16:44:21.000Z | # -*- coding: utf-8 -*-
from fbone.user import User
from tests import TestCase
class TestUser(TestCase):
def test_get_current_time(self):
assert User.query.count() == 2
| 14.384615 | 38 | 0.673797 | 26 | 187 | 4.730769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.208556 | 187 | 12 | 39 | 15.583333 | 0.817568 | 0.112299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9308be28eba9fa5952df36f0ec52a52be0d3fb10 | 193 | py | Python | gunicorn_config.py | ons-eq-team/eq-questionnaire-runner | 8d029097faa2b9d53d9621064243620db60c62c7 | [
"MIT"
] | null | null | null | gunicorn_config.py | ons-eq-team/eq-questionnaire-runner | 8d029097faa2b9d53d9621064243620db60c62c7 | [
"MIT"
] | null | null | null | gunicorn_config.py | ons-eq-team/eq-questionnaire-runner | 8d029097faa2b9d53d9621064243620db60c62c7 | [
"MIT"
] | null | null | null | import gunicorn
import os
workers = os.getenv("GUNICORN_WORKERS")
worker_class = "gevent"
keepalive = os.getenv("GUNICORN_KEEP_ALIVE")
bind = "0.0.0.0:5000"
gunicorn.SERVER_SOFTWARE = "None"
| 19.3 | 44 | 0.756477 | 28 | 193 | 5.035714 | 0.607143 | 0.042553 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.108808 | 193 | 9 | 45 | 21.444444 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 0.295337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 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 |
930c74299e6b9e57a83d5dcbad9d2705e46d25f2 | 403 | py | Python | cities/urls.py | platypotomus/python-react-travel-app | fefbbfae3aae554e82ae41d1550f380287b06702 | [
"MIT"
] | null | null | null | cities/urls.py | platypotomus/python-react-travel-app | fefbbfae3aae554e82ae41d1550f380287b06702 | [
"MIT"
] | null | null | null | cities/urls.py | platypotomus/python-react-travel-app | fefbbfae3aae554e82ae41d1550f380287b06702 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url('api/cities/', views.CityListIndex.as_view(), name="cities_list"),
url('api/cities/(?P<pk>\d+)/$', views.CityElementShow.as_view(), name="cities_element")
# url(r'^city/$', views.CityListIndex.as_view(), name="cities_list"),
# url... | 40.3 | 91 | 0.672457 | 56 | 403 | 4.696429 | 0.392857 | 0.091255 | 0.152091 | 0.243346 | 0.669202 | 0.669202 | 0.669202 | 0.669202 | 0.357414 | 0.357414 | 0 | 0 | 0.1067 | 403 | 9 | 92 | 44.777778 | 0.730556 | 0.37469 | 0 | 0 | 0 | 0 | 0.240964 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
930d3fb5b24bf7b6db97379c96b76a9848323746 | 166 | py | Python | HydrogenCpx/test.py | EFerriss/Hydrogen_Cpx | 0732e2e84673d5fe8a3e5ce2c751d70e170084b4 | [
"MIT"
] | null | null | null | HydrogenCpx/test.py | EFerriss/Hydrogen_Cpx | 0732e2e84673d5fe8a3e5ce2c751d70e170084b4 | [
"MIT"
] | null | null | null | HydrogenCpx/test.py | EFerriss/Hydrogen_Cpx | 0732e2e84673d5fe8a3e5ce2c751d70e170084b4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 07 11:41:07 2016
@author: Ferriss
"""
from pynams import experiments
reload(experiments)
experiments.convertH(110.,) | 15.090909 | 35 | 0.698795 | 23 | 166 | 5.043478 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 0.144578 | 166 | 11 | 36 | 15.090909 | 0.704225 | 0.457831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9312299161cbd665c44fae91e32a545f126b9413 | 573 | py | Python | users/migrations/0005_auto_20210609_0406.py | JoyMbugua/arifa | f3eaf5d710e537428f756e6f6b9a437337dc31c8 | [
"MIT"
] | 1 | 2021-06-29T11:52:17.000Z | 2021-06-29T11:52:17.000Z | users/migrations/0005_auto_20210609_0406.py | JoyMbugua/arifa | f3eaf5d710e537428f756e6f6b9a437337dc31c8 | [
"MIT"
] | null | null | null | users/migrations/0005_auto_20210609_0406.py | JoyMbugua/arifa | f3eaf5d710e537428f756e6f6b9a437337dc31c8 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.4 on 2021-06-09 04:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0004_rename_experince_customuser_experience'),
]
operations = [
migrations.RemoveField(
model_name='customuser',
na... | 22.038462 | 65 | 0.570681 | 50 | 573 | 6.4 | 0.6 | 0.196875 | 0.24375 | 0.28125 | 0.4125 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0.048969 | 0.322862 | 573 | 25 | 66 | 22.92 | 0.775773 | 0.078534 | 0 | 0.473684 | 1 | 0 | 0.19962 | 0.081749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
934135581e586ed1469f25a5c13dea0e569339d3 | 362 | py | Python | Flask/flask variable.py | nuvish04/Basic-Programming | a7ba600f71847974af4b84d1407613a045819edd | [
"MIT"
] | null | null | null | Flask/flask variable.py | nuvish04/Basic-Programming | a7ba600f71847974af4b84d1407613a045819edd | [
"MIT"
] | null | null | null | Flask/flask variable.py | nuvish04/Basic-Programming | a7ba600f71847974af4b84d1407613a045819edd | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route('/<name>')
def hello_name(name):
return 'Hello %s!' % name
@app.route('/<int:postID>')
def show_blog(postID):
return 'Blog Number %d' % postID
@app.route('/<float:revNo>')
def revision(revNo):
return 'Revision Number %f' % revNo
if __name__... | 25.857143 | 40 | 0.640884 | 50 | 362 | 4.36 | 0.5 | 0.110092 | 0.110092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185083 | 362 | 13 | 41 | 27.846154 | 0.738983 | 0 | 0 | 0 | 0 | 0 | 0.237822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9372d7ab202d03df353125963522f73e9fe9277f | 27,803 | py | Python | object_database/web/html/html_gen_tests.py | szymonlipinski/nativepython | 5f0bcc709b99a43681488f2753eccc2ac37a0334 | [
"Apache-2.0"
] | null | null | null | object_database/web/html/html_gen_tests.py | szymonlipinski/nativepython | 5f0bcc709b99a43681488f2753eccc2ac37a0334 | [
"Apache-2.0"
] | null | null | null | object_database/web/html/html_gen_tests.py | szymonlipinski/nativepython | 5f0bcc709b99a43681488f2753eccc2ac37a0334 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# Copyright 2017-2019 Nativepython Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 35.104798 | 81 | 0.679351 | 3,175 | 27,803 | 5.71874 | 0.087244 | 0.053203 | 0.156303 | 0.214463 | 0.584953 | 0.369389 | 0.358264 | 0.339649 | 0.055846 | 0.049678 | 0 | 0.002297 | 0.217207 | 27,803 | 791 | 82 | 35.149178 | 0.83197 | 0.025537 | 0 | 0.282958 | 0 | 0 | 0.040588 | 0 | 0 | 0 | 0 | 0 | 0.414791 | 1 | 0.231511 | false | 0.008039 | 0.006431 | 0 | 0.242765 | 0.016077 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fa9f8a2f13530c854a381f88af2853ee348b2de2 | 6,603 | py | Python | app/models.py | Linyameng/alphadata-dev | 7a48c9ddf24442a89f3f8ab1ba78e573c8844f26 | [
"Apache-2.0"
] | null | null | null | app/models.py | Linyameng/alphadata-dev | 7a48c9ddf24442a89f3f8ab1ba78e573c8844f26 | [
"Apache-2.0"
] | null | null | null | app/models.py | Linyameng/alphadata-dev | 7a48c9ddf24442a89f3f8ab1ba78e573c8844f26 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 2018/5/24
@author: xing yan
"""
from werkzeug.security import generate_password_hash, check_password_hash
from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
from flask_login import UserMixin, AnonymousUserMixin
from flask import current_app
from . import login... | 31.745192 | 93 | 0.642435 | 846 | 6,603 | 4.867612 | 0.211584 | 0.077708 | 0.097135 | 0.085478 | 0.458475 | 0.371054 | 0.332929 | 0.261778 | 0.171442 | 0.153473 | 0 | 0.028963 | 0.236559 | 6,603 | 207 | 94 | 31.898551 | 0.787939 | 0.00939 | 0 | 0.282209 | 1 | 0 | 0.054493 | 0.008113 | 0 | 0 | 0.003674 | 0 | 0 | 1 | 0.116564 | false | 0.07362 | 0.042945 | 0.04908 | 0.662577 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
faaa2604719746ddc0ce42eb366e103923ef0069 | 3,090 | py | Python | src/DH/State.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 30 | 2020-11-16T10:23:33.000Z | 2022-03-17T15:57:25.000Z | src/DH/State.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 4 | 2021-11-17T14:51:56.000Z | 2022-01-27T02:59:39.000Z | src/DH/State.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 9 | 2020-11-27T08:29:52.000Z | 2022-01-17T18:30:58.000Z | import numpy as np
from src.Map.Map import Map
from src.StateUtils import pad_centered
from src.base.BaseState import BaseState
class DHScenario:
def __init__(self):
self.device_idcs = []
self.device_data = []
self.position_idx = 0
self.movement_budget = 100
class DHState(BaseSta... | 30.594059 | 115 | 0.657282 | 429 | 3,090 | 4.463869 | 0.212121 | 0.062663 | 0.032898 | 0.040731 | 0.232376 | 0.160313 | 0.063708 | 0 | 0 | 0 | 0 | 0.013351 | 0.248544 | 3,090 | 100 | 116 | 30.9 | 0.81137 | 0.056634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.057971 | 0.144928 | 0.594203 | 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 |
fac2f24bb870ef0956155a2b9d7295df878bcc04 | 2,627 | py | Python | test/TestRelationalPickle.py | mjpan/pypatterns | 53346b047a4fd70bc8c6e72e45ce429a0d8706e0 | [
"BSD-3-Clause"
] | null | null | null | test/TestRelationalPickle.py | mjpan/pypatterns | 53346b047a4fd70bc8c6e72e45ce429a0d8706e0 | [
"BSD-3-Clause"
] | null | null | null | test/TestRelationalPickle.py | mjpan/pypatterns | 53346b047a4fd70bc8c6e72e45ce429a0d8706e0 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import with_statement
import os
import pickle
import sys
import unittest
import logging
APP_ROOT = os.getenv('APP_ROOT')
import currypy
#import pypatterns.filter as FilterModule
#import pypatterns.relational as RelationalModule
sys.path.insert(0,"../data")
class TestCase(unittest.TestCase):
"... | 23.247788 | 131 | 0.634945 | 256 | 2,627 | 6.4375 | 0.375 | 0.03034 | 0.043689 | 0.033981 | 0.115291 | 0.083738 | 0.083738 | 0.083738 | 0.083738 | 0 | 0 | 0.01134 | 0.261515 | 2,627 | 112 | 132 | 23.455357 | 0.838144 | 0.750666 | 0 | 0 | 0 | 0 | 0.064593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.388889 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
fae00e3c753818f7784da6239c617dcf39598ab5 | 115 | py | Python | gender_recognition/apps.py | JasonZhangHub/django_gender_app | 83155eb572f2651da6e829f369e474a44437a7cb | [
"MIT"
] | null | null | null | gender_recognition/apps.py | JasonZhangHub/django_gender_app | 83155eb572f2651da6e829f369e474a44437a7cb | [
"MIT"
] | null | null | null | gender_recognition/apps.py | JasonZhangHub/django_gender_app | 83155eb572f2651da6e829f369e474a44437a7cb | [
"MIT"
] | 1 | 2021-01-24T10:01:04.000Z | 2021-01-24T10:01:04.000Z | from django.apps import AppConfig
class GenderRecognitionConfig(AppConfig):
name = 'gender_recognition'
| 19.166667 | 42 | 0.765217 | 11 | 115 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 5 | 43 | 23 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 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 |
faf017c6abfefb9e8a3e97a89b37f655535ee6b5 | 4,480 | py | Python | vindauga/types/rect.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | 5 | 2019-07-03T16:01:46.000Z | 2021-12-22T10:01:04.000Z | vindauga/types/rect.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | null | null | null | vindauga/types/rect.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | 1 | 2020-09-22T14:25:13.000Z | 2020-09-22T14:25:13.000Z | # -*- coding: utf-8 -*-
from .point import Point
class Rect:
"""
A screen rectangular area.
`Rect` is used to hold two coordinates on the screen, which usually specify
the upper left corner and the lower right corner of views. Sometimes the
second coordinate specify the size (extension) of... | 34.461538 | 112 | 0.621205 | 587 | 4,480 | 4.693356 | 0.224872 | 0.083848 | 0.046461 | 0.033394 | 0.30127 | 0.184392 | 0.184392 | 0.12922 | 0.12922 | 0.045735 | 0 | 0.001542 | 0.276116 | 4,480 | 129 | 113 | 34.728682 | 0.84798 | 0.426116 | 0 | 0.097561 | 0 | 0.02439 | 0.050095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.317073 | false | 0 | 0.02439 | 0.121951 | 0.609756 | 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 |
fafedc75340ae24df03ac2ccb9a0f7d0f8e7fd8e | 320 | py | Python | examples/iris-scatterplot.py | chofchof/probml | de5796936dc3c2bd421c56387845f8e7a0b1670e | [
"MIT"
] | null | null | null | examples/iris-scatterplot.py | chofchof/probml | de5796936dc3c2bd421c56387845f8e7a0b1670e | [
"MIT"
] | null | null | null | examples/iris-scatterplot.py | chofchof/probml | de5796936dc3c2bd421c56387845f8e7a0b1670e | [
"MIT"
] | null | null | null | #https://seaborn.pydata.org/generated/seaborn.pairplot.html
import matplotlib.pyplot as plt
import os
import seaborn as sns; sns.set(style="ticks", color_codes=True)
iris = sns.load_dataset("iris")
#g = sns.pairplot(iris)
g = sns.pairplot(iris, hue="species")
plt.savefig(os.path.join('figures', 'iris-scatterplot.pdf')) | 40 | 63 | 0.759375 | 50 | 320 | 4.82 | 0.64 | 0.041494 | 0.06639 | 0.13278 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 320 | 8 | 64 | 40 | 0.814189 | 0.25 | 0 | 0 | 1 | 0 | 0.179916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4f01e86bc8b7ec760b05e26a0395521fcc686a6b | 132 | py | Python | URI/1009.py | Diiego2202/Python | ba77bc942f344b84af1211ca94d1e5d4eed6192c | [
"MIT"
] | null | null | null | URI/1009.py | Diiego2202/Python | ba77bc942f344b84af1211ca94d1e5d4eed6192c | [
"MIT"
] | null | null | null | URI/1009.py | Diiego2202/Python | ba77bc942f344b84af1211ca94d1e5d4eed6192c | [
"MIT"
] | null | null | null | name = str(input())
salary = float(input())
sales = float(input())
total = salary + (sales * 0.15)
print(f'TOTAL = R$ {total:.2f}') | 26.4 | 33 | 0.613636 | 20 | 132 | 4.05 | 0.65 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.151515 | 132 | 5 | 33 | 26.4 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f057e30a92924a3908e5debeed19775b397bc05 | 1,174 | py | Python | com/kakao/cafe/menu/smoothie/berryBerrySmoothie.py | roseonghwan/kakao-cafe | 39ed9227f48ab329eccc27ccf11535e843a35f4c | [
"MIT"
] | 2 | 2020-04-04T22:49:03.000Z | 2020-05-15T09:59:34.000Z | com/kakao/cafe/menu/smoothie/berryBerrySmoothie.py | bamin0422/kakao-cafe | f5aca5f6eaf3637eca6af136157f53737c0bffc8 | [
"MIT"
] | null | null | null | com/kakao/cafe/menu/smoothie/berryBerrySmoothie.py | bamin0422/kakao-cafe | f5aca5f6eaf3637eca6af136157f53737c0bffc8 | [
"MIT"
] | null | null | null | from com.kakao.cafe.menu.smoothie.smoothie import Smoothie
class BerryBerrySmoothie(Smoothie):
def __init__(self):
super().__init__()
self.__mixedBerry = 1
self.name = 'BerryBerrySmoothie'
self.__price = 5000
self.__groundIce = 400
def getName(self) -> str:
ret... | 24.458333 | 58 | 0.61414 | 127 | 1,174 | 5.456693 | 0.322835 | 0.07215 | 0.063492 | 0.073593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013064 | 0.282794 | 1,174 | 47 | 59 | 24.978723 | 0.809976 | 0 | 0 | 0.058824 | 0 | 0 | 0.015332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.029412 | 0.029412 | 0.117647 | 0.617647 | 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 |
4f0d97f0ee55017a0768dfe832ca094866f6c834 | 2,609 | py | Python | readme.py | mungojelly/Fifth-Dimensional-Chaos-Matrix | 67353c5c858747ebb11cb2a31d996adf4f7a5a19 | [
"Unlicense"
] | null | null | null | readme.py | mungojelly/Fifth-Dimensional-Chaos-Matrix | 67353c5c858747ebb11cb2a31d996adf4f7a5a19 | [
"Unlicense"
] | null | null | null | readme.py | mungojelly/Fifth-Dimensional-Chaos-Matrix | 67353c5c858747ebb11cb2a31d996adf4f7a5a19 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
import re
import random
alternatives_bracket = re.compile(r'\[([^/]*)/([^\]]*)\]') # thar be dragons! explanation:
# \[ open bracket
# ([^/]*) first group, goes up to a slash
# / the slash
# ([^\]]*) second group, goes up to the closing bracket
# \] closing bracket
# so it parses thi... | 35.739726 | 96 | 0.693752 | 383 | 2,609 | 4.684073 | 0.475196 | 0.010033 | 0.093645 | 0.120401 | 0.220178 | 0.118172 | 0.118172 | 0.118172 | 0.118172 | 0.118172 | 0 | 0.001297 | 0.113453 | 2,609 | 72 | 97 | 36.236111 | 0.774319 | 0.099655 | 0 | 0 | 0 | 0.333333 | 0.874359 | 0.119658 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044444 | null | null | 0.022222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
87828909e894532ec5854a10556435279e53bd5c | 73 | py | Python | CadeMinhaPasta/teste.py | RafaelContact/pythonProject | a121274d944334a10a13635e8f7107e682e7b51e | [
"MIT"
] | null | null | null | CadeMinhaPasta/teste.py | RafaelContact/pythonProject | a121274d944334a10a13635e8f7107e682e7b51e | [
"MIT"
] | null | null | null | CadeMinhaPasta/teste.py | RafaelContact/pythonProject | a121274d944334a10a13635e8f7107e682e7b51e | [
"MIT"
] | null | null | null | nome = str(input('Digite seu nome : '))
print(f'Voce digitou {nome:^40}') | 36.5 | 39 | 0.657534 | 12 | 73 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.123288 | 73 | 2 | 40 | 36.5 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.554054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
878a64ac74a418968710554f64586de1135b1f15 | 272 | py | Python | deco/sinks/sink.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 1 | 2019-09-05T07:23:19.000Z | 2019-09-05T07:23:19.000Z | deco/sinks/sink.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 2 | 2020-10-25T17:41:08.000Z | 2020-10-26T16:48:19.000Z | deco/sinks/sink.py | mfojtak/deco | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Sink(ABC):
@abstractmethod
def __iter__(self):
pass
def eval(self):
it = iter(self)
while True:
try:
next(it)
except StopIteration:
break | 20.923077 | 35 | 0.507353 | 27 | 272 | 4.962963 | 0.703704 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.422794 | 272 | 13 | 36 | 20.923077 | 0.853503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.083333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8791f6060021c6fbc9d14f45c0a0ef2ad9c6cfd3 | 379 | py | Python | 2312.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | 3 | 2021-09-21T18:50:20.000Z | 2021-12-14T13:07:31.000Z | 2312.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | 2312.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | d=dict()
for _ in range(int(input())):
s=input().split(' ',1)
d[s[0]]=list(map(int,s[1].split()))
d=dict(sorted(d.items(), key=lambda x: x[0]))
d=dict(sorted(d.items(), key=lambda x: x[1][2],reverse=True))
d=dict(sorted(d.items(), key=lambda x: x[1][1],reverse=True))
d=dict(sorted(d.items(), key=lambda x: x[1][... | 37.9 | 61 | 0.609499 | 79 | 379 | 2.911392 | 0.316456 | 0.108696 | 0.191304 | 0.208696 | 0.595652 | 0.595652 | 0.595652 | 0.595652 | 0.595652 | 0.473913 | 0 | 0.02924 | 0.097625 | 379 | 9 | 62 | 42.111111 | 0.643275 | 0 | 0 | 0 | 0 | 0 | 0.005277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
87950c60eb494cf1f198e4cce1bdd1bcdbbe72c8 | 207 | py | Python | shopping_mall/order/admin.py | djangojeng-e/djangoproejcts | 1efc3bc04a4a1bef039c906584cfecf0231c177f | [
"MIT"
] | null | null | null | shopping_mall/order/admin.py | djangojeng-e/djangoproejcts | 1efc3bc04a4a1bef039c906584cfecf0231c177f | [
"MIT"
] | null | null | null | shopping_mall/order/admin.py | djangojeng-e/djangoproejcts | 1efc3bc04a4a1bef039c906584cfecf0231c177f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Order
# Register your models here.
class OrderAdmin(admin.ModelAdmin):
list_display = ('fcuser', 'product')
admin.site.register(Order, OrderAdmin) | 20.7 | 40 | 0.763285 | 26 | 207 | 6.038462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 10 | 41 | 20.7 | 0.877095 | 0.125604 | 0 | 0 | 0 | 0 | 0.072222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
87dd0b439ee2fef440fad292b843948746f20427 | 410 | py | Python | src/pds_doi_service/core/input/test/__init__.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 2 | 2020-11-03T19:29:11.000Z | 2021-09-26T01:42:41.000Z | src/pds_doi_service/core/input/test/__init__.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 222 | 2020-05-07T21:05:23.000Z | 2021-12-16T22:14:54.000Z | src/pds_doi_service/core/input/test/__init__.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
"""
Planetary Data System's Digital Object Identifier service — tests for core inputs
"""
import unittest
from . import input_util_test
from . import read_bundle
def suite():
suite = unittest.TestSuite()
suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(input_util_test))
sui... | 25.625 | 83 | 0.782927 | 49 | 410 | 6.44898 | 0.632653 | 0.063291 | 0.082278 | 0.240506 | 0.360759 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002817 | 0.134146 | 410 | 15 | 84 | 27.333333 | 0.884507 | 0.239024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
87ecac8beb3cf633c10acf0a4e7b8f2882dfaf83 | 97 | py | Python | reputation/__init__.py | kabirkbr/reputation | 2ac3a74860d57e41c2b0c8a99c36f82c183a29b3 | [
"MIT"
] | null | null | null | reputation/__init__.py | kabirkbr/reputation | 2ac3a74860d57e41c2b0c8a99c36f82c183a29b3 | [
"MIT"
] | null | null | null | reputation/__init__.py | kabirkbr/reputation | 2ac3a74860d57e41c2b0c8a99c36f82c183a29b3 | [
"MIT"
] | null | null | null | name = "reputation"
from reputation.aigents_reputation_api import AigentsAPIReputationService
| 16.166667 | 73 | 0.85567 | 9 | 97 | 9 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 5 | 74 | 19.4 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
87f280635f61d74266430e2e53d0c128a4ee6581 | 183 | py | Python | tests/schema_mapping/structures/example6.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 14 | 2018-02-14T13:28:47.000Z | 2022-02-12T08:03:21.000Z | tests/schema_mapping/structures/example6.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 142 | 2017-11-22T14:02:33.000Z | 2022-03-23T21:26:29.000Z | tests/schema_mapping/structures/example6.py | loyada/typed-py | 8f946ed0cddb38bf7fd463a4c8111a592ccae31a | [
"MIT"
] | 4 | 2017-12-14T16:46:45.000Z | 2021-12-15T16:33:31.000Z | from typedpy import Structure, mappers
class Example6(Structure):
a: int
ssss_ttt: str
_serialization_mapper = [{"a": "bb_cc"}, mappers.TO_CAMELCASE, {"ssssTtt": "x"}]
| 20.333333 | 84 | 0.677596 | 23 | 183 | 5.173913 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.180328 | 183 | 8 | 85 | 22.875 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0.076503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
354d2f0cd60f9fd4dca95b2ebd502f197565ab60 | 172 | py | Python | python_end/main_controller.py | divyansh9711/python-socket.io | 5bb8d7b30a6f6702fb57aad9c976d738ef55f308 | [
"MIT"
] | null | null | null | python_end/main_controller.py | divyansh9711/python-socket.io | 5bb8d7b30a6f6702fb57aad9c976d738ef55f308 | [
"MIT"
] | null | null | null | python_end/main_controller.py | divyansh9711/python-socket.io | 5bb8d7b30a6f6702fb57aad9c976d738ef55f308 | [
"MIT"
] | null | null | null | import obs,parenty,socket_controller,threading
def callObs():
obs.main()
socket_controller.init_comm_file()
t = threading.Thread(target = callObs, args=())
t.start()
| 19.111111 | 47 | 0.75 | 23 | 172 | 5.434783 | 0.73913 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110465 | 172 | 8 | 48 | 21.5 | 0.816993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 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 |
356f9dc5823674e108aed6db86417aef190a72ca | 211 | py | Python | tests/app.py | vortec/hug_sentry | d306d57489f5e2ca914b60fda385b9183f80dea6 | [
"MIT"
] | 5 | 2017-05-26T14:19:52.000Z | 2018-10-04T12:52:46.000Z | tests/app.py | vortec/hug_sentry | d306d57489f5e2ca914b60fda385b9183f80dea6 | [
"MIT"
] | 1 | 2017-11-14T22:17:03.000Z | 2017-11-14T22:17:03.000Z | tests/app.py | vortec/hug_sentry | d306d57489f5e2ca914b60fda385b9183f80dea6 | [
"MIT"
] | 5 | 2017-11-14T15:31:09.000Z | 2021-07-16T17:43:40.000Z | import hug
@hug.get('/fail')
def fail(request, amount: hug.types.number):
amount / 0
@hug.get('/routing_fail/{amount}')
def routing_fail(request, amount: hug.types.number):
raise Exception("Oh no!")
| 17.583333 | 52 | 0.682464 | 31 | 211 | 4.580645 | 0.483871 | 0.084507 | 0.239437 | 0.28169 | 0.43662 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.14218 | 211 | 11 | 53 | 19.181818 | 0.779006 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 0.104265 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
357958f9cb6e4c939465a1f8d0ad0956bfb82a93 | 55 | py | Python | helper.py | luket4/cs3240-labdemo | c59a92ae6808ec3e0de923e8a99784f8c8f18783 | [
"MIT"
] | null | null | null | helper.py | luket4/cs3240-labdemo | c59a92ae6808ec3e0de923e8a99784f8c8f18783 | [
"MIT"
] | null | null | null | helper.py | luket4/cs3240-labdemo | c59a92ae6808ec3e0de923e8a99784f8c8f18783 | [
"MIT"
] | null | null | null | __author__ = 'lat9wj'
def greeting(msg):
print(msg) | 18.333333 | 21 | 0.690909 | 7 | 55 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.163636 | 55 | 3 | 22 | 18.333333 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
357ba0f2710fef68ef622767a750427d4310c4af | 89 | py | Python | stonesoup/metricgenerator/__init__.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 157 | 2019-04-14T20:43:11.000Z | 2022-03-30T08:30:33.000Z | stonesoup/metricgenerator/__init__.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 364 | 2019-04-18T15:54:49.000Z | 2022-03-31T09:50:02.000Z | stonesoup/metricgenerator/__init__.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 86 | 2019-04-20T02:01:18.000Z | 2022-03-28T01:03:11.000Z | # -*- coding: utf-8 -*-
from .base import MetricGenerator
__all__ = ['MetricGenerator']
| 17.8 | 33 | 0.685393 | 9 | 89 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.146067 | 89 | 4 | 34 | 22.25 | 0.736842 | 0.235955 | 0 | 0 | 0 | 0 | 0.227273 | 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 |
35a3262bfe735ec0c49e19d9cf6345406cf61c9f | 632 | py | Python | src/color_selector.py | khushi-411/air-handwriting-detection-and-recognition | fd820fae906410440020581030a9b8d2058005f0 | [
"MIT"
] | 1 | 2022-03-31T10:50:07.000Z | 2022-03-31T10:50:07.000Z | src/color_selector.py | prabhatk579/air-handwriting-detection-and-recognition | fd820fae906410440020581030a9b8d2058005f0 | [
"MIT"
] | null | null | null | src/color_selector.py | prabhatk579/air-handwriting-detection-and-recognition | fd820fae906410440020581030a9b8d2058005f0 | [
"MIT"
] | 1 | 2021-05-10T13:19:55.000Z | 2021-05-10T13:19:55.000Z | import cv2
def color_detector():
def setValues(x):
print("")
# creating a window for HUE selector
cv2.namedWindow("Color detectors")
cv2.createTrackbar("Upper Hue", "Color detectors", 153, 180, setValues)
cv2.createTrackbar("Upper Saturation", "Color detectors", 255, 255, setValues)
... | 42.133333 | 83 | 0.696203 | 73 | 632 | 6.013699 | 0.369863 | 0.223235 | 0.296128 | 0.198178 | 0.298405 | 0.209567 | 0.209567 | 0 | 0 | 0 | 0 | 0.078544 | 0.174051 | 632 | 14 | 84 | 45.142857 | 0.762452 | 0.053797 | 0 | 0 | 0 | 0 | 0.29698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
35c4df88dca111c9d16ae77c0379cd4658640821 | 10,498 | py | Python | ambari-server/src/test/python/TestStackFeature.py | AliceXiaoLu/ambari | 2fd0d503de923d7049d462d935977497549ea2dd | [
"Apache-2.0"
] | 1 | 2019-02-18T12:37:01.000Z | 2019-02-18T12:37:01.000Z | ambari-server/src/test/python/TestStackFeature.py | AliceXiaoLu/ambari | 2fd0d503de923d7049d462d935977497549ea2dd | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/TestStackFeature.py | AliceXiaoLu/ambari | 2fd0d503de923d7049d462d935977497549ea2dd | [
"Apache-2.0"
] | null | null | null | # !/usr/bin/env python
'''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"... | 30.253602 | 125 | 0.638026 | 1,168 | 10,498 | 5.506849 | 0.15411 | 0.113806 | 0.115205 | 0.047886 | 0.743004 | 0.720771 | 0.700404 | 0.668221 | 0.623134 | 0.602146 | 0 | 0.034344 | 0.240046 | 10,498 | 346 | 126 | 30.34104 | 0.771873 | 0.202229 | 0 | 0.550218 | 0 | 0 | 0.293849 | 0 | 0 | 0 | 0 | 0 | 0.052402 | 1 | 0.052402 | false | 0.004367 | 0.030568 | 0 | 0.113537 | 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 |
35cc787daeed70fe813dfbfc4783ac7b2713c344 | 347 | py | Python | objects_and_classes/exercise/01_storage.py | Galchov/python-fundamentals | 4939bdd1c66a7b458fd9ffd0a01d714de26724b5 | [
"MIT"
] | null | null | null | objects_and_classes/exercise/01_storage.py | Galchov/python-fundamentals | 4939bdd1c66a7b458fd9ffd0a01d714de26724b5 | [
"MIT"
] | null | null | null | objects_and_classes/exercise/01_storage.py | Galchov/python-fundamentals | 4939bdd1c66a7b458fd9ffd0a01d714de26724b5 | [
"MIT"
] | null | null | null | class Storage:
__storage = 0
def __init__(self, capacity):
self.capacity = capacity
self.storage = []
def add_product(self, product):
if not Storage.__storage == self.capacity:
self.storage.append(product)
Storage.__storage += 1
def get_products(self):
... | 24.785714 | 50 | 0.608069 | 38 | 347 | 5.236842 | 0.421053 | 0.211055 | 0.160804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00823 | 0.299712 | 347 | 14 | 51 | 24.785714 | 0.8107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ea0e90a03d782db18679bf37dc621aa0170c5579 | 195 | py | Python | src/python/stup/packet/syn.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 14 | 2017-05-06T10:14:32.000Z | 2018-07-17T02:58:00.000Z | src/python/stup/packet/syn.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 2 | 2017-06-13T05:40:18.000Z | 2017-06-13T16:23:01.000Z | src/python/stup/packet/syn.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 4 | 2017-06-09T20:20:54.000Z | 2018-07-17T02:58:10.000Z | #!/usr/bin/python
from .packet import Packet
class SynPacket(Packet):
def __init__(self, *args, **kwargs):
super(self.__class__, self).__init__(*args, **kwargs)
self.syn = 1
| 24.375 | 61 | 0.651282 | 25 | 195 | 4.6 | 0.64 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.194872 | 195 | 7 | 62 | 27.857143 | 0.726115 | 0.082051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ea122ca52d222eeb6b1d69edeb3ab4e156d71648 | 150 | py | Python | examples/counter/send_one.py | ptcrews/p4-mininet-tutorials | 2e857053ba5cb9e90af11690d5cdd1116ec790fd | [
"Apache-2.0"
] | 23 | 2018-06-26T11:06:24.000Z | 2022-03-07T02:59:49.000Z | examples/counter/send_one.py | ptcrews/p4-mininet-tutorials | 2e857053ba5cb9e90af11690d5cdd1116ec790fd | [
"Apache-2.0"
] | null | null | null | examples/counter/send_one.py | ptcrews/p4-mininet-tutorials | 2e857053ba5cb9e90af11690d5cdd1116ec790fd | [
"Apache-2.0"
] | 104 | 2018-03-29T09:17:35.000Z | 2022-03-31T05:35:11.000Z | from scapy.all import *
p = Ether(src="aa:bb:cc:dd:ee:ff") / IP(dst="10.0.1.10") / TCP() / "aaaaaaaaaaaaaaaa"
sendp(p, iface = "veth1", verbose = 0)
| 30 | 85 | 0.62 | 27 | 150 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 0.14 | 150 | 4 | 86 | 37.5 | 0.658915 | 0 | 0 | 0 | 0 | 0 | 0.313333 | 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 |
ea2fd5a9ca11f8e606cd0c00b00a68094fc47265 | 19 | py | Python | server/Original/test/__init__.py | izhuxin/AR.Drone | 7e81e6e6cbcb723282d46793727cf5572daacdd5 | [
"MIT"
] | null | null | null | server/Original/test/__init__.py | izhuxin/AR.Drone | 7e81e6e6cbcb723282d46793727cf5572daacdd5 | [
"MIT"
] | null | null | null | server/Original/test/__init__.py | izhuxin/AR.Drone | 7e81e6e6cbcb723282d46793727cf5572daacdd5 | [
"MIT"
] | null | null | null | __author__ = 'mty'
| 9.5 | 18 | 0.684211 | 2 | 19 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ea5da4cd83519a23b96841a207769c7fca6b9434 | 156 | py | Python | authors/apps/authentication/renderers.py | AmosWels/ah-django | 5b8e39053d63f1dfb3c14066b163a1d37af91076 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/authentication/renderers.py | AmosWels/ah-django | 5b8e39053d63f1dfb3c14066b163a1d37af91076 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/authentication/renderers.py | AmosWels/ah-django | 5b8e39053d63f1dfb3c14066b163a1d37af91076 | [
"BSD-3-Clause"
] | null | null | null | import json
from authors.apps.core.renderers import AuthorsJSONRenderer
class UserJSONRenderer(AuthorsJSONRenderer):
object_label = 'user'
| 15.6 | 59 | 0.762821 | 15 | 156 | 7.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 9 | 60 | 17.333333 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 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 |
ea5dcc8538d1e78b574a93724a94dc2e0ccc70a2 | 1,374 | py | Python | deepchem/splits/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 3,782 | 2016-02-21T03:53:11.000Z | 2022-03-31T16:10:26.000Z | deepchem/splits/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 2,666 | 2016-02-11T01:54:54.000Z | 2022-03-31T11:14:33.000Z | deepchem/splits/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 1,597 | 2016-02-21T03:10:08.000Z | 2022-03-30T13:21:28.000Z | """
Gathers all splitters in one place for convenient imports
"""
# flake8: noqa
# basic splitter
from deepchem.splits.splitters import Splitter
from deepchem.splits.splitters import RandomSplitter
from deepchem.splits.splitters import RandomStratifiedSplitter
from deepchem.splits.splitters import RandomGroupSplitter
... | 35.230769 | 80 | 0.756914 | 138 | 1,374 | 7.434783 | 0.434783 | 0.163743 | 0.245614 | 0.315789 | 0.479532 | 0.190058 | 0 | 0 | 0 | 0 | 0 | 0.000812 | 0.104076 | 1,374 | 38 | 81 | 36.157895 | 0.832656 | 0.095342 | 0 | 0 | 0 | 0 | 0.095368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.8 | 0 | 0.9 | 0.05 | 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 |
ea696533964403fa01e41389b95b83bca99ab5a5 | 290 | py | Python | 03-Template-basics/05-url_for-help-func.py | alehpineda/flask_bootcamp | 7310bf093be61f33567c6d8ffd710a29e35004cd | [
"MIT"
] | null | null | null | 03-Template-basics/05-url_for-help-func.py | alehpineda/flask_bootcamp | 7310bf093be61f33567c6d8ffd710a29e35004cd | [
"MIT"
] | 3 | 2021-02-08T20:38:44.000Z | 2021-06-02T00:46:15.000Z | 03-Template-basics/05-url_for-help-func.py | alehpineda/flask_bootcamp | 7310bf093be61f33567c6d8ffd710a29e35004cd | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('home.html')
@app.route('/puppy/<name>')
def pup_name(name):
return render_template('puppy.html', name=name)
if __name__ == "__main__":
app.run(debug=True)
| 16.111111 | 51 | 0.686207 | 40 | 290 | 4.575 | 0.5 | 0.229508 | 0.218579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148276 | 290 | 17 | 52 | 17.058824 | 0.740891 | 0 | 0 | 0 | 0 | 0 | 0.141379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.2 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ea82af2b37e751d39ddc0de2556369951524e89d | 217 | py | Python | QASMParser/codegraph/errors.py | oerc0122/QASMParser | 701b6f25f498ea67670f2d85ae0f2e6920aea267 | [
"MIT"
] | 5 | 2019-05-10T08:17:57.000Z | 2021-12-19T05:06:18.000Z | QASMParser/codegraph/errors.py | oerc0122/QASMParser | 701b6f25f498ea67670f2d85ae0f2e6920aea267 | [
"MIT"
] | 14 | 2019-04-11T11:28:08.000Z | 2020-02-13T15:18:56.000Z | QASMParser/codegraph/errors.py | oerc0122/QASMParser | 701b6f25f498ea67670f2d85ae0f2e6920aea267 | [
"MIT"
] | 2 | 2019-05-10T08:17:23.000Z | 2021-12-18T16:37:02.000Z | """
Errors relating to partitioning
"""
# Partitioning
partitionWarning = ("Partitioning suggests no partitions.\n"
"Recommend running with different partitioning method or disable partitioning")
| 27.125 | 99 | 0.723502 | 20 | 217 | 7.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202765 | 217 | 7 | 100 | 31 | 0.907514 | 0.207373 | 0 | 0 | 0 | 0 | 0.695122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.