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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c767a30a144f00ed374a25303b7bc5a67257ead0 | 205 | py | Python | DeepBrainSeg/tumor/models/__init__.py | JasperHG90/DeepBrainSeg | 92cf5f758f115e7ac51202966a1287fb58c09d78 | [
"MIT"
] | 130 | 2019-04-09T02:35:44.000Z | 2022-02-26T15:53:19.000Z | DeepBrainSeg/tumor/models/__init__.py | koriavinash1/DeepMedX | 02fcee6d7b21b16e7f1e28089f24be56ef6b9383 | [
"MIT"
] | 11 | 2019-09-18T03:55:29.000Z | 2021-01-03T13:11:20.000Z | DeepBrainSeg/tumor/models/__init__.py | koriavinash1/DeepMedX | 02fcee6d7b21b16e7f1e28089f24be56ef6b9383 | [
"MIT"
] | 38 | 2018-11-28T01:34:41.000Z | 2022-01-17T03:53:47.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
__license__ = 'MIT'
__maintainer__ = ['Avinash Kori']
__email__ = ['koriavinash1@gmail.com']
| 20.5 | 38 | 0.804878 | 23 | 205 | 6.043478 | 0.695652 | 0.215827 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.121951 | 205 | 9 | 39 | 22.777778 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.180488 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c786fa48ae248c13f410e430635f37e4a4f24376 | 262 | py | Python | src/panel_components/html/widgets/html_widget.py | MarcSkovMadsen/panel-components | ca176f605006165889cbbd3c775d24cdcc4f964d | [
"MIT"
] | 5 | 2020-09-30T03:10:33.000Z | 2022-02-04T19:54:58.000Z | src/panel_components/html/widgets/html_widget.py | MarcSkovMadsen/panel-components | ca176f605006165889cbbd3c775d24cdcc4f964d | [
"MIT"
] | null | null | null | src/panel_components/html/widgets/html_widget.py | MarcSkovMadsen/panel-components | ca176f605006165889cbbd3c775d24cdcc4f964d | [
"MIT"
] | 1 | 2021-11-08T19:00:45.000Z | 2021-11-08T19:00:45.000Z | """# HTML Widget Functionality
Provides the HTMLWidget and HTMLWidgetGenerator
"""
from ..html_component import HTMLComponent
class HTMLWidget(HTMLComponent): # pylint: disable=too-few-public-methods
"""Your HTML Widgets should inherits this"""
| 26.2 | 75 | 0.748092 | 28 | 262 | 6.964286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 262 | 9 | 76 | 29.111111 | 0.886364 | 0.591603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7909d919579d52dae1f4fe4462677d9cae0c51a | 116 | py | Python | chapter2/2.6/bit_operator_test.py | yifengyou/crazy-python | 28099bd5011de6981a7c5412783952cc7601ae0c | [
"Unlicense"
] | null | null | null | chapter2/2.6/bit_operator_test.py | yifengyou/crazy-python | 28099bd5011de6981a7c5412783952cc7601ae0c | [
"Unlicense"
] | null | null | null | chapter2/2.6/bit_operator_test.py | yifengyou/crazy-python | 28099bd5011de6981a7c5412783952cc7601ae0c | [
"Unlicense"
] | null | null | null | # coding:utf-8
# File Name: bit_operator_test
# Author : yifengyou
# Date : 2021/07/18
print(5|9) | 19.333333 | 34 | 0.594828 | 17 | 116 | 3.941176 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0.284483 | 116 | 6 | 35 | 19.333333 | 0.674699 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c7b54019a134bb6e8bc02f338ba886bd180dd55e | 11,249 | py | Python | src/python/magnum/test/test_primitives.py | hi-ogawa/magnum-bindings | 5f324bdcde828d9ffc3bcd8e562480875586c54b | [
"MIT"
] | null | null | null | src/python/magnum/test/test_primitives.py | hi-ogawa/magnum-bindings | 5f324bdcde828d9ffc3bcd8e562480875586c54b | [
"MIT"
] | null | null | null | src/python/magnum/test/test_primitives.py | hi-ogawa/magnum-bindings | 5f324bdcde828d9ffc3bcd8e562480875586c54b | [
"MIT"
] | null | null | null | #
# This file is part of Magnum.
#
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
# Vladimír Vondruš <mosra@centrum.cz>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
#... | 39.470175 | 133 | 0.694195 | 1,383 | 11,249 | 5.503254 | 0.142444 | 0.088687 | 0.072921 | 0.121535 | 0.738668 | 0.725266 | 0.716857 | 0.700959 | 0.640389 | 0.631454 | 0 | 0.024377 | 0.194062 | 11,249 | 284 | 134 | 39.609155 | 0.815023 | 0.106676 | 0 | 0.657277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.535211 | 1 | 0.173709 | false | 0 | 0.014085 | 0 | 0.253521 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7e66c47301e10837b405b0fcb38d1cf7669716a | 44 | py | Python | static/downloads/WunderCan Installer.app/Contents/Resources/WunderCan.app/Contents/Resources/canvasToWunderDaemon/venv27/lib/python2.7/site-packages/mechanize/_version.py | colflah/wunderCan | af4e3211d8d17c2dd786836ac6b634037b86a8fd | [
"CC-BY-3.0"
] | null | null | null | static/downloads/WunderCan Installer.app/Contents/Resources/WunderCan.app/Contents/Resources/canvasToWunderDaemon/venv27/lib/python2.7/site-packages/mechanize/_version.py | colflah/wunderCan | af4e3211d8d17c2dd786836ac6b634037b86a8fd | [
"CC-BY-3.0"
] | null | null | null | static/downloads/WunderCan Installer.app/Contents/Resources/WunderCan.app/Contents/Resources/canvasToWunderDaemon/venv27/lib/python2.7/site-packages/mechanize/_version.py | colflah/wunderCan | af4e3211d8d17c2dd786836ac6b634037b86a8fd | [
"CC-BY-3.0"
] | null | null | null | "0.3.3"
__version__ = (0, 3, 3, None, None)
| 14.666667 | 35 | 0.568182 | 9 | 44 | 2.333333 | 0.444444 | 0.190476 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.181818 | 44 | 2 | 36 | 22 | 0.416667 | 0.113636 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7ec84f893de35cc98066a893bba638791662093 | 342 | py | Python | laa_court_data_api_app/models/ping.py | ministryofjustice/laa-court-data-api | 2e79faac7469f0b31ecca0539906d281db08f86c | [
"MIT"
] | 1 | 2022-01-27T14:28:40.000Z | 2022-01-27T14:28:40.000Z | laa_court_data_api_app/models/ping.py | ministryofjustice/laa-court-data-api | 2e79faac7469f0b31ecca0539906d281db08f86c | [
"MIT"
] | 16 | 2022-01-28T11:01:27.000Z | 2022-03-30T14:01:11.000Z | laa_court_data_api_app/models/ping.py | ministryofjustice/laa-court-data-api | 2e79faac7469f0b31ecca0539906d281db08f86c | [
"MIT"
] | null | null | null | from typing import Optional
from pydantic import BaseModel, Field
class Ping(BaseModel):
app_branch: Optional[str] = Field(None, example='test_branch')
build_date: Optional[str] = Field(None, example='02022022')
build_tag: Optional[str] = Field(None, example='test')
commit_id: Optional[str] = Field(No... | 34.2 | 66 | 0.72807 | 45 | 342 | 5.422222 | 0.488889 | 0.180328 | 0.262295 | 0.327869 | 0.47541 | 0.254098 | 0 | 0 | 0 | 0 | 0 | 0.047782 | 0.143275 | 342 | 9 | 67 | 38 | 0.784983 | 0 | 0 | 0 | 0 | 0 | 0.084795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4027cc09474dbbcb9b5be9471e8f876319d47b20 | 149 | py | Python | code/Dist.py | asdqwe12011/Medical-Datasets-Classification | 1f50326e0cc0c08e7e94a0dede771ebb58f6998f | [
"MIT"
] | null | null | null | code/Dist.py | asdqwe12011/Medical-Datasets-Classification | 1f50326e0cc0c08e7e94a0dede771ebb58f6998f | [
"MIT"
] | null | null | null | code/Dist.py | asdqwe12011/Medical-Datasets-Classification | 1f50326e0cc0c08e7e94a0dede771ebb58f6998f | [
"MIT"
] | null | null | null | import numpy as np
euclidean = lambda x1, x2: np.sqrt(np.sum((x1 - x2) ** 2, axis=-1))
manhattan = lambda x1, x2: np.sum(np.abs(x1 - x2), axis=-1)
| 24.833333 | 67 | 0.624161 | 29 | 149 | 3.206897 | 0.517241 | 0.172043 | 0.215054 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 0.174497 | 149 | 5 | 68 | 29.8 | 0.666667 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
402fa81dd2cde4b44c27243ea592f6ebf9b8ead5 | 5,876 | py | Python | python/test.py | dailymotion/chash | 6083ba13b98f2e35cf26ac2ca229cb679b55abde | [
"MIT"
] | 9 | 2015-02-19T16:26:48.000Z | 2018-12-27T07:54:46.000Z | python/test.py | dailymotion/chash | 6083ba13b98f2e35cf26ac2ca229cb679b55abde | [
"MIT"
] | 3 | 2016-07-11T21:21:49.000Z | 2017-03-04T12:44:57.000Z | python/test.py | dailymotion/chash | 6083ba13b98f2e35cf26ac2ca229cb679b55abde | [
"MIT"
] | 4 | 2015-06-10T09:25:43.000Z | 2019-08-22T11:05:03.000Z | #!/usr/bin/python
import unittest
import chash
import os
from hashlib import md5
class TestCHash(unittest.TestCase):
def test_add_target(self):
c = chash.CHash()
self.failUnlessEqual(c.add_target("192.168.0.1"), None)
self.failUnlessEqual(c.count_targets(), 1)
def test_set_targets(... | 37.909677 | 107 | 0.614364 | 878 | 5,876 | 3.980638 | 0.068337 | 0.125322 | 0.146209 | 0.141345 | 0.880401 | 0.857797 | 0.811731 | 0.79628 | 0.721888 | 0.59628 | 0 | 0.145629 | 0.201838 | 5,876 | 154 | 108 | 38.155844 | 0.599574 | 0.038972 | 0 | 0.566667 | 0 | 0 | 0.149415 | 0.005672 | 0 | 0 | 0 | 0.006494 | 0.016667 | 1 | 0.083333 | false | 0 | 0.033333 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 5 |
407165da7ea10b881b66e58e7ae0ee18da673707 | 130 | py | Python | training/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 36 | 2019-11-26T11:46:32.000Z | 2022-02-17T13:18:18.000Z | training/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 13 | 2020-02-14T09:30:16.000Z | 2022-03-12T00:58:09.000Z | training/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 16 | 2019-06-14T12:11:29.000Z | 2022-02-14T15:16:07.000Z | from django.contrib import admin
# Register your models here.
from training.models import Training
admin.site.register(Training) | 21.666667 | 36 | 0.823077 | 18 | 130 | 5.944444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 6 | 37 | 21.666667 | 0.930435 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40724eacd6e5a4fbe49ee8d5d63a0943967aea58 | 508 | py | Python | spec/construct/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/construct/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/construct/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from repeat_n_struct import _schema
class TestRepeatNStruct(unittest.TestCase):
def test_repeat_n_struct(self):
r = _schema.parse_file('src/repeat_n_struct.bin')
self.assertEqual(len(r.chunks), 2)
... | 33.866667 | 77 | 0.706693 | 74 | 508 | 4.716216 | 0.554054 | 0.2149 | 0.183381 | 0.252149 | 0.26361 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040865 | 0.181102 | 508 | 14 | 78 | 36.285714 | 0.798077 | 0.147638 | 0 | 0 | 1 | 0 | 0.053364 | 0.053364 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40941aa3a60935471182d7834353ccf52abbd7b9 | 31 | py | Python | tests/net.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | null | null | null | tests/net.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | 3 | 2019-04-27T06:34:34.000Z | 2019-04-27T21:29:31.000Z | tests/net.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | null | null | null | import trio.testing
import net
| 10.333333 | 19 | 0.83871 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 20 | 15.5 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
40ec28f38697d41a33df2dbaaaba85d981d3d1dc | 47 | py | Python | lambda filter.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | lambda filter.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | lambda filter.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | l=[1,2,3,4,5]
l=(map(lambda x:x*2,l))
print(l)
| 11.75 | 23 | 0.553191 | 15 | 47 | 1.733333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.085106 | 47 | 3 | 24 | 15.666667 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc18c8c34b192a88d9b5f04f56217c7362d5fd46 | 219 | py | Python | server/src/voodoo/gen/caller_checker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/voodoo/gen/caller_checker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/voodoo/gen/caller_checker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | ALL = 'All servers'
def caller_check(servers = ALL):
def func_wrapper(func):
# TODO: To be implemented. Could get current_app and check it. Useful for anything?
return func
return func_wrapper
| 24.333333 | 91 | 0.684932 | 31 | 219 | 4.709677 | 0.677419 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 219 | 8 | 92 | 27.375 | 0.884848 | 0.369863 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
90f34dfe2d1a8f7109a4920e53a4f67ebb179193 | 752 | py | Python | test/test_level.py | Rui-Tang/fluid-client-python | cfe6e981ad5092c3ba9ba15760858572e914f6d6 | [
"Apache-2.0"
] | 1 | 2021-11-18T11:10:48.000Z | 2021-11-18T11:10:48.000Z | test/test_level.py | Rui-Tang/fluid-client-python | cfe6e981ad5092c3ba9ba15760858572e914f6d6 | [
"Apache-2.0"
] | null | null | null | test/test_level.py | Rui-Tang/fluid-client-python | cfe6e981ad5092c3ba9ba15760858572e914f6d6 | [
"Apache-2.0"
] | 2 | 2021-05-19T06:35:55.000Z | 2022-03-16T09:48:59.000Z | # coding: utf-8
"""
fluid
client for fluid # noqa: E501
OpenAPI spec version: v0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import Fluid
from Fluid.io.fluid-cloudnative.module.level import Level # noqa: E501... | 18.341463 | 79 | 0.656915 | 92 | 752 | 5.228261 | 0.619565 | 0.049896 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02109 | 0.243351 | 752 | 40 | 80 | 18.8 | 0.824253 | 0.18883 | 0 | 0.214286 | 1 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | null | null | 0.214286 | 0.357143 | null | null | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
29115f5ac31eda7fea8e9f0149c9565ef45b41b9 | 22 | py | Python | onemoretest.py | jrgreenberg/jrgreenberg_PyNet | 7b72a5bff7bbdd3418b0f2a37498c9da55b2e5a1 | [
"MIT"
] | null | null | null | onemoretest.py | jrgreenberg/jrgreenberg_PyNet | 7b72a5bff7bbdd3418b0f2a37498c9da55b2e5a1 | [
"MIT"
] | null | null | null | onemoretest.py | jrgreenberg/jrgreenberg_PyNet | 7b72a5bff7bbdd3418b0f2a37498c9da55b2e5a1 | [
"MIT"
] | null | null | null | print "one more test"
| 11 | 21 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
292352880ef602961c6a75b43ef8a77e661325c5 | 38 | py | Python | nnio/zoo/__init__.py | hocop/nnio | 1354396f4043f1e67b642d8d670f7ad8e642f39e | [
"MIT"
] | 6 | 2021-12-14T13:48:46.000Z | 2021-12-17T15:49:22.000Z | nnio/zoo/__init__.py | hocop/nnio | 1354396f4043f1e67b642d8d670f7ad8e642f39e | [
"MIT"
] | null | null | null | nnio/zoo/__init__.py | hocop/nnio | 1354396f4043f1e67b642d8d670f7ad8e642f39e | [
"MIT"
] | 2 | 2021-02-25T20:55:13.000Z | 2021-04-27T06:31:45.000Z | from . import edgetpu, openvino, onnx
| 19 | 37 | 0.763158 | 5 | 38 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
29349811084bf745ea4606cf2f3b45f66b9c7afa | 134 | py | Python | parser/parser.py | polytechnique-ease/msr4ml | bf4122b8c7cfc4aa7e8e1f24d11dd30b0def2954 | [
"MIT"
] | null | null | null | parser/parser.py | polytechnique-ease/msr4ml | bf4122b8c7cfc4aa7e8e1f24d11dd30b0def2954 | [
"MIT"
] | null | null | null | parser/parser.py | polytechnique-ease/msr4ml | bf4122b8c7cfc4aa7e8e1f24d11dd30b0def2954 | [
"MIT"
] | null | null | null | from astroid import parse
def to_ast(py_file):
return parse(py_file)
def main():
pass
if __name__ == "__main__":
main() | 13.4 | 26 | 0.664179 | 20 | 134 | 3.9 | 0.7 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 134 | 10 | 27 | 13.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
2945f0f41ee09684721770d6457eec4d7c7e6e92 | 100 | py | Python | enthought/block_canvas/canvas/block_canvas.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/block_canvas/canvas/block_canvas.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/block_canvas/canvas/block_canvas.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from blockcanvas.canvas.block_canvas import *
| 25 | 45 | 0.85 | 13 | 100 | 6.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 3 | 46 | 33.333333 | 0.88764 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2951e52cf3bb6c5f058077451ab86e379a6692d8 | 2,217 | py | Python | tests/test_nn/test_activation.py | shizuku/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 4 | 2021-10-31T13:31:13.000Z | 2021-12-11T08:45:36.000Z | tests/test_nn/test_activation.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | null | null | null | tests/test_nn/test_activation.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 2 | 2021-10-31T13:34:28.000Z | 2021-11-21T09:11:46.000Z | import os
import sys
import unittest
import numpy as np
import torch
from torch.nn import functional as torch_F
from src.cranet.nn import functional as cranet_F
from src import cranet
from ..utils import teq
class TestRelu(unittest.TestCase):
def test_relu_0(self):
for _ in range(100):
sha... | 30.791667 | 53 | 0.54894 | 291 | 2,217 | 4.065292 | 0.202749 | 0.040575 | 0.076078 | 0.08115 | 0.778529 | 0.778529 | 0.759932 | 0.721048 | 0.721048 | 0.721048 | 0 | 0.056949 | 0.334687 | 2,217 | 71 | 54 | 31.225352 | 0.745085 | 0 | 0 | 0.688525 | 0 | 0 | 0.003608 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.04918 | false | 0 | 0.147541 | 0 | 0.213115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
4625dd79054dcfcc1b53cc939abf68d1931583e6 | 912 | py | Python | src/bindings/python/src/openvino/preprocess/__init__.py | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 1 | 2022-02-26T17:33:44.000Z | 2022-02-26T17:33:44.000Z | src/bindings/python/src/openvino/preprocess/__init__.py | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 17 | 2021-11-25T10:22:17.000Z | 2022-03-28T13:19:31.000Z | src/bindings/python/src/openvino/preprocess/__init__.py | AlexRogalskiy/openvino | ac2e639ff8f9a607c3c682a4c4e165c238eb817f | [
"Apache-2.0"
] | 1 | 2020-12-13T22:16:54.000Z | 2020-12-13T22:16:54.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""
Package: ngraph
Low level wrappers for the PrePostProcessing c++ api.
"""
# flake8: noqa
from openvino.utils import add_openvino_libs_to_path
add_openvino_libs_to_path()
# main classes
from openvino.pyopenvino.preprocess import I... | 33.777778 | 59 | 0.858553 | 106 | 912 | 7.311321 | 0.433962 | 0.185806 | 0.312258 | 0.454194 | 0.593548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013237 | 0.088816 | 912 | 26 | 60 | 35.076923 | 0.919374 | 0.190789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.923077 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
465d8a3695d2f9c6321c7f2d70b8bb84b9adee5e | 461 | py | Python | aliyun_exporter/test_utils.py | BoringCat/aliyun-exporter | 3c9af5e6ee42c9b3876ce312a3c39db046032740 | [
"Apache-2.0"
] | 1 | 2021-12-30T11:42:45.000Z | 2021-12-30T11:42:45.000Z | aliyun_exporter/test_utils.py | BoringCat/aliyun-exporter | 3c9af5e6ee42c9b3876ce312a3c39db046032740 | [
"Apache-2.0"
] | null | null | null | aliyun_exporter/test_utils.py | BoringCat/aliyun-exporter | 3c9af5e6ee42c9b3876ce312a3c39db046032740 | [
"Apache-2.0"
] | 1 | 2021-12-30T11:42:48.000Z | 2021-12-30T11:42:48.000Z | from .utils import format_metric, format_period
def test_format_metric():
assert format_metric("") == ""
assert format_metric("a.b.c") == "a_b_c"
assert format_metric("aBcD") == "aBcD"
assert format_metric(".a.b.c.") == "_a_b_c_"
def test_format_period():
assert format_period("") == ""
assert... | 30.733333 | 53 | 0.652928 | 68 | 461 | 4.088235 | 0.323529 | 0.345324 | 0.258993 | 0.172662 | 0.453237 | 0.172662 | 0.172662 | 0.172662 | 0.172662 | 0 | 0 | 0.096104 | 0.164859 | 461 | 14 | 54 | 32.928571 | 0.625974 | 0 | 0 | 0 | 0 | 0 | 0.169197 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 1 | 0.181818 | true | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
468d68c559422ff65b4d8e458dcf57470bc871f0 | 74 | py | Python | lib/__init__.py | FDA-ARGOS2/data.argosdb | 5f65a2ea3a92c2936f19278a59a9ee0435738620 | [
"MIT"
] | null | null | null | lib/__init__.py | FDA-ARGOS2/data.argosdb | 5f65a2ea3a92c2936f19278a59a9ee0435738620 | [
"MIT"
] | null | null | null | lib/__init__.py | FDA-ARGOS2/data.argosdb | 5f65a2ea3a92c2936f19278a59a9ee0435738620 | [
"MIT"
] | null | null | null | """
bco app and stuff
"""
from .bcoutils import *
from .validate import * | 12.333333 | 23 | 0.675676 | 10 | 74 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 6 | 24 | 12.333333 | 0.833333 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
46994ff8b717ab9cf6b46929624d6725410330e7 | 10,111 | py | Python | client/client.py | pekacheew/ACG-CA2 | bfba8e5091a152eed88b850811a843e435753c70 | [
"MIT"
] | null | null | null | client/client.py | pekacheew/ACG-CA2 | bfba8e5091a152eed88b850811a843e435753c70 | [
"MIT"
] | null | null | null | client/client.py | pekacheew/ACG-CA2 | bfba8e5091a152eed88b850811a843e435753c70 | [
"MIT"
] | null | null | null | import pickle, base64, time, datetime, ftplib, io, random, hashlib, sys, traceback
from Cryptodome.Random import get_random_bytes
from Cryptodome.Cipher import PKCS1_OAEP, PKCS1_v1_5, AES
from Cryptodome.Util.Padding import pad, unpad
from Cryptodome.PublicKey import RSA
from Cryptodome.Signature import pkcs1_15
from... | 86.418803 | 5,052 | 0.806646 | 798 | 10,111 | 10.067669 | 0.428571 | 0.013692 | 0.003734 | 0.004854 | 0.013816 | 0.011451 | 0 | 0 | 0 | 0 | 0 | 0.078835 | 0.140639 | 10,111 | 117 | 5,053 | 86.418803 | 0.845782 | 0.136287 | 0 | 0.064935 | 0 | 0.012987 | 0.625554 | 0.606394 | 0 | 1 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.12987 | 0 | 0.233766 | 0.064935 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
469e43ba13afa394185bbcba2977196ffc0e9bfa | 98 | py | Python | wsgi.py | rwolande/wapi | 5e2406f6a5c02840610ac2ef78bdfccc969dc9c6 | [
"MIT"
] | null | null | null | wsgi.py | rwolande/wapi | 5e2406f6a5c02840610ac2ef78bdfccc969dc9c6 | [
"MIT"
] | null | null | null | wsgi.py | rwolande/wapi | 5e2406f6a5c02840610ac2ef78bdfccc969dc9c6 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, '/var/www/html/flask_app/wapi')
from app import app as application
| 19.6 | 50 | 0.765306 | 18 | 98 | 4.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.112245 | 98 | 4 | 51 | 24.5 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d3bc082e94785f3efa0a174d3ab9083fb05277a4 | 474 | py | Python | IMDSS/login/models.py | CCU-KLDP/IMDSS | b9a3d1adc78822dcf7ea1b59c607461dddf3e8cb | [
"MIT"
] | null | null | null | IMDSS/login/models.py | CCU-KLDP/IMDSS | b9a3d1adc78822dcf7ea1b59c607461dddf3e8cb | [
"MIT"
] | null | null | null | IMDSS/login/models.py | CCU-KLDP/IMDSS | b9a3d1adc78822dcf7ea1b59c607461dddf3e8cb | [
"MIT"
] | 1 | 2021-11-05T13:28:53.000Z | 2021-11-05T13:28:53.000Z | from django.db import models
# Create your models here.
class User_data(models.Model):
"""
@pony
使用者(醫生)資料
"""
name = models.CharField(max_length=20)
account = models.CharField(max_length=50)
password = models.CharField(max_length=50)
email = models.EmailField()
depa... | 21.545455 | 49 | 0.624473 | 55 | 474 | 5.218182 | 0.6 | 0.209059 | 0.250871 | 0.334495 | 0.271777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022923 | 0.263713 | 474 | 21 | 50 | 22.571429 | 0.799427 | 0.086498 | 0 | 0 | 0 | 0 | 0.028061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.090909 | 0.090909 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3103fc750f5ec912ee1ab9fff8bb1c82416827c9 | 228 | py | Python | app/load_config.py | bklim5/gcp-cloud-function-bitbucket-pipelines-serverless | 29af1f94edd0b7299406c6b81c317a9264a5483f | [
"MIT"
] | null | null | null | app/load_config.py | bklim5/gcp-cloud-function-bitbucket-pipelines-serverless | 29af1f94edd0b7299406c6b81c317a9264a5483f | [
"MIT"
] | null | null | null | app/load_config.py | bklim5/gcp-cloud-function-bitbucket-pipelines-serverless | 29af1f94edd0b7299406c6b81c317a9264a5483f | [
"MIT"
] | null | null | null | from importlib import import_module
from os import environ
environment_name = environ.get('ENVIRONMENT_NAME', 'dev')
config = import_module('app.config.{}'.format(environment_name)).CONFIG
def get_config():
return config
| 22.8 | 71 | 0.776316 | 30 | 228 | 5.7 | 0.5 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 228 | 9 | 72 | 25.333333 | 0.846535 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
31129a46c5ea302227711bb5eafe0bc301fb2283 | 124 | py | Python | pyparsebluray/__init__.py | Ichunjo/pyparsebluray | be77e84a6a782a34e52b6e8d38399f156bf1eec8 | [
"MIT"
] | 2 | 2021-07-17T18:01:49.000Z | 2022-01-20T18:30:53.000Z | pyparsebluray/__init__.py | Ichunjo/pyparsebluray | be77e84a6a782a34e52b6e8d38399f156bf1eec8 | [
"MIT"
] | null | null | null | pyparsebluray/__init__.py | Ichunjo/pyparsebluray | be77e84a6a782a34e52b6e8d38399f156bf1eec8 | [
"MIT"
] | null | null | null | """MPLS or playlist specifying an order in which clips (or parts of them) get played."""
# flake8: noqa
from .mpls import *
| 31 | 88 | 0.717742 | 20 | 124 | 4.45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.177419 | 124 | 3 | 89 | 41.333333 | 0.862745 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3121dac316b9d3d01be94064d3612456becc2f1e | 41 | py | Python | tests/__init__.py | rmorison/slack_forms | 4f8bfae889941643d43a6564a5d74e52018d7ee8 | [
"ISC"
] | null | null | null | tests/__init__.py | rmorison/slack_forms | 4f8bfae889941643d43a6564a5d74e52018d7ee8 | [
"ISC"
] | null | null | null | tests/__init__.py | rmorison/slack_forms | 4f8bfae889941643d43a6564a5d74e52018d7ee8 | [
"ISC"
] | 2 | 2021-09-21T15:20:52.000Z | 2021-09-21T17:39:14.000Z | """Unit test package for slack_forms."""
| 20.5 | 40 | 0.707317 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.777778 | 0.829268 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
312543f2e3748dcb1431a692ba2a9043975f8914 | 604 | py | Python | swapi_explorer/swapi_explorer/explorer/utils.py | damianfraszczak/swapi_explorer | cc2b48e2d147d616fb6a36a6f3f340a32cb6c27d | [
"MIT"
] | null | null | null | swapi_explorer/swapi_explorer/explorer/utils.py | damianfraszczak/swapi_explorer | cc2b48e2d147d616fb6a36a6f3f340a32cb6c27d | [
"MIT"
] | null | null | null | swapi_explorer/swapi_explorer/explorer/utils.py | damianfraszczak/swapi_explorer | cc2b48e2d147d616fb6a36a6f3f340a32cb6c27d | [
"MIT"
] | null | null | null | import os
import uuid
from typing import Optional
from django.conf import settings
def get_random_filename(extension: str = "csv") -> str:
return f"{uuid.uuid4().hex}.{extension}"
def collection_upload_to(instance, filename: Optional[str] = None) -> str:
filename = filename or get_random_filename()
ret... | 28.761905 | 87 | 0.743377 | 79 | 604 | 5.417722 | 0.443038 | 0.11215 | 0.126168 | 0.182243 | 0.242991 | 0.242991 | 0.242991 | 0.242991 | 0.242991 | 0 | 0 | 0.001934 | 0.14404 | 604 | 20 | 88 | 30.2 | 0.825919 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 0.049669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.153846 | 0.769231 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
3136781481eb6f94b965e222ca5751a29d04e9b3 | 43 | py | Python | pylox/__main__.py | otherJL0/pylox | 49788f8d3a5a1944f1828e18d05ed51129993a5e | [
"MIT"
] | null | null | null | pylox/__main__.py | otherJL0/pylox | 49788f8d3a5a1944f1828e18d05ed51129993a5e | [
"MIT"
] | null | null | null | pylox/__main__.py | otherJL0/pylox | 49788f8d3a5a1944f1828e18d05ed51129993a5e | [
"MIT"
] | null | null | null | from .main import entrypoint
entrypoint()
| 10.75 | 28 | 0.790698 | 5 | 43 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 29 | 14.333333 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
314a681778e97c2e052e0e7c025eb296d56d5a25 | 181 | py | Python | jduargs/result.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | jduargs/result.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | jduargs/result.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | class Result:
"""Class description."""
def __init__(self):
"""
Initialization of the class.
"""
pass
def __str__(self):
return
| 15.083333 | 36 | 0.497238 | 16 | 181 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38674 | 181 | 11 | 37 | 16.454545 | 0.738739 | 0.259669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
31a2fab03fdd752bdcf7509af86a44df6bbea55f | 47 | py | Python | interact_plataforma.py | ignacio1244/cartera_virtual | 9d272dd9fcbedcd2a634ca88f36b0cb2661a42b7 | [
"MIT"
] | 2 | 2021-07-24T18:07:11.000Z | 2021-08-09T22:23:42.000Z | interact_plataforma.py | ignacio1244/cartera_virtual | 9d272dd9fcbedcd2a634ca88f36b0cb2661a42b7 | [
"MIT"
] | null | null | null | interact_plataforma.py | ignacio1244/cartera_virtual | 9d272dd9fcbedcd2a634ca88f36b0cb2661a42b7 | [
"MIT"
] | 1 | 2021-07-18T21:34:13.000Z | 2021-07-18T21:34:13.000Z | #Interacting with the plataforma.tcargo website | 47 | 47 | 0.87234 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0.978723 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31ac18e0f20d5ed77eaf41b160497fd4836f1133 | 424 | py | Python | src/gocept/httpserverlayer/plonetestingzope/tests/test_zope2.py | gocept/gocept.httpserverlayer | 5186a43a36bdbb7c3a888df3b1e9f934ab41d131 | [
"ZPL-2.1"
] | 1 | 2019-08-29T05:25:44.000Z | 2019-08-29T05:25:44.000Z | src/gocept/httpserverlayer/plonetestingzope/tests/test_zope2.py | gocept/gocept.httpserverlayer | 5186a43a36bdbb7c3a888df3b1e9f934ab41d131 | [
"ZPL-2.1"
] | 1 | 2021-01-13T09:49:56.000Z | 2021-01-13T10:32:13.000Z | src/gocept/httpserverlayer/plonetestingzope/tests/test_zope2.py | gocept/gocept.httpserverlayer | 5186a43a36bdbb7c3a888df3b1e9f934ab41d131 | [
"ZPL-2.1"
] | null | null | null | import gocept.httpserverlayer.plonetestingzope
import gocept.httpserverlayer.plonetestingzope.testing
import gocept.httpserverlayer.tests.isolation
import unittest
class Zope2Tests(
gocept.httpserverlayer.tests.isolation.IsolationTests,
gocept.httpserverlayer.plonetestingzope.testing.IsolationTestHelp... | 32.615385 | 76 | 0.825472 | 37 | 424 | 9.432432 | 0.405405 | 0.361032 | 0.424069 | 0.378224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.110849 | 424 | 12 | 77 | 35.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
31ce7d0cd7c9fef03ef15629550a7c8123c73b56 | 456 | py | Python | dnnlib/__init__.py | icon-lab/FedGIMP | c110c4c12d56bb8fa53546e22330797212e7b197 | [
"MIT"
] | 45 | 2020-11-06T02:04:43.000Z | 2022-01-12T02:59:26.000Z | dnnlib/__init__.py | icon-lab/FedGIMP | c110c4c12d56bb8fa53546e22330797212e7b197 | [
"MIT"
] | 1 | 2020-11-27T03:20:52.000Z | 2020-11-30T06:39:16.000Z | dnnlib/__init__.py | icon-lab/FedGIMP | c110c4c12d56bb8fa53546e22330797212e7b197 | [
"MIT"
] | 8 | 2020-11-06T02:46:45.000Z | 2022-03-24T07:48:23.000Z |
from . import submission
from .submission.run_context import RunContext
from .submission.submit import SubmitTarget
from .submission.submit import PathType
from .submission.submit import SubmitConfig
from .submission.submit import get_path_from_template
from .submission.submit import submit_run
from .util import E... | 30.4 | 126 | 0.835526 | 61 | 456 | 6.163934 | 0.491803 | 0.223404 | 0.265957 | 0.345745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 456 | 14 | 127 | 32.571429 | 0.9375 | 0.195175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.888889 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31d81088cd22916cb0a6d37928520e172773dbe4 | 1,992 | py | Python | data_preparation/scaling.py | RaphaelHippe/Machine-Learning-Project-Template | d8d6df12cba57de6b8a582385294372a6bc163f0 | [
"MIT"
] | null | null | null | data_preparation/scaling.py | RaphaelHippe/Machine-Learning-Project-Template | d8d6df12cba57de6b8a582385294372a6bc163f0 | [
"MIT"
] | null | null | null | data_preparation/scaling.py | RaphaelHippe/Machine-Learning-Project-Template | d8d6df12cba57de6b8a582385294372a6bc163f0 | [
"MIT"
] | null | null | null | import pandas as pd
from util.exceptions import DataFrameTypeError
'''
NAME: apply_max_abs_scaling
PARAMS:
- df: the DataFrame containing the data
DESCRIPTION:
RETURN: the manipulated DataFrame
'''
def apply_max_abs_scaling(df):
if not isinstance(df, pd.DataFrame):
raise DataFrameTypeError('df', df)
f... | 26.918919 | 67 | 0.748996 | 252 | 1,992 | 5.789683 | 0.162698 | 0.041124 | 0.075394 | 0.061686 | 0.784784 | 0.784784 | 0.784784 | 0.763537 | 0.763537 | 0.653873 | 0 | 0 | 0.15512 | 1,992 | 73 | 68 | 27.287671 | 0.866904 | 0 | 0 | 0.46875 | 0 | 0 | 0.007547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.21875 | 0 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
31d833060e53af8151fccaa659c51a2486596b5e | 209 | py | Python | src/awkward/forth.py | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"BSD-3-Clause"
] | null | null | null | src/awkward/forth.py | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"BSD-3-Clause"
] | null | null | null | src/awkward/forth.py | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
from __future__ import absolute_import
from awkward._ext import ForthMachine32
from awkward._ext import ForthMachine64
| 29.857143 | 87 | 0.822967 | 31 | 209 | 5.322581 | 0.709677 | 0.133333 | 0.169697 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.095694 | 209 | 6 | 88 | 34.833333 | 0.835979 | 0.406699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
31eca0dcf39039c0235ddbfebf2cb3d8ca6d697c | 77 | py | Python | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/core/fake_ops.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 5 | 2019-01-19T23:53:35.000Z | 2022-01-29T14:04:31.000Z | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/core/fake_ops.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 6 | 2020-01-28T23:08:49.000Z | 2022-02-10T00:27:19.000Z | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/core/fake_ops.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 8 | 2020-12-14T15:49:24.000Z | 2022-03-23T18:38:36.000Z | class Fake(object):
def __init__(self, shape):
self.shape = shape | 25.666667 | 30 | 0.636364 | 10 | 77 | 4.5 | 0.7 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 77 | 3 | 31 | 25.666667 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9ed27974547591ceccd142b31d81f5cabceb4a39 | 43 | py | Python | tests/__init__.py | TeriForey/sudoku_solver | 9a311c1509455b73d7b8fee65909e5fd1fcda009 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | TeriForey/sudoku_solver | 9a311c1509455b73d7b8fee65909e5fd1fcda009 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | TeriForey/sudoku_solver | 9a311c1509455b73d7b8fee65909e5fd1fcda009 | [
"BSD-3-Clause"
] | null | null | null | """Unit test package for sudoku_solver."""
| 21.5 | 42 | 0.72093 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.789474 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ed606835a823a447068986c5f3cfdc7917856ab | 768 | py | Python | extra/reforge.py | barczynsky/pytoo | 9994cd861d9f491f09dcf66470d4c836dfc2a35e | [
"MIT"
] | 1 | 2018-02-04T13:48:28.000Z | 2018-02-04T13:48:28.000Z | extra/reforge.py | barczynsky/pytoo | 9994cd861d9f491f09dcf66470d4c836dfc2a35e | [
"MIT"
] | null | null | null | extra/reforge.py | barczynsky/pytoo | 9994cd861d9f491f09dcf66470d4c836dfc2a35e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import builtins
class Print(object):
__true_print = builtins.print
__sham_print_args = ()
__sham_print_kwargs = {}
@staticmethod
def __sham_print(*args, **kwargs):
return Print.__true_print(*(*Print.__sham_print_args, *args), **{**Print.__sham_print_kwargs, **kwargs})
@staticmethod
d... | 24.774194 | 106 | 0.736979 | 97 | 768 | 5.226804 | 0.195876 | 0.213018 | 0.276134 | 0.177515 | 0.33925 | 0.2643 | 0.2643 | 0.16568 | 0.16568 | 0 | 0 | 0.001495 | 0.128906 | 768 | 30 | 107 | 25.6 | 0.756353 | 0.027344 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.043478 | 0.086957 | 0.565217 | 0.521739 | 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 | 1 | 1 | 0 | 5 |
73057b9b19f501170bd67bf80f4d48b3631a6976 | 54 | py | Python | flask/database.py | ingochris/justicematch | e37a68965af82f57cd9f6ac524b3c36f6994a4fe | [
"MIT"
] | 4 | 2017-10-21T19:40:59.000Z | 2021-04-21T17:06:57.000Z | flask/database.py | ingochris/justicematch | e37a68965af82f57cd9f6ac524b3c36f6994a4fe | [
"MIT"
] | null | null | null | flask/database.py | ingochris/justicematch | e37a68965af82f57cd9f6ac524b3c36f6994a4fe | [
"MIT"
] | 3 | 2017-10-21T17:49:08.000Z | 2019-03-04T01:52:44.000Z | # -*- coding:utf-8 -*-
from extensions import nosql
| 10.8 | 28 | 0.648148 | 7 | 54 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.185185 | 54 | 4 | 29 | 13.5 | 0.772727 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7317c83c5d01f1b0f521e27add7e70874df923d0 | 515 | py | Python | apps/auth/__init__.py | Deteriorator/Book.Flask.Web | 1458a147f2ef314d14d73e62e573cc30a9827903 | [
"Apache-2.0"
] | null | null | null | apps/auth/__init__.py | Deteriorator/Book.Flask.Web | 1458a147f2ef314d14d73e62e573cc30a9827903 | [
"Apache-2.0"
] | 1 | 2021-02-02T22:45:15.000Z | 2021-02-02T22:45:15.000Z | apps/auth/__init__.py | Deteriorator/Book.Flask.Web | 1458a147f2ef314d14d73e62e573cc30a9827903 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
-------------------------------------------------------------------------------
@Name: __init__.py
@Desc:
@Author: liangz.org@gmail.com
@Create: 2020.05.24 15:31
-------------------------------------------------------------------------------
... | 24.52381 | 79 | 0.314563 | 37 | 515 | 4.162162 | 0.783784 | 0.077922 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047191 | 0.135922 | 515 | 20 | 80 | 25.75 | 0.298876 | 0.805825 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
7334063e447435d6c232c39c437b5e7252b53e32 | 44 | py | Python | ntcl_build_tools/__init__.py | cheshyre/ntcl-build | 133bb44af6c7a2017431ca78fd0e60b91396322a | [
"BSD-3-Clause"
] | null | null | null | ntcl_build_tools/__init__.py | cheshyre/ntcl-build | 133bb44af6c7a2017431ca78fd0e60b91396322a | [
"BSD-3-Clause"
] | null | null | null | ntcl_build_tools/__init__.py | cheshyre/ntcl-build | 133bb44af6c7a2017431ca78fd0e60b91396322a | [
"BSD-3-Clause"
] | null | null | null | from .build_framework import BuildFramework
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
73577c35abd4654a6a456f4fb893514d6036b800 | 181 | py | Python | backend/limiter.py | lie-flat/cfps-jupyterhub | a882984310629e9441b76000707e92cf05815e12 | [
"BSD-3-Clause"
] | 3 | 2022-02-15T12:42:18.000Z | 2022-03-10T13:17:49.000Z | backend/limiter.py | lie-flat/cfps-jupyterhub | a882984310629e9441b76000707e92cf05815e12 | [
"BSD-3-Clause"
] | null | null | null | backend/limiter.py | lie-flat/cfps-jupyterhub | a882984310629e9441b76000707e92cf05815e12 | [
"BSD-3-Clause"
] | null | null | null | from slowapi import Limiter
from slowapi.util import get_remote_address
from .config import RATE_LIMIT
limiter = Limiter(key_func=get_remote_address, default_limits=[RATE_LIMIT])
| 25.857143 | 75 | 0.845304 | 27 | 181 | 5.37037 | 0.555556 | 0.151724 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 181 | 6 | 76 | 30.166667 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
b401ef1dd4cf198fb831045103723040ac396127 | 111 | py | Python | kivymt/calendar/__init__.py | inteplus/kivymt | e7d7e701ed568b3bae9bbb2d8a2980bf106dcd05 | [
"MIT"
] | null | null | null | kivymt/calendar/__init__.py | inteplus/kivymt | e7d7e701ed568b3bae9bbb2d8a2980bf106dcd05 | [
"MIT"
] | null | null | null | kivymt/calendar/__init__.py | inteplus/kivymt | e7d7e701ed568b3bae9bbb2d8a2980bf106dcd05 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from kivymt.calendar.calendar_ui import DatePicker, CalendarWidget
| 22.2 | 66 | 0.738739 | 14 | 111 | 5.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.108108 | 111 | 4 | 67 | 27.75 | 0.79798 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b42741f5d2805d45b83e00dae0f4a9673d04b27d | 21 | py | Python | 2-conda/hello.py | davesanjay/reproducible-computational-workflows | e0e873f4354cc51099d0dd503823b9b70af8b825 | [
"MIT"
] | 32 | 2019-07-16T20:29:36.000Z | 2020-11-20T01:37:42.000Z | 2-conda/hello.py | davesanjay/reproducible-computational-workflows | e0e873f4354cc51099d0dd503823b9b70af8b825 | [
"MIT"
] | 11 | 2019-07-03T06:48:09.000Z | 2021-06-08T17:44:16.000Z | 2-conda/hello.py | davesanjay/reproducible-computational-workflows | e0e873f4354cc51099d0dd503823b9b70af8b825 | [
"MIT"
] | 25 | 2019-07-02T11:10:52.000Z | 2021-05-21T05:21:50.000Z | print "Hello Basel!"
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b42b1d907479c45e7aea8aea9ea02445089464b7 | 50 | py | Python | cupy_alias/manipulation/transpose.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/manipulation/transpose.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/manipulation/transpose.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.manipulation.transpose import * # NOQA
| 25 | 49 | 0.78 | 6 | 50 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.906977 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b431d86e902b0ae933e0fb8fe873ab8e6ef20239 | 8,314 | py | Python | test/python/DataTypeDocument.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T07:53:58.000Z | 2016-08-10T07:53:58.000Z | test/python/DataTypeDocument.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | test/python/DataTypeDocument.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python2
import sys
import hyperdex.client
import json
import os
from testlib import *
from hyperdex.client import *
c = hyperdex.client.Client(sys.argv[1], int(sys.argv[2]))
def to_objectset(xs):
return set([frozenset(x.items()) for x in xs])
# Empty Document
assertTrue(c.put('kv', 'k', {}))
a... | 55.798658 | 175 | 0.487371 | 1,375 | 8,314 | 2.923636 | 0.090909 | 0.143284 | 0.139303 | 0.219403 | 0.821144 | 0.782836 | 0.737811 | 0.673632 | 0.579602 | 0.497512 | 0 | 0.043173 | 0.12521 | 8,314 | 148 | 176 | 56.175676 | 0.509556 | 0.029589 | 0 | 0.223141 | 0 | 0 | 0.131719 | 0 | 0 | 0 | 0 | 0 | 0.900826 | 1 | 0.008264 | false | 0 | 0.049587 | 0.008264 | 0.066116 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b43761527777f6e70949fda16bdfbc228fed95f6 | 55 | py | Python | jinahub/encoders/text/TransformerTorchEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/TransformerTorchEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/TransformerTorchEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | from .transform_encoder import TransformerTorchEncoder
| 27.5 | 54 | 0.909091 | 5 | 55 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b47218709f2a4c4a12b1247f7e8449204ad8a78e | 11,955 | py | Python | tests/unit/opera/parser/test_tosca.py | radon-h2020/xopera-opera | 8b720d335f6fd6e693796a3bf447a84f557886ac | [
"Apache-2.0"
] | null | null | null | tests/unit/opera/parser/test_tosca.py | radon-h2020/xopera-opera | 8b720d335f6fd6e693796a3bf447a84f557886ac | [
"Apache-2.0"
] | 16 | 2020-03-09T14:05:58.000Z | 2021-06-30T07:56:37.000Z | tests/unit/opera/parser/test_tosca.py | radon-h2020/xopera-opera | 8b720d335f6fd6e693796a3bf447a84f557886ac | [
"Apache-2.0"
] | 2 | 2020-06-15T12:17:44.000Z | 2020-09-08T09:28:27.000Z | import pathlib
import pytest
from opera.error import ParseError
from opera.parser import tosca
from opera.storage import Storage
class TestLoad:
def test_load_minimal_document(self, tmp_path):
name = pathlib.PurePath("root.yaml")
(tmp_path / name).write_text("tosca_definitions_version: tosca_sim... | 34.652174 | 97 | 0.542116 | 1,182 | 11,955 | 5.168359 | 0.114213 | 0.061876 | 0.055819 | 0.052382 | 0.802423 | 0.768538 | 0.725323 | 0.707317 | 0.671468 | 0.656409 | 0 | 0.010782 | 0.363864 | 11,955 | 344 | 98 | 34.752907 | 0.792505 | 0.019824 | 0 | 0.634328 | 0 | 0 | 0.196354 | 0.05438 | 0 | 0 | 0 | 0 | 0.037313 | 1 | 0.104478 | false | 0 | 0.052239 | 0 | 0.171642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
81ebfe59202563857aae9394ebfbec9e50e030b9 | 179 | py | Python | key.py | crlna08/Project_2_La_restaurants | b9ebb0e14e6a682116b861c6de6eeb0fd68fdb23 | [
"Apache-2.0"
] | null | null | null | key.py | crlna08/Project_2_La_restaurants | b9ebb0e14e6a682116b861c6de6eeb0fd68fdb23 | [
"Apache-2.0"
] | null | null | null | key.py | crlna08/Project_2_La_restaurants | b9ebb0e14e6a682116b861c6de6eeb0fd68fdb23 | [
"Apache-2.0"
] | 4 | 2021-03-21T21:21:52.000Z | 2021-03-24T04:48:47.000Z |
somthing = 'F5fjDxitafeZwPdwsmBL-Q'
key_api = 'MiT75-jn5D_6MENzkehT5EReeVdYhp_86hQKYQp-3o10wIVXAbOakIT6khg8Y-_PBiy2fKPuAQFp9x7W80Ubn3xdiS8eCfy-nc7qtLNvs6oyAzdU2CsCRHEniyJUYHYx' | 35.8 | 140 | 0.893855 | 12 | 179 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134503 | 0.044693 | 179 | 5 | 140 | 35.8 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.837989 | 0.837989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c31581c462a2841b2518e31e3af6fc2ac301a6e4 | 67 | py | Python | mysql_clickhouse_replication/__init__.py | NoSkillGuy/mysql-clickhouse-replication | 5970cd2d7bfa916c310dbb95c1548a380ef68181 | [
"MIT"
] | 3 | 2019-04-11T07:02:36.000Z | 2019-07-01T12:45:15.000Z | mysql_clickhouse_replication/__init__.py | NoSkillGuy/mysql-clickhouse-replication | 5970cd2d7bfa916c310dbb95c1548a380ef68181 | [
"MIT"
] | null | null | null | mysql_clickhouse_replication/__init__.py | NoSkillGuy/mysql-clickhouse-replication | 5970cd2d7bfa916c310dbb95c1548a380ef68181 | [
"MIT"
] | 5 | 2019-06-13T16:50:52.000Z | 2020-01-14T13:06:06.000Z | from .mysql_clickhouse_replication import Mysql2clickhousesql, main | 67 | 67 | 0.910448 | 7 | 67 | 8.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.059701 | 67 | 1 | 67 | 67 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c37dc82e888de93cc4ebf26350410095213c1be1 | 7,372 | py | Python | controlm_client/__init__.py | apsinha-equinix/controlm-client | f24e0f935c82306074f4e4025cf62c217348dc3f | [
"MIT"
] | 1 | 2021-12-02T08:49:25.000Z | 2021-12-02T08:49:25.000Z | controlm_client/__init__.py | apsinha-equinix/controlm-client | f24e0f935c82306074f4e4025cf62c217348dc3f | [
"MIT"
] | null | null | null | controlm_client/__init__.py | apsinha-equinix/controlm-client | f24e0f935c82306074f4e4025cf62c217348dc3f | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Control-M Services
Provides access to BMC Control-M Services # noqa: E501
OpenAPI spec version: 9.18.3
Contact: support@bmc.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sd... | 58.507937 | 113 | 0.900705 | 945 | 7,372 | 6.736508 | 0.248677 | 0.196041 | 0.294062 | 0.354383 | 0.351241 | 0.179076 | 0.053252 | 0 | 0 | 0 | 0 | 0.001308 | 0.066739 | 7,372 | 125 | 114 | 58.976 | 0.923983 | 0.040695 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.019048 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5ef2e5c2eedd0fb3ba87c64f6c5ee159cea58d39 | 204 | py | Python | src/voting/utils/user_model.py | PiDelport/django-voting | 6c772a6985ec9eb293520dc996fed72714fa181e | [
"BSD-3-Clause"
] | 28 | 2019-05-19T03:34:19.000Z | 2022-03-29T15:13:18.000Z | src/voting/utils/user_model.py | jazzband/django-voting | 6c772a6985ec9eb293520dc996fed72714fa181e | [
"BSD-3-Clause"
] | 19 | 2020-02-22T19:13:44.000Z | 2021-12-28T22:43:49.000Z | src/voting/utils/user_model.py | PiDelport/django-voting | 6c772a6985ec9eb293520dc996fed72714fa181e | [
"BSD-3-Clause"
] | 6 | 2019-07-10T21:26:43.000Z | 2021-11-27T14:08:33.000Z | from django.conf import settings
def get_user_model_name():
"""
Returns the app_label.object_name string for the user model.
"""
return getattr(settings, "AUTH_USER_MODEL", "auth.User")
| 22.666667 | 64 | 0.710784 | 29 | 204 | 4.758621 | 0.689655 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 204 | 8 | 65 | 25.5 | 0.831325 | 0.294118 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5ef507363f57dd2d9e6dcbaf3a47b6f667752ae3 | 64 | py | Python | src/spaceone/notification/connector/__init__.py | spaceone-dev/plugin-jira-noti-protocol | a9472f3f553aa5a5c0817efbb0e0e508768dad38 | [
"Apache-2.0"
] | 1 | 2021-12-18T02:59:03.000Z | 2021-12-18T02:59:03.000Z | src/spaceone/notification/connector/__init__.py | choonho/plugin-jira-noti-protocol | c78ebb081dabecb827a3be50847d5bf345717b13 | [
"Apache-2.0"
] | null | null | null | src/spaceone/notification/connector/__init__.py | choonho/plugin-jira-noti-protocol | c78ebb081dabecb827a3be50847d5bf345717b13 | [
"Apache-2.0"
] | 2 | 2021-12-18T02:59:06.000Z | 2022-03-17T08:47:43.000Z | from spaceone.notification.connector.jira import JiraConnector
| 21.333333 | 62 | 0.875 | 7 | 64 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 2 | 63 | 32 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f009238099ab17882868ed2692945c3724f9a2b | 6,302 | py | Python | RecoBTag/PerformanceDB/python/measure/Pool_btagMuJetsWpNoTtbar.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/PerformanceDB/python/measure/Pool_btagMuJetsWpNoTtbar.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/PerformanceDB/python/measure/Pool_btagMuJetsWpNoTtbar.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from CondCore.DBCommon.CondDBCommon_cfi import *
PoolDBESSourcebtagMuJetsWpNoTtbar = cms.ESSource("PoolDBESSource",
CondDBCommon,
toGet = cms.VPSet(
#
# working points
#
cms.PSet(
record = cms.stri... | 44.06993 | 101 | 0.748969 | 524 | 6,302 | 8.801527 | 0.097328 | 0.101474 | 0.073287 | 0.090199 | 0.946444 | 0.946444 | 0.946444 | 0.946444 | 0.487207 | 0.487207 | 0 | 0.014635 | 0.143447 | 6,302 | 142 | 102 | 44.380282 | 0.839755 | 0.002222 | 0 | 0.569343 | 0 | 0 | 0.484246 | 0.442712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014599 | 0 | 0.014599 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
6f299bf18ac397b7c07422fd33665100cdc33ac7 | 115 | py | Python | order/admin.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | order/admin.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | order/admin.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Order
# Register your models here.
admin.site.register(Order) | 23 | 32 | 0.808696 | 17 | 115 | 5.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 5 | 33 | 23 | 0.920792 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f508d665f8d8851e92ae87baddb4863f6b9ceb2 | 98 | py | Python | btrack/__init__.py | dstansby/BayesianTracker | 82d1d69cddb0b5e27ba50bf7a1c3c6bbdab99aef | [
"MIT"
] | 196 | 2017-11-27T03:05:19.000Z | 2022-03-23T20:04:28.000Z | btrack/__init__.py | dstansby/BayesianTracker | 82d1d69cddb0b5e27ba50bf7a1c3c6bbdab99aef | [
"MIT"
] | 78 | 2018-07-14T14:30:02.000Z | 2022-03-30T15:11:02.000Z | btrack/__init__.py | dstansby/BayesianTracker | 82d1d69cddb0b5e27ba50bf7a1c3c6bbdab99aef | [
"MIT"
] | 45 | 2017-11-27T03:05:20.000Z | 2022-03-15T05:57:18.000Z | # __all__ = ['core','utils','constants','render']
from .core import BayesianTracker, __version__
| 24.5 | 49 | 0.72449 | 10 | 98 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 3 | 50 | 32.666667 | 0.715909 | 0.479592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4893984c75f31e98130f067a48dc00ca36667e67 | 82 | py | Python | src/agents/__init__.py | dawsonbooth/pong-ai | d7451aa0e0ac1a08d3b143b9d2df9bfc86e4877a | [
"MIT"
] | null | null | null | src/agents/__init__.py | dawsonbooth/pong-ai | d7451aa0e0ac1a08d3b143b9d2df9bfc86e4877a | [
"MIT"
] | null | null | null | src/agents/__init__.py | dawsonbooth/pong-ai | d7451aa0e0ac1a08d3b143b9d2df9bfc86e4877a | [
"MIT"
] | null | null | null | from . import ai as AI
from . import player as Player
__all__ = ["Player", "AI"]
| 16.4 | 30 | 0.670732 | 13 | 82 | 3.923077 | 0.461538 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 4 | 31 | 20.5 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
48b68c3e1a4fea69c6306a403787a3fa34bd68be | 23,413 | py | Python | agent/src/tests/acl_tests.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | 2 | 2015-01-26T07:15:19.000Z | 2015-11-09T13:42:11.000Z | agent/src/tests/acl_tests.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | null | null | null | agent/src/tests/acl_tests.py | gonicus/clacks | da579f0acc4e48cf2e9451417ac6792282cf7ab6 | [
"ZPL-2.1"
] | null | null | null | # This file is part of the clacks framework.
#
# http://clacks-project.org
#
# Copyright:
# (C) 2010-2012 GONICUS GmbH, Germany, http://www.gonicus.de
#
# License:
# GPL-2: http://www.gnu.org/licenses/gpl-2.0.html
#
# See the LICENSE file in the project's top-level directory for details.
import unittest
import os
f... | 46.454365 | 143 | 0.628283 | 3,205 | 23,413 | 4.532293 | 0.091108 | 0.073523 | 0.052871 | 0.040273 | 0.788517 | 0.762839 | 0.725802 | 0.717885 | 0.717403 | 0.715063 | 0 | 0.00864 | 0.253534 | 23,413 | 503 | 144 | 46.54672 | 0.82251 | 0.194123 | 0 | 0.695502 | 0 | 0.089965 | 0.366503 | 0.009086 | 0 | 0 | 0 | 0 | 0.17301 | 1 | 0.044983 | false | 0 | 0.013841 | 0 | 0.069204 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
48dfb9719cb2941797960f3a8912e3a587343bf9 | 57 | py | Python | integration-open-weather-background/integration_open_weather/exceptions/weather_forecast.py | dalmarcogd/weather-forecast | f0987009c5691e46d9b8b6ba6f4408688ebec944 | [
"Apache-2.0"
] | null | null | null | integration-open-weather-background/integration_open_weather/exceptions/weather_forecast.py | dalmarcogd/weather-forecast | f0987009c5691e46d9b8b6ba6f4408688ebec944 | [
"Apache-2.0"
] | null | null | null | integration-open-weather-background/integration_open_weather/exceptions/weather_forecast.py | dalmarcogd/weather-forecast | f0987009c5691e46d9b8b6ba6f4408688ebec944 | [
"Apache-2.0"
] | null | null | null | class WeatherForecastRequiredParams(Exception):
pass
| 19 | 47 | 0.824561 | 4 | 57 | 11.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 48 | 28.5 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
48e2c9e094884c3bcf6f34c77267c13330591692 | 24 | py | Python | __init__.py | LuoxinY/gateway | a17ecfafee1e8ace609c3da06a0111b5c266c00e | [
"MIT"
] | 4 | 2020-04-11T12:52:13.000Z | 2020-07-08T06:38:08.000Z | __init__.py | LuoxinY/v2ray_subscribe | 438863ec944f30fae29d159ebc0d1c14021c0887 | [
"MIT"
] | null | null | null | __init__.py | LuoxinY/v2ray_subscribe | 438863ec944f30fae29d159ebc0d1c14021c0887 | [
"MIT"
] | 2 | 2020-07-27T13:27:24.000Z | 2020-10-01T04:11:31.000Z | __version__ = "0.0.0.3"
| 12 | 23 | 0.625 | 5 | 24 | 2.2 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48e6bf8ab4bc23d25b2b7d07874b2242a18c383e | 225 | py | Python | escalate/core/views/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 11 | 2020-09-29T13:59:02.000Z | 2022-03-23T04:57:52.000Z | escalate/core/views/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 95 | 2019-11-18T20:10:49.000Z | 2022-03-31T17:09:49.000Z | escalate/core/views/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 2 | 2021-11-26T18:22:08.000Z | 2022-03-31T11:57:10.000Z |
from .login import *
from .menu import *
from .crud_views import *
from .export_views import *
from .model_tag import *
from .workflow import *
from .user_views import *
# from .edocument import *
#from .misc_views import *
| 20.454545 | 27 | 0.742222 | 32 | 225 | 5.0625 | 0.40625 | 0.493827 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168889 | 225 | 10 | 28 | 22.5 | 0.86631 | 0.217778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5b02462bf47906dfb578f4df5f1f9ba0b281332b | 191 | py | Python | LeetCode/easy - Array/1431. Kids With the Greatest Number of Candies/solution.py | vincent507cpu/Comprehensive-Algorithm-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | 4 | 2020-06-26T00:45:53.000Z | 2021-04-19T12:23:32.000Z | LeetCode/easy - Array/1431. Kids With the Greatest Number of Candies/solution.py | vincent507cpu/LeetCode-Comprehensive-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | null | null | null | LeetCode/easy - Array/1431. Kids With the Greatest Number of Candies/solution.py | vincent507cpu/LeetCode-Comprehensive-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | null | null | null | class Solution:
# list comprehension
def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]:
return [x + extraCandies >= max(candies) for x in candies] | 47.75 | 83 | 0.685864 | 23 | 191 | 5.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198953 | 191 | 4 | 84 | 47.75 | 0.856209 | 0.094241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d297efc24967c92b1bbd79b53c06ce6dc4dd21bd | 99 | py | Python | service/__init__.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | service/__init__.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | service/__init__.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | # from service.member_service import MemberService
# from service.sport_service import SportService | 49.5 | 50 | 0.868687 | 12 | 99 | 7 | 0.583333 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 2 | 51 | 49.5 | 0.933333 | 0.959596 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2d78bffce92c410baf05ecfbd8618dff5cb7ddb | 144 | py | Python | src/main.py | tylerkramlich/readme-analyzer | f5424678a7204c524979d451099fa2d660cbe0c3 | [
"MIT"
] | null | null | null | src/main.py | tylerkramlich/readme-analyzer | f5424678a7204c524979d451099fa2d660cbe0c3 | [
"MIT"
] | null | null | null | src/main.py | tylerkramlich/readme-analyzer | f5424678a7204c524979d451099fa2d660cbe0c3 | [
"MIT"
] | null | null | null | # TODO: Argparse main
from readme_analyzer import ReadmeAnalyzer
analyzer = ReadmeAnalyzer('src/readme_analyzer_config.cfg')
analyzer.runAll() | 24 | 59 | 0.826389 | 17 | 144 | 6.823529 | 0.705882 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 6 | 60 | 24 | 0.885496 | 0.131944 | 0 | 0 | 0 | 0 | 0.241935 | 0.241935 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9623ca53acb0a2870420581f1b0f26ecffaa79db | 68 | py | Python | CodeWars/Python/7 kyu/Find the stray number/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Find the stray number/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Find the stray number/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def stray(arr):
return [x for x in arr if arr.count(x) == 1][0] | 34 | 52 | 0.588235 | 15 | 68 | 2.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.235294 | 68 | 2 | 52 | 34 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
82693d324fb9971ceba57f7eae5aa7909289a111 | 82 | py | Python | ngm.py | GMNaumov/sg-github-training | 9682c7126deb7c7947093f90894d7663a398d3b2 | [
"Apache-2.0"
] | null | null | null | ngm.py | GMNaumov/sg-github-training | 9682c7126deb7c7947093f90894d7663a398d3b2 | [
"Apache-2.0"
] | null | null | null | ngm.py | GMNaumov/sg-github-training | 9682c7126deb7c7947093f90894d7663a398d3b2 | [
"Apache-2.0"
] | 1 | 2021-07-12T18:41:20.000Z | 2021-07-12T18:41:20.000Z | print('Dratuti!')
print('Hello!')
print('Hello, Georgios!')
print('Hello, Pupa!')
| 16.4 | 25 | 0.658537 | 10 | 82 | 5.4 | 0.5 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 82 | 4 | 26 | 20.5 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
827be058cd35d906b7a728d6e018afa9eaffd1c0 | 62 | py | Python | gru/contrib/auth/backends/__init__.py | similarweb/gru | 49ef70c2b5e58302c84dbe7d984a7d49aebc0384 | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2016-12-11T19:58:33.000Z | 2020-07-11T08:55:34.000Z | gru/contrib/auth/backends/__init__.py | similarweb/gru | 49ef70c2b5e58302c84dbe7d984a7d49aebc0384 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | gru/contrib/auth/backends/__init__.py | similarweb/gru | 49ef70c2b5e58302c84dbe7d984a7d49aebc0384 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-12-09T19:31:50.000Z | 2019-12-09T19:31:50.000Z | from .ldap import LdapBackend
from .dummy import DummyBackend
| 20.666667 | 31 | 0.83871 | 8 | 62 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 32 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8281813687879c14230310a3d75a6d81d4878a59 | 53 | py | Python | PageDownloader.py | fede-da/PageDownloader | 2344e2307ea374690ba05923056fff9e59c9ad12 | [
"MIT"
] | null | null | null | PageDownloader.py | fede-da/PageDownloader | 2344e2307ea374690ba05923056fff9e59c9ad12 | [
"MIT"
] | null | null | null | PageDownloader.py | fede-da/PageDownloader | 2344e2307ea374690ba05923056fff9e59c9ad12 | [
"MIT"
] | null | null | null |
from gui import Gui
myGui: Gui = Gui()
myGui.run()
| 8.833333 | 19 | 0.660377 | 9 | 53 | 3.888889 | 0.555556 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 5 | 20 | 10.6 | 0.833333 | 0 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82b091dab135afd3bc6f0d1854b995d778943199 | 17,458 | py | Python | loghub/tests/test_changelog.py | xlotlu/loghub | 17691793e358af6c59f3b41d3b98e9ae27d93a2d | [
"MIT"
] | 34 | 2016-08-08T09:58:28.000Z | 2022-03-27T20:16:51.000Z | loghub/tests/test_changelog.py | xlotlu/loghub | 17691793e358af6c59f3b41d3b98e9ae27d93a2d | [
"MIT"
] | 82 | 2016-11-03T04:44:59.000Z | 2020-07-05T02:03:34.000Z | loghub/tests/test_changelog.py | xlotlu/loghub | 17691793e358af6c59f3b41d3b98e9ae27d93a2d | [
"MIT"
] | 13 | 2016-08-08T09:58:30.000Z | 2020-05-27T09:10:46.000Z | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (See LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Tests cha... | 43.106173 | 266 | 0.676423 | 2,603 | 17,458 | 4.476373 | 0.132539 | 0.091916 | 0.151905 | 0.197391 | 0.73172 | 0.725712 | 0.707861 | 0.635942 | 0.632338 | 0.474425 | 0 | 0.038671 | 0.146809 | 17,458 | 404 | 267 | 43.212871 | 0.743605 | 0.032249 | 0 | 0.591503 | 0 | 0.228758 | 0.706294 | 0.003793 | 0 | 0 | 0 | 0 | 0.035948 | 1 | 0.03268 | false | 0.009804 | 0.022876 | 0 | 0.055556 | 0.065359 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d6786f15e1862e2186e9d4c2113dbe55478325a | 146 | py | Python | django_cookicutter/django_cookie_app/apps.py | gregadc/django-cookiecutter | 6d4031fb2016f57810d7da2414d40a9145c2aebe | [
"MIT"
] | null | null | null | django_cookicutter/django_cookie_app/apps.py | gregadc/django-cookiecutter | 6d4031fb2016f57810d7da2414d40a9145c2aebe | [
"MIT"
] | null | null | null | django_cookicutter/django_cookie_app/apps.py | gregadc/django-cookiecutter | 6d4031fb2016f57810d7da2414d40a9145c2aebe | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoCookieAppConfig(AppConfig):
name = 'django_cookie_app'
verbose_name = "Django cookie app"
| 20.857143 | 39 | 0.767123 | 17 | 146 | 6.411765 | 0.647059 | 0.183486 | 0.293578 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 6 | 40 | 24.333333 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
7dad4891c4f9222c395b9878a8dc56d85f9a6852 | 57 | py | Python | enthought/pyface/ui/qt4/wizard/wizard.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/qt4/wizard/wizard.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/qt4/wizard/wizard.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.qt4.wizard.wizard import *
| 19 | 41 | 0.77193 | 9 | 57 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.122807 | 57 | 2 | 42 | 28.5 | 0.86 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
815d2f78267ae0346957e19680537e6f7e37606d | 199 | py | Python | sharpy/plans/acts/terran/__init__.py | raspersc2/sharpy-sc2 | ec8f5870eab233b1d09a54a09bd8b76ea2585735 | [
"MIT"
] | 2 | 2020-08-13T01:25:20.000Z | 2020-11-22T19:00:06.000Z | sharpy/plans/acts/terran/__init__.py | raspersc2/sharpy-sc2 | ec8f5870eab233b1d09a54a09bd8b76ea2585735 | [
"MIT"
] | null | null | null | sharpy/plans/acts/terran/__init__.py | raspersc2/sharpy-sc2 | ec8f5870eab233b1d09a54a09bd8b76ea2585735 | [
"MIT"
] | null | null | null | from .act_build_addon import ActBuildAddon
from .morph_orbitals import MorphOrbitals
from .morph_planetary import MorphPlanetary
from .terran_unit import TerranUnit
from .auto_depot import AutoDepot
| 33.166667 | 43 | 0.874372 | 26 | 199 | 6.461538 | 0.653846 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100503 | 199 | 5 | 44 | 39.8 | 0.938547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
818d2a86d8a517de8d12b7dac92fd960e4b0d1b5 | 1,047 | py | Python | JioSaavn/__baseApiUrl.py | vidyasagar1432/jiosaavn | b5a39cfdcbb1a5a0abf38aefa11fd9989ff386a8 | [
"MIT"
] | null | null | null | JioSaavn/__baseApiUrl.py | vidyasagar1432/jiosaavn | b5a39cfdcbb1a5a0abf38aefa11fd9989ff386a8 | [
"MIT"
] | null | null | null | JioSaavn/__baseApiUrl.py | vidyasagar1432/jiosaavn | b5a39cfdcbb1a5a0abf38aefa11fd9989ff386a8 | [
"MIT"
] | null | null | null |
def albumFromID(id:int):
return f'https://www.jiosaavn.com/api.php?__call=content.getAlbumDetails&_format=json&cc=in&_marker=0%3F_marker=0&albumid={id}'
def albumsearchFromSTRING(query:str):
return f'https://www.jiosaavn.com/api.php?__call=autocomplete.get&_format=json&_marker=0&cc=in&includeMetaTags=1&query... | 52.35 | 164 | 0.750716 | 171 | 1,047 | 4.415205 | 0.315789 | 0.074172 | 0.095364 | 0.119205 | 0.445033 | 0.422517 | 0.422517 | 0.389404 | 0.312583 | 0.21457 | 0 | 0.023232 | 0.054441 | 1,047 | 19 | 165 | 55.105263 | 0.739394 | 0 | 0 | 0 | 0 | 0.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
819c2a2552741ecdf882c4fa411bce5eb8fade30 | 172 | py | Python | util.py | chariothy/githook | 08e2703113b4b76e2c66eca1eb2b2a755fb817c3 | [
"MIT"
] | 1 | 2021-01-15T10:25:25.000Z | 2021-01-15T10:25:25.000Z | util.py | chariothy/githook | 08e2703113b4b76e2c66eca1eb2b2a755fb817c3 | [
"MIT"
] | null | null | null | util.py | chariothy/githook | 08e2703113b4b76e2c66eca1eb2b2a755fb817c3 | [
"MIT"
] | null | null | null | from pybeans import AppTool
import os, sys, shutil, time
APP = AppTool('githook', os.getcwd())
def now():
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) | 21.5 | 63 | 0.656977 | 27 | 172 | 4.185185 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145349 | 172 | 8 | 63 | 21.5 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
81b2faf106925d974749af3149c5b40d10d49e99 | 2,093 | py | Python | tensorflow/python/keras/_impl/keras/layers/__init__.py | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 522 | 2016-06-08T02:15:50.000Z | 2022-03-02T05:30:36.000Z | tensorflow/python/keras/_impl/keras/layers/__init__.py | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 48 | 2016-07-26T00:11:55.000Z | 2022-02-23T13:36:33.000Z | tensorflow/python/keras/_impl/keras/layers/__init__.py | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 108 | 2016-06-16T15:34:05.000Z | 2022-03-12T13:23:11.000Z | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 51.04878 | 80 | 0.788342 | 281 | 2,093 | 5.75089 | 0.359431 | 0.155941 | 0.222772 | 0.278465 | 0.55198 | 0.55198 | 0.55198 | 0.502475 | 0.189356 | 0 | 0 | 0.004222 | 0.094601 | 2,093 | 40 | 81 | 52.325 | 0.848549 | 0.341137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.047619 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
81cad6ca5d194769155fcf621b7c97e37c8f1a7a | 694 | py | Python | chicken_quote.py | WetDude/chicken_quote | bc1d3f88c963364178047993d1a07fe18b026083 | [
"MIT"
] | 1 | 2016-06-05T16:50:34.000Z | 2016-06-05T16:50:34.000Z | chicken_quote.py | WetDude/chicken_quote | bc1d3f88c963364178047993d1a07fe18b026083 | [
"MIT"
] | null | null | null | chicken_quote.py | WetDude/chicken_quote | bc1d3f88c963364178047993d1a07fe18b026083 | [
"MIT"
] | null | null | null | #! /usr/bin/python
import sys
g_quote = "------------------------------------------------"
g_chicken = (
" \\\n"
" \\ /\\__/\\\n"
" \\ \\ /\n"
" | 0 >>\n"
" | |\n"
" |____|\n"
" ... | 23.133333 | 60 | 0.243516 | 49 | 694 | 2.836735 | 0.408163 | 0.158273 | 0.194245 | 0.201439 | 0.071942 | 0.071942 | 0.071942 | 0.071942 | 0.071942 | 0 | 0 | 0.011869 | 0.514409 | 694 | 29 | 61 | 23.931034 | 0.400593 | 0.024496 | 0 | 0.291667 | 0 | 0 | 0.683432 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.041667 | 0.041667 | 0 | 0.041667 | 0.208333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c48eb82f65cafbdcf19c173188fa154499456055 | 15,780 | py | Python | fireant/tests/queries/test_build_sets.py | gl3nn/fireant | f172c3f4117ece1240d62575b57e7485484764a8 | [
"Apache-2.0"
] | 122 | 2016-08-05T13:34:52.000Z | 2022-03-15T13:21:13.000Z | fireant/tests/queries/test_build_sets.py | gl3nn/fireant | f172c3f4117ece1240d62575b57e7485484764a8 | [
"Apache-2.0"
] | 321 | 2016-08-10T08:48:15.000Z | 2021-07-28T13:08:18.000Z | fireant/tests/queries/test_build_sets.py | gl3nn/fireant | f172c3f4117ece1240d62575b57e7485484764a8 | [
"Apache-2.0"
] | 27 | 2016-08-10T08:11:08.000Z | 2021-08-23T08:14:37.000Z | from unittest import TestCase
from pypika import (
Table,
functions as fn,
)
import fireant as f
from fireant.tests.dataset.mocks import test_database
test_table = Table("test")
ds = f.DataSet(
table=test_table,
database=test_database,
fields=[
f.Field("date", definition=test_table.date, ... | 35.540541 | 121 | 0.500951 | 1,649 | 15,780 | 4.627047 | 0.091571 | 0.067104 | 0.044037 | 0.042464 | 0.792923 | 0.773657 | 0.756488 | 0.740105 | 0.701311 | 0.69633 | 0 | 0.016234 | 0.348099 | 15,780 | 443 | 122 | 35.620767 | 0.725479 | 0.003739 | 0 | 0.66 | 0 | 0.0175 | 0.224951 | 0.032699 | 0 | 0 | 0 | 0 | 0.085 | 1 | 0.04 | false | 0 | 0.01 | 0 | 0.055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c4ba7b88a4b5847d0b3a6b70d501c32cccb1dcc6 | 1,465 | py | Python | tatsu/tokenizing.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 259 | 2017-05-22T04:33:21.000Z | 2022-03-29T00:20:35.000Z | tatsu/tokenizing.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 160 | 2017-05-30T01:28:58.000Z | 2022-03-31T02:45:52.000Z | tatsu/tokenizing.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 53 | 2017-05-22T05:00:58.000Z | 2022-01-04T16:06:17.000Z | from __future__ import annotations
from .util._common import _prints
from .exceptions import ParseError # noqa
class Tokenizer:
def error(self, *args, **kwargs):
raise ParseError(_prints(*args, **kwargs))
@property
def filename(self):
raise NotImplementedError
@property
def ign... | 21.231884 | 55 | 0.645051 | 150 | 1,465 | 6.22 | 0.313333 | 0.385852 | 0.318328 | 0.166131 | 0.330118 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001885 | 0.275768 | 1,465 | 68 | 56 | 21.544118 | 0.877474 | 0.00273 | 0 | 0.416667 | 0 | 0 | 0.004112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0.020833 | 0.520833 | 0.041667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c4c6bea4fdec63109559e20197c623fad9bc637e | 105,170 | py | Python | thermo/eos_alpha_functions.py | RoryKurek/thermo | 985279467faa028234ab422a19b69385e5100149 | [
"MIT"
] | 380 | 2016-07-04T09:45:20.000Z | 2022-03-20T18:09:45.000Z | thermo/eos_alpha_functions.py | simonmb/thermo | 9abbb0ea71abe8677155e029d01aebe74cce137f | [
"MIT"
] | 104 | 2016-07-10T20:47:12.000Z | 2022-03-22T20:43:39.000Z | thermo/eos_alpha_functions.py | simonmb/thermo | 9abbb0ea71abe8677155e029d01aebe74cce137f | [
"MIT"
] | 96 | 2016-07-05T20:54:05.000Z | 2022-02-23T03:06:02.000Z | # -*- coding: utf-8 -*-
# pylint: disable=E1101
r'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2018, 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documenta... | 41.049961 | 739 | 0.566892 | 17,066 | 105,170 | 3.331361 | 0.053498 | 0.044114 | 0.012189 | 0.013509 | 0.816984 | 0.789774 | 0.761402 | 0.729161 | 0.699875 | 0.679771 | 0 | 0.089082 | 0.254226 | 105,170 | 2,561 | 740 | 41.06599 | 0.635702 | 0.530275 | 0 | 0.512273 | 0 | 0 | 0.032559 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105656 | false | 0.001067 | 0.003202 | 0.032017 | 0.255069 | 0.001067 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c4ef799eef0d73458455dbd5bc7741eb3dcaaf42 | 335 | py | Python | helper.py | mwaijohn/ToastyPlugin | dbc24eb3d2d987b2e84f59567901338a64e7ef03 | [
"MIT"
] | null | null | null | helper.py | mwaijohn/ToastyPlugin | dbc24eb3d2d987b2e84f59567901338a64e7ef03 | [
"MIT"
] | null | null | null | helper.py | mwaijohn/ToastyPlugin | dbc24eb3d2d987b2e84f59567901338a64e7ef03 | [
"MIT"
] | 1 | 2022-01-24T08:44:45.000Z | 2022-01-24T08:44:45.000Z | import glob
import os
txtfiles = []
for file in glob.glob("/home/kingsman/Desktop/TelpoDemoSDK/app/src/main/jniLibs/arm64-v8a/*.so"):
head, tail = os.path.split(file)
# txtfiles.append(tail)
print('<resource-file src="src/android/jnilibs/arm64-v8a/' + tail + '" target="jniLibs/arm64-v8a/' +tail + '"/>')
# ... | 37.222222 | 117 | 0.683582 | 47 | 335 | 4.87234 | 0.574468 | 0.157205 | 0.196507 | 0.165939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.122388 | 335 | 9 | 118 | 37.222222 | 0.748299 | 0.110448 | 0 | 0 | 0 | 0.166667 | 0.513514 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f2102a429204792867ca1e605016645764dd54d7 | 45,339 | py | Python | com/vmware/nsx/cluster_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/nsx/cluster_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/nsx/cluster_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2019 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx.cluster.
#----------------------------------------------------------------------... | 43.469799 | 133 | 0.612938 | 4,510 | 45,339 | 5.93969 | 0.07184 | 0.082985 | 0.094632 | 0.11647 | 0.80103 | 0.766463 | 0.707892 | 0.664141 | 0.654286 | 0.627669 | 0 | 0.001255 | 0.279693 | 45,339 | 1,042 | 134 | 43.511516 | 0.819003 | 0.274598 | 0 | 0.463108 | 1 | 0 | 0.324147 | 0.239744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034537 | false | 0 | 0.018838 | 0 | 0.103611 | 0.029827 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 5 |
f21df7a5999609266596fa1f6733e207b1d490da | 530 | py | Python | __init__.py | Zadigo/Emails | c8577c56749fedc87c72cb19d1a764b2684da94a | [
"MIT"
] | null | null | null | __init__.py | Zadigo/Emails | c8577c56749fedc87c72cb19d1a764b2684da94a | [
"MIT"
] | null | null | null | __init__.py | Zadigo/Emails | c8577c56749fedc87c72cb19d1a764b2684da94a | [
"MIT"
] | null | null | null | # from zemailer.app.core import Settings, initialized_settings
# from zemailer.app.core.mixins.patterns import PatternsMixin
# from zemailer.app.core.sender import SendEmail, SendEmailWithAttachment
# from zemailer.app.core.servers import Gmail, Outlook
# from zemailer.app.patterns import schools
# # from zemailer.app.... | 48.181818 | 76 | 0.833962 | 64 | 530 | 6.890625 | 0.34375 | 0.244898 | 0.238095 | 0.172336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096226 | 530 | 10 | 77 | 53 | 0.920668 | 0.960377 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ef0a37a3c3fe2a144a5f52beda584047a7cfc93 | 148 | py | Python | pathmap/test/test_getmap.py | nimral/pathmap | 2d4de068fe1e21cef2ebb221bbeb2b2107bd8a32 | [
"MIT"
] | null | null | null | pathmap/test/test_getmap.py | nimral/pathmap | 2d4de068fe1e21cef2ebb221bbeb2b2107bd8a32 | [
"MIT"
] | null | null | null | pathmap/test/test_getmap.py | nimral/pathmap | 2d4de068fe1e21cef2ebb221bbeb2b2107bd8a32 | [
"MIT"
] | null | null | null | import unittest
from .. getmap import MapDownloader
class TestGetmap(unittest.TestCase):
pass
if __name__ == '__main__':
unittest.main()
| 14.8 | 36 | 0.72973 | 16 | 148 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 148 | 9 | 37 | 16.444444 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
1ef4ab01bdd991f0805d6af344bd9c2c933191d9 | 56 | py | Python | js_extractor/__init__.py | bjarneschroeder/js_extractor | ab5a1cd1f12ebdbb3cc477747a7e65f7360fdd1c | [
"MIT"
] | null | null | null | js_extractor/__init__.py | bjarneschroeder/js_extractor | ab5a1cd1f12ebdbb3cc477747a7e65f7360fdd1c | [
"MIT"
] | null | null | null | js_extractor/__init__.py | bjarneschroeder/js_extractor | ab5a1cd1f12ebdbb3cc477747a7e65f7360fdd1c | [
"MIT"
] | null | null | null | from js_extractor.js_extractor import extract_js_content | 56 | 56 | 0.928571 | 9 | 56 | 5.333333 | 0.666667 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
480eaa333dbd1f7764c03dd983e5b6242aa66156 | 668 | py | Python | example/test/T3_fengche.py | Michael8968/skulpt | 15956a60398fac92ee1dab25bf661ffc003b2eaf | [
"MIT"
] | 2 | 2021-12-18T06:34:26.000Z | 2022-01-05T05:08:47.000Z | example/test/T3_fengche.py | Michael8968/skulpt | 15956a60398fac92ee1dab25bf661ffc003b2eaf | [
"MIT"
] | null | null | null | example/test/T3_fengche.py | Michael8968/skulpt | 15956a60398fac92ee1dab25bf661ffc003b2eaf | [
"MIT"
] | null | null | null | import turtle
turtle.mode("logo")
turtle.shape("turtle") # 让画笔变成海龟(turtle)
turtle.hideturtle() # 隐藏画笔
turtle.pencolor("orange")
turtle.pensize(4)
# 第1个风车扇叶
turtle.forward(100)
turtle.right(120)
turtle.forward(100)
turtle.right(120)
turtle.forward(100)
turtle.right(120)
turtle.right(120)
#... | 13.36 | 49 | 0.727545 | 94 | 668 | 5.170213 | 0.244681 | 0.294239 | 0.345679 | 0.407407 | 0.641975 | 0.641975 | 0.641975 | 0.641975 | 0.641975 | 0.641975 | 0 | 0.124361 | 0.121257 | 668 | 49 | 50 | 13.632653 | 0.703578 | 0.071856 | 0 | 0.7 | 0 | 0 | 0.026101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
487e97ec59b12a677036c6e9f07871d6a1432680 | 65 | py | Python | homedisplay/control_printer/__init__.py | ojarva/home-info-display | 873d022308732baff94d0dc2381cf9dc7dce23b7 | [
"BSD-3-Clause"
] | 1 | 2016-11-28T04:35:06.000Z | 2016-11-28T04:35:06.000Z | homedisplay/control_printer/__init__.py | ojarva/home-info-display | 873d022308732baff94d0dc2381cf9dc7dce23b7 | [
"BSD-3-Clause"
] | 160 | 2015-01-01T20:59:29.000Z | 2016-04-25T13:36:52.000Z | homedisplay/control_printer/__init__.py | ojarva/home-info-display | 873d022308732baff94d0dc2381cf9dc7dce23b7 | [
"BSD-3-Clause"
] | 1 | 2015-02-25T21:24:01.000Z | 2015-02-25T21:24:01.000Z | default_app_config = 'control_printer.apps.ControlPrinterConfig'
| 32.5 | 64 | 0.876923 | 7 | 65 | 7.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 65 | 1 | 65 | 65 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.630769 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6f9e3a639bb6a98ade3dabe68659b356850e6230 | 152 | py | Python | App/Script/train.py | RashikaKarki/GoodNews | c28664d20f2ee93078df327c502260b16fb2e17f | [
"Apache-2.0"
] | null | null | null | App/Script/train.py | RashikaKarki/GoodNews | c28664d20f2ee93078df327c502260b16fb2e17f | [
"Apache-2.0"
] | null | null | null | App/Script/train.py | RashikaKarki/GoodNews | c28664d20f2ee93078df327c502260b16fb2e17f | [
"Apache-2.0"
] | null | null | null | import pickle
def train_using_logistic_regression(data):
LR = pickle.load(open("Model/logistic_regression.pkl", "rb"))
return LR.predict(data) | 30.4 | 66 | 0.75 | 21 | 152 | 5.238095 | 0.761905 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 5 | 67 | 30.4 | 0.827068 | 0 | 0 | 0 | 0 | 0 | 0.202614 | 0.189542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6fa35a962fa6c908416cd95bd0ba52e3b99e13dc | 1,174 | py | Python | smot/__init__.py | btski/smot | adee256c63df3ca1ceb34125e60b22a5bb24bf55 | [
"MIT"
] | 4 | 2021-12-09T17:14:08.000Z | 2022-02-16T19:09:53.000Z | smot/__init__.py | btski/smot | adee256c63df3ca1ceb34125e60b22a5bb24bf55 | [
"MIT"
] | 2 | 2022-02-15T14:09:59.000Z | 2022-02-21T20:07:45.000Z | smot/__init__.py | btski/smot | adee256c63df3ca1ceb34125e60b22a5bb24bf55 | [
"MIT"
] | 3 | 2022-01-24T12:23:31.000Z | 2022-02-16T18:40:55.000Z | from smot.algorithm import (
treemap,
treefold,
treecut,
treepull,
treepush,
tips,
clean,
factorByField,
factorByCapture,
factorByTable,
isMonophyletic,
imputeMonophyleticFactors,
imputePatristicFactors,
getLeftmost,
sampleN,
sampleRandom,
sampleMonoph... | 17.014493 | 44 | 0.627768 | 81 | 1,174 | 9 | 0.481481 | 0.043896 | 0.060357 | 0.082305 | 0.729767 | 0.729767 | 0.729767 | 0.729767 | 0.729767 | 0.729767 | 0 | 0 | 0.262351 | 1,174 | 68 | 45 | 17.264706 | 0.841801 | 0 | 0 | 0 | 0 | 0 | 0.275128 | 0.040034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
6fba94cc8816aea5065a22666f3602e71e54b86e | 330 | py | Python | utils/blur.py | ariaamadeus/Image-Processing | 4b9afd5f09e9cc89e599274b1ce03db3e6ec4d36 | [
"MIT"
] | 1 | 2022-03-29T11:22:10.000Z | 2022-03-29T11:22:10.000Z | utils/blur.py | ariaamadeus/Image-Processing | 4b9afd5f09e9cc89e599274b1ce03db3e6ec4d36 | [
"MIT"
] | null | null | null | utils/blur.py | ariaamadeus/Image-Processing | 4b9afd5f09e9cc89e599274b1ce03db3e6ec4d36 | [
"MIT"
] | null | null | null | import os
import cv2
import numpy as np
def blur(img, kSize=7):
return cv2.blur(img,(kSize,kSize)).astype(np.uint8)
def gauss(img, kSize=7):
return cv2.GaussianBlur(img, (kSize,kSize),0).astype(np.uint8)
def median(img, kSize=7):
return cv2.medianBlur(img, kSize).astype(np.uint8)
__all__ = ['blur,gauss... | 20.625 | 66 | 0.70303 | 54 | 330 | 4.222222 | 0.37037 | 0.210526 | 0.118421 | 0.197368 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038596 | 0.136364 | 330 | 15 | 67 | 22 | 0.761404 | 0 | 0 | 0 | 0 | 0 | 0.051515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.3 | 0.3 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6fe43ade088f6f1b9ca3845df2e4fdfa286774e6 | 159 | py | Python | core/views/__init__.py | azdkj532/ntu-vote-auth-server | a4ed7caad6ec1cda4ad072f52a31725679b03be8 | [
"Apache-2.0"
] | null | null | null | core/views/__init__.py | azdkj532/ntu-vote-auth-server | a4ed7caad6ec1cda4ad072f52a31725679b03be8 | [
"Apache-2.0"
] | 6 | 2016-12-07T06:39:47.000Z | 2018-11-01T21:12:29.000Z | core/views/__init__.py | azdkj532/ntu-vote-auth-server | a4ed7caad6ec1cda4ad072f52a31725679b03be8 | [
"Apache-2.0"
] | null | null | null | # Views
from .authenticate import authenticate
from .confirm import confirm
from .index import index
from .report import report
from .complete import complete
| 22.714286 | 38 | 0.823899 | 21 | 159 | 6.238095 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 159 | 6 | 39 | 26.5 | 0.956204 | 0.031447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d25a1ef9954330f2eb834c5aed8fe1db57f175ac | 2,993 | py | Python | sdk/python/pulumi_azure_native/netapp/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/netapp/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/netapp/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .account import *
from .backup import *
... | 48.274194 | 80 | 0.803876 | 382 | 2,993 | 6.007853 | 0.188482 | 0.16732 | 0.237037 | 0.320697 | 0.642266 | 0.620479 | 0.29281 | 0 | 0 | 0 | 0 | 0.195057 | 0.121283 | 2,993 | 61 | 81 | 49.065574 | 0.677567 | 0.07718 | 0 | 0 | 1 | 0 | 0.209074 | 0.209074 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.962264 | 0 | 0.962264 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
d28318c30927c4e5f0b2066e6c29f5085efe5604 | 135 | py | Python | aboutus/views.py | maxalmina/kudo | a089acbd359b78d344f3c5c6a695f4034c510915 | [
"MIT"
] | null | null | null | aboutus/views.py | maxalmina/kudo | a089acbd359b78d344f3c5c6a695f4034c510915 | [
"MIT"
] | null | null | null | aboutus/views.py | maxalmina/kudo | a089acbd359b78d344f3c5c6a695f4034c510915 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def labView(request):
return render(request, 'aboutus/aboutus.html') | 27 | 50 | 0.77037 | 18 | 135 | 5.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 5 | 50 | 27 | 0.888889 | 0.17037 | 0 | 0 | 0 | 0 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
962d08d853d92ccffda2bace4613dafea5a285a1 | 23,145 | py | Python | sdk/python/pulumi_google_native/networkservices/v1beta1/endpoint_policy.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/networkservices/v1beta1/endpoint_policy.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/networkservices/v1beta1/endpoint_policy.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 54.458824 | 608 | 0.687967 | 2,708 | 23,145 | 5.668759 | 0.083456 | 0.063058 | 0.053808 | 0.053026 | 0.813758 | 0.764185 | 0.716305 | 0.681193 | 0.652726 | 0.626409 | 0 | 0.001056 | 0.222467 | 23,145 | 424 | 609 | 54.587264 | 0.851967 | 0.376496 | 0 | 0.410256 | 1 | 0 | 0.134637 | 0.026283 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150183 | false | 0.003663 | 0.029304 | 0.010989 | 0.274725 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 5 |
9646f801ada53f72aa167b40ac837b6fe27e3923 | 1,254 | py | Python | tests/test_contains.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 4 | 2018-06-05T14:07:56.000Z | 2021-04-17T12:09:23.000Z | tests/test_contains.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 1 | 2018-07-10T19:53:54.000Z | 2018-07-10T19:58:38.000Z | tests/test_contains.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 2 | 2020-01-29T10:51:11.000Z | 2021-11-11T21:37:24.000Z | import unittest
from iterable_collections import collect
class TestContains(unittest.TestCase):
def test_list(self):
c = collect([1, 2, 3, 4, 5])
self.assertTrue(c.contains(1))
self.assertFalse(c.contains('a'))
def test_set(self):
c = collect({1, 2, 3, 4, 5})
self.as... | 28.5 | 56 | 0.573365 | 174 | 1,254 | 4.068966 | 0.178161 | 0.190678 | 0.20339 | 0.305085 | 0.751412 | 0.724576 | 0.648305 | 0.603107 | 0.579096 | 0.579096 | 0 | 0.04127 | 0.246411 | 1,254 | 43 | 57 | 29.162791 | 0.707937 | 0 | 0 | 0.454545 | 0 | 0 | 0.009569 | 0 | 0 | 0 | 0 | 0 | 0.484848 | 1 | 0.212121 | false | 0 | 0.060606 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 | 5 |
96544275974d2afada27f9fa124ef26ad2fd4d67 | 2,368 | py | Python | python/tests/tools/lexeme.py | lggruspe/ibex | 43cdd950c8db533e9e5b350375e1288744dc6e7e | [
"MIT"
] | null | null | null | python/tests/tools/lexeme.py | lggruspe/ibex | 43cdd950c8db533e9e5b350375e1288744dc6e7e | [
"MIT"
] | 1 | 2020-03-31T11:30:17.000Z | 2020-03-31T11:30:17.000Z | python/tests/tools/lexeme.py | lggruspe/ibex | 43cdd950c8db533e9e5b350375e1288744dc6e7e | [
"MIT"
] | null | null | null | import random
import examples
DIGITS = "0123456789"
@examples.instances
def empty():
return ''
@examples.instances
def number():
def integer():
n = random.randint(1, 9)
if n == 1:
return random.choice(DIGITS)
rv = random.choice(DIGITS[1:])
for i in range(1, n):
... | 18.5 | 63 | 0.594172 | 269 | 2,368 | 5.189591 | 0.241636 | 0.267908 | 0.315186 | 0.297994 | 0.176934 | 0.058023 | 0.044413 | 0.044413 | 0 | 0 | 0 | 0.038695 | 0.236064 | 2,368 | 127 | 64 | 18.645669 | 0.733002 | 0 | 0 | 0.29703 | 0 | 0 | 0.056166 | 0.022382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227723 | false | 0 | 0.019802 | 0.178218 | 0.485149 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
9680285325a0da182536c2990bfa406a81198915 | 31 | py | Python | geomstats/backend/common.py | tolgabirdal/geomstats | 27667a9fbd8d3b8fa7a5da0e34d880ce0ad39d51 | [
"MIT"
] | 1 | 2018-05-23T20:18:23.000Z | 2018-05-23T20:18:23.000Z | geomstats/backend/common.py | leslie-chu/geomstats | fbed39b47b16eab4a48179106e8d0c1a5891243d | [
"MIT"
] | null | null | null | geomstats/backend/common.py | leslie-chu/geomstats | fbed39b47b16eab4a48179106e8d0c1a5891243d | [
"MIT"
] | null | null | null | import numpy as np
pi = np.pi
| 7.75 | 18 | 0.677419 | 7 | 31 | 3 | 0.714286 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 31 | 3 | 19 | 10.333333 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9694aa2e3e9609d930061103ca0726871778ff34 | 205 | py | Python | textattack/constraints/overlap/__init__.py | cclauss/TextAttack | 98b8d6102aa47bf3c41afedace0215d48f8ed046 | [
"MIT"
] | 2 | 2021-02-22T12:15:27.000Z | 2021-05-02T15:22:05.000Z | textattack/constraints/overlap/__init__.py | 53X/TextAttack | e6a7969abc1e28a2a8a7e2ace709b78eb9dc94be | [
"MIT"
] | null | null | null | textattack/constraints/overlap/__init__.py | 53X/TextAttack | e6a7969abc1e28a2a8a7e2ace709b78eb9dc94be | [
"MIT"
] | 1 | 2021-11-12T05:26:21.000Z | 2021-11-12T05:26:21.000Z | from .bleu_score import BLEU
from .chrf_score import chrF
from .levenshtein_edit_distance import LevenshteinEditDistance
from .meteor_score import METEOR
from .max_words_perturbed import MaxWordsPerturbed
| 34.166667 | 62 | 0.878049 | 27 | 205 | 6.407407 | 0.518519 | 0.190751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 205 | 5 | 63 | 41 | 0.935135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
96967fd9aeea6860c6f56440bb6aa38ff0d68c67 | 6,878 | py | Python | operations/fleet/migrations/0008_fuelusage_historicalfuelusage.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet/migrations/0008_fuelusage_historicalfuelusage.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet/migrations/0008_fuelusage_historicalfuelusage.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.db.models.deletion
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('employee... | 79.976744 | 190 | 0.651643 | 804 | 6,878 | 5.375622 | 0.144279 | 0.083295 | 0.111291 | 0.141601 | 0.79292 | 0.79292 | 0.771171 | 0.756594 | 0.74248 | 0.74248 | 0 | 0.022146 | 0.19904 | 6,878 | 85 | 191 | 80.917647 | 0.762389 | 0.003053 | 0 | 0.556962 | 0 | 0 | 0.1593 | 0.016922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050633 | 0 | 0.088608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
96b17696441ab9379b00e457fbf5bf611a99cac4 | 123 | py | Python | backend/plays/admin.py | shinkenuu/Desafio-Full-Stack | 6c96d7a09e3bdb01183411c778242f86d01aaf12 | [
"MIT"
] | null | null | null | backend/plays/admin.py | shinkenuu/Desafio-Full-Stack | 6c96d7a09e3bdb01183411c778242f86d01aaf12 | [
"MIT"
] | null | null | null | backend/plays/admin.py | shinkenuu/Desafio-Full-Stack | 6c96d7a09e3bdb01183411c778242f86d01aaf12 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Play, Reservation
admin.register(Play)
admin.register(Reservation)
| 15.375 | 37 | 0.813008 | 16 | 123 | 6.25 | 0.5625 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 7 | 38 | 17.571429 | 0.917431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.