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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e2d89d7fdde94aca8ed8d18d281dd2b46bed0c9 | 553 | py | Python | desktop_file_1w.py | OishiiCha/countdown_timer | 111d9402bdcb606367e67cbdd9e54d97a30b43d2 | [
"MIT"
] | null | null | null | desktop_file_1w.py | OishiiCha/countdown_timer | 111d9402bdcb606367e67cbdd9e54d97a30b43d2 | [
"MIT"
] | null | null | null | desktop_file_1w.py | OishiiCha/countdown_timer | 111d9402bdcb606367e67cbdd9e54d97a30b43d2 | [
"MIT"
] | null | null | null | import getpass
import os
f = open("countdown_1w.desktop", "x")
usr = str(getpass.getuser())
f.write("[Desktop Entry]\nVersion=1.0\nName=Countdown 1w\nComment=Simple countdown timer\nExec=python3 /home/"+ usr +"/countdown_timer/countdown.py\nIcon=/home/"+ usr +"/countdown_timer/data/countdown.ico\nTerminal=false\nType... | 42.538462 | 265 | 0.764919 | 79 | 553 | 5.278481 | 0.531646 | 0.131894 | 0.172662 | 0.100719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015474 | 0.065099 | 553 | 13 | 266 | 42.538462 | 0.791103 | 0 | 0 | 0 | 0 | 0.222222 | 0.709386 | 0.416968 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0.222222 | 0 | 0.222222 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0e34fba828a37031816683233e76493cf48984b1 | 15,393 | py | Python | DP_Longest_Increasing_Subsequen.py | tw7613781/leetcode | 954a7288c21f315e664927b707b800d4d1d2bd6f | [
"Apache-2.0"
] | null | null | null | DP_Longest_Increasing_Subsequen.py | tw7613781/leetcode | 954a7288c21f315e664927b707b800d4d1d2bd6f | [
"Apache-2.0"
] | 1 | 2021-05-11T19:27:47.000Z | 2021-05-11T19:27:47.000Z | DP_Longest_Increasing_Subsequen.py | tw7613781/leetcode | 954a7288c21f315e664927b707b800d4d1d2bd6f | [
"Apache-2.0"
] | null | null | null | # import sys
# class Solution:
# def lengthOfLIS(self, nums):
# """
# :type nums: List[int]
# :rtype: int
# """
# data = nums
# memo = {}
# i = 0
# last = -1111111
# rt = self.recursion(data, i, last, memo)
# return rt
# def... | 279.872727 | 13,901 | 0.626648 | 2,683 | 15,393 | 3.588893 | 0.945583 | 0.004154 | 0.008828 | 0.009347 | 0.029702 | 0.024405 | 0.024405 | 0.022017 | 0.022017 | 0.022017 | 0 | 0.600822 | 0.035731 | 15,393 | 54 | 13,902 | 285.055556 | 0.047901 | 0.05509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.25 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e4d51ae13156262568782dc2cc45b9c17e231d7 | 49 | py | Python | src/teams/__init__.py | pawelad/nba-rank | ff9f80609c25435307608002ee3b36951e337043 | [
"MIT"
] | 1 | 2016-08-14T16:56:21.000Z | 2016-08-14T16:56:21.000Z | src/teams/__init__.py | pawelad/nba-rank | ff9f80609c25435307608002ee3b36951e337043 | [
"MIT"
] | null | null | null | src/teams/__init__.py | pawelad/nba-rank | ff9f80609c25435307608002ee3b36951e337043 | [
"MIT"
] | null | null | null | default_app_config = 'teams.apps.TeamsAppConfig'
| 24.5 | 48 | 0.836735 | 6 | 49 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e6122469d6cec3a61b8d5f1e879ef8c0a6bd80a | 245 | py | Python | netbox_proxbox/release.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 41 | 2021-05-04T17:16:03.000Z | 2022-03-18T14:11:58.000Z | netbox_proxbox/release.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 15 | 2021-05-05T00:06:08.000Z | 2022-03-31T16:43:03.000Z | netbox_proxbox/release.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 13 | 2021-05-04T12:50:54.000Z | 2022-03-22T13:04:28.000Z | from packaging import version
from django.conf import settings
NETBOX_RELEASE_CURRENT = version.parse(settings.VERSION)
NETBOX_RELEASE_28 = version.parse("2.8")
NETBOX_RELEASE_29 = version.parse("2.9")
NETBOX_RELEASE_210 = version.parse("2.10") | 35 | 56 | 0.808163 | 37 | 245 | 5.135135 | 0.486486 | 0.273684 | 0.205263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062222 | 0.081633 | 245 | 7 | 57 | 35 | 0.782222 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 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 | 4 |
0e743a7d714f10297131181a821f74a8e1c1994a | 174 | py | Python | evalapp/evalapp/data.py | mana-ysh/tiny-competition-infra | a296a761b3549c53e884860ac18c6f655f689635 | [
"Apache-2.0"
] | 1 | 2020-12-19T08:41:32.000Z | 2020-12-19T08:41:32.000Z | evalapp/evalapp/data.py | mana-ysh/tiny-competition-infra | a296a761b3549c53e884860ac18c6f655f689635 | [
"Apache-2.0"
] | null | null | null | evalapp/evalapp/data.py | mana-ysh/tiny-competition-infra | a296a761b3549c53e884860ac18c6f655f689635 | [
"Apache-2.0"
] | null | null | null |
def read_gold_data(data_path: str):
return [
line.strip() for line in open(data_path)
]
def read_pred_data(data_str: str):
return data_str.split("\n")
| 17.4 | 48 | 0.655172 | 28 | 174 | 3.785714 | 0.535714 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 174 | 9 | 49 | 19.333333 | 0.785185 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0e8d830d2677778e240f0ee4300dc73124bc2749 | 152 | py | Python | titan/react_view_pkg/view/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/react_view_pkg/view/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/react_view_pkg/view/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from titan.react_pkg.component import Component
@dataclass
class View(Component):
wraps_children: bool = False
| 16.888889 | 47 | 0.802632 | 19 | 152 | 6.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 8 | 48 | 19 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0e9ae601f6f4d490e65243115b4bea03641db0de | 22 | py | Python | rbcontroller-android-app/pc_controller/__init__.py | RoboticsBrno/Chassis-rider-demo | f435646a96e6a8280404e797e6095c07dd80c4ee | [
"MIT"
] | 1 | 2020-02-15T10:31:13.000Z | 2020-02-15T10:31:13.000Z | rbcontroller-android-app/pc_controller/__init__.py | RoboticsBrno/Chassis-rider-demo | f435646a96e6a8280404e797e6095c07dd80c4ee | [
"MIT"
] | 1 | 2020-02-26T22:20:33.000Z | 2020-03-07T16:49:16.000Z | rbcontroller-android-app/pc_controller/__init__.py | RoboticsBrno/Chassis-rider-demo | f435646a96e6a8280404e797e6095c07dd80c4ee | [
"MIT"
] | null | null | null | .vscode
__pycache__
| 7.333333 | 12 | 0.772727 | 2 | 22 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 2 | 13 | 11 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e9ff794d48619f95edb07a2c22bcc6c1fead049 | 100 | py | Python | src/service/exceptions.py | gusilva/sdr | c40f78ef31ddac77e4a13b1a7567171af5caaf07 | [
"MIT"
] | null | null | null | src/service/exceptions.py | gusilva/sdr | c40f78ef31ddac77e4a13b1a7567171af5caaf07 | [
"MIT"
] | null | null | null | src/service/exceptions.py | gusilva/sdr | c40f78ef31ddac77e4a13b1a7567171af5caaf07 | [
"MIT"
] | null | null | null | class WSApiException(Exception):
"""
Webservice exception from api.
"""
pass
| 14.285714 | 35 | 0.58 | 8 | 100 | 7.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 100 | 6 | 36 | 16.666667 | 0.852941 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0ea414a47d1b2dce2bf3c7b212cbf52127f38326 | 66 | py | Python | __main__.py | sidbelbase/nepali-calendar-indicator | 07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7 | [
"Apache-2.0"
] | 7 | 2016-10-01T23:26:51.000Z | 2021-02-02T05:32:46.000Z | __main__.py | sidbelbase/nepali-calendar-indicator | 07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7 | [
"Apache-2.0"
] | 8 | 2016-09-18T21:42:28.000Z | 2021-11-04T23:45:28.000Z | __main__.py | sidbelbase/nepali-calendar-indicator | 07cb821aa25ed2b7e4556125e9a6f59f8e6f6dc7 | [
"Apache-2.0"
] | 5 | 2016-09-19T05:38:42.000Z | 2021-10-30T12:47:23.000Z | # -*- coding: utf-8 -*-
import nepcalapplet
nepcalapplet.main()
| 11 | 23 | 0.666667 | 7 | 66 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.151515 | 66 | 5 | 24 | 13.2 | 0.767857 | 0.318182 | 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 | 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 | 4 |
7ebb3ff56b5a129d3556f9481ecd5c76c6f06acd | 115 | py | Python | sympy/assumptions/predicates/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/assumptions/predicates/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/assumptions/predicates/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | """
Module to implement predicate classes.
Class of every predicate registered to ``Q`` is defined here.
"""
| 19.166667 | 62 | 0.695652 | 15 | 115 | 5.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 115 | 5 | 63 | 23 | 0.869565 | 0.878261 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 4 |
7ebfd7f03feceefdb0a12e05b2f8dcbf9c667497 | 95 | py | Python | main.py | jingwangian/corona-au | 8e017630f43eea6836db207c0c70149493737937 | [
"MIT"
] | null | null | null | main.py | jingwangian/corona-au | 8e017630f43eea6836db207c0c70149493737937 | [
"MIT"
] | null | null | null | main.py | jingwangian/corona-au | 8e017630f43eea6836db207c0c70149493737937 | [
"MIT"
] | null | null | null | from app import app
if __name__ == '__main__':
app.run_server(host='0.0.0.0', debug=True)
| 19 | 46 | 0.673684 | 17 | 95 | 3.235294 | 0.705882 | 0.109091 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.157895 | 95 | 4 | 47 | 23.75 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7efc56a0e5b9a7b5df1319b5732e1756f62758f2 | 123 | py | Python | oidc_provider/signals.py | coolapp-dev/django-oidc-provider | 0c8cdc6c580b9d72e46c631167b2347affed6e74 | [
"MIT"
] | null | null | null | oidc_provider/signals.py | coolapp-dev/django-oidc-provider | 0c8cdc6c580b9d72e46c631167b2347affed6e74 | [
"MIT"
] | null | null | null | oidc_provider/signals.py | coolapp-dev/django-oidc-provider | 0c8cdc6c580b9d72e46c631167b2347affed6e74 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.dispatch import Signal
user_accept_consent = Signal()
user_decline_consent = Signal()
| 20.5 | 34 | 0.739837 | 16 | 123 | 5.4375 | 0.75 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.130081 | 123 | 5 | 35 | 24.6 | 0.803738 | 0.170732 | 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 | 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 | 4 |
7efdecf6ed5ae2b5ff794b9d006faced554ce50f | 22 | py | Python | CODE.py | Sheikhawadh19/CODE | bf62f28a348c8f8d9db51db214faa39cc3237223 | [
"MIT"
] | null | null | null | CODE.py | Sheikhawadh19/CODE | bf62f28a348c8f8d9db51db214faa39cc3237223 | [
"MIT"
] | null | null | null | CODE.py | Sheikhawadh19/CODE | bf62f28a348c8f8d9db51db214faa39cc3237223 | [
"MIT"
] | 1 | 2020-09-30T12:39:43.000Z | 2020-09-30T12:39:43.000Z | x=4
y=6
z=x*y
print(z) | 5.5 | 8 | 0.590909 | 9 | 22 | 1.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.136364 | 22 | 4 | 8 | 5.5 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d1e615e3310f314a70b7c06b1816a95f8456479 | 18 | py | Python | filebrowser/__init__.py | dteskera/django-filebrowser-suit | 502e7b56f6ab295ab1af198184c76f8c64b44b58 | [
"BSD-3-Clause"
] | 1,178 | 2015-07-23T07:49:48.000Z | 2022-03-30T19:11:15.000Z | filebrowser/__init__.py | dteskera/django-filebrowser-suit | 502e7b56f6ab295ab1af198184c76f8c64b44b58 | [
"BSD-3-Clause"
] | 105 | 2015-07-31T18:43:51.000Z | 2022-02-27T18:00:22.000Z | filebrowser/__init__.py | dteskera/django-filebrowser-suit | 502e7b56f6ab295ab1af198184c76f8c64b44b58 | [
"BSD-3-Clause"
] | 330 | 2015-08-13T16:28:12.000Z | 2022-03-15T19:34:42.000Z | VERSION = '3.6.1'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d38530da3ccdec67b683662a8c2d5eb27789475 | 201 | py | Python | clientside/server/forms.py | gauthamzz/vimana | e446c14a4b8586fdd2b8ea2744db0a3274cac091 | [
"MIT"
] | 6 | 2019-04-08T15:09:30.000Z | 2020-08-11T02:44:50.000Z | clientside/server/forms.py | gauthamzz/vimana | e446c14a4b8586fdd2b8ea2744db0a3274cac091 | [
"MIT"
] | 14 | 2019-04-10T11:08:18.000Z | 2022-02-26T01:39:42.000Z | clientside/server/forms.py | gauthamzz/vimana | e446c14a4b8586fdd2b8ea2744db0a3274cac091 | [
"MIT"
] | 2 | 2019-02-07T17:17:49.000Z | 2019-08-12T10:46:30.000Z | from django import forms
from .models import MLModel
class MLModelForm(forms.ModelForm):
class Meta:
model = MLModel
fields = ('title', 'description', 'accuracy', 'file', )
| 25.125 | 64 | 0.641791 | 21 | 201 | 6.142857 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248756 | 201 | 7 | 65 | 28.714286 | 0.854305 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d453d7d71b760248f4acb113cea7415245f18bc | 168 | py | Python | amespahdbpythonsuite/laboratory.py | PAHdb/AmesPAHdbPythonSuite | aa46cef6ef218fd3ea563ae91bad968de2aedbd0 | [
"BSD-3-Clause"
] | 2 | 2018-11-27T20:47:53.000Z | 2019-12-12T22:17:40.000Z | amespahdbpythonsuite/laboratory.py | PAHdb/AmesPAHdbPythonSuite | aa46cef6ef218fd3ea563ae91bad968de2aedbd0 | [
"BSD-3-Clause"
] | 11 | 2019-03-12T18:03:38.000Z | 2022-03-12T16:05:26.000Z | amespahdbpythonsuite/laboratory.py | PAHdb/AmesPAHdbPythonSuite | aa46cef6ef218fd3ea563ae91bad968de2aedbd0 | [
"BSD-3-Clause"
] | 5 | 2018-11-27T20:48:02.000Z | 2021-10-18T22:37:13.000Z | #!/usr/bin/env python3
class Laboratory():
"""
AmesPAHdbPythonSuite laboratory class
"""
def __init__(self, d=None, **keywords):
return None
| 15.272727 | 43 | 0.619048 | 17 | 168 | 5.882353 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.25 | 168 | 10 | 44 | 16.8 | 0.785714 | 0.35119 | 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 | 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 | 4 |
adba91eddd142d5861c82336d4bc38307cd56b94 | 215 | py | Python | 04-quickPower.py | TheNovel/python-functional-programming | 100e6824f2c84c5746af7057808af54492d38e53 | [
"MIT"
] | null | null | null | 04-quickPower.py | TheNovel/python-functional-programming | 100e6824f2c84c5746af7057808af54492d38e53 | [
"MIT"
] | null | null | null | 04-quickPower.py | TheNovel/python-functional-programming | 100e6824f2c84c5746af7057808af54492d38e53 | [
"MIT"
] | null | null | null | def quickPower(a, n):
if n == 0:
return 1
if n == 1:
return a
if n % 2 == 0:
return quickPower(a, n / 2) * quickPower(a, n / 2)
else:
return quickPower(a, n - 1) * a
| 19.545455 | 58 | 0.455814 | 34 | 215 | 2.882353 | 0.294118 | 0.44898 | 0.489796 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0.409302 | 215 | 10 | 59 | 21.5 | 0.708661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
adc66ddcd85c8796103ced21d32e57f1e9fcef07 | 102 | py | Python | black_belt/online_lending/apps.py | gfhuertac/coding_dojo_python | 4d17bb63fb2b9669216a0f60326d4a4b9055af7e | [
"MIT"
] | null | null | null | black_belt/online_lending/apps.py | gfhuertac/coding_dojo_python | 4d17bb63fb2b9669216a0f60326d4a4b9055af7e | [
"MIT"
] | 6 | 2020-06-06T01:50:21.000Z | 2022-02-10T11:33:02.000Z | black_belt/online_lending/apps.py | gfhuertac/coding_dojo_python | 4d17bb63fb2b9669216a0f60326d4a4b9055af7e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OnlineLendingConfig(AppConfig):
name = 'online_lending'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
adcd78a3dae5bf9ac01b1b101a7b469c813ee54a | 167 | py | Python | all/environments/__init__.py | ezelikman/autonomous-learning-library | b32d059ca8b191afe0b310102d0754796f391aff | [
"MIT"
] | 1 | 2021-01-08T01:41:34.000Z | 2021-01-08T01:41:34.000Z | all/environments/__init__.py | sadiakhaf/autonomous-learning-library | 9c44d41826aec49f9ecba43093551219f9f39408 | [
"MIT"
] | null | null | null | all/environments/__init__.py | sadiakhaf/autonomous-learning-library | 9c44d41826aec49f9ecba43093551219f9f39408 | [
"MIT"
] | null | null | null | from .abstract import Environment
from .gym import GymEnvironment
from .atari import AtariEnvironment
__all__ = ["Environment", "GymEnvironment", "AtariEnvironment"]
| 27.833333 | 63 | 0.808383 | 16 | 167 | 8.1875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 167 | 5 | 64 | 33.4 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.245509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
adffe0d9c27266cd6a43f8d0fc57d493a373127e | 872 | py | Python | sales/migrations/0013_auto_20190805_1923.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | sales/migrations/0013_auto_20190805_1923.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | 10 | 2019-12-04T23:52:31.000Z | 2022-02-10T08:34:15.000Z | sales/migrations/0013_auto_20190805_1923.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | # Generated by Django 2.2.3 on 2019-08-05 19:23
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('sales', '0012_saleitem_is_available'),
]
operations = [
migrations.RemoveField(
model_name='sale',
name='is_verified',
... | 22.947368 | 48 | 0.525229 | 74 | 872 | 6.013514 | 0.432432 | 0.283146 | 0.350562 | 0.404494 | 0.557303 | 0.557303 | 0.197753 | 0 | 0 | 0 | 0 | 0.034234 | 0.363532 | 872 | 37 | 49 | 23.567568 | 0.767568 | 0.051606 | 0 | 0.645161 | 1 | 0 | 0.158788 | 0.031515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.129032 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc0e9c8584e18c480ee6e8cce98a0d04a1455496 | 145 | py | Python | pythonTex/fResolv.py | carlosefrias/latex-itens | 2de60d150428b4550c497dd5811392a3cfb87a05 | [
"MIT"
] | 17 | 2020-06-29T13:15:47.000Z | 2021-12-05T22:03:18.000Z | pythonTex/fResolv.py | whherrera/latex-itens | a73d7cdf05286b430e3a7525eaaa62a8ed778974 | [
"MIT"
] | 2 | 2020-06-17T17:34:34.000Z | 2020-06-20T15:26:26.000Z | pythonTex/fResolv.py | whherrera/latex-itens | a73d7cdf05286b430e3a7525eaaa62a8ed778974 | [
"MIT"
] | 4 | 2020-11-15T12:11:51.000Z | 2021-04-13T01:00:00.000Z | from sympy import *
from sympy.abc import *
def fResolvente(a,b,c):
expr = f"{a}*x**2+{b}*x+{c}"
print(latex(expr))
fResolvente(2,-2,1) | 18.125 | 32 | 0.613793 | 27 | 145 | 3.296296 | 0.592593 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.165517 | 145 | 8 | 33 | 18.125 | 0.702479 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 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 | 0 | 0 | 0 | 4 |
bc394a15c9932f12ddc0f733fd00839e1222f876 | 184 | py | Python | smok/sensor/__init__.py | smok-serwis/smok-client | a97b3dac454569f55a8a28a1cac44ae04e3e9cde | [
"MIT"
] | null | null | null | smok/sensor/__init__.py | smok-serwis/smok-client | a97b3dac454569f55a8a28a1cac44ae04e3e9cde | [
"MIT"
] | 1 | 2021-02-03T14:58:35.000Z | 2021-02-13T17:25:30.000Z | smok/sensor/__init__.py | smok-serwis/smok-client | a97b3dac454569f55a8a28a1cac44ae04e3e9cde | [
"MIT"
] | null | null | null | from .sensor import Sensor, fqtsify
from .types import SensorValueType
from .write_logs import SensorWriteEvent
__all__ = ['Sensor', 'fqtsify', 'SensorValueType', 'SensorWriteEvent']
| 30.666667 | 70 | 0.793478 | 19 | 184 | 7.421053 | 0.526316 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 5 | 71 | 36.8 | 0.859756 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
70aba5cba1d6184c34b6a4948ccb0c39589e34cf | 738 | py | Python | python/testData/inspections/PyBroadExceptionInspection/test.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyBroadExceptionInspection/test.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyBroadExceptionInspection/test.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class ExceptionKlass(Exception):
pass
try:
function_throws_exception()
except <weak_warning descr="Too broad exception clause">Exception</weak_warning>:
pass
try:
function_throws_exception()
except <weak_warning descr="Too broad exception clause">BaseException</weak_warning>:
pass
try:
functi... | 16.772727 | 85 | 0.739837 | 86 | 738 | 6.139535 | 0.267442 | 0.079545 | 0.193182 | 0.295455 | 0.721591 | 0.664773 | 0.570076 | 0.393939 | 0.284091 | 0.284091 | 0 | 0.006515 | 0.168022 | 738 | 44 | 86 | 16.772727 | 0.85342 | 0.009485 | 0 | 0.588235 | 0 | 0 | 0.106996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.205882 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
70cc82cda86c2f73fd7ac3ee66459580ba2ab321 | 59 | py | Python | boston_housing_experiment/__init__.py | GMinozzi/boston_housing_experiment | fcf1fe44065ecc3d54927bccc636bb6cf1d1e548 | [
"MIT"
] | null | null | null | boston_housing_experiment/__init__.py | GMinozzi/boston_housing_experiment | fcf1fe44065ecc3d54927bccc636bb6cf1d1e548 | [
"MIT"
] | null | null | null | boston_housing_experiment/__init__.py | GMinozzi/boston_housing_experiment | fcf1fe44065ecc3d54927bccc636bb6cf1d1e548 | [
"MIT"
] | null | null | null | from .mlp import mlp, predict
__all__ = ["mlp", "predict"] | 19.666667 | 29 | 0.677966 | 8 | 59 | 4.5 | 0.625 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 30 | 19.666667 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
70cc86740e529e718d3d6a5ffa550965acf0fad1 | 98 | py | Python | measure_type/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | 1 | 2021-11-30T19:38:55.000Z | 2021-11-30T19:38:55.000Z | measure_type/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | null | null | null | measure_type/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | 1 | 2022-02-25T22:48:21.000Z | 2022-02-25T22:48:21.000Z | from django.apps import AppConfig
class MeasureTypeConfig(AppConfig):
name = 'measure_type'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
70f5f4472e09fa1fef1ab89e78a3af6b5316a253 | 46 | py | Python | bot/plugins/utils/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 14 | 2016-02-03T16:47:01.000Z | 2019-12-09T14:24:25.000Z | bot/plugins/utils/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 11 | 2016-08-19T22:00:25.000Z | 2022-01-13T00:39:48.000Z | bot/plugins/utils/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 6 | 2016-08-19T21:30:58.000Z | 2019-09-27T05:24:08.000Z | from .plugin import Utils
plugin_cls = Utils
| 11.5 | 25 | 0.782609 | 7 | 46 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 26 | 15.333333 | 0.921053 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cb0e0112a1a2adb6be63a770956b6792adbeb2a6 | 187 | py | Python | ramses/scaffolds/ramses_starter/+package+/__init__.py | timgates42/ramses | ea2e1e896325b7256cdf5902309e05fd98e0c14c | [
"Apache-2.0"
] | 178 | 2016-01-29T10:59:56.000Z | 2021-09-17T18:28:24.000Z | ramses/scaffolds/ramses_starter/+package+/__init__.py | timgates42/ramses | ea2e1e896325b7256cdf5902309e05fd98e0c14c | [
"Apache-2.0"
] | 35 | 2015-03-31T19:52:23.000Z | 2016-01-11T22:44:30.000Z | ramses/scaffolds/ramses_starter/+package+/__init__.py | timgates42/ramses | ea2e1e896325b7256cdf5902309e05fd98e0c14c | [
"Apache-2.0"
] | 24 | 2016-02-12T02:38:28.000Z | 2020-06-20T23:35:38.000Z | from pyramid.config import Configurator
def main(global_config, **settings):
config = Configurator(settings=settings)
config.include('ramses')
return config.make_wsgi_app()
| 23.375 | 44 | 0.754011 | 22 | 187 | 6.272727 | 0.681818 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144385 | 187 | 7 | 45 | 26.714286 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cb1bf9ab0965438b1b27f226539bf6ddc1f1c840 | 150 | py | Python | src/ralph/lib/polymorphic/tests/apps.py | DoNnMyTh/ralph | 97b91639fa68965ad3fd9d0d2652a6545a2a5b72 | [
"Apache-2.0"
] | 1,668 | 2015-01-01T12:51:20.000Z | 2022-03-29T09:05:35.000Z | src/ralph/lib/polymorphic/tests/apps.py | hq-git/ralph | e2448caf02d6e5abfd81da2cff92aefe0a534883 | [
"Apache-2.0"
] | 2,314 | 2015-01-02T13:26:26.000Z | 2022-03-29T04:06:03.000Z | src/ralph/lib/polymorphic/tests/apps.py | hq-git/ralph | e2448caf02d6e5abfd81da2cff92aefe0a534883 | [
"Apache-2.0"
] | 534 | 2015-01-05T12:40:28.000Z | 2022-03-29T21:10:12.000Z | from django.apps import AppConfig
class PolymorphicTestsConfig(AppConfig):
name = 'ralph.lib.polymorphic.tests'
label = 'polymorphic_tests'
| 21.428571 | 40 | 0.766667 | 16 | 150 | 7.125 | 0.8125 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 6 | 41 | 25 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.293333 | 0.18 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cb2fcf4815db1ced88c669cd900af18721b7ed5e | 122 | py | Python | ch03_loops.py | jeffreycoen/prog_mb | 739e9869b51dc861a57da697d49406b1394ade6d | [
"MIT"
] | 13 | 2017-12-05T16:28:14.000Z | 2022-02-21T22:05:00.000Z | ch03_loops.py | jeffreycoen/prog_mb | 739e9869b51dc861a57da697d49406b1394ade6d | [
"MIT"
] | null | null | null | ch03_loops.py | jeffreycoen/prog_mb | 739e9869b51dc861a57da697d49406b1394ade6d | [
"MIT"
] | 5 | 2018-03-23T20:14:18.000Z | 2021-03-15T06:37:58.000Z | from microbit import *
while True:
display.scroll("Hello")
sleep(5000)
display.scroll("Bye")
sleep(5000)
| 15.25 | 27 | 0.647541 | 15 | 122 | 5.266667 | 0.733333 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0.221311 | 122 | 7 | 28 | 17.428571 | 0.747368 | 0 | 0 | 0.333333 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb3d7751e19c9e119a79a2a2fc7d873fa7fa564d | 57 | py | Python | HW7/q1.py | sina-moammar/2020-Fall-Computational-Physics | f03e95b0a97022b628175fd06c301aecfdcf60af | [
"MIT"
] | null | null | null | HW7/q1.py | sina-moammar/2020-Fall-Computational-Physics | f03e95b0a97022b628175fd06c301aecfdcf60af | [
"MIT"
] | null | null | null | HW7/q1.py | sina-moammar/2020-Fall-Computational-Physics | f03e95b0a97022b628175fd06c301aecfdcf60af | [
"MIT"
] | null | null | null | from Ising import example, Ising2D, Ensemble
example()
| 11.4 | 44 | 0.77193 | 7 | 57 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.157895 | 57 | 4 | 45 | 14.25 | 0.895833 | 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 | 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 | 4 |
cb496c98767a213374eb47dd5db228f65b6eb39d | 233 | py | Python | tests/myapp.py | Longweig/GiveAway | a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3 | [
"MIT"
] | null | null | null | tests/myapp.py | Longweig/GiveAway | a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3 | [
"MIT"
] | 5 | 2020-10-01T20:59:53.000Z | 2020-10-05T13:04:39.000Z | tests/myapp.py | Longweig/HappyPuppies | a5a7b08dcaf7a2b5a23955e9caa9b5b094e4c9c3 | [
"MIT"
] | null | null | null | from flask import Flask
def create_app():
app = Flask(__name__)
@app.route('/hello')
def hello():
return 'Hello, World!', 200
@app.route('/')
def base():
return 'Success!', 200
return app
| 14.5625 | 35 | 0.553648 | 28 | 233 | 4.428571 | 0.5 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.296137 | 233 | 15 | 36 | 15.533333 | 0.719512 | 0 | 0 | 0 | 0 | 0 | 0.120172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cb5e90e1ea90879d6a5c58d2dfea7aed310aba83 | 62 | py | Python | entity_embeddings/network/__init__.py | awesome-archive/entity_embeddings_categorical | fcd5e11ed55587ffa1d05f23521c01f970f1aca0 | [
"MIT"
] | 41 | 2019-12-02T03:11:48.000Z | 2021-04-19T02:02:18.000Z | entity_embeddings/network/__init__.py | awesome-archive/entity_embeddings_categorical | fcd5e11ed55587ffa1d05f23521c01f970f1aca0 | [
"MIT"
] | 10 | 2020-01-28T22:37:22.000Z | 2022-02-10T00:16:39.000Z | entity_embeddings/network/__init__.py | awesome-archive/entity_embeddings_categorical | fcd5e11ed55587ffa1d05f23521c01f970f1aca0 | [
"MIT"
] | 10 | 2019-03-12T16:03:32.000Z | 2019-11-05T01:27:05.000Z | from entity_embeddings.network.assembler import ModelAssembler | 62 | 62 | 0.919355 | 7 | 62 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 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 | 0 | 0 | 0 | 4 |
cb61307f26a7d683d67f7dda2d981ec516ae1f16 | 226 | py | Python | general-practice/Exercises solved/w3resource/basic/Exercise20.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/w3resource/basic/Exercise20.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/w3resource/basic/Exercise20.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | #Write a Python program to get a string which is n (non-negative integer) copies of a given string.
def newest(string,n):
return string*n
print(newest('odks',4))
print(newest('Gabriel',9))
print(newest('I love you',10)) | 28.25 | 100 | 0.716814 | 40 | 226 | 4.05 | 0.7 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020725 | 0.146018 | 226 | 8 | 101 | 28.25 | 0.818653 | 0.433628 | 0 | 0 | 0 | 0 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 4 |
cb7915a7730c7ed0d0c887e9b3a1f86bdd480e6e | 358 | py | Python | recipe_parser/recipes/_settings.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | recipe_parser/recipes/_settings.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | recipe_parser/recipes/_settings.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | HEADERS = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET",
"Access-Control-Allow-Headers": "Content-Type",
"Access-Control-Max-Age": "3600",
"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0",
}
SCHEMA_NAMES = ["Recipe", "WebPage"... | 35.8 | 97 | 0.648045 | 47 | 358 | 4.893617 | 0.744681 | 0.226087 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084142 | 0.136872 | 358 | 9 | 98 | 39.777778 | 0.660194 | 0 | 0 | 0 | 0 | 0.111111 | 0.670391 | 0.293296 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb89dabe0345df3f04e552e93f5755c45db6771c | 37 | py | Python | Chapter2/mlfinlab/tests/__init__.py | BenHughess/research | 6c2a03eb0be874c83cc5be349c9df19d4792b0c8 | [
"MIT"
] | 2 | 2020-01-29T11:14:30.000Z | 2020-03-23T14:24:24.000Z | Chapter2/mlfinlab/tests/__init__.py | rajsingh7/research | e2560c6851a37cb058ad183081936e7d5b4273a9 | [
"MIT"
] | null | null | null | Chapter2/mlfinlab/tests/__init__.py | rajsingh7/research | e2560c6851a37cb058ad183081936e7d5b4273a9 | [
"MIT"
] | 6 | 2021-01-11T17:19:23.000Z | 2022-01-03T02:29:58.000Z | """
Unit tests and code coverage
"""
| 9.25 | 28 | 0.648649 | 5 | 37 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 3 | 29 | 12.333333 | 0.8 | 0.756757 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb8c42f5b0d938d9d63693972d9d9eb146c3bf72 | 93 | py | Python | assessment_ms/app/assessment/apps.py | jakobschroeber/bachelor_thesis | e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb | [
"MIT"
] | null | null | null | assessment_ms/app/assessment/apps.py | jakobschroeber/bachelor_thesis | e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb | [
"MIT"
] | null | null | null | assessment_ms/app/assessment/apps.py | jakobschroeber/bachelor_thesis | e2d3fa7eb65bc32345acbda28fc4c7fb775f65cb | [
"MIT"
] | 1 | 2021-03-31T12:37:48.000Z | 2021-03-31T12:37:48.000Z | from django.apps import AppConfig
class MeasuresConfig(AppConfig):
name = 'assessment'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cb9a066de910bf2658f88452ca5f3194720a5224 | 105 | py | Python | tests/ambiguous2/models.py | hoefling/model_bakery | ddd258dcb3457899d31f31a1484ff937942c3a03 | [
"Apache-2.0"
] | 523 | 2019-10-11T12:23:01.000Z | 2022-03-26T18:49:42.000Z | tests/ambiguous2/models.py | hoefling/model_bakery | ddd258dcb3457899d31f31a1484ff937942c3a03 | [
"Apache-2.0"
] | 200 | 2019-10-11T11:59:20.000Z | 2022-03-31T22:44:39.000Z | tests/ambiguous2/models.py | hoefling/model_bakery | ddd258dcb3457899d31f31a1484ff937942c3a03 | [
"Apache-2.0"
] | 109 | 2015-01-15T00:36:52.000Z | 2018-07-26T11:22:50.000Z | from django.db import models
class Ambiguous(models.Model):
name = models.CharField(max_length=20)
| 17.5 | 42 | 0.761905 | 15 | 105 | 5.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.142857 | 105 | 5 | 43 | 21 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cb9e0e67a7bbfc42ec5e5b93131d0dbd3e7d491f | 189 | py | Python | invite.py | jasmaa/stapler-kun | 8b1adf883e03487882420902ef0b6a480a9a80d9 | [
"MIT"
] | null | null | null | invite.py | jasmaa/stapler-kun | 8b1adf883e03487882420902ef0b6a480a9a80d9 | [
"MIT"
] | null | null | null | invite.py | jasmaa/stapler-kun | 8b1adf883e03487882420902ef0b6a480a9a80d9 | [
"MIT"
] | null | null | null | import os
import discord
from dotenv import load_dotenv
load_dotenv()
if __name__ == '__main__':
print(f'{discord.utils.oauth_url(os.getenv("CLIENT_ID"), discord.Permissions(8208))}') | 23.625 | 90 | 0.756614 | 27 | 189 | 4.851852 | 0.703704 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.10582 | 189 | 8 | 90 | 23.625 | 0.751479 | 0 | 0 | 0 | 0 | 0 | 0.442105 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cbab1b573108b3628db9a2ef4bdb2974e0bdf655 | 265 | py | Python | hbutils/encoding/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | hbutils/encoding/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | 25 | 2021-10-03T06:19:05.000Z | 2022-03-27T12:48:57.000Z | hbutils/encoding/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | """
Overview:
Encoding module, include some not so complex but useful functions. They will improve \
the quality of your coding experience when dealing with these data.
"""
from .ansi import *
from .base64 import *
from .decode import *
from .hash import *
| 26.5 | 90 | 0.732075 | 37 | 265 | 5.243243 | 0.837838 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.196226 | 265 | 9 | 91 | 29.444444 | 0.901408 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
cbb07ef402083d05720cf79b4334b80bb5ff7e7f | 81 | py | Python | rl/models/dqn/__init__.py | khushhallchandra/pytorch-rl | 7d51d743de698101e48b487239925541bb6f8407 | [
"MIT"
] | 15 | 2018-01-12T12:33:45.000Z | 2019-04-26T07:36:27.000Z | rl/models/dqn/__init__.py | pulkitkatdare/pytorch-rl | 7d51d743de698101e48b487239925541bb6f8407 | [
"MIT"
] | 2 | 2020-09-27T14:41:23.000Z | 2020-09-28T14:08:53.000Z | rl/models/dqn/__init__.py | pulkitkatdare/pytorch-rl | 7d51d743de698101e48b487239925541bb6f8407 | [
"MIT"
] | 4 | 2018-01-12T11:02:03.000Z | 2020-03-24T19:31:15.000Z | from __future__ import absolute_import
from .critic_cartpole import CriticNetwork | 40.5 | 42 | 0.901235 | 10 | 81 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 42 | 40.5 | 0.905405 | 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 | 0 | 0 | 0 | 4 |
cbb13778ae48400f9451b5c68d170ebb5f2e94ed | 152 | py | Python | finmodelprep/api/stock_market.py | ignasrum/finmodelprep | 5751cb0caac2a7c866111ee6231255e523133cc9 | [
"MIT"
] | null | null | null | finmodelprep/api/stock_market.py | ignasrum/finmodelprep | 5751cb0caac2a7c866111ee6231255e523133cc9 | [
"MIT"
] | null | null | null | finmodelprep/api/stock_market.py | ignasrum/finmodelprep | 5751cb0caac2a7c866111ee6231255e523133cc9 | [
"MIT"
] | null | null | null | from finmodelprep.api.api import BASE_URL, download
### most active
### most gainer
### most loser
### NYSE trading hours
### sectors performance
| 11.692308 | 51 | 0.703947 | 19 | 152 | 5.578947 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177632 | 152 | 12 | 52 | 12.666667 | 0.848 | 0.480263 | 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 | 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 | 4 |
cbcad019215c83457379ac32cb8b3183b5f34b5c | 244 | py | Python | geomloss/__init__.py | ismedina/geomloss | bbd6289a139174effedb6855e1e992eb77772c67 | [
"MIT"
] | null | null | null | geomloss/__init__.py | ismedina/geomloss | bbd6289a139174effedb6855e1e992eb77772c67 | [
"MIT"
] | null | null | null | geomloss/__init__.py | ismedina/geomloss | bbd6289a139174effedb6855e1e992eb77772c67 | [
"MIT"
] | null | null | null | import sys, os.path
__version__ = "0.2.5"
from .samples_loss import SamplesLoss
from .wasserstein_barycenter_images import ImagesBarycenter
from .sinkhorn_images import sinkhorn_divergence
__all__ = sorted(["SamplesLoss, ImagesBarycenter"])
| 24.4 | 59 | 0.82377 | 29 | 244 | 6.482759 | 0.689655 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.102459 | 244 | 9 | 60 | 27.111111 | 0.844749 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cbd627e4db6882a161a863f42d4788382f45e741 | 156 | py | Python | voting/context_processors.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 23 | 2015-10-28T14:08:23.000Z | 2021-09-11T21:38:41.000Z | voting/context_processors.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 4 | 2019-12-05T20:36:10.000Z | 2020-06-05T18:41:54.000Z | voting/context_processors.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 11 | 2015-10-28T15:49:56.000Z | 2021-09-14T14:18:36.000Z | from voting.models import Election
def current_election(request):
return {
'current_election': Election.objects.get_current_election(),
}
| 19.5 | 68 | 0.724359 | 17 | 156 | 6.411765 | 0.647059 | 0.412844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185897 | 156 | 7 | 69 | 22.285714 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cbd7e6363d3427c47f06da3c89d63cf7ede0be80 | 25 | py | Python | tests/strings.py | zevtyardt/no-strint | 47583d55e3c4cd12f00f46902d2fd7d5138c3275 | [
"MIT"
] | 13 | 2019-03-13T04:14:45.000Z | 2020-04-05T09:13:21.000Z | tests/strings.py | CiKu370/no-strint | 4f4fbe71517b84c00abd4fbdee15bacba01c0079 | [
"MIT"
] | null | null | null | tests/strings.py | CiKu370/no-strint | 4f4fbe71517b84c00abd4fbdee15bacba01c0079 | [
"MIT"
] | 6 | 2019-03-22T04:48:59.000Z | 2020-08-07T17:09:20.000Z | "ab"
'abcdef..'
r"abcde"
| 6.25 | 10 | 0.56 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 3 | 11 | 8.333333 | 0.636364 | 0.08 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1dddfae5b9b54eb91624afad3e2aecdb1ace4932 | 85 | py | Python | test/outputs/defined.py | AquilaNipalensis/preprocess | 7f9fbe29cf27f1974ea8eacb46265c3215ca6b03 | [
"MIT"
] | 5 | 2020-06-19T16:02:23.000Z | 2021-12-23T22:15:15.000Z | test/outputs/defined.py | AquilaNipalensis/preprocess | 7f9fbe29cf27f1974ea8eacb46265c3215ca6b03 | [
"MIT"
] | null | null | null | test/outputs/defined.py | AquilaNipalensis/preprocess | 7f9fbe29cf27f1974ea8eacb46265c3215ca6b03 | [
"MIT"
] | 1 | 2020-06-17T08:42:11.000Z | 2020-06-17T08:42:11.000Z | #!python
if __name__ == '__main__':
print("ASDF not defined")
print("bye")
| 12.142857 | 29 | 0.6 | 10 | 85 | 4.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 85 | 6 | 30 | 14.166667 | 0.651515 | 0.082353 | 0 | 0 | 0 | 0 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1ded13f08505893f2726f5352222a2193fbd2cf7 | 258 | py | Python | test/test_grid_entities.py | The224/PathViz | db807b091997303bfbc9853bedc6a5d7a2b99da7 | [
"Apache-2.0"
] | 1 | 2020-10-11T08:38:26.000Z | 2020-10-11T08:38:26.000Z | test/test_grid_entities.py | The224/PathViz | db807b091997303bfbc9853bedc6a5d7a2b99da7 | [
"Apache-2.0"
] | null | null | null | test/test_grid_entities.py | The224/PathViz | db807b091997303bfbc9853bedc6a5d7a2b99da7 | [
"Apache-2.0"
] | null | null | null | import unittest
from utils.logger import get_logger
class TestGraphEntities(unittest.TestCase):
logger = get_logger(__name__)
def tearDown(self) -> None:
pass
def setUp(self) -> None:
pass
def test_(self):
pass
| 14.333333 | 43 | 0.643411 | 30 | 258 | 5.3 | 0.566667 | 0.113208 | 0.150943 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275194 | 258 | 17 | 44 | 15.176471 | 0.850267 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.2 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1df248a13f3a36540e8349052403baff91c501d7 | 16,621 | py | Python | softWare/Generate/data.py | BUAANameNotFound/OCR-Form-Tools | 2c795307a5f945126c20f1fdc547829a989d263b | [
"MIT"
] | 8 | 2020-04-12T19:11:16.000Z | 2021-08-15T07:56:06.000Z | softWare/Generate/data.py | BUAANameNotFound/OCR-Form-Tools | 2c795307a5f945126c20f1fdc547829a989d263b | [
"MIT"
] | 96 | 2020-04-12T11:27:23.000Z | 2020-06-02T02:54:56.000Z | softWare/Generate/data.py | BUAANameNotFound/OCR-Form-Tools | 2c795307a5f945126c20f1fdc547829a989d263b | [
"MIT"
] | null | null | null | address = ['25 Pine St.', 'Glasgow, KY 42141', '9847 Howard Street', 'Englishtown, NJ 07726', '43 Poor House St.', 'West Chicago, IL 60185', '1 Rockledge Ave.', 'Mentor, OH 44060', '76 King Dr.', 'West Warwick, RI 02893', '225 Thorne Drive', 'Portland, ME 04103', '859 Nut Swamp Dr.', 'Piscataway, NJ 08854', '42 Baker A... | 5,540.333333 | 9,004 | 0.692317 | 2,351 | 16,621 | 4.894513 | 0.591663 | 0.009386 | 0.001738 | 0.00365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106573 | 0.117622 | 16,621 | 3 | 9,005 | 5,540.333333 | 0.678031 | 0 | 0 | 0 | 0 | 0 | 0.804693 | 0.03213 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1df7e787b52b61760559089efa436891af53799b | 916 | py | Python | tests/test_read_json_value.py | MacHu-GWU/sanhe_devops_tools-project | bc617a962db69818d6279277bf24ac45a43f2030 | [
"MIT"
] | null | null | null | tests/test_read_json_value.py | MacHu-GWU/sanhe_devops_tools-project | bc617a962db69818d6279277bf24ac45a43f2030 | [
"MIT"
] | null | null | null | tests/test_read_json_value.py | MacHu-GWU/sanhe_devops_tools-project | bc617a962db69818d6279277bf24ac45a43f2030 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from os.path import join, dirname
from sanhe_devops_tools.read_json_value import get_json_value
file_path = join(dirname(__file__), "complex-data.json")
def test_get_json_value():
assert get_json_value(file_path, "name") == "alice"
assert get_json_value(file_path, "$.na... | 31.586207 | 80 | 0.69869 | 133 | 916 | 4.43609 | 0.323308 | 0.167797 | 0.20339 | 0.244068 | 0.647458 | 0.613559 | 0.613559 | 0.613559 | 0.613559 | 0.613559 | 0 | 0.049618 | 0.141921 | 916 | 28 | 81 | 32.714286 | 0.701018 | 0.022926 | 0 | 0 | 0 | 0 | 0.244121 | 0.024636 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.058824 | false | 0 | 0.235294 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3803fdad813bbdbd93cce3470dd56d81895f96a8 | 265 | py | Python | pagseguro/api/v2/settings.py | ricardosasilva/pagseguro-python | 8e39d1b0585684c460b86073d1fb3f33112b5b3d | [
"Apache-2.0"
] | 1 | 2017-02-02T05:54:15.000Z | 2017-02-02T05:54:15.000Z | pagseguro/api/v2/settings.py | ricardosasilva/pagseguro-python | 8e39d1b0585684c460b86073d1fb3f33112b5b3d | [
"Apache-2.0"
] | 1 | 2021-01-07T03:15:02.000Z | 2021-01-19T08:32:32.000Z | pagseguro/api/v2/settings.py | ricardosasilva/pagseguro-python | 8e39d1b0585684c460b86073d1fb3f33112b5b3d | [
"Apache-2.0"
] | 3 | 2015-03-28T07:21:30.000Z | 2019-03-28T01:55:56.000Z | # -*- coding: utf-8 -*-
PAGSEGURO_API_URL = 'https://ws.pagseguro.uol.com.br/v2/checkout'
PAGSEGURO_PAYMENT_URL = 'https://pagseguro.uol.com.br/v2/checkout/payment.html'
PAGSEGURO_NOTIFICATION_URL = 'https://ws.pagseguro.uol.com.br/v2/transactions/notifications/'
| 44.166667 | 93 | 0.762264 | 38 | 265 | 5.157895 | 0.473684 | 0.122449 | 0.229592 | 0.260204 | 0.47449 | 0.47449 | 0.295918 | 0.295918 | 0 | 0 | 0 | 0.016 | 0.056604 | 265 | 5 | 94 | 53 | 0.768 | 0.079245 | 0 | 0 | 0 | 0 | 0.652893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3815f0af2c993be3ebb9e7b5b93cdc6e6635fdb2 | 119 | py | Python | algorithms/warmup/solve_me_first.py | avenet/hackerrank | e522030a023af4ff50d5fc64bd3eba30144e006c | [
"MIT"
] | null | null | null | algorithms/warmup/solve_me_first.py | avenet/hackerrank | e522030a023af4ff50d5fc64bd3eba30144e006c | [
"MIT"
] | null | null | null | algorithms/warmup/solve_me_first.py | avenet/hackerrank | e522030a023af4ff50d5fc64bd3eba30144e006c | [
"MIT"
] | null | null | null | def solve_me_first(a,b):
return a + b
num1 = input()
num2 = input()
res = solve_me_first(num1, num2)
print(res)
| 11.9 | 32 | 0.655462 | 21 | 119 | 3.52381 | 0.571429 | 0.189189 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.201681 | 119 | 9 | 33 | 13.222222 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
3840b21091a116ecca8bba4f8340019a654fc575 | 140 | py | Python | SmartAPI/smartapiexceptions/IllegalCountryCodeException.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/smartapiexceptions/IllegalCountryCodeException.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/smartapiexceptions/IllegalCountryCodeException.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null |
class IllegalCountryCodeException(Exception):
def __init__(self, message):
super(IllegalCountryCodeException, self).__init__(message)
| 20 | 60 | 0.814286 | 12 | 140 | 8.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 6 | 61 | 23.333333 | 0.834646 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
384b44943ea5555d0d1ac36f2994503e479c3d7e | 1,551 | py | Python | validator/ExamValidator.py | Taller-de-programacion-2-Grupo-14/ubademy-exams | f84e8b4823f6443ba4124e4e8682ccc4c92620dd | [
"MIT"
] | null | null | null | validator/ExamValidator.py | Taller-de-programacion-2-Grupo-14/ubademy-exams | f84e8b4823f6443ba4124e4e8682ccc4c92620dd | [
"MIT"
] | 1 | 2021-12-23T06:00:01.000Z | 2021-12-23T06:00:01.000Z | validator/ExamValidator.py | Taller-de-programacion-2-Grupo-14/ubademy-exams | f84e8b4823f6443ba4124e4e8682ccc4c92620dd | [
"MIT"
] | null | null | null | from requests import HTTPError
from exceptions.ExamException import CourseNotFound
from external.courses import Courses
class ExamValidator:
def __init__(self, database):
self.db = database
self.courses = Courses()
def get_course_data(self, course_id, user_id):
try:
data ... | 33.717391 | 64 | 0.68343 | 207 | 1,551 | 4.816425 | 0.256039 | 0.120361 | 0.180542 | 0.210632 | 0.326981 | 0.252758 | 0.252758 | 0.252758 | 0.252758 | 0.252758 | 0 | 0.000838 | 0.230174 | 1,551 | 45 | 65 | 34.466667 | 0.834171 | 0 | 0 | 0.114286 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0 | 0.085714 | 0 | 0.514286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
697562216296972c5fbb26b64045d870e2d2f1d1 | 1,479 | py | Python | python-algorithm/leetcode/problem_705.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 5 | 2017-06-11T09:19:34.000Z | 2019-01-16T16:58:31.000Z | python-algorithm/leetcode/problem_705.py | isudox/leetcode-solution | 60085e64deaf396a171367affc94b18114565c43 | [
"MIT"
] | 5 | 2020-03-22T13:53:54.000Z | 2020-03-23T08:49:35.000Z | python-algorithm/leetcode/problem_705.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 1 | 2019-03-02T15:50:43.000Z | 2019-03-02T15:50:43.000Z | """705. Design HashSet
https://leetcode.com/problems/design-hashset/
Design a HashSet without using any built-in hash table libraries.
Implement MyHashSet class:
void add(key) Inserts the value key into the HashSet.
bool contains(key) Returns whether the value key exists in the HashSet or
not.
void remove(key) Remov... | 25.947368 | 76 | 0.655172 | 220 | 1,479 | 4.386364 | 0.377273 | 0.041451 | 0.034197 | 0.033161 | 0.12228 | 0.12228 | 0.12228 | 0.072539 | 0 | 0 | 0 | 0.036882 | 0.193374 | 1,479 | 56 | 77 | 26.410714 | 0.772003 | 0.801893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
699cb87491f7b60ad64b8106580facf69f0dc355 | 7,687 | py | Python | tests/test_stock.py | condereis/realtime-stock | a00836a7cd55313866ab26eb1aaa7d5fb14af94a | [
"MIT"
] | 27 | 2016-07-12T02:52:03.000Z | 2021-07-22T21:15:50.000Z | tests/test_stock.py | condereis/realtime-stock | a00836a7cd55313866ab26eb1aaa7d5fb14af94a | [
"MIT"
] | 399 | 2016-07-26T00:55:07.000Z | 2022-03-27T20:02:18.000Z | tests/test_stock.py | condereis/realtime-stock | a00836a7cd55313866ab26eb1aaa7d5fb14af94a | [
"MIT"
] | 14 | 2018-03-23T20:57:10.000Z | 2021-12-19T19:21:54.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_stock
----------------------------------
Tests for `rtstock` module.
"""
import os
import sys
import unittest
import rtstock.error as error
from rtstock.stock import Stock
class TestRealStock(unittest.TestCase):
"""Tests for Stock."""
def setUp(self... | 40.036458 | 76 | 0.612593 | 720 | 7,687 | 6.405556 | 0.223611 | 0.037077 | 0.031223 | 0.033825 | 0.75954 | 0.743278 | 0.730703 | 0.69601 | 0.664788 | 0.652645 | 0 | 0.008525 | 0.252244 | 7,687 | 191 | 77 | 40.246073 | 0.793841 | 0.128919 | 0 | 0.709677 | 0 | 0 | 0.283022 | 0.108375 | 0 | 0 | 0 | 0 | 0.201613 | 1 | 0.137097 | false | 0 | 0.040323 | 0 | 0.201613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
699edd6e3f66cecf8af6cdbc003f24b79fddc8ae | 126 | py | Python | truck/apps.py | swallville/driverBackEnd | 3599e5a2e58304e08502b10a3856b77a05c7fd16 | [
"MIT"
] | null | null | null | truck/apps.py | swallville/driverBackEnd | 3599e5a2e58304e08502b10a3856b77a05c7fd16 | [
"MIT"
] | 3 | 2021-03-30T12:53:49.000Z | 2021-09-22T18:44:52.000Z | truck/apps.py | swallville/driverBackEnd | 3599e5a2e58304e08502b10a3856b77a05c7fd16 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class TruckConfig(AppConfig):
name = 'truck'
| 15.75 | 39 | 0.785714 | 15 | 126 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 7 | 40 | 18 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69b0c71d3bb8f4cf67474c55884300e34280ea53 | 1,710 | py | Python | stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/__init___parts/DynamicResourceExtensionConverter.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class DynamicResourceExtensionConverter(TypeConverter):
"""
Converts from parsed XAML to System.Windows.DynamicResourceExtension and supports dynamic resource references made from XAML.
DynamicResourceExtensionConverter()
"""
def CanConvertTo(self,*__args):
"""
CanConvertTo(self: DynamicResourceExt... | 39.767442 | 153 | 0.74386 | 177 | 1,710 | 7.163842 | 0.440678 | 0.044953 | 0.05836 | 0.104101 | 0.089905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1,710 | 42 | 154 | 40.714286 | 0.926901 | 0.84269 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
69d65a2eb908a2bca5978393781764fde28a6941 | 50 | py | Python | cve_searchsploit/__main__.py | alanyee/cve_searchsploit | a99fc4a11d673a7968736a0e1837af7379ff1873 | [
"MIT"
] | 127 | 2017-06-24T12:43:35.000Z | 2022-03-31T12:56:46.000Z | cve_searchsploit/__main__.py | ARAisling/cve_searchsploit | a99fc4a11d673a7968736a0e1837af7379ff1873 | [
"MIT"
] | 10 | 2018-09-07T02:54:40.000Z | 2022-03-28T09:49:43.000Z | cve_searchsploit/__main__.py | ARAisling/cve_searchsploit | a99fc4a11d673a7968736a0e1837af7379ff1873 | [
"MIT"
] | 42 | 2018-02-27T02:30:00.000Z | 2022-03-28T20:14:35.000Z | #!/usr/bin/env python3
from . import main
main()
| 10 | 22 | 0.68 | 8 | 50 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.16 | 50 | 4 | 23 | 12.5 | 0.785714 | 0.42 | 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 | 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 | 4 |
0e019be143cd9a93033a3429aaf9422f8056fc05 | 651 | py | Python | django_analyses/serializers/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 1 | 2020-12-30T12:43:34.000Z | 2020-12-30T12:43:34.000Z | django_analyses/serializers/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 59 | 2019-12-25T13:14:56.000Z | 2021-07-22T12:24:46.000Z | django_analyses/serializers/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 2 | 2020-05-24T06:44:27.000Z | 2020-07-09T15:47:31.000Z | from django_analyses.serializers.input.types.boolean_input import \
BooleanInputSerializer
from django_analyses.serializers.input.types.directory_input import \
DirectoryInputSerializer
from django_analyses.serializers.input.types.file_input import \
FileInputSerializer
from django_analyses.serializers.inpu... | 43.4 | 69 | 0.849462 | 70 | 651 | 7.7 | 0.3 | 0.12987 | 0.233766 | 0.376623 | 0.506494 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 651 | 14 | 70 | 46.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3871a3c9fa31a7007d593be363fe02c10720faa9 | 233 | py | Python | src/ackermann/__init__.py | baldulin/ackermann | e9cb7648c14610b249256a0531a533e3d2b7c70e | [
"MIT"
] | 2 | 2021-05-17T07:27:02.000Z | 2021-06-24T18:48:43.000Z | src/ackermann/__init__.py | baldulin/ackermann | e9cb7648c14610b249256a0531a533e3d2b7c70e | [
"MIT"
] | null | null | null | src/ackermann/__init__.py | baldulin/ackermann | e9cb7648c14610b249256a0531a533e3d2b7c70e | [
"MIT"
] | null | null | null | """
Ackerman runs commands after executing the right targets.
"""
from .command import Command
from .config import (Config, async_init, async_run, config_unit, get_config,
init, run)
from .vars import ConfigVar
| 25.888889 | 76 | 0.708155 | 30 | 233 | 5.366667 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214592 | 233 | 8 | 77 | 29.125 | 0.879781 | 0.244635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
38a73501c3adfe60f2bc53ee892bb0afd0e22ac0 | 17,647 | py | Python | river/migrations/0001_initial.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 705 | 2015-07-23T16:09:06.000Z | 2022-03-05T03:52:31.000Z | river/migrations/0001_initial.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 188 | 2015-08-28T21:58:38.000Z | 2021-12-15T06:39:37.000Z | river/migrations/0001_initial.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 101 | 2015-08-30T04:22:57.000Z | 2022-03-29T06:58:20.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-03-16 11:46
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import mptt.fields
class Migration(migrations.Migration):
initial = True
dependencies ... | 61.487805 | 218 | 0.636822 | 1,796 | 17,647 | 6.046771 | 0.083519 | 0.09116 | 0.041252 | 0.064825 | 0.80663 | 0.761418 | 0.693278 | 0.66105 | 0.640424 | 0.619153 | 0 | 0.00526 | 0.224287 | 17,647 | 286 | 219 | 61.702797 | 0.788078 | 0.00391 | 0 | 0.615108 | 1 | 0 | 0.23744 | 0.045121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017986 | 0 | 0.032374 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38b9933544e5002d4d9a261295c13473e3af63e6 | 262 | py | Python | bayesian_inference/exceptions/__init__.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | 3 | 2020-06-19T05:37:44.000Z | 2022-02-02T02:15:45.000Z | bayesian_inference/exceptions/__init__.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | null | null | null | bayesian_inference/exceptions/__init__.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | null | null | null | from .exceptions import (
IncompleteNodeDataException, PredecessorNotExistInNetwork, NotAllExpectedProbabilityExist,
HaveAtLeastOneRandomVariable, NonUniqueRandomVariablesInQuery, RandomVariableNotInContext,
InvalidQuery, InvalidProbabilityFactor,
)
| 43.666667 | 94 | 0.862595 | 11 | 262 | 20.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09542 | 262 | 5 | 95 | 52.4 | 0.953587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38bb80a3d01e89eba6e2d652504154ea920a3420 | 210 | py | Python | shovel/readme.py | garbagetrash/orbital | 92a81391bd4a97dc45caaaf7ae2600efecb345fd | [
"MIT"
] | 77 | 2015-01-16T05:45:28.000Z | 2022-03-24T14:29:54.000Z | shovel/readme.py | garbagetrash/orbital | 92a81391bd4a97dc45caaaf7ae2600efecb345fd | [
"MIT"
] | 20 | 2016-04-21T02:55:53.000Z | 2022-02-07T18:21:07.000Z | shovel/readme.py | garbagetrash/orbital | 92a81391bd4a97dc45caaaf7ae2600efecb345fd | [
"MIT"
] | 31 | 2015-01-22T12:31:57.000Z | 2022-01-06T23:33:20.000Z | from shovel import task
import subprocess
@task
def rst():
"""Convert markdown readme to reStructuredText"""
subprocess.call(['pandoc', '--from=markdown', '--to=rst', '--output=README', 'README.md'])
| 23.333333 | 94 | 0.67619 | 25 | 210 | 5.68 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138095 | 210 | 8 | 95 | 26.25 | 0.78453 | 0.204762 | 0 | 0 | 0 | 0 | 0.329193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
38e91604df814dfb6e088d0feed15e28b39b4ee4 | 15 | py | Python | test/integration/ListSortStrings/list sort strings.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/ListSortStrings/list sort strings.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/ListSortStrings/list sort strings.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
abc.sort()
#
| 3.75 | 10 | 0.466667 | 2 | 15 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 3 | 11 | 5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a0c88b26991e7a591e5230da6ec3120cecc8f68 | 368 | py | Python | LMS/controller/routes.py | iKintosh/Tink2020_LMS | d5937658cec701af04be18cfae648ffc3bdadf53 | [
"MIT"
] | 1 | 2021-05-13T08:42:11.000Z | 2021-05-13T08:42:11.000Z | LMS/controller/routes.py | iKintosh/Tink2020_LMS | d5937658cec701af04be18cfae648ffc3bdadf53 | [
"MIT"
] | 3 | 2020-03-31T10:48:13.000Z | 2021-08-23T20:34:26.000Z | LMS/controller/routes.py | iKintosh/Tink2020_LMS | d5937658cec701af04be18cfae648ffc3bdadf53 | [
"MIT"
] | null | null | null | from LMS import api
from LMS.controller import login
from LMS.controller import signup
from LMS.controller import user
api.add_resource(signup.SignupApi, "/signup")
api.add_resource(login.LoginApi, "/login")
api.add_resource(user.UserListAPI, "/user")
api.add_resource(user.UserAPI, "/user/<int:url_id>")
"""API.add_res... | 30.666667 | 57 | 0.777174 | 53 | 368 | 5.283019 | 0.377358 | 0.107143 | 0.2 | 0.246429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 368 | 11 | 58 | 33.454545 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.117264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2a1d8700620ae8a07ea127779cf8c805bca632b8 | 106 | py | Python | test/test_evaluate/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py | rosslannen/jedi | b8d2757cdbe8ece6778031d0536a759b3273d15e | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/test_evaluate/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py | rosslannen/jedi | b8d2757cdbe8ece6778031d0536a759b3273d15e | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/examples/sample_venvs/pth_directory/dir-from-foo-pth/__init__.py | PeterJCLaw/jedi | 070f191f550990c23220d7f209df076178307cf6 | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | # This file is here to force git to create the directory, as *.pth files only
# add existing directories.
| 35.333333 | 77 | 0.754717 | 18 | 106 | 4.444444 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 2 | 78 | 53 | 0.930233 | 0.95283 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 4 |
2a25c04c81202eb99ccdbd4466ab482c77d4be3d | 163 | py | Python | interface/usecase/auth_usecase.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | null | null | null | interface/usecase/auth_usecase.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | 30 | 2021-08-25T16:33:32.000Z | 2021-12-13T06:49:38.000Z | interface/usecase/auth_usecase.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class AuthUsecase(metaclass=ABCMeta):
@abstractmethod
def verify_user(self, id_token: str) -> dict:
pass
| 20.375 | 49 | 0.717791 | 19 | 163 | 6.052632 | 0.894737 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202454 | 163 | 7 | 50 | 23.285714 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2a302fe387043cd61cfe03e626b6deb39e95b92f | 95 | py | Python | continents/apps.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | null | null | null | continents/apps.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | 9 | 2019-11-08T07:08:14.000Z | 2022-02-10T11:24:37.000Z | continents/apps.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ContinentsConfig(AppConfig):
name = 'continents'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aa67c27df81e19bbe8eefe35decbc21171588cfa | 182 | py | Python | client/exceptions.py | lramosduarte/toggl-client | 26e6c518244ba58b48a5bef9c2ef1931499407d4 | [
"MIT"
] | 1 | 2017-09-06T10:28:04.000Z | 2017-09-06T10:28:04.000Z | client/exceptions.py | lramosduarte/toggl-client | 26e6c518244ba58b48a5bef9c2ef1931499407d4 | [
"MIT"
] | 3 | 2017-08-29T16:53:05.000Z | 2019-10-25T23:29:24.000Z | client/exceptions.py | lramosduarte/toggl-client | 26e6c518244ba58b48a5bef9c2ef1931499407d4 | [
"MIT"
] | null | null | null | class TogglClientException(Exception):
pass
class ArquivoCOnfiguracaoNaoEncontrado(TogglClientException):
pass
class TarefaAtivaException(TogglClientException):
pass
| 16.545455 | 61 | 0.813187 | 12 | 182 | 12.333333 | 0.5 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137363 | 182 | 10 | 62 | 18.2 | 0.942675 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
aaa7dc80b776e0d99dfafd8fb6a73083fdc178c5 | 468 | py | Python | Algorithm/DirectedEdge.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | Algorithm/DirectedEdge.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | Algorithm/DirectedEdge.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/env python3
class DirectedEdge:
def __init__(self, v, w, weight):
self.v = v
self.w = w
self.weight = weight
def fromv(self):
return self.v
def to(self):
return self.w
def getVertex(self):
return (self.v, self.w)
def getWeight(self):
... | 19.5 | 97 | 0.564103 | 62 | 468 | 4.129032 | 0.322581 | 0.195313 | 0.21875 | 0.117188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003049 | 0.299145 | 468 | 23 | 98 | 20.347826 | 0.777439 | 0.044872 | 0 | 0 | 0 | 0.066667 | 0.177528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.333333 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
aaa960244e3cd4083dd96518f547e351ef592863 | 2,725 | py | Python | tests/test_fila.py | levysiqueira/py-pcs3110 | 1de11b58eca1afafc0a82386a057cd3fe70cedcf | [
"CC-BY-4.0"
] | 9 | 2019-09-19T23:42:31.000Z | 2021-12-04T03:33:23.000Z | tests/test_fila.py | levysiqueira/py-pcs3110 | 1de11b58eca1afafc0a82386a057cd3fe70cedcf | [
"CC-BY-4.0"
] | null | null | null | tests/test_fila.py | levysiqueira/py-pcs3110 | 1de11b58eca1afafc0a82386a057cd3fe70cedcf | [
"CC-BY-4.0"
] | 2 | 2019-09-26T20:53:45.000Z | 2019-12-19T04:40:42.000Z | """
Algoritmos de PCS3110 em Python
Testes / Exemplos
"""
from modulo1.fila import Fila
import unittest
class TestFila(unittest.TestCase):
def setUp(self):
self.fila = Fila()
def test_dequeue_fila_vazia(self):
self.assertRaises(ValueError, self.fila.dequeue)
def test_enqueue(self):
... | 27.806122 | 59 | 0.612844 | 354 | 2,725 | 4.649718 | 0.118644 | 0.291616 | 0.209599 | 0.147023 | 0.801944 | 0.741798 | 0.611179 | 0.50243 | 0.417375 | 0.385176 | 0 | 0.025012 | 0.251743 | 2,725 | 98 | 60 | 27.806122 | 0.782246 | 0.017982 | 0 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.125 | false | 0 | 0.027778 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aac2ac173254fc14f70161ff1dff729076232bcc | 657 | py | Python | tests/builtin_constants.py | gousaiyang/vermin | 5566d87dbed25372ca0083dd4bbb6fb069838520 | [
"MIT"
] | null | null | null | tests/builtin_constants.py | gousaiyang/vermin | 5566d87dbed25372ca0083dd4bbb6fb069838520 | [
"MIT"
] | null | null | null | tests/builtin_constants.py | gousaiyang/vermin | 5566d87dbed25372ca0083dd4bbb6fb069838520 | [
"MIT"
] | null | null | null | from .testutils import VerminTest
class VerminBuiltinConstantsTests(VerminTest):
def test_obj_of_memoryview(self):
self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').obj"))
def test_nbytes_of_memoryview(self):
self.assertOnlyIn((3, 3), self.detect("memoryview(b'1').nbytes"))
def test_contiguous_of... | 36.5 | 75 | 0.741248 | 91 | 657 | 5.142857 | 0.230769 | 0.074786 | 0.17094 | 0.213675 | 0.662393 | 0.662393 | 0.662393 | 0.662393 | 0.662393 | 0.662393 | 0 | 0.025381 | 0.100457 | 657 | 17 | 76 | 38.647059 | 0.766497 | 0 | 0 | 0 | 0 | 0 | 0.194825 | 0.164384 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aace29ebe6a472272cfa9f3bd189a19639fc7c6e | 81 | py | Python | blapp/utils/testing/browser.py | litheblas/blapp | 35b6768044a5d545e2d5931fc61e6a824f2bc729 | [
"MIT"
] | null | null | null | blapp/utils/testing/browser.py | litheblas/blapp | 35b6768044a5d545e2d5931fc61e6a824f2bc729 | [
"MIT"
] | 2 | 2018-12-13T12:19:38.000Z | 2020-06-05T18:38:22.000Z | blapp/utils/testing/browser.py | litheblas/blapp | 35b6768044a5d545e2d5931fc61e6a824f2bc729 | [
"MIT"
] | 1 | 2018-06-29T05:30:16.000Z | 2018-06-29T05:30:16.000Z | import attr
@attr.dataclass(frozen=True)
class ExternalWebserver:
url: str
| 11.571429 | 28 | 0.753086 | 10 | 81 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 6 | 29 | 13.5 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aade615e459b15cb583218ca466ff09dd4669147 | 278 | py | Python | ppb/systems/__init__.py | ironfroggy/pursuedpybear | a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780 | [
"Artistic-2.0"
] | null | null | null | ppb/systems/__init__.py | ironfroggy/pursuedpybear | a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780 | [
"Artistic-2.0"
] | null | null | null | ppb/systems/__init__.py | ironfroggy/pursuedpybear | a17d29dd58a6f2ecad1f0a9dcf4ee23bed87d780 | [
"Artistic-2.0"
] | null | null | null | from ppb.systems.inputs import EventPoller
from ppb.systems.renderer import Renderer, Image
from ppb.systems.clocks import Updater
from ppb.systems.sound import SoundController, Sound
__all__ = (
'EventPoller', 'Renderer', 'Image', 'Updater', 'SoundController', 'Sound',
)
| 30.888889 | 78 | 0.769784 | 33 | 278 | 6.363636 | 0.393939 | 0.133333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118705 | 278 | 8 | 79 | 34.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.183453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2a9ff84b24047f39c19555e4ad7c871ff9681fd5 | 167 | py | Python | Problem29.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem29.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem29.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | #distinct powers
if __name__ == '__main__':
s = []
for i in range(2, 101):
for j in range(2, 101):
s.append(i ** j)
print(len(set(s))) | 20.875 | 31 | 0.502994 | 26 | 167 | 2.923077 | 0.653846 | 0.184211 | 0.210526 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.329341 | 167 | 8 | 32 | 20.875 | 0.607143 | 0.08982 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 4 |
2ad43e3e88b9fccc6f9029c7da92686e2aaa7634 | 160 | py | Python | aiogithub/objects/milestone.py | flying-sheep/aiogithub | 566252cac036d9abe2b1eb2acb268547e01ca63e | [
"BSD-3-Clause"
] | 10 | 2016-09-13T15:50:10.000Z | 2021-05-27T15:36:58.000Z | aiogithub/objects/milestone.py | flying-sheep/aiogithub | 566252cac036d9abe2b1eb2acb268547e01ca63e | [
"BSD-3-Clause"
] | 5 | 2017-03-26T13:51:40.000Z | 2020-04-22T19:46:36.000Z | aiogithub/objects/milestone.py | flying-sheep/aiogithub | 566252cac036d9abe2b1eb2acb268547e01ca63e | [
"BSD-3-Clause"
] | 2 | 2020-03-05T06:07:18.000Z | 2022-02-11T14:23:46.000Z | from aiogithub.objects.response import BaseResponseObject
class Milestone(BaseResponseObject):
_url = 'repos/{login}/{repo}/milestones/{number}'
pass
| 22.857143 | 57 | 0.7625 | 16 | 160 | 7.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 6 | 58 | 26.666667 | 0.864286 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2ae6dcd7082879b1b052cefa463cbed3e7e8d7d9 | 7,352 | py | Python | dedupifier/tests/test_dedupe.py | bne/dedupifier | fe683bec4c07944a5c7486df8052c08913604a67 | [
"Apache-2.0"
] | null | null | null | dedupifier/tests/test_dedupe.py | bne/dedupifier | fe683bec4c07944a5c7486df8052c08913604a67 | [
"Apache-2.0"
] | null | null | null | dedupifier/tests/test_dedupe.py | bne/dedupifier | fe683bec4c07944a5c7486df8052c08913604a67 | [
"Apache-2.0"
] | null | null | null | import os
import shutil
import unittest
from dedupifier import dedupe
RED_FILE = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00d\x00\x00\x00d\x08\x06\x00\x00\x00p\xe2\x95T\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\x00IDATx\x9c\xed\xd1A\r\x00 \x10\xc0\xb0\x03\xff\x9e\xe1\x8d\x02\xf6h\x15,\xd9:3g\xc... | 58.816 | 914 | 0.655196 | 1,222 | 7,352 | 3.896072 | 0.139116 | 0.083176 | 0.181474 | 0.201638 | 0.68305 | 0.609536 | 0.561647 | 0.552825 | 0.535182 | 0.52405 | 0 | 0.251876 | 0.166213 | 7,352 | 124 | 915 | 59.290323 | 0.524796 | 0.021899 | 0 | 0.276596 | 0 | 0.042553 | 0.556769 | 0.534929 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0.06383 | false | 0.010638 | 0.042553 | 0 | 0.159574 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2afef547347b1633eb3944c08e927cdb993eb468 | 5,829 | py | Python | tests/python_test_utils/wenzel_utils.py | jiangzhongshi/acorns-benchmark | df5f43af90a32f4c1578cdea1f4f412237e18c75 | [
"MIT"
] | 1 | 2021-09-24T21:24:02.000Z | 2021-09-24T21:24:02.000Z | tests/python_test_utils/wenzel_utils.py | jiangzhongshi/acorns-benchmark | df5f43af90a32f4c1578cdea1f4f412237e18c75 | [
"MIT"
] | null | null | null | tests/python_test_utils/wenzel_utils.py | jiangzhongshi/acorns-benchmark | df5f43af90a32f4c1578cdea1f4f412237e18c75 | [
"MIT"
] | 1 | 2021-09-24T21:22:54.000Z | 2021-09-24T21:22:54.000Z | import os
import general_utils
def generate_wenzel_file(func_num, num_params, functions, params_filename, degree, static):
if static:
if degree == 'single':
with open('./tests/utils/static_code/grad/wenzel_single_static.txt', 'r') as file:
wenzel = file.read()
we... | 54.990566 | 185 | 0.601132 | 727 | 5,829 | 4.550206 | 0.10729 | 0.096735 | 0.116082 | 0.053204 | 0.828597 | 0.819528 | 0.756651 | 0.684099 | 0.633313 | 0.592503 | 0 | 0.006314 | 0.266426 | 5,829 | 106 | 186 | 54.990566 | 0.767306 | 0 | 0 | 0.5 | 1 | 0.039216 | 0.291081 | 0.20669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.019608 | 0 | 0.107843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6301e4b14af53f889f25ba27f22c4805b7d730c8 | 156 | py | Python | __main__.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | __main__.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | __main__.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | from View import View
from Control import Control
if __name__ == '__main__':
control = Control.Control()
view = View.View(control)
view.start() | 22.285714 | 31 | 0.698718 | 20 | 156 | 5.05 | 0.4 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198718 | 156 | 7 | 32 | 22.285714 | 0.808 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
63123ddb432599c0eed546b56abb4bc89b17b55c | 10,906 | py | Python | dbt/adapters/spark/authentication.py | valdasm/dbt-spark | e37aac4d8c85bcb481e2dd5936a71865936be459 | [
"Apache-2.0"
] | null | null | null | dbt/adapters/spark/authentication.py | valdasm/dbt-spark | e37aac4d8c85bcb481e2dd5936a71865936be459 | [
"Apache-2.0"
] | null | null | null | dbt/adapters/spark/authentication.py | valdasm/dbt-spark | e37aac4d8c85bcb481e2dd5936a71865936be459 | [
"Apache-2.0"
] | null | null | null | # VM Custom implementation
# https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/app-aad-token#get-token
# MSAL - the latest microsoft auth library for Python
# https://github.com/AzureAD/microsoft-authentication-library-for-python
# from msal import PublicClientApplication
# app = PublicClie... | 95.666667 | 3,774 | 0.898405 | 679 | 10,906 | 14.148748 | 0.443299 | 0.017591 | 0.010409 | 0.011658 | 0.464037 | 0.435932 | 0.428438 | 0.42011 | 0.42011 | 0.407619 | 0 | 0.109145 | 0.051531 | 10,906 | 113 | 3,775 | 96.513274 | 0.819606 | 0.725289 | 0 | 0.181818 | 0 | 0.030303 | 0.584155 | 0.514791 | 0 | 1 | 0 | 0 | 0 | 1 | 0.060606 | false | 0.030303 | 0.030303 | 0 | 0.151515 | 0.090909 | 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 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
63161cf653090d9d174d2aeb0a54e09bc0959be0 | 85 | py | Python | apps/robot/apps.py | Raoul1996/robot_view_be | b50c261b4a62779b7536670463cf39599c91bc4d | [
"MIT"
] | 1 | 2018-07-04T18:29:43.000Z | 2018-07-04T18:29:43.000Z | apps/robot/apps.py | Raoul1996/robot_view_be | b50c261b4a62779b7536670463cf39599c91bc4d | [
"MIT"
] | 8 | 2018-07-22T03:41:24.000Z | 2022-03-11T23:21:22.000Z | apps/robot/apps.py | Raoul1996/robot_view_be | b50c261b4a62779b7536670463cf39599c91bc4d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RobotConfig(AppConfig):
name = 'robot'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6326d3d6e10781e74ec7aab244e311e9514cabb4 | 27,878 | py | Python | solarviewer/ui/resources_rc.py | RobertJaro/solar-viewer | c372d037d1b18d6cf76017ac0fb48a59b2a050b7 | [
"BSD-3-Clause"
] | 6 | 2018-01-23T09:18:23.000Z | 2019-09-04T20:48:01.000Z | solarviewer/ui/resources_rc.py | RobertJaro/solar-viewer | c372d037d1b18d6cf76017ac0fb48a59b2a050b7 | [
"BSD-3-Clause"
] | 6 | 2018-01-28T13:17:27.000Z | 2018-07-18T16:33:43.000Z | solarviewer/ui/resources_rc.py | RobertJaro/solar-viewer | c372d037d1b18d6cf76017ac0fb48a59b2a050b7 | [
"BSD-3-Clause"
] | 1 | 2018-07-18T16:15:09.000Z | 2018-07-18T16:15:09.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.6.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x00\xfb\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x0... | 57.95842 | 121 | 0.725662 | 6,682 | 27,878 | 3.024843 | 0.044148 | 0.076588 | 0.054769 | 0.018999 | 0.171284 | 0.163566 | 0.161488 | 0.159262 | 0.148575 | 0.139224 | 0 | 0.328153 | 0.019047 | 27,878 | 480 | 122 | 58.079167 | 0.410941 | 0.005416 | 0 | 0.090129 | 0 | 0.869099 | 0 | 0 | 0 | 1 | 0.000289 | 0 | 0 | 1 | 0.004292 | false | 0 | 0.002146 | 0 | 0.006438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
633085c118b1837849f92ffe6bcff84781a217fd | 609 | py | Python | ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | 2 | 2019-03-11T15:24:51.000Z | 2022-03-07T09:42:05.000Z | ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | null | null | null | ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/python/temperature_application_interface_def.py | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | 1 | 2021-03-16T08:26:05.000Z | 2021-03-16T08:26:05.000Z | from ctypes import *
from common_application_interface_def import *
from m2m2_core_def import *
class M2M2_TEMPERATURE_APP_CMD_ENUM_t(c_ubyte):
_M2M2_TEMPERATURE_APP_CMD_LOWEST = 0x60
M2M2_TEMPERATURE_APP_CMD_SET_FS_REQ = 0x62
M2M2_TEMPERATURE_APP_CMD_SET_FS_RESP = 0x63
class temperature_app_stream_t(St... | 27.681818 | 47 | 0.642036 | 73 | 609 | 4.780822 | 0.534247 | 0.200573 | 0.206304 | 0.240688 | 0.148997 | 0.148997 | 0 | 0 | 0 | 0 | 0 | 0.049661 | 0.272578 | 609 | 21 | 48 | 29 | 0.738149 | 0 | 0 | 0 | 0 | 0 | 0.08867 | 0 | 0 | 0 | 0.019704 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2d7884dc9ce5d26b6d984fb4c5cdca72a90d15f4 | 354 | py | Python | api/sources/source.py | 0xb00d1e/ioc_fetch | 7250a122d51de5fe3f16f679b99ec1b0879d235c | [
"MIT"
] | null | null | null | api/sources/source.py | 0xb00d1e/ioc_fetch | 7250a122d51de5fe3f16f679b99ec1b0879d235c | [
"MIT"
] | null | null | null | api/sources/source.py | 0xb00d1e/ioc_fetch | 7250a122d51de5fe3f16f679b99ec1b0879d235c | [
"MIT"
] | null | null | null | class Source:
def check_ipv4(self, ipv4):
raise NotImplementedError
def check_domain(self, domain):
raise NotImplementedError
def check_md5(self, md5):
raise NotImplementedError
def check_sha1(self, sha1):
raise NotImplementedError
def check_sha256(self, sha256):
... | 22.125 | 35 | 0.683616 | 37 | 354 | 6.405405 | 0.324324 | 0.168776 | 0.455696 | 0.540084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045627 | 0.257062 | 354 | 15 | 36 | 23.6 | 0.855513 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2d894d15737aea7faa4f48436ab4e1c0800f5d78 | 100 | py | Python | python_crash_course/chapter_2/famous_quotes2.py | angelamcadoo/test-dev | 7fa520ac0bf4de0985610dd032588935788b31c5 | [
"Unlicense"
] | null | null | null | python_crash_course/chapter_2/famous_quotes2.py | angelamcadoo/test-dev | 7fa520ac0bf4de0985610dd032588935788b31c5 | [
"Unlicense"
] | null | null | null | python_crash_course/chapter_2/famous_quotes2.py | angelamcadoo/test-dev | 7fa520ac0bf4de0985610dd032588935788b31c5 | [
"Unlicense"
] | null | null | null |
name2 = " \t\n Angela McAdoo "
print (name2)
name2 = name2.strip()
print (name2) | 20 | 46 | 0.54 | 12 | 100 | 4.5 | 0.583333 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.33 | 100 | 5 | 47 | 20 | 0.731343 | 0 | 0 | 0.5 | 0 | 0 | 0.364583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
2da995369ce8451c3299d788851ab26a19b7ac25 | 290 | py | Python | imagekitio/constants/defaults.py | samims/imagekit-python | 4bc8041e22c6333710645ddc95446c9c348eea5b | [
"MIT"
] | 1 | 2020-01-20T16:56:32.000Z | 2020-01-20T16:56:32.000Z | imagekitio/constants/defaults.py | samims/imagekit-python | 4bc8041e22c6333710645ddc95446c9c348eea5b | [
"MIT"
] | null | null | null | imagekitio/constants/defaults.py | samims/imagekit-python | 4bc8041e22c6333710645ddc95446c9c348eea5b | [
"MIT"
] | null | null | null | import enum
class Default(enum.Enum):
DEFAULT_TRANSFORMATION_POSITION = "path"
QUERY_TRANSFORMATION_POSITION = "query"
VALID_TRANSFORMATION_POSITION = [
DEFAULT_TRANSFORMATION_POSITION,
QUERY_TRANSFORMATION_POSITION,
]
DEFAULT_TIMESTAMP = "9999999999"
| 24.166667 | 44 | 0.741379 | 26 | 290 | 7.846154 | 0.423077 | 0.539216 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042918 | 0.196552 | 290 | 11 | 45 | 26.363636 | 0.832618 | 0 | 0 | 0 | 0 | 0 | 0.065517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2dc6320ff6bc8da9c1115df4a4a240ab1f35d9e3 | 388 | py | Python | corgie/data_backends/__init__.py | scottwedge/corgie | c6bad5d2bd2910af859b9222045c42e9eefc3ef7 | [
"Apache-2.0"
] | 3 | 2020-06-10T23:56:36.000Z | 2020-06-22T21:17:37.000Z | corgie/data_backends/__init__.py | scottwedge/corgie | c6bad5d2bd2910af859b9222045c42e9eefc3ef7 | [
"Apache-2.0"
] | null | null | null | corgie/data_backends/__init__.py | scottwedge/corgie | c6bad5d2bd2910af859b9222045c42e9eefc3ef7 | [
"Apache-2.0"
] | 4 | 2020-05-21T23:44:53.000Z | 2020-07-02T19:40:45.000Z | import click
from corgie.data_backends.base import get_data_backends, str_to_backend
# when adding a new backend type, include it here
from corgie.data_backends.cvbackend import CVDataBackend
from corgie.data_backends.base import DataBackendBase
# also update default backend if you want to
DEFAULT_DATA_BACKEND = 'cv... | 25.866667 | 71 | 0.837629 | 57 | 388 | 5.473684 | 0.561404 | 0.153846 | 0.134615 | 0.211538 | 0.205128 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118557 | 388 | 14 | 72 | 27.714286 | 0.912281 | 0.231959 | 0 | 0 | 0 | 0 | 0.006826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
2dcb77f9c5f7dcb40b30d7bda9cf7fa77a55b015 | 318 | py | Python | msi_perkeyrgb_gui/protocol_data/presets_index.py | MyrikLD/msi-perkeyrgb-gui | a7fd4fa569129d57044eb9928e3306122e406015 | [
"MIT"
] | null | null | null | msi_perkeyrgb_gui/protocol_data/presets_index.py | MyrikLD/msi-perkeyrgb-gui | a7fd4fa569129d57044eb9928e3306122e406015 | [
"MIT"
] | 1 | 2021-04-11T12:24:53.000Z | 2021-04-11T12:24:53.000Z | msi_perkeyrgb_gui/protocol_data/presets_index.py | MyrikLD/msi-perkeyrgb | a7fd4fa569129d57044eb9928e3306122e406015 | [
"MIT"
] | null | null | null | PRESETS_FILES = [
(
[
"GE63",
"GE73",
"GE75",
"GS63",
"GS73",
"GS75",
"GX63",
"GT63",
"GL63",
"GP75",
"GL73",
],
"1.json",
),
(["GS65"], "2.json"),
]
| 15.9 | 25 | 0.22327 | 18 | 318 | 3.888889 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 0.597484 | 318 | 19 | 26 | 16.736842 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2dea6a516c64b88b7d84280fc70ed9e80193a943 | 211 | py | Python | revgraph/dl/model/callbacks/__init__.py | shhoalex/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | 9 | 2020-06-27T07:01:00.000Z | 2020-10-23T13:50:04.000Z | revgraph/dl/model/callbacks/__init__.py | shinghinho/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | null | null | null | revgraph/dl/model/callbacks/__init__.py | shinghinho/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | null | null | null | from .base_callback import BaseCallback as base_callback
from .progress import Progress as progress
from .save import Save as save
from .test import Test as test
from .validation import Validation as validation
| 35.166667 | 56 | 0.834123 | 32 | 211 | 5.4375 | 0.3125 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 211 | 5 | 57 | 42.2 | 0.961326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
2def53e10f7f54064a26a3c73076865417765a34 | 1,377 | py | Python | sw/codegen/codegen.py | barabanshek/Dagger | fa133d60db5748e905cef57dbeb59b4693fb37e0 | [
"MIT"
] | 15 | 2021-10-12T00:56:11.000Z | 2022-03-20T20:16:52.000Z | sw/codegen/codegen.py | varungohil/Dagger | b063e19a3a89a944caefb2bcbcb89b3bfaad466e | [
"MIT"
] | null | null | null | sw/codegen/codegen.py | varungohil/Dagger | b063e19a3a89a944caefb2bcbcb89b3bfaad466e | [
"MIT"
] | 1 | 2022-03-27T19:22:21.000Z | 2022-03-27T19:22:21.000Z | #
# Codegenerator for Dagger IDL
#
#!/usr/bin/python
TAB_SIZE = 4
class CodeGen:
def __init__(self, tmpl_filename = ""):
self.__code = ""
self.__seek_ptr = 0
def append(self, line):
self.__code = self.__code[:self.__seek_ptr] \
+ line \
+ self.__code[self.__seek_ptr:]
self.__se... | 25.5 | 66 | 0.660131 | 191 | 1,377 | 4.141361 | 0.235602 | 0.252845 | 0.242731 | 0.182048 | 0.510746 | 0.457649 | 0.381795 | 0.245259 | 0.245259 | 0.245259 | 0 | 0.00271 | 0.196078 | 1,377 | 53 | 67 | 25.981132 | 0.711834 | 0.031954 | 0 | 0.324324 | 0 | 0 | 0.002259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0 | 0 | 0.324324 | 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 | 0 | 0 | 0 | 0 | 4 |
2def7bee8b69c8c1570f537bd7ce838afeb05393 | 157 | py | Python | curso/PY1/condicao/ex4.py | smrsassa/Studying-Python | a5acbce42b85bdd6aea8058ca323fbbd12ce5c22 | [
"MIT"
] | 1 | 2019-10-21T18:19:13.000Z | 2019-10-21T18:19:13.000Z | curso/PY1/condicao/ex4.py | smrsassa/Studying-python | a5acbce42b85bdd6aea8058ca323fbbd12ce5c22 | [
"MIT"
] | null | null | null | curso/PY1/condicao/ex4.py | smrsassa/Studying-python | a5acbce42b85bdd6aea8058ca323fbbd12ce5c22 | [
"MIT"
] | null | null | null | num = int(input('digite um numero'))
pi = num%2
if pi == 0:
print ('{} é um numero par'.format(num))
else:
print ('{} é um numero impar'.format(num)) | 26.166667 | 46 | 0.598726 | 27 | 157 | 3.481481 | 0.592593 | 0.255319 | 0.170213 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.203822 | 157 | 6 | 46 | 26.166667 | 0.736 | 0 | 0 | 0 | 0 | 0 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
932f2f0cdd2cd1e5de722c42b626841bb5b5c8e3 | 365 | py | Python | dictionary2/profilepage/views.py | emelkrml/dictionary2 | 01e7567458f15ef439681bbfc85f88be31907c31 | [
"MIT"
] | null | null | null | dictionary2/profilepage/views.py | emelkrml/dictionary2 | 01e7567458f15ef439681bbfc85f88be31907c31 | [
"MIT"
] | 14 | 2016-08-19T11:15:12.000Z | 2017-02-24T20:10:41.000Z | dictionary2/profilepage/views.py | emelkrml/dictionary | 01e7567458f15ef439681bbfc85f88be31907c31 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def profile(request):
return render(request, 'materialize/users/profile.html')
def ayarlar(request):
return render(request, 'pages/ayarlar.html')
def messages(request):
return render(request, 'materialize/users/message.html')
def events(request):
return render(... | 17.380952 | 60 | 0.739726 | 44 | 365 | 6.136364 | 0.409091 | 0.192593 | 0.281481 | 0.385185 | 0.466667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139726 | 365 | 20 | 61 | 18.25 | 0.859873 | 0 | 0 | 0 | 0 | 0 | 0.293629 | 0.243767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9336903d0db33d3d400b5348dc7ebc1ac3257121 | 422 | py | Python | sessao04/10_110-HerancaSimples/classes.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao04/10_110-HerancaSimples/classes.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao04/10_110-HerancaSimples/classes.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | class Pessoa:
def __init__(self, nome, idade):
self.nome = nome
self.idade = idade
self.nome_classe = self.__class__.__name__
def falar(self):
print(f'{self.nome_classe} falando ...')
class Cliente(Pessoa):
def comprar(self):
print(f'{self.nome_classe} comprando ..... | 21.1 | 50 | 0.613744 | 52 | 422 | 4.673077 | 0.365385 | 0.197531 | 0.230453 | 0.17284 | 0.296296 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246446 | 422 | 19 | 51 | 22.210526 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0.223278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.538462 | 0.230769 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
933ff19eeb450a78450f256eabb32040fd6f0321 | 101 | py | Python | pacdeck/config.py | TPHRyan/pacman-deck | b3ddbf33066354692849c2ba57bbff3c2e11174b | [
"MIT"
] | 1 | 2021-06-06T20:33:57.000Z | 2021-06-06T20:33:57.000Z | pacdeck/config.py | TPHRyan/pacman-deck | b3ddbf33066354692849c2ba57bbff3c2e11174b | [
"MIT"
] | null | null | null | pacdeck/config.py | TPHRyan/pacman-deck | b3ddbf33066354692849c2ba57bbff3c2e11174b | [
"MIT"
] | null | null | null | from typing import NamedTuple
class GlobalArgs(NamedTuple):
config_path: str
confirm: bool
| 14.428571 | 29 | 0.752475 | 12 | 101 | 6.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 101 | 6 | 30 | 16.833333 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
934b3c6626e041d3bd1c5dcda2202a7cd1f5b655 | 146 | py | Python | courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter05/5.3/practice/financialdata/db/__init__.py | FinMind/Class | 74610a45ec169bff2bc841565973545adf57dee4 | [
"MIT"
] | 2 | 2022-03-24T11:17:27.000Z | 2022-03-27T08:41:32.000Z | courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter04/4.2/solution/financialdata/db/__init__.py | FinMind/Class | 74610a45ec169bff2bc841565973545adf57dee4 | [
"MIT"
] | null | null | null | courses/01_Building_a_distributed_system_and_monitoring_system_with_Python/chapter04/4.2/solution/financialdata/db/__init__.py | FinMind/Class | 74610a45ec169bff2bc841565973545adf57dee4 | [
"MIT"
] | 2 | 2022-03-22T15:27:52.000Z | 2022-03-25T07:17:18.000Z | from financialdata.db.router import (
Router,
)
from financialdata.db.db import *
router = Router()
def get_db_router():
return router
| 13.272727 | 37 | 0.712329 | 19 | 146 | 5.368421 | 0.421053 | 0.333333 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 146 | 10 | 38 | 14.6 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
935a80f2b814fd946fee6842163dc967d99f5c47 | 170 | py | Python | whist/server/database/warning.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 1 | 2021-08-09T21:15:23.000Z | 2021-08-09T21:15:23.000Z | whist/server/database/warning.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 172 | 2021-04-18T21:09:56.000Z | 2022-03-31T20:38:07.000Z | whist/server/database/warning.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 2 | 2021-08-28T19:05:55.000Z | 2022-03-20T17:50:29.000Z | """
Warnings raised during database object interaction.
"""
class PlayerAlreadyJoinedWarning(Warning):
"""
Is raised when a player tries to join again.
"""
| 17 | 51 | 0.694118 | 18 | 170 | 6.555556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 170 | 9 | 52 | 18.888889 | 0.874074 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
937d58096431845cbfe6f7399ad58fff15df2a81 | 241 | py | Python | backend/test/warmup_tests.py | josenildoaf/icanfinance | c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c | [
"MIT"
] | 29 | 2015-01-13T13:47:31.000Z | 2022-01-10T15:59:42.000Z | backend/test/warmup_tests.py | josenildoaf/icanfinance | c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c | [
"MIT"
] | 17 | 2015-01-05T23:51:56.000Z | 2016-02-07T18:03:39.000Z | backend/test/warmup_tests.py | josenildoaf/icanfinance | c14bdfdefc1174daaeb050b9f50f389e5fd6aa6c | [
"MIT"
] | 77 | 2015-02-11T10:48:22.000Z | 2020-11-19T23:02:23.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from base import GAETestCase
from routes.warmup import BaseHandler
class BaseTest(GAETestCase):
def test_warmup_success(self):
BaseHandler().get() | 26.777778 | 56 | 0.759336 | 29 | 241 | 6.034483 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.149378 | 241 | 9 | 57 | 26.777778 | 0.84878 | 0.087137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa74d99b3091c40093142ef7d26c7f071b6fc407 | 58 | py | Python | expman/__init__.py | vzhong/expman | e73603a4466771170e85b19afb1583c5794f342b | [
"MIT"
] | null | null | null | expman/__init__.py | vzhong/expman | e73603a4466771170e85b19afb1583c5794f342b | [
"MIT"
] | null | null | null | expman/__init__.py | vzhong/expman | e73603a4466771170e85b19afb1583c5794f342b | [
"MIT"
] | null | null | null | from .experiment import Experiment
from .loggers import *
| 19.333333 | 34 | 0.810345 | 7 | 58 | 6.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 35 | 29 | 0.94 | 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 | 0 | 0 | 0 | 4 |
fa810a6c3c298a9f1b53e10b6696c7cafb4bb5f6 | 812 | py | Python | ras/end.py | titansarus/ASIS-CTF-Final-2021 | b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19 | [
"MIT"
] | 10 | 2021-12-26T21:23:25.000Z | 2022-01-09T17:33:46.000Z | ras/end.py | titansarus/ASIS-CTF-Final-2021 | b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19 | [
"MIT"
] | 1 | 2022-01-01T12:52:47.000Z | 2022-01-01T18:36:29.000Z | ras/end.py | titansarus/ASIS-CTF-Final-2021 | b2757abd7447a3bc8e5c073c31cf9bfbaeb59d19 | [
"MIT"
] | null | null | null | from Crypto.Util.number import long_to_bytes
N = 56469405750402193641449232753975279624388972985036568323092258873756801156079913882719631252209538683205353844069168609565141017503581101845476197667784484712057287713526027533597905495298848547839093455328128973319016710733533781180094847568951833393705432945294907000... | 67.666667 | 314 | 0.902709 | 39 | 812 | 18.692308 | 0.615385 | 0.016461 | 0.030178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.832468 | 0.051724 | 812 | 11 | 315 | 73.818182 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008621 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
faaa0ed3766bbc05a45e43201eb28b876fb757e9 | 80 | py | Python | zeroservices/__init__.py | Lothiraldan/ZeroServices | c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37 | [
"MIT"
] | 21 | 2015-01-31T17:45:42.000Z | 2017-11-12T05:02:44.000Z | zeroservices/__init__.py | Lothiraldan/ZeroServices | c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37 | [
"MIT"
] | 7 | 2015-01-07T09:52:06.000Z | 2015-02-01T00:59:35.000Z | zeroservices/__init__.py | Lothiraldan/ZeroServices | c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37 | [
"MIT"
] | 2 | 2017-06-29T19:40:42.000Z | 2019-06-01T12:18:56.000Z | from .service import BaseService
from .resources import *
from .medium import *
| 20 | 32 | 0.7875 | 10 | 80 | 6.3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 33 | 26.666667 | 0.926471 | 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 | 0 | 0 | 0 | 4 |
fab0a56b50aefc3b94544a726cbe59ae9328fcfd | 872 | py | Python | django_eveonline_buyback/models.py | b5n/django-eveonline-buyback | d6d882b9600daf472cfc853c5fbe42b454687c6a | [
"MIT"
] | 1 | 2021-09-14T21:57:53.000Z | 2021-09-14T21:57:53.000Z | django_eveonline_buyback/models.py | b5n/django-eveonline-buyback | d6d882b9600daf472cfc853c5fbe42b454687c6a | [
"MIT"
] | 5 | 2020-08-30T17:52:13.000Z | 2021-02-20T21:26:17.000Z | django_eveonline_buyback/models.py | b5n/django-eveonline-buyback | d6d882b9600daf472cfc853c5fbe42b454687c6a | [
"MIT"
] | null | null | null | # models.py
from django.db import models
from django_eveonline_connector.models import EveEntity
from django_singleton_admin.models import DjangoSingleton
class BuybackSettings(DjangoSingleton):
ancient_coordinates_database_price = models.FloatField(default=1500000)
neural_network_analyzer_price = models.Floa... | 37.913043 | 75 | 0.786697 | 107 | 872 | 6.11215 | 0.588785 | 0.146789 | 0.211009 | 0.171254 | 0.107034 | 0.107034 | 0 | 0 | 0 | 0 | 0 | 0.043825 | 0.136468 | 872 | 22 | 76 | 39.636364 | 0.824701 | 0.010321 | 0 | 0 | 0 | 0 | 0.018583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.176471 | 0.117647 | 0.882353 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.