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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2e20f9fab3ea9d4519c2d86b7a335128ff650ee0 | 55 | py | Python | AXUI/driver/windows_driver/win32/__init__.py | xcgspring/AXUI | 3e64cc6b1b4f91f21ad15aa95e4e6680f9f31c57 | [
"Apache-2.0"
] | 68 | 2015-03-24T08:40:49.000Z | 2022-01-01T13:26:32.000Z | AXUI/driver/windows_driver/win32/__init__.py | xcgspring/AXUI | 3e64cc6b1b4f91f21ad15aa95e4e6680f9f31c57 | [
"Apache-2.0"
] | 1 | 2019-05-30T00:09:47.000Z | 2019-05-30T00:09:47.000Z | AXUI/driver/windows_driver/win32/__init__.py | xcgspring/AXUI | 3e64cc6b1b4f91f21ad15aa95e4e6680f9f31c57 | [
"Apache-2.0"
] | 11 | 2015-05-07T07:13:47.000Z | 2022-02-28T05:21:16.000Z | from .keyboard import Keyboard
from .mouse import Mouse | 27.5 | 30 | 0.836364 | 8 | 55 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 31 | 27.5 | 0.958333 | 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 |
2e47122cba79cf491cd98a0255ca3b7ce607a59a | 257 | py | Python | whales/util/__init__.py | mwt365/chess | c35c5b78bd787f9c6a339447bf0f8af41923bce4 | [
"MIT"
] | 3 | 2019-08-20T03:27:59.000Z | 2020-11-24T00:03:34.000Z | whales/util/__init__.py | mwt365/chess | c35c5b78bd787f9c6a339447bf0f8af41923bce4 | [
"MIT"
] | 3 | 2020-05-22T02:07:15.000Z | 2020-09-26T13:43:50.000Z | whales/util/__init__.py | mwt365/chess | c35c5b78bd787f9c6a339447bf0f8af41923bce4 | [
"MIT"
] | 1 | 2020-09-14T23:13:03.000Z | 2020-09-14T23:13:03.000Z | """
General utility module.
"""
class UnsetClass:
"""
Singleton class used to implement `UNSET`.
"""
def __repr__(self):
return "<Unset>"
# Singleton object that can be used to indicate "no data available".
UNSET = UnsetClass()
| 15.117647 | 68 | 0.634241 | 29 | 257 | 5.482759 | 0.758621 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245136 | 257 | 16 | 69 | 16.0625 | 0.819588 | 0.521401 | 0 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2e59d09e048b3100edc68fb78c791d5f388b8142 | 175 | py | Python | examples/dashtable/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 21 | 2019-07-08T08:26:45.000Z | 2022-01-24T23:53:25.000Z | examples/dashtable/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 5 | 2019-06-15T14:47:47.000Z | 2022-02-26T05:02:56.000Z | examples/dashtable/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 17 | 2019-05-16T03:50:34.000Z | 2021-01-14T14:35:12.000Z | import dashtable
print(dashtable.html2md("""
<table>
<tr><th>Header 1</th><th>Header 2</th></tr>
<tr><td>Data 1</td><td>Data 2</td></tr>
</table>
""")) | 25 | 51 | 0.537143 | 27 | 175 | 3.481481 | 0.444444 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.2 | 175 | 7 | 52 | 25 | 0.635714 | 0 | 0 | 0 | 0 | 0 | 0.715909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e5cfb33ceee27b828f24e4110e7dddf6a767647 | 1,099 | py | Python | lib/systems/l-glutamic_acid.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/l-glutamic_acid.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/l-glutamic_acid.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns l-glutamic_acid as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
N 0.1209 -2.2995 -0.2021
C 0.4083 -0.9510 -0.7668
C -0... | 40.703704 | 71 | 0.410373 | 164 | 1,099 | 2.72561 | 0.560976 | 0.022371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.504425 | 0.485896 | 1,099 | 26 | 72 | 42.269231 | 0.286726 | 0.101911 | 0 | 0 | 0 | 0 | 0.913133 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | true | 0 | 0.043478 | 0 | 0.130435 | 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 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e64c5515018f3358910aafdbe4a411c6ed9c861 | 858 | py | Python | Home/views.py | indoriyasboyz/E-commerce | a71e7d043899769e48992216bebebc4b43d647ca | [
"MIT"
] | null | null | null | Home/views.py | indoriyasboyz/E-commerce | a71e7d043899769e48992216bebebc4b43d647ca | [
"MIT"
] | null | null | null | Home/views.py | indoriyasboyz/E-commerce | a71e7d043899769e48992216bebebc4b43d647ca | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
from .models import Slider
class Homeview(TemplateView):
template_name = 'index.html'
context_object_name = 'object_list'
def get_context_data(self, **kwargs):
home = super(Homeview, self).get_context_data(**kwargs)... | 1.769072 | 63 | 0.324009 | 48 | 858 | 5.625 | 0.604167 | 0.074074 | 0.103704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.631702 | 858 | 484 | 64 | 1.772727 | 0.85443 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2e682b7d1a694fe65d1e2015fea60cdf545fb9a0 | 44 | py | Python | mayday_control/scripts/physical_quantities/temperature.py | LasseBoerresen/Lumos | 2447adc7795ae07cb0a1df409d3b1a6178c2cd8b | [
"MIT"
] | null | null | null | mayday_control/scripts/physical_quantities/temperature.py | LasseBoerresen/Lumos | 2447adc7795ae07cb0a1df409d3b1a6178c2cd8b | [
"MIT"
] | null | null | null | mayday_control/scripts/physical_quantities/temperature.py | LasseBoerresen/Lumos | 2447adc7795ae07cb0a1df409d3b1a6178c2cd8b | [
"MIT"
] | null | null | null | class Temperature(float):
unit = 'degC'
| 14.666667 | 25 | 0.659091 | 5 | 44 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 2 | 26 | 22 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2e8aa82b80ff380db468cf169c2bc715304494db | 220 | py | Python | megalinter/__init__.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | null | null | null | megalinter/__init__.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | null | null | null | megalinter/__init__.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .alpaca import alpaca
from .Linter import Linter
from .MegaLinter import Megalinter
from .Reporter import Reporter
__all__ = ["Megalinter", "Linter", "Reporter", "config", "utils", "alpaca"]
| 27.5 | 75 | 0.745455 | 27 | 220 | 5.925926 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.122727 | 220 | 7 | 76 | 31.428571 | 0.823834 | 0.095455 | 0 | 0 | 0 | 0 | 0.207071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5cee1ec3e7ef92836474d46def007c1d118f25b7 | 188 | py | Python | dist/py/rest_api/utils/logging.py | topabomb/OneClickPack | e2980dd61145be75ae07980509d6fcad161330d7 | [
"Apache-2.0"
] | 3 | 2022-03-09T02:26:33.000Z | 2022-03-20T08:51:32.000Z | dist/py/rest_api/utils/logging.py | topabomb/OneClickPack | e2980dd61145be75ae07980509d6fcad161330d7 | [
"Apache-2.0"
] | null | null | null | dist/py/rest_api/utils/logging.py | topabomb/OneClickPack | e2980dd61145be75ae07980509d6fcad161330d7 | [
"Apache-2.0"
] | null | null | null | # 重载默认print函数,使得其刷新缓冲区直接输出,避免其他控制台捕获程序捕获不到
def print(*args, end='\r\n'):
import sys
for msg in args:
sys.stdout.write(msg)
sys.stdout.write(end)
sys.stdout.flush()
| 23.5 | 42 | 0.659574 | 26 | 188 | 4.769231 | 0.653846 | 0.217742 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 188 | 7 | 43 | 26.857143 | 0.826667 | 0.212766 | 0 | 0 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5cf8510423ef6d9030aebc62fde42c55bd650a56 | 47 | py | Python | src/tests/unit/utils/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/tests/unit/utils/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/tests/unit/utils/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
utils package.
"""
| 9.4 | 23 | 0.468085 | 5 | 47 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.191489 | 47 | 4 | 24 | 11.75 | 0.552632 | 0.787234 | 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 |
cf0bcf7320dd4444306a07a9369bbc24b3fa504a | 2,885 | py | Python | lab2/ag2/ag2_codec.py | mit-pdos/6.S060-labs | fc612fe2db5c4e3fc15c34dd5ab2a0b444bb5868 | [
"MIT"
] | 10 | 2021-09-08T18:07:52.000Z | 2021-12-26T15:21:26.000Z | lab2/ag2/ag2_codec.py | mit-pdos/6.S060-labs | fc612fe2db5c4e3fc15c34dd5ab2a0b444bb5868 | [
"MIT"
] | 2 | 2021-09-22T14:19:22.000Z | 2021-10-04T20:12:10.000Z | lab2/ag2/ag2_codec.py | mit-pdos/6.S060-labs | fc612fe2db5c4e3fc15c34dd5ab2a0b444bb5868 | [
"MIT"
] | 7 | 2021-09-09T15:00:25.000Z | 2021-12-08T01:20:55.000Z | #!/usr/bin/env python3
"""
The "codec" for the lab2 autograder.
Instead of doing any real encoding, it just stores the data directly
(so that further manipulation is easier).
"""
BIN_SEPARATOR = b'\x01'
INT_SEPARATOR = b'\x02'
def encode_one_int(num):
"""Convenience function for encoding a single int."""
if... | 30.052083 | 111 | 0.616291 | 377 | 2,885 | 4.488064 | 0.228117 | 0.053783 | 0.045508 | 0.033097 | 0.602837 | 0.566194 | 0.510047 | 0.510047 | 0.510047 | 0.484634 | 0 | 0.011348 | 0.266898 | 2,885 | 95 | 112 | 30.368421 | 0.788652 | 0.206239 | 0 | 0.423729 | 0 | 0 | 0.106203 | 0.020527 | 0 | 0 | 0 | 0.010526 | 0 | 1 | 0.254237 | false | 0 | 0 | 0.118644 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cf2e291dc2f25fc7b475b8c3e02aaf3b736a9d41 | 4,522 | py | Python | PyObjCTest/test_nstextattachment.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nstextattachment.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nstextattachment.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z |
from PyObjCTools.TestSupport import *
from AppKit import *
try:
unichr
except NameError:
unichr = chr
class TestNSTextAttachmentHelper (NSObject):
def drawWithFrame_inView_(self, fr, vi): pass
def wantsToTrackMouse(self): return 1
def highlight_withFrame_inView_(self, fl, fr, vi): pass
def tr... | 69.569231 | 158 | 0.834144 | 383 | 4,522 | 9.347258 | 0.185379 | 0.053631 | 0.179888 | 0.118436 | 0.681844 | 0.477374 | 0.363128 | 0.213687 | 0.12514 | 0 | 0 | 0.00644 | 0.107253 | 4,522 | 64 | 159 | 70.65625 | 0.880357 | 0 | 0 | 0 | 0 | 0 | 0.00177 | 0 | 0 | 0 | 0.001327 | 0 | 0.555556 | 1 | 0.259259 | false | 0.092593 | 0.037037 | 0.111111 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
cf8740859b80e684f9be1b3d310873dc551b4195 | 841 | py | Python | EEG_Lightning/dassl/modeling/backbone/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 23 | 2021-10-14T02:31:06.000Z | 2022-01-25T16:26:44.000Z | EEG_Lightning/dassl/modeling/backbone/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | null | null | null | EEG_Lightning/dassl/modeling/backbone/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 1 | 2022-03-05T06:54:11.000Z | 2022-03-05T06:54:11.000Z | from .build import build_backbone, BACKBONE_REGISTRY # isort:skip
from .backbone import Backbone # isort:skip
# from .vgg import vgg16
# from .resnet import resnet18, resnet34, resnet50, resnet101, resnet152
# from .alexnet import alexnet
# from .mobilenetv2 import mobilenetv2
# from .wide_resnet import wide_resnet_28... | 36.565217 | 73 | 0.799049 | 110 | 841 | 5.781818 | 0.4 | 0.075472 | 0.040881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066025 | 0.135553 | 841 | 22 | 74 | 38.227273 | 0.808803 | 0.819263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d85aa8362637694460d66de1edebbcfa73e6e1c9 | 119 | py | Python | utils/context_processors.py | andrzejkrecicki/sm8 | 5578c28747e07691d8b88acae5cd825cdd333e93 | [
"MIT"
] | null | null | null | utils/context_processors.py | andrzejkrecicki/sm8 | 5578c28747e07691d8b88acae5cd825cdd333e93 | [
"MIT"
] | null | null | null | utils/context_processors.py | andrzejkrecicki/sm8 | 5578c28747e07691d8b88acae5cd825cdd333e93 | [
"MIT"
] | null | null | null | from django.conf import settings
def core_context_processor(request):
return {
"settings": settings,
} | 19.833333 | 36 | 0.689076 | 13 | 119 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 119 | 6 | 37 | 19.833333 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d8a0649b62b67e371690205262253eb5bcab15ef | 99 | py | Python | shoppingcart/apps.py | ehedei/DATWFinalProject | c7fb0e91d092255902b75f003a711c0c19f5d3fa | [
"MIT"
] | 3 | 2021-06-23T09:57:58.000Z | 2021-07-12T19:57:46.000Z | shoppingcart/apps.py | ehedei/DATWFinalProject | c7fb0e91d092255902b75f003a711c0c19f5d3fa | [
"MIT"
] | null | null | null | shoppingcart/apps.py | ehedei/DATWFinalProject | c7fb0e91d092255902b75f003a711c0c19f5d3fa | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ShoppingcartConfig(AppConfig):
name = 'shoppingcart'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
d8b36fde8be1eaac3a4e0878cab9d2b69040c6bb | 2,868 | py | Python | DailyProgrammer/DP20150508C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20150508C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20150508C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2015-05-08] Challenge #213 [Hard] Stepstring discrepancy
https://www.reddit.com/r/dailyprogrammer/comments/358pfk/20150508_challenge_213_hard_stepstring_discrepancy/
# Description
Define the _discrepancy_ of a string of any two symbols (I'll use `a` and `b`) to be the absolute difference between
the counts of ea... | 38.24 | 128 | 0.766388 | 404 | 2,868 | 5.39604 | 0.490099 | 0.024771 | 0.015138 | 0.023853 | 0.099083 | 0.065138 | 0.043119 | 0.043119 | 0.043119 | 0 | 0 | 0.041242 | 0.179916 | 2,868 | 74 | 129 | 38.756757 | 0.885629 | 0.974547 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d8b4a79046f745cb05976b317998accdbea305f4 | 18 | py | Python | scripts/ecmp/__init__.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | 5 | 2020-09-29T00:36:57.000Z | 2022-02-16T06:51:32.000Z | scripts/ecmp/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 27 | 2019-11-02T02:18:34.000Z | 2022-02-24T18:49:08.000Z | scripts/ecmp/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 20 | 2019-11-28T16:02:25.000Z | 2022-01-06T05:56:58.000Z | """ECMP tests."""
| 9 | 17 | 0.5 | 2 | 18 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.5625 | 0.611111 | 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 |
d8d9f51fda74b19a54d40e10faf4074f58278e72 | 6,450 | py | Python | messaging_components/clients/core/client.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | messaging_components/clients/core/client.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | messaging_components/clients/core/client.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | """
# TODO jstejska: Package description
"""
from autologging import logged, traced
from iqa_common.executor import Executor
from messaging_abstract.component.client import Client, Node
import messaging_components.protocols as protocols
@logged
@traced
class ClientCore(Client):
"""Internal core Proton mappi... | 34.308511 | 125 | 0.606357 | 708 | 6,450 | 5.420904 | 0.264124 | 0.01876 | 0.01433 | 0.021886 | 0.217301 | 0.217301 | 0.204534 | 0.204534 | 0.181605 | 0.181605 | 0 | 0.003687 | 0.285116 | 6,450 | 187 | 126 | 34.491979 | 0.828671 | 0.870853 | 0 | 0 | 0 | 0 | 0.011006 | 0 | 0 | 0 | 0 | 0.010695 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d8e063e417820316c521178fca6db8308e6a72f8 | 39,587 | py | Python | tests/integrated_tests/controller_tests/api_data.py | Global-Water-Security-Center/tethysapp-temp_precip_trends | 1da724ecc1b4195d21260eefe2c2d1e0b0774cb9 | [
"BSD-3-Clause"
] | null | null | null | tests/integrated_tests/controller_tests/api_data.py | Global-Water-Security-Center/tethysapp-temp_precip_trends | 1da724ecc1b4195d21260eefe2c2d1e0b0774cb9 | [
"BSD-3-Clause"
] | 1 | 2021-08-30T18:09:17.000Z | 2021-08-30T18:09:17.000Z | tests/integrated_tests/controller_tests/api_data.py | Global-Water-Security-Center/tethysapp-temp_precip_trends | 1da724ecc1b4195d21260eefe2c2d1e0b0774cb9 | [
"BSD-3-Clause"
] | null | null | null | import datetime
import xarray as xr
get_normal_data_dict = {
'coords': {
'latitude': {
'dims': ('station',),
'attrs': {'units': 'degrees_north', 'long_name': 'station latitude'},
'data': [50.66687232181073]
},
'longitude': {
'dims': ('station... | 91.636574 | 117 | 0.576351 | 4,609 | 39,587 | 4.938815 | 0.185724 | 0.064227 | 0.321574 | 0.288626 | 0.42143 | 0.418969 | 0.027237 | 0.016079 | 0.016079 | 0.016079 | 0 | 0.568327 | 0.290171 | 39,587 | 431 | 118 | 91.849188 | 0.241744 | 0 | 0 | 0.044393 | 0 | 0 | 0.024983 | 0.001743 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004673 | 0 | 0.004673 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8f959e5a98dbc723074b81342f8c142957e5265 | 110 | py | Python | test/test_preics.py | vtpl1/videonetics_api | bef179df12f449db0c50c3910daca50b7d40ac49 | [
"RSA-MD"
] | null | null | null | test/test_preics.py | vtpl1/videonetics_api | bef179df12f449db0c50c3910daca50b7d40ac49 | [
"RSA-MD"
] | 1 | 2021-02-26T07:31:37.000Z | 2021-02-26T07:31:37.000Z | test/test_preics.py | vtpl1/videonetics_api | bef179df12f449db0c50c3910daca50b7d40ac49 | [
"RSA-MD"
] | 2 | 2020-11-04T02:52:55.000Z | 2020-11-05T08:09:50.000Z | import logging
def test_job_executor(caplog):
caplog.set_level(logging.INFO)
logging.info("Started")
| 18.333333 | 34 | 0.754545 | 15 | 110 | 5.333333 | 0.733333 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 35 | 22 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b159bcd502876f408639e412b92a853e6c6e901 | 90 | py | Python | Basic/xiaoming.py | CrazyBBer/Python-Learn-Sample | 3bd0694327db6c662c6cc3bdf91c6261daa4b6cf | [
"MIT"
] | 2 | 2020-05-02T11:24:37.000Z | 2020-05-02T13:49:18.000Z | Basic/xiaoming.py | crazybber/pythontrip | 062ba71dfe6729ecc606eff7260b1c39497b6456 | [
"MIT"
] | null | null | null | Basic/xiaoming.py | crazybber/pythontrip | 062ba71dfe6729ecc606eff7260b1c39497b6456 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
s1 = 72
s2 = 85
r = (s2 - s1)/s1 * 100
print('rate is %.1f%%' % r) | 18 | 27 | 0.466667 | 17 | 90 | 2.470588 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 0.244444 | 90 | 5 | 27 | 18 | 0.411765 | 0.233333 | 0 | 0 | 0 | 0 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
2b422140727a2b92129b924da42c455642bb2b56 | 160 | py | Python | authentik/stages/invitation/signals.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 15 | 2020-01-05T09:09:57.000Z | 2020-11-28T05:27:39.000Z | authentik/stages/invitation/signals.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 302 | 2020-01-21T08:03:59.000Z | 2020-12-04T05:04:57.000Z | authentik/stages/invitation/signals.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 3 | 2020-03-04T08:21:59.000Z | 2020-08-01T20:37:18.000Z | """authentik invitation signals"""
from django.core.signals import Signal
# Arguments: request: HttpRequest, invitation: Invitation
invitation_used = Signal()
| 26.666667 | 57 | 0.79375 | 17 | 160 | 7.411765 | 0.705882 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 160 | 5 | 58 | 32 | 0.881119 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
2b4ed075b911c215329c14ccbacd2d2c298dc493 | 222 | py | Python | Practice/Python/itertools-product().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | 1 | 2018-07-08T15:44:15.000Z | 2018-07-08T15:44:15.000Z | Practice/Python/itertools-product().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | null | null | null | Practice/Python/itertools-product().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | 2 | 2018-08-10T06:49:34.000Z | 2020-10-01T04:50:59.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
from itertools import product
A=list(map(int, raw_input().split()))
B=list(map(int, raw_input().split()))
A=list(product(A,B))
for i in A:
print i,
| 27.75 | 69 | 0.707207 | 41 | 222 | 3.780488 | 0.609756 | 0.103226 | 0.129032 | 0.167742 | 0.296774 | 0.296774 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 7 | 70 | 31.714286 | 0.815789 | 0.301802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b61458f57d3865206b849588cc653acd64fd215 | 80 | py | Python | problem/10000~19999/16723/16723.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/10000~19999/16723/16723.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/10000~19999/16723/16723.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | n=int(input())
i,j=2,2
a=n*2
while i<=n:
a+=(n//i)*(j*2-j)
i*=2
j*=2
print(a) | 10 | 18 | 0.4875 | 25 | 80 | 1.56 | 0.36 | 0.153846 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.1375 | 80 | 8 | 19 | 10 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b6cbeac55e0573333e870da306e77746258b0ea | 104 | py | Python | qlearn/stats.py | nlinker/q-learning | 140e646848a254543f03d1e10eda1bb33c92ab4a | [
"MIT"
] | 2 | 2019-06-15T14:36:43.000Z | 2019-06-20T16:23:44.000Z | qlearn/stats.py | nlinker/q-learning | 140e646848a254543f03d1e10eda1bb33c92ab4a | [
"MIT"
] | null | null | null | qlearn/stats.py | nlinker/q-learning | 140e646848a254543f03d1e10eda1bb33c92ab4a | [
"MIT"
] | null | null | null | from collections import namedtuple
Stats = namedtuple("Stats", ["episode_lengths", "episode_rewards"])
| 26 | 67 | 0.778846 | 11 | 104 | 7.181818 | 0.727273 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 3 | 68 | 34.666667 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.336538 | 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 |
991df26e248bd10118905c24697656f5dae5e4ac | 260 | py | Python | pyaz/ams/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/ams/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/ams/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage Azure Media Services resources.
'''
from .. pyaz_utils import _call_az
from . import account, account_filter, asset, asset_filter, content_key_policy, job, live_event, live_output, streaming_endpoint, streaming_locator, streaming_policy, transform
| 37.142857 | 176 | 0.811538 | 34 | 260 | 5.852941 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 260 | 6 | 177 | 43.333333 | 0.857759 | 0.146154 | 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 |
9936073142c2e463f1535e78288c204b30e5d4ef | 33 | py | Python | 2018_3_Cooper_Type/RoboFont/mark_current_glyph.py | benkiel/python_workshops | 9483c1fd5f7dd87e595289efb7376e1b81ff5ede | [
"MIT"
] | 6 | 2018-03-24T17:31:51.000Z | 2021-11-18T06:02:09.000Z | 2018_3_Cooper_Type/RoboFont/mark_current_glyph.py | benkiel/python_workshops | 9483c1fd5f7dd87e595289efb7376e1b81ff5ede | [
"MIT"
] | null | null | null | 2018_3_Cooper_Type/RoboFont/mark_current_glyph.py | benkiel/python_workshops | 9483c1fd5f7dd87e595289efb7376e1b81ff5ede | [
"MIT"
] | null | null | null | CurrentGlyph().mark = (1,0,0.5,1) | 33 | 33 | 0.636364 | 7 | 33 | 3 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.060606 | 33 | 1 | 33 | 33 | 0.516129 | 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 |
9978a8123f47a188bdcf067a17a812d95f20d151 | 105 | py | Python | fast_api_yatube/auth/schemas.py | wiky-avis/fast_api_yatube | ff7499721e3cc2803eb82daa742d0a71fa94169b | [
"MIT"
] | null | null | null | fast_api_yatube/auth/schemas.py | wiky-avis/fast_api_yatube | ff7499721e3cc2803eb82daa742d0a71fa94169b | [
"MIT"
] | 4 | 2021-09-22T18:45:44.000Z | 2022-03-12T00:57:51.000Z | fast_api_yatube/auth/schemas.py | wiky-avis/fast_api_yatube | ff7499721e3cc2803eb82daa742d0a71fa94169b | [
"MIT"
] | null | null | null | from ninja import Schema
class TokenPayload(Schema):
""" Схема для
"""
user_id: int = None
| 13.125 | 27 | 0.628571 | 13 | 105 | 5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 105 | 7 | 28 | 15 | 0.844156 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9979b27816e150ec662ce4efef629e31143c5f5f | 532 | py | Python | marketplace/deployer_util/dict_util_test.py | dineshmudrakola/marketplace-k8s-app-tools | 9039d4ea85faf6f4959f97e2db90f1a5ec4c5aec | [
"Apache-2.0"
] | 66 | 2018-07-23T01:29:35.000Z | 2021-12-27T15:16:57.000Z | marketplace/deployer_util/dict_util_test.py | dineshmudrakola/marketplace-k8s-app-tools | 9039d4ea85faf6f4959f97e2db90f1a5ec4c5aec | [
"Apache-2.0"
] | 282 | 2018-07-18T17:39:07.000Z | 2022-02-08T09:22:33.000Z | marketplace/deployer_util/dict_util_test.py | dineshmudrakola/marketplace-k8s-app-tools | 9039d4ea85faf6f4959f97e2db90f1a5ec4c5aec | [
"Apache-2.0"
] | 61 | 2018-07-18T11:47:03.000Z | 2022-01-16T21:12:20.000Z | """Tests for dict_util."""
import dict_util
import unittest
class DictUtilTest(unittest.TestCase):
def test_deep_get(self):
c = {'c': 1}
b = {'b': c}
a = {'a': b}
self.assertEqual(dict_util.deep_get(a, 'a'), b)
self.assertEqual(dict_util.deep_get(a, 'a', 'b'), c)
self.assertEqual(dict_util... | 28 | 64 | 0.62594 | 87 | 532 | 3.643678 | 0.241379 | 0.201893 | 0.359621 | 0.435331 | 0.656151 | 0.656151 | 0.656151 | 0.55836 | 0.55836 | 0.328076 | 0 | 0.004515 | 0.167293 | 532 | 18 | 65 | 29.555556 | 0.711061 | 0.037594 | 0 | 0 | 0 | 0 | 0.029644 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
999c9759ba2ba4fe8f18b613316d4de5e08a5056 | 945 | py | Python | kanagam/kanagam/doctype/vehicle/vehicle.py | aerele/kanagamlogistics | e09cec5f27636a1b2135a0ba0dc37f75d3588883 | [
"MIT"
] | null | null | null | kanagam/kanagam/doctype/vehicle/vehicle.py | aerele/kanagamlogistics | e09cec5f27636a1b2135a0ba0dc37f75d3588883 | [
"MIT"
] | null | null | null | kanagam/kanagam/doctype/vehicle/vehicle.py | aerele/kanagamlogistics | e09cec5f27636a1b2135a0ba0dc37f75d3588883 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2020, regent and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
#import frappe
from frappe.model.document import Document
class Vehicle(Document):
pass
#def autoname(self):
#if self.vehicle_reg_no:
# self.veh... | 32.586207 | 54 | 0.712169 | 134 | 945 | 4.783582 | 0.313433 | 0.084243 | 0.137285 | 0.074883 | 0.458658 | 0.458658 | 0.074883 | 0.074883 | 0 | 0 | 0 | 0.013959 | 0.166138 | 945 | 29 | 55 | 32.586207 | 0.799492 | 0.764021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
41f811dc91f96dbb01c8164c83dc719c7f8c4395 | 67 | py | Python | scripts/tcutils/pkgs/__init__.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | 5 | 2020-09-29T00:36:57.000Z | 2022-02-16T06:51:32.000Z | tcutils/pkgs/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 27 | 2019-11-02T02:18:34.000Z | 2022-02-24T18:49:08.000Z | tcutils/pkgs/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 20 | 2019-11-28T16:02:25.000Z | 2022-01-06T05:56:58.000Z | """Package directory to hold re-distributable python packages.
"""
| 22.333333 | 62 | 0.761194 | 8 | 67 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 63 | 33.5 | 0.864407 | 0.880597 | 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 |
41fbfe7cacae2e6dee78b9e3d5aec4b8c1bd6e5b | 14,171 | py | Python | pymoo/problems/multi/mw.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 762 | 2018-06-05T20:56:09.000Z | 2021-09-14T09:09:42.000Z | pymoo/problems/multi/mw.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 176 | 2018-09-05T18:37:05.000Z | 2021-09-14T01:18:43.000Z | pymoo/problems/multi/mw.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 160 | 2018-08-05T05:31:20.000Z | 2021-09-14T09:09:45.000Z | import numpy as np
from pymoo.core.problem import Problem
# Based on the C++ implementation by the Ma and Wang
# http://www.escience.cn/people/yongwang1/index.html
from pymoo.util.remote import Remote
class MW(Problem):
def __init__(self, n_var, n_obj, n_constr, **kwargs):
if 'xl' not in kwargs:
... | 35.967005 | 117 | 0.450921 | 2,522 | 14,171 | 2.415147 | 0.065821 | 0.016418 | 0.024955 | 0.029552 | 0.786899 | 0.762272 | 0.736332 | 0.704646 | 0.654408 | 0.641274 | 0 | 0.122692 | 0.323619 | 14,171 | 393 | 118 | 36.058524 | 0.51278 | 0.007127 | 0 | 0.570492 | 0 | 0 | 0.009099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160656 | false | 0 | 0.009836 | 0.032787 | 0.285246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
511d544881ac31b8be5a22fc7b28a362e6b00e34 | 414 | py | Python | desktop_local_tests/linux/test_linux_ip_responder_disrupt_service.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 219 | 2017-12-12T09:42:46.000Z | 2022-03-13T08:25:13.000Z | desktop_local_tests/linux/test_linux_ip_responder_disrupt_service.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 11 | 2017-12-14T08:14:51.000Z | 2021-08-09T18:37:45.000Z | desktop_local_tests/linux/test_linux_ip_responder_disrupt_service.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 45 | 2017-12-14T07:26:36.000Z | 2022-03-11T09:36:56.000Z | from desktop_local_tests.local_ip_responder_test_case_with_disrupter import LocalIPResponderTestCaseWithDisrupter
from desktop_local_tests.linux.linux_service_disrupter import LinuxServiceDisrupter
class TestLinuxIPResponderDisruptService(LocalIPResponderTestCaseWithDisrupter):
# TODO: Docs
def __init__(sel... | 41.4 | 113 | 0.855072 | 38 | 414 | 8.789474 | 0.657895 | 0.065868 | 0.095808 | 0.125749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096618 | 414 | 9 | 114 | 46 | 0.893048 | 0.024155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
51384acdde25c0ddebd5a8d7ca1e49937c50822d | 146 | py | Python | electrum_gui/android/ioscallback.py | Umiiii/electrum | 9e822640680c20c69a69695c033e97605aafcdce | [
"MIT"
] | 12 | 2020-11-12T08:53:05.000Z | 2021-07-06T17:30:39.000Z | electrum_gui/android/ioscallback.py | Umiiii/electrum | 9e822640680c20c69a69695c033e97605aafcdce | [
"MIT"
] | 209 | 2020-09-23T06:58:18.000Z | 2021-11-18T11:25:41.000Z | electrum_gui/android/ioscallback.py | Umiiii/electrum | 9e822640680c20c69a69695c033e97605aafcdce | [
"MIT"
] | 19 | 2020-10-13T11:42:26.000Z | 2022-02-06T01:26:34.000Z | from .custom_objc import *
class CallHandler(OKNSObject):
value = objc_property()
@objc_method
def init(self):
return self
| 14.6 | 30 | 0.664384 | 17 | 146 | 5.529412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253425 | 146 | 9 | 31 | 16.222222 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
5aa29b3933bb24480d61d4e4f003e13bd1452d56 | 184 | py | Python | randomras/__init__.py | quentinll/pertrenderer | d292ed4f09d49a957fba9d2f8bdd9d5c66930261 | [
"BSD-2-Clause"
] | 1 | 2022-02-03T08:31:40.000Z | 2022-02-03T08:31:40.000Z | randomras/__init__.py | quentinll/pertrenderer | d292ed4f09d49a957fba9d2f8bdd9d5c66930261 | [
"BSD-2-Clause"
] | null | null | null | randomras/__init__.py | quentinll/pertrenderer | d292ed4f09d49a957fba9d2f8bdd9d5c66930261 | [
"BSD-2-Clause"
] | null | null | null | from .random_rasterizer import SimpleShader, RandomSimpleShader
from .smoothagg import CauchyAgg,GaussianAgg,SoftAgg
from .smoothrast import SoftRast,ArctanRast,AffineRast,GaussianRast | 61.333333 | 67 | 0.88587 | 19 | 184 | 8.526316 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 184 | 3 | 67 | 61.333333 | 0.94186 | 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 |
5ab514b1a13079908998cb457b8302b2ba6aa691 | 1,883 | py | Python | easyadmin/elements/buttons.py | codemation/easyadmin | 0f305a92174a151fe08b2c8db4cf893a34055407 | [
"MIT"
] | 6 | 2021-03-30T01:28:15.000Z | 2021-12-18T00:51:14.000Z | easyadmin/elements/buttons.py | codemation/easyadmin | 0f305a92174a151fe08b2c8db4cf893a34055407 | [
"MIT"
] | 1 | 2021-05-24T01:10:35.000Z | 2021-05-24T10:17:13.000Z | easyadmin/elements/buttons.py | codemation/easyadmin | 0f305a92174a151fe08b2c8db4cf893a34055407 | [
"MIT"
] | null | null | null | def get_split_button(
name: str = "DEFAULT_BUTTON_NAME",
button_id = '',
href: str = None,
color: str = 'primary',
icon: str = 'plus',
size: str = None,
modal: str = None,
onclick: str = None
):
size = f' btn-{size}' if size else ''
href = f' href="{href}"' if href else ''
bu... | 25.445946 | 93 | 0.53744 | 234 | 1,883 | 4.226496 | 0.179487 | 0.08089 | 0.048534 | 0.040445 | 0.808898 | 0.808898 | 0.808898 | 0.659252 | 0.659252 | 0.584429 | 0 | 0.001439 | 0.261816 | 1,883 | 74 | 94 | 25.445946 | 0.710072 | 0.168348 | 0 | 0.818182 | 0 | 0.036364 | 0.355152 | 0.109527 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5acc437572063d8384225f17f0a1f6917f8dafd5 | 77 | py | Python | venv/Lib/site-packages/mouseinfo/__main__.py | SteevenBrunner/gmail-generator | 0ab6f047faad48c388c6d7d2b887f33b6839b6f9 | [
"MIT"
] | 41 | 2021-06-19T13:57:18.000Z | 2021-12-02T17:08:53.000Z | venv/Lib/site-packages/mouseinfo/__main__.py | AMasetti/DuelLinks-Interface | bbbd9910da48685ec16027fd7c56810d61bafbb0 | [
"MIT"
] | 9 | 2021-08-14T01:27:36.000Z | 2021-08-24T18:10:18.000Z | venv/Lib/site-packages/mouseinfo/__main__.py | AMasetti/DuelLinks-Interface | bbbd9910da48685ec16027fd7c56810d61bafbb0 | [
"MIT"
] | 4 | 2021-07-02T03:09:51.000Z | 2021-11-25T13:00:10.000Z | import mouseinfo
if __name__ == '__main__':
mouseinfo.MouseInfoWindow()
| 15.4 | 31 | 0.74026 | 7 | 77 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 4 | 32 | 19.25 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 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 |
5183b067f587858c8e53ded5ddeccea75f49bf5f | 5,202 | py | Python | src/Identity-API.py | akshitsingla/hackathon-dorahacks-2018 | 3ed7bbf0062dd12ab17b4999f1a722b7d066f1c1 | [
"Apache-2.0"
] | null | null | null | src/Identity-API.py | akshitsingla/hackathon-dorahacks-2018 | 3ed7bbf0062dd12ab17b4999f1a722b7d066f1c1 | [
"Apache-2.0"
] | 1 | 2019-12-29T10:18:21.000Z | 2019-12-29T10:18:21.000Z | src/Identity-API.py | akshitsingla/hackathon-dorahacks-2018 | 3ed7bbf0062dd12ab17b4999f1a722b7d066f1c1 | [
"Apache-2.0"
] | 2 | 2019-02-14T01:06:36.000Z | 2019-02-14T01:07:52.000Z | import sqlite3
sqlite_file = 'my_db.sqlite'
def connect(sqlite_file):
conn = sqlite3.connect(sqlite_file)
c = conn.cursor()
return conn, c
def close(conn):
conn.commit()
conn.close()
def get_max_user_id(cursor, print_out=False):
cursor.execute("SELECT MAX(BANKING_ID) FROM USER_DETAILS")
... | 40.015385 | 167 | 0.673972 | 674 | 5,202 | 4.982196 | 0.08457 | 0.147409 | 0.073556 | 0.049136 | 0.802859 | 0.782013 | 0.751936 | 0.717391 | 0.62567 | 0.597379 | 0 | 0.001184 | 0.188005 | 5,202 | 130 | 168 | 40.015385 | 0.793797 | 0 | 0 | 0.589286 | 0 | 0 | 0.253892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.008929 | 0 | 0.3125 | 0.366071 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51bee7cf554f86ae3460ee4e30dfa08ff549188c | 58 | py | Python | opentech/apply/utils/testing/__init__.py | JakabGy/hypha | 32634080ba1cb369f07f27f6616041e4eca8dbf2 | [
"BSD-3-Clause"
] | null | null | null | opentech/apply/utils/testing/__init__.py | JakabGy/hypha | 32634080ba1cb369f07f27f6616041e4eca8dbf2 | [
"BSD-3-Clause"
] | null | null | null | opentech/apply/utils/testing/__init__.py | JakabGy/hypha | 32634080ba1cb369f07f27f6616041e4eca8dbf2 | [
"BSD-3-Clause"
] | null | null | null | from .tests import make_request, BaseViewTestCase # NOQA
| 29 | 57 | 0.810345 | 7 | 58 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 1 | 58 | 58 | 0.92 | 0.068966 | 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 |
51d567ed5fcc69121400c2a347583b1bbbc61afd | 208 | py | Python | 10-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | 1 | 2022-03-24T06:04:54.000Z | 2022-03-24T06:04:54.000Z | 10-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | null | null | null | 10-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | null | null | null | #%% Module
import library as l
#%% Module colorama
import colorama as rang
print(rang.Style.BRIGHT)
print("Abdulla")
print(rang.Fore.YELLOW)
print(rang.Back.RED)
# print(rang.Style.RESET_ALL)
print("SALOM") | 18.909091 | 29 | 0.75 | 32 | 208 | 4.84375 | 0.5625 | 0.232258 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100962 | 208 | 11 | 30 | 18.909091 | 0.828877 | 0.264423 | 0 | 0 | 0 | 0 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.714286 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a40ccff6d5dcd5d3bc2e68d71d90a8003e996948 | 153 | py | Python | skcuda/cuda.py | hsnyder/scikit-cuda | ab2708a1d514373d6760fa6e74ac7545b4ff8ec0 | [
"BSD-3-Clause"
] | 1 | 2021-08-14T08:12:57.000Z | 2021-08-14T08:12:57.000Z | skcuda/cuda.py | hsnyder/scikit-cuda | ab2708a1d514373d6760fa6e74ac7545b4ff8ec0 | [
"BSD-3-Clause"
] | 1 | 2019-03-02T03:03:18.000Z | 2019-03-02T03:03:18.000Z | skcuda/cuda.py | hsnyder/scikit-cuda | ab2708a1d514373d6760fa6e74ac7545b4ff8ec0 | [
"BSD-3-Clause"
] | 1 | 2021-12-26T21:31:39.000Z | 2021-12-26T21:31:39.000Z | #!/usr/bin/env python
"""
Python interface to CUDA functions.
"""
from __future__ import absolute_import
from .cudart import *
from .cudadrv import *
| 13.909091 | 38 | 0.738562 | 20 | 153 | 5.4 | 0.7 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 10 | 39 | 15.3 | 0.837209 | 0.366013 | 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 |
cfee6c008b467f7ece1743ea6c8031721c2a97c2 | 72 | py | Python | config.py | ik8/ap_clustering | 2d5ebeba0662404769f79d612c824d0765560151 | [
"Apache-2.0"
] | null | null | null | config.py | ik8/ap_clustering | 2d5ebeba0662404769f79d612c824d0765560151 | [
"Apache-2.0"
] | null | null | null | config.py | ik8/ap_clustering | 2d5ebeba0662404769f79d612c824d0765560151 | [
"Apache-2.0"
] | null | null | null | import os
MODEL_LOCATION = f"{os.path.realpath('.')}/base_model.model"
| 18 | 60 | 0.722222 | 11 | 72 | 4.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 61 | 24 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
321c0965fe3e2de31d326be6a2d057c4f95d0c34 | 146 | py | Python | config.py | cptanalatriste/team-balloon-msr | 24b76d022955d3e353cf36d2d4ddcc7242aa588b | [
"MIT"
] | 1 | 2022-03-18T02:34:14.000Z | 2022-03-18T02:34:14.000Z | config.py | cptanalatriste/code-review-reciprocity | 24b76d022955d3e353cf36d2d4ddcc7242aa588b | [
"MIT"
] | null | null | null | config.py | cptanalatriste/code-review-reciprocity | 24b76d022955d3e353cf36d2d4ddcc7242aa588b | [
"MIT"
] | null | null | null | GITHUB_API_TOKEN: list[str] = [""]
ELASTICSEARCH_HOST: str = "http://localhost:9200/"
TEXT_DIRECTORY: str = "txt/"
IMAGE_DIRECTORY: str = "img/"
| 24.333333 | 50 | 0.69863 | 19 | 146 | 5.105263 | 0.789474 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.116438 | 146 | 5 | 51 | 29.2 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c659ddf195d1de4143cc12a412e565babd935c1 | 6,470 | py | Python | data/pretestdata/03_parking_lot/component.py | wilsonsuen/av-testing | a6967b4cb4e4ad6b10d041ffd3dc62188fccad81 | [
"MIT"
] | null | null | null | data/pretestdata/03_parking_lot/component.py | wilsonsuen/av-testing | a6967b4cb4e4ad6b10d041ffd3dc62188fccad81 | [
"MIT"
] | null | null | null | data/pretestdata/03_parking_lot/component.py | wilsonsuen/av-testing | a6967b4cb4e4ad6b10d041ffd3dc62188fccad81 | [
"MIT"
] | null | null | null | # Data prepared using svl simulator visual editor feature.
testcasename = "Exiting Parking Lot encountering i_npc_type at c_time in c_weather day"
testcaseid = "AV-3."
components = {
"c_weather": {
"Sunny": {"rain": 0.0, "fog": 0, "wetness": 0, "cloudiness": 0, "damage": 0},
"Rainning": {"rain": ... | 31.560976 | 96 | 0.34034 | 411 | 6,470 | 5.311436 | 0.49635 | 0.032982 | 0.032982 | 0.034814 | 0.136509 | 0.131929 | 0.120018 | 0.043518 | 0.026569 | 0 | 0 | 0.271736 | 0.518238 | 6,470 | 204 | 97 | 31.715686 | 0.428617 | 0.008655 | 0 | 0.190955 | 0 | 0 | 0.917498 | 0.05942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ca3c9ba614a8e82151e234da8550265aebbeba9 | 91 | py | Python | jsonsam/__init__.py | project705/jsonsam | bfa78be67ef916052bf468c2cee87d89ccefeb2a | [
"MIT"
] | 1 | 2021-09-08T19:14:54.000Z | 2021-09-08T19:14:54.000Z | jsonsam/__init__.py | project705/jsonsam | bfa78be67ef916052bf468c2cee87d89ccefeb2a | [
"MIT"
] | 1 | 2021-09-08T21:43:18.000Z | 2021-09-08T21:43:18.000Z | jsonsam/__init__.py | project705/jsonsam | bfa78be67ef916052bf468c2cee87d89ccefeb2a | [
"MIT"
] | null | null | null | __version__ = '0.1.0'
from .randdict import DictGen
from .jsonsam import DictSam, JsonSam
| 18.2 | 37 | 0.769231 | 13 | 91 | 5.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.142857 | 91 | 4 | 38 | 22.75 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 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 |
5cae59ebe61e89940a910a773903a498f66d4590 | 145 | py | Python | appview/templatetags/keys.py | regisf/yablog | e80c2324bc15cbd76734f9bd417e174a488a0710 | [
"BSD-3-Clause"
] | 1 | 2018-06-07T23:10:54.000Z | 2018-06-07T23:10:54.000Z | appview/templatetags/keys.py | regisf/yablog | e80c2324bc15cbd76734f9bd417e174a488a0710 | [
"BSD-3-Clause"
] | null | null | null | appview/templatetags/keys.py | regisf/yablog | e80c2324bc15cbd76734f9bd417e174a488a0710 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
from django import template
register = template.Library()
@register.filter
def keys(value, arg):
return value[arg] | 16.111111 | 29 | 0.689655 | 19 | 145 | 5.263158 | 0.789474 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.165517 | 145 | 9 | 30 | 16.111111 | 0.818182 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5cc598e029789d76155586d1ba6e18405eef8981 | 51 | py | Python | pointcloudset/io/pointcloud/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 23 | 2021-06-14T10:11:27.000Z | 2022-03-07T13:44:36.000Z | pointcloudset/io/pointcloud/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 23 | 2021-06-14T05:45:23.000Z | 2022-03-31T08:24:04.000Z | pointcloudset/io/pointcloud/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 3 | 2021-07-07T06:58:34.000Z | 2021-09-28T11:52:07.000Z | """
Functions for pointcloud input and output.
"""
| 12.75 | 42 | 0.705882 | 6 | 51 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 43 | 17 | 0.837209 | 0.823529 | 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 |
5cde1f15a5afa2d97baa894f2d90f64076b20e59 | 203 | py | Python | tests/test_api_v1_system_api_error.py | pincher95/pfsense-api | 001a4b8a1ec39138668d6d92b3c9d0c89a7f1b45 | [
"Apache-2.0"
] | null | null | null | tests/test_api_v1_system_api_error.py | pincher95/pfsense-api | 001a4b8a1ec39138668d6d92b3c9d0c89a7f1b45 | [
"Apache-2.0"
] | null | null | null | tests/test_api_v1_system_api_error.py | pincher95/pfsense-api | 001a4b8a1ec39138668d6d92b3c9d0c89a7f1b45 | [
"Apache-2.0"
] | null | null | null | import e2e_test_framework
class APIE2ETestSystemAPIError(e2e_test_framework.APIE2ETest):
uri = "/api/v1/system/api/error"
get_tests = [{"name": "Read API errors"}]
APIE2ETestSystemAPIError()
| 20.3 | 62 | 0.753695 | 23 | 203 | 6.434783 | 0.73913 | 0.094595 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.128079 | 203 | 9 | 63 | 22.555556 | 0.80226 | 0 | 0 | 0 | 0 | 0 | 0.211823 | 0.118227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7a201c87c0515b5031f0fc5fd0ad930803cbfedc | 67 | py | Python | pytest_flask/__init__.py | Roguelazer/pytest-flask | cfc804776f24c7230627b15bd935e5da5f809db7 | [
"MIT"
] | 392 | 2016-09-23T21:33:02.000Z | 2022-03-15T02:00:26.000Z | pytest_flask/__init__.py | Roguelazer/pytest-flask | cfc804776f24c7230627b15bd935e5da5f809db7 | [
"MIT"
] | 86 | 2016-09-14T12:04:05.000Z | 2022-03-01T16:01:31.000Z | pytest_flask/__init__.py | Roguelazer/pytest-flask | cfc804776f24c7230627b15bd935e5da5f809db7 | [
"MIT"
] | 76 | 2016-11-05T11:31:55.000Z | 2022-03-25T19:15:20.000Z | #!/usr/bin/env python
from ._version import version as __version__
| 22.333333 | 44 | 0.791045 | 10 | 67 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 45 | 33.5 | 0.813559 | 0.298507 | 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 |
7a309190f32e5b8543148e0ca45aff47bb3af6a9 | 95 | py | Python | orderadmin/apps.py | jackyicu/django-orderadmin | a634c9f447fb8e352077317d9d3f43e40488e47b | [
"BSD-3-Clause"
] | null | null | null | orderadmin/apps.py | jackyicu/django-orderadmin | a634c9f447fb8e352077317d9d3f43e40488e47b | [
"BSD-3-Clause"
] | null | null | null | orderadmin/apps.py | jackyicu/django-orderadmin | a634c9f447fb8e352077317d9d3f43e40488e47b | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class OrderadminConfig(AppConfig):
name = 'orderadmin'
| 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 |
7a48fd12ab23b61e122624e87f3df1e07ffbb440 | 1,819 | py | Python | src/compas_blender/geometry/surface.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2019-03-27T22:46:29.000Z | 2019-03-27T22:46:29.000Z | src/compas_blender/geometry/surface.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | null | null | null | src/compas_blender/geometry/surface.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2022-01-16T02:32:43.000Z | 2022-01-16T02:32:43.000Z |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from compas_blender.geometry import BlenderGeometry
__all__ = [
'BlenderSurface',
]
class BlenderSurface(BlenderGeometry):
def __init__(self, guid):
super(BlenderSurface, self).__init__()
... | 16.842593 | 80 | 0.623969 | 173 | 1,819 | 6.283237 | 0.317919 | 0.353266 | 0.372585 | 0.171113 | 0.209752 | 0.075437 | 0 | 0 | 0 | 0 | 0 | 0.0092 | 0.2232 | 1,819 | 107 | 81 | 17 | 0.760085 | 0.08906 | 0 | 0.355556 | 0 | 0 | 0.013317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.377778 | false | 0.022222 | 0.088889 | 0 | 0.488889 | 0.022222 | 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 |
7a590c0551df3c146ec6f1c064c41e6ee52b6c57 | 57 | py | Python | asgard/workers/autoscaler/__main__.py | rockerbacon/asgard-api | 1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a | [
"MIT"
] | 3 | 2020-01-10T02:16:09.000Z | 2020-02-19T18:42:37.000Z | asgard/workers/autoscaler/__main__.py | b2wdigital/asgard-api | 5444d81be33bf4af3c9cf5a2185c16ff10357034 | [
"MIT"
] | 13 | 2020-01-15T18:22:35.000Z | 2021-03-31T19:21:54.000Z | asgard/workers/autoscaler/__main__.py | rockerbacon/asgard-api | 1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a | [
"MIT"
] | 6 | 2020-03-07T09:49:19.000Z | 2021-07-25T03:14:10.000Z | from asgard.workers.autoscaler.app import app
app.run()
| 14.25 | 45 | 0.789474 | 9 | 57 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 46 | 19 | 0.882353 | 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 |
7a797f4c2f18e1a8e705478bc0b2a49dc8833a35 | 174 | py | Python | newsApp/publisher.py | adityabansal/newsAroundMe | 06d30c8a281baae90f916aa0b0bfe3b4db9d2293 | [
"MIT"
] | 9 | 2017-06-22T18:42:54.000Z | 2021-03-28T18:58:44.000Z | newsApp/publisher.py | adityabansal/newsAroundMe | 06d30c8a281baae90f916aa0b0bfe3b4db9d2293 | [
"MIT"
] | 8 | 2016-10-08T12:50:50.000Z | 2022-03-11T23:13:17.000Z | newsApp/publisher.py | adityabansal/newsAroundMe | 06d30c8a281baae90f916aa0b0bfe3b4db9d2293 | [
"MIT"
] | 3 | 2018-01-18T11:01:32.000Z | 2018-11-20T08:33:30.000Z | from .dbItem import DbItem
class Publisher(DbItem):
"""
Represents a news publisher.
Each publisher consists of a unique id and a set of tags(key-value pairs).
"""
| 19.333333 | 76 | 0.712644 | 26 | 174 | 4.769231 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201149 | 174 | 8 | 77 | 21.75 | 0.892086 | 0.597701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ab83d70bdd160e67a6cd20b7e0450f9e2b1e45a | 9,871 | py | Python | test/test_util.py | gyosh/leekcode | c6483a2fd62307bf5ff3fbfae1960c839f2374a1 | [
"MIT"
] | null | null | null | test/test_util.py | gyosh/leekcode | c6483a2fd62307bf5ff3fbfae1960c839f2374a1 | [
"MIT"
] | 1 | 2020-05-28T03:39:33.000Z | 2020-05-30T17:30:37.000Z | test/test_util.py | gyosh/leekcode | c6483a2fd62307bf5ff3fbfae1960c839f2374a1 | [
"MIT"
] | null | null | null | import unittest
from lib.util import extract_variables
from lib.vtype import VType
class TestUtil(unittest.TestCase):
def assertFloatList(self, expected, got):
self.assertEqual(len(expected), len(got))
for i in range(len(expected)):
self.assertEqual(expected[i][0], got[i][0])
... | 72.051095 | 166 | 0.642184 | 1,195 | 9,871 | 5.2 | 0.076151 | 0.165755 | 0.074831 | 0.079337 | 0.851786 | 0.841165 | 0.717412 | 0.686836 | 0.654651 | 0.573705 | 0 | 0.04813 | 0.14963 | 9,871 | 136 | 167 | 72.580882 | 0.692161 | 0.005977 | 0 | 0.141509 | 0 | 0.009434 | 0.125395 | 0.008156 | 0 | 0 | 0 | 0 | 0.754717 | 1 | 0.037736 | false | 0 | 0.028302 | 0 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f944fafc5875825861fbd918a4eef39a54dc48f | 367 | py | Python | tests/util/test_settings_dir.py | ion1/swtor-settings-updater | 7ac368507872bb253470b78a42a8f675c6678051 | [
"MIT"
] | null | null | null | tests/util/test_settings_dir.py | ion1/swtor-settings-updater | 7ac368507872bb253470b78a42a8f675c6678051 | [
"MIT"
] | null | null | null | tests/util/test_settings_dir.py | ion1/swtor-settings-updater | 7ac368507872bb253470b78a42a8f675c6678051 | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import Any
from swtor_settings_updater.util.settings_dir import default_settings_dir
# TODO: pytest defines MonkeyPatch internally but does not seem to export it.
def test_default_settings_dir(monkeypatch: Any) -> None:
monkeypatch.setenv("LOCALAPPDATA", "foobar")
assert ... | 33.363636 | 77 | 0.79564 | 50 | 367 | 5.64 | 0.62 | 0.156028 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128065 | 367 | 10 | 78 | 36.7 | 0.88125 | 0.20436 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0.1 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f9e8dfee1412bdb8d75db1ffa146684f3c7300e | 314 | py | Python | devices/SIP04_FZJ/02_Test/test_sip04_02.py | geophysics-ubonn/reda_testing | c32f3faa685b77974b88ba1126a02afabfe5fd2d | [
"MIT"
] | null | null | null | devices/SIP04_FZJ/02_Test/test_sip04_02.py | geophysics-ubonn/reda_testing | c32f3faa685b77974b88ba1126a02afabfe5fd2d | [
"MIT"
] | null | null | null | devices/SIP04_FZJ/02_Test/test_sip04_02.py | geophysics-ubonn/reda_testing | c32f3faa685b77974b88ba1126a02afabfe5fd2d | [
"MIT"
] | 1 | 2019-06-25T09:39:40.000Z | 2019-06-25T09:39:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import reda
basepath = os.path.dirname(__file__) + os.sep
def test_load_mat():
sip = reda.SIP()
sip.import_sip04(basepath + 'Data/sip_dataA.mat')
def test_load_csv():
sip2 = reda.SIP()
sip2.import_sip04(basepath + 'Data/sip_dataA.csv')
| 17.444444 | 54 | 0.665605 | 48 | 314 | 4.104167 | 0.520833 | 0.071066 | 0.111675 | 0.233503 | 0.314721 | 0.314721 | 0 | 0 | 0 | 0 | 0 | 0.026923 | 0.171975 | 314 | 17 | 55 | 18.470588 | 0.730769 | 0.133758 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8fa05b52b80b54d25bf9dbeeb169be91ec6c6524 | 44 | py | Python | maprouletteupload/config.py | ebrelsford/maprouletteupload | d8b76685c3849cc2ee96cecf14ec716999f49577 | [
"MIT"
] | null | null | null | maprouletteupload/config.py | ebrelsford/maprouletteupload | d8b76685c3849cc2ee96cecf14ec716999f49577 | [
"MIT"
] | 1 | 2016-11-14T18:56:12.000Z | 2016-11-14T18:56:12.000Z | maprouletteupload/config.py | ebrelsford/maprouletteupload | d8b76685c3849cc2ee96cecf14ec716999f49577 | [
"MIT"
] | null | null | null | API_ROOT = 'http://maproulette.org/api/v2/'
| 22 | 43 | 0.704545 | 7 | 44 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.068182 | 44 | 1 | 44 | 44 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8fb9e36a40f053dbc43b53e953dbbdf0358a99d9 | 269 | py | Python | d21/election/views.py | COEXCZ/d21 | 236a8485e40bfd388d06380b7e4087ca91b513f1 | [
"MIT"
] | null | null | null | d21/election/views.py | COEXCZ/d21 | 236a8485e40bfd388d06380b7e4087ca91b513f1 | [
"MIT"
] | null | null | null | d21/election/views.py | COEXCZ/d21 | 236a8485e40bfd388d06380b7e4087ca91b513f1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
class ElectionListView(TemplateView): # TODO: make better base class
template_name = 'index.html'
# TODO: context
class ElectionDetailView(TemplateView):
# TODO
pass
| 20.692308 | 69 | 0.754647 | 30 | 269 | 6.733333 | 0.7 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178439 | 269 | 12 | 70 | 22.416667 | 0.914027 | 0.174721 | 0 | 0 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8fd24bb236cae4c1595edd556afd2de54b664bf7 | 192 | py | Python | roscraco/router/tplink/wr940n.py | spantaleev/roscraco | 87a5a7c54931d5586fd7d30c8c67a699bef69c1f | [
"BSD-3-Clause"
] | 13 | 2015-03-01T00:39:43.000Z | 2020-09-06T09:32:52.000Z | roscraco/router/tplink/wr940n.py | spantaleev/roscraco | 87a5a7c54931d5586fd7d30c8c67a699bef69c1f | [
"BSD-3-Clause"
] | 3 | 2015-08-08T01:34:35.000Z | 2017-05-14T11:07:50.000Z | roscraco/router/tplink/wr940n.py | spantaleev/roscraco | 87a5a7c54931d5586fd7d30c8c67a699bef69c1f | [
"BSD-3-Clause"
] | 11 | 2015-01-29T03:21:08.000Z | 2020-06-30T17:05:19.000Z | from .wr740n import Tplink_WR740N
class Tplink_WR940N(Tplink_WR740N):
def confirm_identity(self):
self._ensure_www_auth_header('Basic realm="TP-LINK Wireless N Router WR940N"')
| 24 | 86 | 0.765625 | 27 | 192 | 5.148148 | 0.777778 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092025 | 0.151042 | 192 | 7 | 87 | 27.428571 | 0.760736 | 0 | 0 | 0 | 0 | 0 | 0.239583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8f23a62e75871072559872f8b17b101babd88d1d | 191 | py | Python | reeds/function_libs/pipeline/__init__.py | candidechamp/reeds | 601e4327132f80d7e7fd90d47eecc85cecc0fdd8 | [
"MIT"
] | 3 | 2021-06-18T03:27:17.000Z | 2021-11-15T13:55:51.000Z | reeds/function_libs/pipeline/__init__.py | candidechamp/reeds | 601e4327132f80d7e7fd90d47eecc85cecc0fdd8 | [
"MIT"
] | 11 | 2021-06-25T08:53:37.000Z | 2021-10-19T10:17:58.000Z | reeds/function_libs/pipeline/__init__.py | candidechamp/reeds | 601e4327132f80d7e7fd90d47eecc85cecc0fdd8 | [
"MIT"
] | 1 | 2021-09-16T12:18:17.000Z | 2021-09-16T12:18:17.000Z | """
The pipeline submodule is providing functionality to queue RE-EDS runs into a job-scheduling system.
Therefore the submodule is divided into two parts: scheduler and workers.
""" | 38.2 | 104 | 0.759162 | 27 | 191 | 5.37037 | 0.851852 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183246 | 191 | 5 | 105 | 38.2 | 0.929487 | 0.910995 | 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 |
8f30ac6abe35d3a400a26e14653bd163ce3c74d9 | 176 | py | Python | aula4_pt1/app.py | es99/curso-flask | 03446ccc89894a2c4f2d1c14d0040e80d2226d9e | [
"Unlicense"
] | 1 | 2020-07-21T05:17:20.000Z | 2020-07-21T05:17:20.000Z | aula4_pt1/app.py | es99/curso-flask | 03446ccc89894a2c4f2d1c14d0040e80d2226d9e | [
"Unlicense"
] | null | null | null | aula4_pt1/app.py | es99/curso-flask | 03446ccc89894a2c4f2d1c14d0040e80d2226d9e | [
"Unlicense"
] | null | null | null | import views
from flask import Flask
def create_app():
""""Função principal que retorna um aplicativo"""
app = Flask(__name__)
views.init_app(app)
return app
| 17.6 | 53 | 0.693182 | 24 | 176 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 176 | 9 | 54 | 19.555556 | 0.84058 | 0.244318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f4d0f9a51ffc805d47108d1f9c4dac5fee14b1e | 17 | py | Python | kharon/project_templates/settings.py | RedRussianBear/kharon | d5ec8ad059d71a69ddc90616eafea38d96de4ed6 | [
"BSD-3-Clause"
] | 1 | 2019-04-15T12:22:46.000Z | 2019-04-15T12:22:46.000Z | kharon/project_templates/settings.py | RedRussianBear/kharon | d5ec8ad059d71a69ddc90616eafea38d96de4ed6 | [
"BSD-3-Clause"
] | null | null | null | kharon/project_templates/settings.py | RedRussianBear/kharon | d5ec8ad059d71a69ddc90616eafea38d96de4ed6 | [
"BSD-3-Clause"
] | null | null | null | BAUD_RATE = 9600
| 8.5 | 16 | 0.764706 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.176471 | 17 | 1 | 17 | 17 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
8f59804155447ce5a92bc03b64117df40f086361 | 91 | py | Python | gethost.py | tyutyutyu/docker-git-clone | 11c37441def9391482822f6121e8b9c7423523a1 | [
"MIT"
] | 1 | 2018-01-08T22:42:21.000Z | 2018-01-08T22:42:21.000Z | gethost.py | tyutyutyu/docker-git-clone | 11c37441def9391482822f6121e8b9c7423523a1 | [
"MIT"
] | null | null | null | gethost.py | tyutyutyu/docker-git-clone | 11c37441def9391482822f6121e8b9c7423523a1 | [
"MIT"
] | 2 | 2016-12-15T16:03:47.000Z | 2018-02-13T10:49:16.000Z | #!/usr/bin/python
import sys
from giturlparse import parse
print parse(sys.argv[1]).host
| 13 | 29 | 0.758242 | 15 | 91 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.120879 | 91 | 6 | 30 | 15.166667 | 0.85 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8f6a9d51b1d4fab0d6d1a544d1b09631f7c361d8 | 241 | py | Python | sonarqube/cloud/webservices.py | 0x646e78/python-sonarqube-api | c641ab4dd180b4184f2663bd28277aa796b36417 | [
"MIT"
] | null | null | null | sonarqube/cloud/webservices.py | 0x646e78/python-sonarqube-api | c641ab4dd180b4184f2663bd28277aa796b36417 | [
"MIT"
] | null | null | null | sonarqube/cloud/webservices.py | 0x646e78/python-sonarqube-api | c641ab4dd180b4184f2663bd28277aa796b36417 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Author: Jialiang Shi
from sonarqube.community.webservices import SonarQubeWebservices
class SonarCloudWebservices(SonarQubeWebservices):
"""
SonarCloud webservices Operations
"""
| 21.909091 | 64 | 0.738589 | 22 | 241 | 8.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.145228 | 241 | 10 | 65 | 24.1 | 0.859223 | 0.40249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8f6ce44966501152b092923843e88442eb6ed505 | 106 | py | Python | strategies/bak/__init__.py | dizzy21c/easyqtrs | 4704674d2175d40afdc306afd8a002a486c83220 | [
"MIT"
] | 2 | 2021-12-30T13:43:13.000Z | 2022-01-23T13:39:54.000Z | strategies/bak/__init__.py | dizzy21c/easyqtrs | 4704674d2175d40afdc306afd8a002a486c83220 | [
"MIT"
] | null | null | null | strategies/bak/__init__.py | dizzy21c/easyqtrs | 4704674d2175d40afdc306afd8a002a486c83220 | [
"MIT"
] | 4 | 2021-10-22T01:44:47.000Z | 2022-01-05T05:49:20.000Z | #!/usr/bin/python
# encoding: utf-8
"""
@author:
contact:
@file:__init__.py.py
@time: 17-3-22 上午10:28
""" | 11.777778 | 22 | 0.641509 | 18 | 106 | 3.555556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.113208 | 106 | 9 | 23 | 11.777778 | 0.574468 | 0.886792 | 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 |
56afc56a7add6c3be45610ebf082d9e1beb9a805 | 8,148 | py | Python | test/test_slimta_smtp_auth.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | test/test_slimta_smtp_auth.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | test/test_slimta_smtp_auth.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | import email.utils
import unittest
from mox3.mox import MoxTestBase, IsA
from gevent.ssl import SSLSocket
from pysasl import SASLAuth
from slimta.smtp.io import IO
from slimta.smtp.auth import AuthSession, ServerAuthError, \
InvalidMechanismError, AuthenticationCanceled
class TestSmtpAu... | 44.043243 | 155 | 0.641875 | 1,008 | 8,148 | 5.135913 | 0.12004 | 0.064902 | 0.044041 | 0.048291 | 0.774773 | 0.773421 | 0.738845 | 0.717983 | 0.679351 | 0.652308 | 0 | 0.032075 | 0.21944 | 8,148 | 184 | 156 | 44.282609 | 0.781918 | 0.00405 | 0 | 0.60625 | 0 | 0 | 0.188956 | 0.074941 | 0 | 0 | 0 | 0 | 0.225 | 1 | 0.10625 | false | 0.03125 | 0.04375 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56b20fc92fdd40986e751b3065d4058eb0d25c94 | 4,410 | py | Python | test/test_design_permission_set_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_design_permission_set_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_design_permission_set_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 27.5625 | 165 | 0.675283 | 583 | 4,410 | 4.845626 | 0.253859 | 0.169912 | 0.19823 | 0.124602 | 0.631504 | 0.613097 | 0.550442 | 0.538761 | 0.384071 | 0.308319 | 0 | 0.002786 | 0.267347 | 4,410 | 159 | 166 | 27.735849 | 0.871557 | 0.535828 | 0 | 0.357143 | 0 | 0 | 0.005185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.380952 | false | 0.357143 | 0.166667 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
56c7fe1aade4b9e3e2951ef821d2dbb9b8b05539 | 323 | py | Python | tests/hints.py | lycantropos/ground | ef6f54b8cb555af8d9202d621cac57a892ecb78d | [
"MIT"
] | 4 | 2021-05-15T19:15:56.000Z | 2021-11-30T06:19:47.000Z | tests/hints.py | lycantropos/ground | ef6f54b8cb555af8d9202d621cac57a892ecb78d | [
"MIT"
] | null | null | null | tests/hints.py | lycantropos/ground | ef6f54b8cb555af8d9202d621cac57a892ecb78d | [
"MIT"
] | null | null | null | from typing import (Sequence,
Tuple)
from hypothesis.strategies import SearchStrategy
from ground.hints import Point
Strategy = SearchStrategy
PointsPair = Tuple[Point, Point]
PointsQuadruplet = Tuple[Point, Point, Point, Point]
PointsTriplet = Tuple[Point, Point, Point]
Permutation = Sequence[in... | 24.846154 | 52 | 0.749226 | 35 | 323 | 6.914286 | 0.485714 | 0.247934 | 0.18595 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 323 | 12 | 53 | 26.916667 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
56cb68bd25d4693aeddeff84d7fd65493d31b37e | 26 | py | Python | example_app/graviton2_gh_runner_flask_app/helpers/__init__.py | aws-samples/cdk-graviton2-gh-sh-runner | 4d74bb4bb625669929e6f33d931a4233d580510d | [
"MIT-0"
] | 5 | 2021-11-02T22:00:28.000Z | 2022-01-26T21:41:52.000Z | example_app/graviton2_gh_runner_flask_app/helpers/__init__.py | aws-samples/cdk-graviton2-gh-sh-runner | 4d74bb4bb625669929e6f33d931a4233d580510d | [
"MIT-0"
] | null | null | null | example_app/graviton2_gh_runner_flask_app/helpers/__init__.py | aws-samples/cdk-graviton2-gh-sh-runner | 4d74bb4bb625669929e6f33d931a4233d580510d | [
"MIT-0"
] | 4 | 2021-11-02T01:26:35.000Z | 2022-01-20T03:51:15.000Z | """Module for helpers."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 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 |
56d9298e8c0c6b79b3d0e388e6bc4825b9a70ed0 | 847 | py | Python | scripts/patch_gcr_auth_json.py | jpark2111/rasaXazure | 33c31a2ee3304d4ccb34790966cedc462c6fd702 | [
"Apache-2.0"
] | null | null | null | scripts/patch_gcr_auth_json.py | jpark2111/rasaXazure | 33c31a2ee3304d4ccb34790966cedc462c6fd702 | [
"Apache-2.0"
] | null | null | null | scripts/patch_gcr_auth_json.py | jpark2111/rasaXazure | 33c31a2ee3304d4ccb34790966cedc462c6fd702 | [
"Apache-2.0"
] | null | null | null | import os
with open("deploy/gcr-auth.json", "r") as f:
lines = f.readlines()
for line in lines:
print(
line.replace(
"set_as_environment_variable-GCR_AUTH_JSON_PRIVATE_KEY_ID",
os.environ["GCR_AUTH_JSON_PRIVATE_KEY_ID"],
)
.r... | 33.88 | 76 | 0.536009 | 91 | 847 | 4.483516 | 0.307692 | 0.154412 | 0.242647 | 0.22549 | 0.808824 | 0.779412 | 0.637255 | 0.490196 | 0.490196 | 0.254902 | 0 | 0 | 0.375443 | 847 | 24 | 77 | 35.291667 | 0.771267 | 0 | 0 | 0.130435 | 0 | 0 | 0.409478 | 0.383961 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0.043478 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 |
56e63a81c482e5a513db6ce9d2369c2b4b270836 | 244 | py | Python | tshirt/tests/test_rowamp_sub.py | kglidic/tshirt | 8080d32b154bc2b4da8410b1d53c5353a8f6b9dd | [
"MIT"
] | 1 | 2020-08-09T10:28:17.000Z | 2020-08-09T10:28:17.000Z | tshirt/tests/test_rowamp_sub.py | kglidic/tshirt | 8080d32b154bc2b4da8410b1d53c5353a8f6b9dd | [
"MIT"
] | 25 | 2020-07-01T17:25:59.000Z | 2022-03-23T03:45:56.000Z | tshirt/tests/test_rowamp_sub.py | kglidic/tshirt | 8080d32b154bc2b4da8410b1d53c5353a8f6b9dd | [
"MIT"
] | 1 | 2020-06-30T15:56:32.000Z | 2020-06-30T15:56:32.000Z | import unittest
from tshirt.pipeline import phot_pipeline, spec_pipeline
from astropy.io import fits,ascii
from pkg_resources import resource_filename
from copy import deepcopy
from tshirt.pipeline import sim_data
import os
import numpy as np
| 24.4 | 56 | 0.856557 | 38 | 244 | 5.368421 | 0.605263 | 0.098039 | 0.176471 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 244 | 9 | 57 | 27.111111 | 0.953271 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
712d319481c65dd25307c608266ceb19bf03e1ed | 39 | py | Python | google_ime_skk_py/__init__.py | chaploud/google-ime-skk-py | 4df373eee893116ad391aeaa20ed2de05d5261f1 | [
"MIT"
] | null | null | null | google_ime_skk_py/__init__.py | chaploud/google-ime-skk-py | 4df373eee893116ad391aeaa20ed2de05d5261f1 | [
"MIT"
] | null | null | null | google_ime_skk_py/__init__.py | chaploud/google-ime-skk-py | 4df373eee893116ad391aeaa20ed2de05d5261f1 | [
"MIT"
] | null | null | null | """
__init__.py
google-ime-skk-py
"""
| 6.5 | 17 | 0.615385 | 6 | 39 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 5 | 18 | 7.8 | 0.588235 | 0.769231 | 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 |
712f105fe8dbd3959e429c1cde6b3d839340755b | 17,395 | py | Python | unit_testing/test_api_users.py | Stanford-PERTS/triton | 5a4f401fc7019d59ce4c41eafa6c5bda822fae0a | [
"CC0-1.0"
] | null | null | null | unit_testing/test_api_users.py | Stanford-PERTS/triton | 5a4f401fc7019d59ce4c41eafa6c5bda822fae0a | [
"CC0-1.0"
] | null | null | null | unit_testing/test_api_users.py | Stanford-PERTS/triton | 5a4f401fc7019d59ce4c41eafa6c5bda822fae0a | [
"CC0-1.0"
] | null | null | null | """Test endpoints
/api/users/X and
/api/teams/X/users and
/api/organizations/X/users."""
import logging
import webapp2
import webtest
from api_handlers import api_routes
from model import Team, Program, Organization, User
from unit_test_helper import ConsistencyTestCase
import config
import json
import jw... | 37.651515 | 79 | 0.572693 | 1,988 | 17,395 | 4.841046 | 0.094567 | 0.046758 | 0.044576 | 0.066916 | 0.785328 | 0.763404 | 0.74813 | 0.714568 | 0.690046 | 0.671446 | 0 | 0.006123 | 0.29589 | 17,395 | 461 | 80 | 37.733189 | 0.779637 | 0.073814 | 0 | 0.660477 | 0 | 0 | 0.119845 | 0.03223 | 0 | 0 | 0 | 0 | 0.061008 | 1 | 0.068966 | false | 0 | 0.026525 | 0 | 0.106101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
852e6dc96d98be25af0a4f6c425660c205218117 | 815 | py | Python | tests/test_day_03.py | masasin/advent_of_code_2015 | 032bcf780b59d261b3913673fd33001a98f2f69d | [
"MIT"
] | null | null | null | tests/test_day_03.py | masasin/advent_of_code_2015 | 032bcf780b59d261b3913673fd33001a98f2f69d | [
"MIT"
] | null | null | null | tests/test_day_03.py | masasin/advent_of_code_2015 | 032bcf780b59d261b3913673fd33001a98f2f69d | [
"MIT"
] | null | null | null | from day_03 import move, get_visits
def test_move():
assert move(">", (0, 0)) == (1, 0)
assert move("<", (0, 0)) == (-1, 0)
assert move("^", (0, 0)) == (0, 1)
assert move("v", (0, 0)) == (0, -1)
step_1 = move("^", (0, 0))
step_2 = move(">", step_1)
step_3 = move("v", step_2)
step_4 = ... | 24.69697 | 44 | 0.51411 | 137 | 815 | 2.854015 | 0.153285 | 0.253197 | 0.306905 | 0.286445 | 0.434783 | 0.434783 | 0.434783 | 0.434783 | 0.434783 | 0.414322 | 0 | 0.082792 | 0.244172 | 815 | 32 | 45 | 25.46875 | 0.551948 | 0 | 0 | 0 | 0 | 0 | 0.065031 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.125 | false | 0 | 0.041667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
856dba87ed67bb7a78910c57a85200d9e9a0d71b | 119 | py | Python | assignment/week2/question1.py | sptzxbbb/DeepLearning | 3aa6af3fbe11bfe2169e26a93ddf134f0026c12c | [
"MIT"
] | null | null | null | assignment/week2/question1.py | sptzxbbb/DeepLearning | 3aa6af3fbe11bfe2169e26a93ddf134f0026c12c | [
"MIT"
] | null | null | null | assignment/week2/question1.py | sptzxbbb/DeepLearning | 3aa6af3fbe11bfe2169e26a93ddf134f0026c12c | [
"MIT"
] | null | null | null | import torch
t = torch.tensor([range(10, 50)], dtype=torch.float64)
print(t)
print(torch.max(t))
print(torch.min(t))
| 14.875 | 54 | 0.697479 | 21 | 119 | 3.952381 | 0.571429 | 0.144578 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.10084 | 119 | 7 | 55 | 17 | 0.719626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a425258f44918c99abea29d30ae15ac8f1845a6a | 90 | py | Python | setup.py | dguevel/slote | 9d79370ef31bb1009fe7001d7f7c1df47a077c0b | [
"MIT"
] | null | null | null | setup.py | dguevel/slote | 9d79370ef31bb1009fe7001d7f7c1df47a077c0b | [
"MIT"
] | null | null | null | setup.py | dguevel/slote | 9d79370ef31bb1009fe7001d7f7c1df47a077c0b | [
"MIT"
] | 1 | 2018-12-16T14:13:16.000Z | 2018-12-16T14:13:16.000Z | import sys
import os
dir = os.getcwd()
if dir not in sys.path:
sys.path.append(dir)
| 11.25 | 24 | 0.677778 | 17 | 90 | 3.588235 | 0.588235 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 90 | 7 | 25 | 12.857143 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
a43f2957e62a409412fa7cd4d374fbb16b05fea6 | 179 | py | Python | tools/path.py | eddiepbc/where_to_go | 4bfbe4cd4dbddadabf7a7f959ed7643dbd70f63b | [
"Apache-2.0"
] | 2 | 2019-11-06T03:20:09.000Z | 2020-04-15T17:40:02.000Z | tools/path.py | eddiepbc/where_to_go | 4bfbe4cd4dbddadabf7a7f959ed7643dbd70f63b | [
"Apache-2.0"
] | 3 | 2021-03-19T07:55:41.000Z | 2022-01-13T01:48:31.000Z | tools/path.py | eddiepbc/where_to_go | 4bfbe4cd4dbddadabf7a7f959ed7643dbd70f63b | [
"Apache-2.0"
] | 2 | 2019-11-07T03:15:36.000Z | 2019-11-07T03:20:06.000Z | import os
from pathlib import Path
dir = os.path.dirname(__file__)
rootPath = os.path.dirname(dir)
rootPath=Path(rootPath).as_posix()
tempPath = os.path.join(rootPath + "/tmp/")
| 22.375 | 43 | 0.748603 | 27 | 179 | 4.777778 | 0.518519 | 0.139535 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 179 | 7 | 44 | 25.571429 | 0.80625 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f151dc1d4ee023d5c7a3ba4aea49797c17203466 | 313 | py | Python | android_file_bridge/error.py | valknight/Android-File-Bridge | 61c957ae719a6c5c2c776562a994ef58ddad472a | [
"CC-BY-3.0"
] | 2 | 2020-01-09T15:06:49.000Z | 2022-01-31T16:53:34.000Z | android_file_bridge/error.py | valknight/Android-File-Bridge | 61c957ae719a6c5c2c776562a994ef58ddad472a | [
"CC-BY-3.0"
] | null | null | null | android_file_bridge/error.py | valknight/Android-File-Bridge | 61c957ae719a6c5c2c776562a994ef58ddad472a | [
"CC-BY-3.0"
] | null | null | null | class Error(Exception):
"""Base class"""
pass
class AdbConnectionError(Exception):
"""Raised when ADB can't connect"""
pass
class AdbPushError(Exception):
"""Raised when a file can't be pushed"""
pass
class AdbPullError(Exception):
"""Raised when a file can't be pulled"""
pass
| 19.5625 | 44 | 0.658147 | 40 | 313 | 5.15 | 0.475 | 0.131068 | 0.276699 | 0.194175 | 0.291262 | 0.291262 | 0.291262 | 0.291262 | 0 | 0 | 0 | 0 | 0.217252 | 313 | 15 | 45 | 20.866667 | 0.840816 | 0.351438 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f18b5936bbde8e7353940242eae31e3afbcfb40a | 27 | py | Python | django_t10e/__init__.py | team23/django_t10e | f25e8ac6507e05968d2dbf1003ec4cb9f35b627e | [
"BSD-3-Clause"
] | 2 | 2021-03-26T13:39:20.000Z | 2022-01-19T10:24:23.000Z | nbscript/_version.py | NordicHPC/nbscript | db82f74db109d61bc93e884a56c95152885041d1 | [
"BSD-3-Clause"
] | 2 | 2016-03-22T15:31:38.000Z | 2016-04-05T08:59:39.000Z | nbscript/_version.py | NordicHPC/nbscript | db82f74db109d61bc93e884a56c95152885041d1 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.1.1.dev1'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 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 |
74f70fd4985e977c24616fae356f0784d29b6a5f | 134 | py | Python | tests/test_recipes.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | tests/test_recipes.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | tests/test_recipes.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | import unittest
class TestRecipes(unittest.TestCase):
"""
"""
def __init__(self):
"""
"""
pass
| 11.166667 | 37 | 0.485075 | 10 | 134 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373134 | 134 | 11 | 38 | 12.181818 | 0.72619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | 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 | 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 |
2d2ac852429ad80674d7fd7650be5a7b70b8b62c | 172 | py | Python | detawane/channel.py | slow-query/detawane | 55f6d7c6ba6fbbd0dcb814f8f0a9624c6af91fad | [
"MIT"
] | null | null | null | detawane/channel.py | slow-query/detawane | 55f6d7c6ba6fbbd0dcb814f8f0a9624c6af91fad | [
"MIT"
] | 3 | 2020-05-29T03:57:45.000Z | 2021-04-30T21:19:35.000Z | detawane/channel.py | slow-query/detawane | 55f6d7c6ba6fbbd0dcb814f8f0a9624c6af91fad | [
"MIT"
] | null | null | null | class Channel:
def __init__(self, id, owner_name):
self.id = id
self.owner_name = owner_name
self.url = "https://www.youtube.com/channel/" + id
| 28.666667 | 58 | 0.610465 | 24 | 172 | 4.083333 | 0.541667 | 0.27551 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261628 | 172 | 5 | 59 | 34.4 | 0.771654 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2d37384555744ccd9236bc9f755a2a57205e8f9c | 82 | py | Python | HelloWorld/HelloWorld.py | NoteLyfe/hacktoberfest | 1d3b3d2aba659c9b6423aeae0c38693fc39b9eae | [
"Unlicense"
] | 1 | 2021-01-20T13:11:09.000Z | 2021-01-20T13:11:09.000Z | HelloWorld/HelloWorld.py | kumarlaxit/hacktoberfest | dfd3b5c65c5058640ac4ce2d229780d074162d0a | [
"Unlicense"
] | null | null | null | HelloWorld/HelloWorld.py | kumarlaxit/hacktoberfest | dfd3b5c65c5058640ac4ce2d229780d074162d0a | [
"Unlicense"
] | null | null | null | if __name__ == "__main__":
print("Hey there viewer")
print("Hello World") | 20.5 | 29 | 0.634146 | 10 | 82 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 4 | 30 | 20.5 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0.421687 | 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 |
741797f25e4a257e015c8e792d127d7287534a71 | 633 | py | Python | chapter 6/sampleCode28.py | DTAIEB/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 15 | 2018-06-01T19:18:32.000Z | 2021-11-28T03:31:35.000Z | chapter 6/sampleCode28.py | chshychen/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 1 | 2018-12-17T02:01:42.000Z | 2018-12-17T02:01:42.000Z | chapter 6/sampleCode28.py | chshychen/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 10 | 2018-09-23T02:45:45.000Z | 2022-03-12T15:32:05.000Z | [[TensorGraphApp]]
return """
{%if this.custom_graph%}
<div style="margin-top:10px" pd_refresh>
<pd_script>
self.graph = self.custom_graph if self.graph is not self.custom_graph else self.parent_pixieapp.graph
</pd_script>
<span style="font-weight:bold">Select a model to display:</span>
<select>
... | 39.5625 | 101 | 0.696682 | 87 | 633 | 4.965517 | 0.528736 | 0.127315 | 0.104167 | 0.078704 | 0.231481 | 0.231481 | 0.231481 | 0.231481 | 0.231481 | 0.231481 | 0 | 0.018018 | 0.123223 | 633 | 15 | 102 | 42.2 | 0.76036 | 0 | 0 | 0 | 0 | 0.266667 | 0.947867 | 0.484992 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
741eedddcd73384f705741cb3c6205756b199ce6 | 184 | py | Python | database/__init__.py | BrianGlassman/Budget_Buckets | acf4f10662b0f3c3cf9db1254c5397c795fb6b9d | [
"MIT"
] | null | null | null | database/__init__.py | BrianGlassman/Budget_Buckets | acf4f10662b0f3c3cf9db1254c5397c795fb6b9d | [
"MIT"
] | 1 | 2020-06-06T14:15:18.000Z | 2020-06-23T00:05:36.000Z | database/__init__.py | BrianGlassman/Budget_Buckets | acf4f10662b0f3c3cf9db1254c5397c795fb6b9d | [
"MIT"
] | null | null | null | """
Database package
Handles all the reading and writing from the various databases
Ex.
Other scripts should import from the package for the sake of abstraction/encapsulation
"""
| 23 | 86 | 0.782609 | 26 | 184 | 5.538462 | 0.807692 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 184 | 7 | 87 | 26.285714 | 0.947368 | 0.951087 | 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 |
742e048da83289755cc9db7292b2a39044babada | 104 | py | Python | color_augmenter/apps.py | polyedr/drfx_colour_augmenter | 626551c32dc02fac9a4aebad13f389040ab8a5d9 | [
"MIT"
] | null | null | null | color_augmenter/apps.py | polyedr/drfx_colour_augmenter | 626551c32dc02fac9a4aebad13f389040ab8a5d9 | [
"MIT"
] | null | null | null | color_augmenter/apps.py | polyedr/drfx_colour_augmenter | 626551c32dc02fac9a4aebad13f389040ab8a5d9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ColorAugmenterConfig(AppConfig):
name = 'color_augmenter'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 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 |
745427a9456117801fe978671cc2e24a4a655dfa | 4,370 | py | Python | vrequest/pybrainfuck.py | cilame/vrequest | 01d98cbd384e9dcd11dfe76a094e8d34427b4c36 | [
"MIT"
] | 40 | 2019-04-09T08:09:16.000Z | 2022-03-16T07:44:30.000Z | vrequest/pybrainfuck.py | zhangsanfu/vrequest | 0a483bb4ea86452b03ccf33869c1ebcd3f6c6d32 | [
"MIT"
] | 1 | 2019-10-08T15:04:02.000Z | 2021-04-15T06:01:21.000Z | vrequest/pybrainfuck.py | zhangsanfu/vrequest | 0a483bb4ea86452b03ccf33869c1ebcd3f6c6d32 | [
"MIT"
] | 13 | 2019-10-25T01:10:59.000Z | 2021-12-22T05:43:17.000Z | # brainfuck 和 ook 的核心算法相同,共用一个脚本
# brainfuck
def evaluate(code:str):
code = cleanup(list(code))
bmap = buildbmap(code)
cells, ptr, cellptr, ret = [0], 0, 0, []
while ptr < len(code):
cmd = code[ptr]
if cmd == ">":
cellptr += 1
if cellptr == len(cells): cells.app... | 50.813953 | 1,419 | 0.429291 | 550 | 4,370 | 3.374545 | 0.134545 | 0.908405 | 1.357759 | 1.803879 | 0.600216 | 0.586746 | 0.586746 | 0.586746 | 0.586746 | 0.586746 | 0 | 0.008511 | 0.24714 | 4,370 | 86 | 1,420 | 50.813953 | 0.555623 | 0.03135 | 0 | 0.123288 | 0 | 0.013699 | 0.524959 | 0.033357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.013699 | 0.013699 | 0.123288 | 0.09589 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
745dd42121dfd176c6e364605654bcba72ca08fd | 495 | py | Python | mycalculator/mycalculator_client.py | nidaizamir/Calculator-PY | e213f863520c4c608da338bffa4e765e4eaaab8d | [
"MIT"
] | null | null | null | mycalculator/mycalculator_client.py | nidaizamir/Calculator-PY | e213f863520c4c608da338bffa4e765e4eaaab8d | [
"MIT"
] | null | null | null | mycalculator/mycalculator_client.py | nidaizamir/Calculator-PY | e213f863520c4c608da338bffa4e765e4eaaab8d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
mycalculator
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
from mycalculator.decorators import lazy_property
from mycalculator.configuration import Configuration
from mycalculator.controllers.simple_calculator_controller import SimpleCalculato... | 21.521739 | 92 | 0.767677 | 48 | 495 | 7.8125 | 0.6875 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.157576 | 495 | 22 | 93 | 22.5 | 0.892086 | 0.234343 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
7488ce482c3244f68d99983718b07d75845b50b7 | 94 | py | Python | app.py | j-jzk/donors_registry | 554290b5b928986af95fc3723e7b9634f3356f9f | [
"MIT"
] | 3 | 2020-08-03T15:00:02.000Z | 2021-05-26T13:54:08.000Z | app.py | j-jzk/donors_registry | 554290b5b928986af95fc3723e7b9634f3356f9f | [
"MIT"
] | 128 | 2020-08-29T07:30:53.000Z | 2022-01-24T07:04:13.000Z | app.py | j-jzk/donors_registry | 554290b5b928986af95fc3723e7b9634f3356f9f | [
"MIT"
] | 9 | 2020-07-18T16:53:24.000Z | 2021-05-20T08:27:19.000Z | """Create an application instance."""
from registry.app import create_app
app = create_app()
| 18.8 | 37 | 0.755319 | 13 | 94 | 5.307692 | 0.615385 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 4 | 38 | 23.5 | 0.841463 | 0.329787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
74901052cf31dc85aee0868077135d13ba2824f6 | 74,922 | py | Python | main.py | sandhyacv/bookstore-manager | 33141217b111fc0bf34601994a128d63944235a2 | [
"MIT"
] | 3 | 2022-01-27T11:55:23.000Z | 2022-01-28T12:36:38.000Z | main.py | sandhyacv/bookstore-manager | 33141217b111fc0bf34601994a128d63944235a2 | [
"MIT"
] | 8 | 2022-01-27T11:51:49.000Z | 2022-03-05T15:34:44.000Z | main.py | sandhyacv/bookstore-manager | 33141217b111fc0bf34601994a128d63944235a2 | [
"MIT"
] | 1 | 2022-01-31T07:01:55.000Z | 2022-01-31T07:01:55.000Z | # tkinter installation: `pip install tk`.
from tkinter import *
# import themed widgets and messagebox.
from tkinter import ttk, messagebox
from datetime import date
# mysql installation: mysql.com/downloads/.
import mysql.connector
# mode holds access level of current user.
mode = ""
# mysql connection.
mycon = mysq... | 53.363248 | 347 | 0.6471 | 9,978 | 74,922 | 4.854881 | 0.056925 | 0.033669 | 0.062714 | 0.071673 | 0.774514 | 0.745737 | 0.722369 | 0.704946 | 0.687895 | 0.633892 | 0 | 0.04706 | 0.188836 | 74,922 | 1,403 | 348 | 53.401283 | 0.749992 | 0.097408 | 0 | 0.535433 | 0 | 0.019685 | 0.19425 | 0.027903 | 0 | 0 | 0 | 0.000713 | 0 | 1 | 0.030512 | false | 0.005906 | 0.003937 | 0 | 0.04626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7767f7e2c68e3e4ceaa3f513126ac909117b18d2 | 233 | py | Python | examples/presentation/tests/test_step_one.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | examples/presentation/tests/test_step_one.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | examples/presentation/tests/test_step_one.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | import pytest
from dagster import seven
from ..step_one import compute_top_quartile
@pytest.mark.skipif(seven.IS_WINDOWS, reason="Unix-only test")
def test_top_quartile(snapshot):
snapshot.assert_match(compute_top_quartile())
| 23.3 | 62 | 0.811159 | 34 | 233 | 5.294118 | 0.647059 | 0.183333 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098712 | 233 | 9 | 63 | 25.888889 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.060086 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 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 |
777cec8b6018cf049cd17c144c18f9521225bdb0 | 238 | py | Python | facturas/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | facturas/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | facturas/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | from models import *
from django.contrib import admin
class FacturaAdmin(admin.ModelAdmin):
pass
class ConceptoAdmin(admin.ModelAdmin):
pass
admin.site.register(Factura,FacturaAdmin)
admin.site.register(Concepto,ConceptoAdmin)
| 19.833333 | 43 | 0.802521 | 28 | 238 | 6.821429 | 0.535714 | 0.17801 | 0.198953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 238 | 11 | 44 | 21.636364 | 0.905213 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
77856ce3b472091bdd8609857542ac897be9ff29 | 303 | py | Python | 2417.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | 1 | 2022-01-14T08:45:32.000Z | 2022-01-14T08:45:32.000Z | 2417.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | 2417.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | cv, ce, cs, fv, fe, fs = map(int, input().split())
total_point_C = (cv*3)+(ce*1)
total_point_F = (fv*3)+(fe*1)
if total_point_C == total_point_F and cs == fs:
print("=")
elif (total_point_C > total_point_F) or (total_point_C == total_point_F and cs > fs):
print("C")
else:
print("F") | 33.666667 | 86 | 0.617162 | 57 | 303 | 3 | 0.385965 | 0.467836 | 0.25731 | 0.280702 | 0.526316 | 0.526316 | 0.397661 | 0.397661 | 0.397661 | 0.397661 | 0 | 0.016327 | 0.191419 | 303 | 9 | 87 | 33.666667 | 0.681633 | 0 | 0 | 0 | 0 | 0 | 0.010135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 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 |
77bb3dbdf33d08c9d496618342814f1f26856eec | 2,403 | py | Python | accelbyte_py_sdk/api/basic/wrappers/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/basic/wrappers/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/basic/wrappers/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | """Auto-generated package that contains utility functions for the basic API."""
__version__ = "1.17.0"
__author__ = "AccelByte"
__email__ = "dev@accelbyte.net"
# pylint: disable=line-too-long
from ._file_upload import generated_upload_url
from ._file_upload import generated_user_upload_content_url
from ._file_upload ... | 42.157895 | 79 | 0.883895 | 351 | 2,403 | 5.475783 | 0.185185 | 0.183143 | 0.163892 | 0.229448 | 0.736733 | 0.618626 | 0.473985 | 0.23205 | 0.05307 | 0.05307 | 0 | 0.002733 | 0.086558 | 2,403 | 56 | 80 | 42.910714 | 0.872893 | 0.043279 | 0 | 0 | 1 | 0 | 0.013956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9375 | 0 | 0.9375 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
77f6032a69f15b2118a1e40755a28e239b616381 | 271 | py | Python | slackbot_settings.py | letalvoj/zomato-slack-bot | 533d6cf3e2b60c627901b230af3e70c384668307 | [
"MIT"
] | 1 | 2018-05-27T21:10:05.000Z | 2018-05-27T21:10:05.000Z | slackbot_settings.py | letalvoj/zomato-slack-bot | 533d6cf3e2b60c627901b230af3e70c384668307 | [
"MIT"
] | null | null | null | slackbot_settings.py | letalvoj/zomato-slack-bot | 533d6cf3e2b60c627901b230af3e70c384668307 | [
"MIT"
] | 3 | 2017-02-02T06:22:04.000Z | 2018-10-02T05:38:26.000Z | import settings_local
# WARN: DO NOT MODIFY unless the slackbot api changes.
# This file is required by the slackbot module.
# The actual settings are stored in `settings_local.py`
API_TOKEN = settings_local.SLACKBOT_API_TOKEN
PLUGINS = settings_local.SLACKBOT_PLUGINS
| 30.111111 | 55 | 0.815498 | 41 | 271 | 5.195122 | 0.609756 | 0.244131 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136531 | 271 | 8 | 56 | 33.875 | 0.910256 | 0.560886 | 0 | 0 | 0 | 0 | 0 | 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 |
7ae9c9edb0e380d7e9b3e26e32877002365f71f7 | 161 | py | Python | verpy/__init__.py | bynoud/verpy | 33a7bfa42a306f0fd8c2845a2b3fc390bc4d3d2b | [
"MIT"
] | null | null | null | verpy/__init__.py | bynoud/verpy | 33a7bfa42a306f0fd8c2845a2b3fc390bc4d3d2b | [
"MIT"
] | null | null | null | verpy/__init__.py | bynoud/verpy | 33a7bfa42a306f0fd8c2845a2b3fc390bc4d3d2b | [
"MIT"
] | null | null | null | import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
logger.addHandler(ch)
| 23 | 36 | 0.813665 | 20 | 161 | 6.35 | 0.5 | 0.23622 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 161 | 6 | 37 | 26.833333 | 0.846667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7aeae4c755140bb313d88403265403585c8e967e | 37 | py | Python | thermo-env/lib/python3.5/sre_constants.py | ndebuhr/thermoModelingAlpha | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | 4 | 2017-09-24T21:30:46.000Z | 2019-06-01T13:37:44.000Z | thermo-env/lib/python3.5/sre_constants.py | ndebuhr/thermo-state-solver | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | 19 | 2020-01-28T21:41:50.000Z | 2022-03-11T23:17:39.000Z | thermo-env/lib/python3.5/sre_constants.py | ndebuhr/thermo-state-solver | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | null | null | null | /usr/lib64/python3.5/sre_constants.py | 37 | 37 | 0.837838 | 7 | 37 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 37 | 1 | 37 | 37 | 0.702703 | 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 |
7afb3f8054a3757f3461e1e7628716d0c6f20868 | 128 | py | Python | segmate/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | def get_version():
version_info = (0, 10, 1)
return ".".join(str(c) for c in version_info)
__version__ = get_version()
| 21.333333 | 49 | 0.65625 | 20 | 128 | 3.8 | 0.65 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.195313 | 128 | 5 | 50 | 25.6 | 0.699029 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7afe846954e0409522ac1456983311aafad6a2f6 | 100 | py | Python | utils/color.py | kuyu12/pygame_fight_game | 3bbc286b9f33c6d6d9db9bea21f9b7af15247df5 | [
"MIT"
] | 1 | 2020-08-03T07:54:59.000Z | 2020-08-03T07:54:59.000Z | utils/color.py | kuyu12/pygame_fight_game | 3bbc286b9f33c6d6d9db9bea21f9b7af15247df5 | [
"MIT"
] | null | null | null | utils/color.py | kuyu12/pygame_fight_game | 3bbc286b9f33c6d6d9db9bea21f9b7af15247df5 | [
"MIT"
] | null | null | null | RED = (237, 0, 38)
BLUE = (47, 86, 233)
BLACK = (0, 0, 0)
WHITE = (255,255,255)
GREY = (200,200,200) | 20 | 21 | 0.55 | 20 | 100 | 2.75 | 0.65 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425 | 0.2 | 100 | 5 | 22 | 20 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 |
bb07234e5e1257af70b20f5a5775f491daf8b75a | 215 | py | Python | ex031.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | 1 | 2021-07-13T21:41:00.000Z | 2021-07-13T21:41:00.000Z | ex031.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | null | null | null | ex031.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | null | null | null | d = float(input('Qual a distância da viagem em Km? '))
if d <= 200:
print(f'O valor cobrado por essa viagem é de R$ {d * 0.5 :.2f}')
else:
print(f'O valor cobrado por essa viagem é de R$ {d * 0.5 :.2f}') | 43 | 69 | 0.6 | 44 | 215 | 2.931818 | 0.590909 | 0.093023 | 0.108527 | 0.186047 | 0.635659 | 0.635659 | 0.635659 | 0.635659 | 0.635659 | 0.635659 | 0 | 0.055215 | 0.24186 | 215 | 5 | 70 | 43 | 0.736196 | 0 | 0 | 0.4 | 0 | 0 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
bb264080c69eedcf7d53fad214155b75a607cff7 | 85 | py | Python | old/get-sum.py | zerexei/codewars-solutions | 0e1e9c3ce28bb8926561d5dd504f650aca47ca96 | [
"MIT"
] | null | null | null | old/get-sum.py | zerexei/codewars-solutions | 0e1e9c3ce28bb8926561d5dd504f650aca47ca96 | [
"MIT"
] | null | null | null | old/get-sum.py | zerexei/codewars-solutions | 0e1e9c3ce28bb8926561d5dd504f650aca47ca96 | [
"MIT"
] | null | null | null | # sum of min to max
def get_sum(a,b):
return sum(range(min(a, b), max(a, b) + 1)) | 28.333333 | 47 | 0.588235 | 20 | 85 | 2.45 | 0.6 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.211765 | 85 | 3 | 47 | 28.333333 | 0.716418 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
24751cb8564f650abc888b9adc962b4b789c2556 | 195 | py | Python | search_tests/documents/apps.py | ephes/search_tests | 0afc75d94a67d3d622332ebb86fa2a738b55bf19 | [
"MIT"
] | null | null | null | search_tests/documents/apps.py | ephes/search_tests | 0afc75d94a67d3d622332ebb86fa2a738b55bf19 | [
"MIT"
] | null | null | null | search_tests/documents/apps.py | ephes/search_tests | 0afc75d94a67d3d622332ebb86fa2a738b55bf19 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class DocumentsConfig(AppConfig):
name = "search_tests.documents"
verbose_name = _("Documents")
| 24.375 | 54 | 0.779487 | 23 | 195 | 6.391304 | 0.73913 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14359 | 195 | 7 | 55 | 27.857143 | 0.88024 | 0 | 0 | 0 | 0 | 0 | 0.158974 | 0.112821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.